From fe7184f4f3cea13d275ecca1ef6b2bb00c560e7e Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sat, 5 Dec 2026 22:18:33 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- ...32-credentials-not-hooks-are-the-agent-safety-boundary.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/adr/0032-credentials-not-hooks-are-the-agent-safety-boundary.md b/docs/adr/0032-credentials-not-hooks-are-the-agent-safety-boundary.md index c3e4282..8de2845 100644 --- a/docs/adr/0032-credentials-not-hooks-are-the-agent-safety-boundary.md +++ b/docs/adr/0032-credentials-not-hooks-are-the-agent-safety-boundary.md @@ -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.*