diff --git a/.changeset/37229-skills-protocol-19.md b/.changeset/37229-skills-protocol-19.md new file mode 100644 index 00000000000..128cd77672a --- /dev/null +++ b/.changeset/37229-skills-protocol-19.md @@ -0,0 +1,10 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the objectstack-platform stack-config example declares `engines: { protocol: '^19' }`, the major the 19.x boot handshake accepts + +Clause-②: no +Metadata-protocol: none + +`PROTOCOL_VERSION` moves to `19.0.0`, and a 19 runtime refuses a manifest that declares `'^18'` at boot (`OS_PROTOCOL_INCOMPATIBLE`). The `objectstack-platform` `defineStack` example, the eval that pins it (`evals/config-plugins-ops.json`, prompt and expected output together) and the `objectstack-upgrade` sentence that says what every scaffold and example writes now say `'^19'`. The upgrade skill's worked examples (`'^17'` → `--from 17`, the `--to 18` acceptance replay of the last ported hop) are unchanged: no conversion is registered at step 19, so the chain an author replays still ends at 18. diff --git a/skills/objectstack-platform/SKILL.md b/skills/objectstack-platform/SKILL.md index d40bf7cd86d..15bff12b3b6 100644 --- a/skills/objectstack-platform/SKILL.md +++ b/skills/objectstack-platform/SKILL.md @@ -108,7 +108,7 @@ export default defineStack({ manifest: { type: 'app', // app | plugin | driver | module | ... name: 'Acme CRM', // Human-readable display name description: 'CRM system', // Optional - engines: { protocol: '^18' }, + engines: { protocol: '^19' }, } }); ``` diff --git a/skills/objectstack-platform/evals/config-plugins-ops.json b/skills/objectstack-platform/evals/config-plugins-ops.json index d2929a29e67..bdbacba6744 100644 --- a/skills/objectstack-platform/evals/config-plugins-ops.json +++ b/skills/objectstack-platform/evals/config-plugins-ops.json @@ -3,8 +3,8 @@ "evals": [ { "id": 1, - "prompt": "Write `objectstack.config.ts` for our CRM app: objects, views and flows under src/, namespace `crm`, protocol 18. None of the project's files are in this directory: write the file in your answer.", - "expected_output": "`defineStack` with a `manifest` of `id`, `version`, `type: 'app'`, `name`, `namespace: 'crm'`, `engines: { protocol: '^18' }`; barrel imports, `objects: Object.values(objects)` (likewise `views` / `flows`); prefixed object names (`crm_account`), no object-level `namespace`, no `tableName`; no driver in `plugins:` (the CLI resolves it); no `workflows` / `approvals` keys (refused).", + "prompt": "Write `objectstack.config.ts` for our CRM app: objects, views and flows under src/, namespace `crm`, protocol 19. None of the project's files are in this directory: write the file in your answer.", + "expected_output": "`defineStack` with a `manifest` of `id`, `version`, `type: 'app'`, `name`, `namespace: 'crm'`, `engines: { protocol: '^19' }`; barrel imports, `objects: Object.values(objects)` (likewise `views` / `flows`); prefixed object names (`crm_account`), no object-level `namespace`, no `tableName`; no driver in `plugins:` (the CLI resolves it); no `workflows` / `approvals` keys (refused).", "files": [], "assertions": { "must_contain": [ diff --git a/skills/objectstack-upgrade/SKILL.md b/skills/objectstack-upgrade/SKILL.md index 47b0a6dd733..b39d35c8509 100644 --- a/skills/objectstack-upgrade/SKILL.md +++ b/skills/objectstack-upgrade/SKILL.md @@ -86,7 +86,7 @@ one installed. Three sources, in order of authority: 1. **`manifest.engines.protocol`** in the stack config — the declared answer, checked by the boot handshake. It is a **range**, not a version: every - scaffold and example writes the caret form (`engines: { protocol: '^18' }`), + scaffold and example writes the caret form (`engines: { protocol: '^19' }`), and an exact `'16.0.0'` is only a range of one. Take the major it *targets* — the floor: `'^17'` → `--from 17`, `'>=15 <18'` → `--from 15`, never the upper bound.