Repository navigation
fix(metadata-protocol)!: refuse the bare publish and rollback of a name only disabled packages hold, with or without a package-less row (#37851) - #37948
Conversation
…d on main) Claude-Session: https://claude.ai/code/session_01L9qibz3J6vDGdnFpMq3hkm Co-authored-by: Claude <noreply@anthropic.com>
…ly disabled packages hold, with or without a package-less row Claude-Session: https://claude.ai/code/session_01L9qibz3J6vDGdnFpMq3hkm Co-authored-by: Claude <noreply@anthropic.com>
…refuses DELIBERATE CORRECTION of the pending 37608 note's "Not moved" sentence, which listed these three cells as left open. Claude-Session: https://claude.ai/code/session_01L9qibz3J6vDGdnFpMq3hkm Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check3 anchor(s) derived from 2 changed package(s); no hand-written page names any of them. What this run could not see
Coarse fallback — 178 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin a6c2af99cf68145e7c7a38691cebec1e6f2384b8 && git checkout a6c2af99cf68145e7c7a38691cebec1e6f2384b8
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 30a8047bad6e264762dd41ded7f1290c1224afc6 c488ff99123111d89265945da375edec2882bf56 && git checkout -B drift-repro 30a8047bad6e264762dd41ded7f1290c1224afc6 && git merge --no-ff c488ff99123111d89265945da375edec2882bf56
node scripts/docs-audit/affected-docs.mjs --json 30a8047bad6e264762dd41ded7f1290c1224afc6 |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 0480711 · 2026-11-27T13:22Z L1-a (the seat's L1 thread) runs the isolated |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Read: card #37851 and its four comments (measurement 7216513948, ruling 7216539589, claim 7217032154, os-dev report 7219375856), the PR body and both PR comments, the net diff 73d5e34..0480711 (7 files, +174 −35), and the 68 check-runs on the head as of 13:28Z. ① Derived judgmentsEvery answer the diff moves, all for a type the registry reads by package, no package named, every holder of the name disabled. Each is judged against ruling A (7216539589).
② Semver levelClause-②: no (narrowing) — on the PR body and on the new changeset, with
DELIBERATE CORRECTION of The three conditions for carrying the red:
Migration entry 19, sentence by sentence:
③ Boundary flags
④ Design judgmentThe narrowing makes the spec's own refusal real; it takes no declared capability away. ADR-0150 D3 on Attempts to break it, by code read:
No must-fix, no should-fix. Nits, each fixable on the changeset alone or left as a follow-up:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 The filled brief the record above was rendered from (L1-a, isolated Contract review brief — PR #37948 @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibz3J6vDGdnFpMq3hkm
Why it isn't this PR's:
What the reading suggests (not reproduced): the headers carry
|
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 8725be7 · 2026-11-27T15:35Z L1-a runs the merge delta of record 7219552890 on this head, by the same |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Merge delta of record 7219552890 (head 0480711). This head is a merge commit: first parent 0480711, second parent Read first: ① Derived judgments
② Semver levelClause-②: no (narrowing) — unchanged on the PR body and the new changeset. DELIBERATE CORRECTION, re-judged at this head. The rewritten "Not moved" sentence of The three conditions at this head:
The confirmation does not carry past the next merge. On ③ Boundary flags
④ Design judgmentUnchanged from 7219552890: the narrowing makes ADR-0150 D3's own refusal real and takes no declared capability away. The merge adds nothing to the design and nothing No must-fix, no should-fix. N1, N2 and N3 of 7219552890 are still open as nits; no file they name changed. Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1 REWORK (merge owed) at What blocks.
Next. Merge, resolve, run the battery, and announce the green head. The same reviewer then runs the delta (the |
…37851 note states the correction #37661 consumed .changeset/37608-disabled-holder-publish-rollback-refused.md into 19.0.0-next.1 and moved it to .changeset/pre/. Per the seat's ruling (.changeset/pre/ texts stay as written), this PR no longer edits it; the #37851 note now names what that note's "Not moved" list says and what holds from this release on. Claude-Session: https://claude.ai/code/session_01L9qibz3J6vDGdnFpMq3hkm Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head c488ff9 · 2026-11-27T15:44Z L1-a runs the delta of records 7219552890 / 7222332137 on this head, by the same |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Second delta of records 7219552890 (head 0480711) and 7222332137 (head 8725be7). This head is c488ff9 on the merge 63abdfd (8725be7 with ① Derived judgments
② Semver levelClause-②: no (narrowing) — unchanged on the PR body and in the changeset, with The reworded "Not moved" paragraph, sentence by sentence.
The DELIBERATE CORRECTION class no longer applies to this PR. It edits no changeset that exists on its merge base, so there is nothing red by design to confirm and the three conditions are moot. My earlier confirmations (7219552890, 7222332137) covered the edit of the then-pending note and are superseded by this record. The correction now lives in the new note alone, and the narrowing's declarations hold in that form: the note of the release that changes the behaviour names the released sentence it supersedes and states what is now true. One consequence stays open and is not this PR's to settle: on ③ Boundary flags
④ Design judgmentUnchanged: the narrowing makes ADR-0150 D3's own refusal real and takes no declared capability away. This delta changes release prose only. Stating the correction in the releasing note instead of rewriting a released one is sound: the No must-fix, no should-fix. Nits:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Seat ruling 2026-11-27T15:53Z: Option B. The consumed
|
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1 ACCEPT at Contract review. Record 7219552890 on
Face. CI at this head: 60 success, 13 expected skip, 0 failed, 0 pending (including For the approver.
Nits.
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Recorded 2026-11-27T16:26Z.
席位意见:可以合。三格都先在 main 上测出会写(pin 先提交,main 上 5 红 9 绿),修后 14/14 绿;dogfood 在最终 head 上跑过。L1-a 的 N5(更正句里"a rollback of a package-bound row"靠"as listed above"限定范围)不改,意思不变,不值得再动 head 重跑一轮。 席位核对 — ACCEPT · repo:objectstack#3 · head
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU 维护者速读
|
…ject-schema headers, not the first render (objectstack-ai#37981) <!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoKVUc6H29jLDJsTfYRni5MR)_ Fixes objectstack-ai#37972 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户无感:只改了列表页的一个自动化测试,产品行为不变。 - 这个测试在慢的检查机上会偶发失败,挡住了与界面无关的修复合并;修好后这类合并不再被它卡住。 - 出错的话只是这个测试再次偶发失败,删掉本次改动即可撤回,不影响任何用户。 - 要你做什么:无。 ## What changes `ui/packages/plugin-list/src/__tests__/ListView.inlineFlsNoop-6723.test.tsx`, the UNAUTHORED case only. The rows can paint before the object schema arrives. Until it does, `objectSchema` is null, so `generateColumns()` answers from the row keys on the inline-data path (`ui/packages/plugin-grid/src/objectGridGenerateColumns.tsx:783-784`): `Id` shown, `Amount` dropped by the objectstack-ai#6723 gate. The case took the first non-empty header set, so on a slow runner it read that render and failed with `expected [ 'Id', 'Opportunity Name' ] to not include 'Id'` (PR objectstack-ai#37948, jobs 140512339260 and 140529997984). The case now waits until the headers equal the object-schema set, `['Opportunity Name']`, before it asserts. The three assertions after the wait (`toContain('Opportunity Name')`, `not.toContain('Amount')`, `not.toContain('Id')`) are unchanged. No other case changes; the CONTROL case's `toContain('Amount')` stays as it is. No source file changes. The file is not published (test-only), so `skip-changeset`. ## Tests All runs from `ui/`: `pnpm exec vitest run --maxWorkers=2 packages/plugin-list/src/__tests__/ListView.inlineFlsNoop-6723.test.tsx`, under `scripts/pm/os-verify-lock.sh`, on head `db083480` (base `origin/main` 0b539b6). | Run | Result | |:--|:--| | This head, three runs | 3/3 passed, each time | | Race forced: `getObjectSchema` delayed 300 ms, OLD case (0b539b6) | red: `expected [ 'Id', 'Opportunity Name' ] to not include 'Id'` at `:171`, the CI message exactly | | Race forced: same 300 ms delay, this head | 3/3 passed | | Ablation: `rowKeysWouldOutrankSchemaPolicy` forced to `false` (grid stays on the inline-data path), this head | red: `expected [ 'Id', 'Opportunity Name' ] to deeply equal [ 'Opportunity Name' ]` at `:165` (the new wait); the other two cases green | Both mutations went through `scripts/ablation-replace.mjs` (anchor hit 1 -> 0, blob moved, restored to the HEAD blob with `git diff HEAD` empty). `@object-ui/plugin-grid` resolves to `src` through the `ui/vitest.config.mts` alias, so the ablation needs no build. ## Acceptance notes - Seen, not fixed here (card objectstack-ai#37972 names it out of scope): `StudioRoute.metadataArea-28561.test.tsx` red `Test UI (13/16)` once on PR objectstack-ai#37962. Different test, no change. ## Verification Two-minute check: run the command above from `ui/`; expected `Tests 3 passed (3)`. To see the race the old case lost, delay `getObjectSchema` in the file's `makeDataSource()` by 300 ms: this head stays green. --- _Generated by [Claude Code](https://claude.ai/code/session_01L9qibwRxn1J7oT4Lx22UxZ)_ 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>
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Requested by Tesla · project thread
Fixes #37851
Clause-②: no (narrowing)
Metadata-protocol: narrowed
Skills-docs: none — no page under
skills/**orcontent/docs/**teaches a per-item publish or rollback naming no package over a name only disabled packages hold; the refusal's own sentence names the fix维护者速读
?package=),指明包后照常写;会把无包行插回来的回滚提示"先启用包"。指明包的写、读、启用后的行为都不变;本改动可整体撤回。What changes
Ruling A on #37851 (comment 7216539589, maintainer 「两处都拒绝」): the per-item publish and rollback naming no package refuse a name only disabled packages hold, as the bare save does, whether or not a package-less row is stored. PR #37818 made both doors ask the disabled-holders judgment only where they read or write a package-unbound row that is already stored; three cells were left writing.
promoteDraftForPublish,packages/metadata-protocol/src/protocol-history-and-publish.ts): where no package is named and the draft address is the package's own draft (keyandintothat package), the door now askspackagelessHolderRefusal(arms: 'disabled-holders') withunbound: false. Over a name only disabled packages hold it answersdisabledHoldersOnlyRefusal(verbpublish):409 RESOURCE_CONFLICT, "Name the package this publish is for, then send it again …", the bare save's own sentence there. That holds whether or not a package-less row is stored beside it, because the promotion never touches that row and the publish naming the package reaches the draft. This flips the control pin fix(metadata-protocol)!: refuse the per-item publish and rollback naming no package over a disabled holder's package-less row #37818 added (its line 320).rollbackMetaItemUnaudited,packages/metadata-protocol/src/protocol-package-commits.ts): theactive.unboundprecondition is dropped. Where the restore writes the package-unbound row (rollbackPackageId === null), stored or not, the door answersdisabledHoldersCustomizationRefusal(verbrollback):409 RESOURCE_CONFLICT, "Enable the package that holds …". The restore would have inserted the package-unbound row again, which is the disabled holder's customization.main73d5e34 it answeredsuccess: trueand restored the row (pin below, red on main). Refused in this PR as (a) is:unbound: false,disabledHoldersOnlyRefusal(verbrollback), and the rollback naming the package still restores it.The rollback's candidate set is the active rows' bindings plus the restore's binding, so a
.custompair of a disabled base is judged the way the save judges it. The judgment returnsundefinedwith any enabled holder, so every answer over an enabled package is unchanged. ThepackagelessHolderRefusaldocblock now says which state each door asks.Also in this PR:
disabled-holder-package-less-row-bare-write-refused(spec, pending release): the surface, replacement, reason and acceptance criteria name the three cells and their two remedies. Thereasonsentence L2 S1 on fix(metadata-protocol)!: refuse the per-item publish and rollback naming no package over a disabled holder's package-less row #37818 required ("with none stored they judge no holder … not refused by this entry") is replaced with what the doors now do..changeset/37851-disabled-holder-own-row-publish-rollback-refused.md:minorfor metadata-protocol and spec, BREAKING scoped to the three cells, ADR-0087not-required (already-registered disabled-holder-package-less-row-bare-write-refused). Its "Not moved" paragraph also carries the correction to the 37608 note (next bullet)..changeset/pre/37608-disabled-holder-publish-rollback-refused.md. The release PR chore: version packages (next) #37661 (19.0.0-next.1) consumed it, so this PR keepsmain's blob byte for byte (seat ruling, Option B, comment 7222609810). Its "Not moved" list still names these three cells as landing; the metadata-protocol: a bare publish of a disabled package's own draft, and a bare rollback with history but no package-less row, still land on a name only disabled packages hold #37851 changeset above states the correction, and whether to edit the pre/ text before GA is the release owner's call.Check Changesetis green.docs/adr/**) is not in this diff; the seat carries it to the ADR checklist, per the ruling.Tests
packages/objectql/src/disabled-holder-packageless-row-doors.test.ts, inside thedescribe#37818 added (same fixture:com.acme.mailshipsemail_templateacme.welcomein en-US / zh-CN;fr-FRis a member it never ships, the cell the D11 close leaves open):it.eachover beside the stored package-less row (the flipped :320 control) and with no package-less row stored: refused 409 with the?package=sentence, no package named, every stored row byte-identical. CONTROL: the publish naming the package promotes it, the package-less row byte-identical.main.packageId, then disabled): refused 409 with the?package=sentence, nothing written. CONTROL: the rollback naming the package restores it; re-enabled, it is served.Measurement, reach on main, fix
RestServerroutes over the real ObjectQL engine and protocol, in-memory driver, this fixture,origin/main0a3ea67): recorded on the card, comment 7216513948. BarePUTanswered409 RESOURCE_CONFLICT; barePOST /publishand barePOST /rollbackanswered200and wrote.main73d5e34 (pins committed first as 1217b6a, run against main'smetadata-protocolbuild):Tests 5 failed | 9 passed (14). The four refusal pins and the re-enabled publish control failed withno refusal: expected [ undefined, undefined ] to deeply equal [ 409, 'RESOURCE_CONFLICT' ]; that includes cell (c), so the ruling's third cell lands onmain.Tests 14 passed (14).Verification
Local, at head 0480711 on
origin/main73d5e34, each run throughos-verify-lock:pnpm --filter @objectstack/metadata-protocol testTest Files 372 passed | 9 skipped (381),Tests 23598 passed | 45 skipped (23643), exit 0pnpm --filter @objectstack/objectql testTest Files 642 passed (642),Tests 14535 passed (14535), exit 0pnpm --filter @objectstack/rest testTest Files 432 passed (432),Tests 8972 passed | 351 skipped (9323), exit 0typecheckmetadata-protocol, objectqlvitest run src/migrationsTests 206 passed (206)dispatch-gates.mjs --commands, 98 commands)check:api-surface,check:browser-reachable-entries,check:dual-source-exports,check:entry-nameability,check:exported-anyand climigrate-meta-engine-guidance.test.tsgreen after a spec + cli rebuild).check-empty-changesetwas red at this head on the then-DELIBERATE CORRECTION of the 37608 note; that edit is gone atc488ff99(Option B) andCheck Changesetis green thereNOT MEASURED locally:
check:dual-build-cjs-loads, reason: it needs every package'sdist/(noadapters/hono,apps/accountbuild here); CI's Lint & Repo Gates runs it.check-plugin-teardown-shape --self-test, reason: shallow clone cannot reach its pinned fixture commit; checker-health only.Dogfood battery at the final head
c488ff99, underos-verify-lock(card comment 7223157350): closure build exit 0; speccheck:generated14 of 14 up to date; pin file 14 of 14 passed; dogfood 490 test files passed (3 skipped), 4144 tests passed (68 skipped). CI atc488ff99: 58 success, 11 skipped, none red.Acceptance notes
publishMetaItemwithpackageId: nullpresent (fix(metadata-protocol)!: refuse the per-item publish and rollback naming no package over a disabled holder's package-less row #37818 record N1) still takes the named branch; unchanged here.Generated by Claude Code