v5.0.0 — docs/system-prompt claim ContainmentGuard enforces on every Edit/Write, but settings.json never registers it
In Releases/v5.0.0, both the constitutional system prompt and the containment policy doc assert that ContainmentGuard prospectively blocks hardcoded user-home paths on every Edit/Write/MultiEdit — but the shipped settings.json contains no hook registration for it. The prospective enforcement described isn't wired; only the retrospective ShadowRelease release gates run.
Evidence (canon paths)
Releases/v5.0.0/.claude/PAI/PAI_SYSTEM_PROMPT.md— "TheContainmentGuardhook already blocks hardcoded user-home paths from being written into PAI files — that hook IS this rule, automated."Releases/v5.0.0/.claude/PAI/DOCUMENTATION/Tools/Containment.md— "Thehooks/ContainmentGuard.hook.tsenforces the identity and CF-ID list prospectively on every Edit/Write/MultiEdit."Releases/v5.0.0/.claude/settings.json— noContainmentGuard.hook.tsentry under anyPreToolUsematcher (Edit/Write/MultiEditregister onlySecurityPipeline.hook.ts).
Impact
Readers trust that write-time containment is automated when it isn't. Protection is retrospective-only, at release time via ShadowRelease. A contributor editing a file with a hardcoded user-home path gets no prospective block, contrary to the docs.
Suggested fix
Either:
- Register
ContainmentGuardunderPreToolUseEdit|Write|MultiEditin the templatesettings.json, or - Soften the docs/system-prompt to describe enforcement as retrospective (release-time), with the prospective hook documented as opt-in.
You were right — v5.0.0's docs described a hook that was never wired. We resolved it the second way you suggested: the containment docs and system prompt now accurately describe enforcement as release-time only (the ShadowRelease gates), and the phantom ContainmentGuard references are gone. Docs claiming automation that doesn't exist is a trust bug; thanks for holding us to it.