Repository navigation
feat(spec)!: action locations say what an action acts on - #37929
objectstack-fleet[bot] wants to merge 10 commits into
Conversation
…sion, codemod pass Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
…amples, docs Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
…xpectations Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
… sentence, test fixes Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
…dited test files Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
… too Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
Keeps both protocol-19 step sentences in registry.ts.template, moves the new main declarations and the liveness evidence to the acted-on words, and regenerates the references. Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 10 package(s): 39 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 11 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 191 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 66509204cdb4bd6bcc55e2a41782fee20cae2a68 && git checkout 66509204cdb4bd6bcc55e2a41782fee20cae2a68
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 8d34c4404f951410083a6caebd6ad8003ea3423d a0d5b846e3d1a362b8d30ed26b47f909e96291d8 && git checkout -B drift-repro 8d34c4404f951410083a6caebd6ad8003ea3423d && git merge --no-ff a0d5b846e3d1a362b8d30ed26b47f909e96291d8
node scripts/docs-audit/affected-docs.mjs --json 8d34c4404f951410083a6caebd6ad8003ea3423d
|
…n location labels The action inspector's location options are now Record · page and rows / Record · page; the action preview draws its ⋯ frame for a folded record page action, so the ⋯ wording is pinned on a folded fixture. Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 0ada605 · 2026-11-27T20:06Z L1-a (the seat's L1 thread) runs the isolated |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: ① Derived judgmentsInputs: card #36495 with its five comments, PR #37929 body and file list, the net diff
② Semver level
③ Boundary flags
④ Design judgmentThe narrowing itself holds: it is a respelling with a migration, not a capability taken away. A grep for each retired word over Break attempts that held, main readers against head readers:
S1 (should-fix) — A fourth non-lossless case is converted silently. On main S2 (should-fix) — N1 (nit) — At rest, two TODO shapes draw nothing on a 19 runtime until rewritten by hand: an action left as N2 (nit) — The toolbar TODO also fires when the action already carries N3 (nit) — Studio's N4 (nit) — Wording. The enum refusal on a block's N5 (nit) — Changeset prose. "The packages listed as N6 (nit) — Out of scope, N7 (nit) — Out of scope, HotCRM and N8 (nit) — Body staleness. The PR body still says two derived gates are red until #37895 PR 1 lands; PR 1 (#37947) is on main and both gates are green on this head. The size line reads 417 files, +2308/−1624; the head is 420 files, +2322/−1631. The body names only Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 The filled brief the record above (7227370865) was rendered from (L1-a, isolated Contract review brief — PR #37929 @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1 REWORK at
Owed before ACCEPT.
Nits worth taking in the same push (prose faces only, unless you choose otherwise):
Follow-ups for the seat (not this PR).
Each needs a card. After the fix. If S1 goes by (a), I want a new green head, a same-reviewer delta on it, and the dogfood battery re-pinned to that head. If S1 goes by (b) and S2 is prose only, the head may still move for the changeset. Any new head owes the delta and a re-pinned dogfood reading. Tier H on landing (narrowing, class (c) size). |
…thored fold An action at `record_header` with `component: 'action:menu'` was folded into the record page header's ⋯ menu and drawn as a button by a `record:quick_actions` bar at `record_header`. At `record_page` the fold is one state for the whole page, so the conversion now leaves it as stored with a TODO, pinned with an ablation. A ⋯-only toolbar action that already carries `action:menu` is rewritten losslessly instead of reported. The changeset declares `Clause-②: yes (narrowing)` with the widened members, and the semantic entry, the location refusal and the `record_section` advice say what a site left as stored draws and how the fold is kept. Claude-Session: https://claude.ai/code/session_01L9qic11optJUat6U8X67jY Co-authored-by: Claude <noreply@anthropic.com>
Requested by Tesla · project thread
Part of #36495
What changes
An action's
locationsnow say what the action acts on, not the part of the page it sits in.ACTION_LOCATIONSislist,record,record_page,record_row,record_related,record_section. The page-part wordslist_toolbar,list_item,record_headerandrecord_moreare retired.recordis new: the action acts on one record, so it is drawn on the record page's header and in each list row's menu.record_moreused to say, is the action'scomponent: 'action:menu'.actionLayout.Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Skills-docs: follow-up #37895
A replacement with a registered conversion, so
yes (narrowing)as on main's precedents (.changeset/pre/37086-define-metadata-form-rename.md,.changeset/pre/37304-knowledge-source-governed-type.md). Narrowed: the four retired words are refused wherever a location is read. Widened in the same change:list,record,record_pageandrecord_row, at the same positions;@object-ui/typesexportactionFoldedIntoMenu;@object-ui/i18nStudio keys for the location labels (en, zh), replacing the eight keys of the retired words.ADR-0087 conversion
action-locations-acted-on(lossless)FROM → TO. Each action is drawn in exactly the places it was drawn before:
list_toolbar→listlist_item→record_rowrecord_header/record_more→record_pagerecord_headerorrecord_morebesidelist_item→recordrecord_morewithoutrecord_header→record_page+component: 'action:menu'location(record:quick_actions,action:group,action:bar) is mapped the same way.The conversion is retired from the load path from day one, as every protocol-19 entry is. An old word is refused at authoring, and the refusal names the word to write instead. Stored items, built artifacts and
os migrate meta --from 18replay the conversion. It leaves a TODO and changes nothing in four cases that have no lossless rewrite:record_more-only action that is also onlist_toolbar, withoutcomponent: 'action:menu'already (with it, the rewrite is lossless); there are 0 in this reporecord_headerwith an authoredcomponent: 'action:menu': the header folded it into its ⋯ while arecord:quick_actionsbar atrecord_headerdrew it as a button, andrecord_pagehas one state for both; 0 in objectstack and HotCRM. Pinned inpackages/spec/src/conversions/action-locations-acted-on.test.ts; removing the TODO turns 3 of its cases redlocationisrecord_moreaction:groupatrecord_headerwith arecord_more-only memberA site left as stored keeps its old word, which a protocol-19 runtime matches to no surface: that action or block is drawn nowhere until it is rewritten by hand.
The semantic entry
action-locations-page-parts-retiredcarries the step into the protocol-19 upgrade guide.Readers
@object-ui/types:actionRendersAtreadsrecordas coveringrecord_pageandrecord_row.actionFoldedIntoMenutells whether an action is folded into the ⋯.arrangedHeaderActionspins and unpins throughcomponent.page:headersends every folded action to its ⋯. Every otherrecord_pageaction takes the inline budget.record:quick_actionsatrecord_pageleaves folded actions out.recordas a row action.isRecordScopedAction,requiresRecord) acceptrecord.record:quick_actionslocation dropdown offerrecord.packages/**,examples/**andui/**, pluscontent/docs/**, use the new words. The generated references,sdui.manifest.jsonand the component reference pages are regenerated.Not moved
skills/**teaching. It is Blocked-by this card.check:skill-examplesandcheck:skill-served-sectionsare green.docs/qa/**keeps the old words; it is outside the card's file surface. The recorded buildsdocs/qa/scenarios/builds/travel_expense.jsonandorder_to_cash.jsondeclareengines.protocol: ^19and are replayed through the conversion. The checklist's scratch bodies sent to the save door are refused now; the seat files that follow-up.Size
421 files, +2478/−1631 (4109 changed lines). This is over 3000, so it is a class (c) landing.
🤖 Generated with Claude Code
https://claude.ai/code/session_01L9qic11optJUat6U8X67jY