Eric Garcia
8977b30e63
feat: Phase 5 - staging lock tools for multi-agent coordination
...
Add staging resource locking for coordinating parallel agent work:
- store.rs: Added staging_locks and staging_lock_queue tables
- handlers/staging.rs: Lock acquire/release with queuing, status, cleanup
- Automatic lock expiration and queue cleanup
New MCP tools (4):
- blue_staging_lock - Acquire exclusive access to staging resources
- blue_staging_unlock - Release a staging lock
- blue_staging_status - Check lock status for specific resource or all
- blue_staging_cleanup - Clean up expired locks and orphaned queue entries
Total: 32 MCP tools, 24 tests passing
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 03:37:40 -05:00
Eric Garcia
1c2ceb71d1
feat: Phase 4 - session and reminder tools
...
Add multi-agent session coordination and reminder management:
- store.rs: Added sessions and reminders tables (schema v2)
- handlers/session.rs: Session ping (start/heartbeat/end) + list
- handlers/reminder.rs: Reminder CRUD with gates, snoozing, clearing
- voice.rs: Added info() function for informational messages
- state.rs: Added for_test() helper with test-helpers feature
New MCP tools (6):
- blue_session_ping, blue_session_list
- blue_reminder_create, blue_reminder_list
- blue_reminder_snooze, blue_reminder_clear
Total: 28 MCP tools, 21 tests passing
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 03:29:51 -05:00
Eric Garcia
eeb7d0c14f
docs(rfc): Update Phase 2 progress in RFC 0002
...
Mark Phase 2 (Workflow) as complete:
- 7 new MCP tools added
- Total now 16 tools
- 842 new lines of code
- Spike, ADR, Decision, Worktree handlers complete
Deferred to Phase 3+:
- PR workflow tools
- Release management
- Staging environment
- Session management
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 00:50:44 -05:00
Eric Garcia
3e157d76a6
feat(core): Complete Phase 1 - Foundation porting from coherence-mcp
...
Port core functionality from coherence-mcp to blue-core:
- store.rs: SQLite persistence with schema v1, WAL mode, FTS5 search
- documents, document_links, tasks, worktrees, metadata tables
- Blue's voice in all error messages
- documents.rs: Enhanced with markdown generation
- Rfc, Spike, Adr, Decision types with to_markdown() methods
- Blue's signature at the end of generated docs
- state.rs: ProjectState aggregation
- active_items(), ready_items(), stalled_items(), draft_items()
- generate_hint() for contextual recommendations
- status_summary() for complete overview
- repo.rs: Git detection and worktree operations
- detect_blue() finds .blue/ directory structure
- WorktreeInfo with rfc_title() extraction
- create_worktree(), remove_worktree(), is_branch_merged()
- workflow.rs: Status transitions
- RfcStatus, SpikeOutcome, SpikeStatus, PrdStatus enums
- Transition validation with helpful error messages
MCP server updated with 9 tools:
- blue_status, blue_next, blue_rfc_create, blue_rfc_get
- blue_rfc_update_status, blue_rfc_plan, blue_rfc_validate
- blue_rfc_task_complete, blue_search
14 unit tests passing.
RFC 0002 tracks remaining phases.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 00:43:25 -05:00