Repository navigation
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
Conversation
…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
…e-file cuts Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmPTDM2MxHR8cvoMVUX
|
l2-review#4 · os-steve · session_01ADHkmT4eA4YqtxfiPyLPih Contract-review-claim: session_01ADHkmT4eA4YqtxfiPyLPih · head affa89e · 2026-11-23T04:24Z |
|
l2-review#4 · os-steve · session_01ADHkmT4eA4YqtxfiPyLPih Contract reviewServed-tier: Read: card #36611 (body and its 4 comments), PR #36625 (body, 3 files, net diff against merge-base ① Derived judgments
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 levelClause-②: no — agreed. The changeset ③ Boundary flags
④ Design judgment
Tried to break it: an action descriptor that passes its own No must-fix, no should-fix. N1 (nit) — N2 (nit) — Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-steve · session_01ADHkmPTDM2MxHR8cvoMVUX 席位核对ACCEPT — PR #36625 @
|
|
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY 维护者速读
ACCEPT → PR #36625 comment 7091769686 · Contract review PASS → comment 7091606519 · Head-sha |
…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>
Requested by Steve · project thread
Part of #36611
Clause-②: no
Metadata-protocol: none
Skills-docs: updated here
维护者速读
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. Onmainthe only form views that load are a named one an action oftype: '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 andfieldGroups. The screen-flow half (branches, or several objects, is automation) is unchanged.skills/objectstack-ui/rules/navigation.md, "Record Presentation", thesectionsbullet. 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 readsections(linking "Form Views" inrules/list-views.md), and names what does: a named or public form, and a page'srecord:detailsor form block. The three steps of the ladder are kept. The enumerate step's example "a wizard/pane structure" becomes "a wizard's steps":paneleft the section shape in spec 18.3.0, and a wizard step is the case that must enumeratefields, becausegroupis refused there..changeset/36611-skills-wizard-routing-sections.md:@objectstack/skillspatch.No eval case teaches either passage (
git grep -n -i "wizard\|sections" skills/objectstack-ui/evalsat this head: one trigger prompt, onemust_not_containtoken, 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),showOnCreatein objectstack-data, and the same routing sentence inskills/objectstack-automation/SKILL.mdline 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)
skills/objectstack-ui/rules/navigation.mdskills/README.mdSKILL.mdfiles underskills/, summedThe new sentence in
navigation.mdis 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 ataffa89e7a9against baseed0edb1b50.Tests
No package source changed, so no package suite is owed. No ablation: prose only.
Local gates at
affa89e7a9: the 49 commandsdispatch-gates.mjs --commandsderives, each run with its exit code recorded;--rananswers "49 derived famil(ies) accounted for — 47 run, 2 NOT-MEASURED". The two arecheck:dual-build-cjs-loadsandcheck:lean-entry-closure(exit 3, PREREQUISITE NOT MET: they read builtdist/of packages this diff does not touch; CI decides). Among the 47:check-skills-token-ratchetexit 0,check:skill-linksexit 0,check:skill-docsexit 0,check:doc-formula-expressionsexit 0,check:nul-bytesexit 0.Acceptance notes
Each taught sentence against
main(ed0edb1b50):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).packages/lint/src/validate-internal-form-views.ts:36and:91-112.type: 'form'opens a named form at its own page:ui/packages/core/src/actions/ActionRunner.ts:2931-2939(executeForm), routeui/apps/console/src/App.tsx:456;packages/spec/src/ui/action.zod.ts:693and:719.wizard(a step per section) andtabbed:ui/apps/console/src/components/FormPage.tsx:2841and:2848; type enumpackages/spec/src/ui/view.zod.ts:5341-5343.groupsection:ui/apps/console/src/components/FormPage.tsx:845-857.groupon a wizard step is refused:packages/spec/src/ui/view.zod.ts:5727-5737.record:detailsblock takessectionswith agroupreference:packages/spec/src/ui/component.zod.ts:1327,:1379,:1549. Theobject-formandobject-master-detail-formblocks take them too::7259,:7540; resolved inui/packages/plugin-form/src/ObjectForm.tsx:336.paneis 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-formpage block also acceptsformType: '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
sectionsbullet inskills/objectstack-ui/rules/navigation.md, the one hunk in a ratcheted file; (2) the routing bullet inskills/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