SpecsCLIIP-323 Verified Baseline Authority
Plan: Verified Baseline Authority
Plan: Verified Baseline Authority
Outcome
Resolve every moving or exact baseline request to one immutable verified identity. The control plane owns selection; release inventory, cache, downloads, and bundled content only retrieve and verify that identity.
Delivery Order
- Extend
packages/contractwith{ channel, version? }, the complete verified identity, and typed authority, integrity, and unavailable failures. - Make
apps/apiselect and validate the authoritative release identity, then project version-bound artifact metadata from it. - Make
apps/cliretrieve only the selected identity, verify archive and content digests, and acceptstable, explicitbundled, or an exact version acrossupdate,check,tools, andscaffold. - Prove the contract, API inventory/registry, CLI resolver/cache/bundled paths, packaged help, and cross-command exact-version propagation.
Locked Rules
stableis the newest complete published baseline. A newer non-stable release, conflicting identity, incomplete inventory, or unavailable authority fails typed.- Exact-version requests cannot be substituted.
- Exact requests select the matching stable release and return
BaselineNotFoundwhen absent. - Published schema-v2 manifests require nonblank
compatibility.cliVersionRange; historical exact requests use only their selected verified metadata. - A verified schema-v1 release uses deployment compatibility only for the currently configured
stableor matching exact version; historical schema-v1 releases fail typed integrity until backfilled to v2. - GitHub, cache state, artifact URLs, and bundled content cannot select or redefine
stable. - Inventory pagination and redirects remain same-origin, complete, cycle-free, and bounded to 100 pages.
- Cache and bundled bytes are accepted only after digest, version, provenance, and compatibility checks.
- Control-plane unavailability never continues to GitHub or bundled content.
Verification Gate
- Contract: full protocol and type gates.
- API: registry, inventory, HTTP handler, and public snapshot gates.
- CLI: resolver, control-plane client, command propagation, public output, typecheck, and packaged build gates.
- Docs: root implementation reference, operator runbook, routed control-plane decision, and this spec record agree with implemented behavior.