Skip to content

fix(metadata-protocol)!: the writes, the restart and the action doors that name no package give the answer the read names - #38752

Merged
os-zhuang merged 11 commits into
mainfrom
claude/project-thread-3bely6
Nov 30, 2026
Merged

os-zhuang merged 11 commits into
mainfrom
claude/project-thread-3bely6

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #34452

Refs #34346, #34417, #33904, #34258 (the fold's members, closed into #34452 on 2026-11-20) and #33127 (heal 2 only)

Clause-②: no (narrowing)
Metadata-protocol: none
Skills-docs: none — no key an author writes changes; the moved answers are writes, a restart and action reads that name no package, which the skills already teach as "name the package"

维护者速读

What changes

Five criteria, one commit each, on main after #38640:

  1. metadata-protocol: with two enabled holders and a stored row bound to a disabled holder, a bare save writes one enabled holder's row and a bare draft save or delete addresses the disabled holder's row, while the bare read refuses 409 #34346 (9d731b0): two enabled packages ship a name, and its stored rows are bound to a disabled package D and to one of them, E. The bare publish save, the bare draft save and the bare delete now refuse 409 naming the two enabled holders, as the bare read does. They never name D, and they write or remove nothing. ?package=E saves and deletes as before. Before, the publish save wrote E's row (200), and the draft save and the delete refused naming E and D. (packages/metadata-protocol/src/protocol-save.ts, protocol-diff-delete-load.ts)

  2. metadata-protocol: after hydration, the first holder's exact address of a doc two packages ship serves the environment's package-less row instead of that package's own doc #34417 (0a14e90, criterion rewritten by the seat to ruling 6942962369): the environment's package-less doc row, hydrated after the artifacts registered (loadMetaFromDb), answers first on every bare door, on both transports and in both registration orders. Each holder's exact address (the plain read and /layers) reads that holder's own doc. Before, the hydrator grafted the first registered holder's envelope onto the row, so ?package=FIRST served the environment's row under that holder's name and the bare doors refused 409. (protocol-registry-hydration.ts)

  3. 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 heal 2 (a8bf411, Refs): for the three healed overlay types, a package-less row with no holder served wears no envelope and is recorded with no holder, by the hydrator and by the heal alike. The enable that later serves one holder builds the row under that holder's envelope, as the hydrator lays it then. Before, the lookup that names no package answered a disabled holder's artifact, and the heal dropped the record. No door's answer moves (registry-only; the pins are in packages/objectql/src/package-scoped-exact-qualifier.test.ts).

  4. metadata-protocol: the merged action listing leaves out the environment package-less row on another object while the by-name read serves it #33904 (616d76d, b61bcd2, 73c2de8 and 9910fbc, ADR-0150 D4, ruling 6942962369): a package's action of a name on one object, and the environment's own package-less action of the name on another object that no package's action of the name binds, are separate items at D4's key (package, objectName, name). One predicate, holdsEnvironmentOwnAction (sys-metadata-repository.ts), reads the environment's own action off the item's active rows. The read naming no package serves its row and version, the merged list slots an action by (name, object) where a package's action of the name binds that object, an object-less action being a key of its own (elsewhere, by name as on main, so a platform item and the environment's object-less row of its name stay one slot, which /actions/_env/OBJECT/NAME reads as the platform item's key: runtime action-package-addressing.test.ts), and the delete naming no package removes the environment's row and retires the registry's bare-slot entry it left. With no such row, every door answers as before. Before, the plain read, /layers effective and /published served the package's item, the list named only it, and the delete removed the package's row. The same holds with the package's action object-less and the environment's on an object (73c2de8; before it, the list named only the package's).

    List cells with no environment-own action (73c2de8, declared in the changeset bullet "The merged action list where a package binds the object" and in the environment-action-on-another-object-answers-first entry). Two packages P1 on account and P2 on contact, a package-less row on account: FROM the row listed under both packages and P2's own action dropped, TO the row listed as P1's customization and P2's own action listed. A list scoped to a code package on account, the environment's row on contact passed as a stand-in: FROM the package's slot serving the environment's body, TO the package's own action. A platform action of the name (no package, no stored row) on lead, or object-less, beside a package's action on account or object-less (9910fbc, the contract review's S3): FROM the platform action dropped, TO both listed (the bound variant moved at 616d76d, the object-less one at 73c2de8); the bare read already refuses that name 409 naming both, so the list now names the two candidates the refusal names. Pins: packages/metadata-protocol/src/protocol.action-list-slot-key.test.ts, red on main (8) and on b61bcd2 (3: the object-less cells).

  5. metadata-protocol: the package-less withhold for an action judges the name's holders, not the row's (object, name) key, so an enabled holder on another object keeps a disabled key's customization served #34258 (fa54140, ADR-0150 D3/D4): a package-less action row is withheld or served by the holders at its own (object, name) key, not the name's. With two or more holders bound to the key, the envelope lookup (lookupArtifactItem, protocol-artifact-lookup.ts) lends the ONE enabled holder's envelope; with two enabled holders, or none, it answers as before. The face's withhold judges the key's holders (actionKeyHoldersOf, protocol-meta-item-face.ts). Before, a disabled and an enabled holder on the row's object made the row wear the disabled one's envelope when it registered first, and the read withheld it (404). And an enabled package holding the name on another object kept a key whose every holder is disabled served.

    Narrowing cell. Every holder on the row's object disabled (A and B on account), an enabled C holding the name on contact, the environment's row on account: the read naming no package moves FROM 200 serving the row (the name's holders were judged, and C is enabled) TO 404, as a key whose every holder is disabled answers with no other holder of the name. The ! and Clause-②: no (narrowing) cover it. Pin: rest [#34258] "A and B disabled on account, C enabled on contact" (the "metadata-protocol: the package-less withhold for an action judges the name's holders, not the row's (object, name) key, so an enabled holder on another object keeps a disabled key's customization served #34258 key" ablation arm turns it red). The changeset bullet, the package-less-action-row-judged-at-its-key entry and the pin title give it as FROM 200 → TO 404 (b0e3f1d, text only).

Plus (10c011f) four ADR-0087 semantic entries under step 19: bare-write-beside-disabled-row-refused-naming-shippers, hydrated-doc-row-wears-no-holder-envelope, environment-action-on-another-object-answers-first and package-less-action-row-judged-at-its-key. Also the changeset .changeset/34452-same-name-writes-and-hydration.md (BREAKING banner, FROM and TO per criterion; #33127 heal 2 noted as moving no door).

What Fixes #34452 leaves open, each with its home:

Tests

Flipped pins (each pinned the FROM the criterion moves):

New pins:

  • [#34346] in packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts: the three bare writes refuse naming the two shippers and nothing moves, plus a ?package=E CONTROL.
  • [#34417] in meta-disabled-holder-artifact-door.test.ts: both transports, both registration orders.
  • [#33127 heal 2] in packages/objectql/src/package-scoped-exact-qualifier.test.ts: the enable while no holder is served, and the hydrator run in that state.
  • packages/runtime/src/domains/meta-environment-action-other-object-33904.test.ts (new file): every door naming no package, the list, a restart, the delete, the version, plus CONTROLs with no environment row.
  • packages/metadata-protocol/src/protocol.action-list-slot-key.test.ts (new file, 73c2de8): the list's slot key, cell by cell with each FROM in the title, plus five CONTROLs (a platform action on the package's object sharing its slot, a customization on the package's object, an object-less customization, a platform item with the environment's object-less row kept one slot, another type slotted by name).
  • [#33904] P's action OBJECT-LESS, the environment's on \task`` in protocol.packageless-save-address.test.ts (73c2de8): the list names both, the bare read serves the environment's, the bare delete removes the environment's row.
  • [#34258] in packages/rest/src/meta-qualified-item-route.test.ts: two disabled holders on the key beside an enabled one on another object (404, both orders), plus the card's CONTROL (one disabled and one enabled on the key: served as C's customization).

Acceptance notes

Verification

Head 5db4acc. It adds two commits to 73c2de8: 9910fbc (the contract review's S3: the platform-action list cell declared in the changeset bullet and the environment-action-on-another-object-answers-first entry, the count corrected to three cells, three pins and a CONTROL; no code moves) and 5db4acc (N5: the known-gap note cites #38753). On them, under the lock (VERDICT command-exit 0 each): spec build, gen:migration-registry no diff, spec migrations 209/209, spec test:repo 1608/1608, the two metadata-protocol list and save-address files 120/120 (the list file 13/13), typecheck of metadata-protocol and spec; gate families 1 to 81 of the 103 ran on 9910fbc and 82 to 103 plus check-issue-citations on 5db4acc (the two differ by one comment), every one exit 0, dispatch-gates --ran: 103 derived, 103 run, 0 NOT-MEASURED; overlap-check VERDICT clean exit 0 against origin/main 6ba8ddd. On 73c2de8 every CI check passed, Dogfood battery (opt-in) included (66 success, 13 skipped); a new run is owed on this head.

On 73c2de8, on main cb8d853 (after #38640, #38594, #38699 and #38712), in this container, heavy runs under scripts/pm/os-verify-lock.sh (shared box).

73c2de8 answers the contract review (S1, S2, N1 to N3): a package's object-less action is a list key of its own, the two list cells that moved are measured, pinned and declared FROM and TO, and three text fixes (the packagelessHolderRefusal docblock keeps its known gap; the bare-write entry's surface excludes a stored package-less row; the hydrated-doc entry counts a disabled shipper). On it, under the lock (VERDICT command-exit 0, held 1h27m40s): pnpm build 123/123; gen:migration-registry no diff; spec migrations 209/209; metadata-protocol 23813 passed / 45 skipped; runtime, the whole package, 658 files, 12568 passed / 27 skipped; rest 9099 / 351 skipped; objectql 14570; the two dogfood files 6/6; test:repo of objectql, rest, runtime, spec, core and types; typecheck of metadata-protocol, runtime, rest, spec and objectql; all 103 derived gate families exit 0 (dispatch-gates --ran: 103 derived, 103 run, 0 NOT-MEASURED); overlap-check VERDICT clean exit 0 against origin/main bb86347.

b61bcd2 fixes two CI reds of b0e3f1d, both from #33904's list slot: the local helper's name actionObjectKey was the #14878 dead member the tree-wide repo pins refuse (renamed actionSlotSuffix), and slotting EVERY action by object split a platform item from the environment's object-less row of its name, so /actions/_env/lead/approve served the platform item instead of 404 (runtime action-package-addressing.test.ts; bisected with rebuilt dists: main and the first three commits green, 616d76d red). On b61bcd2, under the lock (VERDICT command-exit 0): metadata-protocol 23803 passed / 45 skipped; runtime, the WHOLE package, 658 files, 12568 passed / 27 skipped; test:repo of runtime, objectql, rest, spec, core and types; rest 9099 / 351 skipped; the two dogfood files 6/6; typecheck of metadata-protocol and runtime; check:issue-citations, check-nul-bytes, check:adr-symbol-anchors, check:slot-lookup, check:type-check-debt, check:query-options-erasure, check:undeclared-dep-imports, each exit 0; overlap-check clean. The earlier local runtime reading covered src/domains only, which is how this cell was missed.

b0e3f1d (the L1 delta) changes text only: the changeset bullet, the entry, a pin title and two docblocks. On it, under the lock (VERDICT command-exit 0): spec build, gen:migration-registry (no diff), spec migrations 209/209, the CLI migrate-meta-engine-guidance pin 3/3, check-adr-0087-registration, check-changeset-no-major, check-empty-changeset, rest meta-qualified-item-route.test.ts 439/439, metadata-protocol typecheck, check:upgrade-guide, check:issue-citations, check-nul-bytes, each exit 0; overlap-check clean.

Suites

Under the verify lock: VERDICT command-exit 0 (held 1h12m59s).

run exit result
pnpm install --frozen-lockfile 0
pnpm --filter @objectstack/spec gen:migration-registry 0 no diff
pnpm --filter @objectstack/spec exec vitest run src/migrations 0 5 files, 209 tests
pnpm build 0 123/123 tasks
pnpm --filter @objectstack/metadata-protocol test 0 376 passed, 9 skipped files; 23803 passed, 45 skipped tests
pnpm --filter @objectstack/objectql test 0 641 files, 14570 tests
pnpm --filter @objectstack/rest test 0 442 files; 9099 passed, 351 skipped tests
pnpm --filter @objectstack/runtime exec vitest run --maxWorkers=2 src/domains 0 245 files; 7487 passed, 6 skipped tests
dogfood, the two files this PR changes (action-save-packageless-other-object, action-list-packageless-other-object) 0 2 files, 6 tests
typecheck of metadata-protocol, runtime, rest, spec, objectql 0 each

The full dogfood battery is not run locally: this PR's title carries !, so it is owed by the opt-in CI lane (Dogfood battery (opt-in)) on this head. For reference, an earlier full dogfood run on the same commits over main 830ff8b passed: 495 passed and 3 skipped files, 4187 passed and 68 skipped tests.

That earlier run also found three type errors after the rebase onto #38594 (the verb above, and an undefined narrowing in lookupArtifactItem). They were fixed in the commits that introduced them, and the runs above are on the fixed head.

Ablation (dev-ablation.md: commit first, mutate with ablation-replace, rebuild, dist preflight, run, restore from HEAD, prove an empty git diff HEAD, rebuild, preflight --absent)

Run on the branch before the rebuild from main. The code is the same, apart from the two type-only fixes named under Suites, which move no runtime path.

arm mutation pins red restored
#34346 the bare-write refusal beside a disabled binding made conditional (two guards in protocol-save.ts) runtime [#34346] 4 diff empty, marker absent
#34417 the hydrated environment doc grafts the holder's envelope again artifact-door [#34417] 2 diff empty, marker absent
#33127 heal 2 the no-holder-served branch and its record made conditional objectql [#33127 heal 2] 2 diff empty, marker absent
#33904 predicate holdsEnvironmentOwnAction answers false metadata-protocol 3, runtime 3 diff empty, marker absent
#33904 list slot the list slots actions by name again metadata-protocol 2, runtime 2 diff empty, marker absent
#33904 list slot, b61bcd2 arm A: by name again; arm B: every bound object joins the slot (the b0e3f1d rule) A: metadata-protocol 2, runtime 2, dogfood list 2; B: runtime action-package-addressing 1 each: git status --porcelain empty, rebuilt, marker absent
#33904 list slot, 73c2de8 an object-less action is no key of its own again (the b61bcd2 rule) metadata-protocol 3 (the two object-less list cells and the object-less pin in packageless-save-address); runtime 0 git status --porcelain empty, rebuilt, marker absent
#33904 delete heal the bare-slot entry is not retired on delete runtime 1 diff empty, marker absent
#34258 lookup the one enabled holder at the key no longer lends the envelope rest [#34258] 1 (the CONTROL) diff empty, marker absent
#34258 key the face's key-grain withhold made conditional rest [#34258] 1 diff empty, marker absent
#34258 stored rows a key-grain filter on enabledRowHolds (since dropped) 0: unreachable, see Acceptance notes diff empty, marker absent

The lookup leg was run again after the fix kept the earlier answer for two enabled holders (the lookup CONTROL in metadata-protocol had gone red in the full suite): 1 red, restored. An ablation-dist-preflight --absent reading exits 3 while untracked files are in the tree, even when the dist reading passes; the final readings were taken on a clean tree.

Gates

node scripts/pm/dispatch-gates.mjs --commands derived 103 families for this diff. All 103 ran on 73c2de8, again across 9910fbc and 5db4acc (see Verification), and before them on 10c011f, after the build above, each with < /dev/null, and every one exited 0. This includes check:type-check-debt, check:query-options-erasure and the migrate-meta-engine-guidance CLI pin.

dispatch-gates --ran: 103 derived, 103 run, 0 NOT-MEASURED, 0 UNRUN.

node scripts/pm/overlap-check.mjs: merges cleanly with origin/main 6ba8ddd, VERDICT clean exit 0.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ADHkmQmQ1jpFsNcARMbY56

…w refuse naming the holders the read names

Criterion (#34346): two enabled packages ship a name and its stored rows
are bound to a disabled package and to one of them. The bare publish save,
the bare draft save and the bare delete refuse 409 naming the two enabled
holders, as the bare read does, never the disabled package, and write or
remove nothing; ?package=E saves and deletes as before. The publish save
wrote the one enabled binding's row (200); the draft save and the delete
refused naming that package and the disabled one.

Claude-Session: https://claude.ai/code/session_01ADHkmQmQ1jpFsNcARMbY56
Co-authored-by: Claude <noreply@anthropic.com>
… packages ship wears no holder's envelope

Criterion (#34417, rewritten by the seat to ruling 6942962369): the
environment's package-less doc row, hydrated after the artifacts registered
(loadMetaFromDb), answers first on every bare door on both transports and in
both registration orders, and each holder's exact address (plain read and
/layers) reads that holder's own doc. The hydrator grafted the first
registered holder's envelope onto the row, so ?package=FIRST served the
environment's row under that holder's name and the bare doors refused 409.

The review M1 CONTROL that pinned the FROM is replaced by the criterion's pin.

Claude-Session: https://claude.ai/code/session_01ADHkmQmQ1jpFsNcARMbY56
Co-authored-by: Claude <noreply@anthropic.com>
… is disabled wears no envelope and stays recorded for the heal

#33127 heal 2. With no holder of the name served, the hydrator's lookup
naming no package answered a disabled holder's artifact, and the heal run
by an enable in that state rebuilt through the same lookup and dropped its
record. The entry kept the disabled holder's envelope, and the enable that
then served one holder had nothing to rebuild: its slot answered its code,
not the row, until the next unscoped hydration.

Now, for the three healed overlay types, a package-less row with no holder
served wears none (a disabled package holds no name, #32354) and is
recorded with no holder, by the hydrator and by the heal alike, so the
enable that serves one holder builds it under that holder's envelope, as
the hydrator lays it then.

Claude-Session: https://claude.ai/code/session_01ADHkmQmQ1jpFsNcARMbY56
Co-authored-by: Claude <noreply@anthropic.com>
…nment's own action on another object first

#33904, ADR-0150 D4, ruling 6942962369. With a package's action of a name
on one object and the environment's own package-less action of the name on
another (no package's action of the name binds it), the two are items of
their own at D4's key (package, objectName, name), as the save door
(ruling 6902014292) and the action route already key them. The doors that
name neither a package nor an object took the one package the stored rows
are bound to:

- the plain read, `/layers` `effective` and `/published` served the
  package's item, and the plain read's `version` was the package's;
- the merged list slotted actions by name, so it named the package's item
  only;
- the delete removed the package's row and left the environment's.

Now one predicate, holdsEnvironmentOwnAction, reads the environment's own
action off the item's active rows. The read naming no package serves its
row and version, the list slots an action by (name, object), and the
delete removes its row and retires the registry's bare-slot entry it
left. With no such row every door answers as before.

Claude-Session: https://claude.ai/code/session_01ADHkmQmQ1jpFsNcARMbY56
Co-authored-by: Claude <noreply@anthropic.com>
…ed by the holders at its own (object, name) key

#34258, ADR-0150 D3/D4. The read naming no package judged a package-less
action row against the name's holders, not its key's:

- the envelope lookup with an owner key answered the FIRST registered
  holder's artifact when it was bound to the key, so with a disabled and an
  enabled holder both on the row's object the row wore the disabled one's
  envelope when it registered first, and the read withheld it (404) where
  it serves the enabled holder's customization with the disabled holder
  absent (the card's CONTROL, measured on main);
- with that fixed, the face's fallback for two or more holders at the key
  (disabledOnlyHolderOf) judged the name, so an enabled package holding the
  name on another object kept a key whose every holder is disabled served
  (the card's acceptance 1).

Now the lookup lends the ONE enabled holder's envelope when two or more
holders are bound to the key (a disabled package holds no name); with two
enabled, or none, it answers as before. The face judges the key's holders
(actionKeyHoldersOf).

Claude-Session: https://claude.ai/code/session_01ADHkmQmQ1jpFsNcARMbY56
Co-authored-by: Claude <noreply@anthropic.com>
…art and action moves, with their changeset

Four semantic entries under step 19: bare-write-beside-disabled-row-refused-naming-shippers
(#34346), hydrated-doc-row-wears-no-holder-envelope (#34417),
environment-action-on-another-object-answers-first (#33904) and
package-less-action-row-judged-at-its-key (#34258). The changeset declares
the narrowing and its FROM and TO.

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

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

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

33 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 6ba8dddca32d981a060eae1a5617543b9a3fff81.

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

What this run could not see
  • 4 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 — 183 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 6ba8dddca32d981a060eae1a5617543b9a3fff81 → packageMentionDocs.

Which tree this was computed on

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

node scripts/docs-audit/affected-docs.mjs --json 6ba8dddca32d981a060eae1a5617543b9a3fff81

⚠️ 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 6ba8dddca32d981a060eae1a5617543b9a3fff81 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-11-30T10:51Z · first review

席位核对

REWORK @ 10c011f (card #34452, fold PR 2; draft; 24 files, +881/−85; six commits on main cb8d853)

Must-fix

  1. The first line closes no card, and the work it delivers has no open card. All four Fixes targets (metadata-protocol: with two enabled holders and a stored row bound to a disabled holder, a bare save writes one enabled holder's row and a bare draft save or delete addresses the disabled holder's row, while the bare read refuses 409 #34346, metadata-protocol: after hydration, the first holder's exact address of a doc two packages ship serves the environment's package-less row instead of that package's own doc #34417, metadata-protocol: the merged action listing leaves out the environment package-less row on another object while the by-name read serves it #33904, metadata-protocol: the package-less withhold for an action judges the name's holders, not the row's (object, name) key, so an enabled holder on another object keeps a disabled key's customization served #34258) and the Refs target 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 were closed as not_planned on 2026-11-20, when they were folded into metadata-protocol: beside one enabled holder of a doc, the bare /meta doc doors serve the holder's doc while the registry and MetadataFacade.get serve the environment's stamp-less entry #34452. metadata-protocol: beside one enabled holder of a doc, the bare /meta doc doors serve the holder's doc while the registry and MetadataFacade.get serve the environment's stamp-less entry #34452 itself was closed completed at 08:05:54Z by PR 1 (fix(metadata-protocol)!: same-name reads that name no package answer the environment's doc first and read a disabled holder as absent #38640). It still carries pm:dispatched, although its PR 2 half was open work. Merging this PR therefore closes nothing and records nothing. Fix, body only, the seat's call:

    The other way: keep metadata-protocol: beside one enabled holder of a doc, the bare /meta doc doors serve the holder's doc while the registry and MetadataFacade.get serve the environment's stamp-less entry #34452 closed, make the first line Refs #34452, and say in the body why no card closes.

  2. metadata-protocol: the package-less withhold for an action judges the name's holders, not the row's (object, name) key, so an enabled holder on another object keeps a disabled key's customization served #34258 has a narrowing cell that the changeset and the step-19 entry call unchanged. The new rest pin, "A and B disabled on account, C enabled on contact, the environment's row on account: withheld (404)", moves an answer.

    • On main, packagelessRowWithheldHolder judged two or more holders at the name's grain (disabledOnlyHolderOf). An enabled C holding the name on another object kept the row served: 200. The body says so ("an enabled package holding the name on another object kept a key whose every holder is disabled served"), and the dev's "metadata-protocol: the package-less withhold for an action judges the name's holders, not the row's (object, name) key, so an enabled holder on another object keeps a disabled key's customization served #34258 key" ablation turns that pin red.
    • So it is 200 → 404, a narrowing.
    • The changeset bullet says "A key whose every holder is disabled still answers 404" (line 18). The entry 19.package-less-action-row-judged-at-its-key.ts opens "A widening of the action read" and its replacement says "still withholds … whatever packages hold the name on other objects".
    • Fix: give that cell its own FROM 200 → TO 404 in the changeset bullet and in the entry (surface, replacement, acceptanceCriteria, and the header comment "A widening" → widening and narrowing). Add a BASE: 200 note to the pin's title, as its CONTROL has.

    The ! and (narrowing) already cover the kind, so no declaration changes.

On the delta I re-read the first line, the body's remaining-work lines, changeset line 18 and that entry. I also run the rest [#34258] pin, the new runtime #33904 file and the [#34346] pins at the new head.

Everything else passed (code read at this head)

Nits, no change asked

Checks at this head (read before writing, latest per name): 11 success, 14 skipped, 0 failure, 19 in progress (type checks, lint, builds, Test Core and UI plans, and the three Dogfood battery shards). mergeable_state blocked.
Dogfood: owed (! and (narrowing)). needs:dogfood-battery is on the pull, and the shards are running at this head. Every push owes a new run. L2: owed at CONTRACT_REVIEW_TIER (face schema); the seat runs it once CI is green.

… enabled holder elsewhere is declared as the narrowing it is

The changeset bullet and the ADR-0087 entry said that cell "still" answered
404; on main it answered 200, because the name's holders were judged. Each
now gives its FROM 200 and TO 404, and the rest pin's title names its base.
Two stale docblocks follow the code: the face's key-grain action judgment,
and the HolderRegistry note above the two new refusals.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-11-30T11:00Z · delta review

席位核对

ACCEPT @ b0e3f1d (card #34452, PR 2; delta from 10c011f and REWORK 7276197914: one commit b0e3f1d1, +23/−15, text only, plus the body)

Checks at this head (read before writing): 8 success, 12 skipped, 0 failure, 23 in progress. The Dogfood battery shards are running at this head under needs:dogfood-battery. Landing waits for every check green and for a Dogfood battery (opt-in) success on this exact head. Every further push owes a new run.
L2: owed at CONTRACT_REVIEW_TIER (face schema); the seat runs it on this head once CI is green. Pre-existing, for the seat (not this PR): the bare delete over rows bound to a disabled D and the only enabled shipper E still refuses naming D. NOT MEASURED; same family as #38753.

…here a package's action of the name binds it

#33904's list slot keyed every action by (name, object). That split a
platform item bound to `lead` from the environment's object-less row of its
name, which the action route reads as one slot whose key is the platform
item's, so `/actions/_env/lead/approve` served the platform item instead of
answering 404 (runtime action-package-addressing.test.ts, red on CI).

The object now joins the slot only where a package's contribution of the
name binds it: a package-less row there is that package's customization and
shares its slot, and package-less contributions on no package's object keep
the name's slot, as on main. The #33904 cell (a package's action on one
object, the environment's own on another) still lists both.

The local helper is renamed from `actionObjectKey`, the #14878 dead-member
name the tree-wide repo pins refuse, to `actionSlotSuffix`.

Claude-Session: https://claude.ai/code/session_01ADHkmQmQ1jpFsNcARMbY56
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/xl and removed size/l labels Nov 30, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-11-30T12:39Z · delta review

席位核对

ACCEPT @ b61bcd2 (card #34452, PR 2). This is a code delta from b0e3f1d and my ACCEPT 7276413693: one commit, b61bcd27, +32/−9, in protocol-overlay-merge.ts only, plus the body.

  • Red 1, the name. The local helper actionObjectKey collided with the [finding] A removal-time guard for deleted exported symbols still named as live — the per-symbol pin PR #14667 built could not see five of them #14878 retired-name guard, and test:repo failed in objectql and runtime. It is renamed actionSlotSuffix. No behaviour rides on the rename.

  • Red 2, the rule. On b0e3f1d every bound object joined an action's list slot. That split the platform's lead item from the environment's object-less row of its name, so /actions/_env/lead/approve served the platform item instead of 404.

    The body's criterion 4 and Verification name this rule and both reds.

  • Scope of the list change, as I read it. Two packages whose action of one name binds two different objects now list as two slots, where main gave one. That is D4's key (package, objectName, name), and it was already so at b0e3f1d, which I accepted. It is not new in this delta.

  • My runs at this head (fresh worktree, offline install, @objectstack/runtime^... built):

    • runtime meta-environment-action-other-object-33904.test.ts together with action-package-addressing: 178/178 passed, and 178/178 again after the restore.
    • Arm A, slot by name again (type-clean mutation, metadata-protocol rebuilt): 2 red, both metadata-protocol: the merged action listing leaves out the environment package-less row on another object while the by-name read serves it #33904 cases ("…the list names both…", in both save orders).
    • Arm B, every bound object joins the slot (the b0e3f1d rule): 1 red, action-package-addressing "/actions/_env/lead/approve is the platform item's key, 404…". This rebuild's DTS step refused an unused parameter (TS6133), after tsup had already written the JS the test reads. The red is the dev's arm-B red.
    • Both arms were restored and rebuilt. git status is clean.
    • I did not re-run the dogfood list file or the whole packages; the dev's in-lock runs are named in the body.

Checks at this head (read before writing): 23 success, 13 skipped, 38 in progress, 1 cancelled. The cancelled run is PR-body guards, superseded by the body edit's run. mergeable_state is blocked while CI runs. Landing waits for every check green and for a Dogfood battery (opt-in) success on this exact head. The b0e3f1d run does not carry, because this push moves code.
L2: owed again at CONTRACT_REVIEW_TIER on this head, because code moved. The seat runs it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: b61bcd2723976edb2ded11813761d94e8a25ea6f
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/19.bare-write-beside-disabled-row-refused-naming-shippers.ts, packages/spec/src/migrations/entries/semantic/19.environment-action-on-another-object-answers-first.ts, packages/spec/src/migrations/entries/semantic/19.hydrated-doc-row-wears-no-holder-envelope.ts, packages/spec/src/migrations/entries/semantic/19.package-less-action-row-judged-at-its-key.ts + packages/metadata-protocol/src/protocol-save.ts, protocol-diff-delete-load.ts, protocol-lock-version-gates.ts, protocol-meta-item-face.ts, protocol-meta-item-reads.ts, protocol-overlay-merge.ts, protocol-registry-hydration.ts, protocol-artifact-lookup.ts, protocol.ts, sys-metadata-repository.ts (same directory), and .changeset/34452-same-name-writes-and-hydration.md read line by line against them
Security-touching: no
Rule-change-verified: none

PR #38752 (card #34452, fold PR 2: the write doors, hydration and the action doors). Read: the card body and its 14 comments, the member cards #33904, #34258, #34346, #34417 with their comments, ruling 7187668758 on #34348, the PR body, the 24-file list, the net diff, the head's implementing files in full where a hunk cites them, main at 111ad632 for the code outside the diff, and the check-runs on this head. Nothing was built or run: every cell below marked "read" is a reading of the code, not a measurement.

① Derived judgments

② Semver level

Clause-②: no (narrowing) — matches the diff: no accept set widens for an authored key, and one read cell goes served to withheld (#34258) while three writes go 200 to 409 (#34346).

@objectstack/metadata-protocol and @objectstack/spec at patch with the BREAKING banner and the adr-0087: registered marker naming the four ids is the level AGENTS.md sets for a breaking change in the 19.x pre-release (pre.json mode pre), and the one PR 1 (#38640) shipped. @objectstack/spec is owed because the four entries publish there. runtime, rest, objectql and qa change tests only. Check Changeset is success (both runs).

Dogfood battery (opt-in) is success on this exact head, with its three shards; every other check-run is success or skipped, apart from one cancelled PR-body guards run superseded by a later success.

③ Boundary flags

④ Design judgment

S1 (should-fix) — the list's new slot rule moves two cells that no entry and no changeset line names (read, not measured). mergePackageAwareOverlay serves a package-less contribution for every package in its bucket that has no stored row of its own. Slotted by name (main), that reached every package holding the name; slotted by (name, object) it reaches only the packages binding the row's object.

  • Two packages, two objects, a package-less row on one of them (P1 approve on account, P2 approve on contact, a package-less row on account, neither package with a stored row of its own): main lists the row's body twice, once under P1 and once under P2, and P2's own action is not listed; this head lists the row under P1 and P2's own item. The entry environment-action-on-another-object-answers-first covers only a row on an object "no package's action of the name binds", and package-less-action-row-judged-at-its-key covers only the by-name read.
  • The list scoped to a package (?package=P, P code-only on account, the environment's row on contact passed as a stand-in): on main the stand-in seats P's slot and P's entry is the environment's body; here the stand-in reaches a slot of its own, is held back, and P's entry is its own item. The entry's surface names "the merged action list", and its TO ("the list names both") does not describe a scoped list.
  • Two packages on two objects with no package-less row are unchanged in content: main already emitted one item per package from the shared bucket; only the position of the second can differ.
  • Both moves follow D4's key (package, objectName, name) and the registry's own owner rule (overlaySlotBinding), so the rule is the ruled one, not a new decision. What is owed is the declaration: measure the two cells, pin them, and give each its FROM and TO in the entry and the changeset bullet, or show that they do not move.

S2 (should-fix) — beside a package's OBJECT-LESS action, the read and the delete move and the list does not (read, not measured). holdsEnvironmentOwnAction treats object-less as a key of its own, so with P holding approve object-less (a stored row) and the environment's package-less approve on contact, the read naming no package, its version, /layers effective, /published and the bare delete all move to the environment's item, as for an object-bound holder. actionSlotSuffix does not: object !== '' gives P's object-less item no suffix, and contact is in no package's set, so both land in the name's slot and the list names P's item only (or, with P code-only, the environment's body under P's name).

  • The comment above the rule says "object-less is its own key", and the slot string does not keep it apart from "the name's slot" a package-less contribution on no package's object falls to.
  • The entry's surface ("a package holds on one object") does not name this cell, so the read and delete moves there are undeclared, and its TO "the list names both" does not hold there. metadata-protocol: the merged action listing leaves out the environment package-less row on another object while the by-name read serves it #33904's own ask is that the list and the by-name read agree.
  • The mirror (P on account, the environment's row object-less) lists two items, and every pin in the diff binds both sides to an object, so no pin sees this cell. The b0e3f1d rule listed both here; the narrowing in b61bcd2 that restored /actions/_env/lead/approve is what closed it.
  • Owed: measure the cell; then either slot a package's object-less action as its own key (the platform cell has no package holder, so it need not move) with a pin and the ablation arm, or name the cell in the entry with the answers it has.

Nits

  • N1 — protocol-save.ts, the packagelessHolderRefusal docblock. The retired "Known gap" described an enabled and a disabled holder; the sentence that replaces it says that cell's refusal "is judged by disabledRowHoldersRefusal, which never names the disabled package". With one enabled holder the helper returns undefined and the door still names D (③). The helper's own docblock says so correctly ("one enabled holder or none: the door answers as before"). Restore the gap note with the follow-up card's number.
  • N2 — 19.bare-write-beside-disabled-row-refused-naming-shippers.ts, surface and acceptanceCriteria ("For every such name"). With a package-unbound row stored beside the two bound rows the code steps aside on all three doors (!address.unbound on the publish save; getEnvironmentScopedItem in disabledRowHoldersRefusal), as main does with no disabled holder and as decision: a package-unbound row beside a name that only disabled packages hold, or that two enabled packages hold: the bare read refuses (404 / 409) but the bare save edits the row (200) #34348's pending cell 2 has it. The surface would be exact with "and no package-less row of the name".
  • N3 — 19.hydrated-doc-row-wears-no-holder-envelope.ts, surface: "two or more enabled packages ship". environmentDoc counts every shipper, a disabled one included (shippedArtifactsOf adds disabled packages), so one enabled and one disabled holder move too, to the same TO. The changeset's "beside two holders" and the body's "two or more packages" are the exact wording.
  • N4 — packagelessReadAddress reads an action's active rows and then calls packagelessAddress, which reads them again; readMetaItem passes its rows down as the fifth argument and this path could do the same.

Held, after trying to break it

Implemented-by: claude/project-thread-3bely6
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

…of its own, and the list's moved cells are declared

L2 S2: beside a package's OBJECT-LESS action, the read and the bare delete
naming no package served and removed the environment's own action on another
object, while the list slotted both by name and named the package's only.
Object-less is now a key of its own in the list slot too, so the list names
both, as the read does.

L2 S1: the list's key slotting moves two cells with no environment-own
action (two packages on two objects with a package-less row on one; a list
scoped to a package beside the environment's row on another object). Each is
pinned with its BASE in protocol.action-list-slot-key.test.ts and given its
FROM and TO in the changeset and the ADR-0087 entry.

N1: packagelessHolderRefusal's docblock keeps the one-enabled-shipper gap
(#38769). N2: the bare-write entry's surface excludes a stored package-less
row. N3: the hydrated-doc entry counts a disabled shipper, as the code does.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-11-30T15:06Z · delta review

席位核对

ACCEPT @ 73c2de8 (card #34452), with one unreported list cell for the seat (below). This is the delta from my ACCEPT 7278759514 @b61bcd27. It is one commit, answering L2 7279719426 (S1, S2, N1–N3). It touches 8 files, all inside the claimed surface.

S2. actionSlotSuffix drops object !== '', so a package's object-less action is a slot of its own (\u0001). Where no package holds the name, a package-less contribution keeps the name's slot, as before.

S1. The changeset adds a fourth #33904 bullet, and the environment-action-on-another-object-answers-first entry widens its surface, replacement, reason and acceptanceCriteria. Together they name the two list cells L2 asked for, each with FROM and TO:

  • two packages on two objects, with a package-less row on one;
  • the list scoped to a package, beside the environment's row on another object.

N1–N3. N1: the Known gap note is back in the packagelessHolderRefusal docblock, naming #38769, and it is accurate. N2: the bare-write entry and bullet now exclude a stored package-less row. N3: the hydrated-doc entry and bullet now count a disabled holder.

Measured in a scratchpad worktree at this head, after building @objectstack/runtime^... and @objectstack/rest^...:

  • metadata-protocol action-list-slot-key, packageless-save-address and lookup-artifact-item-call-sites: 122/122.
  • runtime meta-environment-action-other-object-33904, action-package-addressing and the two meta-disabled-holder-* files: 428 pass, 6 skipped.
  • rest meta-qualified-item-route: 439/439.
  • Ablation (b61bcd2's rule put back, object !== ''): 3 red in metadata-protocol. They are the two object-less list cells, and the packageless-save-address pin "P's action OBJECT-LESS, the environment's on task".
  • Under the same ablation the runtime files stay green, after a metadata-protocol rebuild. So the object-less cell is pinned only at the protocol level. That is enough for the code, and I note it for L2.

Unreported cell. It does not block L1; it is for L2. I probed mergePackageAwareOverlay directly on three revisions with five object-less cells: this head, b61bcd2 and main. One cell moves on this head, and nothing in this PR names it: a platform item (no package) on lead beside a code package P's object-less action, with no stored row.

  • main and b61bcd2 list P's item only; the platform item is dropped.
  • This head lists both.
  • This is a widening (an item is listed again), and it follows the D4 key. But it has no environment-own action and no stored row, so the new bullet's "Two cells move with no environment-own action" undercounts it, and the entry's surface ("the environment stores its own package-less action") does not reach it.
  • The other four probes are unchanged on this head: a platform object-less item beside P object-less; the same plus an environment object-less row; P object-less with Q object-less and an environment object-less row; and P object-less with Q on account and an environment object-less row. The last of these does move against main, from Q's slot serving the environment's row to Q's own item. That is the declared "two packages, a package-less row on one" cell read with object-less as a key, so it is covered.
  • The fix is small: one sentence in the bullet and the entry (or a statement that the cell is out of reach), plus one pin. The seat should decide whether L2 asks for it.

Checks at this head (filter=all, read before writing): 26 success, 13 skipped, 36 in progress, 0 failure. Dogfood battery is running. This ACCEPT does not cover CI.
L2: owed again on this head (S1/S2 answers and the cell above). Dogfood must re-run green on this exact head.

…m action sits at a key no package binds

The list slot fix also lists a platform action of a name (no package, no
stored row) beside a package's action of the name on another object, or
object-less, where main dropped it (b61bcd2 moved the bound cells, 73c2de8
the object-less one). The changeset bullet and the
environment-action-on-another-object-answers-first entry now name it, FROM
and TO, and three pins plus a CONTROL hold it.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 73c2de844d0ba91d2c96a2cf4bbc693732e2dd59
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/19.bare-write-beside-disabled-row-refused-naming-shippers.ts, packages/spec/src/migrations/entries/semantic/19.environment-action-on-another-object-answers-first.ts, packages/spec/src/migrations/entries/semantic/19.hydrated-doc-row-wears-no-holder-envelope.ts, packages/spec/src/migrations/entries/semantic/19.package-less-action-row-judged-at-its-key.ts + packages/metadata-protocol/src/protocol-overlay-merge.ts, packages/metadata-protocol/src/protocol-save.ts, and .changeset/34452-same-name-writes-and-hydration.md read line by line against them
Security-touching: no
Rule-change-verified: none

Delta review of PR #38752 (card #34452) against record 7279719426 on b61bcd27. The delta is one commit, 73c2de84, 8 files: the slot rule (one line and its comment), one docblock, three entries, the changeset, and two test files. Read: the commit's diff, L1's delta record 7282452402, the PR body's new lines, card #38769 and the check-runs on this head. Nothing was built or run; the cell in S3 is read from mergePackageAwareOverlay and agrees with L1's probe of three revisions.

① Derived judgments

  • The slot rule, right for S2. actionSlotSuffix no longer excludes the empty object, so a package's object-less action takes a slot of its own (the name plus the separator alone) and the environment's row on an object no package binds keeps the name's slot: two items. A package-less object-less row beside a package's object-less action shares that package's slot, as its customization. With no package holding the name the set is empty and every contribution keeps the name's slot, so the platform cell behind /actions/_env/lead/approve does not move.
  • The declarations for S1, right. The changeset's new bullet and the environment-action-on-another-object-answers-first entry (surface, replacement, reason, acceptanceCriteria, header comment) give both cells their FROM and TO, and each sentence matches the merge: a package-less row is served only under the package binding its object, and a stand-in on an object the scoped package does not bind reaches a slot of its own and seats none.
  • One list cell moves that nothing declares: wrong as declared. See S3.
  • No export, no authored key and no stored shape moves in the delta. Metadata-protocol: none holds.

② Semver level

Clause-②: no (narrowing) — unchanged and still right. The delta adds one line of behaviour (a list slot) and prose; patch for @objectstack/metadata-protocol and @objectstack/spec with the BREAKING banner stands. The cell in S3 is a list naming one more item, not an accept set of an authored key, so it changes no arm; it owes a sentence, not a declaration.

Dogfood battery (opt-in) has NOT finished on this head: its three shards are in_progress and the aggregate run is not yet reported. Build Core, every Test Core and Test UI shard and three type checks are also in progress; 0 failures so far. The success on b61bcd27 does not carry, because this commit moves code. Landing waits for it on this exact head, and on the head any S3 fix produces.

③ Boundary flags

④ Design judgment

S1: closed
S2: closed

S3 (should-fix) — a platform (package-less, code) action beside a package's action of the name on another key is now listed beside it, and no entry or changeset line names the cell.

  • Object-less holder, new on this head: a platform item on lead beside code package P's object-less action, no stored row. On main and on b61bcd27 both share the name's slot and the list carries one item (P's, or the platform body under P's name, by listing order); here P's slot is its own and both are listed.
  • Object-bound holder, moved since 616d76d and missed in my first record: a platform item on lead beside P on account. P's slot carries account, the platform item keeps the name's slot: two items where main gives one.
  • It follows D4's key, and it agrees with the read: judgeBareActionRead already refuses that name 409 naming the package and the platform's item, so the list now names the two candidates the refusal names. The rule is right.
  • What is wrong is the ledger. The bullet says "Two cells move with no environment-own action", which is now a miscount, and the entry's surface ("the environment stores its own package-less action") does not reach an item no store row holds. A caller that lists actions sees a new item of a name it already had.
  • Owed: one sentence in the bullet and in the entry naming the cell in both variants with FROM and TO, the count corrected, and one pin per variant in protocol.action-list-slot-key.test.ts. No code change is asked.

Nits

Held, after trying to break it

  • Five object-less combinations read through the new suffix: P object-less with the environment's row on an object (two items, pinned twice: stored and code-only); P on an object with the environment's row object-less (two, pinned); P object-less with a package-less object-less row (one, the customization, pinned); a platform object-less item beside P object-less (one slot, unchanged); P object-less, Q on account, an object-less package-less row (the row under P only, Q's own item listed: the declared two-package cell with object-less as a key).
  • The S2 cell is pinned through the protocol as well as the merge (packageless-save-address: the list names both, the bare read serves the environment's, the bare delete removes its row). L1's ablation of the old rule turns three metadata-protocol pins red and no runtime pin; the protocol-level pin is enough for a one-line rule.
  • The S1 pins are on the merge function alone, with each BASE in the title; L1's probe of main confirms the two FROMs.

Implemented-by: claude/project-thread-3bely6
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

#38769 was closed as a duplicate into #38753.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-11-30T16:06Z · delta review

席位核对

ACCEPT @ 5db4acc (card #34452). This is the delta from my ACCEPT 7282452402 @73c2de84. It is two commits, text and tests only: no code line moves, and only a docblock line in protocol-save.ts.

The cell I flagged (L2 S3) is now declared.

  • The changeset bullet now counts three cells. The third is "a platform action of the name (no package, no stored row) on one object, or object-less, beside a package's action on another object, or object-less", with FROM (the platform action dropped) and TO (both listed).
  • The environment-action-on-another-object-answers-first entry's header comment, surface, replacement (with the way to read or override such an item), reason and acceptanceCriteria all name it.
  • These sentences match the cell I probed: the platform action on lead beside P's object-less action.

The pins bind across revisions. I ran action-list-slot-key and packageless-save-address (120 tests) at this head, with protocol-overlay-merge.ts taken from each revision in turn:

Overlay code from Result
this head 120/120
73c2de8 120/120 (the code did not move)
b61bcd2 4 red: the three object-less cells, including the new "platform on lead + P object-less", and the packageless-save-address object-less pin
main 11 red: every moved list cell, the three new platform pins included, and the three #33904 protocol pins

The zone counted 8 red on main and 3 on b61 for the slot-key file alone. My counts include the second file, and they are consistent with theirs. The "platform on the object a package binds shares its slot" control is green on all four revisions.

N5. The Known gap note now cites #38753, which is right: triage closed #38769 as a duplicate folded into #38753 (13:26Z), which is open.

Checks at this head (filter=all, read before writing): 15 success, 12 skipped, 28 in progress, 0 failure. This ACCEPT does not cover the runs still in progress. Dogfood must re-run green on this exact head before landing.
L2: the seat's same-head delta is owed (S3 answered).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 5db4acc5c18d893fc2b0261b767c15bdaeb9e438
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/19.bare-write-beside-disabled-row-refused-naming-shippers.ts, packages/spec/src/migrations/entries/semantic/19.environment-action-on-another-object-answers-first.ts, packages/spec/src/migrations/entries/semantic/19.hydrated-doc-row-wears-no-holder-envelope.ts, packages/spec/src/migrations/entries/semantic/19.package-less-action-row-judged-at-its-key.ts + packages/metadata-protocol/src/protocol-save.ts (one docblock line), and .changeset/34452-same-name-writes-and-hydration.md read against packages/metadata-protocol/src/protocol-overlay-merge.ts as it stands at this head
Security-touching: no
Rule-change-verified: none

Second delta review of PR #38752 (card #34452), against record 7282546306 on 73c2de84. The delta is two commits, 9910fbc3 and 5db4acc5, 4 files: the changeset, one entry, one docblock line and one test file. Read: the compare diff, L1's delta record 7284130793 and the check-runs on this head. Nothing was built or run.

① Derived judgments

  • No executable line moves. protocol-save.ts changes one card number inside a docblock; protocol-overlay-merge.ts is untouched since 73c2de84. Every answer on this head is the one reviewed there, so nothing new can move undeclared in this delta: right.
  • The platform cell is now declared: right. The changeset bullet counts three cells and gives the third its FROM and TO; the entry names it in its header comment, surface, replacement, reason and acceptanceCriteria. The sentences match the slot rule: a package-less contribution with no stored row, at a key no package's action of the name binds, keeps the name's slot while each package's action takes its own key, so both are listed; on the object a package binds it shares that package's slot.
  • The ledger is now complete against the rule, as read. A list answer moves only where a package holds the name and a package-less contribution sits at a key no package binds, or sits on one package's object beside another package's action. The four declared cells cover those: the environment's own action (stored), the two-package cell, the scoped list's stand-in, and the platform item (not stored). Where no package holds the name, and for every other type, the slot is the name as on main.
  • No export, no authored key and no stored shape moves. Metadata-protocol: none holds.

② Semver level

Clause-②: no (narrowing) — holds. The delta moves no behaviour. The platform cell is a list naming one more item, not an accept set of an authored key, so it adds no arm; the narrowings that carry the ! are unchanged (#34346's three writes, #34258's served-to-withheld cell). patch for @objectstack/metadata-protocol and @objectstack/spec with the BREAKING banner and the ADR-0087 marker naming the same four ids stands; Check Changeset is success on this head (both runs).

CI on this exact head is NOT finished. Dogfood battery (opt-in): its three shards are in_progress and the aggregate run is not yet reported. Also in progress: Build Core, Build & E2E UI, Live E2E UI, all 12 Test Core and all 16 Test UI shards, four type checks and three lint jobs. Completed: 17 success, 13 skipped, 0 failure. Earlier successes do not carry to this head. Landing waits for every run green and for a Dogfood battery (opt-in) success here.

③ Boundary flags

④ Design judgment

S3: closed

No must-fix, no should-fix.

  • S3, why closed. Declared in the changeset and in the entry, as ①, with the count corrected to three. Pinned in protocol.action-list-slot-key.test.ts by three cells (a platform action on lead beside a code package's object-less action; on lead beside a package on account; object-less beside a package on account) and one CONTROL (a platform action on the object a package binds shares its slot). L1 ran the file with the merge code of each revision: the object-less platform pin is red on b61bcd27, all three are red on main, and the CONTROL is green on all four. The pins therefore bind the rule and not the fixture.
  • Nits. N5: closed (the note cites metadata-protocol: the _env draft and layered reads answer 409 naming a DISABLED registry holder, against the principle that a disabled holder counts for nothing #38753). N4: left as written, as before. One wording note, no change asked: the third cell's FROM, "the platform action dropped", is the answer when the platform item is listed first; listed after the package's, the one slot carried the platform body under the package's name. Either way one item became two, which is what the TO states.
  • Tried to break. The entry's advice for the platform cell ("read it by its object (the action route) or override it in the environment") agrees with the doors: the bare by-name read of such a name is refused 409 naming the package and the platform's item, and the action route keys by object. The surface's "every package's action of the name is on another object or object-less" is the exact condition under which the platform item's key is in no package's set.

Still open outside this PR, unchanged by this round: the folded row on #38753 (the bare delete and draft save beside a disabled package and the only enabled shipper); a package-less doc row beside one shipper hydrated after its artifact, NOT MEASURED; and the dev report's fourth out-of-scope item, which has no card.

Implemented-by: claude/project-thread-3bely6
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

维护者速读

Seat opinion: land as is.

席位核对

ACCEPT at head 5db4acc5c18d893fc2b0261b767c15bdaeb9e438 · Tier H by the queue guard's narrowed-spec leg · Fixes #34452

  1. Shape: 25 files, +1072 / -87: the bare save, draft save and delete in protocol-save.ts / protocol-diff-delete-load.ts, the hydrator in protocol-registry-hydration.ts, the action key (package, objectName, name) and its list slot, the envelope lookup and the face's withhold at the action's key, four ADR-0087 semantic entries under step 19, a BREAKING changeset, and pins per criterion.
  2. Premise: each moved cell has its FROM and TO in the changeset and in a semantic entry, including the narrowing cell (FROM 200 TO 404) and the list cell added in the last round (L2 deltas 7282546306 and 7284238861).
  3. Gates: on this head 66 success, 13 skipped, 0 failed; Dogfood battery (opt-in) success on all three shards; mergeable clean. patch on @objectstack/metadata-protocol and @objectstack/spec carries the BREAKING banner.
  4. Accepted deviations: N4 (an action's active rows are read twice on one path; no answer depends on it). One wording note in the third list cell's FROM, no change asked.
  5. Out of scope and where it went: the folded row → metadata-protocol: the _env draft and layered reads answer 409 naming a DISABLED registry holder, against the principle that a disabled holder counts for nothing #38753; the one-shipper doc row hydrated after its artifact and the dev report's fourth out-of-scope item are not carded.
  6. Landing: L1-b delta ACCEPT 7284130793 and L2 delta PASS 7284238861 on this head (first L2 7279719426). Lands after os-zhuang approves.

ACCEPT → comment 7284130793 · Contract review → comment 7284238861

@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 30, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 30, 2026 18:14
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 8455490 Nov 30, 2026
87 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-3bely6 branch November 30, 2026 18:43
@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 30, 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 needs:dogfood-battery size/xl 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