Commit Graph

1 Commits

Author SHA1 Message Date
Sallvainian 30e7e99c6a feat: add BMAD handoff workflows for agent context preservation
Add two new BMAD Core workflows for preserving context between agent sessions:

- `/handoff` - Creates comprehensive handoff memory and saves to Serena
- `/handoff-receive` - Loads and displays handoff from previous agent

Features:
- Timestamped memory naming (YYYY-MM-DD-HHmmss) prevents collisions
- Workflow status file validation and field extraction
- Intelligent handoff selection (newest first, with fallbacks)
- Structured handoff format with work completed, task, context, files, success criteria
- Error recovery and graceful degradation
- Backward compatible with legacy date-only format

Files:
- bmad/core/workflows/handoff/ - Handoff creation workflow
- bmad/core/workflows/handoff-receive/ - Handoff receive workflow
- .claude/commands/bmad/core/workflows/ - Original standalone commands (for reference)
- bmad/_cfg/workflow-manifest.csv - Workflow registration
- .gitignore - Allow .claude/commands/ distribution

Integration:
- Works with BMAD /workflow-status command
- Requires Serena MCP for memory persistence
- Tested with BMAD v6.x

Note: Original hardened slash commands are included in .claude/commands/
for reference. If the BMAD workflow versions need adjustment, the original
standalone commands can be used as a fallback or reference implementation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 21:09:04 -04:00