Skip to content

docs(skills): objectstack-ui record page says a full page is drawn on the desktop full page only; record_section actions also list record_more (#36179) - #36196

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-g1rp28
Nov 21, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-g1rp28

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

repo:objectstack#1 · os-sales · session_01L6bhgViqXNX3ru3BVxMD1k

Fixes #36179

Claim: issuecomment 7070212796 on #36179 (branch claude/project-thread-g1rp28).

Premise (3 lines). (1) Since #36150 (PR #36174, merged 1208cc8) an authored kind: 'full' record page is drawn on the desktop full page only; a phone and the drawer draw the standard page, which draws no record_section action (ui/packages/app-shell/src/views/recordPageSurface.ts, authoredRecordPageApplies). (2) skills/objectstack-ui/rules/record-page.md steps 4 and 5 still teach the full page as drawn wherever the record opens, with no record_more advice. (3) This PR fixes those two steps only, skills wording only, paid for inside the same file; no other skills file or eval asserts the old behaviour.

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户/开发者能看到什么变化:照着界面技能写自定义记录页(kind: 'full')的 AI 和开发者,现在会被告知这种页只在电脑整页生效,手机和右侧抽屉显示平台标准页;放在页面区块里的动作(record_section)要在手机和抽屉里出现,必须同时放进「⋯」(record_more)。以前照技能写,动作在手机和抽屉里会消失。
  • 风险:只改对外技能的文字和一个 changeset,不动运行时。写错的话作者拿到的仍是不准的说明,回退这个 PR 即可。
  • 代价:技能文件不变长(同文件里删了几处重复和快捷键说明来付),token 上限不动。
  • 要你做什么:无。

What changes

skills/objectstack-ui/rules/record-page.md (published catalog), 3944 → 3954 bytes, 989 tokens against its ceiling of 991:

  • Step 4 title: "kind: 'full' is the escape hatch, on the desktop full page." Body adds: a phone and the drawer draw the standard page (steps 1–3); no key keeps a full page there; only a page named in the URL (a print page) draws everywhere; the standard page draws no record_section action, so one that must show there also lists record_more.
  • Step 5: the drawer is "always the standard page", so an author testing a full page through a row click knows why they see the standard page.
  • Paid for in the same file (deletion, not re-wrap): the inline relatedListFilter example in step 2 (the os:check snippet below shows the same filter), "(no deep merge)" beside "each whole" in step 3, "reached for only when steps 1–3 cannot express the page" in step 4 (the file's opening line and "escape hatch" say it), step 6's restated "— the default —" and "the split beside the list is retired" (step 5 says both), step 6's keyboard shortcuts (⌘⇧,, ⠿ drag, ⌥↑ / ⌥↓: reader controls, nothing an author writes), and "They live in the console's preference store, never in the object" (step 6's title says it).

Changeset .changeset/36179-ui-record-page-full-desktop-only.md, @objectstack/skills patch, both declaration lines.

Small calls made in this thread (dev threads decide small things themselves, Sales 2026-11-21 22:19:27Z):

  • The two platform pages that keep their own page everywhere (approval request, user) are not named in the skill: an author does not author those pages, and the budget has 2 tokens left.
  • skills/objectstack-ui/rules/pages.md, actions.md, navigation.md and evals/record-page.json were read: none says a full page applies on the phone or in the drawer, and the one eval with a kind: 'full' page (placedActions: true on its header) is a desktop full-page behaviour, unchanged. No eval edit.
  • The token ceiling row is left at 991 rather than lowered to 989: a ratchet-script edit is outside the low-risk skills arm and would make this PR Tier H. A later skills PR can lower it.

Why

L1-c's REWORK on PR #36174 (record 7067418640) flagged the skill as owing this; skills/** rides only a domain:skills PR (pm-dispatch SKILL.md:320), so it is its own card, regraded p1 (ruling-ref 7070084648). #36180 (spec describes) is the separate twin and lands on its own.

Verification

  • node scripts/check-skills-token-ratchet.mjs --self-test && node scripts/check-skills-token-ratchet.mjs: green; record-page.md 989 / 991.
  • check-skill-links, check-skill-identifier-liveness, check-skill-frame-sync, check-skill-frame-freshness, check-skill-top-level-keys, check-skill-compatibility-version: green.
  • npm run check:pm-skill-ratchet, npm run check:pm-skill-id-lint: green.
  • node scripts/pm/check-governed-merges.mjs --branch claude/project-thread-g1rp28: skills/** ×1 (published catalog), Tier H on a path-only read; changed paths are one catalog Markdown file and one changeset, both declarations bare no / none, no security label or security-named path, 26 changed lines. So the low-risk skills arm (pm: land low-risk governed PRs on the seat review (Tier S arm for skills wording and docs), per the 2026-11-14 delegation ruling #33501, maintainer ruling 2026-11-14) should read it Tier S on --pr; the --pr reading follows on the PR.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind. (no names)
  • 3. No formatter ran; pnpm lint passes. (skills gates above)
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (the 维护者速读 block is the seat's Chinese summary for the maintainer)
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgViqXNX3ru3BVxMD1k

…full page only; record_section actions also list record_more (#36179)

Since #36150 an authored kind 'full' record page applies on the desktop
full page only; phone and drawer draw the standard page, which draws no
record_section action. Step 4 and step 5 of rules/record-page.md now say
so. Paid for in the same file; the token ceiling follows it down 991 -> 989.

Fixes #36179

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgViqXNX3ru3BVxMD1k
…tays skills-wording only (#36179)

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgViqXNX3ru3BVxMD1k
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgVdP6nEyftgTJapu6J

维护者速读

这个 PR 只改教 AI 写记录页的说明:自定义整页(kind: 'full')只在电脑整页生效,手机和右侧抽屉显示标准页;放在页面区块里的动作要在手机和抽屉出现,得同时放进「⋯」。我对着平台代码逐句核过,说法和 #36150 合并后的实际行为一致。为了不让文件变长,删掉的几句(快捷键、重复的例子)都是别处已经说过或作者不会去写的内容,没有丢规则。
L1 结论:通过。两处小建议不挡合并。合并档位和 L2 由席位安排。

席位核对 — ACCEPT (L1-d) · repo:objectstack#1 · head dc54d9c6 · 2026-11-21T22:32Z

Face: skills/** (published catalog) + one changeset. No packages/spec/src/**, no docs/adr/**, no runtime file. 43 changed lines.

Gates at dc54d9c6 (read while running): 15 success, 11 in progress (Build Core, Test Core 1–2/10, the Lint and Type Check source/consumer jobs, Check Changeset rerun). The one PR-body guards failure is superseded by a success on the same head after the body edit. If this head goes green unchanged, this record is final; a new head gets a delta read.

Premise, checked against origin/main

  • ui/packages/app-shell/src/views/recordPageSurface.ts, authoredRecordPageApplies: a page named in the URL → true; sys_approval_request / sys_user → true; else !embedded && !phone. So the assigned full page is the desktop full page only, and drawer, split pane and preview draw the standard page. Step 4's new sentences say exactly this.
  • The same file's header says the standard page draws record_header / record_more actions and not record_section ones, "an author who wants an action there too adds record_more". Step 4's last sentence and the changeset say the same.
  • Slotted pages are "already the standard page with their slots filled, on every surface", so "the standard page (steps 1–3)" is right: step 3 is the slotted page.
  • Step 5's "(always the standard page)" holds: the drawer is an embedded host and never reads a page name.

Card #36179, item by item

  1. Rule 4: where a full page applies + the record_more advice — done.
  2. Rule 5: the drawer always draws the standard page — done.
  3. pages.md, actions.md and evals/record-page.json read on the head: no sentence says a full page applies on a phone or in the drawer. The eval with a kind: 'full' page (placedActions: true, case 3) is a desktop full-page behaviour and stays true. No eval edit owed. Fixes #36179 is right: the card's three items are the whole card.

What was deleted to pay for it (each read)

  • Step 2's inline relatedListFilter example: the os:check snippet below shows the same { status: { $ne: 'done' } }; the eval's expected output keeps it too.
  • Step 3's "(no deep merge)": "each whole" says it.
  • Step 4's "reached for only when steps 1–3 cannot express the page": the file's opening line ("each step is the remedy for the one before it") and "escape hatch" carry it.
  • Step 6's shortcuts (⌘⇧,, ⠿ drag, ⌥↑ / ⌥↓), "— the default —", "the split beside the list is retired" and "They live in the console's preference store": reader controls or repeats of step 5 / step 6's title. No rule an author writes is lost; no eval or other skills file names any of them (grepped skills/objectstack-ui on the head).

Gates I re-ran

  • node scripts/check-skills-token-ratchet.mjs on the head: exit 0, record-page.md 989 / 991 (-2). Leaving the ceiling at 991 is the thread's own call (a ratchet-script edit would leave the skills-wording arm); fine.
  • node scripts/pm/check-governed-merges.mjs --pr 36196: skills/** ×1, low-risk skills arm "no contract-review record names this head, so no Security-touching: no line is established". For the seat: the arm needs that record at this head before it reads below Tier H.

Changeset, sentence by sentence

@objectstack/skills patch, both declaration lines. Each sentence matches the rule text and the code above, including "a page named in the URL, such as a print page, still draws everywhere" (the card's own words).

Nits (no hold)

  • N1. l1-face flags the first body line: after the signature it is the Premise paragraph, and Fixes #36179 sits below it. A body edit moving Fixes #36179 up to the first line clears it; no head change.
  • N2. "only a page named in the URL (a print page) draws everywhere": strictly, the drawer never reads a page name, so such a page draws on the full-page route at every width, not in the drawer. It is the card's wording and the budget has 2 tokens; leave it for a later skills PR if anyone tightens the file.
  • Not naming the two platform objects that keep their page (sys_approval_request, sys_user) is the thread's small call and right: an author does not write those pages.

L1 never replaces L2.

Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Posted 2026-11-21T22:33Z. The brief handed to the isolated rules-face reviewer for PR #36196 (a skills/** path on the low-risk skills arm, which lands on Security-touching: no alone). The record follows as its own comment.

Contract review brief — PR #36196 @ dc54d9c65b55f44c9471b10f6a22317ab8d3a334 (card #36179)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --paths skills/objectstack-ui/rules/record-page.md — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #36179: its body and EVERY comment (rulings and earlier records included)
· PR #36196: its body, its file list, and the net diff against main at dc54d9c65b55f44c9471b10f6a22317ab8d3a334
· the check-runs on dc54d9c65b55f44c9471b10f6a22317ab8d3a334: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: skills/objectstack-ui/rules/record-page.md;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — a hits path sits on the low-risk skills arm: when the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/3d3cbaf6-4903-5fed-92d4-c2b94a45e868/scratchpad/pr-36196/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: dc54d9c65b55f44c9471b10f6a22317ab8d3a334
Local-runs: none
Scope: skills/objectstack-ui/rules/record-page.md + none
Security-touching: no

Inputs read: card #36179 (body and its three comments: triage, the p2 to p1 regrade, the claim 7070212796), PR #36196 (body, file list of two paths, net diff against main at the head above, merge base 6c7c6db25), and the check-runs on the head. Nothing was checked out, built or run. The other file of the diff, .changeset/36179-ui-record-page-full-desktop-only.md, is a changeset: read for section ② only, otherwise the lane seat's ACCEPT.

① Derived judgments

  • Accept-set: no change. The diff edits prose in one published skill rule file. No schema, no validator, no gate, no ratchet row and no eval file is in the diff. Right.
  • Public surface: the published @objectstack/skills catalog text changes in steps 2 to 6 of rules/record-page.md. Steps 4 and 5 gain new teaching; steps 2, 3 and 6 lose duplicated wording only. Right, see ④ for each sentence.
  • The os:check snippet at the foot of the file is untouched, so the checked example compiles exactly as on main. Right.
  • Token ratchet: the file is 3954 bytes at the head (3944 on main), which is 989 at four bytes a token, under the 991 ceiling row at scripts/check-skills-token-ratchet.mjs:1643. The row is untouched. Right. Leaving the ceiling at 991 is a permitted slack of 2, not a contract matter.
  • Check-runs on the head at read time: Governed Surface Queue Guard success; Check Changeset success twice, with a third run in progress; PR-body guards failure at 22:27Z, then success at 22:30Z and 22:34Z (the newest two runs govern); every Type Check job and Lint · docs & code guards, Lint · PM dispatch-gates, Lint · ESLint success. Still in progress: Lint · repo & tooling gates, Lint · CI, release & engine gates, Test Core (1/10), Test Core (2/10). This record does not vouch for those four; the seat reads their conclusions before it lands the PR.

② Semver level

@objectstack/skills patch. The diff publishes reworded skill guidance that describes behaviour already shipped by PR #36174; it adds no key, removes none and changes no accepted input. Patch is the right level.

Clause-②: no. The PR body and the changeset both carry Clause-②: no and Metadata-protocol: none, and they agree with the diff: the semantic change itself rode PR #36174 under Metadata-protocol: semantic, and this PR only teaches it.

③ Boundary flags

  • Dev flag, the two platform exceptions (approval request page, user page) are not named in the skill: accepted. An app author does not author those pages, and OBJECTS_KEEPING_AUTHORED_PAGE in ui/packages/app-shell/src/views/recordPageSurface.ts says they are named there and nowhere else. See N2 for the one corner this leaves.
  • Dev flag, no eval edit: confirmed. skills/objectstack-ui/evals/record-page.json on main has three evals. None asserts that a full page draws on a phone or in the drawer. Eval 3 (a kind: 'full' page with placedActions: true on its header) is desktop full-page behaviour. Eval 2 must contain navigation: { mode: 'page' } and Display menu; both are still taught by steps 5 and 6. Eval 1 must contain relatedListFilter and relatedLists; both are still in step 2, and the filter example survives in the os:check snippet.
  • Dev flag, pages.md, actions.md and navigation.md hold no opposite claim: confirmed by reading them on main. navigation.md:169 says a clicked record opens in the drawer and points at Record Page steps 5 and 6, which now carry the correction.
  • Dev flag, ceiling row left at 991: accepted, see ①.
  • open_questions: none raised on the card or the PR.
  • SQL push-down: not applicable. The diff holds no query, no id materialisation and no join.
  • Security: no changed hunk teaches permission, sharing, credential, token or authentication behaviour. The new sentences are about which page layout a surface draws and which action location the standard page draws. sharingModel appears only in the untouched snippet.

④ Design judgment

skills/objectstack-ui/rules/record-page.md, judged against ui/packages/app-shell/src/views/recordPageSurface.ts and its caller RecordDetailView.tsx:1311-1321 on main, and against the card's scenario (an AI author places a record_section action that then vanishes on a phone and in the side preview).

  • Step 4 title, "on the desktop full page": holds. authoredRecordPageApplies returns !surface.embedded && !surface.phone for an ordinary object.
  • "A phone and the drawer draw the standard page (steps 1–3)": holds. The view sets assignedPage to null when the authored page does not apply, while assignedSlots is kept on every surface, so step 3 (slotted) is correctly inside the standard page.
  • "no key keeps a full page there": holds for anything an author can write. The surface function reads only the embedded flag, the phone viewport, the object name and the page name in the URL.
  • "only a page named in the URL (a print page) draws everywhere": holds. requestedPageName returns true first.
  • "The standard page draws no record_section action: one that must show there also lists record_more": holds. The standard page draws record_header and record_more actions; record_section is drawn only by page blocks (DeclaredActionsBar, the approval decision panel). record_more is a live member of the action location enum (packages/spec/src/ui/action.zod.ts:804). This is the exact remedy the card's scenario needs, and it matches ruling 7066506909 as the card quotes it.
  • Step 5, "(always the standard page)": holds for every object an app author owns; this closes the card's second point (an author testing a full page through a row click).
  • Step 5, "opens it as the full page": same meaning as the sentence it replaces.
  • Removed wording, each checked for lost teaching: the inline filter example in step 2 (still in the snippet); "(no deep merge)" (kept by "each whole"); "reached for only when steps 1–3 cannot express the page" (kept by the file's opening line and "escape hatch"); step 6's "the default", "the split beside the list is retired", the keyboard shortcuts and the preference-store sentence (step 5 still says the drawer is the default and that split was removed; the step title and "Never author these" still say these are not metadata). No rule an author acts on is lost.

No must-fix, no should-fix.

Nits, left as accepted deviations (a fix would move the head):

  • N1 (nit) — "draws everywhere" is slightly wide for a named page: the drawer never reads a page name, so in practice it means the full-page route on a phone and on the desktop. The card uses the same wording, and no author is misled into a wrong declaration.
  • N2 (nit) — "no key keeps a full page there" and "always the standard page" leave out the two platform objects. An app-scoped full page assigned to sys_user or sys_approval_request is kept on every surface. An author in that corner sees more of the page than the rule promises, never less.

Implemented-by: claude/project-thread-g1rp28
Reviewed-by: session_01L6bhgUkbQqRUUFSiu2HGob (isolated L2 sub-agent of the seat)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Seat landing · 2026-11-21T22:47Z · #36179, the objectstack-ui record-page rule now teaches what #36150 shipped: an assigned kind: 'full' record page is drawn as authored on the desktop full page only, and record_section actions need record_more to show on a phone and in the preview. Skills text and a patch changeset only.

Reviews:

  • L1-d: ACCEPT 7070254734 on this head.
  • Rules-face contract record 7070305666 on this head: Served-tier: CONTRACT_REVIEW_TIER, VERDICT: PASS, Security-touching: no.

Gates on this head (dc54d9c6):

  • check-governed-merges --pr 36196 reads GOVERNED, Tier S: skills/** ×1 under the low-risk skills arm (ruling 2026-11-14 on pm: land low-risk governed PRs on the seat review (Tier S arm for skills wording and docs), per the 2026-11-14 delegation ruling #33501). The arm's conditions hold: modified skill file and prose only, Clause-②: no, Metadata-protocol: none, a clean changeset, no security label, and the record above reads Security-touching: no. 43 changed lines.
  • K = 3 first-parent commits since the merge base, read by hand. No translations/ path.
  • 28 check-runs are success, 16 skipped on their latest runs. The one red PR-body guards run (22:27Z) predates the claim and is superseded by two green re-runs on this head.

The seat readies this PR and arms auto-merge in the same step. The PR carries Fixes #36179.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 21, 2026 22:47
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 59b5779 Nov 21, 2026
52 of 53 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-g1rp28 branch November 21, 2026 23:07
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 size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants