Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/adr/0061-opt-in-usage-sync.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ADR-0061: Sync Usage Between One User's Computers Only When the User Turns It On

- **Status:** Proposed
- **Status:** Accepted
- **Amended 2026-11-13:** users now run the sync commands as `playbook sync ...`, and `pbsync` stays as the helper and a short alias. Commands below are as they were when this record was written.
- **Date created:** 2026-11-07
- **Date modified:** 2026-11-07
- **Date modified:** 2026-11-17
- **Relates to:** [ADR 0025](0025-self-improving-playbook.md) (it rejected remote learning across users; this ADR covers one user's own machines and does not change that), [ADR 0020](0020-usage-terminal-ui.md) (the usage UI that reads these rows)

## Context
Expand Down Expand Up @@ -102,5 +102,3 @@ The owner answered the earlier open questions.
2. **Engine: keep `rusqlite`.** The `libsql` swap is rejected. `playbook-store` stays on `rusqlite`. Sync is a separate `pbsync` binary that talks to Turso over HTTP with `ureq`.
3. **Privacy: sync a salted repo-name hash.** The hash is 128 bits of hex from a truncated SHA-256, with a per-user salt in the remote `shared_meta`. Sync still sends no branch or working directory, no raw email, and no `session_id` or `agent`.
4. **Work account: it syncs too.** The explicit per-account allowlist `sync.accounts` stays in config and starts empty. The owner adds accounts. Enabling sync stays a visible opt-in with a consent prompt, because company policy still applies.

The Status stays Proposed until the owner accepts this record.
2 changes: 1 addition & 1 deletion docs/adr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ Each file here records one decision and why it was made. A decision can have a b
| [0058](0058-answer-symbol-questions-with-language-servers.md) | Answer Symbol Questions With Language Servers, One Per Call, Behind a Trust Gate | Superseded by 0060 | 2026-10-21 |
| [0059](0059-tombstone-format.md) | Tombstone format for on disk state | Accepted | 2026-11-05 |
| [0060](0060-use-tree-sitter-only-for-the-code-index.md) | Answer Code Questions From the Tree-sitter Index Only, With a Precision and Recall Gate | Accepted | 2026-11-06 |
| [0061](0061-opt-in-usage-sync.md) | Sync Usage Between One User's Computers Only When the User Turns It On | Proposed | 2026-11-07 |
| [0061](0061-opt-in-usage-sync.md) | Sync Usage Between One User's Computers Only When the User Turns It On | Accepted | 2026-11-07 |
Loading