Repository navigation
Conversation
…ng signed-app boundary
…ead-only device grant
… checkpoint history
…only ledger crash recovery
…ledger crash recovery
…end and outstanding GUI gate
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.
Scope — offline privacy-first SYNC-2
Draft workstream for optional future encrypted transcript/notes sync. No cloud transport, OAuth, upload, recording/audio/screenshots, production sync UI, migration, or remote fallback. User meeting data and installed app remain untouched.
Implemented
NativeVaultProbeBackenduses a distinct allowlisted synthetic-onlycom.closedroom.app.secure-sync-vault-probe.v1service, locally restricted device-only/unlocked-login Keychain attributes, native item create/update/readback/delete and strict account/size validation. An additional packaged binary diagnostic tests updating a synthetic 256-bit secret, clearing a prepared-intent record and proving the updated key from a second invocation of the same signed binary. The establishedscripts/probe_packaged_keychain.py --buildnow runs BOTH packaged diagnostics and verifies bounded JSON. This does not yet connect the experimental vault identity to production persistence or the app GUI.Exact evidence
4da41fcc667addf41cc5638a02119aea75402925: Mac self-hosted #44772706674local-ci/mac=success: 992 app unit tests PASS (5 new native-backend tests), 57 synthetic crypto/security tests PASS, browserFULL_MEDIA PASS. Hosted engineering baseline/governance PASS.cc9d6e97failed at the new native-vault diagnostic after successful artifact finalization. The wrapper hid the underlying OSStatus; do not classify this as macOS session failure. Apple documentskSecUseDataProtectionKeychain=trueas required forkSecAttrAccessibleWhenUnlockedThisDeviceOnlyon macOS, and the native vault probe omitted this qualifier.e90e952707867ddb376ac54e2819dbbaa7fbb712: consistently select Data Protection Keychain for all synthetic native CRUD usingThisDeviceOnly, without legacy/iCloud fallback; strengthen partial-write cleanup and bounded operation/OSStatus errors. Mac self-hosted #44783958239 PASS: 995 app tests (3 new), 57 isolated security tests, browser FULL_MEDIA, exact SHAlocal-ci/mac=success. New GUI packaged qualification is still pending; automated PASS is not proof of actual Data Protection Keychain access.b8dfea64; it does not qualify the new native update/clear path.KEYCHAIN_REAL_ENVIRONMENT=NOT_RUN; macOS user-login Keychain access cannot be inferred from the runner's deterministic test PASS.Remaining real gates and product work
python3 scripts/probe_packaged_keychain.py --buildfrom a logged-in macOS GUI Terminal on the clean exact source head after automated tests; newnative_vault_probe, update, empty preparation, child and cleanup must all PASS. If it fails, use the bounded OSStatus to classify missing entitlement vs parameter mismatch without weakening protections.drive.appdataand safe ciphertext-only transport. Untrusted Drive alone cannot prove newest valid head.PRODUCT_FEATURE program, PRODUCT_LOCAL diagnostic slice / ITERATION / FULL selector due to native packaging and security / REMOTE_AUTOMATED Mac PASS; REAL_ENVIRONMENT updated bundled GUI gate PENDING, two-Mac PENDING. Draft PR, not sync-ready or release-ready.
Canonical plan:
docs/workstreams/secure-sync-google-drive.md.