feat(rtk): add an rtk plugin that routes Bash calls through rtk #284

Merged
Defame1297 merged 8 commits from feat/179-rtk-plugin into main 2026-12-06 15:31:00 +00:00
Showing only changes of commit fe7184f4f3 - Show all commits
@@ -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.*