Skip to content

docs(skills): the UI skill says a default or create form an action opens by name is not reported - #37544

Merged
os-zhuang merged 1 commit into
mainfrom
claude/project-thread-i00g76-skills
Nov 26, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/project-thread-i00g76-skills

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Part of #36798

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用界面技能写应用的 AI,不再被告知「默认表单和新建表单一律会被检查报出」;动作按名字打开的那一张不报,并且照常加载。
  • 为什么做:检查规则三天前已经改了,技能文字没跟上,AI 可能据此删掉一张还在用的表单。
  • 出错会怎样:只改一段说明文字,写错了 AI 会按错的说法写应用;撤回这次合并即可恢复原文。
  • 要你做什么:这是对外发布的技能包,需要你批准后才能合并。

What changes

skills/objectstack-ui/rules/list-views.md, "Form Views": one passage, four lines before and four after.

  • Before: a container's form, formViews.default and formViews.create "still parse and steer nothing", and os validate warns form-view-internal-not-loaded, with no exception.
  • After: the warning is stated with its exception. A form that a type: 'form' action's literal target names is not reported, and it loads as a named form.

This follows the rule as merged in PR #36793: validateInternalFormViews in packages/lint/src/validate-internal-form-views.ts skips a site whose served name equals the literal target of a type: 'form' action, and an interpolated target exempts nothing.

The parenthesis listing what an internal form no longer steers (sections, tabs, steps, subforms, defaults, modalSize) is deleted to pay for the new words. The file sat at its token ceiling with no headroom.

The card keeps this file in a pull request of its own because skills/** is a governed surface. The two docs pages and the two checklist items of the same card are in the sibling pull request on branch claude/project-thread-i00g76. This one is Part of so that neither closes the card before the other lands.

Skills size readings

Reading Before (5dbcc02) After (adb46e8)
skills/objectstack-ui/rules/list-views.md, lines 411 411
skills/objectstack-ui/rules/list-views.md, bytes 17767 17789
skills/objectstack-ui/rules/list-views.md, tokens (ratchet count) 4442 4448 (ceiling 4448)
All skills/*/SKILL.md, lines 4961 4961
Ratcheted authored bundle, tokens 199596 199602 (ceiling sum 204471)

Net lines added: 0. The order's budget was 3.

Tests

No test pins this passage. git grep for the old wording under skills/, content/docs/ and the package tests finds no other copy.

Acceptance notes

  • Read first: the one hunk in skills/objectstack-ui/rules/list-views.md. The risk is the deleted parenthesis: the skill no longer lists which keys an internal form stops steering.
  • "These load:" replaces "Two kinds of form view load:". The two kinds that follow, a named form and a public form, are unchanged.
  • The changeset carries both declaration lines. No claim comment existed when this was opened, so the two lines above are copied from the changeset, not from a claim.

Verification

Two-minute check: node scripts/check-skills-token-ratchet.mjs prints skills/objectstack-ui/rules/list-views.md is 4448 tokens (ceiling 4448; headroom 0) and exits 0.

Local gates at adb46e8: 48 derived commands, 43 exit 0, 5 exit 3 (prerequisite not met)

Derived with node scripts/pm/dispatch-gates.mjs --commands (no paths) on the committed head. Each exit code was captured before any pipe.

Exit 0: check-adr-0087-registration (and its self-test), check-changeset-no-major, check-closing-keyword-parity (and self-test), check-comment-mask-corpus, check-doc-route-spelling --advisory (and self-test), check-dts-emitted --self-test, check-empty-changeset (and self-test), check-skills-token-ratchet (and self-test), the four scripts/ci self-tests, check-governed-queue-guard --self-test, release-rehearsal-clone --self-test, release-pending-publish --self-test, check:skill-served-sections, check:adr-anchors, check:agent-test-spelling, check:changeset-gate-self-tests, check:ci-filter-parity, check:closed-ceremony-text, check:corpus-claim-drift, check:cross-package-test-inputs, check:doc-authoring, check:driver-memory-census, check:gitlink-declared, check:nul-bytes, check:pm-expected-skips, check:pm-governed-merges, check:pm-skill-id-lint, check:published-files, check:refd-timer-probe, check:role-word, check:skill-compatibility, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-links, check:watch-hint-literal.

NOT MEASURED, exit 3, reason: no package was built in this worktree and each reads a dist/. The diff is prose only, so no closure was built for them; CI runs them. check:doc-formula-expressions (lint), check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content.


Generated by Claude Code

… reported

The UI skill's Form Views passage said os validate warns
form-view-internal-not-loaded on every container form, formViews.default
and formViews.create. The rule skips one a type 'form' action's literal
target names; the passage now says so.

Claude-Session: https://claude.ai/code/session_01L6bhgXJJCTibebb55zV7AZ
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: adb46e805181188c5082af5eb19631abcd74fcef
Local-runs: none
Scope: skills/objectstack-ui/rules/list-views.md + none
Security-touching: no

Full round on PR #37544 (card #36798), rendered 2026-11-26T13:09Z by an isolated sub-agent of the seat. Inputs: the card body and its five comments, the PR body, its file list and net diff (one commit, 2 files, +13 −3), and the 44 check-runs on the head. Cited code was read on main at 81c1ae9f75. The PR base 1af67b26cd is an ancestor of it, and no file cited below moved between the two.

① Derived judgments

Accept set: unchanged, right. The diff holds no schema, no lint rule and no runtime path. The public surface it moves is one passage of the published skill file, "Form Views", three lines for three. Each claim, against the tree:

  • "still parse and steer no create or edit form": right. No record create or edit reads a form view: the FormViewDefinition docblock in ui/packages/app-shell/src/utils/recordFormNavigation.ts, and ui/packages/app-shell/src/hooks/useActionModal.tsx:276 for a create or edit that an action opens. The clause carries no condition in the new sentence, which matches the code: an action that opens the form by name changes the warning, not what New and Edit load.
  • "os validate warns form-view-internal-not-loaded unless a type: 'form' action's literal target names it": right. In packages/lint/src/validate-internal-form-views.ts, formActionTarget (lines 94 to 98) takes the target of an action whose type is form and drops one that holds a brace, and line 206 skips a site whose served name is in that set. The rule is advisory and registered for every check command (packages/lint/src/authoring-rules.ts:1882), so os validate prints it as a warning.
  • "it loads as a named form": right. ActionRunner.executeForm routes the target to /forms/NAME (ui/packages/core/src/actions/ActionRunner.ts:3039). loadInternalForm reads /meta/view/NAME with that string, and resolveInternalForm takes any item of kind form without reading a default flag (ui/apps/console/src/components/FormPage.tsx:1759 and :1870). The container expansion serves form as OBJECT.form and each formViews entry as OBJECT.key (packages/spec/src/ui/view.zod.ts:8191 and :8200). examples/app-showcase opens showcase_task.form this way from three actions.
  • "These load:" in place of "Two kinds of form view load:": right. The two definitions under it are unchanged.
  • The deleted list "(sections, tabs, steps, subforms, defaults, modalSize)": right to drop. It enumerated what an internal form no longer steers, and the clause that replaces it still covers the whole form. What the skill's own evals lean on stays in the file: dialog size and column count are derived (the bullet above the passage), a named form draws no child line items (the paragraph below it), and line items come from a parent field group (Master-Detail Forms).

Size: 411 lines before and after. The file is 17767 bytes on main and the hunk adds 22, which is 4448 tokens by the ratchet's count against the ceiling 4448 at scripts/check-skills-token-ratchet.mjs:1647. Headroom is zero, so the next edit of this file pays for its own words.

② Semver level

'@objectstack/skills': patch is right: the diff publishes corrected prose in the skills catalog (packages/skills) and nothing else. Clause-②: no is right: no accept set moves. Metadata-protocol: none is right: nothing changes in what an author can write, and none takes patch. Both lines stand line-initial, once each, in the PR body and in the changeset body, and the dispatch claim (comment 7192305558) carries the same two values. Check Changeset is success on the head.

③ Boundary flags

  • open_questions in the dev report (comment 7192270649) is empty. Nothing to answer.
  • Deviations that touch this PR, all answered. The second branch for the skills line is what the card orders ("Split it into its own PR"), and the claim names both branches. Part of instead of a closing keyword is right while the sibling PR is open; the seat closes the card. The two declaration lines copied from the changeset match the claim that was posted after the PR opened. The other two deviations (no review request, checklist items re-audited from source) belong to the seat's L1 and to the sibling PR.
  • Acceptance notes: the deleted parenthesis and the "These load:" lead are judged in ① and ④, and both hold.
  • Five gates the dev could not run locally for want of a built tree: left to the head's check-runs. All 44 are complete, 28 success and 16 skipped, none red. Of the eleven required contexts, eight are success and three are skipped by the path filter (Lint UI, Type Check UI, Build & E2E UI). I did not map each of the five gates to its job.
  • Out-of-scope finding 1 (the named-form page takes a field's width from colSpan and does not read span, by source read only): not this diff's, since the passage teaches no span. No card number for it is on the thread. Escalated to the adopting seat: file it through the filing gate, or name its carrier.
  • Out-of-scope finding 2 (form view subforms has no form-view reader while the liveness ledger grades it live): carrier named, Ledger: form view modalSize keeps live after #36425 deleted its only named reader — re-audit (enforce-or-remove) #36544. It agrees with what the skill keeps teaching, that a named form draws no child line items.
  • SQL push-down: the diff holds no query code. Nothing to flag.
  • Author: the PR's user.login is the fleet bot, so no off-relay author note is owed.

④ Design judgment

No must-fix, no should-fix.

skills/objectstack-ui/rules/list-views.md, judged against the card's scenario and the code on main. The card carries no eval prompt of its own. Its acceptance scenario is its business reason: an author who reads the skill is told that a form their action opens is dead and reported, and may delete a working form. With the new sentence that author reads that the form is not reported and loads as a named form. The scenario holds.

Tried to break it:

  • An author declares formViews.create and a form action on it in order to steer New. The sentence does not allow that reading: "steer no create or edit form" carries no condition, and the section still opens with "An object's New and Edit forms are not form views".
  • formViews.default beside an unnamed list. The list claims OBJECT.default, so the form is served as OBJECT.default_2 (view.zod.ts:8166 and :8191). An action on OBJECT.default then names the list and not the form. The rule still warns on the form, which is correct, and view-ref-form-target-kind errors on the action (packages/lint/src/lint-view-refs.ts). The rule compares the served name, and the sentence is true under that reading of "names it".
  • An interpolated target. The rule exempts nothing for it, and "literal" says so in one word.
  • The skill's own evals that involve forms (evals/views-apps-actions-pages.json: the support-case view file, the stepped invoice entry, the 42-field opportunity form). Each expected answer still follows from the file: no form view for New or Edit, an internal form parses and is not loaded, no modalSize.
  • Other copies of the old wording under skills/: none. SKILL.md trap 1 and skills/README.md agree with the new sentence.

Nits. Neither changes what an author should write:

  • N1 (nit) — the passage does not give the name a container's form is served under (OBJECT.form). The next paragraph gives OBJECT.key for formViews entries only, and "names it" follows a three-item subject, so an author cannot derive that name from the skill. os explain form-view-internal-not-loaded states it, and a wrong guess is reported by view-ref-form-target-missing or view-ref-form-target-kind. Accepted deviation: the file has no token headroom.
  • N2 (nit) — "unless" names one of the rule's two exemptions. A default or create form shared publicly (sharing.enabled: true) is not reported either (validate-internal-form-views.ts:204). The old sentence named neither, and the "A public form" paragraph below it already says such a form loads. Accepted deviation.

Neither nit is to be fixed on this head: the file is a governed face, and an edit there moves the head out from under this record.

Implemented-by: claude/project-thread-i00g76-skills
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head adb46e8 · card #36798 · 2026-11-26T13:11Z

L1 checklist

  • Shape and relation: l1-face.mjs --pr 37544 CLEAN on 13 items. At adb46e8: 28 success, 16 expected skips, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check success; mergeable_state clean. 16 changed lines.
  • Part of #36798 is right. This PR is PR-B, the governed skills/** half; PR-A docs: a default or create form an action opens by name is not reported; two checklist items re-audited #37547 (docs + checklist) is ACCEPTed and in the queue. The card keeps pm:dispatched until both land (landing rule B).
  • Scope: 2 files, both on the card: the "Form Views" passage of skills/objectstack-ui/rules/list-views.md, and the changeset (@objectstack/skills patch). Token ratchet at 4448 of 4448 with 0 net lines.
  • Sentence-by-sentence reads: the changeset says the warning now carries its exception (a type: 'form' action's literal target), and that the steer list is dropped to pay for it. That matches the hunk and validateInternalFormViews as merged in PR fix(lint): a default or create form a form action opens by name is not reported as internal #36793.
  • L2: the Contract review record 7192974019 is PASS at CONTRACT_REVIEW_TIER on this head, with no must-fix and no should-fix. Its nits N1 (the OBJECT.form served name is not spelled out) and N2 (the public-form exemption is not named) are accepted deviations, because the file has zero headroom. Adopted.
  • Governed: check-governed-merges.mjs reads Tier H (skills/**).

Tier: H. Landing: hand-off to the approver by this stroke; ⛔ the seat does not merge.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Tier H hand-off · 2026-11-26T13:12Z · head adb46e8 · approver os-zhuang

维护者速读

  • 改了什么:对外发布的界面技能(objectstack-ui)里讲表单视图的一段话。原来写的是默认表单、新建表单「一律被 os validate 报出」;现在补上例外:动作按名字打开的那一张不报,照常加载。原因是检查规则已经在 PR fix(lint): a default or create form a form action opens by name is not reported as internal #36793 改了,技能文字没跟上。
  • 影响:用这个技能写应用的 AI 读到的说明改对了,不会再因为旧说法删掉一张还在用的表单。代码和平台行为都不变。
  • 审核:席位 L1 ACCEPT 7193003303;契约审核档 L2 PASS 7192974019,没有必须改或建议改的项,两条细节小意见已接受。
  • 要你做什么:这是受管的 skills/** 面,需要你批准后才能合并。撤回这一次合并即可恢复原文。

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 26, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 26, 2026 13:13
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 4116465 Nov 26, 2026
50 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-i00g76-skills branch November 26, 2026 13:33
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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue 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.

3 participants