docs(adr): amend ADR-0032 for the rtk routing hook

Records that the hook may return permissionDecision: allow, accepted because hooks are guardrails, and that git's push guard still sees rtk git push.

Refs: #179

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-12-05 22:18:33 +00:00
1 parent 91481a5ae7
commit fe7184f4f3
1 file changed
+5
@@ -127,6 +127,11 @@ passed. Failed tasks are shown in the PR comment for the approver to judge. Deci
cluster or state and print no secret: anything not on the list is denied, so an unlisted mutating
subcommand fails safe. Codex cannot ask, so odd jobs are
denied there; an unrecognised runtime is treated the same way.
- *Amended 2026-12-05 ([rtk routing hook](https://git.rkdr.net/Mortis/Holocron/issues/179)): the
opt-in `rtk` plugin ships a Claude Code hook that rewrites Bash commands through `rtk hook claude`
and may return `permissionDecision: allow`, skipping the permission prompt. Accepted, because hooks
are guardrails, not the boundary; `git`'s push guard still sees `rtk git push`, as `rtk` is one of
its wrappers.*
- *Amended 2026-12-04 ([git push-to-main hook](https://git.rkdr.net/Mortis/Holocron/issues/178)): `git`
ships its own guardrail hook beside `delivery`'s, refusing a `git push` to `main` on Claude Code
only. It fails open and has an opt-out; branch protection stays the real control.*