Files
piik/docs/adr
T
AAA 7f1de0945c docs(adr): propose the contracts that must be fixed before release
3.0 is unpublished, so a wire or storage shape can still be replaced without
aliases or migrations. Two defects contradict what versioning promises and
cannot be corrected once an App or a room store is in the field: Join
requires one exact protocol number while readers reject unknown fields, and
a room store opens only at one exact schema version with no upgrade path.

ADR-0017 proposes nine decisions: a compatibility rule of matching major
plus additions behind capabilities with tolerant readers, one schema source
with generated declarations, one reply shape that tells a rejection from an
unknown outcome, a state revision, commands addressed by scope with one
activity envelope, storage versions with forward migrations, a room store's
epoch and change sequence, one set of history rules with a durable Browser
commit, and one encoding for bytes. It leaves the serialization format,
SQLite in the Browser and the client engine's place to later decisions.

The evidence is recorded as research: three designs written from the
requirements alone, none of which saw the repository, set beside three
audits of the tree. The review also records where the tree knows more than
the designs, chiefly how a home-run site behind carrier-grade NAT is
reached, and four product decisions that stay with the owner.
7f1de0945c · 2026-11-25 08:20:38 +08:00
History
..