feat: ecosystem architecture enhancements (Graph, Loop, Context, Harness)#31
Open
Patel230 wants to merge 8 commits into
Open
feat: ecosystem architecture enhancements (Graph, Loop, Context, Harness)#31Patel230 wants to merge 8 commits into
Patel230 wants to merge 8 commits into
Conversation
Move private CIDR parsing to a package-level var initialized once at startup. A malformed CIDR entry is a programming error caught at init time with a clear panic message, rather than a runtime panic during a scan. Also eliminates repeated parsing on every isPrivateIP call.
ScanDir now checks that the path exists and is a directory before passing it to crawler.ServeDir, providing clear error messages instead of cryptic file server failures.
Add two new MCP tools: inspect_checks lists all 9 available audit checks with descriptions, and inspect_status returns server version and capabilities. This brings the MCP surface from 2 to 4 tools.
…havior - TestProtocol_ToolsList: expect 4 tools (inspect_scan, inspect_scan_dir, inspect_checks, inspect_status) instead of 2, matching the current server registration. - TestHandleScanDir_NonexistentDir: ScanDir returns an error for nonexistent paths via os.Stat, so handleScanDir returns a tool-level error result. Updated the test to verify IsError and non-empty message instead of attempting to parse the error text as JSON.
The two newest MCP tools were only verified by name in tools/list. Add end-to-end protocol tests that invoke each tool and assert the response payload shape: checks returns a non-empty audit catalog (spot-checking links/security/a11y), and status returns the server name, version, and tool list.
- Add qualitygraph/ package with quality analysis - Update README
- Add QualityGraph implementation - Support tracking code quality metrics and relationships - Add issue ranking and threshold tracking
- Add qualitygraph module (GraphSpec conversion uses NodeTypeQuality) - Fix gofmt formatting in quality_graph.go Co-Authored-By: Claude <noreply@anthropic.com>
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.
This PR introduces cross-ecosystem architectural enhancements encompassing Graph Engineering, Loop Engineering, Context Management, and Prompt Frameworks.
What's Included
StateGraphimplementations, A2A protocol support, and Cypher-like DSLs.All changes include appropriate edge-case handling for timeouts, cancellations, and state immutability.