infra/stacks/t3-afk
Viktor Barzin 5d3a166b94
Some checks failed
ci/woodpecker/push/default Pipeline failed
t3-afk: fix agent Bash — stop mounting into ~/.claude
Root cause of "the agent never commits": the issue-implementer CLAUDE.md was
subPath-mounted at /home/node/.claude/CLAUDE.md, which made /home/node/.claude
root-owned. The agent (uid 1000) then couldn't create its Bash session-env
there, so EVERY Bash/git call failed (Write/Edit worked, so it silently edited
but never committed). Found by reading the agent transcripts from
state.sqlite -> projection_thread_messages.

Fix: don't mount anything into ~/.claude (it's not honored by T3's SDK anyway).
Behaviour is injected via the dispatch message preamble by the control plane;
files/issue-implementer-CLAUDE.md kept as the canonical source text.

Verified post-fix: a preamble-dispatched task edited README and COMMITTED
(073ab28) unattended.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 20:49:34 +00:00
..
files t3-afk: auto-pair dispatcher sidecar — no manual pairing 2026-06-15 20:19:39 +00:00
main.tf t3-afk: fix agent Bash — stop mounting into ~/.claude 2026-06-15 20:49:34 +00:00
terragrunt.hcl t3-afk: dedicated in-cluster T3 Code instance (AFK executor + cockpit) 2026-06-14 20:06:33 +00:00