blue/docs/rfcs
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
..
0001-cross-repo-realms.md feat(realm): Implement RFC 0001 cross-repo coordination and RFC 0002 Phase 1 MCP tools 2026-01-24 07:14:35 -05:00
0001-efficient-document-format.md feat: Add Rust workspace and MCP server skeleton 2026-01-23 16:51:04 -05:00
0002-port-coherence-functionality.md feat: Phase 6 - audit and completion tools 2026-01-24 03:48:07 -05:00
0002-realm-mcp-integration.md feat(realm): Implement RFC 0002 Phase 4 notifications 2026-01-24 07:42:26 -05:00