Privacy & Encrypted COS Sync
Local-First Storage & Boundaries
All runtime state lives under .private/ beside the portable executable (or in the platform app data folder):
- Database & FTS5 index:
.private/app/keepflow.sqlite - GitHub token:
.private/github/token.json(strictly local, never synced) - Sync metadata & locks:
.private/sync/ - Isolated WebView2 cache (Windows):
.private/webview/ - Exported journal posters:
分享图片/(1080 × 1440PNG)
All reads from Claude Code, Codex and Antigravity directories are strictly read-only, using lock-free copies for SQLite sources so active coding sessions are never disturbed.
End-to-End Encrypted COS Sync
Powered by the shared keep-sync-cos crate on an isolated channel (keepflow-sync/{workspace_id}, share code prefix kflsync1_, snapshot extension .kflsnap):
- Cryptography:
Argon2idkey derivation scoped tokeepflow-sync-key::{workspace_id}+XChaCha20-Poly1305AEAD encryption +BLAKE3integrity verification. Your cloud bucket stores only ciphertext. - Selective scope:
- Synced: Logical projects, groups, progress, checklists, dev notes, and (optionally) AI session metadata plus gzip-compressed, AEAD-encrypted human/AI dialogue bodies;
- Never synced: GitHub tokens, machine-local filesystem bindings, raw tool outputs and bulky execution logs.
- Multi-machine awareness: Name each computer in settings to see which machine authored each session and fetch remote dialogue text on demand.