Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/protocol-version-13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@objectstack/spec': patch
---

fix(spec): bump `PROTOCOL_VERSION` to 13.0.0 — restore lockstep with the package major

The ADR-0090 P1 breaking wave took the platform to 13.0.0, but the protocol
constant (the value the `engines.protocol` handshake compares) stayed at
12.0.0, tripping the lockstep guard in `protocol-version.test.ts` and turning
`Test Core` red on main for every PR. Protocol 13 is semantically correct:
the P1 renames (`roles:` → `positions:`, kind `role`/`profile` → `position`,
no aliases) are exactly the kind of authorable-surface break the handshake
exists to refuse across majors.
2 changes: 1 addition & 1 deletion packages/spec/src/kernel/protocol-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Kept in lockstep with the package's own major; `protocol-version.test.ts`
* asserts it against `package.json` so the two cannot drift.
*/
export const PROTOCOL_VERSION = '12.0.0';
export const PROTOCOL_VERSION = '13.0.0';

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