Skip to content

docs(ui-adr): ADR-0057 Amendment A5 — an opening from the entry starts a new conversation - #37931

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

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

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Tesla · project thread
Fixes #37855
Refs #37853
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:只改设计文档,用户无感;写定以后,从入口打开 AI 助手时,用户自己关过就开新会话,系统替用户收起、或有待批准的写操作时回到原会话,并定下抽屉顶部的样子。
  • 为什么做:这是「问 AI 入口改造」专题的前置,抽屉「点开即新会话」那张实现卡要照这份文字做,文字须先落。
  • 出错会怎样:只动文档,不影响任何用户,写错可直接撤回这次修改。
  • 要你做什么:批准这个受管文档 PR(座位审核后交给你或 os-zhuang)。

What changes

One file, ui/docs/adr/0057-console-ai-chat-one-conversation-docked.md (+122 / −3; the three removed lines are A3 lines rewrapped around two pointers, no A3 word is removed):

  • New section ## Amendment A5 (2026-11-27, Accepted) — an opening from the entry starts a new conversation, after A4 and before "Open design questions", in A3/A4's shape: What it changes · Why · Maintainer ruling · Decision · Points beyond the maintainer's words · Consequences ("Implemented under objectstack#37860.").
  • It names the A3 sentence it supersedes, in A3's "Addresses": "What the drawer shows is kept per tab, never in the URL." The first half no longer holds across a close the user makes; "never in the URL" stands.
  • Decision: a nine-row open-type table (entry after the user's close or first opening in a tab: new; after the console collapsed the phone sheet: same; a write awaiting approval in the conversation shown at the close: that one; a pending question card: as row 1, from the card's comment; named targets, reload, the assistant bus, build threads and full-window toggling: as before), forceNew never resumeMode: 'fresh' with the reason, a "Not recorded yet" bullet (the console cannot tell the two closes apart today and keeps no pending write after a close; both are the implementation card's to add), and the header row (left: the history row's label; right: ☆ with C8, +, history icon button, ⋯, ×).
  • Two in-place pointers in A3 (*(Amendment A5: …)* at "Addresses" and "Entries") and one A5 entry in the header's Amended block.

Tests

Docs-only; no tests apply. The two maintainer quotes were byte-checked against their sources (each occurs once there, inside corner brackets): objectstack#37853's body ("Filing gate" line, 07:12Z) and objectstack#37871's body ("Filing gate" line, 08:05Z). The topic's 06:33Z–06:42Z rulings are restated from its "Rulings" list, not quoted, because their words are not on GitHub; the ADR says so.

Local gate readings at 21f3c81

node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack exit 0, 16 commands derived; each exit captured before any pipe:

  • pnpm check:adr-anchors exit 0
  • pnpm check:adr-index exit 0 (the ui-0057 row reads title, status and date, none changed)
  • pnpm check:gitlink-declared exit 0
  • pnpm check:nul-bytes exit 0
  • pnpm check:published-files exit 0
  • pnpm check:refd-timer-probe exit 0
  • pnpm check:registry-log-declared exit 0
  • pnpm check:rest-log-spy-declared exit 0
  • pnpm check:tier-file-adoption exit 0
  • pnpm check:undeclared-dep-imports exit 0
  • pnpm check:watch-hint-literal exit 0
  • extra: pnpm check:adr-links exit 0, pnpm check:adr-symbol-anchors exit 0 (both scan the root ADR tree only), pnpm --dir ui run check:new-line-citations exit 0

NOT MEASURED locally (no node_modules in this checkout): check-closing-keyword-parity.mjs and its --self-test (needs yaml), check-comment-mask-corpus.mjs (needs @typescript-eslint/parser), check:driver-memory-census (needs typescript), check:pm-governed-merges (needs gen:skill-refs). CI runs them. A manual pass over the added lines found no closing keyword before any issue number, no HTML comment and no angle placeholder.

--ran reconciliation: 16 derived, 11 run, 5 NOT MEASURED, 0 UNRUN.

Acceptance notes

  • Premise corrections made against the tree at 73d5e34, written into the ADR instead of the card's wording:
    • Plans awaiting approval: the assistant bus keeps them per conversation in memory only, and nothing has published a pending plan since objectstack#37720 retired the build chat; in-chat write approvals do not reach the bus. Row 3 is therefore a pending write, and recording it is the implementation card's job.
    • The phone auto-collapse (objectstack#37556) fires on any push or pop of the page under the sheet (a tapped link or Back), not only an answer link, and calls the same collapse as ×; today the two closes cannot be told apart.
    • Share: today's Share makes the read-only /s/:token page, which is not the drawer; only /ai… addresses open the drawer.
    • The assistant bus's requestAssistantOpen is called by the object designer's "Ask AI", not a Studio canvas; Studio's copilot left with objectstack#37720.
    • Title: the history list labels an untitled conversation by its latest user message, not a first-message summary, so the header takes the history row's label. The desktop header is already one row (objectstack#35445).
    • resumeMode: 'fresh' reuses a cached conversation whenever the server returns zero messages for it (useChatConversation); that a turn is stored only at completion is the hook's reading of the server, which is cloud's and not read here.
  • Settlements beyond the maintainer's words are listed in the ADR as points 1–6 (first opening in a tab is new; what counts as the console's close; the exception is a pending write in the conversation shown at the close; Home "Ask AI" becomes an entry; bus, build exception and forceNew from the card; header label rule). An approver should look at points 2 and 3.
  • Stale ADR text seen and left untouched (outside this card): A3's "One container" still names Studio's copilot; A2's app:PKG:build dock key no longer matches the code; A3's "Entry" plan marker has no producer. Noted for the seat's ADR-revisions card, not filed.
  • skip-changeset: ui/docs/adr/** ships in no package.
  • Governed surface (ui/docs/adr/**, Tier H): this PR stays draft and is landed by the maintainer; the seat hands it off after review. Tier: dispatch-gates --tier prints no path-derived mandate for this path, so the default tier; effort xhigh per the ADR-revision standing order, drafted in an isolated subagent at that effort.

Verification

Read first:

  1. The new ## Amendment A5 section, its table and "Points beyond the maintainer's words" (risk: a row saying more than the topic's rulings and the card).
  2. The pointer at A3's "Addresses" sentence (risk: superseding more than the "kept per tab" half).
  3. The A5 entry in the header's Amended block.

Two-minute check: git diff origin/main...HEAD -- ui/docs/adr/0057-console-ai-chat-one-conversation-docked.md shows one header entry, two italic pointers inside A3 and one new A5 section between A4's Consequences and "Open design questions".

🤖 Generated with Claude Code

https://claude.ai/code/session_01L9qibzLtFztVjQtMvtssA4

…s a new conversation

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibzLtFztVjQtMvtssA4
@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/m 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 21f3c81 · 2026-11-27T11:52Z

L1-a (the seat's L1 thread) runs the isolated CONTRACT_REVIEW_TIER review on this head (rules face: ui/docs/adr/0057-console-ai-chat-one-conversation-docked.md, Amendment A5), 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: 21f3c81c5961c80af40410ef6b92d95b7b31bb17
Local-runs: none
Scope: ui/docs/adr/0057-console-ai-chat-one-conversation-docked.md + none

PR #37931, card #37855 (C0b of topic #37853). The diff against the merge base 73d5e347 is this one file, +122 / −3. The cited code was read on main at f926dfab; the ADR file and docs/adr/0160-record-scoped-ai-inquiry.md are unchanged between the two.

① Derived judgments

  • Accept-sets and public surface: none change. Right. The diff is ADR prose: no spec key, export, route, schema or stored shape moves. What changes is the documented behaviour objectstack#37860 is to build.
  • Clause-②: no and Metadata-protocol: none: right. Nothing is published and no metadata is authored or rewritten.
  • A3 is amended in place by pointer only. Right. The three removed lines come back with the same words around two italic (Amendment A5: …) pointers; no A3 or A4 word is removed.
  • Card acceptance. A4 is on main (ADR-0057 Amendment A4: an app may place one AI inquiry page (ai:chat) in its menu; the top-bar robot hides on that page #37819 closed), and A5 names the A3 sentence it supersedes, quoted exactly: "What the drawer shows is kept per tab, never in the URL."

② Semver level

skip-changeset is right: ui/docs/adr/** ships in no package. The Check Changeset run on this head concluded success. Clause-②: no stands.

③ Boundary flags

  • open_questions: empty. Nothing to answer.
  • Settlement points 2 and 3, which the author flags for approvers: judged in ④; both hold. They are for the approver to accept, as the ADR itself says.
  • Dev deviations (edited in the platform checkout with no separate worktree; no review request from the thread): process only, no effect on the contract.
  • Out-of-scope findings (A3 "One container" still names Studio's copilot; A2's app:PKG:build dock key; A3 "Entry"'s plan marker has no producer): all three are true on main, and none is A5's to fix. They stay with the seat's ADR-revisions card.
  • SQL push-down: not applicable; the diff has no query.
  • Check-runs on this head, as last read: 28 success, 18 skipped, none failed. One was still running: Test UI (1/16). This record does not vouch for that run; the diff touches no code or test.

④ Design judgment

No must-fix, no should-fix.

Quotations. Both are byte-identical to their sources, each occurs once there inside corner brackets, and both times are right:

The ADR says what each quotation does and does not decide (the first agrees to file the topic; the second does not address row 4). No other maintainer words are quoted.

Restatements. The 06:33Z–06:42Z rulings are marked as restated from the topic's "Rulings" list, not quoted, and the text matches that list. Target-experience items 4 and 5 and acceptance item 4 are restated faithfully. Nothing is widened or re-ruled in the restated part.

Settlements are listed as the record's own, "accepted with the maintainer's merge", in six points:

  • Point 1 (first opening in a tab is new): sound. Today a first opening resumes the per-user cached thread, which is the behaviour the topic removes.
  • Point 2 (the console's close): sound. useConsoleChatDock collapses the phone sheet on any PUSH or POP away from the entry it was shown on and leaves it open on a REPLACE. Navigation alone cannot tell an answer link from Back, so the wider rule is the only one the code can keep. Dismissing the sheet goes through onOpenChange to the same collapse, and is rightly the user's close. The approver should know this is wider than target-experience item 5's "answer link".
  • Point 3 (a pending write, in the conversation shown at the close; a pending question is no exception): sound. Comment 7213286436 narrows the exception to a write approval and adds row 4. No plan producer exists (below), so "plan" has nothing to name. Limiting row 3 to the conversation shown at the close makes "that conversation" unambiguous; a pending write in a conversation the user moved away from stays in history. This is narrower than the card's row, and is labelled.
  • Points 4 to 6: match topic acceptance item 4, the card's rows, and the code (below).

The five premise corrections all hold on main:

  • (a) No pending-plan producer since feat(chatbot): retire the build chat frontend #37720. publishPlanApprovalPending has one caller outside tests, useConversationList.ts, with pending: false. feat(chatbot): retire the build chat frontend #37720 removed onPlanApprovalPendingChange. In-chat write approvals never reach the bus.
  • (b) The phone auto-collapse shares ×'s collapse. × is dock.collapse; the 37487 跟进:手机上点 AI 引用后,对话面板仍盖住被引用的段落 #37556 effect calls the same collapse from useChatDockState; nothing records which it was.
  • (c) Share is /s/:token. SharedRecordPage on that route; A3 already lists it as a read-only surface with its own chrome.
  • (d) requestAssistantOpen's caller is the object designer. Two call sites, both in ObjectFormCanvas.tsx; assistantBus.requestOpen has no other caller.
  • (e) The title follows the history row label. ConversationRow shows title, else preview, else "New conversation"; extractPreview takes the most recent user message.

Other anchors, all checked.

  • forceNew: ChatDockConversation derives it from target.fresh; the hook settles with no conversation, drops the cache pointer and creates the row on the first send.
  • resumeMode: 'fresh': reuses the cached conversation when the server returns zero messages.
  • Entries: the robot and the keyboard toggle call toggle; Home's "Ask AI" calls open with the ask agent, which resumes that agent's cached thread.
  • Row 8: "Edit with AI" opens build with a package, and app.defaultAgent reaches the resolver.
  • Header: today it reads "AI Assistant" with a labelled "History" button.
  • Comment id 7213286436, tree 73d5e347 and every issue number check out.
  • The amendment cites no file:line.

ADR-0160. Its seventh amendment is merged (#37877). D6 leaves "which conversation an opening shows" to ADR-0057 and card #37855, and says a conversation that has sent nothing takes the page's record. A5's "Why", row 1 and + agree with it; nothing conflicts.

First consumer. #37860's plan (flag the user's close paths, not the auto-collapse; implement every row) fits A5. A5 corrects two of its premises: the pending-plan mark, and the history list's label rule.

Nits (prose face; none affects the contract):

Implemented-by: claude/project-thread-j0fusx
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 #37931 @ 21f3c81c5961c80af40410ef6b92d95b7b31bb17 (card #37855)

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 ui/docs/adr/0057-console-ai-chat-one-conversation-docked.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 #37855: its body and EVERY comment (rulings and earlier records included)
· PR #37931: its body, its file list, and the net diff against main at 73d5e347f7d7c755a3e86e127228791c476485e2 (the merge base)
· the rulings the card cites: topic #37853 (its body's Rulings list and the maintainer's words of 2026-11-27) and #37871 (its 08:05Z words); ui ADR-0057 itself as it stands on main
· the check-runs on 21f3c81c5961c80af40410ef6b92d95b7b31bb17: 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: ui/docs/adr/0057-console-ai-chat-one-conversation-docked.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.

⛔ 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-37931/ 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#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-27T12:13Z

L1 ACCEPT at 21f3c81c5961c80af40410ef6b92d95b7b31bb17 (L1-a for the seat). Tier H — an ADR amendment (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 7217886593 (claim 7217586694, brief 7217897716) is a PASS on this head: no must-fix, no should-fix, four prose nits (N1–N4). verify-review-tier PASS on the reviewer's transcript (every turn served at tier).

Face. l1-face --pr 37931: shape, Fixes #37855, no other closing keyword, one file (ui/docs/adr/0057-console-ai-chat-one-conversation-docked.md), skip-changeset with no published package touched, Clause-②: no · Metadata-protocol: none, floor checks green. CI at this head: 30 success · 18 expected skip · 0 failed · 0 pending; mergeable_state clean.

For the approver. The amendment flags its settlement points 2 and 3 as the record's own. The record finds both sound against main, and says what each means:

Nits (prose; the author may fold them in before the hand-off without moving any non-prose face, or leave them): N1 row 2 could also name A4's phone collapse on arriving at the ai:chat page; N2 the "Entries" pointer lacks "but for A5's exceptions"; N3 "nothing has published a pending plan" is the exact wording; N4 "A conversation no longer outlives the user's close" overstates rows 3 and 5.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Recorded 2026-11-27T12:14Z.

席位意见:可以合。我读了 PR 正文对主干 73d5e34 的前提更正:手机自动收起由任何页面前进后退触发、今天分不出两种关闭、助手总线不保留关闭后的待批写操作,这些都写进了 ADR 的「尚未记录」,交给实现卡 C4 补。L1-a 读过第 2、3 点,结论同上。

席位核对 — ACCEPT · repo:objectstack#3 · head 21f3c81c5961c80af40410ef6b92d95b7b31bb17

  1. 形态:Fixes #37855、Refs #37853;Clause-②: no、Metadata-protocol: none;1 个文件 +122 / −3。
  2. 前提实测:起草人在主干 73d5e347 上读代码,把卡面与代码不符的 6 处写成 ADR 正文(PR 正文 Acceptance notes);两句 Jack 原话在 专题:问 AI 入口改造(页头带字「问 AI」按钮、点开即新会话带当前记录、撤掉 ask_ai、抽屉顶部与收藏会话) #37853、专题:AI 问题卡(AI 需要澄清时输入框位置换成可点的问题卡;问题结束回合、回答是下一条消息;第二段扩到模糊请求) #37871 卡面各出现一次,逐字一致。
  3. 门禁 check-runs:30 success、18 按设计跳过、0 失败、0 pending(L1-a 7217995521 读)。本地 dispatch-gates 16 条派生、11 条跑且 exit 0、5 条 NOT MEASURED(缺 node_modules),CI 已跑过。check-governed-merges:ui/docs/adr 受管 ⇒ Tier H。
  4. 接受的偏差:A5 第 2、3 点超出原话(见上「风险」),交维护者以合并定夺;四条文字 nit N1–N4 不改,以免动 head。L1-a ACCEPT 7217995521。
  5. 范围外去向:起草人看到 ADR-0057 里三处旧文字(A3「One container」仍提 Studio 的 copilot;A2 的 app:PKG:build 停靠键与代码不符;A3「Entry」计划标记没有产出方),由本席另立跟进卡。
  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 12:27
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit bc17334 Nov 27, 2026
54 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-j0fusx branch November 27, 2026 12:48
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…ut of step with main (week of 2026-11-25) (objectstack-ai#38289)

<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} -->
_Requested by **Elon** · [project
thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DDypKu7B9nwbu5WuV7AEio8)_

Fixes objectstack-ai#37245

Clause-②: no
Metadata-protocol: none

## 维护者速读

- 用户能看到什么变化:用户无感;只在十份设计记录里补了带日期的说明,写明主线现在实际怎么做,原有的决定文字一个字没动。
- 为什么做:属于「每周设计记录修订」滚动清单(11 月 25
日这一周);清单每一行指出一处「记录写的和主线不一致」,这次一并补齐,免得照着记录干活的人被过时说法带偏。
- 出错会怎样:最坏是某条补充说明写得不准,读这些设计记录的人会碰到;纯文档、只增不删,可以直接撤回,不影响任何功能。
- 要你做什么:请审这些补充说明并亲手合并(设计记录须由你本人合)。

## What changes

Ten ADR files gain notes dated 2026-11-28. Every diff line is an
addition: 239 lines added, 0 removed. No original decision text is
rewritten, and no decision changes. Each note follows the note
convention its own record already uses.

Each row's "what is true now" was read against the code on `main` before
it was written. Where a row was wrong or had gone stale, the note says
what `main` does, and the table and the list under it say so.

| Row (comment id on the card) | ADR and section | Result |
|:---|:---|:---|
| Card body row (from objectstack-ai#37238) | ADR-0146, the 2026-11-24 amendment, "32
registered types" | **Landed. Row stale.** The row asks for 33; the
registry holds 35 entries on `main`. The note states no count and points
at the registry and at ADR-0084's table. |
| 7155511307, nit 1 | ADR-0160 D1, the door's page cap sentence |
**Landed. Row stale.** The row says the door has no page cap. PR objectstack-ai#37354
added one. The note says what `main` does: the list is cut one row under
the door's cap, not at it. |
| 7155511307, nit 2 | ADR-0160 D1, "only contains braces" | **Landed**
as the row asks. |
| 7155511307, nit 3 | ADR-0160 D3, the link-field sentence | **Landed as
a note that the sentence stands.** |
| 7161785832 | ADR-0158, Open items 9 and 12 | **Landed.** |
| 7178404228, anchor half | ADR-0066, line 146 | **No edit.** PR objectstack-ai#37621
already landed it (record 7198334624). |
| 7178404228, end-state half, with 7201928772 | ADR-0066 D2 ⑧ |
**Landed.** Its prerequisite, PR objectstack-ai#37371, is merged. The proposed text is
tightened in two places, listed below. |
| 7179515770 | ADR-0158 U3, U6, L4, Open item 10 | **Landed.** |
| 7184833647 | ADR-0159, Context, "One name already taken" (line 109) |
**Landed as a note. The anchor line is untouched.** This is not a
no-edit row: the anchor resolves, onto the opposite meaning. See below.
|
| 7187445064 | ADR-0158 L1, L2, Open items 6, 8, 10 and 11, and a new
Open item 13 | **Landed.** |
| 7195437501 | ADR-0010, the amendment note of 2026-11-24 | **Landed**,
with one arm `main` has gained since the row was written. See below. |
| 7212321297, first row | ADR-0067 D3 | **Landed. Row wording wrong.**
The note carries the revert rule that the `form` type brought. See
below. |
| 7212321297, second row | ADR-0160, implementation split, row 7's
bullet | **Landed.** The row places the stale path near line 425; it is
near line 491. |
| 7213085888 | ADR-0048 §3.5 | **Landed.** The row's ready text, dated
2026-11-28, with symbol anchors where it had line numbers. |
| 7215202653, corrected by 7215223685, with 7224476684 | ADR-0150 D3,
the note of 2026-11-26 | **Landed.** Item 2 of the first row said the
two doors were still open. The later row supersedes it: PR objectstack-ai#37948
merged, and both doors now refuse. |
| 7217585102 | ui ADR-0057, A2 and A3 | **Landed. Row stale on one
line.** The plan-marker line is written as `main` is today, after PR
objectstack-ai#37970, and not only as it was after PR objectstack-ai#37720. |

Comments that are not rows: 7186949648 (triage note), 7196224618 (a
one-row claim), 7196910014 (its report), 7198334624 (its landing record)
and 7237786310 (this claim).

**No row is held.** Every prerequisite is merged on `main`: PRs objectstack-ai#37219,
objectstack-ai#37240, objectstack-ai#37268, objectstack-ai#37354, objectstack-ai#37366 (which carried objectstack-ai#37422), objectstack-ai#37371, objectstack-ai#37389,
objectstack-ai#37423, objectstack-ai#37449, objectstack-ai#37640, objectstack-ai#37720, objectstack-ai#37818, objectstack-ai#37931, objectstack-ai#37948, objectstack-ai#37970, objectstack-ai#37065,
objectstack-ai#36138 and objectstack-ai#37021. The card has 19 comments as of this pull request; a
row added after comment 7237786310 is not in it.

### Where a note differs from its row

- **ADR-0146.** The row offers two forms, "give the count" or "point to
ADR-0084's table". The note takes the second. A count written today
would already be the third reading (32, then 33, now 35).
- **ADR-0160 D1, the page cap.** The row's premise was true when it was
written and is not now. `RecordContextDoor.pageCap` exists, and both
doors answer it. The note records the one-row difference between the
amendment's words and the code: a list whose cut plus its probe row
would pass the cap is cut one row under the cap.
- **ADR-0160 D3, the link field.** The note leaves the wording alone.
- **ADR-0066 D2 ⑧.** Two changes to the proposed text. The note says in
words that `viewAllFieldsReadVote` replaced `superuserFieldVote`, and
anchors only the function that exists. And it does not say that nothing
re-opens a lock across sets: another set's `viewAllFields` still makes a
hidden field readable, and another set's field row with `editable: true`
still grants the edit, because field grants union without deny.
- **ADR-0159, line 109.** PR objectstack-ai#37422 was merged into PR objectstack-ai#37366's branch,
so the anchor `view.zod.ts#defineForm` resolves and the gate is green on
it. It now resolves onto the `form` type's factory, while the paragraph
describes the Studio helper, which is `defineMetadataForm` today. The
paragraph is Context and describes the tree before the ruling was
carried out, so the note leaves it as written and states both names.
- **ADR-0010.** The row covers the three restore doors of PR objectstack-ai#37423. The
same rule has since gained a second refusal, from PR objectstack-ai#37640: a restore
that would write a version the platform registered into a package's row.
The note has one sentence on it. That sentence goes beyond the row; cut
it if the note should carry the row alone.
- **ADR-0067 D3.** The row asks for a note "naming `form` as a
translated metadata type". D3 is about undo granularity and has no such
notion. The contract reviews of PR objectstack-ai#37422 sent one fact to this record:
a `form` item is reverted only after every `view` row its commit edited
is put back, and it joins `failed[]` otherwise. The note records that.
- **ADR-0048.** The row's text was dated 2026-11-24. The note is dated
2026-11-28, the day it was written into the record.
- **ADR-0150.** Besides answering "Not judged yet", the note qualifies
one sentence of the 2026-11-26 note that said too much: the draft
discard is newly refused only over a stored package-less draft. Where it
was already refused, only its sentence moved.
- **ADR-0158.** Row 7179515770 points at a draft held by its seat, which
this session could not read. The notes are written from the two rows and
the code. Open item 13 is a new numbered item at the end of the list,
carried from the display card; it is marked not built and not settled.
- **ui ADR-0057.** The row asks for "what main does after objectstack-ai#37720".
`main` has moved once more: since PR objectstack-ai#37970 the entry's marker stands
for a write that waits for approval. The note says that, and that A5's
"Not recorded yet" bullet held until that pull request merged.

## Tests

Docs only. No package is touched, so no build closure and no package
test is owed for the change. No tested behaviour changed, so there is no
ablation.

What was checked by hand, on the committed text:

- Each phrase a note quotes from its ADR was compared with the base
file.
- Each verbatim maintainer quotation was compared, byte for byte, with
its record on GitHub.
- Each cited path and symbol exists on `main`. The one exception is
deliberate: the ADR-0160 note names `packages/spec/src/ai/skill.form.ts`
to say that no such file exists.
- Upstream moved ten commits while this was written (`e42520c67b` to
`e2a0e90025`). None touches an ADR file or a file a note cites.
`overlap-check` answers `VERDICT clean exit 0` against `origin/main` at
`e2a0e90025`, and no open pull request shares a file with this branch.

The local gate set is the `dispatch-gates --commands` derivation for
this change set, 27 commands, run on the final commit `c2c3345747`. Each
exit code was captured before any pipe. Reconciliation: `Run
reconciliation — 27 derived, 27 run, 0 NOT-MEASURED, 0 UNRUN`, all 27
with a recorded exit code.

<details><summary>ADR gates on c2c3345 (all exit 0)</summary>

| Command | Exit | Verdict line |
|:---|:---|:---|
| `pnpm check:adr-symbol-anchors` | 0 | `check-adr-symbol-anchors: 4525
anchors across 164 records resolve`, 0 line anchors survive. On the base
commit the same gate reads 4478. |
| `node scripts/check-adr-links.mjs` | 0 | `check-adr-links: 1268
relative link destination(s) under docs/adr/ resolve` |
| `node scripts/check-adr-links.mjs --self-test` | 0 | |
| `pnpm check:adr-anchors` | 0 | |
| `pnpm check:adr-index` | 0 | `adr-index --report: OK —
docs/adr/README.md is current, every record parsed` |
| `pnpm check:doc-authoring` | 0 | |
| `pnpm check:nul-bytes` | 0 | `check-nul-bytes: OK (scanned 28605 text
file(s)`, no raw control bytes |
| `pnpm check:closed-ceremony-text` | 0 | |
| `pnpm --filter @objectstack/lint run check:doc-formula-expressions` |
0 | run after building `@objectstack/formula` and `@objectstack/lint`
under the verify lock |
| `pnpm --dir ui run check:new-line-citations` | 0 | `VERDICT
new-cross-file-line-citations: 0 new citation(s)`. Not in the derived
list; run because a ui ADR changed. |

</details>

<details><summary>The other derived families on c2c3345 (all exit
0)</summary>

`node scripts/check-closing-keyword-parity.mjs` and its `--self-test`,
`node scripts/check-comment-mask-corpus.mjs`, `node
scripts/ci/plan-test-core-shards.mjs --self-test`, `pnpm
check:ci-filter-parity`, `pnpm check:cross-package-test-inputs`, `pnpm
check:driver-memory-census`, `pnpm check:gitlink-declared`, `pnpm
check:pm-governed-merges`, `pnpm check:pm-prior-rulings`, `pnpm
check:published-files`, `pnpm check:refd-timer-probe`, `pnpm
check:registry-log-declared`, `pnpm check:rest-log-spy-declared`, `pnpm
check:tier-file-adoption`, `pnpm check:undeclared-dep-imports`, `pnpm
check:watch-hint-literal`.

Before the push: `node scripts/check-commit-card-trailers.mjs --range
origin/main..HEAD` exit 0, one commit message, no card relation and no
model identifier in the trailer pair.

</details>

<details><summary>The ui scripts test family: one prerequisite failure,
then green</summary>

Derived command: `pnpm --dir ui exec vitest run scripts/`, run under the
verify lock with `--maxWorkers=2`.

- First run: `VERDICT command-exit 1`. `Test Files 1 failed | 171 passed
| 2 skipped (174)`, `Tests 1 failed | 5144 passed | 2 skipped (5147)`.
The one failure was
`scripts/__tests__/unit-registry-absence-collision.test.ts`, with
`Failed to resolve entry for package "@objectstack/client"`. The package
had no build output in the fresh worktree. That is a missing
prerequisite, not a verdict on this change.
- After building the `@objectstack/client` closure under the lock, the
same command on the same commit: `VERDICT command-exit 0`. `Test Files
172 passed | 2 skipped (174)`, `Tests 5145 passed | 2 skipped (5147)`.

</details>

Not run locally: the repository test project behind `test:repo`, which
CI runs on the pull request and on the merge group. Every other family
CI runs is read from this pull request's check runs, not re-run here.

## Acceptance notes

- **Changeset.** None, and the pull request carries `skip-changeset`.
`docs/adr/**` and `ui/docs/adr/**` ship in no package: the ui tree's
root is a private workspace root and `ui/docs` is under no package
directory.
- **Governed surface.** `docs/adr/**` lands by the maintainer's hand.
This pull request stays a draft; the seat hands it over.
- **The registry count.** The card row and the amendment both carry a
number. The repository rule for a volatile count is to remove it and not
to sync it, so the note adds none.
- **Seen and left alone.** These are outside the card and are not
changed here.
- ADR-0084, near line 226, says `form` is not a registered type. It is
about the working names of the 2026-07-01 table, and `form` is
registered now. It is a candidate row for next week's card of this name.
- One internal skill playbook and ui ADR-0056 still use the Studio form
helper's old name. The review of PR objectstack-ai#37366 already recorded both.
- Comments in the console's chat scope helper still describe the
`app:PKG:build` dock key and the Studio copilot.

## Verification

### Read first

1. `docs/adr/0066-unified-authorization-model.md`, the note of
2026-11-28 under D2 ⑧. It is the highest-risk hunk: one long paragraph
on authorization, and it supersedes parts of three earlier notes. Check
the sentences on what another set can still re-open, and the sentence
that stored sets are read with the new meaning and never rewritten.
2.
`docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md`,
the amendment note of 2026-11-28. Check the four cells and their
remedies (enable, enable, name the package, name the package) against
the ruling it quotes.
3.
`docs/adr/0158-units-of-measure-standard-unit-table-org-units-quantity-unit-declaration-base-quantity.md`,
the notes under Open items 6 and 10 and the new Open item 13. Both notes
quote the maintainer, and item 10's records the shape of a new system
object.

### Two-minute check

Run `git diff --numstat origin/main...HEAD` on this branch. Expect ten
rows, nine under `docs/adr/` and one under `ui/docs/adr/`, each with `0`
in the removed column, and 239 added lines in total. Then run `pnpm
check:adr-symbol-anchors` and expect exit 0 with a line that contains
`check-adr-symbol-anchors: 4525 anchors across 164 records resolve`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW)_

<!-- signed: repo:objectstack#1 · os-elon-musk ·
session_016WV4cxRDKprCtjpEdtiPFW -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
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/m 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.

入口专题 C0b:ui ADR-0057 A5(哪些打开方式开新会话、build 例外、抽屉页头)

3 participants