Commit Graph

2 Commits

Author SHA1 Message Date
hailin 747e4ae8ef refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing
- Remove Address field from PartyEndpoint (parties connect to router themselves)
- Update K8s Discovery to only manage PartyID and Role labels
- Add Party registration and SessionEvent protobuf definitions
- Implement PartyRegistry and SessionEventBroadcaster domain logic
- Add RegisterParty and SubscribeSessionEvents gRPC handlers
- Prepare infrastructure for party-driven MPC coordination

This is the first phase of migrating from coordinator-driven to party-driven
architecture following international MPC system design patterns.
2025-12-05 08:11:28 -08:00
hailin 24e14da24b docs(mpc-system): add complete end-to-end API verification report
- Verified all 10 services health and connectivity
- Tested complete session lifecycle (create, join, ready, start, complete, close)
- Validated gRPC internal communication and port isolation
- Confirmed security design (API auth, JWT tokens, input validation)
- Documented Account Service placeholder implementation status
- Identified minor issues (PartyIndex bug, API naming inconsistency)
- System readiness: 85% ready for integration

Test coverage:
-  Infrastructure: 100% (all services healthy)
-  Session Coordinator API: 95% (7/7 endpoints tested)
-  gRPC communication: 100% (verified)
-  Security design: 100% (validated)
- ⚠️  Account Service: 30% (placeholder implementation)
-  TSS protocol: pending end-to-end testing

Added comprehensive verification report with test commands,
findings, and recommended action plan.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 00:39:40 -08:00