Harness Intelligence Wiki
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

  1. Extend packages/contract with { channel, version? }, the complete verified identity, and typed authority, integrity, and unavailable failures.
  2. Make apps/api select and validate the authoritative release identity, then project version-bound artifact metadata from it.
  3. Make apps/cli retrieve only the selected identity, verify archive and content digests, and accept stable, explicit bundled, or an exact version across update, check, tools, and scaffold.
  4. Prove the contract, API inventory/registry, CLI resolver/cache/bundled paths, packaged help, and cross-command exact-version propagation.

Locked Rules

  • stable is 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 BaselineNotFound when 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 stable or 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.

On this page