Skip to content

feat: ecosystem architecture enhancements (Graph, Loop, Context, Harness)#31

Merged
Patel230 merged 10 commits into
mainfrom
feat/inspect-tooling
Jul 25, 2026
Merged

feat: ecosystem architecture enhancements (Graph, Loop, Context, Harness)#31
Patel230 merged 10 commits into
mainfrom
feat/inspect-tooling

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

This PR introduces cross-ecosystem architectural enhancements encompassing Graph Engineering, Loop Engineering, Context Management, and Prompt Frameworks.

What's Included

  • Graph Engineering: StateGraph implementations, A2A protocol support, and Cypher-like DSLs.
  • Loop Engineering: Async exponential backoff and retry handlers with strict context timeout support.
  • Context Engineering: Token budget optimizers prioritizing recent messages and system prompts.
  • Harness Engineering: Test harness wrappers for injecting mocks and running result validations.
  • Prompt Engineering: Secure text templating engines for LLM prompts.

All changes include appropriate edge-case handling for timeouts, cancellations, and state immutability.

Patel230 and others added 10 commits July 23, 2026 20:14
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>
@Patel230
Patel230 merged commit 9ce8532 into main Jul 25, 2026
11 checks passed
@Patel230
Patel230 deleted the feat/inspect-tooling branch July 25, 2026 16:05
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