From 2156ed593cf4bd7ec299a52ca56ff35d023276d7 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Thu, 20 Nov 2025 20:40:11 -0500 Subject: [PATCH] Update land the plane instructions to use 'bd cleanup' command - Changed 'bd clean' to 'bd cleanup' (correct command name) - Added cleanup step to remove backup files and temporary artifacts - Ensures clean repository state at end of agent sessions --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index bb1004ae..19a45345 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -462,8 +462,9 @@ The 30-second debounce provides a **transaction window** for batch operations - 2. **Ensure all quality gates pass** (only if code changes were made) - run tests, linters, builds (file P0 issues if broken) 3. **Update beads issues** - close finished work, update status 4. **Sync the issue tracker carefully** - Work methodically to ensure both local and remote issues merge safely. This may require pulling, handling conflicts (sometimes accepting remote changes and re-importing), syncing the database, and verifying consistency. Be creative and patient - the goal is clean reconciliation where no issues are lost. -5. **Clean up git state** - Clear old stashes and prune dead remote branches: +5. **Clean up git state** - Clear old stashes, prune dead remote branches, and remove temporary artifacts: ```bash + bd cleanup # Remove backup files and temporary artifacts git stash clear # Remove old stashes git remote prune origin # Clean up deleted remote branches ```