You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP run_validate/run_test/run_audit cannot review an edited extension site without a pin (follow-up to #932) #940
#932 adds --local-review to validate, test, routes and audit: with no operator pin (no --policy, URLCODE_POLICY or PROJECT_SHA256) the CLI pins that one run to the current revision, reads no policy (no grants) and defaults the origin to http://localhost. The generated npm scripts pass it; serve/dev refuse it.
The authoring MCP runners (run_validate, run_test, run_audit in packages/core/src/mcp-authoring.ts) deliberately do not pass it: their tool descriptions promise that only the operator's own --host-file, --origin, --policy and a well-formed PROJECT_SHA256 are forwarded. So an agent that edits an extension site through MCP still gets revision-pin-required from the runners after every edit unless the operator started urlcode mcp with a pin, and the pin goes stale after the first edit.
Decide whether the runners should pass --local-review (an operator pin would still win), perhaps behind an operator opt-in flag on urlcode mcp, and update the tool descriptions and docs/TOOLING.md accordingly. Unverified: whether MCP clients rely on the current refusal as a signal.
Activity
feat(mcp): authoring runners review an edited extension site locally (#…