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).

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 23, 2026 04:41
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 9e2a4ac Nov 23, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-36611-skills-wizard-routing-sections branch November 23, 2026 05:15
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…s showOnCreate and drops the subforms pointer (objectstack-ai#36696)

<!-- claude-projects-attribution: {"github_login":"os-warren"} -->
_Requested by **Warren** · [project
thread](https://claude.ai/code/project/chan_01U5RdnAAmkSQmZbqh6FtqZ8?thread=cmsg_01U5RdnAAmkSQmZbqh6FtqZ86Lu4u71hEUFsgZYL8QN9v8)_
Fixes objectstack-ai#36628
Fixes objectstack-ai#36611

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

## 维护者速读

- 用户能看到什么变化:照技能包搭应用的
AI,给对象挑图标底色时,会照平台自己的做法按业务分组上色(人员一色、审批与工作一色……),红色只留给真正的告警,没人打开的内部对象不上色;不再被要求「同一应用里颜色不能重复」。另外
AI 会知道「新建时不问某个字段」的写法,分步表单会被指到「由动作打开的具名分步表单」。
- 为什么做:平台自己的对象已按业务家族上色(你 11-23
定稿的配色表),技能还在教相反的规则;子表单那段是「内部新建/编辑表单退役」的第二阶段收尾,第一阶段已合并。
- 出错会怎样:只改技能文字,不碰数据、接口和运行时;撤回这一个合并就恢复原样。
- 要你做什么:技能包属受管文件,需要 os-zhuang 在 GitHub
上批准;另有一张大的技能改版草稿(objectstack-ai#36158)改同几份文件,两者会有文字冲突,后合的一方要合一下。

## What changes

One PR for two cards in the same files, by the seat's dispatch.

**objectstack-ai#36628, object colour (`skills/objectstack-data`).**
- `SKILL.md`, the `color` row of the object property table. Before:
"Give every object one; avoid repeats in one app". With nine palette
names any app past nine objects must repeat one, and the platform's own
objects are coloured by business family (PR objectstack-ai#36605). After: group the
app's objects into a few business families, one palette name each, as
the platform's own objects do (people `blue`, security `purple`,
approvals and work `orange`, messaging `pink`, integrations `teal`,
reference data and finance `green`, audit and settings `amber`); `red`
only for an object that is an alert; an object nobody opens gets none
(it draws the default `gray`). No card ids in the text.
- `references/examples-objects.md`, Quick-Start Template: the
`support_case` object declares `color: 'orange'` (work) beside its
`icon`.
- Evals: no case in `skills/objectstack-data/evals/` mentions `color`;
the object-authoring cases (ids 1 and the Chinese-labels case) ask for
`icon` and say nothing about colour, so they agree with the new guidance
and are unchanged.

**objectstack-ai#36611, stage 2 (stage 1 was PR objectstack-ai#36625, merged).**
1. `skills/objectstack-data/rules/relationships.md`: the pointer "The
rendering side, `subforms` overrides included: objectstack-ui →
Master-Detail Forms" drops the `subforms` clause. objectstack-ui's Form
Views now says a container's `subforms` steer nothing.
2. `skills/objectstack-data/SKILL.md`, Conditional Field Rules: a bullet
teaching `showOnCreate: false` (off every create surface; edit, the
record page and lists keep it; refused beside `required: true`). The
section's opening list of where field rules apply now reads "New and
Edit, named and public forms, inline master-detail grids, API writes"
instead of naming "default forms, Studio-authored forms".
3. `skills/objectstack-automation/SKILL.md`, after the Flow Types table:
a stepped form over one object that never branches is "an objectstack-ui
named form view (`type: 'wizard'`) a `type: 'form'` action opens",
matching `skills/README.md` since objectstack-ai#36625.
- Evals:
`skills/objectstack-automation/evals/flows-triggers-approvals.json` case
4 (a branching onboarding wizard is a `screen` flow, `must_not_contain:
"type: 'wizard'"`) and the trigger case still hold; no data eval teaches
`subforms` or `showOnCreate`. Unchanged.

- `.changeset/36628-36611-skills-object-colour-create-forms.md`:
`@objectstack/skills` patch.

### Paid for in the same files (no ceiling changes)

| File | Tokens before → after | Ceiling |
|:--|:--|:--|
| `skills/objectstack-data/SKILL.md` | 6710 → 6706 | 6710 |
| `skills/objectstack-automation/SKILL.md` | 7043 → 7045 | 7045 |
| `skills/objectstack-data/references/examples-objects.md` | 1719 → 1724
| 1728 |
| `skills/objectstack-data/rules/relationships.md` | 4188 → 4180 | 4203
|

Cuts that pay for the new text, each a restatement or a detail kept
elsewhere:
- data `SKILL.md`: `namespace`, `titleFormat`, `displayNameField` and
`enable` rows shortened (the `titleFormat` row keeps its refusal and
lint id and points to `nameField`, whose row carries the composite-title
rule; `enable` points to the next section, which lists the flags); the
`user` clause of Field Type Selection (the bullet below it says the
same; "Three to get right" becomes "Two"); the `multiple: true` note's
"≠ junction object … array of ids" (the table rows above say both);
"composite indexes" in the indexing pointer (the example above shows
one); the lifecycle class list in the Quick Reference line (in
`rules/lifecycle.md`); "`conditionalRequired` … REMOVED in protocol 17"
shortened to "the removed alias is a parse error".
- automation `SKILL.md`: "Interactive —" and "automatically" in two Flow
Types rows.

## Why

objectstack-ai#36628: the skill taught the opposite of the platform's approved family
table, and gave no reason to pick one hue over another. objectstack-ai#36611: the data
and automation skills still pointed agents at retired create/edit form
overrides and routed single-object step forms to a wizard with no door
named.

## Verification

Each taught sentence against `main` (`115d38788`):
- Palette names: `packages/spec/src/data/object-icon.ts:31`
(`OBJECT_COLORS`); default `gray` when absent: the `color` row's default
column, unchanged.
- Family colours on the platform's own objects: e.g.
`packages/platform-objects/src/identity/sys-user.object.ts:104`
(`blue`),
`packages/platform-objects/src/audit/sys-notification.object.ts:33`
(`pink`); no platform object declares `red`.
- `showOnCreate`: `packages/spec/src/data/field.zod.ts:2934` (meaning)
and `:3263` (refused beside `required: true`).
- Named wizard form an action opens; container `subforms` inert:
`skills/objectstack-ui/rules/list-views.md` § Form Views (code readings
in PR objectstack-ai#36625's Acceptance notes).

Local gates: see the Tests section below.

## Tests

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

Local gates at `b6b84c501` (tree identical to `a2598f51`), against base
`115d38788`: the 51 commands `dispatch-gates.mjs --commands` derives,
each run with its exit code captured before any pipe. **46 exit 0**,
among them `check-skills-token-ratchet` (and `--self-test`),
`check:skill-links`, `check:skill-docs`, `check:skill-refs`,
`check:skill-served-sections`, `check:skill-identifier-liveness`,
`check:skill-compatibility`, `check:corpus-claim-drift`,
`check:nul-bytes`. **5 NOT MEASURED** (exit 3, PREREQUISITE NOT MET:
each reads built `dist/` of packages this diff does not touch, and no
workspace build was run for a prose diff; CI decides):
`check:doc-formula-expressions` (`@objectstack/lint`),
`check:dts-closure`, `check:dual-build-cjs-loads`,
`check:lean-entry-closure`, `check:sourcemap-no-sources-content`. One
`os:check` block changed (the Quick-Start Template gains `color:
'orange'`, a member of `OBJECT_COLORS`); `check:skill-examples` is not
among the derived commands and needs client builds, so it is NOT
MEASURED locally; CI decides.

## Acceptance notes

- Overlap: `scripts/pm/overlap-check.mjs` merges cleanly with `main` and
with objectstack-ai#35129, and **conflicts with objectstack-ai#36158** (draft, router rewrite of the
same two `SKILL.md` files, last pushed 2026-11-21, waiting on a
maintainer decision). objectstack-ai#36611's triage asked to land after objectstack-ai#36158 if both
are open; this PR does not wait on it while drafting. Whichever lands
second carries the merge: the changes here are a handful of lines.
- The model-tier gate reads MANDATORY `claude-fable-5-2` for
`skills/**`. This thread ran on Opus; the seat decides whether a Fable
pass is owed before landing.

## Human Minimum

- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(not touched)
- [x] 2. Every name I added uses the casing for its kind.
- [x] 3. No formatter ran; `pnpm lint` passes.
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request. (two cards in the same files, by the seat's dispatch)
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset.
- [x] 6. `packages/spec` touched: n/a.
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English. (the 维护者速读 block is
the maintainer's brief, as on other fleet PRs)
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.

https://claude.ai/code/session_01JQwxba91GQhJ1mvAZFftiw

---
_Generated by [Claude Code](https://claude.ai/code)_

Co-authored-by: Claude <noreply@anthropic.com>
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