v2.1.12
Patch release for runtime shadow hook-trust preservation. Runtime rotation shadow homes now mirror trusted hook-state TOML blocks from the user's original Codex config, preserving previously approved hooks while keeping runtime provider rewriting isolated to the shadow config.
Runtime Rotation
Fixes
- Mirrored trusted
[hooks.state.*]TOML blocks from the originalconfig.tomlinto runtime shadow configs when the hook key points at the user'shooks.json. - Preserved CRLF line endings and full hook-state table bodies while rewriting hook keys to the shadow
hooks.jsonpath. - Kept unrelated hook-state entries, alternate hook files, and existing shadow entries unchanged.
Release Hygiene
Tests
- Added regression coverage for literal TOML keys, CRLF preservation, table-like content inside strings and arrays, alternate hook paths, long hook keys, shadow
hooks.jsonvisibility, and concurrent runtime shadow launches. - Linked duplicated TOML block scanner helpers in production and test code to reduce future drift.