Skip to content

docs(adr): ADR-0085 note records pinOverview and fieldTabs as ruled exceptions - #38010

Merged
os-zhuang merged 1 commit into
mainfrom
claude/project-thread-ue46fk
Nov 27, 2026
Merged

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

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Tesla · project thread

Fixes #37800
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户无感:架构决策记录里新增一段带日期的说明,记下你 11 月 27 日的裁定,把记录详情页的两个对象级布局配置(概览是否钉在左栏、把指定字段分组放成概览之后的页签)列为裁定例外,产品行为不变。
  • 这是你当天在席位线程提的记录页布局需求的第一步:现行决策拒收只重排页面的配置,例外先记进决策记录,后面两张实现卡才能开工。
  • 这段话如果把范围写宽或写错,两张实现卡会照着做;它只是文档,发现不对可以直接再改一版撤回,不影响任何已上线的页面。
  • 这是受管文件(人合档),需要你本人审阅并合并。

What changes

One file, docs/adr/0085-object-semantic-roles-over-surface-hint-blocks.md: one dated blockquote Note (2026-11-27) inside ### 2. The admission test for future keys, directly after the 2026-11-23 actionLayout Note and before ### 3. Deletions. 31 lines added, none removed, no heading added. The Note says five things:

  1. The sentence "keys that merely hide/re-arrange correct information are rejected at this layer" now yields in three places: relatedLists (2026-11-20), actionLayout (2026-11-23) and this ruling, which carries two object keys, pinOverview and fieldTabs. Both are ruled exceptions. Like the actionLayout Note, it does not claim that either key passes the admission test.
  2. The ruling: the maintainer's words of 2026-11-27 (03:36Z and 03:40Z) and his choice on the 04:07Z decision card, quoted verbatim in Chinese, with links to the two GitHub records (comment 7209632085 on the ADR card, comment 7209608089 on the pinOverview card). His 03:51Z question about the relatedList syntax ended with relatedLists kept, unrenamed and unchanged.
  3. Each key's scope. pinOverview: whether the overview pins to the left column, on the wide (desktop) full page of the synthesized record page only, where pinning is otherwise derived. fieldTabs: named field groups leave the overview and are drawn as tabs right after it. An object that declares neither draws as before. The keys are not in the spec until their implementing cards land; ObjectSchema is strict and refuses both until then.
  4. The object-level fieldTabs is not the form-level FormSchema.fieldTabs that the @object-ui form renderer reads (beside defaultFieldTab and fieldTabsPosition): the same word at a different layer, and the Note rules only the object key.
  5. What stays refused: the guard keeps its force for every other key. Any other object key that only hides or only re-arranges still needs its own ruling, above all per-page show/hide switches.

Nothing else is in the diff: no packages/**, no skills/**, no changeset (an ADR-only diff publishes nothing, hence skip-changeset). The two implementing cards, #37792 (pinOverview) and #37802 (fieldTabs), remain open and wait on this Note.

Tests

No test is added: the diff is ADR prose, and docs are not ablated. What was checked instead is every claim the Note makes, against the cards and against the tree.

Readings (head 33b946d, repository objectstack-ai/objectstack)
  • Quotes: all four Chinese quotes in the Note were compared byte for byte with the bodies of the three cards (the ADR card, the pinOverview card, the fieldTabs card); each quote is found in all three bodies.
  • Premise, read on the base commit 30a8047: git grep pinOverview over the tree: 0 hits; git grep fieldTabs -- packages/spec: 0 hits; git grep fieldTabs -- skills: 0 hits; control word relatedLists in packages/spec/src/data/object.zod.ts: 56 hits. fieldTabs occurs only under ui/ (20 files), all of it the form-level key.
  • Tree claims in the Note: recordPagePinsDetails is declared in ui/packages/plugin-detail/src/synth/recordPageColumns.ts (line 180) and returns false off a full page or under RECORD_PAGE_PIN_MIN_WIDTH; FormSchema in ui/packages/types/src/form.ts declares fieldTabs (line 2584), defaultFieldTab (2588) and fieldTabsPosition (2593), and the form renderer reads them in ui/packages/components/src/renderers/form/form.tsx; ObjectSchemaBase is a strictObject (packages/spec/src/data/object.zod.ts, line 4092).
  • node scripts/pm/dispatch-gates.mjs --commands: 21 derived commands for the one changed path, all run locally at this head, each exit code captured before any pipe, all 0. --ran reconciliation: 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN.
  • pnpm check:adr-anchors: exit 0, check-adr-anchors: OK (135 anchored file(s), every governing ADR still referenced; ...).
  • pnpm check:adr-symbol-anchors: exit 0, check-adr-symbol-anchors: 4477 anchors across 164 records resolve. The shared extractor reads two anchors off the new lines: the symbol anchor on recordPagePinsDetails and the file-level anchor on ui/packages/types/src/form.ts.
  • node scripts/check-adr-links.mjs: exit 0, 1263 relative link destination(s) under docs/adr/ resolve. pnpm check:adr-index: exit 0, docs/adr/README.md is current.
  • pnpm check:doc-authoring: exit 0. pnpm check:nul-bytes: exit 0, no raw ASCII control bytes.
  • pnpm --filter @objectstack/lint run check:doc-formula-expressions: first run exit 3, PREREQUISITE NOT MET (two workspace packages not built), which is not a reading; after pnpm exec turbo run build --filter=@objectstack/formula --filter=@objectstack/lint --concurrency=2 under the verify lock (VERDICT command-exit 0), exit 0.
  • The other derived commands, each exit 0: check-adr-links.mjs --self-test, check-closing-keyword-parity.mjs and its --self-test, check-comment-mask-corpus.mjs, ci/plan-test-core-shards.mjs --self-test, check:ci-filter-parity, check:closed-ceremony-text, check:cross-package-test-inputs, check:driver-memory-census, check:gitlink-declared, check:pm-governed-merges, check:pm-prior-rulings, check:refd-timer-probe, check:watch-hint-literal.

Acceptance notes

  • The card's step 2 (teach the two keys in skills/**) is deliberately not in this PR, by the claim's file surface. ObjectSchema is strict, so a skill that taught either key before its spec change lands would have authors write a key that os validate refuses. The teaching lands with each key, on the two implementing cards.
  • The Note records the ruling and its scope, not the design. Value shapes and first-version limits (which values of pinOverview change anything, the entry shape of fieldTabs, whether an object extension may carry either key) stay on the implementing cards; the ADR text does not fix them.
  • The ruling was made in the seat thread, not on GitHub. The two linked comments are the fleet's records of it: 7209608089 carries the 04:07Z choice in the maintainer's words, 7209632085 records that the ADR card was filed from that decision card. The quotes themselves are on the card bodies, which is why the Note says so.
  • "Three places" counts rulings, not keys: the third place carries two keys. The Note says this in so many words.
  • Length: the Note is 30 lines against 19 for the actionLayout Note. It carries two keys, four quotes and six links where that one carries one key, two quotes and five links.
  • No line-number anchor is written into the ADR (the symbol-anchor gate refuses them); the line numbers above are readings for this PR only.
  • The checkout is shallow, so no date in the Note was read from git log; every date and time comes from the cards.
  • This diff touches docs/adr/**, a Tier H governed surface. The PR is opened as a draft and stays one; landing is the maintainer's.

Verification

Read first: the single hunk in docs/adr/0085-object-semantic-roles-over-surface-hint-blocks.md. The riskiest sentences are the two scope sentences (pinOverview says ..., fieldTabs names ...), because the implementing cards will be held to them, and the count ("There are now three").

Two-minute check: pnpm check:adr-symbol-anchors — expect the last line to read check-adr-symbol-anchors: 4477 anchors across 164 records resolve, which includes the Note's two anchors.


Generated by Claude Code

…xceptions

One dated Note in section 2, after the actionLayout note. It records the
maintainer's 2026-11-27 ruling: two object-level record-page keys,
pinOverview and fieldTabs, are ruled exceptions to the "hide/re-arrange
keys are rejected at this layer" guard. The note states each key's scope,
names the implementing cards, separates the object-level fieldTabs from the
form-level FormSchema.fieldTabs, and says the guard keeps its force for
every other key. ADR text only: no spec, skill or package change.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibzs1FgtddC54pwhqBf
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 27, 2026
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 27, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 33b946d · 2026-11-27T15:37Z

L1-a (the seat's L1 thread) runs the isolated CONTRACT_REVIEW_TIER review on this head (rules face: the ADR-0085 Note on pinOverview and the object-level fieldTabs), with its L1 beside it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 33b946d34d087b6a60e3a1a5e3ac6d3f64f8f98c
Local-runs: none
Scope: docs/adr/0085-object-semantic-roles-over-surface-hint-blocks.md + none
Security-touching: no

Read for this record: card #37800 (body and its 4 comments), PR #38010 (body, file list, net diff against merge base 30a8047bad6e264762dd41ded7f1290c1224afc6, which is also main as fetched at 15:40Z), comments 7209608089 (on #37792) and 7209632085 (on #37800), the bodies and threads of #37792 and #37802, and the check-runs on the head. The compare API reports the head 1 ahead, 0 behind, one file, +31/-0.

① Derived judgments

  • The diff is one blockquote Note in ADR-0085 §2, placed after the 2026-11-23 actionLayout Note and before ### 3. Deletions. No heading, no schema, no package, no skill, no generated file. It changes no accept-set and no public surface: right.
  • The Note says neither key is in the spec yet. On main, pinOverview has 0 hits in the whole tree and fieldTabs has 0 hits outside ui/ (20 files under ui/, all the form-level key). ObjectSchemaBase is a strictObject (packages/spec/src/data/object.zod.ts), and ObjectSchema is built on it. So the Note admits two keys the spec still refuses, and says so: right.
  • Not teaching the keys in skills/** in this PR (the card's step 2) is right for the same reason: a skill would teach a key os validate refuses. The claim moved that step to 记录页布局开关:对象新键 pinOverview,控制概览在宽屏整页是否钉到左栏 #37792 and 记录页字段页签:对象新键 fieldTabs,把指定字段分组放成概览之后的页签 #37802, and the carrier note 7222282212 on 记录页字段页签:对象新键 fieldTabs,把指定字段分组放成概览之后的页签 #37802 is posted.
  • CI on this head, read at 15:41Z: every non-skipped run is success except Test Core (1/10), which was still in_progress and was not waited for. The gates that judge this Note are green: Lint · docs & code guards (the symbol-anchor gate), Lint · repo & tooling gates (ADR anchors, ADR index), Check Documentation Links (ADR links), Governed Surface Queue Guard, PR-body guards, Check Changeset. On the first read at 15:38Z, Lint · CI, release & engine gates and Lint · repo & tooling gates were also pending; both finished success.

② Semver level

Clause-②: no and Metadata-protocol: none on the PR body, label skip-changeset, no changeset in the diff, Check Changeset green. An ADR-only diff publishes nothing, so this is right. The Metadata-protocol: added entries belong to #37792 and #37802, where the keys enter the spec, and both cards already say so.

③ Boundary flags

  • open_questions in the dev report (7222225966): empty. Nothing to escalate.
  • Deviation "step 2 (skills) not in this PR": accepted, see ①.
  • Deviation "Note length, 30 lines against 19": answered in ④, the length is earned.
  • Deviation "shallow checkout, dates read from the cards": accepted. Every date and time in the Note is on the card bodies.
  • The two out-of-scope findings are carried: the fieldTabs homonym on 记录页字段页签:对象新键 fieldTabs,把指定字段分组放成概览之后的页签 #37802 (7222282212), the recordPageColumns.ts header rewrite already in 记录页布局开关:对象新键 pinOverview,控制概览在宽屏整页是否钉到左栏 #37792 step 3.
  • SQL push-down: no code in the diff, nothing to judge.
  • Limit of this review: the ruling was made in the seat thread, which is not on GitHub and is not an input here. The quotes were compared with the fleet's GitHub records of it, not with the thread itself. The Note says as much ("in the seat thread", "the card bodies quote him"). The maintainer lands this PR himself (Tier H) and is the reader who can confirm his own words.

④ Design judgment

No must-fix, no should-fix.

The maintainer's words. All four quoted strings match their sources byte for byte, with the right UTC time beside each:

Quote in the Note Time Found in
「我觉得这个应该是一个元数据的配置项吧,这种应该是常见需求。」 03:36Z bodies of #37800, #37792, #37802
「我能够具体配置每一个页签显示哪些分组吗?然后还有一个开关控制第一个页面要不要pin到左侧」 03:40Z bodies of #37800, #37792, #37802
「是否建议保留 relatedList 这个语法」 03:51Z bodies of #37800, #37792, #37802
「例外 + 新键 fieldTabs」 04:07Z decision card the three bodies and comment 7209608089

Comment 7209608089 is on #37792 and 7209632085 is on #37800, as the two links say. 7209632085 carries no words of the ruling: it reads "filed per Jack 04:07Z decision card". The Note calls both "records" and adds "the card bodies quote him", which is accurate.

The ruling, restated.

Agreement with ADR-0085 on main. "The 2026-11-23 note counts two places" is what that Note says ("There are now two places"). Like it, this Note calls the keys ruled exceptions and does not claim they pass the admission test; "each only re-arranges one surface" is the honest reading against test 2. "Field tabs are a sibling key, not entries in it" leaves the 2026-11-20 and 2026-11-22 Notes on relatedLists as they read. "The synthesized (default) record page" is the 2026-11-22 addendum's own term. The Note cites no other ADR.

Anchors, symbols, ids. recordPagePinsDetails is exported from the cited file; ui/packages/types/src/form.ts exists and holds the three named members; issues #37800, #37792 and #37802 exist and are open; both comment ids resolve to the issues their links name. No line-number anchor is written.

Length. Earned. The Note is 30 lines against 19 because it carries two keys, three dated quotes plus the choice, and one thing the actionLayout Note had no need for: the homonym with the form-level key, which is a real collision (20 files under ui/). The sentence on the 03:51Z question is the only candidate to trim, and the card asked for "relatedLists unchanged" to be stated.

Nits (none affects the contract):

One reading to keep in view on #37792, not a finding here: the Note says pinOverview "says whether the overview pins", which is the maintainer's 03:40Z wording. The card gives the key one effective value in v1 (false stops pinning; absent or true is today's derived rule). The Note does not say true forces a pin where the derived rule would not, and #37792 must not read it that way.

Implemented-by: claude/project-thread-ue46fk
Reviewed-by: session_01L9qibwSEecrzDjKjbk24r1

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

The filled brief the record above was rendered from (L1-a, isolated CONTRACT_REVIEW_TIER subagent):

Contract review brief — PR #38010 @ 33b946d34d087b6a60e3a1a5e3ac6d3f64f8f98c (card #37800)

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 docs/adr/0085-object-semantic-roles-over-surface-hint-blocks.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 #37800: its body and EVERY comment (rulings and earlier records included)
· PR #38010: its body, its file list, and the net diff against main at 30a8047bad6e264762dd41ded7f1290c1224afc6 (the merge base)
· the check-runs on 33b946d34d087b6a60e3a1a5e3ac6d3f64f8f98c: 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: docs/adr/0085-object-semantic-roles-over-surface-hint-blocks.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/166e2125-4268-552f-a555-2b7c43a99f0f/scratchpad/pr-38010/ 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.
----- to here -----

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-27T15:47Z

L1 ACCEPT at 33b946d34d087b6a60e3a1a5e3ac6d3f64f8f98c (L1-a for the seat). Tier H (an ADR Note, rules face): this goes to the seat's hand-off for the maintainer, not to the queue.

Contract review. The isolated CONTRACT_REVIEW_TIER record 7222395316 (claim 7222295791, brief 7222405029) is a PASS on this head: no must-fix, no should-fix, three nits. verify-review-tier PASS.

Face. l1-face: Fixes #37800, one file, skip-changeset with no published package touched, Clause-②: no · Metadata-protocol: none. CI at this head: 26 success · 23 expected skip · 0 failed · 0 pending.

Nits (prose; fold in before the hand-off or leave).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Recorded 2026-11-27T15:48Z.

席位意见:可以合。按强制档由隔离的 claude-fable-5-2 子代理在 xhigh 起草;引文逐字对过(L1-a)。卡上第 2 步「先在 skills 里教这两个键」由本席移到 #37792、#37802 各自落键时做:ObjectSchema 是严格对象,键还没进 spec 就教,作者会写出被 os validate 拒收的键。

席位核对 — ACCEPT · repo:objectstack#3 · head 33b946d34d087b6a60e3a1a5e3ac6d3f64f8f98c

  1. 形态:Fixes #37800;Clause-②: no、Metadata-protocol: none;skip-changeset(只改 ADR);1 个文件 +31 / −0。
  2. 前提实测:main 30a8047 上 ADR-0085 §2(:61-68)仍拒收只隐藏或重排的对象键;spec 和 skills 里都还没有 pinOverview 或对象级 fieldTabs,git grep 只命中 ui 的表单级 FormSchema.fieldTabs。裁决记录引 7209608089(04:07Z 原话所在)和 7209632085(立卡)。
  3. 门禁 check-runs:CI 绿,mergeable_state clean(L1-a 7222495818 读)。本地派生 21/21 exit 0,含 adr-anchors、adr-symbol-anchors、adr-links、adr-index、doc-authoring;新增两个锚点都能解析。docs/adr 受管,且 Note 落在命名的 Decision 节内,不走只增低风险腿 ⇒ Tier H。
  4. 接受的偏差:Note 30 行,比 actionLayout Note 长(两个键、四段引文);nit N1(第一个页签在 main 上显示为「详情」,Note 沿用卡上的「概览」)、N2(「relatedLists 不变」的出处早了一步,落在 04:07Z 而非 03:51Z)不改,以免动 head。L1 ACCEPT 7222495818。
  5. 范围外去向:N3(「两个键都还不在 spec 里」会过时)由 记录页布局开关:对象新键 pinOverview,控制概览在宽屏整页是否钉到左栏 #37792、记录页字段页签:对象新键 fieldTabs,把指定字段分组放成概览之后的页签 #37802 落键时各自在这条 Note 末尾加「Built by」行,本席在两卡上留载体说明;记录页字段页签:对象新键 fieldTabs,把指定字段分组放成概览之后的页签 #37802 上已有载体说明,要求对象级与表单级 fieldTabs 的拒收提示互相指路。
  6. 落地条款:Tier H ⇒ 维护者亲手合并,或 GOVERNED_APPROVERS(os-zhuang)批准后本席照落地前检落地。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

维护者速读

@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 27, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 27, 2026 16:52
@os-zhuang
os-zhuang enabled auto-merge November 27, 2026 16:52
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit 0a28cae Nov 27, 2026
55 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-ue46fk branch November 27, 2026 17:18
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 skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ADR-0085 Note:记录页两个对象级布局键 pinOverview / fieldTabs 作为裁定例外

3 participants