From 05733de06a7204c65110ea1e2c2e5b88addaa0e2 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 2 Oct 2026 11:36:38 +0000 Subject: [PATCH] docs(skills): the upgrade skill's v17-canonical Lead declares its select options `FieldSchema` now refuses a `select` / `radio` with neither a non-empty `options` list nor a `picklist` reference, so the "v17-canonical shapes, compiled" block in the objectstack-upgrade skill was teaching a shape the spec rejects at parse while `check:skill-examples` (a type check) stayed green. The `status` field gains a two-entry `options` list; the section's lead sentence is narrowed to what the gate actually checks, which pays for the addition under the file's token ceiling (1188 -> 1195 of 1197). Claude-Session: https://claude.ai/code/session_01FNKm1SmPpuJASnbjxWGtsJ Co-authored-by: Claude --- skills/objectstack-upgrade/references/examples-upgrade.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skills/objectstack-upgrade/references/examples-upgrade.md b/skills/objectstack-upgrade/references/examples-upgrade.md index 6ba478e55f6..840e17708e1 100644 --- a/skills/objectstack-upgrade/references/examples-upgrade.md +++ b/skills/objectstack-upgrade/references/examples-upgrade.md @@ -86,8 +86,7 @@ _N sites, M conversions. Ported into sources from `os migrate meta --out`._ ## The v17-canonical shapes, compiled What the protocol-16 shapes in this skill's examples look like after the -upgrade. This block is type-checked against the published spec, so it cannot rot -into teaching a shape that no longer compiles: +upgrade. This block is type-checked against the published spec: ```typescript @@ -102,7 +101,8 @@ export const Lead = ObjectSchema.create({ label: 'Lead', fields: { name: { type: 'text', required: true, storage: { notNull: true } }, - status: { type: 'select', required: true, storage: { notNull: true } }, + status: { type: 'select', required: true, storage: { notNull: true }, + options: [{ label: 'New', value: 'new' }, { label: 'Qualified', value: 'qualified' }] }, due_date: { type: 'date', requiredWhen: 'record.stage == "closed"' }, notes: { type: 'textarea' }, },