Files
piik/docs/adr/0017-contracts-fixed-before-release.md
T

1.4 KiB

ADR-0017: Contracts Fixed Before The First 3.0 Release

  • Status: proposed

Decision

The first public 3.0 contract remains open. Evaluate actual readers, writers and stored fixtures under versioning.

  • Readers ignore unknown descriptive wire fields and notifications. Known fields, types and bounds still apply. A constraint whose omission would widen authority, lifetime, recipients or target uses a distinct request.
  • Receivers refuse unknown requests as unsupported. An unknown reply ends only its matching request with an unknown outcome. Observer notifications cannot confirm a request.
  • The major version changes when peers cease to be compatible. The minor version guides feature discovery.
  • Stores and archives refuse content they cannot preserve before installing it.
  • Storage upgrades preserve identity, saved authority and user data. Apply an upgrade transactionally when the representation changes.
  • Restoring history starts a new lineage. A normal restart preserves lineage and read positions. The writer confirms history only after durable commit.

References