Skip to content

JWB-949: Compare update versions with Bun.semver and drop v1 execution config - #94

Merged
JarenKempton merged 3 commits into
mainfrom
task/JWB-949
Nov 13, 2026
Merged

JarenKempton merged 3 commits into
mainfrom
task/JWB-949

Conversation

@JarenKempton

@JarenKempton JarenKempton commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • checkForUpdate orders versions with Bun.semver.order; the strict SemVer regex stays only to reject malformed tags (Bun.semver is lenient, e.g. accepts 1.0) and to read prerelease identifiers.
  • Removed v1 execution-configuration schemas, resolver, executionTarget v1 branch, map-scoped pickable statuses, and v1-only project renaming in savedT3Configuration.
  • Reading a ledger that holds a v1 snapshot refuses with the run and the last release that reads it.
  • claim release takes the repository from the recorded v2 configuration instead of the planning receipt.
  • Lane-completion fixture now records a v2 configuration; dependent expectations include JWB-913 because pickable statuses are no longer map-scoped.

Evidence

v1 ledger refusal: real CLI path

Ledger seeded with a run and a v1 execution_configurations row, then bun src/main.ts runs export interlock-run:historical --state <ledger> --json:

Before (858f3e1):

{ "run": {...}, "configuration": { "version": 1, "source": {...}, "project": { "version": 1, "repositories": {}, "maps": {}, ...

After (c7297b6):

interlock: Run interlock-run:historical was picked up with a version 1 execution configuration, which this Interlock no longer reads; finish or release it with Interlock 0.1.0-alpha.7 or earlier
exit 1

Prerelease ordering

test/distribution/update.test.ts: "each prerelease in SemVer precedence order is offered the next one" walks the SemVer §11 chain (1.0.0-alpha < alpha.1 < alpha.beta < beta < beta.2 < beta.11 < rc.1 < 1.0.0), and "a stable installation is never offered a prerelease of its own version".

Checks at c7297b6

$ vp check
pass: All 192 files are correctly formatted
pass: Found no warnings, lint errors, or type errors in 173 files
$ vp run typecheck
(0 errors)
$ vp run test
 691 pass
 0 fail
Ran 715 tests across 50 files.

🤖 Generated with Claude Code

…on configuration (JWB-949)

The update check now orders versions with Bun.semver.order after strict
SemVer validation. Version 1 execution-configuration snapshots are no
longer resolved; reading one refuses with the run and the last release
that reads it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JarenKempton JarenKempton changed the title task/JWB-949 JWB-949: Compare update versions with Bun.semver and drop v1 execution config Nov 13, 2026
JarenKempton and others added 2 commits November 13, 2026 11:23
… failing the tick (JWB-949)

A version 1 snapshot on any run made lanes() throw, stopping every
completion and launch. The refusal is now carried on that lane and
reported as its failure only when completion needs the configuration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	src/app/claim/release.ts
#	src/app/pickup/runtime.ts
#	test/configuration/schema.test.ts
@JarenKempton
JarenKempton merged commit c2d2bbb into main Nov 13, 2026
8 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