blue/docs
Eric Garcia 74e3a03ba8 feat(realm): Implement RFC 0002 Phase 4 notifications
Complete RFC 0002: Realm MCP Integration with notifications support.

New MCP tool:
- notifications_list: List notifications with state filters
  (pending, seen, expired, all)

DaemonDb extensions:
- cleanup_expired_notifications: Auto-delete 7+ day old notifications
- list_notifications_with_state: Returns notifications with computed state

Schema integrity checking:
- Canonical JSON hashing (SHA-256) for schema fingerprinting
- check_schema_integrity returns hashes for all accessible contracts
- Integrated into realm_check response

Notification piggybacking:
- fetch_pending_notifications for realm_status and realm_check
- Filtered to domains the current repo participates in

RFC 0002 is now complete with all 8 tools:
- Phase 1: realm_status, realm_check, contract_get
- Phase 2: session_start, session_stop
- Phase 3: realm_worktree_create, realm_pr_status
- Phase 4: notifications_list

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 07:42:26 -05:00
..
adrs docs(adr): Add ADR 0000 Never Give Up and align all ADRs 2026-01-24 05:53:13 -05:00
cli feat(realm): Implement RFC 0001 cross-repo coordination and RFC 0002 Phase 1 MCP tools 2026-01-24 07:14:35 -05:00
dialogues feat(realm): Implement RFC 0001 cross-repo coordination and RFC 0002 Phase 1 MCP tools 2026-01-24 07:14:35 -05:00
origins 💙 The birth 2026-01-20 17:19:32 -05:00
patterns 💙 The birth 2026-01-20 17:19:32 -05:00
rfcs feat(realm): Implement RFC 0002 Phase 4 notifications 2026-01-24 07:42:26 -05:00
spikes feat(realm): Implement RFC 0001 cross-repo coordination and RFC 0002 Phase 1 MCP tools 2026-01-24 07:14:35 -05:00