Skip to content
Draft
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
10 changes: 10 additions & 0 deletions .changeset/37229-skills-protocol-19.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion skills/objectstack-platform/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
} });
```

Expand Down
4 changes: 2 additions & 2 deletions skills/objectstack-platform/evals/config-plugins-ops.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion skills/objectstack-upgrade/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading