Skip to content

Commit 3811cd1

Browse files
committed
fix(examples,spec): app-starter declares '^19'; the step-19 entry claims only the range
examples/app-starter (new on main) is an app on the current protocol, so its engines.protocol moves to '^19' with the other handshakes; at '^18' its boot test is refused OS_PROTOCOL_INCOMPATIBLE. The protocol-18-range-refused acceptance text no longer promises that validate passes or that every package installs: the --from 18 hop edits or refuses the range, and a key retired in this release is refused by its own message, which names its own remedy. check-changeset-no-major's import note names the files that import it. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ
1 parent d47c169 commit 3811cd1

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

‎examples/app-starter/objectstack.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default defineStack({
2929
name: 'Starter',
3030
description: 'Companies and contacts, with the platform\'s tasks and notes in the menu.',
3131
// Protocol major this package is authored against (ADR-0087).
32-
engines: { protocol: '^18' },
32+
engines: { protocol: '^19' },
3333
// A starter is taken over by the organization that installs it: an
3434
// unmanaged install copies every item into the environment, where it is
3535
// edited like anything authored in Studio. `managed` stays permitted for

‎packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export const entry: SemanticMigration = {
3333
+ 'engines.protocol range that does not admit 19. Run objectstack migrate meta --from 18 --write: it '
3434
+ 'rewrites a root defineStack manifest\'s range to \'^19\', and for a manifest composed by '
3535
+ 'composeStacks it writes nothing and lists the range left for a hand edit, so set each package '
36-
+ 'manifest to \'^19\' yourself. Then objectstack validate passes, the deployment boots without '
37-
+ 'OS_PROTOCOL_INCOMPATIBLE, and every package installs; a manifest already declaring \'^19\' loads '
38-
+ 'exactly as before.',
36+
+ 'manifest to \'^19\' yourself. Once every range admits 19, no door refuses the manifest with '
37+
+ 'OS_PROTOCOL_INCOMPATIBLE; a manifest already declaring \'^19\' passes the handshake exactly as before. '
38+
+ 'This hop edits or refuses the range and nothing else: a key retired in this release that the '
39+
+ 'metadata still carries is refused at parse by its own message, which names its own remedy.',
3940
};

‎scripts/check-changeset-no-major.mjs‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5505,10 +5505,12 @@ const argv = process.argv.slice(2);
55055505
* The importer never reached the statement after its own `import()`, and a
55065506
* caller reading the status alone cannot tell that apart from a clean import.
55075507
*
5508-
* Nothing imports this file today (every reference in `.github/**`,
5509-
* `package.json` and `scripts/**` spawns it as `node scripts/...`), so the
5510-
* guard silences no census: the only top-level statement it moves behind
5511-
* `isEntrypoint` is CLI dispatch.
5508+
* Three files import it for its exports (`check-docs-image-tag.mjs` for
5509+
* `readPre`, `check-future-spec-major.mjs` for `readProtocolLockstepInputs`,
5510+
* `pm/l1-face.mjs` for `entriesIn`), which this guard is what makes safe;
5511+
* every other reference in `.github/**`, `package.json` and `scripts/**`
5512+
* spawns it as `node scripts/...`. The guard silences no census: the only
5513+
* top-level statement it moves behind `isEntrypoint` is CLI dispatch.
55125514
*/
55135515
const invokedDirectly = isEntrypoint(import.meta.url);
55145516

0 commit comments

Comments
 (0)