Skip to content

docs(security): define exact error boundary - #22

Merged
jmgilman merged 1 commit into
masterfrom
docs/error-boundary-contract
Aug 24, 2026
Merged

jmgilman merged 1 commit into
masterfrom
docs/error-boundary-contract

Conversation

@jmgilman

Copy link
Copy Markdown
Contributor

Summary

  • document where trusted diagnostic causes exist and where root and MCP projections remove them
  • distinguish direct authz/rego.Authorize detail, root sentinels, fixed MCP texts, and pre-resolution SDK schema errors
  • add non-disclosing recovery actions and state that one policy result cannot reveal policy defaults or completeness
  • align error projection comments without changing behavior

Verification

  • focused direct Rego, root projection, MCP projection, panic-sanitization, and secure-loop tests passed
  • campaign response-only corpus: 17 canary-witness MCP responses had zero canary matches; all 5 fixture positive controls contained the canary
  • campaign M08 response corpus: 9 MCP error payloads had zero matches across 13 source, argument, credential, policy, handler, panic, and internal-detail terms
  • mise exec -- moon run root:check (all eight tasks passed)
  • LSP diagnostics on server.go and mcpserver/server.go: no issues

@jmgilman
jmgilman merged commit ccac033 into master Aug 24, 2026
4 checks passed
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