Skip to content

Latest commit

 

History

History
66 lines (54 loc) · 3.55 KB

dependency-inputs.md

File metadata and controls

66 lines (54 loc) · 3.55 KB

Supported inputs and compatibility proof

.release/supported-dependencies.json is the reviewed input selection shared with Base's downstream updater (#2289). Version 1 names exactly Base, base-cli and base-bash-libs by stable version and full commit, plus Base's installer SHA-256. The current supported selection is Base 1.10.5 / base-cli 0.5.1 / base-bash-libs 2.2.2. Tags are independently resolved to their commits in CI. The validator is an immutable snapshot of Base's dependency-input contract.

python3 bin/base-demo-dependencies --check --verify-refs
python3 bin/base-demo-dependencies --get base.commit

The standalone installer materializes the Base defaults so it can bootstrap without Python or another configuration download. The project requirement and uv lock materialize the Python wheel selection. Consistency checks reject any mismatch with supported inputs or the prepared BOM. CI reads the record for all Base and Bash-library checkouts, and for the explicit base-cli source checkout; it verifies actual checked-out commits and prints the input record. The locked-wheel lane checks installed package metadata separately from the explicit source-provider lane. Neither silently substitutes a sibling provider.

CI exercises the macOS 14 support platform on the pinned macOS 15 runner for the full demo, and uses Ubuntu 24.04 for Base setup/read-only health. This does not expand the Linux support boundary. The three named jobs are stable evidence interfaces for the release gate. A run is evidence only when its repository, exact demo commit, successful jobs, runner labels and tested input record are independently verified by base-demo-release-bom-check.

Preparing a release without circular evidence

The tracked BOM is prepared input, with not_tested results. Its self SHA is a placeholder until the final reviewed commit exists. The previous prepared record is retained under .release/historical/; it is not a current passing run. Updating input pins invalidates prepared results; no updater invents success.

After the final reviewed commit's normal main-branch CI succeeds, the finalizer can verify and bind that run into external artifacts:

bin/base-demo-release-finalize --commit <reviewed-full-sha> \
  --evidence-run <successful-tests-run-id> --output-dir <empty-external-directory>

It assigns candidate results only in memory, verifies live evidence, and writes nothing if the proof fails. It never edits the tracked inputs after learning the commit. The tag workflow resolves a successful tests.yml push run for the exact tagged commit and passes the same run ID to the publisher's recheck. No successful run, wrong input, failed job, or unavailable GitHub lookup means no publication. Finalizing without --evidence-run remains useful for identity fixtures but does not certify the artifacts for publication.

The published README installer is pinned to the reviewed v0.2.1 release asset, which consumes Base 1.10.0 and demo v0.2.1 at the immutable identities recorded by the public release BOM. The old v0.2.0 asset remains immutable historical evidence, and the old candidate issue and advisory revision are no longer release evidence. #303 owns the public release-asset URL.

Stable and extended scenario boundary

Stable input selection is Base 1.10.5. The stable scenario lane exercises the baseline contracts, while the extended lane runs the v1.10 trust/workspace assertions against the same immutable released commit. Both are repository checks; neither becomes release BOM evidence until the exact post-merge run is verified by the release gate.