Repository navigation
docs(skills): objectstack-ui says where os validate judges actionLayout names - #37122
Conversation
…ut names Refs issue 37057 item 1 is declared in the PR body. Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract review brief — PR #37122 @
|
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: ① Derived judgmentsPR #37122, card #37057 item 1 only (
② Semver level
③ Boundary flags
④ Design judgment
(a) The two sentences.
(b) The three example lines removed to pay for it.
One should-fix (S1), no must-fix. S1 is open on this head; its fix earns a delta review. Implemented-by: VERDICT: PASS |
…y with other cuts Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: This is a DELTA record over the earlier one on this PR (record 7144254679: PASS at head fa749f9, should-fix S1, nits N1 and N2). It judges what the one commit since then changed and re-reads the gates on the new head; everything that record judged and this one does not name again is unchanged and stands. ① Derived judgmentsPR #37122, card #37057 item 1 only (
② Semver level
The changeset's last sentence now names what the diff removes: three Add to Campaign example lines ( ③ Boundary flags
④ Design judgment
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr 席位核对 — ACCEPT · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Landing · head
State: L1 ACCEPT 7144940371 on this head; every check-run green or expected skip. Ready and auto-merge in this stroke. On MERGED, card #37057 is released with item 2 behind |
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
Refs #37057 (item 1)
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-ui/rules/actions.md, section "Button Order (actionLayout)". Before:After:
What the code does, read at
b49a264a10:validateObjectActionLayout(packages/lint/src/validate-object-action-layout.ts, docblock): "Both object positions are judged: an object's ownactionLayout, and anobjectExtensionsentry's, against the object it extends. An extension of an object this stack does not define is not judged". Its pin is the test "judges an extension against the object it extends, and skips one whose object the stack does not define".arrangedHeaderActions(ui/packages/types/src/ui-action.ts, docblock): "A name naming none ofactions... is skipped: it draws nothing, and no other action takes a pinned one's place."Paid for in the same file, no ceiling raised and
scripts/check-skills-token-ratchet.mjsnot edited. Four cuts that repeat what the file already shows are removed (107 bytes):icon(the Convert Lead block shows the key);successMessage(the Convert Lead and Reassign Lead blocks show it, and thesuccessMessage/errorMessagebullet describes it);refreshAfter: true(the Convert Lead and Add Line blocks show it; this body inserts acampaign_memberrather than writing the current record);resulton the copy-holes bullet (theresultDialogbullet above it says the dialog shows the server answer).The Convert Lead block keeps its
successMessage, byte-identical tomain: eval case 3 ofskills/objectstack-ui/evals/views-apps-actions-pages.jsonexpects it (contract review S1, record 7144254679). A grep ofskills/objectstack-ui/evals/**finds nomust_containtoken whose teaching the four cuts remove.Item 2 of the card (
skills/objectstack-data/SKILL.md) is not in this PR: that file conflicts with open PR #36158, so the card is released with item 2 behind it after this lands.Changeset:
@objectstack/skillspatch.skills readings (lines, then tokens as
check-skills-token-ratchetcounts them)b49a264a10)e799ec7699)rules/actions.md, whole fileskills/*/SKILL.mdsummedNet lines in
skills/**: -1 (5 added, 6 removed), inside the +2 budget.Tests
No code changed, so no test changed and nothing was ablated. The 47-command
dispatch-gates --commandssweep was taken atfa749f9d3b(43 exit 0; four dist-reading gates NOT MEASURED locally, exit 3, CI runs them). Rerun ate799ec7699, each exit 0:node scripts/check-skills-token-ratchet.mjs("skills/objectstack-ui/rules/actions.md is 3880 tokens (ceiling 3880; headroom 0)"),check:skill-examples("350 prose examples type-check across 3 surface(s)"),check:doc-formula-expressions,check:skill-links,check:skill-identifier-liveness,check:doc-authoring,check:nul-bytes;overlap-check: "VERDICT clean exit 0".Acceptance notes
Verification
Read first:
skills/objectstack-ui/rules/actions.md, the hunk at line 37: the risk is the new sentence claiming more or less than the rule does.Two-minute check:
node scripts/check-skills-token-ratchet.mjs, and expect therules/actions.mdline to read 3880 tokens against ceiling 3880, exit 0.Generated by Claude Code