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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 0055: Managed policies for the sync provider and tablepro.app traffic

- **Status**: Accepted
- **Status**: Accepted; what `personalSync` off refuses and tombstones amended by 0051, which keeps the `key.*` kinds
- **Date**: 2026-11-25

## Context
Expand Down
2 changes: 1 addition & 1 deletion core/docs/decisions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ The format, the statuses and how a later ADR changes an earlier one follow [the
| [0049](0049-ai-model-catalog.md) | A provider's model list merges with one model catalog | Accepted; the catalog refresh under `AllowOtherAccountServers` amended by 0055 | The provider's list decides which models exist and the fields it states; `core/crates/ai/ai-models.json`, generated from models.dev v2, fills the rest and is refreshed keyless from updates.tablepro.app when a list loads, newer `generated` wins; one merge pinned by shared cases: lookup by id, fine-tune base or undated id, drop by protocol and hidden unknowns, live fields first, deprecated when either says so, live default else catalog's, documented order else newest first, default first, deprecated last, catalog offline when the list fails; Linux and Windows save the catalog default once for an empty model. |
| [0050](0050-license-renewals-requested-by-tablepro-app-signed-by-the-operator.md) | A self-hosted license renewal is requested by tablepro.app and signed by the operator | Accepted | tablepro.app works out each bound license's file from Polar's paid state and opens a request that fixes every claim; the operator signs it on a Mac with KMS under their own AWS session over an SSH key restricted to `requests` and `record`, checking it against the license's previous file, and the host verifies the file before recording it; the renewal fetch answers only a recorded bearer; files reach the buyer's tablepro.app Billing, a link email and the fetch; a monthly file's grace is 21 days, covering Polar's retries. |
| [0051](0051-sync-protocol-and-record-rules.md) | Sync protocol and record rules | Accepted | `sync_records` in scopes, with install-wide random epochs and a cut per scope; a write is conditional on an opaque change tag of epoch, version and random write tag, and a push names its epoch; each change answers `applied`, `conflict` or `rejected` with a code; open kinds beside reserved `key.*`, `secret_envelope`, `history_entry` and library kinds, the server reading only `kv` and the key-object fields 0053 lists, verifying account and team logs; 1 MiB a record, pages by count and bytes, a strong ETag over the whole scopes body; DPoP on personal and history calls and on every key-object and envelope write, with a filtered view before approval; content edits revive a deletion and placement edits never do; the system identifier and timeline are checked before any connection serves, and a restore opens an epoch whose cuts tell each device which writes to refill; pull-only past grace; the library moves in behind views under N-1's lock order, and the facade lives until 2% of devices. |
| [0055](0055-managed-policies-for-the-sync-provider-and-tablepro-app-traffic.md) | Managed policies for the sync provider and tablepro.app traffic | Accepted | `PersonalSyncProvider` lists the personal sync providers a device may use, one entry forcing it and none leaving sync off; `AllowOtherAccountServers=false` with a company server also stops share-link reads and the AI catalog refresh; the Mac reads `UsageDataAllowed`, `PluginCatalogAllowed` and `ICloudSyncAllowed`; one key table with each type per channel, lists as an ADMX `<list>`; a self-hosted `personalSync` switch, on by default, leaves an install serving Team Library only. |
| [0055](0055-managed-policies-for-the-sync-provider-and-tablepro-app-traffic.md) | Managed policies for the sync provider and tablepro.app traffic | Accepted; what `personalSync` off refuses and tombstones amended by 0051, which keeps the `key.*` kinds | `PersonalSyncProvider` lists the personal sync providers a device may use, one entry forcing it and none leaving sync off; `AllowOtherAccountServers=false` with a company server also stops share-link reads and the AI catalog refresh; the Mac reads `UsageDataAllowed`, `PluginCatalogAllowed` and `ICloudSyncAllowed`; one key table with each type per channel, lists as an ADMX `<list>`; a self-hosted `personalSync` switch, on by default, leaves an install serving Team Library only. |
Loading