Skip to content

Report 0.3.0 everywhere the version is carried - #3

Merged
Balanov merged 1 commit into
mainfrom
fix/version-0.3.0
Nov 14, 2026
Merged

Balanov merged 1 commit into
mainfrom
fix/version-0.3.0

Conversation

@Balanov

@Balanov Balanov commented Nov 14, 2026

Copy link
Copy Markdown
Owner

The 0.3.0 release shipped with the version carried in one place and reported in another.

package.json says 0.3.0 and CHANGELOG.md records the 0.3.0 release, but bin/until.mjs hard-coded const VERSION = "0.2.0", so node bin/until.mjs --version printed 0.2.0. The same string was written into the proof bundle by scripts/proof.mjs (summary.version), into the benchmark by scripts/bench.mjs (version), and asserted literally in the benchmark CLI startup check, which rejects the sample unless the CLI prints exactly the expected version. CITATION.cff, package-lock.json, app/package.json and app/package-lock.json carried it too.

The copies now agree at 0.3.0, but they are still copies: a release still has to edit each of them by hand, and nothing fails when one is missed. No test covers this, so the next release drifts the same way.

What done means:

  • node bin/until.mjs --version prints the version field of package.json.
  • The CLI, the proof bundle and the benchmark read the version from one place. A release bumps package.json only; nothing else carries a second copy of the string.
  • scripts/bench.mjs no longer compares the CLI output against a literal version. It compares it against the version the tool reports.
  • scripts/proof.mjs writes the same version into the proof bundle that it reports in summary.version.
  • A test asserts that the version the CLI reports equals the version field of package.json, so a future drift fails the suite instead of the release.
  • CITATION.cff, package-lock.json, app/package.json and app/package-lock.json carry the same value automatically.
  • npm run check passes.
  • npm run proof and npm run bench pass.
  • If app/public/proof.json changes as a result, it is regenerated with npm run proof and committed, and the published-evidence integrity test still passes.

Boundary

  • No new runtime npm dependency. The core keeps zero runtime dependencies.
  • No change to the commands, the CLI flags, the SQLite schema, the loop or the exit codes.
  • No telemetry, no account, no network call in CI.
  • The published proof artifact stays reproducible with npm run proof. Do not hand-edit app/public/proof.json.
  • No change to any claim in README.md other than the version string itself.

@Balanov
Balanov merged commit 925860f into main Nov 14, 2026
4 checks passed
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