Context
Currently sovereignty.service.ts has only 8.6% test coverage despite being a core service for tracking user sovereignty stages.
Gap Analysis
The service has computed signals for:
- Sovereignty stage detection (visitor → hosted → app-user → node-operator)
- Connection status mapping from Holochain state
- Data residency computation
- Key information generation
Acceptance Criteria
Estimated Effort
2-3 hours
Files
src/app/imagodei/services/sovereignty.service.ts
src/app/imagodei/services/sovereignty.service.spec.ts (create)
Priority Justification
HIGH - Sovereignty tracking is core to the Elohim identity model and affects user experience across stages.
Created by quality-deep orchestrator - Sprint 3
Context
Currently sovereignty.service.ts has only 8.6% test coverage despite being a core service for tracking user sovereignty stages.
Gap Analysis
The service has computed signals for:
Acceptance Criteria
Estimated Effort
2-3 hours
Files
src/app/imagodei/services/sovereignty.service.tssrc/app/imagodei/services/sovereignty.service.spec.ts(create)Priority Justification
HIGH - Sovereignty tracking is core to the Elohim identity model and affects user experience across stages.
Created by quality-deep orchestrator - Sprint 3