@@ -942,3 +942,43 @@ TMI uses staticcheck for Go code quality analysis. The project has intentionally
942942 - ` staticcheck ./... | grep -v " api/api.go" ` - Filter out auto-generated code warnings
943943 - ** Expected count** : 344 total issues (338 in api/api.go + 6 intentionally unused functions)
944944 - ** Clean hand-written code** : 19 unused code items were removed for 1.0 release
945+
946+ # # Agent Instructions
947+
948+ This project uses ** bd** (beads) for issue tracking. Run ` bd onboard` to get started.
949+
950+ # ## Quick Reference
951+
952+ ` ` ` bash
953+ bd ready # Find available work
954+ bd show <id> # View issue details
955+ bd update <id> --status in_progress # Claim work
956+ bd close <id> # Complete work
957+ bd sync # Sync with git
958+ ` ` `
959+
960+ # ## Landing the Plane (Session Completion)
961+
962+ ** When ending a work session** , you MUST complete ALL steps below. Work is NOT complete until ` git push` succeeds.
963+
964+ ** MANDATORY WORKFLOW:**
965+
966+ 1. ** File issues for remaining work** - Create issues for anything that needs follow-up
967+ 2. ** Run quality gates** (if code changed) - Tests, linters, builds
968+ 3. ** Update issue status** - Close finished work, update in-progress items
969+ 4. ** PUSH TO REMOTE** - This is MANDATORY:
970+ ` ` ` bash
971+ git pull --rebase
972+ bd sync
973+ git push
974+ git status # MUST show "up to date with origin"
975+ ` ` `
976+ 5. ** Clean up** - Clear stashes, prune remote branches
977+ 6. ** Verify** - All changes committed AND pushed
978+ 7. ** Hand off** - Provide context for next session
979+
980+ ** CRITICAL RULES:**
981+ - Work is NOT complete until ` git push` succeeds
982+ - NEVER stop before pushing - that leaves work stranded locally
983+ - NEVER say " ready to push when you are" - YOU must push
984+ - If push fails, resolve and retry until it succeeds
0 commit comments