blue/knowledge/task-sync.md
Eric Garcia 1ed6f15fa9 feat: implement document sync and Claude Code task integration (RFC 0018, 0019)
RFC 0018 - Document Import/Sync:
- Add content_hash and indexed_at fields to Document
- Implement find_document_with_fallback for filesystem recovery
- Add reconcile() for database/filesystem sync
- Create blue_sync MCP tool
- Update blue_status to show index drift

RFC 0019 - Claude Code Task Integration:
- Expose .plan.md as MCP resource (blue://docs/rfcs/{n}/plan)
- Enhance blue_rfc_get with claude_code_tasks array
- Add 💙 prefix for Blue-synced tasks
- Add knowledge/task-sync.md for session injection
- Automatic sync via injected instructions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 20:58:46 -05:00

13 lines
549 B
Markdown

# Blue Task Sync
When you call `blue_rfc_get`, it returns a `claude_code_tasks` array with pre-formatted tasks ready for TaskCreate. Each task includes:
- 💙 prefix in subject (indicates Blue-synced task)
- `blue_rfc` and `blue_task_index` in metadata
Create these tasks to track RFC work in Claude Code's task UI.
When you mark a task complete that has `blue_rfc` metadata, call `blue_rfc_task_complete` with:
- `title`: the RFC title from metadata
- `task_index`: the task index from metadata
This updates the `.plan.md` file automatically.