Secure policy evaluation with repository MCP CLI and MetaHarness - #2
Merged
Conversation
ruvnet
marked this pull request as ready for review
September 10, 2026 23:29
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.
Implements the secure local increment tracked in #3. Missing fields fail closed across operators; regex, input bodies and provider calls are bounded. Requests use a constant time bearer check, closed CORS and independent analysis models. Local policy evaluation needs no provider.
Adds official SDK 2 CLI/MCP, generated MetaHarness maintainer/security/release/benchmark profiles with sessions and field memory adapter, pinned Autogenous hard gate, ADR, README header, usage and ecosystem links, and CI artifact delivery.
Validation: 20 Python regression/API tests; 3 real SDK stdio runtime tests; 7 generated profile tests; 6 Rust gate tests; build, doctor and benchmark schema validation pass. pip-audit and npm audit report zero advisories. Policy fixture p95 4.727 microseconds across 10000 evaluations. Production provider load, deployed field memory and membership remain operator configured. No SOTA claim or automatic promotion. See docs/validation.md and docs/ADR-002-secure-local-agent.md.
Acceptance: all checks on this exact PR head must pass before merge.