From 038da3014e09fbf12982f8b85e22d7bd756ea7c1 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Fri, 4 Dec 2026 21:18:12 +0000 Subject: [PATCH] docs(adr): note the git push-to-main hook in ADR-0032 Refs: #178 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- ...0032-credentials-not-hooks-are-the-agent-safety-boundary.md | 3 +++ 1 file changed, 3 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 51e5d92..c3e4282 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,9 @@ 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-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.* - *Amended 2026-11-25 ([Pre-merge Ansible dry run without exposing production credentials](https://git.rkdr.net/Mortis/Holocron/issues/200)): the reopened Ansible `--check --diff` now runs in CI from the base branch's copy with production credentials — automatic on human-authored PRs, gated on bot PRs by an allowlisted human's