Skip to content

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

Merged
os-zhuang merged 6 commits into
mainfrom
claude/project-thread-4tk44f
Nov 27, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/project-thread-4tk44f

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

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/** or content/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

维护者速读

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.

  • Cell (a), per-item publish of the disabled package's own draft (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 (key and into that package), the door now asks packagelessHolderRefusal (arms: 'disabled-holders') with unbound: false. Over a name only disabled packages hold it answers disabledHoldersOnlyRefusal (verb publish): 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).
  • Cell (b), per-item rollback with the package-less row's history but no row stored (rollbackMetaItemUnaudited, packages/metadata-protocol/src/protocol-package-commits.ts): the active.unbound precondition is dropped. Where the restore writes the package-unbound row (rollbackPackageId === null), stored or not, the door answers disabledHoldersCustomizationRefusal (verb rollback): 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.
  • Cell (c), per-item rollback of the disabled package's own row (same door): measured first, as the ruling asks. On main 73d5e34 it answered success: true and restored the row (pin below, red on main). Refused in this PR as (a) is: unbound: false, disabledHoldersOnlyRefusal (verb rollback), 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 .custom pair of a disabled base is judged the way the save judges it. The judgment returns undefined with any enabled holder, so every answer over an enabled package is unchanged. The packagelessHolderRefusal docblock now says which state each door asks.

Also in this PR:

Tests

packages/objectql/src/disabled-holder-packageless-row-doors.test.ts, inside the describe #37818 added (same fixture: com.acme.mail ships email_template acme.welcome in en-US / zh-CN; fr-FR is a member it never ships, the cell the D11 close leaves open):

  • publish, the package's own draft, it.each over 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.
  • CONTROL: publish of the package's own draft, re-enabled: the bare publish promotes it as on main.
  • rollback with the package-less row's history but no row stored (saved twice, deleted, then disabled): refused 409 with the enable sentence, no row inserted. CONTROL: re-enabled, the same rollback restores the version.
  • rollback of the package's own row (saved twice with 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
  • Served-stack measurement before the ruling (real RestServer routes over the real ObjectQL engine and protocol, in-memory driver, this fixture, origin/main 0a3ea67): recorded on the card, comment 7216513948. Bare PUT answered 409 RESOURCE_CONFLICT; bare POST /publish and bare POST /rollback answered 200 and wrote.
  • Reach on main 73d5e34 (pins committed first as 1217b6a, run against main's metadata-protocol build): Tests 5 failed | 9 passed (14). The four refusal pins and the re-enabled publish control failed with no refusal: expected [ undefined, undefined ] to deeply equal [ 409, 'RESOURCE_CONFLICT' ]; that includes cell (c), so the ruling's third cell lands on main.
  • Fix (42bb7de, metadata-protocol rebuilt): Tests 14 passed (14).

Verification

Local, at head 0480711 on origin/main 73d5e34, each run through os-verify-lock:

Run Result
pnpm --filter @objectstack/metadata-protocol test Test Files 372 passed | 9 skipped (381), Tests 23598 passed | 45 skipped (23643), exit 0
pnpm --filter @objectstack/objectql test Test Files 642 passed (642), Tests 14535 passed (14535), exit 0
pnpm --filter @objectstack/rest test Test Files 432 passed (432), Tests 8972 passed | 351 skipped (9323), exit 0
typecheck metadata-protocol, objectql exit 0
spec vitest run src/migrations Tests 206 passed (206)
Derived gate families (dispatch-gates.mjs --commands, 98 commands) 95 exit 0 (spec check:api-surface, check:browser-reachable-entries, check:dual-source-exports, check:entry-nameability, check:exported-any and cli migrate-meta-engine-guidance.test.ts green after a spec + cli rebuild). check-empty-changeset was red at this head on the then-DELIBERATE CORRECTION of the 37608 note; that edit is gone at c488ff99 (Option B) and Check Changeset is green there

NOT MEASURED locally: check:dual-build-cjs-loads, reason: it needs every package's dist/ (no adapters/hono, apps/account build 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, under os-verify-lock (card comment 7223157350): closure build exit 0; spec check:generated 14 of 14 up to date; pin file 14 of 14 passed; dogfood 490 test files passed (3 skipped), 4144 tests passed (68 skipped). CI at c488ff99: 58 success, 11 skipped, none red.

Acceptance notes


Generated by Claude Code

…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>
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

3 anchor(s) derived from 2 changed package(s); no hand-written page names any of them. ⚠️ 1 changed file(s) yielded no anchor (packages/metadata-protocol/src/protocol-save.ts), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

What this run could not see
  • 1 changed file(s) yielded no anchor (packages/metadata-protocol/src/protocol-save.ts) — pages documenting those are invisible to this run
  • 3 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 69 of 252 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 178 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 30a8047bad6e264762dd41ded7f1290c1224afc6 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from a6c2af99cf68145e7c7a38691cebec1e6f2384b8 — the merge of head c488ff99123111d89265945da375edec2882bf56 into base 30a8047bad6e264762dd41ded7f1290c1224afc6, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# 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

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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 CONTRACT_REVIEW_TIER review on this head (narrowing face: the bare publish and rollback refusals in @objectstack/metadata-protocol, the DELIBERATE CORRECTION of the pending .changeset/37608 sentence, and the migration entry), with its L1 beside it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 048071109ffec30340d4e57df9418d46c5e50901
Local-runs: none
Scope: packages/metadata-protocol/src/protocol-history-and-publish.ts, packages/metadata-protocol/src/protocol-package-commits.ts, packages/metadata-protocol/src/protocol-save.ts, packages/objectql/src/disabled-holder-packageless-row-doors.test.ts, packages/spec/src/migrations/entries/semantic/19.disabled-holder-package-less-row-bare-write-refused.ts + .changeset/37851-disabled-holder-own-row-publish-rollback-refused.md, .changeset/37608-disabled-holder-publish-rollback-refused.md (both judged sentence by sentence in ②); read, not reviewed: packages/metadata-protocol/src/protocol.ts, packages/metadata-protocol/src/sys-metadata-repository.ts, packages/metadata-protocol/src/protocol-stored-row-bindings.ts, packages/rest/src/meta-item-history-routes.ts, docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md on main 21ad7c5, .github/workflows/pr-automation.yml, scripts/check-empty-changeset.mjs

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. main is 18 commits past the merge base; none of them touches a file of this diff.

① Derived judgments

Every 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).

  • Cell (a), bare publish of the disabled package's own draft (promoteDraftForPublish, the ownDraft arm): 200 → 409 RESOURCE_CONFLICT, the ?package= sentence (disabledHoldersOnlyRefusal, verb publish), beside a stored package-less row or with none. Right. It is the sentence the ruling names for (a). The remedy is correct for the cell: the promotion reads and writes the package's own draft and row only, and the publish naming the package reaches both (pinned as the control in both it.each rows, the package-less row byte-identical). unbound: !ownDraft leaves the package-less-draft arm exactly as fix(metadata-protocol)!: refuse the per-item publish and rollback naming no package over a disabled holder's package-less row #37818 left it (enable sentence).
  • Cell (b), bare rollback whose restore writes the package-unbound row, none stored (rollbackMetaItemUnaudited, rollbackPackageId === null): 200 (row inserted from history) → 409, the enable sentence (disabledHoldersCustomizationRefusal, verb rollback). Right. It is the sentence the ruling names for (b); naming the package would address another slot, so ?package= is not the remedy here. The re-enable control restores the version.
  • Cell (c), bare rollback of the disabled package's own row (rollbackPackageId is the package): 200 → 409, the ?package= sentence. Right. The ruling asks for a measurement first; the PR records the pin red on main 73d5e34 ("no refusal"), so it lands and is refused in the same PR. The rollback naming the package restores it (pinned).
  • Undeclared, same door, error to error: the judgment now sits ahead of repo.restoreVersion, the only source of 404 VERSION_NOT_FOUND and 409 VERSION_NOT_RESTORABLE on an unaddressed slot. So a bare rollback at such a name to a version that has no history row (including a code-shipped item with no stored row and no history at all) moves from that 404 to the 409 of cell (b) or (c). Nothing was written before or after, and at the merge base the cell with a package-less row stored already answered the 409 first, so the direction is the house order (the save and the delete also judge before the address resolves). The code is right; the note does not list it, see N2. The publish keeps 404 NO_DRAFT (address.kind === 'draft' guards the ask), as declared.
  • Unchanged, verified in the code: a publish or rollback naming a package (the 'packageId' in request branch and the request.packageId === undefined guard are untouched; REST spreads the selector only when present); any name with one enabled holder (packagelessHolderRefusal returns undefined when any candidate or known holder is neither disabled nor a disabled holder's pair, and when the type is not read by package or the environment holds the item); the ADR-0146 D11 close and the named-base close, both still ahead of the judgment on both doors; the lock gate order.
  • Other doors: none moves. protocol-save.ts changes a docblock only; the body of packagelessHolderRefusal is byte-identical, so the save, draft save, delete and draft discard answer as before. publishPackageDrafts always passes packageId (the listed draft's key), so the package commit takes the named branch. The restore limb of revertCommit does not call rollbackMetaItemUnaudited.
  • Pins: the flipped :320 control, each refused cell with stored rows byte-identical, the named-write control for (a) and (c), the re-enable control for (a) and (b). For (c) the re-enable step reads the row after the named rollback; it does not send the bare rollback again after the enable (N3).

② Semver level

Clause-②: no (narrowing) — on the PR body and on the new changeset, with Metadata-protocol: narrowed. minor for @objectstack/metadata-protocol and @objectstack/spec with ! and a BREAKING sentence matches what the diff publishes (refusals where 200 was answered; a migration entry reworded) and the level the ruling set. The ADR-0087 disposition step and the major guard on the Check Changeset job are green; the job log reads the new note as not-required (already-registered).

@objectstack/objectql: the change is one test file. The package publishes dist, README.md and CHANGELOG.md only, so nothing of it is released. No changeset is owed for it.

.changeset/37851…, sentence by sentence against the code: the two remedies and which refusal carries which, the three bullets (before and after), the in-process bullet, the re-enable sentence and the "Not moved" list are true at this head. Two gaps, both prose: N1 and N2.

DELIBERATE CORRECTION of .changeset/37608-disabled-holder-publish-rollback-refused.md. Before: "a rollback of a package-bound row; two writes that still land on an item only disabled packages hold, left open for a separate decision (#37851): a publish whose draft address is the disabled package's own draft, promoted into that package's own row (beside a package-less row or not), and a rollback with no package-less row stored, which stores the package-less row again from its history;". After: "a publish whose draft address is the disabled package's own draft, a rollback of a package-bound row, and a rollback with no package-less row stored, which this note leaves open and the #37851 note in the same release refuses;". Judged against the code: the old sentence is false at this head (all three are refused); the new one is true, it names the three cells this PR closes, and the rest of that note (its own two moved answers, the enable sentence, "now carries these two") still holds. This record confirms the correction.

The three conditions for carrying the red:

  • The source describes it: scripts/check-empty-changeset.mjs and pr-automation.yml (route 0 and the "Past a designed red" block) name the class as red by design, and the new note says "that sentence now points here". The job is red on step 10 alone, on that one file; steps 11 to 13 are green. Holds.
  • pr-automation.yml triggers on pull_request only; no merge_group. Holds.
  • A PR comment naming the gate and the reason: not yet met when read. The PR body declares it and the claim comment 7219399122 names the correction, but no PR comment names Check Changeset / check-empty-changeset as the red gate and why. This record does, if it is posted on the PR; posted on the card, the seat owes one PR comment before the enqueue.

Migration entry 19, sentence by sentence: surface (the three cells added for the publish and rollback), replacement (the "other exception" with ?package= and the named write going through while disabled), reason (the #37818 S1 sentence replaced with what the doors now do) and acceptanceCriteria are true at this head. The criteria's "the rollback naming no package answer the same 409" also covers the no-history case of ①. The same omission as N1 applies to the criteria's first sentence.

Skills-docs: none: true. No page under skills/** or content/docs/** teaches a bare per-item publish or rollback over a name only disabled packages hold; the pages that name the two routes (content/docs/api/metadata-api.mdx, content/docs/kernel/contracts/metadata-service.mdx) describe them without that cell. The docs-drift run found no hand-written page on the changed anchors.

③ Boundary flags

  • open_questions 1 (the enable sentence says "the row stored for it under no package" while cell (b) has only its history): answered. The ruling names that sentence for (b), so keeping it is correct in this PR. The clause is inexact in (b) and untrue in the no-history case of ①; a wording card is the right carrier, with N2.
  • Dev flag, cell (c) measured first: answered, it lands on main 73d5e34 and is refused here.
  • Dev flag, packageId: null in process still takes the named branch (fix(metadata-protocol)!: refuse the per-item publish and rollback naming no package over a disabled holder's package-less row #37818 N1): unchanged by this diff, correct to leave.
  • Dev flag, ADR-0150 D3 note wording: not in this diff, as the claim's file surface requires; the note on main still describes the earlier state and stays owed on the seat's ADR checklist.
  • File surface: protocol-save.ts (docblock only) and the 37608 note are outside the claim's listed files; one is a comment, the other the declared correction. No breach of the docs/adr/** line.
  • SQL push-down: no finding. Each door adds one keyed read of the item's active rows (packagelessAddress, state active) on every bare publish with a draft and every bare rollback, where it was read only on the package-less arm. No id materialisation and no in-app join.
  • Check-runs on the head at 13:28Z, 68 runs: Check Changeset red (by design, above); Test UI (13/16) in progress, a rerun after a first-attempt red the os-dev report places at ListView.inlineFlsNoop-6723.test.tsx under ui/, outside this diff. I did not wait for it. Everything else is green or skipped, including Test Core 1 to 10, the type checks, the lint families and the queue guard.
  • Dogfood battery: the os-dev report pins 04807110, os-verify-lock VERDICT exit 0, Test Files 490 passed, 3 skipped (493), Tests 4144 passed, 68 skipped (4212), no failures. It opens with this head's sha and reports the full run. The CI dogfood shards were skipped on this PR, so the report is the only reading.

④ Design judgment

The narrowing makes the spec's own refusal real; it takes no declared capability away. ADR-0150 D3 on main already says a disabled package holds no name, that a name only disabled packages hold "keeps its refusal and its ?package= remedy", and that a package-less row at such a name is the holder's customization, hidden with it and remedied by the enable. The bare save answered so; the bare publish and rollback wrote. The maintainer ruled A on the card. Nothing the spec declares for a caller is removed: every write stays reachable by naming the package or by enabling it.

Attempts to break it, by code read:

  • A customization pair's row of a disabled base: the pair id is in the candidates and disabledHoldersPair accepts it, so it is judged as the save judges it.
  • A row bound to an id that is not a disabled installed package (an orphan binding, an app. scope): not disabled, so the judgment declines and the answer is unchanged.
  • A row-held base address on the publish: key and into are the base, the candidates still include every stored binding and every known holder, so one enabled holder keeps the old answer.
  • Which sentence when both a package's row and a package-less row are stored: each door picks by the row it would write, never by what else is stored, which is the ruling's own reasoning for (a).
  • Batch publish and commit revert: not reachable from the changed branches (①).

No must-fix, no should-fix.

Nits, each fixable on the changeset alone or left as a follow-up:

  • N1 (nit) — the BREAKING lead of .changeset/37851… scopes itself to "no package-less row is stored for it", while the own-draft publish also moved beside a stored package-less row (the flipped :320 pin). The title and the first bullet say it correctly; the lead is narrower than the truth. The entry's acceptanceCriteria has the same omission.
  • N2 (nit) — "Every moved answer" in .changeset/37851… omits that a bare rollback at such a name now answers the 409 ahead of 404 VERSION_NOT_FOUND and 409 VERSION_NOT_RESTORABLE (①). One sentence in the note, and the wording card of ③ for the enable sentence in that state.
  • N3 (nit) — cell (c) has no bare rollback after the re-enable; the named rollback and the served read stand in for it. A follow-up pin, not a head move.

Implemented-by: claude/project-thread-4tk44f
Reviewed-by: session_01L9qibwSEecrzDjKjbk24r1

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

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

Contract review brief — PR #37948 @ 048071109ffec30340d4e57df9418d46c5e50901 (card #37851)

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

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

Scope — the narrowing is declared of the whole PR, never of a path: the floor is EVERY path of the diff outside the
prose faces (PATH-ONE, PATH-TWO), plus every file those hunks make a claim about, read in the cited code.
Widen it freely, ⛔ never below that floor; the record's Scope: line lists both. No path is the lane seat's remainder.
④ judges the narrowing itself over that floor: lockfiles, generated output, changesets and prose elsewhere in
the PR are not reviewed; the published spec and the cited code are READ to judge it, never reviewed.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/166e2125-4268-552f-a555-2b7c43a99f0f/scratchpad/pr-37948/ alone; nothing there you did not write this round is read.

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

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibz3J6vDGdnFpMq3hkm

Test UI (13/16) is red on head 04807110, and the cause is not in this PR's diff. It failed on the first run (job 140512339260) and again on the one re-run of failed jobs (job 140529997984). Both times the failure is the same assertion in ui/packages/plugin-list/src/__tests__/ListView.inlineFlsNoop-6723.test.tsx, case UNAUTHORED: the grid takes the OBJECT-SCHEMA path …: expected [ 'Id', 'Opportunity Name' ] to not include 'Id'.

Why it isn't this PR's:

  • The diff touches packages/metadata-protocol, one packages/objectql test, a packages/spec migration entry's text and two changesets. Nothing under ui/ changes, and the test renders ListView over an in-file mock data source with no server.
  • The same file is green (3 of 3) in Test UI (13/16) of the main push run 46001713224, on bc173343. No ui/ commit lands between this run's CI base 39fafc0d and bc173343.
  • Locally the file passes 3 of 3 from ui/ (pnpm exec vitest run packages/plugin-list/src/__tests__/ListView.inlineFlsNoop-6723.test.tsx), both at this head and at this head merged with origin/main (merge not pushed).

What the reading suggests (not reproduced): the headers carry Id and leave out Amount. That is the inline-data path, with its FLS gate, read before the object schema took over. The case takes the first non-empty header set (waitFor(() => expect(h.length).toBeGreaterThan(0))), so on a slower runner it can read the render before the schema loads. 3eb778d8 (#37883, a list page draws its rows once before they paint) is on the CI base and moved that timing. A fix would be for that case to wait for the schema-path header set (for example, waitFor until the headers equal ['Opportunity Name']) before asserting the mechanism. That belongs in the ui/ lane, not in this narrowing.

Check Changeset is red by design on the DELIBERATE CORRECTION of .changeset/37608-disabled-holder-publish-rollback-refused.md, as the PR body and contract record 7219552890 state.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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 CONTRACT_REVIEW_TIER reviewer (the main merge carrying #37981, the narrowing and the DELIBERATE CORRECTION re-judged at this head, the dogfood pin), with the held L1 beside it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 8725be79ac18a8c62c6a7f6082ef157af5d7c6b0
Local-runs: none
Scope: packages/metadata-protocol/src/protocol-history-and-publish.ts, packages/metadata-protocol/src/protocol-package-commits.ts, packages/metadata-protocol/src/protocol-save.ts, packages/objectql/src/disabled-holder-packageless-row-doors.test.ts, packages/spec/src/migrations/entries/semantic/19.disabled-holder-package-less-row-bare-write-refused.ts + .changeset/37851-disabled-holder-own-row-publish-rollback-refused.md, .changeset/37608-disabled-holder-publish-rollback-refused.md; read, not reviewed: what main 73d5e34..9a274e6 brought under packages/spec/src/migrations/, packages/metadata-protocol/, packages/objectql/, packages/rest/, .github/workflows/pr-automation.yml, scripts/check-empty-changeset.mjs, and the main tip 30a8047

Merge delta of record 7219552890 (head 0480711). This head is a merge commit: first parent 0480711, second parent main 9a274e6. Read: the two parents, the net diff 9a274e6..8725be7, the 69 check-runs on this head at 15:37Z, the PR and card comments since the first record, and the main tip.

Read first: main has moved past this merge. 30a8047, "chore: version packages (next) (#37661)", landed at 14:35Z; this merge was made at 14:57Z against 9a274e6, one commit short. GitHub reports the PR mergeable: false, dirty. That commit cut 19.0.0-next.1 and moved the 37608 note to .changeset/pre/37608-disabled-holder-publish-rollback-refused.md (R100, the old sentence), so the file this PR corrects no longer exists at its path on main. This head cannot land as it is, and the merge that fixes it moves the head beyond this record. See ③.

① Derived judgments

  • The net diff against 9a274e6 is the reviewed diff, byte for byte: the same 7 files, +174 −35, the same stable patch-id as 73d5e34..0480711 (33a9d29c), and each of the 7 blobs at this head is the blob reviewed at 0480711.
  • So every moved answer stands as judged in 7219552890: cells (a), (b), (c) with their sentences, and the undeclared 404 to 409 rollback precedence (N2).
  • Nothing main brought between 73d5e34 and 9a274e6 (27 commits) reaches them. No file under packages/metadata-protocol/, no packages/objectql registry or door, no packages/rest route changed. The doors judged unmoved (save, draft save, delete, draft discard, batch publish, commit revert) read the same code.
  • The two new semantic entries (19.book-audience-two-gates-and-catch-all-claim-refused.ts, 19.lookup-depends-on-param-computed-field-refused.ts) are files of their own. Semantic entries are collected one file per entry with no shared hand-written index, and no file outside this PR's entry names its id, so the neighbours do not touch it.

② Semver level

Clause-②: no (narrowing) — unchanged on the PR body and the new changeset. minor with ! for metadata-protocol and spec, no changeset owed for the objectql test file, and Skills-docs: none all stand as judged; the files are byte-identical.

DELIBERATE CORRECTION, re-judged at this head. The rewritten "Not moved" sentence of .changeset/37608… is byte-identical to the one judged, and still true against the code at this head. Against this head's merge base 9a274e6 the note is still at its path and still pending. At this head, against that base, this delta confirms the correction.

The three conditions at this head:

  • The source describes the red as designed: scripts/check-empty-changeset.mjs and pr-automation.yml are unchanged by the merge. Holds.
  • pr-automation.yml still triggers on pull_request only, no merge_group. Holds.
  • A PR comment names the gate and the reason: now met. Record 7219552890 and comment 7219770629 are on the PR and both name Check Changeset and the correction.

The confirmation does not carry past the next merge. On main 30a8047 the note is consumed stock under .changeset/pre/, and its old sentence is printed in the 19.0.0-next.1 changelog of metadata-protocol (true of that prerelease, which does not contain this PR). The correction still matters, because the GA version pass reads .changeset/pre/ again on pre exit. But it becomes an edit of a consumed note at a new path, the gate reads .changeset/*.md rows only, and whether Check Changeset is then red, and on what, is not measured. That is a new judgment on a new head.

③ Boundary flags

  • Stale merge, escalated to the seat. Merge main 30a8047, resolve the 37608 hunk onto .changeset/pre/37608… (or decide with the release owner that a consumed note is not corrected), and request a delta on that head. Besides the changeset move, 30a8047 changes one unrelated hunk of protocol-save.ts (Metadata save door drops a zod issue's params: 422 INVALID_METADATA issues carry code 'custom', not the registered refusal code #36594, issue params at the 422), which does not overlap this PR's docblock hunk.
  • Check-runs on this head at 15:37Z, 69 runs, all completed: Check Changeset is the only red, on step 10 alone, naming .changeset/37608-disabled-holder-publish-rollback-refused.md alone; steps 9, 11, 12 and 13 are green. Test UI (13/16) is green. Test Core, the type checks, the lint families and the queue guard are green; the rest are skipped. These runs were computed against 9a274e6.
  • Dogfood battery on this head: I found no written reading. The os-dev report on the card (7219375856, not edited) still pins 04807110; the card has no newer comment; claim 7222265241 on the PR mentions "the dogfood pin" without figures. The reading I was given (exit 0, generated 14/14, pin file 14/14, 490 files, 4144 tests) comes from the thread's relay only. The pinned 04807110 reading sits below this head over one merge of the base, with a byte-identical PR delta. If a reading on 8725be7 is required in writing, it is still owed; the next merge will need its own in any case.
  • The CI dogfood shards were skipped on this PR again, so no check-run stands in for it.
  • SQL push-down: no change, no finding.
  • The ADR-0150 D3 note wording stays owed on the seat's ADR checklist.

④ Design judgment

Unchanged 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 main brought weakens it.

No must-fix, no should-fix.

N1, N2 and N3 of 7219552890 are still open as nits; no file they name changed.

Implemented-by: claude/project-thread-4tk44f
Reviewed-by: session_01L9qibwSEecrzDjKjbk24r1

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

L1 REWORK (merge owed) at 8725be79ac18a8c62c6a7f6082ef157af5d7c6b0 (L1-a for the seat). The merge delta 7222332137 (same reviewer, claim 7222265241) is a PASS on this head: the PR's delta is the reviewed seven files byte for byte, nothing main brought through 9a274e67 touches a moved answer or an unmoved door, and the DELIBERATE CORRECTION is confirmed at this head. verify-review-tier PASS. Test UI (13/16) is green, and Check Changeset is the only red (step 10, that one file).

What blocks.

  1. mergeable_state: dirty. Main moved to 30a8047b ("chore: version packages (next)", chore: version packages (next) #37661, 14:35Z), one commit past this merge's base. That commit cut 19.0.0-next.1 and moved the 37608 note to .changeset/pre/37608-disabled-holder-publish-rollback-refused.md, with the old "Not moved" sentence. So the file this PR corrects no longer exists at its path on main, and the old sentence is printed in metadata-protocol's 19.0.0-next.1 changelog. It is true of that prerelease, which does not contain this PR.
    • Merge origin/main and resolve the 37608 hunk onto the pre/ path. The correction still matters, because the GA version pass reads .changeset/pre/ again on pre exit.
    • After that merge it is an edit of a consumed note at a new path. Whether Check Changeset is then red, and on what step and file, is unmeasured. The red-by-design carry needs re-establishing on that head: the source's own description of the class, no merge_group, and a PR comment naming the gate and the reason.
    • If editing a consumed pre/ note is not wanted, settle that with the release owner and record it. The record then needs another way to say the 37851 cells moved.
  2. The dogfood battery is owed in writing on the landing head. The os-dev report 7219375856 still pins 04807110. The figures relayed for 8725be79 (generated 14/14, pin file 14/14, 490 files / 4144 tests) are not on the PR or the card. Post the battery reading for the merge head that lands, with its SHA, in the report or a PR comment.

Next. Merge, resolve, run the battery, and announce the green head. The same reviewer then runs the delta (the pre/ resolution and the correction re-judged), and this L1 ACCEPTs. The narrowing is Tier H, so it then goes to the seat's hand-off. Nits N1–N3 stand.

…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>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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 CONTRACT_REVIEW_TIER reviewer: the main merge past #37661 (19.0.0-next.1), the consumed .changeset/pre/37608 note left as written (the seat's Option B), and the #37851 changeset now carrying the correction itself.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c488ff99123111d89265945da375edec2882bf56
Local-runs: none
Scope: packages/metadata-protocol/src/protocol-history-and-publish.ts, packages/metadata-protocol/src/protocol-package-commits.ts, packages/metadata-protocol/src/protocol-save.ts, packages/objectql/src/disabled-holder-packageless-row-doors.test.ts, packages/spec/src/migrations/entries/semantic/19.disabled-holder-package-less-row-bare-write-refused.ts + .changeset/37851-disabled-holder-own-row-publish-rollback-refused.md (the reworded paragraph, judged in ②); read, not reviewed: .changeset/pre/37608-disabled-holder-publish-rollback-refused.md and packages/metadata-protocol/CHANGELOG.md on main (the released 19.0.0-next.1 text), main 30a8047..c70f113

Second delta of records 7219552890 (head 0480711) and 7222332137 (head 8725be7). This head is c488ff9 on the merge 63abdfd (8725be7 with main 30a8047). Read: the net diff 30a8047..c488ff9, the blobs against the reviewed ones, the 46 check-runs on this head at 15:45Z, the PR body and the PR and card comments since the last record, and the main tip c70f113.

① Derived judgments

  • The net diff against the merge base 30a8047 is 6 files, +173 −34, as GitHub also counts it. No 37608 file is in it.
  • Code, test and migration entry are the reviewed hunks. The stable patch-id of the packages/ part is the same as at 0480711 (3134fe83). Four of the five blobs equal the reviewed blobs; protocol-save.ts differs only by the unrelated hunk main brought (Metadata save door drops a zod issue's params: 422 INVALID_METADATA issues carry code 'custom', not the registered refusal code #36594, issue params at the 422), and this PR's docblock hunk in it is unchanged.
  • So every moved answer stands as judged: cells (a), (b), (c) with their sentences, the doors judged unmoved, and the undeclared 404 to 409 rollback precedence (N2).
  • .changeset/pre/37608-disabled-holder-publish-rollback-refused.md at this head is main's blob exactly (c6625f34), and no .changeset/37608… exists at the root.
  • main is two commits past the merge base (c70f113). Neither touches metadata-protocol sources, the test, the migration entries, either note or the changeset gate. GitHub reports mergeable: true, state blocked.

② Semver level

Clause-②: no (narrowing) — unchanged on the PR body and in the changeset, with Metadata-protocol: narrowed and the same Skills-docs: none line, which is still true. minor with ! for metadata-protocol and spec, the ADR-0087 line and the rest of the note are byte-identical to what was judged. One paragraph changed.

The reworded "Not moved" paragraph, sentence by sentence.

  • The "Not moved" list itself is unchanged and true.
  • "Correction to the note 37608-…, released in 19.0.0-next.1 and left as released": true. The note is consumed stock under .changeset/pre/ on main, its text is printed under 19.0.0-next.1 in the metadata-protocol changelog, and this PR leaves both untouched.
  • "its "Not moved" list says that a rollback of a package-bound row is not moved, and that two writes on an item only disabled packages hold still land, left open for a separate decision (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): a publish whose draft address is the disabled package's own draft, and a rollback with no package-less row stored": a faithful restatement of the released sentence. It drops two descriptive clauses ("promoted into that package's own row (beside a package-less row or not)", "which stores the package-less row again from its history") and changes no meaning. It identifies precisely which released sentence is superseded.
  • "From this release on, all three are refused as listed above, while the same publish or rollback naming the package, or sent once a holder is enabled again, answers as before": true against the code. "As listed above" binds it to the three bullets, which carry the scope (every holder disabled, no package named, the disabled package's own row). It widens nothing and misdescribes no moved answer. Read without the bullets, "a rollback of a package-bound row … refused" would be too wide; see N5.
  • The migration-entry sentence is unchanged and true.

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 pre exit the GA version pass reads .changeset/pre/ again, so the GA changelog will print the 37608 "Not moved" sentence (false for GA) beside this note's correction. Leaving the consumed note as written is the seat's Option B; the release owner's decision on that text is still owed, and I found no card or comment carrying it. See ③.

③ Boundary flags

  • Option B (a consumed pre/ note is left as written) is the seat's ruling as relayed to me and named in claim 7222426203. I did not find the ruling written out on the PR or the card, and I did not verify the feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 precedent. The release owner's decision on the GA text needs a written carrier.
  • The PR body is stale on this head: it still declares the DELIBERATE CORRECTION of the pending note with the before and after sentences, and lists check-empty-changeset as red. Neither is true now (N4).
  • Check-runs on this head at 15:45Z, 46 runs. Check Changeset is green, steps 9, 10, 11, 12 and 13 all green: the PR adds one changeset of its own and touches no other. Also green: Governed Surface Queue Guard, Dogfood Regression Gate and the other completed runs; none is red. Still in progress when read, not waited for: Test Core 1/10 to 10/10, Build Core, Build UI Deps, Live E2E UI, Type Check (workspace, source gates, consumer gates, debt ledger), and the Lint families (ESLint, repo and tooling gates, CI release and engine gates, docs and code guards, slot lookup and corpus, query-options erasure). The Test UI shards were not yet listed. This record does not cover their outcome.
  • Dogfood battery pinned to c488ff9: not posted when read. The card has no comment after 7219375856, which still pins 04807110; no PR comment gives a reading for this head. The thread's delta report was not on the card either. The code under test is byte-identical to the pinned head apart from what main brought.
  • SQL push-down: no change, no finding.
  • The ADR-0150 D3 note wording stays owed on the seat's ADR checklist.

④ Design judgment

Unchanged: 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 19.0.0-next.1 sentence was true of that prerelease, which does not contain this PR.

No must-fix, no should-fix.

Nits:

  • N1, N2, N3 of 7219552890 remain open; the text they name is unchanged.
  • N4 (nit) — the PR body still declares the DELIBERATE CORRECTION and the red check-empty-changeset. Fix on the body.
  • N5 (nit) — in the correction, "a rollback of a package-bound row" is scoped only by "as listed above". "A rollback of a disabled package's own row" would stand on its own.

Implemented-by: claude/project-thread-4tk44f
Reviewed-by: session_01L9qibwSEecrzDjKjbk24r1

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Seat ruling 2026-11-27T15:53Z: Option B. The consumed 37608 note is left as released, and this PR's own changeset carries the correction.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-27T16:25Z

L1 ACCEPT at c488ff99123111d89265945da375edec2882bf56 (L1-a for the seat), answering L1 REWORK (merge owed) 7222354249. Tier H (a narrowing, fix(metadata-protocol)!), so it goes to the seat's hand-off for the maintainer.

Contract review. Record 7219552890 on 04807110, delta 7222332137 on 8725be79, and the same reviewer's delta 7222477516 on this head (claim 7222426203): PASS, no must-fix, no should-fix. verify-review-tier PASS on each transcript.

Face. CI at this head: 60 success, 13 expected skip, 0 failed, 0 pending (including Check Changeset and the PR-body guards, re-run after the body patch); mergeable_state clean. Dogfood battery pinned to this head: card #37851 comment 7223157350, run under os-verify-lock (exit 0): closure build exit 0, spec check:generated 14 of 14, pin file 14 of 14 passed, dogfood 490 files and 4144 tests passed, 0 failed.

For the approver.

  • On pre exit, the GA version pass reads .changeset/pre/ again. So the GA changelog will print the old 37608 sentence, which is false for GA, beside this note's correction. That is the cost of Option B, and the release owner decides whether the prerelease text changes. No card or comment yet carries that decision.
  • The Option B ruling is now written out as comment 7222609810, and the PR body cites it.

Nits.

  • N1–N3 stand.
  • N4 is done: the body now carries the Option B bullet (ruling 7222609810), the corrected check-empty-changeset row and the dogfood reading above.
  • N5 is left as is, at the author's choice. "As listed above" sets the scope, and the rewording would cost another delta and dogfood run for no change in meaning. Not blocking.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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 c488ff99123111d89265945da375edec2882bf56

  1. 形态:Fixes #37851;Clause-②: no (narrowing)、Metadata-protocol: narrowed、Skills-docs: none;新 changeset minor(metadata-protocol、spec),ADR-0087 not-required (already-registered …);.changeset/pre/37608-… 与 main 的 blob 逐字节相同(c6625f34)。
  2. 前提实测:裁定前在真实 RestServer 路由上测过(卡上 7216513948):裸 PUT 409,裸 publish、裸 rollback 200 并写入。main 73d5e34 上先提交 pin(1217b6a5):5 红 9 绿,含 (c);修复 42bb7de 后 14/14 绿。
  3. 门禁 check-runs:本 head 60 success、13 预期跳过、0 失败、0 等待,mergeable_state clean,Check Changeset 和 PR 正文守卫在正文修订后重跑仍绿(L1-a 7223248537 读)。check-governed-merges --pr 37948:0/6 路径命中,不受管;收窄 ⇒ Tier H。merge base 之后 main 上 10 个首父提交,< 15,与 main 文本合并干净。
  4. 接受的偏差:(b) 的拒收句说"库里为它存的无包行是那个包的定制",而 (b) 拒收时库里只有历史、没有这行;裁定为 (b) 指定的就是这句,保持不变。L1-a nit N5 不改(见上)。L1 ACCEPT 7223248537。
  5. 范围外去向:ADR-0150 D3 的措辞(docs/adr/**)不在本 diff,按裁定由本席带到 ADR 清单。next.1 里 37608 旧句与本次更正并列打印的问题,交发版负责人在正式版前定。dogfood 读数 7223157350(os-verify-lock:闭包构建 0,check:generated 14/14,pin 14/14,dogfood 490 文件 / 4144 测试 0 失败)。
  6. 落地条款:Tier H ⇒ 维护者亲手合并,或 GOVERNED_APPROVERS(os-zhuang)批准后本席照落地前检落地。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

维护者速读

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 27, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 27, 2026 16:56
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit 0b87f12 Nov 27, 2026
79 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-4tk44f branch November 27, 2026 17:28
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…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>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…ut of step with main (week of 2026-11-25) (objectstack-ai#38289)

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

Fixes objectstack-ai#37245

Clause-②: no
Metadata-protocol: none

## 维护者速读

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

## What changes

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

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

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

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

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

### Where a note differs from its row

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

## Tests

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

What was checked by hand, on the committed text:

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

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

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

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

</details>

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

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

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

</details>

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

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

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

</details>

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

## Acceptance notes

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

## Verification

### Read first

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

### Two-minute check

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

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

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

3 participants