Skip to content

v2.1.12

Latest

Choose a tag to compare

@ndycode ndycode released this 25 May 14:47

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 original config.toml into runtime shadow configs when the hook key points at the user's hooks.json.
  • Preserved CRLF line endings and full hook-state table bodies while rewriting hook keys to the shadow hooks.json path.
  • 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.json visibility, and concurrent runtime shadow launches.
  • Linked duplicated TOML block scanner helpers in production and test code to reduce future drift.