Repository navigation
feat(chatbot): retire the build chat frontend - #37720
Conversation
The build agent is retired. Delete the code that drew its conversation: the proposed-plan, proposed-change, build-result and builder-handoff cards with their detectors and props in plugin-chatbot; the Build Doctor drawer, pending-drafts bar, spreadsheet import bar, maker start chips and empty state, and Studio's copilot panel and topbar entry in app-shell; and the 280 released i18n keys only that UI read. Ask chat (dock and full page) and Studio keep working, and an old /ai/build address still lands on the ask chat. publishHealthFromResponse and PublishHealth stay because the preview's Publish all reads them. Tests that only pinned removed code are deleted; the rest are retargeted to the ask chat. Seventeen tests that reach AiChatPage now preload @object-ui/plugin-grid at module top, which the deleted import bar used to pay for during collection. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjMnLQVLzcho6g8WAL3
…-axvsip # Conflicts: # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.changesCount-11787.test.tsx # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.copilotDoors-12894.test.tsx # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.copilotDraftBadge-12725.test.tsx # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.createAppAccessibleName.test.tsx # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.graphite-37455.test.tsx # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.packageLessFlows-11553.test.tsx # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.publishPosture-12517.test.tsx # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.publishReadOnlyReason-12303.test.tsx # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.rightSlot-12725.test.tsx
…odule check-vi-mock-specifiers flags a vi.mock whose relative path resolves to nothing; #37579 added it against StudioAiCopilot, which this branch deletes. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjMnLQVLzcho6g8WAL3
…-axvsip # Conflicts: # ui/packages/i18n/src/__tests__/de-quote-pairing-3876.test.ts
…and test-only patches Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjMnLQVLzcho6g8WAL3
|
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7 维护者速读
Seat opinion: approve and land. 席位核对Seat L1 verdict: ACCEPT · head
|
|
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7 席位核对 — ACCEPT · epic:#5024#1 · head
|
|
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7 Contract reviewServed-tier: Read: card #37682 (body and all four comments), PR #37720 (body, 223-file list, net diff against merge-base
① Derived judgmentsMeasured by diffing the declarations of base and head, not by the PR body.
② Semver level
③ Boundary flags
④ Design judgmentM1 (must-fix) — stated in ②: the declaration reads S1 (should-fix) — two consumer documents still teach the removed surface, and one ships in the tarball. S2 (should-fix) — S3 (should-fix, by a follow-up card, not in this PR) — Per scoped file:
Nits:
No finding touches the removed files themselves: The FAIL is M1 alone. A head that carries Implemented-by: VERDICT: FAIL |
… page; declare the narrowing The plugin-chatbot README (shipped in the tarball) and the docs page still described the build cards and their props. Both changesets now read Clause-② no (narrowing), and the frontend one names ObjectChatMessage. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjMnLQVLzcho6g8WAL3
|
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7 Contract reviewServed-tier: Delta review. The first-round record on head Check-runs on
① Derived judgmentsThe delta changes no export, prop, type member or key. One judgment moves:
Every other ① judgment of the first round stands unchanged. ② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Nits:
Implemented-by: VERDICT: PASS |
Resolve the conflict with the move-only split of StudioDesignSurface.tsx: take main's split and drop the copilot from studioSurfaceRightSlot.tsx and its consumers, as this branch had done in the unsplit file. The right slot holds only the open item's properties. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjMnLQVLzcho6g8WAL3
|
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7 Contract reviewServed-tier: Second delta review. Earlier records: FAIL on Check-runs on this head are not concluded: 6
① Derived judgmentsNo public-surface change. The four resolved files are internal to ② Semver levelUnchanged. ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Nits:
The verdict is on the merge resolution. It is not a statement that this head's gates are green; they were still running. Implemented-by: VERDICT: PASS |
|
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7 Dogfood battery on
|
|
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7 席位核对 — ACCEPT · epic:#5024#1 · head
|
…nd helpers into chat/ (objectstack-ai#37799) <!-- claude-projects-attribution: {"github_login":"hotlong"} --> _Requested by **Jack** · [project thread](https://claude.ai/code/project/chan_01EF41AQooqveF2DGD8nqPzS?thread=cmsg_01EF41AQooqveF2DGD8nqPzSXwAvEjYZpZeyqoxsu2k7jv)_ Fixes objectstack-ai#37728 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户看到的变化:没有。只把 `ChatbotEnhanced.tsx` 里的类型、子组件和工具函数搬到 `src/chat/` 下 7 个文件,不改行为。 - 为什么:删完 build 后这个文件还有 3335 行,后续对话体验改动都要改它;先拆开,降低冲突和审阅成本(专题 objectstack-ai#37690 的拆分 A,拆分 B objectstack-ai#37729 接着做)。 - 出问题会怎样:最坏是某个导入路径断了,类型检查和测试会直接红;回滚这一个合并即可。 - 需要你做的:改动行数 3870,超过 3000 行,按规则要授权账号批准或你亲手合并。 ## What changes A move-only split of `ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx`: 3335 → 1514 lines. The file keeps the `ChatbotEnhanced` component, `formatMessageProps` and the two `PLAIN_SURFACE_*` constants, and re-exports by name (`export { … } from`, `export type { … } from`, no `export *`) every symbol it exported before. Every existing import path keeps working, so `FloatingChatbot`, `chatMessageAdapter`, `mapMessages`, `renderer`, `toolResultParsers`, `useAiModels`, `useHitlInChat` and the tests are untouched. New modules under `src/chat/`, exactly as the card lists them: | File | Symbols | |:--|:--| | `types.ts` | `ChatbotEnhancedMessage`, `ChatbotEnhancedToolInvocation`, `ChatChart`, `ChatSource`, `ChatbotLabels`, `ChatbotEnhancedProps`, `ChatbotProcessVisibility`, `ChatbotSurface`, `ChatbotModelOption`, `ToolDecisionState`, `TurnLiveness` | | `ModelPicker.tsx` | `ModelPicker`, `drawnMultiplierOf`, `EXPENSIVE_MODEL_MULTIPLIER`, `OUTSIDE_MODELS` | | `liveness.tsx` | `useTurnLiveness`, `LivenessIndicator`, `LIVENESS_QUIET_AFTER_SECONDS`, `useIsOffline`, `formatElapsed`, `ThinkingDots`, `AssistantThinkingMessage`, `MessageAvatar` | | `toolSummary.tsx` | `getToolState`, `getToolStateRank`, `ToolSummaryState`, `ToolSummaryGroup`, `shouldRenderDetailedTool`, `summarizeTools`, `ToolPhaseSummary`, `ToolPhaseStep`, `foldToolPhaseSteps`, `isPlumbingTool`, `PLUMBING_TOOL_NAMES`, `ToolActivitySummary`, `ToolActivitySummaryLabels`, `ToolSummaryIcon`, `getToolSummaryStatus`, `ToolRunningTimer`, `usePhaseElapsed`, `phaseClock`, `SmartToolOutput`, `looksLikeJson` | | `answerLayout.tsx` | `layoutAnswer`, `AnswerBlock`, `AnswerCharts`, `isToolCallPlaceholder` | | `toolRecordWrite.ts` | `writtenRecordOf`, `formatRecordWriteValue` | | `composerNotices.tsx` | `ErrorBanner`, `ComposerNotice`, `SendErrorNotice`, `formatSizeLimit`, `useAiQuotaCopy` | Every top-level declaration of the old file is named in the card, so no private helper had to be placed by judgement and none stayed behind. - **One `phaseClock`.** The module-level `Map` moved with `usePhaseElapsed` into `toolSummary.tsx`; there is no other copy. - **Dependency direction.** `toolSummary → liveness` (`ToolRunningTimer` reads `useIsOffline` and `formatElapsed`), every module → `types`. No new module imports `ChatbotEnhanced.tsx`, and `types.ts` reaches `../mapMessages` with `import type` only. - **Exports.** A moved symbol is exported from its new module only when another file uses it, or when the old file exported it. - **Frozen entries.** `plugin-chatbot/src/index.tsx`, `plugin-chatbot/src/core.ts` and `app-shell/src/index.ts` have an empty diff. The split was generated by a script that works from symbol names (TypeScript AST), not line numbers. It was first run on objectstack-ai#37720's head and re-run on main after objectstack-ai#37720 landed; the second run produced byte-identical files. ## Why Card objectstack-ai#37728, split A of topic objectstack-ai#37690. Upcoming chat changes (feedback, approval cards, a thinking timeline) all land in this file; split B (objectstack-ai#37729) moves `renderToolDetail` next and builds on `toolRecordWrite.ts`. ## Verification ``` git diff --color-moved=zebra --stat origin/main..HEAD .changeset/37728-chatbot-enhanced-split-a.md | 10 + ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx | 1901 +------------------- .../plugin-chatbot/src/chat/ModelPicker.tsx | 219 +++ .../plugin-chatbot/src/chat/answerLayout.tsx | 107 ++ .../plugin-chatbot/src/chat/composerNotices.tsx | 237 +++ ui/packages/plugin-chatbot/src/chat/liveness.tsx | 300 +++ .../plugin-chatbot/src/chat/toolRecordWrite.ts | 35 + .../plugin-chatbot/src/chat/toolSummary.tsx | 471 +++++ ui/packages/plugin-chatbot/src/chat/types.ts | 590 ++++++ 9 files changed, 2009 insertions(+), 1861 deletions(-) ``` The deleted lines and the added lines differ only in import/export lines: comparing the two multisets of the diff, what is not in both is import specifiers, the new re-export block, `export` added in front of moved declarations, and each new file's license header and one-paragraph module comment. Nothing else changed. Readings on head `2ed21c64`, against main `6e8f6637`: - `pnpm run type-check` in `ui/packages/plugin-chatbot` (`tsc --noEmit` and `tsc -p tsconfig.test.json`): exit 0. - `pnpm run build` in `ui/packages/plugin-chatbot`: exit 0. - `pnpm --dir ui exec vitest run packages/plugin-chatbot/ packages/core/src/utils/__tests__/column-identity.ratchet.test.ts`: 70 files, 668 tests passed. - eslint over `ChatbotEnhanced.tsx` and `src/chat/`: 0 errors, 9 warnings. Before the split the file had 2 warnings (one `react-refresh/only-export-components`, one `react-hooks/set-state-in-effect`). The 7 new ones are all `react-refresh/only-export-components`: the card's layout puts components and helpers in the same modules (for example `liveness.tsx` exports `formatElapsed` beside `ThinkingDots`). It is a fast-refresh hint, no gate counts warnings, and splitting further would leave the card's layout. - dispatch-gates, all 32 derived commands: exit 0, including `pnpm --dir ui exec vitest run scripts/` (which covers `one-authority-per-exported-name-6273`), `check-adr-0087-registration --base origin/main`, `check-empty-changeset`, `check-changeset-no-major` and `check:test-source-alias`. Also `pnpm check:changeset-fixed`, `pnpm --dir ui check:new-line-citations` (0 new) and `check-platform-checklist --changed-from origin/main`: exit 0. - `overlap-check`: merges cleanly with main, no open PR shares a file. Changeset: `.changeset/37728-chatbot-enhanced-split-a.md`, `patch` for `@object-ui/plugin-chatbot`, with both declaration lines. --- _Generated by [Claude Code](https://claude.ai/code/session_01Q4EjjMaLacWen8f2akYQCJ)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q4EjjMaLacWen8f2akYQCJ Co-authored-by: Claude <noreply@anthropic.com>
…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>
…g, 56 changesets added) and state what npm publishes (objectstack-ai#38645) <!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9St4eUWHFcCKuRUrCZPperJ)_ Fixes objectstack-ai#38189 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:v19 发布页的 breaking 清单补上 11 月 26 日之后合进来的 56 条改动(其中 30 条还在 main 上、下一次预发布才带上,页上逐条标明),计数和页头的发布状态也改成现在 npm 上的真实情况。 - 为什么做:升级到 19 的人把这页当完整清单用;原清单只数到 19.0.0-next.0 的输入,之后 next.1、next.2 和 main 上的 breaking 改动大多没列。 - 出错会怎样:只改一个文档页,不影响任何代码或发布;某条写错了,读者会被误导,但直接撤回这个改动即可恢复原页。 - 要你做的:无。 ## What changes `content/docs/releases/v19/index.mdx` only. - **Header.** The publication sentence now states what npm answers: `latest` is 18.6.0, `next` is `19.0.0-next.2`; the line's versions on npm are `19.0.0-next.0` (2026-11-26) and `19.0.0-next.2` (2026-11-28). `19.0.0-next.1` was versioned on `main` (30a8047) and is not on npm, so its changes first ship in `next.2`. - **How this list was built.** Re-measured at `6eb23c87` (origin/main at start, 2026-11-29) with the method the page states: `classifyReleaseBullet` over every changeset on `main` — the 1,185 in `.changeset/pre/` (consumed by the next.0, next.1 and next.2 version passes) and the 219 still pending. 159 breaking from 155 PRs: 98 to act on, 61 registered. - **56 new lines' worth of changesets**, each sorted by the classifier into 需手动处理 (27) or 自动迁移 (29), placed under the page's existing topic headings, with three new ones: 需手动处理 → Knowledge; 自动迁移 → Knowledge sources, Sharing and permissions. The 30 still pending carry "— on `main`". - **自动迁移 intro** and **Coming from 18.x step 3**: the registered split restated in changesets (31 on the protocol-19 step, 30 on the protocol-18 step, of 61). - **Callout**: no longer says no prerelease was published. ## Tests The classifier run (script in the dev's scratchpad; it imports `classifyReleaseBullet` from `scripts/release-github-releases.mjs` and feeds each changeset body as a CHANGELOG bullet, `- ` on the first line and two-space indent on the rest), at `b03fd5f5`'s parent tree `6eb23c87` (the diff touches no changeset): <details><summary>Raw counts</summary> ``` ALL 1404 {"manual":98,"migrated":61,"other":830,"added":403,"semantic":12} OLD (in a46efa8 set) 950 {"migrated":31,"manual":71,"other":563,"added":278,"semantic":7} NEW (after a46efa8) 454 {"manual":27,"other":267,"added":125,"migrated":30,"semantic":5} NEW next.0 45 {"other":27,"added":13,"migrated":1,"semantic":2,"manual":2} NEW next.1 138 {"manual":9,"other":80,"migrated":12,"added":36,"semantic":1} NEW next.2 52 {"added":11,"other":38,"manual":3} NEW pending 219 {"added":65,"other":122,"migrated":17,"manual":13,"semantic":2} missing-from-tree of a46 set: none ``` The same function over the 950 files as they stood at `a46efa8c` (`git show a46efa8:.changeset/FILE`): `{"migrated":31,"manual":71,"other":563,"added":278,"semantic":7}`, and 0 of the 950 changed section between `a46efa8c` and `6eb23c87` — the page's first count reproduces exactly. </details> <details><summary>The 57 breaking changesets added after a46efa8 (pass · section · PR · file)</summary> ``` next.0 manual 37477 37004-retire-knowledge-ragflow.md next.0 manual 37491 36964-flow-option-label-filters.md next.0 migrated 37437 35827-data-table-staged-edit-retired.md (already on the page) next.1 manual 37605 31908-p4c-sealed-expiry.md next.1 manual 37640 37604-platform-record-followups.md next.1 manual 37668 37104-knowledge-settings-readers.md next.1 manual 37720 37682-i18n-retire-build-chat-keys.md next.1 manual 37720 37682-retire-build-chat-frontend.md next.1 manual 37818 37608-disabled-holder-publish-rollback-refused.md next.1 manual 37883 37575-first-render-grid-shell-passes.md next.1 manual 37900 36689-mcp-stdio-disabled-package-every-caller.md next.1 manual 37902 37678-knowledge-turso-settings-group.md next.1 migrated 37366 37086-define-metadata-form-rename.md next.1 migrated 37366 37086-form-metadata-type.md next.1 migrated 37371 36055-view-all-stops-voting-on-fields.md next.1 migrated 37513 35143-data-model-publish-checks.md next.1 migrated 37584 37499-disabled-holder-unbound-row-bare-write-refused.md next.1 migrated 37600 36595-related-list-key-under-arrangement.md next.1 migrated 37676 37304-knowledge-source-governed-type.md next.1 migrated 37783 37712-agent-model-provider-retired.md next.1 migrated 37807 35143-seeds-actions-checks.md next.1 migrated 37840 36377-flow-bare-ordering-record-date-arithmetic.md next.1 migrated 37870 37613-book-audience-one-gate.md next.1 migrated 37910 37717-lookup-depends-on-param-computed-field.md next.2 manual 37948 37851-disabled-holder-own-row-publish-rollback-refused.md next.2 manual 38028 managed-email-password-held-off.md next.2 manual 38042 36679-secret-rewrap-confirmation-exit.md pending manual 37896 runtime-object-less-action-no-record.md pending manual 37963 37467-knowledge-title-arm-retired.md pending manual 37982 37907-knowledge-turso-test-connection.md pending manual 38038 38019-knowledge-source-review-follow-ups.md pending manual 38085 37622-related-list-keys-agree-under-arrangement.md pending manual 38180 auth-switches-read-declaration.md pending manual 38209 35879-served-schema-platform-stamped-keys.md pending manual 38268 sec2-wf9p-f12.md pending manual 38269 37752-app-list-edit-with-ai-removed.md pending manual 38310 38041-knowledge-source-closure-system-object.md pending manual 38431 36987-auth-updateuser-returns-void.md pending manual 38452 38377-retire-split-algorithm-version.md pending manual 38580 36057-scenarios-delete-agent-confirmation-names.md pending migrated 37924 37856-ask-ai-action-type-retired.md pending migrated 37929 36495-action-locations-acted-on.md pending migrated 37971 37307-knowledge-source-references.md pending migrated 38001 automation-variable-keys-reserved-segments.md pending migrated 38013 37983-knowledge-source-save-needs-the-service.md pending migrated 38060 37961-knowledge-source-unmounted-adapter-refused-at-save.md pending migrated 38096 34562-record-structural-lint.md pending migrated 38107 35143-views-dashboards-checks.md pending migrated 38145 37214-chart-series-measure-format-refused.md pending migrated 38168 36544-form-view-modal-size-retired.md pending migrated 38216 33912-share-unknown-recipient-ledger.md pending migrated 38216 33912-share-unknown-recipient.md pending migrated 38273 33806-pending-confirmation-service-one-seam.md pending migrated 38299 35924-publish-reparses-object-draft.md pending migrated 38398 37753-build-progress-frame-retired.md pending migrated 38470 38369-knowledge-held-without-embedder-or-store.md pending migrated 38545 38150-adopt-orphans-door-retired.md ``` PR = the `(#N)` of the commit that added the changeset (`git log --diff-filter=A`). The pass is the version commit that moved the file into `.changeset/pre/`: next.0 33a31dc, next.1 30a8047, next.2 9d111a7 (`packages/spec/package.json` reads `19.0.0-next.0/1/2` at each). </details> <details><summary>Page cross-checks</summary> - Every one of the 155 PRs behind a breaking changeset is linked on the page (0 missing), and the page links no PR outside that set. - Each of the 30 pending changesets sits on a line carrying "— on `main`", and no published one does. - `!`-titled first-parent commits since 18.6.0 (958ee03) to `6eb23c87`: 135 (87 to `a46efa8c`, as the page said); all 135 are in the list. - Registered markers resolved to their entry files (`packages/spec/src/migrations/entries/*/N.*`, `packages/spec/src/conversions/entries/N/`, and metadata-core's forward conversion for `permission-view-all-fields-beside-record-bypass`): the 30 registered changesets added after `a46efa8c` name 39 ids, all on step 19; the 31 before it name 33 ids, 32 on step 18 and `protocol-18-range-refused` on step 19. </details> ## Acceptance notes - **Pending changesets are in the list.** The card's done-when covers every changeset between `a46efa8c` and the measurement sha; 30 of those are still in `.changeset/` and ship in the next cut, so their lines are marked "on `main`" and the intro says so. - **`19.0.0-next.1` is not on npm.** `npm view PKG versions` for `@objectstack/spec`, `core`, `cli`, `runtime` and `@object-ui/i18n` lists `19.0.0-next.0` and `19.0.0-next.2` only. The header states that fact and no more. - **The registered split is now counted in changesets, not entries.** The old page said 41 registered entries, 39 on protocol 18. Counting the ids in the registered markers gives 33 at `a46efa8c` (32 on step 18), so the 41/39 could not be reproduced from any stated method. The rewritten intro and step 3 count changesets (31 on step 19, 30 on step 18, of 61), which match the bullets one to one. - **Followed the classifier where a title has no `!`:** objectstack-ai#37605, objectstack-ai#37883, objectstack-ai#37963, objectstack-ai#38209 and objectstack-ai#38269 are breaking by their banner or their `(narrowing)` arm; objectstack-ai#38209's Clause-② reads "no (narrowing …)", which the classifier counts as breaking although the body says nothing a client sends is refused. Listed as classified; no changeset changed. - **objectstack-ai#37513** merged before the next.0 cut but its changeset was consumed by next.1 (its body says the next.0 CHANGELOG missed it). - **One line, several changesets**: objectstack-ai#37720, objectstack-ai#37366 and objectstack-ai#38216 each carry two changesets; objectstack-ai#37818 with objectstack-ai#37948, objectstack-ai#38038 with objectstack-ai#38310 and objectstack-ai#38013 with objectstack-ai#38060 share a line. The existing 102 lines were not rewritten. - **Counts on a release page**: each is anchored to a named measurement sha, the snapshot the card asks for; it is not a count kept in sync with the tree. - **objectstack-ai#37437** (closed card objectstack-ai#37922's bullet) is not added twice. - **Check Changeset** will be red: this docs-only PR publishes nothing from any package, the `skip-changeset` case, and the dispatch opens it without labels, so that label is the seat's to apply. ## Verification Read first, by risk: the method paragraph and header (`index.mdx` lines 6-47), the 自动迁移 intro, then the new 需手动处理 → Knowledge block. Two-minute check: `git show 6eb23c8:.changeset/pre/37851-disabled-holder-own-row-publish-rollback-refused.md | head -12` shows the `fix(metadata-protocol)!` summary and the BREAKING banner behind the objectstack-ai#37948 line; `npm view @objectstack/spec dist-tags` prints `{ latest: '18.6.0', next: '19.0.0-next.2' }`. <details><summary>Local gate readings at b03fd5f</summary> ``` dispatch-gates --commands at b03fd5f: 52 commands (1 path changed) first pass: 47 exit 0; 5 exit 3/1 = PREREQUISITE NOT MET (lint, spec, client-react unbuilt), re-run after building the closures under os-verify-lock (VERDICT command-exit 0 both): pnpm --filter '@objectstack/lint...' build ; pnpm --filter '@objectstack/client-react...' build final: 52 of 52 :: exit 0 ✓ dispatch-gates --ran: 52 derived famil(ies) accounted for — 52 run, 0 NOT-MEASURED (a DERIVED zero — all 52 recorded an exit code and none of them is 3). check-release-page-status: OK — 3 GA major(s) in scope (v16, v17, v18) ``` </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01ADHkmRar3Kkg6SpwVgaaVE <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmRar3Kkg6SpwVgaaVE --> Co-authored-by: Claude <noreply@anthropic.com>
…s five records) (objectstack-ai#38774) <!-- claude-projects-attribution: {"github_login":"os-support-ai"} --> _Requested by **Yibo Wang** · [project thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBHuLciv5hYVYUu4pypDP48J)_ Part of objectstack-ai#38438 Clause-②: no Metadata-protocol: none This pull request carries seven of the card's nine rows. The two ADR-0161 rows stay on the card; see "Rows not carried". ## 维护者速读 - 用户能看到什么变化:用户无感;只在五份设计记录里补了七条带日期的说明,写明主线现在实际怎么做,原有的决定文字一个字没动。 - 为什么做:属于「每周设计记录修订」滚动清单(11 月 29 日这一周);清单每一行指出一处「记录写的和主线不一致」或「记录留给某项工作回答、那项工作已经做完」,这次把代码已在主线的七行一并补齐。 - 出错会怎样:最坏是某条说明写得不准,照着设计记录干活的人会被带偏;纯文档、只增不删,可以直接撤回,不影响任何功能。 - 要你做什么:请审这七条说明并批准一次(设计记录须由你本人批)。 ## What changes Five ADR files gain seven notes dated 2026-11-30. Every diff line is an addition: 62 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, and each says that the passage it is read with is left as written. Each row's "what is true now" was read against the code on `main` before its note was written. Where a row's wording did not match the tree, the note says what `main` does; the last column says so and the list under the table gives the detail. | ADR · section | Was (the record's words) | Now (what the note records) | Source PR | Row on the card · result | |:---|:---|:---|:---|:---| | ADR-0084 · amendment of 2026-11-28, item (3) | "one landing for every door is not ruled"; the command palette's package entries, an app's design-in-Studio entry, the empty menu's entry and Setup's doors "still open the object list" | One landing is ruled: ruling record 7247357556 on objectstack-ai#37958, the maintainer's 「OK」, quoted with its question. Every door lands on the package's overview, `/studio/PACKAGE/overview`. `/studio/PACKAGE/data` stays a working address for the object list. The review-changes deep link still opens the Changes drawer over the object list and is read as no door, by a seat reading and not by a ruling | objectstack-ai#38501 | Card body row and 7252442785 · **written, corrected to the tree** (two labels, the date) | | ADR-0084 · the note of 2026-11-29 on the `form` row (near line 219) | "The same change takes the type off the directory's hidden types and brings its designer" | True of card objectstack-ai#37087, loose for the change: objectstack-ai#38484 brought the designer, and objectstack-ai#38619, which wrote the row, lists the type (off the hidden types, a place in the menu) | objectstack-ai#38484, objectstack-ai#38619 | 7258423977 · **written as an added note** (the row says "Reword") | | ADR-0037 · TL;DR item 2 and the "What already exists" table | "the streaming build tree (`data-build-progress` parts)", and a table row that marks "`data-build-progress` stream parts" shipped | The build-progress stream frame is retired. Its reader left with the build chat frontend, its producer with the cloud build loop, and its declaration left `@objectstack/spec/ai`. The upgrade guidance is the migration entry `ai-build-progress-frame-retired` | objectstack-ai#38398 (reader: objectstack-ai#37720) | 7250363289 · **written** (one sentence beyond the row) | | ADR-0150 · the note of 2026-11-26, bullet "Reads stay the missing name" | "Three reads at `_env` still answer `409` at this head (`?state=draft`, `?preview=draft`, `?layers=true`), and card objectstack-ai#34261 carries their move to `404`." | The move has landed. For a name only disabled packages hold, each of the three answers its own `404` and names no package, on both transports. An enabled package's stored draft that the plain read does not see keeps the `409` for the two draft reads | objectstack-ai#38633 | 7259890438 · **written, corrected to the tree** (codes and callers made exact) | | ADR-0150 · D4, the engine's flow-map row | The table keys the engine's flow map by `(package, name)` and says nothing of the status rows read from it | Each status row carries the `packageId` of the engine slot it reads, so `(packageId, name)` names one row. The toggle door reads back the row of the slot it switched, and echoes the request only where the reading cannot name that flow | objectstack-ai#38652 | 7266385586 · **written** | | ADR-0085 · the note of 2026-11-27 | "Neither key is in the spec yet: `ObjectSchema` is strict and refuses both until objectstack-ai#37792 lands `pinOverview` and objectstack-ai#37802 lands `fieldTabs`." | `pinOverview` is in the spec, an optional boolean on `ObjectSchema`; `false` means the desktop full record page never pins. An object extension does not carry the key. `fieldTabs` is still refused | objectstack-ai#38679 | 7271302663 · **written**, no `fieldTabs` line | | ADR-0146 · the note of 2026-11-24 (near line 908) | "A `.custom` package that is not the object's pair is not applied, and the boot log names it." | Maintainer ruling 7268226134 on objectstack-ai#36548, item 5, arm (c), verbatim 「保存和安装都拒绝」. A non-pair `.custom` package that writes `fieldGroups`, `relatedLists` or `actionLayout` on an object extension is refused at the save, the restore, the draft promotion, a package duplicate and marketplace install. Where no door can read the installed packages, the sentence stands | objectstack-ai#38706 | 7272564306 · **written, corrected to the tree** (statuses; the duplicate's answer corrected in patch round 1) | ### Rows not carried - **ADR-0161, two rows** (Consequences, "The service keeps none of its own"; K7 components table, "Split algorithm version"). The claim for this pull request leaves that file out, because pull request objectstack-ai#38764 was open on the same record when the claim was written. objectstack-ai#38764 merged at 2026-11-30T13:15:16Z, while this branch was being verified, and the prerequisites both rows name (objectstack-ai#38307, objectstack-ai#38401, objectstack-ai#38375, objectstack-ai#38452) are merged. Pull requests objectstack-ai#38730 and objectstack-ai#38732 (card objectstack-ai#38692) are still open and both write ADR-0161, so that record still has other writers. By the seat's call on the card (comment 7280598106) the two rows stay on objectstack-ai#38438 behind them, and this pull request is `Part of objectstack-ai#38438`. - **ADR-0085, a `fieldTabs` line.** Its pull request, objectstack-ai#38742, was open and a draft when this was opened (read at 2026-11-30, head `59220bf331`). The card says that line follows when it merges. Every prerequisite of the seven rows is merged on `main`: objectstack-ai#38398, objectstack-ai#38501, objectstack-ai#38484, objectstack-ai#38619, objectstack-ai#38633, objectstack-ai#38652, objectstack-ai#38679 and objectstack-ai#38706. The newest comment on the card when this was opened is the claim, 7279134045; a row added after it is not in this pull request. ### Where a note differs from its row - **ADR-0084, item (3).** The row names Setup's doors "Open in Studio" and "Customize in Studio". The labels on `main` are "Open in App Studio" and "Customize in App Studio", and the note uses them. The proposed text was dated 2026-11-29; the note is dated 2026-11-30, the day it was written into the record. The note names the three Setup doors one by one and says of the review-changes deep link what the row says: no door, by a seat reading, not by a ruling. - **ADR-0084, the `form` row.** The row says "Reword". The card's rule is that a row lands as an added dated note, so the 2026-11-29 note stays as written and a note under it says which pull request did which half. - **ADR-0037.** One sentence goes beyond the row: Phase 2's first invalidation source, the `buildProgress.items` diffs, was the same signal as the chat held it, and no code under `ui/` holds it any more. Cut it if the note should carry the row alone. The note also names the producer's retirement in the cloud repository and what a host does that still streams a progress part of its own. - **ADR-0150, the reads.** The row's proposed sentence gives `404` for `?preview=draft` and `?layers=true`. The note gives the code the tree answers, `404 RESOURCE_NOT_FOUND`, says that these are the answers to a caller admitted to the switch, and that a caller who is not admitted gets the plain read's `404`. It adds two facts from the tree: a package-less draft is withheld while a disabled package holds the name, and the layered view answers `404` under the leak guard. - **ADR-0150, D4.** The note spells out the three cases where the toggle door still echoes the request. The row's proposed sentence leaves them out. - **ADR-0085.** The row offers a "Built by" line in the style of an earlier note. The note carries it and also restates what `false` does and why an object extension does not carry the key, both from the row's own "what is true now". - **ADR-0146.** The row gives one code for every door. The tree answers `VALIDATION_ERROR` with status 400 at the save, the restore and the draft promotion, and with status 422 at marketplace install, with nothing installed. A package duplicate saves each copied row through the save door and lists a refused row in its own `failed[]`, with the save door's sentence and no code, storing nothing for that row. The note says all three, and that no error code is minted. ## Patch round 1 (head `04cc5911`) The contract review at `947b7e64` (comment 7280965486) passed with one should-fix: the ADR-0146 note put `VALIDATION_ERROR` / 400 on the package duplicate. Commit `04cc5911` corrects this branch's own 2026-11-30 note to the tree (`duplicatePackage` reports the refused row in `failed[]`) and adds one sentence from item 3 of ruling 7268226134 (a target whose owner the door does not know is not judged by role). Only that note moves: +9 / -3 inside it, and the branch is still +62 / -0 against `main`. Dev report: card comment 7281379369. Sections below that name `947b7e64` record the first round. ## Tests Docs only. No package source is touched, so no package test and no type check is owed for the change. No tested behaviour changed, so there is no ablation. Checked on the committed text at `947b7e64`: - Each phrase a note quotes from its ADR is in that file as it stands on `main`. A script compared them. One quotation, in the ADR-0085 note, reads as the sentence renders: the record links its two card references and the quotation does not. - Each verbatim maintainer quotation was compared with its record on GitHub (7247357556 and 7268226134). - Each path a note cites exists on the tree. The one exception is deliberate: the ADR-0037 note names `packages/spec/src/ai/build-progress.zod.ts` to say that the module is gone. - Each test title a note quotes is in the test file the note names. - A probe on the spec source: `ObjectSchema` accepts `pinOverview: false`, refuses `pinOverview: "no"`, and refuses `fieldTabs` as an unrecognised key; `ObjectExtensionSchema` refuses `pinOverview` as an unrecognised key, with its guidance. - Upstream moved four commits while this was written. The branch merges `main` at `f576dee5`; none of the four touches one of the five files or a path a note cites. `overlap-check` answers `VERDICT clean exit 0` against that `main`, and no open pull request shares a file with this branch. Two tests read these records from disk. Both were run on `947b7e64` under the verify lock, after building what each needs: - `ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.test.ts` reads ADR-0084's type table: `Test Files 1 passed (1)`, `Tests 21 passed (21)`. - `packages/qa/scenarios/test/score/entry.test.ts` reads ADR-0150's D1 table: `Test Files 1 passed (1)`, `Tests 14 passed (14)`. Its first run answered `Failed to resolve entry for package "@objectstack/types"`, a missing build in the fresh worktree and no verdict on this change; it passed once that package's build closure was built. The local gate set is the `dispatch-gates --commands` derivation for this change set, 21 commands, run on commit `947b7e64` (patch round 1 ran the same 21 on `04cc5911`, all exit 0). Each exit code was captured before any pipe. Reconciliation: `Run reconciliation — 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN`. The same 21 were derived and run on the commit before the merge, with the same result. <details><summary>ADR gates on 947b7e6 (all exit 0)</summary> | Command | Exit | Verdict line | |:---|:---|:---| | `pnpm check:adr-symbol-anchors` | 0 | `check-adr-symbol-anchors: 4597 anchors across 165 records resolve`, 0 line anchors survive. On the base commit the gate read 4570, and 4593 with this change alone; the other four come with `main`. | | `node scripts/check-adr-links.mjs` | 0 | `check-adr-links: 1284 relative link destination(s) under docs/adr/ resolve` | | `node scripts/check-adr-links.mjs --self-test` | 0 | | | `pnpm check:adr-anchors` | 0 | `check-adr-anchors: OK (135 anchored file(s), every governing ADR still referenced` | | `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 29015 text file(s)`, no raw control bytes | | `pnpm check:closed-ceremony-text` | 0 | | | `pnpm check:pm-governed-merges` | 0 | | | `pnpm --filter @objectstack/lint run check:doc-formula-expressions` | 0 | run after building `@objectstack/spec`, `@objectstack/formula` and `@objectstack/lint` under the verify lock | </details> <details><summary>The other derived families on 947b7e6 (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-prior-rulings`, `pnpm check:refd-timer-probe`, `pnpm check:watch-hint-literal`. Before the last push: `node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD` exit 0, two commit messages (three after patch round 1, also exit 0), no card relation and no model identifier in the trailer pair. </details> <details><summary>A local-only reading that is red for a reason outside this change</summary> `pnpm check:dev-prereqs` exits 1 in this worktree: "The workspace is not built", 105 of 110 workspace packages have no build output. It judges the machine and not the diff, CI does not run its scan, and a fresh worktree that builds only what a docs change needs reads this way. It is not in the derived list. </details> Not run locally: the repository test project behind `test:repo`, and every package suite. CI runs them 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/**` ships in no package. - **Governed surface.** `docs/adr/**` lands on the maintainer's approval. This pull request stays a draft; the seat arranges the review at the tier this surface owes and hands it over. - **Why "Part of".** The card says it ends when its pull request merges. Two of its rows are not here, so merging this one must leave the card open. - **Seen and left alone.** These are outside the seven rows and are not changed here. - ADR-0037's Status line says all four phases are implemented. On this tree the console's canvas-invalidate signal has a subscriber and no publisher: nothing calls the bus function that emits it. It is a candidate row for the card of this name. - ADR-0150's D4 note of 2026-11-10 gives its own end condition, an earlier card landing. That card ended on 2026-11-12, and the record carries no line that says so. A possible row; not judged here. - Comments in the chat plugin still name the retired build-progress part, and one test fixture uses the name as an open `data-` part. Not a record, so not a row. ## Verification ### Read first 1. `docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md`, the note of 2026-11-30 under the note of 2026-11-24. The highest-risk hunk: it quotes a maintainer ruling, and it draws the line between the doors that refuse and the places where the old sentence still stands. Check the two statuses and the list of places with no door. 2. `docs/adr/0084-application-builder-information-architecture.md`, the amendment of 2026-11-30 under the amendment of 2026-11-28. It quotes a maintainer ruling and lists every door; check the list, and the sentence on the review-changes deep link, which records a seat reading and says so. 3. `docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md`, the first amendment note of 2026-11-30. Check the three answers, who gets which, and the leak-guard paragraph against the tests it names. ### Two-minute check Run `git diff --numstat origin/main...HEAD` on this branch. Expect five rows under `docs/adr/`, each with `0` in the removed column, and 62 added lines in total (2, 4, 18, 28 and 10). Then run `pnpm check:adr-symbol-anchors` and expect exit 0 with a line that contains `anchors across 165 records resolve`. --- _Generated by [Claude Code](https://claude.ai/code/session_01WGufzhPdWmTd47Fi2bKYZS)_ <!-- signed: repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Jack · project thread
Fixes #37682
Clause-②: no (narrowing)
Metadata-protocol: none
Skills-docs: updated here
维护者速读
What changes
The build agent's chat frontend is deleted. Ask chat (dock and
/ai/ask) and Studio keep working;/ai/build/…addresses still redirect to the ask chat.@object-ui/plugin-chatbot: the build-only cards (proposed plan, proposed changes, build result and publish line, builder handoff, designing-plan wait), their detectors, the build-progress mapping and the 59 props that fed them.@object-ui/app-shell: the Build Doctor drawer, the pending-drafts bar, the spreadsheet import bar, the maker start chips and empty state, Studio's copilot panel and topbar entry, and the build branches inAiChatPage,ChatDockandConversationsSidebar.@object-ui/i18n: the 280 released keys only that UI read, and the zh-Hant generator'sGATE_ONLY_KEYS, which had nothing left to leave out.publishHealthFromResponse/PublishHealthstay: the preview's Publish all reads them.Both changesets say the removal is breaking (
!in the summary line, a BREAKING banner andClause-②: no (narrowing)). Theplugin-chatbotREADME, which ships in the tarball, andcontent/docs/frontend/plugins/plugin-chatbot.mdxno longer describe the removed props and fields. The ADR-0087 marker isruntime-export-retiredfor the package exports andno-migration-prescriptionfor the keys;check-adr-0087-registrationpasses.Removed published exports, by package
@object-ui/plugin-chatbot(root entry)detectDraftResult,detectProposedPlan,detectProposedChanges,detectBuilderHandoff,detectBuiltAppPackage,detectAuthoringVerdict,detectReplayOutcome,buildProgressFromDraftReviewDraftReview,ProposedPlan,ProposedChanges,BuilderHandoff,ReplayOutcome,PublishOutcomeChatbotEnhancedToolInvocation(andSeamToolInvocation):draftReview,proposedPlan,proposedChanges,builderHandoff,replayOutcomeChatbotEnhancedMessage(andSeamChatMessage):buildProgress,blueprintProgressChatbotLabels:designingPlanLabel,designingPlanHintsFloatingChatbotPropsandChatbotEnhancedProps(59 each, the same set):onBuildMaterialized,onBuildResult,onDesignBuiltApp,onDiscardDrafts,onDraftArtifacts,onOpenBuilder,onOpenBuiltApp,onPlanApprovalPendingChange,onPreviewDraft,onPreviewDraftApp,onPublishDrafts,onReviewDraft,onReviewDraftsbuilderHandoffOpenLabel,builderHandoffSupersededTitle,builderHandoffTitleLabel,changesAppliedLabel,changesApplyingLabel,changesConfirmedLabel,changesConfirmHintLabel,changesConfirmLabel,changesConfirmMessage,changesDraftedLabel,changesFailedLabel,changesTitleLabel,changeVerbLabels,designBuiltAppLabel,nextStepsLabel,openBuiltAppLabel,planAdjustLabel,planAnswerMessage,planApproveDefaultsMessage,planApproveHintLabel,planApproveLabel,planApproveMessage,planAssumptionsLabel,planBuildingLabel,planBuildNewAppMessage,planBuiltLabel,planDeferredLabel,planExtendExistingMessage,planExtendLabel,planQuestionsLabel,planReadyLabel,planTitleLabel,previewDraftLabel,publishDraftsLabel,publishedLabel,resolveAppLabel,resolveFieldLabel,resolveFieldTypeLabel,resolveObjectLabel,toolReviewLabel,verifiedLabelautoPublishDrafts,fetchPendingDraftCount,getArtifactAction,publishFromShellBar,subscribeMetadataRefresh@object-ui/plugin-chatbot/corePublishOutcome@object-ui/app-shellConversationsSidebarpropincludeAskConversations(the sidebar lists the active agent's conversations)@object-ui/i18n@object-ui/i18n@18.6.0: 271 language-pack keys (209 from all eleven locales, 6console.ai.*Messagekeys from en and zh-Hans, the rest with their plural siblings) and 9engine.studio.copilot.*/ slot keys of the Studio namespace. The full list is in.changeset/37682-i18n-retire-build-chat-keys.md.Tests
outbound-agent-messages, the three maker scope tests, the zh-Hant gate test).useChatConversationcache sanitising now uses a plain tool invocation; theAiChatPageruntime-message seam test uses the ask agent and a pending approval;ChatDockrequest-context pins that a build agent in the catalog binds no package; the ChatDock menu test pins Share and Expand with no build doctor.Acceptance notes
Four leftovers are deliberately not in this PR. They are not build UI, and removing them reaches past this card's surface. The seat decides which ones to file:
chatDockTarget.ts(BuilderHandoffState,ChatDockHandoff,ambientAppPackage),chatDockControl, the handoff inuseConsoleChatDock, andAiAddressRedirect's handoff branch. Nothing sets a handoff any more.assistantBus,usePlanApprovalPending, and the pending marker onAssistantTopBarButton. Nothing raises plan approval any more.hooks/surfaceAgent.ts, anduseChatConversation'srekeyScopeand legacy options that only served them.ChatDockConversationalways sendsshowDebug: falsenow that the Build Doctor drawer is gone, andchatDockTarget'sshowDebugfield has no reader.One more build entry outside this diff:
ui/apps/console/src/pages/system/AppManagementPage.tsx:691still draws an ungated "Edit with AI" button that opens{ agent: 'build', packageId }. It behaved the same on main once build closed, so it is not this diff's regression; the seat files it.Smaller stale text, also left: a historical comment in
ui/scripts/check-eager-closure-budget.mjsnaming the deleted bars, the pendingui/.changeset/12724-plan-card-posture.mdthat describes the deleted plan card, and comments in the preview'susePublishAllDrafts.Verification
Read first:
ui/packages/plugin-chatbot/src/index.tsx(the export list),ui/packages/app-shell/src/console/ai/AiChatPage.tsx(the ask-only path that stays), and the two changesets.Two-minute check:
pnpm --dir ui exec vitest run packages/app-shell/src/layout/__tests__/ChatDock.requestContext-30043.test.tsx packages/app-shell/src/console/ai/__tests__/AiChatPage.runtimeMessageSeam.test.tsx(the dock binds no package for a build agent; the full page keeps its approval seam).Main was merged in after #37579 landed (Studio's top-left rows). Nine Studio tests conflicted. Main's new tests that assert the copilot and its AI assistant button were dropped with it; the rest keep main's assertions, and the right slot's toggle stays the title row's only control.
Two dispatch-gate fixes this change needed:
check-test-source-alias: 17 tests that reachAiChatPagenow load@object-ui/plugin-gridat module top. The deleted spreadsheet import bar used to load it during collection; without it, the page's ownimport('@object-ui/plugin-grid')would be paid inside a clocked case.check-hand-rolled-comment-mask: the DEBT entry forconsole-namespace-3546.test.tsxis deleted, because the code that carried it went with the build keys.check-vi-mock-specifiers: thenoTopBar-37456suite's mock of the deletedStudioAiCopilotis dropped.Local readings
pnpm console:build: 81 of 81 tasks succeeded.tscin app-shell, bothtsconfig.jsonandtsconfig.test.json: exit 0 on the merged head.eslint
--quietover the 128 changed.ts/.tsxfiles: 0 errors.Affected suites before the merge: 707 files, 6156 tests passed.
After the merge,
packages/app-shell/src/views/studio-designpluspackages/i18n: 386 files, 4184 tests (4170 passed, 13 skipped, and 1 failure fixed and re-run green).pnpm --dir ui exec vitest run scripts/: 174 files (171 passed, 2 skipped, 1 failed: the vi.mock gate above, fixed, and its file re-run green with 57 tests).dispatch-gates: all 42 derived commands ran before the merge. Three failed and were fixed (ADR-0087 marker, test-source-alias, the scripts suite). On the merged head,
check-adr-0087-registration --base origin/main,check:test-source-alias,check:i18n-keys,check:i18n-driftand the scripts suite were re-run and exit 0.check-platform-checklist --changed-from origin/mainandcheck:new-line-citationsalso exit 0.check-i18n-dead-keys: no new dead key, and 16 fewer than base.The full ui suite with
--maxWorkers=3was still running at push time. Its first attempt, run alongsideconsole:build, was killed for memory. CI's sharded run is the verdict; the local result goes in the card report.Dogfood battery (
pnpm --filter @objectstack/dogfood testunderos-verify-lock, closure built first) on head18cec5f4: running; the reading goes in the card report.After feat(plugin-grid,core): the Import Wizard names the column a lookup cell was scoped by; a scope no read could filter by says so #37706 landed, main was merged again: the de-quote-pairing pin is 129 (135 minus this PR's six spans).
overlap-check: main merges cleanly. Two textual conflicts with open PRs outside epic cloud#5027:de-quote-pairing-3876.test.ts: a count pin, 133 → 127 here and 133 → 135 there.StudioDesignSurface.tsx: a move-only split of the file.Whichever PR lands second takes the other's change.
Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4EjjMnLQVLzcho6g8WAL3