docs(adr): record credential boundary setup decisions in ADR-0032 #202

Merged
Defame1297 merged 1 commits from docs/adr-0032-boundary-amendments into main 2026-11-22 19:13:23 +00:00
Owner

Records the 2026-11-22 decisions from setting up the credential boundary in ansible-homelab-mono (Credential boundary setup in ansible-homelab-mono).

  • Accepted risk: agent sessions run as root until Agent unix user for delivery sessions is done. A read-only KUBECONFIG is the partial mitigation.
  • Accepted risk: the bot's same-repo branches can reach the repo secrets through pull_request workflows.
  • Test paths leave the protected file patterns. The CI test-path check (.gitea/test-paths, read from main) is the control instead.
  • Dry runs:

The two checks this describes are live in ansible-homelab-mono (PR 929, merged). The read-only RBAC is in PR 928, merged.

🤖 Generated with Claude Code

https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN

Records the 2026-11-22 decisions from setting up the credential boundary in ansible-homelab-mono ([Credential boundary setup in ansible-homelab-mono](https://git.rkdr.net/Mortis/Holocron/issues/184)). - **Accepted risk:** agent sessions run as root until [Agent unix user for delivery sessions](https://git.rkdr.net/Mortis/Holocron/issues/201) is done. A read-only `KUBECONFIG` is the partial mitigation. - **Accepted risk:** the bot's same-repo branches can reach the repo secrets through `pull_request` workflows. - **Test paths leave the protected file patterns.** The CI test-path check (`.gitea/test-paths`, read from `main`) is the control instead. - **Dry runs:** - Flux's PR dry run is an offline rendered diff. - Live `kubectl diff` and `flux diff` leave the Read tier: they are server-side dry runs that need write RBAC. - The Ansible pre-merge `--check --diff` is reopened in [Pre-merge Ansible dry run without exposing production credentials](https://git.rkdr.net/Mortis/Holocron/issues/200). The two checks this describes are live in ansible-homelab-mono (PR 929, merged). The read-only RBAC is in PR 928, merged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Claude added 1 commit 2026-11-22 18:29:20 +00:00
Setting up the boundary in ansible-homelab-mono changed four things.
Test paths leave the protected file patterns, since protecting them
blocks the test author; the CI test-path check guards them. The Flux PR
dry run is an offline rendered diff, because a live flux diff needs
write RBAC. The pre-merge Ansible --check --diff is reopened, as check
mode runs PR-controlled code with production credentials. Root agent
sessions and same-repo branches reaching repo secrets are accepted risks.

Refs: #184, #200, #201

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Defame1297 merged commit ac1a63d5f3 into main 2026-11-22 19:13:23 +00:00
Defame1297 deleted branch docs/adr-0032-boundary-amendments 2026-11-22 19:13:23 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Holocron#202