Run delivery-team sessions as a non-root unix user (e.g. agent) on the dev box. Until then they run as root and can read the real vault password, the host SSH key and the admin kubeconfig. That leaves ADR-0032's credential boundary as a guardrail only on this machine. Deferred by the owner, who accepts the risk (Credential boundary setup in ansible-homelab-mono). This ticket blocks nothing.
Work (human, needs root):
useradd -m agent; confirm /root is 700.
Give agent its own clone of ansible-homelab-mono, its own apm install and its own Claude Code login.
agent gets no vault password file; vault_password_file resolves to a placeholder.
agent gets no SSH key that reaches hosts.
Move the read-only kubeconfig and the bot token from the credential boundary ticket into ~agent.
Verify as agent: none of root's credential files are readable; kubectl auth can-i get secrets -A gives no.
Remove the accepted risk from ADR-0032.
Odd-job sessions stay root, HITL only.
Part of #166
## Question
Run delivery-team sessions as a non-root unix user (e.g. `agent`) on the dev box. Until then they run as root and can read the real vault password, the host SSH key and the admin kubeconfig. That leaves ADR-0032's credential boundary as a guardrail only on this machine. Deferred by the owner, who accepts the risk ([Credential boundary setup in ansible-homelab-mono](https://git.rkdr.net/Mortis/Holocron/issues/184)). This ticket blocks nothing.
Work (human, needs root):
- [ ] `useradd -m agent`; confirm `/root` is `700`.
- [ ] Give `agent` its own clone of `ansible-homelab-mono`, its own apm install and its own Claude Code login.
- [ ] `agent` gets no vault password file; `vault_password_file` resolves to a placeholder.
- [ ] `agent` gets no SSH key that reaches hosts.
- [ ] Move the read-only kubeconfig and the bot token from the credential boundary ticket into `~agent`.
- [ ] Verify as `agent`: none of root's credential files are readable; `kubectl auth can-i get secrets -A` gives `no`.
- [ ] Remove the accepted risk from ADR-0032.
Odd-job sessions stay root, HITL only.
Claude
added this to the Map: Infra and agent-team packages milestone 2026-11-22 17:35:35 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #166
Question
Run delivery-team sessions as a non-root unix user (e.g.
agent) on the dev box. Until then they run as root and can read the real vault password, the host SSH key and the admin kubeconfig. That leaves ADR-0032's credential boundary as a guardrail only on this machine. Deferred by the owner, who accepts the risk (Credential boundary setup in ansible-homelab-mono). This ticket blocks nothing.Work (human, needs root):
useradd -m agent; confirm/rootis700.agentits own clone ofansible-homelab-mono, its own apm install and its own Claude Code login.agentgets no vault password file;vault_password_fileresolves to a placeholder.agentgets no SSH key that reaches hosts.~agent.agent: none of root's credential files are readable;kubectl auth can-i get secrets -Agivesno.Odd-job sessions stay root, HITL only.