Files
gastown/internal/cmd
dementus f9ca7bb87b fix(done): handle getcwd errors when worktree deleted (hq-3xaxy)
gt done now completes successfully even if the polecat's worktree is
deleted mid-operation by the Witness or another process.

Changes:
- Add FindFromCwdWithFallback() that returns townRoot from GT_TOWN_ROOT
  env var when getcwd fails
- Update runDone() to use fallback paths and env vars (GT_BRANCH,
  GT_POLECAT) when cwd is unavailable
- Update updateAgentStateOnDone() to use env vars (GT_ROLE, GT_RIG,
  GT_POLECAT) for role detection fallback
- All bead operations are now explicitly non-fatal with warnings

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 00:17:59 -08:00
..
2026-01-08 12:36:54 -05:00
2026-01-09 02:22:20 +13:00
2026-01-08 12:36:54 -05:00
2026-01-08 22:10:40 +13:00
2026-01-11 23:09:11 -08:00
2026-01-08 12:36:54 -05:00
2026-01-12 03:18:47 -08:00