Problem/Motivation
McpBreakGlassTest asserts optional YAML ≡ ALLOWED_PERMISSIONS when the suite runs. A commit that changes only the YAML or only the constant can still merge if PHPUnit is skipped. For a security boundary constant, drift should be hard to ship.
Proposed resolution
- Keep/strengthen the kernel assertion.
- Document dual-edit rule in CONTRIBUTING / approval README.
- Optionally add a cheap CI step beyond full kernel bootstrap.
Comments
Comment #2
jmcerdaNeeds review: documented in GitHub PR #95 (companion #92).
Dual-edit rule for
ALLOWED_PERMISSIONS≡ optional role YAML is in the approval README and CONTRIBUTING. Kernel test remains the blocking CI check. Awaiting merge.Comment #3
jmcerdaFixed in PR #95 (merged to
1.x).GitHub companion #92 closed as completed.
Dual-edit rule documented; kernel YAML≡constant test remains the CI gate.
Will land in the next tagged release after 2.2.0.
Comment #5
jmcerdaClosed (fixed): dual-edit rule documented (ALLOWED_PERMISSIONS ≡ optional role YAML); kernel contract test remains the blocking check. Shipped on 1.x via GitHub PR #95 (GitHub #92).
https://github.com/Wilkes-Liberty/mcp_sentinel/pull/95
https://github.com/Wilkes-Liberty/mcp_sentinel/issues/92