Skip to content

docs(skills): the skills index routes a stepped single-object form to a named wizard form, and the sections ladder says New and Edit never read sections - #36625

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-36611-skills-wizard-routing-sections
Nov 23, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-36611-skills-wizard-routing-sections

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread
Part of #36611

Clause-②: no
Metadata-protocol: none
Skills-docs: updated here

维护者速读

  • 用户能看到什么变化:照着技能包写应用的 AI,想要「一个对象上的分步表单」时,会被指到「由动作打开的具名分步表单」;也不会再以为「新建 / 编辑」弹窗能靠表单分区来重新排版。
  • 为什么做:这是「内部新建和编辑表单退役」的收尾。平台已经改了,技能总目录和界面技能里还各留着一段旧说法。
  • 出错会怎样:AI 照旧文字写出的分步表单或分区不会生效。本次只改两段技能文字,撤回这一个合并就恢复原样。
  • 要你做什么:技能包属于受管文件,本单保持草稿,等席位的契约审核记录后落地;数据技能和自动化技能里的同类旧说法留给第二阶段(等另一张在途的数据技能改动先合并)。

What changes

Stage 1 of the card: the two passages that do not intersect PR #36158.

  • skills/README.md, "Cross-skill routing", the "Screen flows vs. views" bullet. Before: a stepped form over one object that never branches is "a form view, type: 'wizard'", with no door named. On main the only form views that load are a named one an action of type: 'form' opens and a public one; an object's New and Edit load none. After: the bullet names the named wizard form and the action that opens it, and says an object's own New and Edit never step because they are built from its fields and fieldGroups. The screen-flow half (branches, or several objects, is automation) is unchanged.
  • skills/objectstack-ui/rules/navigation.md, "Record Presentation", the sections bullet. Before: step 2 of the ladder read "when one surface needs a local arrangement, a section may name a declared group", in a section about a record's create / edit / detail. After: the bullet opens by saying New and Edit never read sections (linking "Form Views" in rules/list-views.md), and names what does: a named or public form, and a page's record:details or form block. The three steps of the ladder are kept. The enumerate step's example "a wizard/pane structure" becomes "a wizard's steps": pane left the section shape in spec 18.3.0, and a wizard step is the case that must enumerate fields, because group is refused there.
  • .changeset/36611-skills-wizard-routing-sections.md: @objectstack/skills patch.

No eval case teaches either passage (git grep -n -i "wizard\|sections" skills/objectstack-ui/evals at this head: one trigger prompt, one must_not_contain token, and prose about field groups), so no eval file changes.

Left for stage 2 (a second PR on this card, Blocked-by #36158, which edits all three files): skills/objectstack-data/rules/relationships.md (the pointer to the removed subforms override), showOnCreate in objectstack-data, and the same routing sentence in skills/objectstack-automation/SKILL.md line 44. Until stage 2 lands, that automation line still reads "an objectstack-ui form view, type: 'wizard'", shorter than the README now is.

Token and line readings (no ceiling is changed)

File Lines before → after Bytes before → after Tokens before → after Ceiling
skills/objectstack-ui/rules/navigation.md 191 → 191 10216 → 10216 2554 → 2554 2564 (unchanged, headroom 10 as before)
skills/README.md 146 → 148 10753 → 10893 2689 → 2724 by the same convention none: outside the ratchet's population ("population 3" in the checker's header), not inside any published skill directory
All SKILL.md files under skills/, summed 4948 → 4948
Ratcheted (authored) total 197572 → 197572 202541
Bundle total (whole shipped tree) 294087 → 294087

The new sentence in navigation.md is paid in full by cuts inside the same bullet ("in order", "when one surface needs a local arrangement", "at all", "genuinely", "at parse", "beside it", and shorter wording of the last sentence). Readings at affa89e7a9 against base ed0edb1b50.

Tests

No package source changed, so no package suite is owed. No ablation: prose only.

Local gates at affa89e7a9: the 49 commands dispatch-gates.mjs --commands derives, each run with its exit code recorded; --ran answers "49 derived famil(ies) accounted for — 47 run, 2 NOT-MEASURED". The two are check:dual-build-cjs-loads and check:lean-entry-closure (exit 3, PREREQUISITE NOT MET: they read built dist/ of packages this diff does not touch; CI decides). Among the 47: check-skills-token-ratchet exit 0, check:skill-links exit 0, check:skill-docs exit 0, check:doc-formula-expressions exit 0, check:nul-bytes exit 0.

Acceptance notes

Each taught sentence against main (ed0edb1b50):

  • New and Edit are built from the object's fields and field groups, and read no form view: ui/packages/app-shell/src/utils/recordFormFields.ts:29 (recordFormFieldNames), called by the dialog (ui/packages/app-shell/src/console/AppContent.tsx:1791), the full page (ui/packages/app-shell/src/views/RecordFormPage.tsx:296) and an action-opened create or edit (ui/packages/app-shell/src/hooks/useActionModal.tsx:289).
  • An internal form parses and steers nothing, with a warning: packages/lint/src/validate-internal-form-views.ts:36 and :91-112.
  • An action of type: 'form' opens a named form at its own page: ui/packages/core/src/actions/ActionRunner.ts:2931-2939 (executeForm), route ui/apps/console/src/App.tsx:456; packages/spec/src/ui/action.zod.ts:693 and :719.
  • That page honours wizard (a step per section) and tabbed: ui/apps/console/src/components/FormPage.tsx:2841 and :2848; type enum packages/spec/src/ui/view.zod.ts:5341-5343.
  • A named form resolves a group section: ui/apps/console/src/components/FormPage.tsx:845-857. group on a wizard step is refused: packages/spec/src/ui/view.zod.ts:5727-5737.
  • A page's record:details block takes sections with a group reference: packages/spec/src/ui/component.zod.ts:1327, :1379, :1549. The object-form and object-master-detail-form blocks take them too: :7259, :7540; resolved in ui/packages/plugin-form/src/ObjectForm.tsx:336.
  • pane is gone from both section shapes: packages/spec/src/ui/view.zod.ts:4106-4115, packages/spec/src/ui/component.zod.ts:6556-6559.

Noted, not filed: an object-form page block also accepts formType: 'wizard' (packages/spec/src/ui/component.zod.ts:7220), a second ui home for a stepped single-object form. The README bullet names only the named form, the home "Form Views" teaches; whether the routing should name the page block as well is the reviewer's call.

Verification

Read first, by risk: (1) the sections bullet in skills/objectstack-ui/rules/navigation.md, the one hunk in a ratcheted file; (2) the routing bullet in skills/README.md.

Two-minute check: node scripts/check-skills-token-ratchet.mjs, expected line "skills/objectstack-ui/rules/navigation.md is 2554 tokens (ceiling 2564; headroom 10)" and exit 0.

CI check-runs: not read at the time this body was written.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ADHkmPTDM2MxHR8cvoMVUX

…rm; 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmPTDM2MxHR8cvoMVUX
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 23, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#4 · os-steve · session_01ADHkmT4eA4YqtxfiPyLPih

Contract-review-claim: session_01ADHkmT4eA4YqtxfiPyLPih · head affa89e · 2026-11-23T04:24Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#4 · os-steve · session_01ADHkmT4eA4YqtxfiPyLPih

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: affa89e7a95770bce88e9ba76231028a75659834
Local-runs: none
Scope: skills/README.md, skills/objectstack-ui/rules/navigation.md + none
Security-touching: no

Read: card #36611 (body and its 4 comments), PR #36625 (body, 3 files, net diff against merge-base ed0edb1b50), the check-runs on the head, and the cited code on main (27895d7ff6; no file under skills/, packages/spec/src/ui, ui/packages/plugin-form, ui/packages/core/src/actions, FormPage.tsx or recordFormFields.ts differs between the merge-base and main). Security line: the only security-adjacent words in a changed hunk are "public form", named as one reader of sections; no hunk teaches sharing, permission, credential, token or authentication behaviour.

① Derived judgments

  • Accept-set: unchanged. Three files, all prose: two skill passages and one changeset. No schema, no validator, no lint rule, no eval case, no generated output. Right.
  • Public surface: the shipped text of @objectstack/skills changes in two passages. Right, and it is a correction toward main, not a new capability.
  • skills/README.md "Screen flows vs. views" now names the door: a named form view of type: 'wizard' opened by an action of type: 'form', and says an object's own New and Edit never step. Right (see ④).
  • skills/objectstack-ui/rules/navigation.md sections bullet now says who reads sections and who does not, and drops the pane example. Right (see ④).
  • Token ratchet: navigation.md is the one ratcheted file; the PR states 2554 before and after against a ceiling of 2564, with no ceiling edited (no ratchet file is in the diff). The verdict belongs to the lint lanes, see the check-run note below. skills/README.md grows by two lines and is stated to sit outside the ratchet population; not re-measured here.

Check-runs on the head at the time of reading (41 total): no run has failed. Concluded success: Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards, Lint · ESLint, Lint · PM dispatch-gates, the three scoped Lint lanes, Type Check · workspace, Type Check · debt ledger, Test UI, Dogfood Regression Gate, Live E2E UI, Plan Test Core shards, Auto Label, filter. Still in progress, so NO verdict yet: Lint · docs & code guards, Lint · repo & tooling gates, Lint · CI, release & engine gates, Type Check · source gates, Type Check · consumer gates, Build Core, Test Core (1/10) and (2/10). The skills lanes (token ratchet, skill links, skill docs) sit among the unfinished Lint lanes: this record's PASS is the contract judgment, and the adopting seat reads those conclusions on this head before it lands anything. The rest are skipped by path filter.

② Semver level

Clause-②: no — agreed. The changeset .changeset/36611-skills-wizard-routing-sections.md bumps @objectstack/skills (packages/skills/package.json) at patch, the level every sibling skill-wording changeset on main uses, and it carries Clause-②: no and Metadata-protocol: none, matching the PR body. The diff publishes corrected prose only: no key, value, default or refusal changes, and nothing an existing author wrote stops working. Patch is right. Check Changeset concluded success on this head.

③ Boundary flags

  • Dev open_questions: empty. Nothing to answer.
  • Dev flag, out of scope 1: skills/objectstack-automation/SKILL.md:44 still reads "an objectstack-ui form view, type: 'wizard'" with no door named. Confirmed at the head. It does not contradict the README (it is the shorter form of the same routing), and the claim comment 7091050497 on the card puts that file in stage 2, Blocked-by docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158. Left to stage 2 of Skills follow-up of #36455: objectstack-data still points at the removed subforms section and does not teach showOnCreate; automation and the skills README still route single-object step forms to wizard #36611; not a finding on this head.
  • Dev flag, out of scope 2: an object-form page block also takes formType: 'wizard' (packages/spec/src/ui/component.zod.ts:7220 on main), a second ui home the README bullet does not name. Answered in ④ as N1.
  • Dev deviation 1 (a classifier refusal of an empty-branch push, then the ordinary task push continued): a process matter for the seat, outside the contract faces; it changes nothing in the reviewed tree. Escalated to the adopting seat as written, not judged here.
  • Dev deviation 2 (intermediate head at 2564 tokens, final head back to 2554): only the final head is reviewed. No flag.
  • Dev deviation 3 (two dist-reading gates not measured locally): CI decides; Build Core and the Type Check gates were still running at reading time (see ①).
  • Card scope: stage 1 covers item 3's README half and item 4; items 1 and 2 and item 3's automation half stay open for stage 2, and the PR says Part of #36611, so the card stays open. The card asks for "the evals that exercise it": no eval file changes here. At the head, skills/objectstack-ui/evals/triggers.json:48 already routes a three-step create wizard to the UI skill and views-apps-actions-pages.json:186-190 already exercises "New and Edit are built from the object, no form view"; no existing case contradicts either new passage. Whether stage 2 owes a case for the named wizard form is stage 2's question.
  • SQL push-down: not applicable. No code, no query, no id materialisation, no in-app join.

④ Design judgment

skills/README.md, "Screen flows vs. views", against main:

  • "a named form view (type: 'wizard') that an action of type: 'form' opens": holds. ActionType lists form and its target is the FormView name (packages/spec/src/ui/action.zod.ts:693, :719); ActionRunner.executeForm navigates to /forms/NAME (ui/packages/core/src/actions/ActionRunner.ts:2931-2939); FormPage draws one step per section for type: 'wizard' (ui/apps/console/src/components/FormPage.tsx:2848); the form view type enum is simple | tabbed | wizard (packages/spec/src/ui/view.zod.ts:5341-5343).
  • "An object's own New and Edit never step: they are built from its fields and fieldGroups": holds. The three console hosts take their field list from recordFormFieldNames (ui/packages/app-shell/src/utils/recordFormFields.ts, called at AppContent.tsx:1791, RecordFormPage.tsx:296, useActionModal.tsx:289), whose own header says no internal form view selects, orders or groups the list; packages/lint/src/validate-internal-form-views.ts warns form-view-internal-not-loaded for the inert forms.
  • The screen-flow half is unchanged and agrees with the README's own skill table (line 51) and with skills/objectstack-automation/SKILL.md:44.
  • Agreement inside the bundle: skills/objectstack-ui/rules/list-views.md "Form Views" (lines 344-372 at the head) teaches exactly this door, so the index now routes to what the skill teaches.

skills/objectstack-ui/rules/navigation.md, "Record Presentation", sections bullet, against main:

  • "New and Edit never read them": holds, same three hosts as above. The link ./list-views.md#form-views resolves to the ## Form Views heading at the head.
  • "a named or public form ... do": holds. One FormPage serves both routes (/forms/:name and /f/:slug, ui/apps/console/src/App.tsx:348 and the internal route) and reads form.sections, resolving { group } through resolveSectionGroupReferences (FormPage.tsx:845-857).
  • "a page's record:details or form block do": holds for exactly these page blocks. record:details takes sections with a group reference (packages/spec/src/ui/component.zod.ts:1327, :1379, :1549) and its renderer resolves it (ui/packages/plugin-detail/src/renderers/record-details.tsx:897-925); object-form and object-master-detail-form take sections (component.zod.ts:7259, :7540), resolved in ui/packages/plugin-form/src/ObjectForm.tsx:336. The record DETAIL page with no page authored is not a reader of form-view sections on main (RecordDetailView.tsx and recordDetailSections.ts read the object's field groups and no form view), and the sentence does not claim it is: it says "a page's record:details ... block", the authored block. rules/record-page.md step 1 keeps teaching the derived Details sections. No overclaim.
  • Ladder step 2, "restating a group's key is refused": holds on every reader named (sectionGroupReferenceRefinement at view.zod.ts:4686, component.zod.ts:1549 and :7171). Dropping "at parse" loses nothing an author acts on.
  • Ladder step 3, "a wizard's steps" in place of "a wizard/pane structure": holds. pane left the form-view section in spec 18.3.0 (view.zod.ts:4106-4118, FORM_SECTION_PANE_RETIRED) and the page-block section too (component.zod.ts:6556-6559); group on a wizard step is refused (view.zod.ts:5726-5737), so a wizard step is the true case that must enumerate fields, and it agrees with "Form Views" ("each listing fields, never { group }"). No other file under skills/ points at a section pane (the remaining hits for the word are the gantt "left-pane" comment and unrelated prose).
  • The cuts that pay for the new sentence ("in order", "when one surface needs a local arrangement", "at all", "genuinely", "at parse", "beside it", the shorter last sentence): each is emphasis or restatement. The three steps, their order, the group-reference example, the refusal, the named-customer condition, the comment requirement and the staleness warning all survive. No teaching is lost.

Tried to break it: an action descriptor that passes its own fields or sections to useActionModal skips the object-derived layout (useActionModal.tsx:286), but that is a code-level descriptor, not a form view and not the object's New or Edit, so the sentence stands. A wizard form with one section draws stacked (FormPage.tsx:2848), consistent with "a step per section". A { group } section on a public form resolves the same as on a named form.

No must-fix, no should-fix.

N1 (nit) — skills/README.md names one ui home for a stepped single-object form, the named wizard form. An object-form page block with formType: 'wizard' is a second one on main (component.zod.ts:7220). The bullet routes to a skill and names the home that skill's "Form Views" teaches, so nothing taught is wrong. Left as an accepted deviation; stage 2 may add it if the automation line is rewritten to match.

N2 (nit) — navigation.md says "form block" without the block names (object-form, object-master-detail-form), which an author cannot search for. The token budget explains the brevity and rules/list-views.md "Master-Detail Forms" names the second block. Left as an accepted deviation.

Implemented-by: claude/issue-36611-skills-wizard-routing-sections
Reviewed-by: session_01ADHkmT4eA4YqtxfiPyLPih

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmPTDM2MxHR8cvoMVUX

席位核对

ACCEPT — PR #36625 @ affa89e7a95770bce88e9ba76231028a75659834 · card #36611 (stage 1: items 3-README and 4) · L1 by area s2-E · 2026-11-23T04:39Z

  • Shape (l1-face --pr 36625, CLEAN, 13 items): draft, base main, Part of #36611 (stage 2 — objectstack-data relationships pointer, showOnCreate in objectstack-data, automation SKILL.md — is Blocked-by docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158, so Part of is right); no other card bound; Clause-②: no · Metadata-protocol: none; @objectstack/skills patch changeset; checks at this head 28 success · 16 expected skip · 0 failed · 0 pending (skills lint lanes included); mergeable clean.
  • Diff read: skills/README.md "Screen flows vs. views" routes a single-object stepped form to a named type: 'wizard' form view an action of type: 'form' opens, and says New and Edit never step; rules/navigation.md "Record Presentation" sections ladder now says New and Edit never read sections (link to "Form Views") and names the readers (named or public form, a page's record:details or form block); the retired pane example becomes "a wizard's steps". Consistent with rules/list-views.md "Form Views" as PR docs(skills): objectstack-ui teaches New and Edit as built from the object's fields and field groups, and showOnCreate #36609 landed it.
  • Token ratchet: navigation.md 2554 → 2554 (ceiling 2564); skills/README.md is outside the ratchet population. No eval case teaches either passage.
  • Contract review: l2-review#4 record 7091606519 at this head, CONTRACT_REVIEW_TIER, VERDICT PASS, Security-touching: no, no must-fix or should-fix; nits N1 (object-form formType: 'wizard' as a second home, may ride stage 2) and N2 (block names) left as nits.
  • Accepted deviations: the dev's empty-branch push probe was refused by the session classifier and not retried; the later ordinary push carrying the first commit went through (seat judged it acceptable: a different action, not a bypass); check:dual-build-cjs-loads and check:lean-entry-closure NOT MEASURED locally (exit 3), green in CI.
  • Out of scope: none beyond stage 2. Security: none.
  • Landing: governed skills/**, low-risk arm Tier S ⇒ handed to the seat to land; card Skills follow-up of #36455: objectstack-data still points at the removed subforms section and does not teach showOnCreate; automation and the skills README still route single-object step forms to wizard #36611 stays pm:dispatched for stage 2.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

维护者速读

ACCEPT → PR #36625 comment 7091769686 · Contract review PASS → comment 7091606519 · Head-sha affa89e7a95770bce88e9ba76231028a75659834 · check-runs 28 success, 16 skipped, 0 failed · check-governed-merges --pr 36625 at this head: low-risk skills arm Tier S. Part of #36611 (step 2 waits for #36158).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants