Repository navigation
fix(tier3): scope native MCP references to verifier grants - #491
Merged
Merged
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
requested review from
chrisknvidia,
mosheabr and
rmalani-nv
as code owners
November 13, 2026 08:27
4 tasks done
rng1995
enabled auto-merge (squash)
November 13, 2026 08:48
rng1995
commented
Nov 13, 2026
rng1995
left a comment
Collaborator
Author
There was a problem hiding this comment.
Broader validation completed on ae895f7: 501 passed and 2 skipped across native skill isolation, native MCP policy/review contracts, and transport rules. The final 10 real staging regressions/controls also passed independent review. All changed source is committed; current-head CI remains under observation.
The current head caaa122 is the exact clean automatic merge of ae895f7 and main b8bbd52. Its adapter AST is unchanged; the 501-case run was on ae895f7, not a claimed rerun on the merge commit.
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.
Native Harbor verifier and step-verifier MCP declarations currently use the agent's runtime environment grants. A verifier-only
${VERIFIER_FLAG}is rejected, while an agent-only${AGENT_FLAG}can pass that declaration check. This follow-up to #472 uses the verifier environment for verifier scopes, matching the adjacent environment-boundary validator. Agent declarations retain runtime grants; omitting separate verifier grants retains the legacy fallback, and an explicit empty verifier grant map remains empty.Malformed declarations now include static field/type and
${VAR}guidance. Unsupported-field errors list only trusted Harbor schema field names, without printing authored values or unsupported names.Validation: actual native staging regressions first produced 7 failures and 2 legacy controls. The initial repaired run passed all 9 cases; independent final validation passed all 10 cases, including a separate agent-grant control. Source/caller review, Ruff and formatting checks pass. The broader native-isolation, native MCP policy/review, and transport suite passed 501 cases with 2 skips on the exact source head (runtime472-mcp-full.log). No external MCP request or model call was made.
Addresses #472's verifier-grant and safe-hint review threads. The download-root hardening is already covered by Chris's separate #479, independently reviewed here with all 40 local-environment tests passing on macOS and locked Harbor0.25.0. This PR does not duplicate that fix. #472 remains merged; these role/hint changes are proposed separately and are not on main until this PR merges. No merge performed.