From 9685aafa53cdd9afc80155d29c5e02f231d023a6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 03:53:08 +0000 Subject: [PATCH 1/2] docs(skills): route a stepped single-object form to a named wizard form; the sections ladder says New and Edit never read sections The skills index sent a stepped form over one object to a form view of type wizard with no door named; only a named form an action of type form opens (or a public form) loads one. The UI skill's sections ladder read as if a record's create and edit could be arranged by sections. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01ADHkmPTDM2MxHR8cvoMVUX --- .../36611-skills-wizard-routing-sections.md | 10 ++++++++++ skills/README.md | 6 ++++-- skills/objectstack-ui/rules/navigation.md | 19 ++++++++++--------- 3 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 .changeset/36611-skills-wizard-routing-sections.md diff --git a/.changeset/36611-skills-wizard-routing-sections.md b/.changeset/36611-skills-wizard-routing-sections.md new file mode 100644 index 00000000000..564401c91ce --- /dev/null +++ b/.changeset/36611-skills-wizard-routing-sections.md @@ -0,0 +1,10 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the skills index routes a stepped single-object form to a named wizard form an action opens, and the UI skill's `sections` ladder says New and Edit never read sections + +Clause-②: no +Metadata-protocol: none + +Two passages still taught what the Console's create and edit surfaces stopped doing. `skills/README.md`, "Cross-skill routing": a stepped form over one object that never branches is a named form view (`type: 'wizard'`) that an action of `type: 'form'` opens; an object's own New and Edit never step, because they are built from its fields and `fieldGroups`. `skills/objectstack-ui/rules/navigation.md`, "Record Presentation": the `sections` ladder now says where sections are read (a named or public form, and a page's `record:details` or form block) and that New and Edit never read them, with a link to "Form Views". The ladder's retired `pane` example is gone; a wizard's steps are the example of sections that must enumerate fields. No metadata shape changes. diff --git a/skills/README.md b/skills/README.md index 94cced8eee3..4e2f52b59a5 100644 --- a/skills/README.md +++ b/skills/README.md @@ -122,8 +122,10 @@ A few common decision points where the right skill isn't obvious: (`beforeInsert`, etc.) live in **objectstack-data**; cross-record orchestration, approvals, and scheduled work live in **objectstack-automation**. - **Screen flows vs. views** — a stepped form over one object that never branches - is **ui** (a form view, `type: 'wizard'`); a screen flow that branches, or steps - across several objects, is **automation**. Static record / list / dashboard surfaces are **ui**. + is **ui**: a named form view (`type: 'wizard'`) that an action of `type: 'form'` + opens. An object's own New and Edit never step: they are built from its fields + and `fieldGroups`. A screen flow that branches, or steps across several + objects, is **automation**. Static record / list / dashboard surfaces are **ui**. - **Any CEL expression** — load **objectstack-formula** alongside the host skill (data validations, automation guards, UI visibility). - **Kernel / plugin events vs. data lifecycle** — `PluginContext` lifecycle and diff --git a/skills/objectstack-ui/rules/navigation.md b/skills/objectstack-ui/rules/navigation.md index 328f4d8cd56..d9adac6e1bd 100644 --- a/skills/objectstack-ui/rules/navigation.md +++ b/skills/objectstack-ui/rules/navigation.md @@ -179,13 +179,14 @@ at runtime from the client viewport, because an author - **Column count.** Not authored. The form grid follows its **real rendered width** via container queries — the same form is 1 column in a narrow drawer and up to 4 on a wide page. Author *grouping* with `fieldGroups`. -- **`sections` are the escape hatch — reach for them last.** The ladder, in - order: (1) **derive** — declare `fieldGroups` and author no - `sections` at all; (2) **reference** — when one surface needs a local - arrangement, a section may name a declared group, `{ group: 'contact_info' }`, +- **`sections` are the escape hatch — reach for them last.** New and Edit + never read them ([Form Views](./list-views.md#form-views)): they arrange a + named or public form and a page's `record:details` or form block. The ladder: + (1) **derive** — declare `fieldGroups` and author no `sections`; + (2) **reference** — a section may name a declared group, `{ group: 'contact_info' }`, and inherits its members, label and presentation (restating a key the group - declares is refused at parse); (3) **enumerate** — `{ label, fields: [...] }` - only for a named-customer requirement a group reference genuinely cannot - express (a cross-group entry combination, a wizard/pane structure), with that - reason in a comment beside it. A hand-enumerated section re-copies membership - the object already owns and goes stale on the next field added. + declares is refused); (3) **enumerate** — `{ label, fields: [...] }` + only for a named-customer requirement a group reference cannot + express (a cross-group combination, a wizard's steps), with the + reason in a comment. An enumerated section copies membership + the object owns and goes stale on the next field added. From affa89e7a95770bce88e9ba76231028a75659834 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 04:08:59 +0000 Subject: [PATCH 2/2] docs(skills): pay the sections ladder's new sentence in full with same-file cuts Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01ADHkmPTDM2MxHR8cvoMVUX --- skills/objectstack-ui/rules/navigation.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/skills/objectstack-ui/rules/navigation.md b/skills/objectstack-ui/rules/navigation.md index d9adac6e1bd..1bb5ec2deb3 100644 --- a/skills/objectstack-ui/rules/navigation.md +++ b/skills/objectstack-ui/rules/navigation.md @@ -180,13 +180,12 @@ at runtime from the client viewport, because an author via container queries — the same form is 1 column in a narrow drawer and up to 4 on a wide page. Author *grouping* with `fieldGroups`. - **`sections` are the escape hatch — reach for them last.** New and Edit - never read them ([Form Views](./list-views.md#form-views)): they arrange a - named or public form and a page's `record:details` or form block. The ladder: - (1) **derive** — declare `fieldGroups` and author no `sections`; - (2) **reference** — a section may name a declared group, `{ group: 'contact_info' }`, - and inherits its members, label and presentation (restating a key the group - declares is refused); (3) **enumerate** — `{ label, fields: [...] }` - only for a named-customer requirement a group reference cannot - express (a cross-group combination, a wizard's steps), with the - reason in a comment. An enumerated section copies membership - the object owns and goes stale on the next field added. + never read them ([Form Views](./list-views.md#form-views)); a named or + public form and a page's `record:details` or form block do. The ladder: + (1) **derive** — declare `fieldGroups`, author no `sections`; + (2) **reference** — a section names a declared group, `{ group: 'contact_info' }`, + inheriting its members, label and presentation (restating a group's key is + refused); (3) **enumerate** — `{ label, fields: [...] }` only for a + named-customer requirement a group reference cannot express (a cross-group + combination, a wizard's steps), with the reason in a comment. An enumerated + section copies membership the object owns and goes stale on the next field.