rfc/spec/contracts-v1-review.md

4.8 KiB
Raw Permalink Blame History

Contract package review: manifests, CLI and infrastructure

Status: Approved. D-066–D-069 and the package-action implementation plan accepted 2026-11-04. See the complete contract registry. Explicitly open implementation details remain open, including exact desktop manifests and the supported snapshot transition matrix. Layer authoring syntax was subsequently frozen by D-070; see normative schema. Composition/lock/artifact schemas remain separate. RFC-0010 infrastructure/publication semantics are accepted; deployment bindings and worker isolation validation remain pending. RFC-0009 command coverage and operation lifecycle are accepted for incremental delivery. Acceptance covers the RFC-0008 semantics recorded in D-066; concrete schemas, adapters and implementation evidence remain pending.

Proposed decisions

ID Document Approval scope
D-066 RFC-0008 Strict source model, two lock stages, canonical identities, indexed OSTree layer payload and effective/original ALPM accounting
D-067 RFC-0009 Complete command matrix, capabilities, plan/apply, machine-readable results and lifecycle rules
D-068 RFC-0010 Docker Compose + cron, snapshot sealing, HTTP/native OSTree registry, release transaction, net install and ISO portal
D-069 RFC-0011 Complete action coverage of base/linux/Core and locked KDE/GNOME closures; shared CLI policy and execution ledger

Review questions before approval

  1. Approve reserved archipelago/v1, strict YAML/JSON and RFC 8785 identity, or request a different serialization/versioning policy?
  2. Approve per-package payload namespaces and deterministic effective ALPM records with retained original records/deviation provenance? This is the main new composition contract; its adapter still needs integration proof.
  3. Approve the CLI matrix and no-daemon-first operation model, including explicit plan/apply, separate package replacements and no automatic reboot/fallback?
  4. Approve Docker Compose/host cron, separate worker/validator/publisher roles and read-only HTTP registry, with native OSTree transport rather than OCI OS images?
  5. Approve daily candidates/monthly snapshot policy, UTC and per-track serialization? Exact cron expressions and worker quotas may be supplied with deployment bindings.
  6. Phase one: enable only proven Core x86_64, or additionally nominate specific GNOME/KDE/Server/IoT variants whose manifests/checks must be implemented first?
  7. Approve the proposed purpose-separated OpenPGP trust/publication profile? Real key custody, fingerprints, endpoints and TLS/auth configuration are deferred.
  8. Approve the Core/KDE/GNOME package-action floor and phased implementation plan; confirm exact desktop manifests and supported snapshot transitions before claiming complete coverage.

Remains outside blanket approval

Concrete adapters for package scriptlets, system identities, persistent payload, boot/cache integration; exact target-host Docker/nspawn capability profile; full reproducibility evidence; unselected workload managers and desktop variants. Public release gates D-050–D-052 are neither weakened nor considered passed. Generated JSON Schemas and lock fixtures must be reviewed against the agreed field semantics before the implementation declares v1 interoperability.

Verification plan

  • Parse source examples, verify relative references and status/decision consistency.
  • Implement positive/negative schema and canonicalization vectors after approval.
  • Exercise package ownership and ALPM metadata on two independently built layers.
  • Test CLI capability claims, plan drift, cancellation/concurrency and error envelopes.
  • Exercise publication crash points, stale metadata, missing objects and GC roots.
  • Use one immutable release for offline install, net install, host update and portal.
  • Prove build/validation worker boundaries and backup restore on the chosen hosts.

Delivery order after approval

  1. contracts: schemas, canonical hashing, indexes, lock validation and fixtures.
  2. builder/composer: independent layer payloads, coherent ALPM DB and finalizers.
  3. cli/system/installer: complete commands and transactions; update/net install.
  4. registry: authenticated immutable fetch/publication and retention graph.
  5. Docker/cron pipeline, snapshot adapter and static portal; private staging first.
  6. Release reproducibility/functional proof, then eligibility for testing/stable.

Infrastructure addresses and deployment topology can be supplied after semantic approval; they are configuration, not a reason to embed placeholder domains in locks.