Repository navigation
docs(skills): the actions rule teaches a bulk action placed at selection, in place of a list view's retired bulkActions - #38890
Conversation
…tion` A list view's `bulkActions` list was retired in protocol 19: an action that acts on many records declares `'selection'` in its own `locations`, and the object's `actionLayout.selection` orders the selection bar. The actions rule, the i18n key map and two eval cases still taught or graded the retired key. Neither priced file grows: each new clause is paid for inside its file. Claude-Session: https://claude.ai/code/session_01WGufzfcCk7a8bQdgyaxzu7 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7 Final head for review · 2026-12-01T10:07Z · zone osa-ux: Zone answer to the report's open question: A. The claim's Points to judge: (1) the ratchet file is untouched; both priced files sit at headroom 0, partly paid by dropping the location table's column padding (58 bytes, no word). (2) Three facts of the merged shape stay untaught for lack of room (a view's |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract-review-claim: session_01WGufzhGA3zoCFquQgku4pm · head 7ed0116 · 2026-12-01T10:08Z |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract reviewServed-tier: PR #38890, card #38552. Read: the card body and its four comments (triage 7253835687, unblock 7306265620, claim 7306438537, os-dev-report 7307675261), the PR body and its two comments, the four-file net diff against Why ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Nits:
Seen outside the diff, not reviewed: case 24 of the same fixture carries Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review + L2 adoption · PR #38890 (#38552) · head 7ed0116 · 2026-12-01T10:13ZL1: ACCEPT. L2 (contract-review tier, record 7307849291): PASS, no must-fix and no should-fix. N1 to N3 are nits. I adopt the record. The PR is Tier H skills, so it goes to the seat. What I checked:
For the seat:
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 席位核对ACCEPT — PR #38890 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 维护者速读
席位意见:同意落地。ACCEPT → PR #38890 comment 7307910439。 |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 2026-12-01T12:51Z · Merged at 2026-12-01T12:46Z on the maintainer's approval; |
Requested by Yibo Wang · project thread
Fixes #38552
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Protocol 19 retired a list view's
bulkActionslist (objectstack#38550): an action that acts on many records declares'selection'in its ownlocations, and the object'sactionLayout.selectionorders the selection bar. The published skills still taught the retired key, and two eval cases graded an answer on it. Text and eval fixtures only: no schema, lint rule or runtime file is touched.skills/objectstack-ui/rules/actions.mdselectionrow: many records, one run per ticked row, on the selection bar of every grid view of the object.bulkActions(selection).actionLayoutparagraph names the third arm:selectiontakes the actions placed atselection.action-no-placementsentence lists the two ways a view still places an action by name:rowActionsandbulkActionDefs.selection, declaresexecution: 'perRecord'and writes the row it is handed. The aggregate form (a view'sbulkActionDefsentry withexecution: 'aggregate') reads as before.crm_create_campaignexample declareslocations: ['selection']. The view list used to place it; without the line the example taught an action thataction-no-placementreports and no surface draws.skills/objectstack-i18n/SKILL.md_views.{view}row spells its bulk groupbulkActions.{bulkActionDefs_name}. Checked against the mergedtranslation.zod.ts: the group keeps its name, is keyed by thenameof a view'sbulkActionDefsentry, and aliases the authoring spellingbulkActionDefsonto itself. It was never the retired view key.skills/objectstack-ui/evals/views-apps-actions-pages.jsonexpected_outputsays the action is placed atselection;must_containswapsbulkActionsfor'selection';must_not_containgainsbulkActions: [.expected_outputsays the action gains'selection'in itslocationsand the view's aggregate def is removed;must_containswapsbulkActions: [for'selection';must_not_containgainsbulkActions: [.must_not_containtoken occurs in its ownexpected_output, and everymust_containtoken occurs in the bundle's markdown ('selection'in the checked example)..changeset/38552-skills-bulk-actions-selection.md:@objectstack/skillspatch.Size readings: the two priced files stay at their ceilings, and how the new text is paid for
Measured at
7ed0116cagainstorigin/main197e3ff3. Tokens are the ratchet's convention,ceil(utf8 bytes / 4), a SKILL.md's release-stamp line not priced.skills/objectstack-ui/rules/actions.mdskills/objectstack-i18n/SKILL.mdskills/objectstack-ui/evals/views-apps-actions-pages.json(eval fixture, not ratcheted)Whole bundle: the SKILL.md files together are 2475 lines before and after; ratcheted (authored) total 186955 of 186955 before and after; eval fixtures 91026 to 91043; shipped tree 292827 to 292844.
scripts/check-skills-token-ratchet.mjsis not touched: no row moves.What pays in
actions.md(the ratchet asks for deletion in the same file):crm_create_campaignbelow": the example now declareslocations: ['selection']andexecution: 'perRecord'itself;What pays in the i18n entry: the flow-step bullet no longer glosses
approvalsas "(approval)" andscreensas "(screen)"; the key map row above it already ties each key to its kind of step.Tests
Head
7ed0116c. No package source is touched, so there is no packagetestortypecheckto run; the gates below are the ones that read the changed files.Gates that read the changed files
pnpm --filter @objectstack/spec run check:skill-examples(under the verify lock, after building spec and the client packages it reads): exit 0.341 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them. This is the run that compileslocations: ['selection']in the edited example against the built spec.node scripts/check-skills-token-ratchet.mjs: exit 0.skills/objectstack-ui/rules/actions.md is 3918 tokens (ceiling 3918; headroom 0),skills/objectstack-i18n/SKILL.md is 2243 tokens (ceiling 2243; headroom 0),61 authored bundle file(s) within their ceilings.pnpm check:skill-identifier-liveness,pnpm check:skill-links,pnpm check:skill-compatibility,pnpm --filter @objectstack/spec run check:skill-docs,check:skill-refs,check:skill-served-sections,pnpm check:doc-authoring,pnpm --filter @objectstack/lint run check:doc-formula-expressions: each exit 0.pnpm --filter @objectstack/scenarios run skill-evals --dry-run --skills objectstack-ui: exit 0,objectstack-ui: 54 case(s). The reader accepts the edited fixture.check-adr-0087-registration,check-changeset-no-major,check-empty-changeset, each againstorigin/main): exit 0.Derived list and reconciliation
node scripts/pm/dispatch-gates.mjs --commandson this diff derives 51 commands. Each was run with its exit code recorded before any pipe, then reconciled:✓ dispatch-gates --ran: 51 derived famil(ies) accounted for — 50 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).NOT MEASURED: pnpm check:dual-build-cjs-loads, reason: it refuses without a dist for every package (exit 3, "Run pnpm build first"); a whole-workspace build for a text change is left to CI.check:skill-examples,check:skill-refsandcheck:skill-served-sectionsare outside the derived list and were run as well.node scripts/pm/overlap-check.mjs:VERDICT clean exit 0(merges cleanly withorigin/mainand with the one open pull that shares the i18n entry).Acceptance notes
bulkActions.git grep bulkActions skills/leaves three kinds of hit: the "Until protocol 19" line that names it as retired, the twomust_not_containtokens, and the i18n translation group (a live key). Nothing outside the three claimed files taught it.selectionarm, a view's ownbulkActionDefsand the built-in Delete sit in the bar's menu, and without the arm the defs lead the bar; (2) the bar draws these actions from two selected rows (on a list page one selected row shows that record's own actions); (3) an action placed atselectionthat declaresexecution: 'aggregate'is refused byaction-dispatch-contract-mismatch. The first costs about 77 bytes, the second about 22. Teaching them takes a ceiling raise, which is the zone's step to queue.check:skill-eval-tokensdoes not cover this fixture. That gate (underui/) scans one bundle,objectui. Its two rules (amust_containtoken is taught by the bundle; amust_not_containtoken is absent from its ownexpected_output) were applied to cases 3 and 23 by hand, with the result above.definePageinmust_not_containand also names it in itsexpected_output. It is onmaintoday and outside this card;expected_outputis not graded.Clause-②: nowith a separate narrowing-review line; the dispatch order spelled it with a narrowing arm. This body and the changeset carry the claim's line as written. With the arm the changeset would also owe an ADR-0087 disposition marker.Verification
Files to read first, by risk:
skills/objectstack-ui/rules/actions.md: the bulk bullet (the last bullet of "Visibility, Disable & Feedback") and the location table hunk. The risk is a sentence that reads as placing the action on the view.skills/objectstack-ui/evals/views-apps-actions-pages.json: the token lists of cases 3 and 23. The risk is a literal that a correct answer does not carry.skills/objectstack-i18n/SKILL.md: the_views.{view}row and the flow-step bullet that paid for it.Two-minute check:
git grep -n "bulkActions" -- skills/ | grep -v bulkActionDefsprints three lines: the "Until protocol 19" line ofactions.mdand the twomust_not_containlines of the eval fixture.Generated by Claude Code