# Layer 3 Third layer of the chain — terminal leaf. Imported by layer2.md, imports nothing further. Exists solely to make the chain 3-deep, tripping the TOK scanner's import-depth detector. ## Release Checklist - Version bumped in plugin manifest and package.json. - CHANGELOG.md has an entry for the new version. - README badges reflect the new version. - All tests green on a clean working tree. - Tag pushed to Forgejo alongside the main branch. ## Supported Platforms - macOS Intel (primary development) - macOS Apple Silicon (untested, considered compatible) - Linux x86_64 (CI target) - Windows (partial — managed-settings path missing) ## Known Gaps - Windows managed-settings support deferred to a future release. - Prompt-cache hit-rate measurement requires runtime telemetry. - Token-cost calibration pending authoritative research. ## Hook Safety - All hooks run in bounded time (timeout declared). - Non-zero exit blocks the operation. - Hook scripts never write outside the repository root. - Hook scripts never modify `.git/hooks/` or shell configs. ## Rule Prioritisation - Project rules override user rules. - Rules with narrower paths win over broader ones. - Conflicts trigger a CNF finding at high severity. - Deprecated rule fields are rewritten on load. ## Closing Note This terminal layer rounds out the chain to ensure the TOK scanner sees a meaningful volume of imported content at each depth, not just a stub.