Repository navigation
feat(omni-graph): agent dx & forensic auditing suite (R-110 to R-117) - #21
Merged
Merged
Conversation
- Implement in-band AST code slices with adaptive budgeting in omni_definition (R-110) - Expand AST node text ceiling from 1,000 to 4,000 chars in parser/mod.rs (R-110) - Implement semantic kind-weighted centroid election in Louvain clustering (R-111) - Purge import statement titles (from ..., import ...) from architectural galaxy clusters (R-111) - Add pre-KNN scoped filtering (exclude_tests, path_prefix) in SurrealDB vector search (R-112) - Implement qualified symbol resolution (Class.method and path:symbol) via CONTAINS traversal (R-113) - Extract Python class inheritance, keyword metaclass (METACLASS_OF), and aliased imports (R-114, R-115) - Surface dynamic reflection detection warning badge [⚠️ reflection] in MCP tool calls (R-116) - Synchronize MCP tool schemas across workspace and global configuration (R-117) - Add comprehensive unit test suite: 125/125 tests passing (0 clippy warnings) - Author PRD-OMNI-006 and SPEC-OMNI-006 in specs/catalog/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR resolves the critical friction points uncovered during the autonomous forensic security audit of
django-sorcery(v0.13.0). It delivers the Omni-Graph Agent DX & Forensic Auditing Suite across the Stdio MCP server, Rust Axum backend, SurrealDB v2 HNSW query engine, and Tree-Sitter parsers.Governing PRD:
specs/catalog/omni-graph-agent-dx-prd.mdGoverning Spec:
specs/catalog/omni-graph-agent-dx-improvements.mdKey Capabilities Delivered
In-Band AST Code Slices & Adaptive Budgeting (R-110):
omni_definitionreturns the complete implementation directly in language-tagged code fences.parser/mod.rs.Semantic Kind-Weighted Centroid Election (R-111):
from ...fields import ...,import os) from Louvain/Leiden galaxy clusters.Class (100) > Function (75) > Method (50) > Constant (20) > Import (0).Pre-KNN Scoped Vector Search (R-112):
exclude_testsandpath_prefixdirectly into SurrealDB's HNSW vector KNN query.Qualified Symbol Resolution (R-113):
Class.method(e.g.Query.order_by) viaCONTAINSedge traversal and enclosing file scope.django_sorcery/db/models.py:deserialize).Python Class Inheritance & Metaclasses (R-114, R-115):
metaclass = <identifier>emitting explicitMETACLASS_OFedges.from X import Y as Z, registering both original names and aliases to preserve inheritance DAGs.Dynamic Reflection Heuristic Flagging (R-116):
setattr,getattr,eval), rendering a[⚠️ reflection]badge in MCP output without speculative fake edges.Schema & Stdio MCP Parity (R-117):
Verification & Status
cargo test --test unit_testsin 0.08s).cargo clippy --all-targets -- -D warnings).django-sorceryon running Docker container (omni-rust-app).