- 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.
- 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.