Skip to content

update and enhancement #303

Merged
baoduy merged 10 commits into
mainfrom
dev
Jun 22, 2026
Merged

update and enhancement #303
baoduy merged 10 commits into
mainfrom
dev

Conversation

@baoduy

@baoduy baoduy commented Jun 22, 2026

Copy link
Copy Markdown
Owner

This pull request introduces configuration and documentation updates to support "Understand-Anything" knowledge graph tooling, removes GitNexus agent skill files and guidance, and adds an LLM-maintained wiki for the DKNet Framework. The changes focus on integrating new AI-powered code understanding features and streamlining existing agent-related documentation.

Integration of Understand-Anything tooling:

  • Added .understand-anything/ directory with configuration (config.json), ignore patterns (.understandignore), meta information (meta.json), and large files tracked via Git LFS (knowledge-graph.json, fingerprints.json). This enables automated knowledge graph analysis and context-aware code understanding. [1] [2] [3] [4] [5] [6] [7]
  • Updated .claude/settings.json to enable related plugins and marketplaces for enhanced AI capabilities.

Removal and cleanup of GitNexus agent guidance:

  • Deleted all GitNexus skill markdown files from .claude/skills/gitnexus/ and removed the detailed agent workflow and conventions from AGENTS.md. [1] [2] [3] [4] [5] [6] [7]
  • Updated CLAUDE.md to remove references to the deleted agent files and simplify the guidance for AI code assistants. [1] [2] [3] [4]

Addition of DKNet wiki for LLM-based documentation:

  • Added docs/wiki/ directory with a new CLAUDE.md describing the wiki's conventions, meta.json for analysis metadata, and content articles such as aggregate-root.md to serve as an LLM-readable, maintainable knowledge base for the DKNet Framework. [1] [2] [3]

Other adjustments:

  • Updated .vscode/extensions.json to remove the markdown-preview-enhanced extension from recommendations.

These changes collectively shift the repository's AI guidance and documentation strategy from GitNexus agent workflows to a more general, maintainable, and LLM-friendly approach.

ts-dev (Multica agent) and others added 10 commits May 22, 2026 10:33
Adds 65 new unit tests targeting the lowest-coverage files in the
codecov report for PR #294:

- DynamicPredicateBuilderEdgeCaseTests (29 cases):
  IsValidPropertyName null/empty/oversized/dangerous-char branches,
  ValidateExpression null/whitespace + all dangerous patterns,
  ValidateArrayValue null/string/non-enumerable/empty branches.
- DynamicPredicateExpressionOverloadTests (12 cases):
  Expression<Func<T,bool>> DynamicAnd/DynamicOr property-name and
  raw-expression overloads, plus the ExpressionStarter raw-expression
  overloads (none of these were exercised by existing tests).
- LocalBlobServiceEdgeCaseTests (7 cases):
  Null RootFolder fallback, path-traversal UnauthorizedAccessException
  on CheckExists/Delete, leading-slash normalization, cancellation-
  token early-exit for file and folder deletion, nested-path SaveAsync.
- DataSeedingEdgeCaseTests (3 cases):
  Empty seed data early-return, all-rows-already-exist early-return
  (using a value-equality ColorRow + ColorDbContext), and the default
  Order/EntityType/SeedAsync properties.

All new tests pass; existing tests still green.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
test: improve coverage for PR #294 gap files
…ansitives

Bump all outdated packages to their latest stable versions and resolve two
High-severity transitive vulnerabilities surfaced by NuGetAudit.

Security:
- MessagePack 2.5.192 (GHSA-hv8m-jj95-wg3x) — cleared by Aspire.Hosting 13.4.6
  pulling a fixed StreamJsonRpc/MessagePack.
- SQLitePCLRaw.lib.e_sqlite3 2.1.11 (GHSA-2m69-gcr7-jv3q) — overridden to the
  fixed 3.0.x line via a direct SQLitePCLRaw.bundle_e_sqlite3 3.0.3 reference in
  the seven EF Core Sqlite-backed test projects.

Notable bumps:
- EF Core + Microsoft.Extensions.* 10.0.8 -> 10.0.9
- Aspire.Hosting(.SqlServer) 13.2.4 -> 13.4.6 (requires OpenTelemetry 1.16.0
  and System.IdentityModel.Tokens.Jwt 8.19.1, both bumped — also clears the
  OpenTelemetry 1.13.1 NU1902 moderate advisories)
- AWSSDK, Azure.Storage.Blobs, Mapster, Testcontainers, Microsoft.NET.Test.Sdk,
  coverlet, Meziantou.Analyzer, Microsoft.CodeAnalysis.NetAnalyzers, Markdig,
  PuppeteerSharp 24->25, YamlDotNet 17->18

Verified: clean restore (0 audit findings), full solution build succeeds with
zero warnings/errors. Pre-existing test failures on dev (AspCore.Tasks reflection
bug, flaky Hook/AuditLog isolation, Idempotency connection-string assertion) are
unchanged by this update.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
1. fix(data-authorization): DataOwnerHook stamped CreatedOn with DateTimeOffset.Now
   (local time). Use UtcNow to match AuditedEntity and keep audit timestamps
   timezone-independent.
2. fix(extensions): NextSeqValueWithFormat used DateTime.Now for the date token in
   generated sequence codes. Use UtcNow so codes are deterministic regardless of
   server time zone.
3. perf(blob-aws): DeleteFolderAsync deleted objects one round-trip at a time. Batch
   each ListObjectsV2 page (<=1000 keys) into a single DeleteObjectsAsync call.
4. perf(blob): ValidateFile called BinaryData.ToArray() — copying the entire payload
   — just to read its length. Use ToMemory().Length (no copy).
5. fix(extensions): AsyncEnumerableExtensions.ToListAsync now guards its public
   argument with ArgumentNullException.ThrowIfNull instead of throwing an opaque NRE.

Verified: dotnet build -c Debug => 0 warnings, 0 errors; Fw.Extensions (149),
EfCore.DataAuthorization (20), EfCore.Extensions (85), Svc.BlobStorage (102) tests
all pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
@baoduy baoduy merged commit 34c9a87 into main Jun 22, 2026
9 of 10 checks passed
@github-actions

Copy link
Copy Markdown

📊 Code Coverage Report

| Metric | Coverage |
|--------|----------|
| **Line Coverage** | 87.7% |
| **Branch Coverage** | 80.6% |
| **Method Coverage** | 85.9% |

**Lines:** 3258/undefined covered
**Branches:** 1211/undefined covered

📈 [View Full Coverage Report](https://github.com/baoduy/DKNet/actions/runs/27935028145)

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.15%. Comparing base (7b89ade) to head (8e08990).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
...fCore.DataAuthorization/Internals/DataOwnerHook.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #303      +/-   ##
==========================================
- Coverage   84.83%   84.15%   -0.68%     
==========================================
  Files         159      159              
  Lines        3706     3712       +6     
  Branches      575      574       -1     
==========================================
- Hits         3144     3124      -20     
  Misses        412      412              
- Partials      150      176      +26     
Flag Coverage Δ
unittests 84.15% <91.66%> (-0.68%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@baoduy baoduy temporarily deployed to github-pages June 22, 2026 07:22 — with GitHub Pages Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant