Skip to content

fix(metadata-protocol)!: a dependent's bundle-member row moves no bare read across a restart, and a row-held base's own member is the base's - #34644

Merged
os-zhuang merged 4 commits into
mainfrom
claude/project-thread-qajjjq
Nov 17, 2026
Merged

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

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #34441

Clause-②: no (narrowing)
Metadata-protocol: none
Skills-docs: none — skills/objectstack-platform/SKILL.md (the ADR-0146 paragraph) and content/docs/concepts/metadata-lifecycle.mdx teach that a locale a dependent adds under a base's name is served only under its own ?package=. This change makes /published and /layers hold to that for the canonical member of a base that ships only another member, before and after a restart, and makes a row-held base's own member the base's. No taught sentence moves.

BREAKING: one answer of GET /meta/TYPE/NAME/published naming no package moves from served to 404 (table below). Name the package (?package=DEPENDENT&member=CANONICAL) to read the row, as before. ADR-0087: registered shipped-base-dependent-canonical-row-not-published.

Scope is the card as narrowed by the premise correction 6938023903 (claim 6938068147, branch amendment 6938092219).

维护者速读

  • 改了什么: 两处「同一请求、两个答案」对齐。(1) 基础包只在代码里发 fr-FR、依赖包存了规范成员 en-US 行时:/published 重启前会答依赖包那行,现在答 404;/layers(不点成员)重启后会 404,现在答基础包的 fr-FR。两扇门都和「没有依赖包那行」时一样,重启前后一致。(2) 基础包和依赖包都以存储行持有同一成员(如 en-US)时:不带包的读取、/layers、执行面从 409 点名两者,改为答基础包的行,和基础包在代码里发布时一样。
  • 为什么改: metadata-protocol: an email-template locale added in a <base>.custom pair is read by name but never listed or sent, so a send in that locale renders the base's (#28779 follow-up) #28802 R2:依赖包追加的成员只在它自己的 ?package= 下服务,不带包的读取看基础包。(1) 是层读把依赖包那行误报为基础包的「孤儿行」,而 /published 读的正是 overlay 层;重启后水合行占了注册表的裸名槽位,代码层读不到基础包的成员。(2) 是行持有判定没看依赖关系,把追加当成了第二个持有者。
  • 风险与回滚: 只动 metadata-protocol 的读取路径,不动写入。/published 那一格是收窄(200→404),已登记 ADR-0087 条目(新增一个 packages/spec/src/migrations/entries/semantic 文件),所以本 PR 走 Tier H。其余两格是把拒绝改成服务基础包自己的内容。回滚即还原本 PR。
  • 先看: protocol-meta-layered-reads.ts 的孤儿判定(加了 isWantedMember(code))和代码层兜底;protocol-meta-item-face.ts 的 rowHeldBaseAddressOf(拆出 rowHeldBaseJudgment,新增「基础包在该成员也有行」一臂)。
  • 两分钟验证: pnpm --filter @objectstack/runtime exec vitest run src/domains/meta-disabled-holder-served-stack.test.ts -t "cell 1|S2,",预期 6 个用例全绿(cell 1 两个注册序,S2 四个)。
  • 需要你做的: 本 PR 新增 spec 迁移条目(Tier H),请在审核席核过后批准合入。

What changes

  • packages/metadata-protocol/src/protocol-meta-layered-reads.ts (getMetaItemLayered)
  • packages/metadata-protocol/src/protocol-meta-item-face.ts
    • rowHeldBaseAddressOf is split: rowHeldBaseJudgment computes the row-grain base (unchanged rules: no shipper, readsByPackage, no environment item, every row at the member bound and not declined, no disabled holder, exactly one base by per-package dependency closure). A new arm answers the base at any member the base itself holds as a row beside one or more dependents' rows of it (cell 2). The existing arm (a member only additions hold) still moves a named non-canonical member only (the S1 guard). An optional preread takes rows already read.
    • storedRowHoldersRefusal (the item face's no-disabled arm) serves that base instead of refusing, when the base is among the holders at the member and no package-less row is beside them.
    • rowHeldBaseJudgment answers only for a bundled type (overlayMemberValue defined), judged before the rows are read: a type with no members has no bundle additions, so its row holders stay holders (L2 M1). Docblocks state the exception and that the writes naming no package still refuse (L2 S1, N3).
  • packages/metadata-protocol/src/protocol.ts: the contract docblock of packagelessLayeredReadRefusal states the cell-2 exception and the writes' unchanged refusal (L2 S1).
  • packages/spec/src/migrations/entries/semantic/18.shipped-base-dependent-canonical-row-not-published.ts: the ADR-0087 semantic entry for the /published narrowing.
  • packages/metadata-protocol/src/protocol.lookup-artifact-item-call-sites.test.ts: the new lookupArtifactItem site recorded, disposition no (the code layer: body and envelope are one artifact).
  • .changeset/34441-shipped-base-canonical-member-one-answer.md: patch on @objectstack/metadata-protocol and @objectstack/spec.

FROM → TO (every moved answer; runtime dispatcher, both registration orders)

Shape Door (naming no package) FROM (main 31096af) TO
Cell 1: A ships fr-FR only, D (declares A) stores en-US /published before a restart 200 D's row; after 404 404 both (CONTROL: 404)
same /layers (no member) before 200 A's fr-FR, overlay D's row; after 404 200 A's fr-FR, overlay null, both (CONTROL)
same plain read (no member), ?member=en-US, /layers?member=en-US, execution read A's fr-FR / 404 / 404 / A's fr-FR, both sides unchanged
Cell 2: A stores en-US, D stores en-US and fr-FR, no shipper ?member=en-US, /layers?member=en-US, execution read at en-US 409 RESOURCE_CONFLICT naming A and D (execution: throws PackageScopedNameRefusedError) 200 A's row
same naming no member (the canonical en-US): plain read, /layers, /published, execution read 409 RESOURCE_CONFLICT (execution: throws), both sides of a reboot 200 A's row (packageId A; /layers effective and overlay A's row; /published A's row)
Cell 2, A ships en-US (CONTROL) ?member=en-US, its /layers, execution read; plain read and execution read naming no member 200 A's en-US unchanged
same /layers and /published naming no member overlay / served = D's row (#28409 shadowed-overlay report) unchanged
any ?package=D&member=en-US D's row unchanged
Cell 2 rows, writes naming no package save, delete, publish, draft, history 409 naming A and D unchanged (follow-up #34681)
Type with no members (dashboard): A and D (declares A) both store rows, no shipper plain read, /layers, /published, execution read 409 RESOURCE_CONFLICT naming A and D unchanged (pinned, M1 guard)

Tests

packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts, describe [#32607 M1, M2]:

  • New cell 1 (both registration orders): with no D row, then with D's en-US row before a restart, then after a restart, the plain read, ?member=en-US, /layers (effective and overlay), /layers?member=en-US, /published and both execution reads equal the CONTROL read on the same boot; ?package=D&member=en-US serves D's row on both sides.
  • S2 flipped (row-held cells): ?member=en-US naming no package, /layers?member=en-US and the execution read serve A's row (packageId A) before and after a reboot, and ?package=D&member=en-US serves D's; the shipped CONTROL cells assert the same answers.
  • M1 guard (L2 M1), both registration orders: a dashboard base A and dependent D (declares A) both store, no shipper; the plain read, /layers, /published and the execution read refuse 409 RESOURCE_CONFLICT naming A and D before and after a reboot, and each ?package= serves its own row.
  • S2, doors naming no member (L1 R1): the plain read, /layers, /published and the execution read naming no member, asserted for both holdings, both registration orders, before and after a reboot. All four serve A's en-US. They differ by holding only in the overlay layer and /published: over a row-held base that is A's own row; over a shipped base A holds no row and it is D's row, the metadata-protocol: one effective read — package-less, base-named, layered, the env-wide list and export serve the .custom declared override, and a withdrawn public form stays withdrawn #28409 shadowed-overlay report, unchanged from main.

Acceptance notes

Verification

Final head 6acd3f1290 (merge base origin/main 31096af). Rounds since the first cut 258cbe15: d4500af04d placed the code-layer fallback below if (regItem !== undefined) code = regItem; and recorded the call site; 1aff827bd5 has the item face's judge host hand back the active rows it already read (objectql #24371 one-read pins); 6fe5e956be pins cell 2's doors naming no member (L1 R1); 6acd3f1290 keeps the row-held base judgment to bundled types, pins a non-bundled name as still refused, and states the read doors' exception and the writes' unchanged refusal in the docblocks and changeset (L2 M1, S1, S2, N1–N3).

  • At 6acd3f1290: metadata-protocol full suite 23046 passed / 45 skipped (348 files, lock VERDICT 0); objectql src/protocol* 1189/1189; runtime src/domains 6628/6628 (221 files; served-stack 161/161); rest src/meta* 2213/2213; spec src/migrations 198/198; typecheck metadata-protocol exit 0 and runtime check:test-typecheck OK.
  • Derived gates: dispatch-gates.mjs --ran 97 derived, 97 run, 0 NOT-MEASURED, all exit 0. 93 ran after a full closure build at d4500af04d/1aff827bd5; the 4 the new protocol.ts path adds (check:adr-symbol-anchors, check:facade-delegation-only, check:filter-alias-parity, check:wildcard-fallthrough) and the ADR-0087 and changeset gates ran at 6acd3f1290.
  • Dogfood battery (narrowing arm), full, under the lock at 6acd3f1290: 478 passed / 3 skipped files, 4055 passed / 68 skipped tests, VERDICT command-exit 0.
  • CI at 6acd3f1290: 56 success, 11 skipped, 0 failed.
Ablations (each through scripts/ablation-replace.mjs, metadata-protocol rebuilt, restored to the HEAD blob, git diff HEAD empty)
  1. Orphan guard off (isWantedMember(code) dropped): cell 1 red in both orders.
  2. Code-layer fallback off: cell 1 red in both orders.
  3. Item-face base arm off (storedRowHoldersRefusal): S2 row-held red ×2.
  4. Layered-door base arm off: S2 row-held red ×2.
  5. Shared-member arm off in rowHeldBaseAddressOf: S2 row-held red ×2.
    Runs 1–5: 2 failed, 13 passed of the 15 cases in the M1/M2/S1/S2/cell 1 set.
  6. Judge-host reuse off (the 1aff827bd5 line): objectql protocol-meta.test.ts red ×2 (find called 2 times, not 1), as CI read it at d4500af04d.
  7. Cell-2 arm off (atMember.has(base) returns undefined): the S2 row-held cells red ×2 at the no-member doors; with the assertions relaxed, the same run measured the FROM: 409 RESOURCE_CONFLICT on the plain read, /layers, /published and the execution read (throws), both orders, before and after a reboot.
  8. Bundled-type guard off in rowHeldBaseJudgment: the M1 guard cells red ×2, nothing else. Log: area share 34441-ablation.log.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ADHkmRPxhTmqbUbMrqygh4

…e read across a restart, and a row-held base's own member is the base's

Cell 1: over a base that ships a bundled name only in another member, the
layered read no longer reports a dependent's row of the canonical member as an
orphan of the base's name (the code layer was the base's other member), so
`/published` stops serving it before a restart; and naming no member, a
hydrated row in the registry's bare slot no longer displaces the shipped
member the code layer reads, so `/layers` keeps the base's member after a
restart. Both doors now answer as with no dependent row stored.

Cell 2: a member a row-held base and a dependent both store is the base's
(the dependent's row is a bundle addition): the item face and the layered
door serve the base's row where they refused naming both.

Registers ADR-0087 `shipped-base-dependent-canonical-row-not-published`.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmRPxhTmqbUbMrqygh4
@github-actions github-actions Bot added 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 17, 2026
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/metadata-protocol, @objectstack/spec, touching 13 documentable anchor(s).

20 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json 8bc080847291127d590cb260215a7ce652603d43.

⛔ 9 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • 3 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 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; 123 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 — 174 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 8bc080847291127d590cb260215a7ce652603d43 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 67a7dbd26521767a579382080822f6d6d7c9f50a — the merge of head 6acd3f1290e7bd689f2bca73b94c252cf49696b6 into base 8bc080847291127d590cb260215a7ce652603d43, 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 67a7dbd26521767a579382080822f6d6d7c9f50a && git checkout 67a7dbd26521767a579382080822f6d6d7c9f50a
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 8bc080847291127d590cb260215a7ce652603d43 6acd3f1290e7bd689f2bca73b94c252cf49696b6 && git checkout -B drift-repro 8bc080847291127d590cb260215a7ce652603d43 && git merge --no-ff 6acd3f1290e7bd689f2bca73b94c252cf49696b6

node scripts/docs-audit/affected-docs.mjs --json 8bc080847291127d590cb260215a7ce652603d43

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

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 8bc080847291127d590cb260215a7ce652603d43 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

…ctive-row read

The #34441 cell-2 judgment now reads the item's active rows for the
canonical member too, so readMetaItemFace's judge host read them a
second time after the served-holder judgment (objectql protocol-meta
#24371 one-read pins). The judge host now hands back the rows it read
already for the same item: one read per face call, as before.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmRPxhTmqbUbMrqygh4
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmRPxhTmqbUbMrqygh4

Final head: 1aff827bd5dde367bc1f7b7280681b403561b6f1 (2026-11-17T06:02Z)

Delta since d4500af04d: one line in protocol-meta-item-face.ts. The item face's judge host now hands back the active rows it already read for the same item. The #34441 cell-2 judgment reads rows for the canonical member too, so at d4500af04d the face read sys_metadata twice (CI "Test Core (4/8)": objectql protocol-meta.test.ts #24371 one-read pins, find called 2 times). With the reuse it is one read again. The same CI leg's cloud-connection timeout (marketplace-install-local-no-active-organization.test.ts, 5000 ms) passes locally in 85 ms and passed in CI at this head.

At this head:

  • CI: 56 success, 11 skipped, 0 failed.
  • metadata-protocol full suite 23046 passed / 45 skipped; objectql src/protocol* 1189/1189; runtime served-stack 159/159.
  • Full closure build 119/119, then dispatch-gates.mjs --ran: 93 derived, 93 run, 0 NOT-MEASURED, all exit 0.
  • Dogfood battery (narrowing arm), full, under the lock: 478 passed / 3 skipped files, 4055 passed / 68 skipped tests, VERDICT command-exit 0.

The body's Verification section is updated to this head. The PR stays draft: packages/spec/src non-test path, so landing goes through the seat (Tier H).


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq

Contract-review-claim: session_01ADHkmP44onN8RMzsPMqjRq · head 1aff827 · 2026-11-17T06:03Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmTPcB6fZEwhd2hNQwC

席位核对

L1 verdict: REWORK · PR #34644 · card #34441 (Fixes) · first review · L1-c2 of seat repo:objectstack#2 · read 2026-11-17T06:06Z

Head-sha: 1aff827bd5dde367bc1f7b7280681b403561b6f1 (the head of final-head comment 6940187329)

Read from GitHub and the diff at this head (merge base 31096af83d), not from the report. 6 files, +235/−29.

Checked and holding

  • Shape. The PR is a draft against main. The body opens with Fixes #34441, which is right because the acceptance as narrowed by 6938023903 is met in full. No closing keyword sits next to another open card. The changeset is patch on both touched published packages and carries the Clause-②: no (narrowing), Metadata-protocol and Skills-docs: lines. skills/** has no sentence on bundle members naming no package, so Skills-docs: none stands. The ADR-0087 marker is present, and 18.shipped-base-dependent-canonical-row-not-published.ts registers the /published narrowing.
  • Cell 1, orphan arm. isWantedMember(code) is added to the metadata-protocol: one effective read — package-less, base-named, layered, the env-wide list and export serve the .custom declared override, and a withdrawn public form stays withdrawn #28409 orphan condition. Naming no member, wantedMember is the canonical one. A's shipped fr-FR is then no code layer of the addressed member, so D's en-US row is no longer an orphan, and /published stops serving it. A read that names fr-FR keeps the old condition.
  • Cell 1, code-layer fallback. It applies only when code === null, member === undefined and there is no bare-action answer. It is the same lookupArtifactItem without the member argument. For a type with no bundle members, wantedMember is undefined, so the earlier lookup was the same call and nothing moves there. The new call site is recorded in protocol.lookup-artifact-item-call-sites.test.ts with disposition no.
  • Cell 2, rowHeldBaseAddressOf split. The old exclusions keep their order: no shipper, readsByPackage, no environment item, the per-row rules, exactly one base, and a pair among holders. The new arm returns the base only when the base itself has a row at the member and atMember.size >= 2. The S1 guard still covers the arm for "a member only additions hold". Every caller is a read path: item face 473 and 810, layered 111 and 240. No write path calls it. Both refusal sites keep the refusal beside a package-less row (!holding.unbound, !address.unbound, metadata-protocol: a package-less row beside two packages' rows of one name (no shipper) is served by store order on the plain read while /layers refuses — follow-ups of PR #33182 (#32607) #33210).
  • One read (data reads: every GET /api/v1/data read makes five serial sys_metadata reads of the target object's own active row (about 250 ms at 50 ms RTT) #24371). judgeHost.readItemActiveRows returns the rows already read for the same (type, name), and storedRowHoldersRefusal passes activeRows as preread. Ablation 6 (lane-reported) is the CI red at d4500af0.
  • Gates. 71 check-runs on this head, all completed: 58 success, 13 skipped, 0 failed. Lane readings: metadata-protocol 23046 passed, objectql src/protocol* 1189/1189, served-stack 159/159, 93/93 derived gates exit 0, and the ! battery VERDICT 0 (4055 passed). The ablations are lane-reported, and I did not re-run them.

R1 (REWORK) · cell 2's moved answers are listed and pinned only at ?member=en-US, but the new arm moves the canonical member, which a read naming no member also addresses. The new arm in rowHeldBaseAddressOf answers "at ANY member the base itself holds as a row (the canonical one included)". en-US is the canonical member, and member === undefined resolves to it in overlayMemberWhere. So in the cell-2 shape, these doors take the same new arm:

  • the plain read naming no member (GET /meta/email_template/sharedmail, item face 810 and 473);
  • /layers naming no member (layered 111 and 240);
  • /published;
  • the execution read naming no member.

On main the S1 guard returned undefined for the canonical member, so these reach the two-holder refusal just as ?member=en-US did. The changeset's moved-answer list, the body's FROM→TO table and the S2 pins name only ?member=en-US, /layers?member=en-US and the execution read at member: 'en-US'. The doors naming no member are neither listed nor pinned, in either holding or on either side of a reboot. Acceptance item 1 is about exactly these doors ("/published, /layers and the plain read naming no member give one answer before and after a restart").

Required:

  • In the S2 observe, add the plain read, /layers and /published naming no member, and the execution read naming no member. Assert each for the row-held holding and the shipped CONTROL, before and after a reboot, with status and code on any refusal (ADR-0112).
  • List each door that moves in the changeset's cell-2 bullet and the body's FROM→TO table. List each door that does not move under "Not moved".
  • If one of them answers differently from the plain read, say which and why in the body.

Deviation for the seat, not a REWORK item: premise correction 6938023903 said the fix "does not touch packages/spec/src". The ADR-0087 entry for the /published narrowing now does. Under rule card #34424, that is a large-card trigger. The work is done, and the landing tier below already accounts for it.

L2 owed: yes. Clause-②: no (narrowing) and a new packages/spec/src entry put it at CONTRACT_REVIEW_TIER for the whole diff outside the prose face, through this account's review seat, on the head after R1.

Landing tier: check-governed-merges.mjs --pr 34644 reports NOT governed, +235/−29 = 264 lines ≤ 3000. The PR touches packages/spec/src and declares a narrowing, so under the seat's 03:21Z and 04:14Z orders it lands Tier H via the seat, not as an area landing. It stays draft.

…changeset

The cell-2 arm also answers the canonical member, which the plain read,
/layers, /published and the execution read naming no member address. S2
now asserts those four doors for both holdings, both registration orders,
before and after a reboot; the changeset lists them as moved and the
shipped holding's unchanged answers under Not moved.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmRPxhTmqbUbMrqygh4
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1aff827bd5dde367bc1f7b7280681b403561b6f1
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/18.shipped-base-dependent-canonical-row-not-published.ts + packages/metadata-protocol/src/protocol-meta-layered-reads.ts, packages/metadata-protocol/src/protocol-meta-item-face.ts, packages/metadata-protocol/src/protocol.lookup-artifact-item-call-sites.test.ts, packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts (the narrowing floor: every path of the diff outside the changeset). Read, not reviewed: packages/metadata-protocol/src/protocol.ts (the class docblocks that are the contract of packagelessLayeredReadRefusal and getMetaItemLayered), protocol-artifact-lookup.ts, protocol-bundle-members.ts, protocol-lock-version-gates.ts, migrations/overlay-index.ts; packages/objectql/src/registry.ts, registry-items.ts, registry-package-addressing.ts, package-scoped-read.ts; packages/runtime/src/domains/meta.ts and packages/rest/src/meta-item-history-routes.ts, rest-server.ts (the /published and layered chains); packages/plugins/plugin-security (the two in-process layered readers); packages/spec/src/migrations/types.ts and entries/README.md; docs/adr/0087; AGENTS.md; skills/objectstack-platform/SKILL.md and content/docs/concepts/metadata-lifecycle.mdx on main.

Inputs read: card #34441 body and all six comments (triage 6925765766, the folded cell 6933869894, the premise correction 6938023903, claim 6938068147 and its two amendments); PR #34644 body, file list (6 files) and the net diff against merge base 31096af; the 71 check-runs on this head: every one completed, success or skipped, none failed, none pending.

① Derived judgments

Cell 1 (base A ships email_template N in fr-FR only; dependent D, which declares A, stores the canonical en-US row). Doors naming no package:

  • /published: before a restart 200 D's row, after it 404, now 404 on both sides. The one narrowing. Right: it is the answer with no D row, and the published rule (metadata-lifecycle.mdx: a locale a dependent adds under the base's name is served only under ?package= naming it) says the bare door never serves it. Mechanism: the orphan arm of getMetaItemLayered now requires isWantedMember(code); /published serves the layered overlay, which the orphan report had filled.
  • /layers naming no member: after a restart 404, now 200 with code and effective A's fr-FR, as before a restart and as with no D row. Right. Mechanism: the member-less artifact fallback when the registry's bare slot answered the hydrated row.
  • /layers naming no member, before a restart: the overlay field moves from D's row (the orphan report, overlayScope env) to null. Pinned by the new test (['base fr', null]), right by the same rule, but not in the changeset's list (S2).
  • Item read naming no member (200 A's fr-FR), ?member=en-US (404), /layers?member=en-US (404), both execution reads: unchanged on both sides, pinned against the CONTROL.
  • By code read only, unpinned: /layers?package=A naming no member after a restart takes the same fallback (the code layer was null there on main); and a package-less canonical row over the same base now reports code A's fr-FR after a restart where it reported null. Both align the two sides of a restart.
  • Each door now gives one answer across a restart. The doors do not agree with each other (/published 404, item read and /layers 200 A's fr-FR): that is the baseline with no D row, scoped out by 6938023903.

Cell 2 (no shipper; A stores en-US, D stores en-US and fr-FR), bundled type:

  • Item read ?member=en-US, /layers?member=en-US, the execution read: 409 naming A and D, now 200 A's row, before and after a restart, pinned. Right for a bundled type: the registry's own count (isBundleAddition with codeMembersOf, metadata-protocol: after a restart, two stored rows of one name that each name a different holder leave only the last one loaded, for every package-slotted type (tool, webhook, …) #33127) makes a member both hold only as stored rows no clash, so D is an addition and A the one holder.
  • /published (it reads the canonical member, and asks the item read first): 409, now 200 A's row, by code read. A moved door the changeset does not list and no test pins (S2).
  • The item face and the layered door give one answer for the same rows: both ask rowHeldBaseAddressOf, and getMetaItemLayered reads at the address it returns.
  • Not moved, because the diff does not touch packagelessAddress: the save, delete, publish, draft and history doors naming no package still refuse these rows naming A and D. The reads and the writes naming no package now answer the same rows differently (S1).

Outside both cells, wrong: the same arm now runs for every type the registry reads by package, bundled or not (M1).

Call-site ledger: the one new lookupArtifactItem site is recorded with disposition no; right, the fallback is the code layer and grafts nothing. For a type with no members the fallback repeats the lookup above it with the same arguments and cannot change an answer.

② Semver level

@objectstack/metadata-protocol patch and @objectstack/spec patch, title with !, a BREAKING banner, Clause-②: no (narrowing), Metadata-protocol: none, and one marker adr-0087: registered shipped-base-dependent-canonical-row-not-published, whose id is new in this diff. Clause-②: no (narrowing) is the right arm: one served answer becomes 404; the other moves are refusals or 404s becoming served answers, and the pair allows one arm. Metadata-protocol: none is consistent with a registered semantic entry: the kind states what a metadata author can write, and no key, value, default or stored shape moves; AGENTS.md has a non-protocol breaking change ship patch with its banner and its ADR-0087 disposition, which is this. Both Check Changeset runs and Lint · repo & tooling gates are green on the head. The level holds; the body's list of moved answers does not (S2).

③ Boundary flags

④ Design judgment

The entry (the hits file). It holds. Type SemanticMigration, the four required fields present, filename derived from the id, no index owed (the directory is the registry, generated), relevantWhen rightly omitted with the reason in the comment, and the same shape as its sibling 18.row-held-base-addition-bare-read-at-base.ts. Surface, reason and acceptance criteria are true of the diff: the orphan guard is what stops /published, the cell-1 test pins 404 on both sides of a restart in both registration orders, and the replacement address is pinned (?package=D&member=en-US serves D's row). It rightly covers the narrowing alone.

The narrowing. It makes the published rule real and takes no declared capability away. metadata-lifecycle.mdx and the ADR-0146 paragraph of the platform skill on main say a dependent's added locale is that package's own item, served only under its own ?package=; /published serving it at the bare address, and only until a restart, was the implementation gap. D's row stays readable at its own address. The orphan report keeps every case it was written for: with a member named, the code layer is always that member's, and a base shipping the canonical member still reports a dependent's row of it.

M1 (must-fix) — rowHeldBaseJudgment runs for types with no bundle members, and moves their refusal. On main the first guard of rowHeldBaseAddressOf (overlayMemberValue must be a string) returned before anything else for the canonical member and for every type with no members. The diff moves that guard into the tail arm, so the new arm (atMember.has(base) with two or more packages at the member) is reached for every type readsByPackage answers true for: app, page, dashboard, report, tool, permission, flow and the rest of PACKAGE_SCOPED_READ_TYPES. For such a type overlayMemberWhere is empty, so every row of the name is at the member. A name no package ships, held as stored rows by A and by D where D declares A, therefore moves on the item read, the execution read, /layers and /published from 409 naming A and D (the #32607 refusal) to A's row. Nothing supports it: the docblock still says the arm applies only to a bundled type; the stated ground, that the registry names the base the one holder, is false there (packageScopedHoldersOf returns every holder when the type has no discriminator; a bundle addition exists only for a bundled type); the changeset's list of every moved answer does not carry it; and no test pins it (the existing dashboard and tool pins use packages with no dependency between them, which is why the checks are green). It also reaches getMetaItemLayered naming no package for permission, the read the security catalog echo and the packaged-permission-set lock gate take, against the note at the top of that function that those readers keep the answer they had. Fix: keep the judgment to bundled types (a discriminator guard at the top of rowHeldBaseJudgment) and pin a non-bundled name with a dependent and a base both holding rows as still refused on every bare door; or take the move to a ruling and then declare and pin it.

S1 (should-fix) — the contract of packagelessLayeredReadRefusal is now false and the diff leaves it. The function body says the class method's docblock is its contract; that docblock (protocol.ts) says the door refuses whenever the item's active rows at the member are bound to two or more packages, with the refusal the package-less save and delete answer for the same rows, one answer to one ambiguity. In cell 2 the door now serves A's stack while the save, delete, publish and history doors naming no package still refuse the same rows naming A and D, the Studio shape that docblock describes: the view loads, the save it then sends is refused. Fix: state the exception and the remaining refusal of the writes in that docblock and in the changeset, and open a follow-up card for whether the writes naming no package follow the base.

S2 (should-fix) — the changeset's list headed every moved answer is incomplete, and one of the missing moves is unpinned. Missing: cell 2 /published (409 to A's row), which no assertion covers; cell 1 /layers naming no member before a restart, whose overlay moves from D's row to null (pinned, not listed). Fix: add both to the changeset and the PR table, and add /published to the S2 pin for the row-held and the shipped holdings.

N1 (nit) — the entry's acceptanceCriteria says callers read the row with ?package=DEPENDENT&member=CANONICAL instead without naming the door; /published takes neither parameter, so name the item read as replacement does.
N2 (nit) — packagelessLayeredReadRefusal and getMetaItemLayered each call rowHeldBaseAddressOf without rows already read, and since the guard moved, the layered read reads the item's active rows once more for every member-less read of a row-only name. M1's guard removes it for types with no members.
N3 (nit) — the first paragraph of the rowHeldBaseAddressOf docblock still says the read moves only when the base holds no row at the member and only at a named non-canonical member, which the appended paragraph reverses; the storedRowHoldersRefusal docblock still states the refusal without the exception.

M1 moves the head; this record does not cover the fix, and S1 and S2 ride the same round.

Implemented-by: claude/project-thread-qajjjq
Reviewed-by: session_01ADHkmP44onN8RMzsPMqjRq

VERDICT: FAIL

A type with no members has no bundle additions: the registry names every
package holding such a name a holder, so a base and its dependent storing
rows of it stay two holders, refused naming both (#32607). The judgment
now answers only for a bundled type, judged before the rows are read.
Pin: a dashboard both store is refused naming both on every door naming
no package, before and after a reboot.

Docblocks state the cell-2 exception on the layered door's contract and
that the writes naming no package still refuse; the changeset lists the
cell-1 /layers overlay move and the unmoved writes and non-bundled names;
the semantic entry names the item read in its acceptance criteria.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmRPxhTmqbUbMrqygh4
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmRPxhTmqbUbMrqygh4

Final head: 6acd3f1290e7bd689f2bca73b94c252cf49696b6 (2026-11-17T07:08Z)

Delta since 1aff827bd5 (L1 REWORK 6940248328, L2 FAIL 6940385771):

At this head:

  • CI: 56 success, 11 skipped, 0 failed.
  • metadata-protocol 23046 passed; objectql src/protocol* 1189/1189; runtime src/domains 6628/6628 (served-stack 161/161); rest src/meta* 2213/2213; spec src/migrations 198/198; typecheck exit 0.
  • dispatch-gates.mjs --ran: 97 derived, 97 run, 0 NOT-MEASURED, all exit 0 (the 4 the new protocol.ts path adds ran at this head).
  • Dogfood battery (narrowing arm), full, under the lock: 478 passed / 3 skipped files, 4055 passed / 68 skipped tests, VERDICT command-exit 0.

The PR stays draft; landing is the seat's Tier H.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq

Contract-review-claim: session_01ADHkmP44onN8RMzsPMqjRq · head 6acd3f1 · 2026-11-17T07:09Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmTPcB6fZEwhd2hNQwC

席位核对

L1 verdict: ACCEPT (delta) · PR #34644 · card #34441 (Fixes) · delta over L1-c2 REWORK 6940248328 (at 1aff827bd5) · L1-c2 of seat repo:objectstack#2 · read 2026-11-17T07:11Z

Head-sha: 6acd3f1290e7bd689f2bca73b94c252cf49696b6 (the head of final-head comment 6941319715)

Read from GitHub and the commits at this head, not from the report. The first-parent delta is two fast-forward commits, 6fe5e956 and 6acd3f12: 5 files, +121/−15.

R1: closed.

  • The S2 observe now reads all four doors naming no member: the plain read, /layers (effective and overlay), /published, and the execution read, whose throw is captured as ['threw', name, code]. It reads them for both holdings, both registration orders, and both sides of a reboot.
  • Row-held holding: each door serves A's en-US (packageId A).
  • Shipped CONTROL: the plain read and execution read serve A's en-US. /layers and /published report D's row as the overlay A's code shadows (the metadata-protocol: one effective read — package-less, base-named, layered, the env-wide list and export serve the .custom declared override, and a withdrawn public form stays withdrawn #28409 arm, unchanged).
  • The FROM (409 RESOURCE_CONFLICT, and the execution read throwing PackageScopedNameRefusedError) is measured by ablation 7.
  • The changeset's cell-2 bullet now lists the doors naming the member and the doors naming no member separately. The body's FROM→TO table does the same, and "Not moved" carries the shipped CONTROL.

Also in this delta (L2 FAIL 6940385771), read for L1

Prose: I checked the rewritten changeset bullets and the "Not moved" additions against the code and pins above, sentence by sentence. "Bundled types only (a type with no members has no additions)" matches the M1 guard. "The writes naming no package do not move" matches: no write door calls rowHeldBaseAddressOf (the callers are item face 473 and 810, layered 111 and 240).

Gates: 71 check-runs on this head, all completed: 58 success, 13 skipped, 0 failed (Check Changeset re-ran after the body edit, success). The lane reports at this head: server suites green, 97/97 derived gates exit 0, and the ! battery VERDICT 0. Ablations 7 and 8 are lane-reported, and I did not re-run them.

L2 owed: yes. A delta on this head is not on record. The latest record is FAIL 6940385771 at 1aff827bd5, so its author owes a delta on this head at CONTRACT_REVIEW_TIER, through this account's review seat.

Landing tier: NOT governed, +350/−38 = 388 lines ≤ 3000. The PR touches packages/spec/src and declares a narrowing, so it lands Tier H via the seat (03:21Z and 04:14Z orders). It stays draft.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 6acd3f1290e7bd689f2bca73b94c252cf49696b6
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/18.shipped-base-dependent-canonical-row-not-published.ts + packages/metadata-protocol/src/protocol-meta-layered-reads.ts, packages/metadata-protocol/src/protocol-meta-item-face.ts, packages/metadata-protocol/src/protocol.ts (new in the diff: the contract docblock of packagelessLayeredReadRefusal), packages/metadata-protocol/src/protocol.lookup-artifact-item-call-sites.test.ts, packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts (the narrowing floor: every path of the diff outside the changeset). Read, not reviewed: packages/metadata-protocol/src/migrations/overlay-index.ts (overlayMemberValue, overlayMemberWhere), packages/metadata-core/src/item-key-discriminators.ts, packages/objectql/src/registry-package-addressing.ts (packageScopedHoldersOf), packages/objectql/src/package-scoped-read.ts (PACKAGE_SCOPED_READ_TYPES).

Delta review of record 6940385771 (FAIL on head 1aff827). Inputs read: that record; the change between the two heads on the PR's own files (five files move: the changeset, protocol-meta-item-face.ts, protocol.ts, the served-stack test, the semantic entry; two commits, no merge of main between them); the whole files at the head where the delta cites them; the PR body; follow-up card #34681; final-head comment 6941319715; the 71 check-runs on this head.

① Derived judgments

  • The bundled-type guard. rowHeldBaseJudgment now returns before any read when overlayMemberValue(singular, member) is undefined, which is exactly a type with no entry in ITEM_KEY_DISCRIMINATORS (today every type but email_template). It is the same table the registry reads in packageScopedHoldersOf, so the protocol and the registry agree on which types can have a bundle addition. rowHeldBaseJudgment has one caller, rowHeldBaseAddressOf, and that has four: the item face's storedRowHoldersRefusal, the item face's address fallback in readMetaItemFace, the layered door packagelessLayeredReadRefusal, and getMetaItemLayered. No write path calls either. So for a type with no members all four get undefined, as they did on main, where the first guard of rowHeldBaseAddressOf returned for every such type. The guard sits after the readsByPackage check only; both are synchronous and read nothing.
  • Accept-set effect of the delta: against the previous head, a non-bundled name held as stored rows by a base and its dependent, no package shipping it, goes back from served (the base's row) to 409 naming both on the item read, the execution read, /layers and /published. Against main that is no move: it is the metadata-protocol: a name held only by stored rows of two enabled packages answers the bare read by save order while /layers refuses 409 (ADR-0150 D3) #32607 refusal main answers. The delta adds no moved answer of its own; it removes the one unlisted move the previous head carried.
  • The permission layered read naming no package (the security catalog echo and the packaged-permission-set lock gate): permission has no discriminator, so rowHeldBaseAddressOf returns undefined before the rows are read and getMetaItemLayered takes the address it took on main.
  • Cell 1 and the bundled cell 2: the code is unchanged between the heads (protocol-meta-layered-reads.ts does not move; in protocol-meta-item-face.ts only the guard and docblocks move). The judgments of 6940385771 for those cells stand.
  • Cell 2, doors naming no member (the canonical member): the plain read, /layers, /published and the execution read serve the base's en-US where main refused 409. Now listed in the changeset and the PR table and pinned for both holdings, both registration orders, both sides of a reboot.
  • The shipped CONTROL of cell 2 naming no member: the plain read and execution read serve A's en-US; /layers overlay and /published are D's row (the metadata-protocol: one effective read — package-less, base-named, layered, the env-wide list and export serve the .custom declared override, and a withdrawn public form stays withdrawn #28409 shadowed-overlay report). By code this is unchanged from main: the orphan guard added for cell 1 holds when the code layer is the addressed member, which a base shipping en-US satisfies. The changeset says so under Not moved, and the pin asserts it.

② Semver level

Unchanged: @objectstack/metadata-protocol patch and @objectstack/spec patch, title with !, the BREAKING banner, Clause-②: no (narrowing), Metadata-protocol: none, one marker adr-0087: registered shipped-base-dependent-canonical-row-not-published. The delta removes a widening and adds none, so the one narrowing (cell 1 /published 200 to 404) is still the only one and the arm is still right. The changeset's list of moved answers now matches the code (S2 below).

③ Boundary flags

④ Design judgment

The entry (the hits file). The delta changes one sentence of acceptanceCriteria, which now names the item read GET /api/v1/meta/TYPE/NAME?package=DEPENDENT&member=CANONICAL, as replacement does. The rest is unchanged and still true of the narrower code: the entry describes cell 1 only (a bundled name, a base shipping only non-canonical members, a dependent's canonical row), which the bundled-type guard does not touch, and the cell-1 pin still asserts 404 on both sides of a restart with the replacement address serving D's row.

The narrowing itself is unchanged from 6940385771: it makes the published rule real and takes no declared capability away.

M1: closed. The judgment is kept to bundled types at its single entry point, so every caller is covered by one guard, and the docblock states it. The new M1 guard pin holds a dashboard (a type the registry reads by package, with no members) stored by A and by D where D declares A, no shipper, and asserts on the plain read, /layers, /published (409 RESOURCE_CONFLICT with both packages as candidates) and the execution read (throws, code RESOURCE_CONFLICT, status 409), in both registration orders, before and after a reboot, with each ?package= serving its own row. That is every bare read door the finding named.

S1: closed. The contract docblock in protocol.ts now states the exception (a bundled type with no shipper, the base and its additions at the member, still refused beside a package-less row) and that the save, delete, publish, draft and history doors naming no package still refuse the same rows. True of the code: packagelessAddress is not in the diff and no write path calls rowHeldBaseAddressOf. The changeset says the same, and #34681 holds the question.

S2: closed. The changeset and the PR table now carry cell 2 /published (409 to A's row) with the other three doors naming no member, and cell 1 /layers overlay before a restart (D's row to null). The S2 pin asserts all four member-less doors for the row-held and the shipped holdings.

N1: closed.
N3: closed. Both docblocks now state both arms and the exception.
N2 (nit) — closed for types with no members (the guard returns before the read). It remains for a bundled name no package ships: the layered door and getMetaItemLayered each call rowHeldBaseAddressOf without rows already read.
N4 (nit) — two inline comments still describe only the older arm: the [#33210 (c)] comment above the rowHeldBaseAddressOf call in readMetaItemFace and the one above the call in getMetaItemLayered say a member only a dependent's addition holds; since cell 2 the same call also answers the base at a member the base itself holds. The function docblock is right.

No must-fix, no should-fix.

Implemented-by: claude/project-thread-qajjjq
Reviewed-by: session_01ADHkmP44onN8RMzsPMqjRq

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Seat record · 2026-11-17T07:15Z · Head-sha: 6acd3f1

维护者速读

  • 改了什么:两处「同一请求、两个答案」对齐。(1) 基础包只在代码里发 fr-FR、依赖包存了规范成员 en-US 行时:/published 重启前会答依赖包那行,现在答 404;/layers(不点成员)重启后会 404,现在答基础包的 fr-FR。两扇门都和「没有依赖包那行」时一样,重启前后一致。(2) 基础包和依赖包都以存储行持有同一成员时,不带包的读取、/layers、执行面从 409 点名两者,改为答基础包的行,和基础包在代码里发布时一样。
  • 为什么改:metadata-protocol: an email-template locale added in a <base>.custom pair is read by name but never listed or sent, so a send in that locale renders the base's (#28779 follow-up) #28802 R2 已定:依赖包追加的成员只在它自己的 ?package= 下服务,不带包的读取看基础包。(1) 是层读把依赖包那行误报成基础包的「孤儿行」;(2) 是持有判定没看依赖关系,把追加当成了第二个持有者(metadata-protocol: a shipped base holding only another bundle member answers the canonical member differently before and after a restart #34441)。
  • 风险与回滚:只动 metadata-protocol 的读取路径,不动写入。/published 那一格是收窄(200→404),已登记 ADR-0087 条目(新增一个 packages/spec/src/migrations/entries/semantic 文件)。其余两格是把拒绝改成服务基础包自己的内容。回滚即撤回本 PR。
  • 先看:protocol-meta-layered-reads.ts 的孤儿判定(加了 isWantedMember(code))和代码层兜底;protocol-meta-item-face.ts 的 rowHeldBaseAddressOf(拆出 rowHeldBaseJudgment)。
  • 两分钟验证:pnpm --filter @objectstack/runtime exec vitest run src/domains/meta-disabled-holder-served-stack.test.ts -t "cell 1|S2,",预期 6 个用例全绿。
  • 需要你做的:用 os-zhuang 审读并批准这个收窄。契约复审 PASS 6941420263,钉在 Head-sha 6acd3f1290e7bd689f2bca73b94c252cf49696b6。批准在案后由席位翻 ready,经合并队列落地。

席位意见:同意合并。方向由 #28802 R2 已定,本 PR 让两扇门在重启前后答同一个答案;收窄那一格只影响「依赖包追加了基础包没发的规范成员」这一种少见形态,已登记迁移条目。

席位核对

  1. 形态:7 个文件,+350/−38,Fixes #34441;Clause-②: no (narrowing),Metadata-protocol: none,Skills-docs: none(技能和文档已经教「依赖包追加的语言只在自己的 ?package= 下服务」,本 PR 让代码符合它)。碰 packages/spec/src 且收窄 ⇒ Tier H。
  2. 前提实测:区在认领前实测两格(席位前提更正 6938023903);本 PR 修复前后对照,五项消融全部翻红。
  3. 门禁 check-runs:head 6acd3f12 上 71 条,58 绿、13 跳、0 红;dogfood 全电池过;check-governed-merges NOT governed,388 行。
  4. 接受的偏差:L1-c2 delta ACCEPT 6941364715(首审 REWORK 6940248328 已修);契约复审 PASS 6941420263(前一份 FAIL 6940385771 的 M1/S1/S2 已修),N2(无发货名的 layered 多读一次)、N4(两处行内注释只讲旧臂)为 nit。席位前提更正写「不碰 packages/spec/src」,实际为登记收窄加了一个迁移条目,席位接受。
  5. 范围外去向:metadata-protocol: with a bundled base and a dependent both holding a member, the bare write doors still answer 409 naming both while the bare read now answers the base #34681(写门是否跟随基座)、metadata-protocol: /published and ?member= answer 404 where the equivalent plain read answers 200, although resolveBundleMemberSelector treats them as one request #34682(/published 与 ?member= 的 404 和普通读不一致,main 上既有),均已敲分诊。
  6. 落地条款:os-zhuang 授权批准在案后,席位翻 ready,经合并队列落地;Fixes #34441 合并即关卡。

@os-zhuang
os-zhuang added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit ddab49d Nov 17, 2026
77 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-qajjjq branch November 17, 2026 10:09
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 17, 2026
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 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

Development

Successfully merging this pull request may close these issues.

metadata-protocol: a shipped base holding only another bundle member answers the canonical member differently before and after a restart

3 participants