Skip to content

Define the CLI distribution contract - #16

Merged
konojunya merged 1 commit into
mainfrom
agent/distribution-contract
Sep 4, 2026
Merged

Define the CLI distribution contract#16
konojunya merged 1 commit into
mainfrom
agent/distribution-contract

Conversation

@konojunya

Copy link
Copy Markdown
Member

Summary

  • define the planned tier-1 target matrix for macOS and glibc Linux without claiming an available release
  • specify immutable artifact names, reproducible archive contents, version policy, checksums, Sigstore bundles, SBOMs, provenance, and rollback
  • separate GitHub Releases, Homebrew, Cargo, Aqua, and self-update ownership, including safe refusal outside direct-install receipts
  • publish a machine-readable contract and schema with CI validation and negative tests
  • keep the occupied stack-cli crates.io name unset as a public package name until a distinct registry identity is verified

Validation

  • node scripts/validate-distribution-contract.mjs
  • node --test scripts/distribution-contract.test.mjs
  • JSON Schema validation with Ajv 2020
  • cargo fmt --check
  • cargo test --locked
  • formatter and template conformance tests against the pinned specification
  • cargo clippy --all-targets --all-features --locked -- -D warnings
  • RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --locked
  • cargo build --release --locked
  • Rust 1.85 tests and Clippy
  • coverage: 91.68% lines, 95.86% functions, 91.66% regions

No binary or package-manager release is published by this change.

@konojunya
konojunya merged commit 0e95ca0 into main Sep 4, 2026
2 checks passed
@konojunya
konojunya deleted the agent/distribution-contract branch September 4, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant