Skip to content

Commit 7237cd9

Browse files
os-zhuangclaude
andcommitted
fix(spec): bump PROTOCOL_VERSION 12.0.0 → 13.0.0 to match spec major (lockstep)
The version-packages roll (#2720) took @objectstack/spec to major 13.0.0 but left PROTOCOL_VERSION at 12.0.0, so protocol-version.test.ts — the lockstep guard asserting the protocol major equals the package major — failed on main, reddening Test Core for every open PR. Restore the lockstep so the loader/installer handshake advertises the major the package actually ships. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e989cac commit 7237cd9

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
fix(spec): bump PROTOCOL_VERSION 12.0.0 → 13.0.0 to match the spec major
6+
7+
The version-packages roll (#2720) took `@objectstack/spec` to major `13.0.0`
8+
but left `PROTOCOL_VERSION` at `12.0.0`, so `protocol-version.test.ts` (the
9+
lockstep guard that asserts the protocol major equals the package major) failed
10+
on `main` — reddening Test Core for every PR. Restore the lockstep so the
11+
loader/installer handshake advertises the major the package actually ships.

packages/spec/src/kernel/protocol-version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Kept in lockstep with the package's own major; `protocol-version.test.ts`
1616
* asserts it against `package.json` so the two cannot drift.
1717
*/
18-
export const PROTOCOL_VERSION = '12.0.0';
18+
export const PROTOCOL_VERSION = '13.0.0';
1919

2020
/** The protocol major as an integer — the value the handshake compares. */
2121
export const PROTOCOL_MAJOR: number = Number.parseInt(PROTOCOL_VERSION.split('.')[0]!, 10);

0 commit comments

Comments
 (0)