bd sync: 2025-11-24 01:17:34

This commit is contained in:
Steve Yegge
2025-11-24 01:17:34 -08:00
parent a02995bae1
commit 7abb870a57
2 changed files with 20 additions and 0 deletions

View File

@@ -114,6 +114,10 @@ func outputPrimeContext(mcpMode bool) error {
func outputMCPContext() error {
context := `# Beads Issue Tracker Active
# 🚨 SESSION CLOSE PROTOCOL 🚨
Before saying "done": git status → git add → bd sync → git commit → bd sync → git push
## Core Rules
- Track ALL work in beads (no TodoWrite tool, no markdown TODOs)
- Use bd MCP tools (mcp__plugin_beads_beads__*), not TodoWrite or markdown
@@ -131,6 +135,21 @@ func outputCLIContext() error {
> **Context Recovery**: Run ` + "`bd prime`" + ` after compaction, clear, or new session
> Hooks auto-call this in Claude Code when .beads/ detected
# 🚨 SESSION CLOSE PROTOCOL 🚨
**CRITICAL**: Before saying "done" or "complete", you MUST run this checklist:
` + "```" + `
[ ] 1. git status (check what changed)
[ ] 2. git add <files> (stage code changes)
[ ] 3. bd sync (commit beads changes)
[ ] 4. git commit -m "..." (commit code)
[ ] 5. bd sync (commit any new beads changes)
[ ] 6. git push (push to remote)
` + "```" + `
**NEVER skip this.** Work is not done until pushed.
## Core Rules
- Track ALL work in beads (no TodoWrite tool, no markdown TODOs)
- Use ` + "`bd create`" + ` to create issues, not TodoWrite tool