v2.8.0 — capability gate + conformance live-catalog rollout
Added
- Capability gate — deterministic least-privilege on irreversible tool calls. A gated set of irreversible / world-touching actions (npm/PyPI publish,
gh release/pr/repo edit,git push, Pages deploy), a director-authored.claude/role-os/capabilities.jsongrant manifest, andcapabilityGate(). Opt-in (ROLEOS_CAPABILITY_GATE, default OFF → pure no-op), fail-closed for the gated set, deterministic (no model). Wired intoonPreToolUse(deny path) + the generated PreToolUse hook (exit 2), alongside the advisory / fail-open conformance floor. Bounds what a wrong verdict — an honest mistake or an injected one — can DO; the preventive complement to the named-compensator rule (POLA / CaMeL).
Changed
- Wedge #1 conformance — live tool-contracts catalog rollout. The deterministic schema + computable-contract floor runs at the live
onPreToolUseseam against.claude/role-os/tool-contracts.json(advisory, fail-open), and generated hook scripts emit the current Claude Code wire protocol.
Full changelog: CHANGELOG.md.