Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a separate multi-household cloud peer for encrypted current-state recovery and cloud-only catch-up. Devices transfer data exclusively over WebRTC; the control plane only handles policy, authorization, assignments, and signaling. Shared Store5 repositories own persistence and merge behavior. Cloud MCP uses the shared 18-tool catalog with separately authorized read/write grants and requires trusted-cloud mode.
Merged origin/main with a merge commit (no rebase), preserving finance-space scoping, HTTPS-only signaling, and hosted entitlement checks. Added additive cloud-metadata migration coverage and fixed duplicate peer announcements under concurrent joins.
Do not merge under the Nov 17 authorization. This introduces consent screens and has incomplete end-to-end coverage. No deployment or production configuration was changed.
New user-facing consent / permission controls
New server endpoints
Control-plane server:
/api/backup/policy/api/backup/toggle/api/backup/assignments(worker credential)/api/backup/mcp/authorize(worker credential; authorization metadata only)/ws/backupand/ws/recovery-keys(signaling only)/api/ice-serversadditionally supports authenticated backup workers.Independent cloud worker:
/health/mcpStreamable HTTP endpoint, requiring separately provisioned client credentials and explicit household grants. Disabled unless configured.Validation on the merged branch
./kotlin test -m core -m shared -m server -p jvm— 242 passed, 5 environment-gated tests aborted/skipped, zero failures (247 discovered).SHILLING_TEST_STORAGE_ONLY=1 scripts/test-supabase-backup.sh— 4 passed.just guard-architecture— passed.git diff --check— passed.Failed / incomplete paths (merge blockers)
scripts/test-live-backup.shfails before transfer: the fixture's HTTP loopback URL is rejected by the merged HTTPS-only client policy. The process-level fixture needs trusted TLS. Therefore hard-restart recovery, real restore from the durable cloud log/checkpoint, forced TURN, and three-client process-level MCP acceptance are not validated on this merged revision. Earlier pre-merge successes are not counted.GitHub and TeamCity checks must also be green before any future merge, but green checks alone do not override the consent and coverage blockers above.
CI status at handoff: GitHub Architecture/guard is in progress; no TeamCity commit status has been reported for this head. The branch is current with origin/main. The PR remains open regardless of subsequent green checks because of the substantive blockers above.