Skip to content

chore: add worktree cleanup instructions and fix e2e kubeconfig - #20

Merged
tonyferrell merged 1 commit into
mainfrom
chore/agent-cleanup-instructions
Mar 28, 2026
Merged

chore: add worktree cleanup instructions and fix e2e kubeconfig#20
tonyferrell merged 1 commit into
mainfrom
chore/agent-cleanup-instructions

Conversation

@tonyferrell

Copy link
Copy Markdown
Contributor

Summary

  • Add "Cleanup" section to all 6 write-agent definitions reminding them to clean up worktrees/branches when done
  • Add step 7 ("Clean up after yourself") to the generated CLAUDE.md workflow in setup.go
  • Fix ensureLocalCluster in e2e.go to use writeKubeconfig() instead of runSilent with --output flag (not supported on all k3d versions)
  • Add test coverage for the new cleanup step text in TestGenerateCLAUDEmd

Test plan

  • go build ./... passes
  • go test ./... passes
  • TestGenerateCLAUDEmd verifies new step 7 content

🤖 Generated with Claude Code

…DE.md

Add cleanup section to all write-agent definitions and a step 7 to the
generated CLAUDE.md workflow reminding agents to clean up worktrees and
branches after tasks complete. Also fix e2e.go to use writeKubeconfig()
instead of runSilent with --output (not supported on all k3d versions).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tonyferrell
tonyferrell merged commit c68588f into main Mar 28, 2026
1 check passed
@tonyferrell
tonyferrell deleted the chore/agent-cleanup-instructions branch March 28, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant