Skip to content

feat(runtime)!: retire POST /packages/:id/adopt-orphans and its two console entries (#38150 PR-B1) - #38364

Closed
objectstack-fleet[bot] wants to merge 4 commits into
mainfrom
claude/project-thread-j4n4b0
Closed

objectstack-fleet[bot] wants to merge 4 commits into
mainfrom
claude/project-thread-j4n4b0

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Tesla · project thread

Part of #38150. This is PR-B1, by the seat's ruling (b) on the PR-B split and claim amendment 4 (comment 7239673373): the server retirement of adopt-orphans and the two console entries that called it. PR-A1 (#38185, the move door) is merged. This PR lands after PR-A2, whose move-in confirm step is the console's replacement door, so no prerelease ships a console with no way to move loose items. PR-B2 (Studio ~org, the redirects to ?source=loose, the Q-f E classifier #38061, the ADR marks) follows A2.

Clause-②: no (narrowing)
Metadata-protocol: narrowed
Skills-docs: none — no skill under skills/** or .claude/skills/** names adopt-orphans, adoptOrphans or "Adopt loose items" (searched at this head)

Size: 3,123 lines (additions + deletions, generated files included: 358 added, 2,765 deleted, 75 files; git diff --numstat c091d28c8 1852bb898). This PR alone passes 3,000, and with A1's 1,947 the card stands at 5,070 (#38280's per-card line), so this PR is Tier H.

Metadata-protocol reading, measured. Removing ReassignOrphanedMetadataResponseSchema moves the api authorable-surface shard (packages/spec/authorable-surface/api.json loses its four api/ReassignOrphanedMetadataResponse:* keys), so the line is not none. The closed vocabulary has no removed; a removed key reads narrowed (AGENTS.md Post-Task Checklist step 3), which is what this PR declares. authorable-surface.base.json keeps the four lines: it mirrors the upstream anchor and is rewritten only by gen:authorable-surface-base from the git-resolved baseline.

维护者速读

What changes

Runtime. The POST /packages/:id/adopt-orphans block leaves packages/runtime/src/domains/packages.ts, with its mount in dispatcher-plugin.ts, its row in route-ledger.ts, and reassignOrphanedMetadata on the protocol handle type. The doc lists that named the door name move-in now. The route answers 404 (pinned on a booted stack, below).

Protocol. ObjectStackProtocolImplementation#reassignOrphanedMetadata and its facet body in protocol-package-commits.ts are removed, and so is releaseAdoptedObjectOwner (its only caller was the adoption): the class member, the host entry in protocol-host.ts, and the body in protocol-object-owner.ts. Three imports that only the removed code read go with them. Comments in protocol-registry-hydration.ts, protocol-extension-field-suffix.ts and protocol-package-move-in.ts that named the old door now name the move door, or say it retired.

SDK. client.packages.adoptOrphans is removed from @objectstack/client.

Spec. ReassignOrphanedMetadataResponseSchema and its two types leave package-lifecycle.zod.ts. The def is registered in RETIRED_DEFS_BY_MAJOR (packages/spec/src/migrations/entries/retired-defs/19.api__ReassignOrphanedMetadataResponse.ts), as the manifest deletion gate requires, and its manifest line and shard keys are removed; api-surface, declaration-map, export-origins and the reference docs are regenerated. packages_orphan_adoption_unsupported leaves operation-message.ts (four locales). The ADR-0087 disposition is a registered semantic entry, 19.packages-adopt-orphans-door-retired.ts (surface, replacement, reason, acceptance).

Console. The Packages page's development face loses the "Adopt loose items" button, its dialog, handler and state (PackagesPage.tsx). Studio's 「⋯」 menu loses its adopt item (STUDIO_PACKAGE_MENU_ITEMS is five items). packageActions.tsx loses adoptLooseItems, adoptedText and AdoptLooseItemsDialog, and @object-ui/i18n's studio namespace loses the six engine.packages.detail.adopt* keys in en and zh (no other locale carried them). Neither entry is repointed: the seat ruled no interim pointer, and A2 brings the replacement.

Docs. content/docs/api/metadata-api.mdx, protocol/knowledge.mdx and the system-context register's row 55b name move-in where they listed adopt-orphans (the move door asks the same wall and knowledge-source gates). Left as history, per the seat: the three spec 18.* semantic entries, content/docs/releases/v18/*, the consumed .changeset/pre/* entries, and the historical sentence in http-dispatcher.ts about the vetted org source.

Changeset. 38150-adopt-orphans-door-retired.md, !, BREAKING with the FROM → TO table and the one-line fix: @objectstack/spec major (the seat's level; pre mode admits it), metadata-protocol, runtime, client, @object-ui/app-shell and @object-ui/i18n patch.

Each removed assertion, and what pins its rule now

Deleted files (the old door's own tests):

removed what it pinned now pinned by
metadata-protocol/…/protocol.adopt-orphans-owner-judges.test.ts the adoption asked the object-owner and permission-set-owner judges package-move-in.dogfood.test.ts: "the object owner: … refused with the save door's mismatch" and "the permission-set owner: …" (the move runs the save door itself)
metadata-protocol/…/protocol.adopt-orphans-platform-record.test.ts the platform's own record is not adopted new facet case in protocol-package-move-in.test.ts: "the platform's own record is not loose: refused NOT_LOOSE …", with its control
metadata-protocol/…/protocol.reassign-orphans-durability.test.ts a refused rebind was logged once while the door answered success no partial success exists on the move door: whole or nothing. protocol-package-move-in.test.ts pins the fault (500, nothing moved) and the failed undo (500 naming what did not go back)
objectql/…/protocol-adopt-orphans-draft-view-registry.test.ts an adopted draft view reached no registry the move saves a draft through the save door's draft mode, whose own pins hold that a draft never reaches the runtime (ADR-0048)
objectql/…/protocol-adopt-orphans-object-registry.test.ts the registry owner followed an adopted object package-move-in.dogfood.test.ts A3 and "whole or nothing" (an object moved and put back is served at once), and package-first-authoring.dogfood.test.ts's D5 case, now driven through moveIntoPackage
runtime/…/packages-adopt-orphans-readonly.test.ts the door's gates and their order the move-in rows that replace adopt-orphans in the runtime route tables (capability gate, read-only remedy, walled refusal, knowledge-source gate, closed query, vetted org source, partial-host 501 and its message key)
ui/…/PackagesPage.adoptLooseItems-13339.test.tsx the console's Adopt dialog the entry is removed; A2's confirm step brings its own tests

Edited files:

  • protocol.extension-field-suffix.test.ts: section 4b (the adopt door's __c judge) removed; package-move-in.dogfood.test.ts "__c: …" pins it on the move door.
  • protocol.object-registry-write-through-spelling.test.ts: caller 6 removed from the trace, the call-site count goes 10 → 9, and its stored-plural case is removed.
  • protocol.view-expansion-reconcile-call-sites.test.ts: the reassignOrphanedMetadata route row removed.
  • protocol.view-container-reset-expansions.test.ts: readings A, B and control D (the adoption left overlays of packaged views where they were) removed, as the move door refuses those NOT_LOOSE; "the rebind moves the row's record" is kept and drives the rebind on the write-through directly, since the move door's undo rebinds the same way.
  • protocol.platform-store-system-opt-in.test.ts: the adoption's opt-in check becomes the move door's phase-0 read (a dry run: find, no update).
  • protocol-package-move-in.test.ts: two new cases, the platform record above and the three package-less spellings (null, '', sys_metadata) from the removed objectql lifecycle describe.
  • objectql: protocol-package-lifecycle.test.ts (the adoption describe removed), protocol-packageless-overlay-migration.test.ts (cli + metadata-protocol: os migrate moves package-less overlay rows into <base>.custom as declared overrides — the migration ceremony only (the close is N-16b) #28413 now a move-door dry run: the shipped name NOT_LOOSE, the environment row would_move), two comments.
  • runtime: the eight route tests above, each adopt-orphans row a move-in row with a body the strict schema admits. packages-write-actor-session.test.ts drops its row with no replacement: the move body is strict, so an actor key is refused 400 rather than ignored. package-duplicate-adopt-org-scope.integration.test.ts keeps its duplicate half and the measurement that a package-less save writes an env-wide row.
  • client: the adoptOrphans rows of packages-lifecycle.test.ts and return-type-precision.test.ts; unwrap-misfire.pin.test.ts pins MoveIntoPackageResponseSchema in place of the retired schema.
  • spec: the schema's describe in package-lifecycle.test.ts.
  • dogfood: wall-environment-metadata-refusal and wall-package-doors-refusal (refusals and operator / single controls on move-in, the controls as dry runs), authz-conformance.matrix.ts, package-first-authoring, and one new case in package-move-in.dogfood.test.ts: "the retired all-at-once door is gone: POST …/adopt-orphans answers 404 and moves nothing".
  • scripts/engine-double-contract.pinned.json: the deleted owner-judges file's two rows.
  • UI: StudioPackageMenu-37139.test.tsx (five items, no adopt case, the shared-action list), PackagesPage.moduleDisable-28118, .readOnlyActions-13157, .installedAppsUpdates-34722.

Verification

Local, on this branch, after a declaration build of ./packages/** and dogfood's dependencies:

suite result
@objectstack/metadata-protocol 380 files: 371 passed, 9 skipped; 23,610 tests passed, 45 skipped
@objectstack/objectql 641 files, 14,529 tests passed
@objectstack/runtime 659 files: 13,958 tests passed, 25 skipped
@objectstack/client 59 files, 828 tests passed
@objectstack/spec 1,006 files: 30,450 passed, 3 failed on the first run (the operation-message count, and the strictness-ledger counts twice). Fixed in 47bb4d28f, and the 128 tests of those files then passed
dogfood (the four touched files) 72 tests: 71 passed, 1 failed on the first run (D5 used the package id app.dogfood_adopt, which the id rule refuses). Fixed to app.dogfood-adopt, and package-first-authoring then passed 5 of 5
ui (pnpm --dir ui exec vitest run) 916 files: 10,663 tests passed, 14 skipped
check:generated 13 of 14 artifacts current on the first run; the strictness ledger was regenerated (gen:strictness-ledger) in 47bb4d28f

Derived gates. node scripts/pm/dispatch-gates.mjs --commands derives 149 families for this tree. At 47bb4d28f, 146 passed and 3 failed:

  • migrate-meta-engine-guidance: the semantic entry's reason named a tracker id. It is gone (1852bb898), the registry was regenerated and spec and cli rebuilt, and the test passes 3 of 3.
  • check:route-ledger-census: the ledger's generated census line said 158 rows. It says 157 now (--fix), and the check passes.
  • check:test-source-alias: four converted tests reached a dynamic source import inside a case. Each has a module-top side-effect import now, and the check passes. The three runtime files pass 150 of 150 tests and the UI file passes 8 of 8.

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

The metadata-protocol line, measured. The diff of packages/spec/authorable-surface/api.json removes exactly the four api/ReassignOrphanedMetadataResponse:* keys (reassigned, reassignedCount, success, targetPackageId) and adds nothing. check-adr-0087-registration.mjs --base origin/main passes with the changeset's marker naming the registered entry.

Owed before landing

  • One CONTRACT_REVIEW_TIER review (the seat's).
  • A dogfood battery that starts with the landing head.
  • Tier H: Tesla's approval via os-zhuang.
  • PR-A2 merged first.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L9qibyHmxFV4bTFZ5BKnUz

…le entries (#38150 PR-B1)

The all-at-once adoption of every loose item retires with every surface
that reached it: the route and its ledger row, the protocol method
`reassignOrphanedMetadata` (and `releaseAdoptedObjectOwner`, which only it
used), the client's `packages.adoptOrphans`, the spec's
`ReassignOrphanedMetadataResponseSchema` (registered as a retired def), the
`packages_orphan_adoption_unsupported` message, and the console's "Adopt
loose items" button and Studio menu item with their i18n keys. The move
door (`POST /packages/:id/move-in`) takes its place in every route table
pin, and the old door's own tests go with it.

Claude-Session: https://claude.ai/code/session_01L9qibyHmxFV4bTFZ5BKnUz
Co-authored-by: Claude <noreply@anthropic.com>
…nd a valid dogfood package id after the retirement (#38150 PR-B1)

Claude-Session: https://claude.ai/code/session_01L9qibyHmxFV4bTFZ5BKnUz
Co-authored-by: Claude <noreply@anthropic.com>
…ted route tests, and no tracker id in the semantic entry's guidance (#38150 PR-B1)

Claude-Session: https://claude.ai/code/session_01L9qibyHmxFV4bTFZ5BKnUz
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation protocol:system tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 4 package(s): @objectstack/client, @objectstack/metadata-protocol, @objectstack/runtime, @objectstack/spec, touching 39 documentable anchor(s). ⚠️ 7 changed file(s) yielded no anchor (packages/metadata-protocol/src/protocol-extension-field-suffix.ts, packages/metadata-protocol/src/protocol-package-move-in.ts, packages/spec/api-surface/api.json, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

31 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 ad3d04f020303056224651c052109c61c18db13d.

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

What this run could not see
  • 7 changed file(s) yielded no anchor (packages/metadata-protocol/src/protocol-extension-field-suffix.ts, packages/metadata-protocol/src/protocol-package-move-in.ts, packages/spec/api-surface/api.json, …) — pages documenting those are invisible to this run
  • 1 cross-cutting symbol(s) contributed no route anchor: responseSchema (7 routes)
  • 5 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 — 187 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 ad3d04f020303056224651c052109c61c18db13d → packageMentionDocs.

Which tree this was computed on

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

node scripts/docs-audit/affected-docs.mjs --json ad3d04f020303056224651c052109c61c18db13d

⚠️ 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 ad3d04f020303056224651c052109c61c18db13d → 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

Parked for ordering, by the seat's branch ruling for #38150: PR-B1 lands no earlier than PR-A2, so A2 takes the branch claude/project-thread-j4n4b0 first and this draft is closed.

PR-B1's head here is 1852bb898 (base main c091d28c8; commits 54bd49b4e, 1ce8e5851, 47bb4d28f, 1852bb898), still fetchable at refs/pull/38364/head. At that head: 3,123 lines (358 added, 2,765 deleted, 75 files), the 149 derived gates all run and passing, Metadata-protocol: narrowed. After PR-A2 merges, the branch restarts from main, these commits are cherry-picked, and PR-B1 opens as a new PR that names this one.


Generated by Claude Code

Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…d move them into a package; the Packages page counts them (objectstack-ai#38150 PR-A2) (objectstack-ai#38389)

repo:objectstack#3 · os-tesla · session_01L9qibyHmxFV4bTFZ5BKnUz

<!-- claude-projects-attribution: {"github_login":"os-tesla"} -->
_Requested by **Tesla** · [project
thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoLMbEWhC18gy3jFR6wzDkuz)_

Part of objectstack-ai#38150. This is PR-A2, the console's half of the move door, by
the seat's claim (comment 7234216673) and its branch ruling of 16:02Z:
PR-A1 (objectstack-ai#38185, the server door) is merged, and objectstack-ai#38149 (objectstack-ai#38204, the
package ask this PR reuses) merged at 16:01Z. PR-B1 (the retirement of
`adopt-orphans` and its two console entries, parked as objectstack-ai#38364 at head
`1852bb898`) lands after this PR, so no prerelease ships a console with
no way to move loose items. PR-B2 (Studio `~org`, the redirects to
`?source=loose`, the Q-f E classifier objectstack-ai#38061, the ADR marks) follows.

Clause-②: yes (widening)
Metadata-protocol: none
Skills-docs: none — no skill under `skills/**` or `.claude/skills/**`
teaches the console's lists or loose items; the `objectstack-platform`
passage on package-less Setup rows is about overlays of shipped items,
which are not loose (searched at this head)

**Size: 1,380 lines** (additions + deletions, generated files included:
1,369 added, 11 deleted, 15 files; `git diff --numstat eef1cbf
be8e0d5`, base main `eef1cbfe4`). With A1's 1,947 and B1's 3,123 the
card is past 3,000 (objectstack-ai#38280's per-card line), so this PR is Tier H.

## 维护者速读

-
用户能看到什么变化:在应用工作室的跨软件包列表(`/studio/~all/metadata/<类型>`)里,来源下拉多了「散落项」。选它后,有编辑权限的人可以逐行勾选或全选,点「移入软件包…」,选好软件包后先看一次试运行:每一项移入后地址怎么变,或者为什么被拒。确认后整批移入。设置的「软件包」页上会提示「有
N 个散落项,不属于任何软件包」,按类型列出,点进去就是那种类型的散落项列表。
- 为什么做:App Studio 改版专题(objectstack-ai#38150)。你裁定散落项原地保留,由一个按勾选移动的入口负责移入。服务端接口已在 A1
合并,这个 PR 做控制台入口。
-
出错会怎样:只改控制台。移入整批进行,要么全部移入,要么一项不动;被拒时逐项给出服务端原话。最坏情况是横幅计数不准,或某个入口不显示,可以直接撤回。
- 要你做什么:这张卡总行数超过 3000 行,属于 Tier H,需要你经 os-zhuang 批准。

## What changes

**The "Loose" source value** (`metadataListState.ts`,
`ResourceListPage.tsx`, `useListOrderedNames.ts`).
- `?source=loose` joins the list's address state. On the cross-package
leg (`allLeg`: an area host with no package, outside the environment
scope) the list offers it, as "Loose (N)" in both the Studio and the
Setup toolbars.
- A row is loose by `isPackageLessItem` on its served `_packageId`
(absent, `''`, or the `sys_metadata` sentinel), the card's "never
`classifyProvenance`": that classifier also files a `.custom` pair item
and a served overlay as runtime, so "Modified and new" holds them and
"Loose" does not.
- The row reader gains an optional `loose` member. Absent, as on a
package's own leg, `source=loose` reads as every source, the way an
unoffered filter does. The detail's ‹ › order reads the same member, so
prev and next agree with the list.

**Select and move** (`ResourceListPage.tsx`, `looseMove.ts`,
`LooseMoveDialog.tsx`).
- Under "Loose", a person who may author (`useCanAuthorMetadata`, and
not walled) gets a select column first in the table and a selection bar
above it: "Select all (N)" over the rows the filter shows, the count
selected, and "Move into package…". A reader who may not author sees the
loose rows with no select box and no bar.
- "Move into package…" opens objectstack-ai#38149's ask with nothing pre-selected,
with the move's own question and explanation (`PackageCreateAsk` takes
an optional `title` and `description`; the create's are unchanged). "New
package…" in the ask works as it does for a create.
- The confirm step asks the door's dry run (`POST
/api/v1/packages/:id/move-in` with `dryRun: true`) and draws its answer:
- `would_move`: each item, `(draft only)` where only a draft moves, the
address change (`_env/NAME` → `NAMESPACE/NAME`) and the AI face name
change where the door reports them. Two notes follow. The first is the
dry-run caveat: some save checks run only on the real move, and if one
refuses, nothing moves. The second is L2's N4 (record 7236830081):
reverting the move's package commit takes the items out of the package
and does not make them loose again.
- `refused`: each refused item with the door's own code and sentence.
For `REFERENCE_LEFT_BEHIND`, "Add the loose items they use and check
again" adds the `references` to the selection, which may be of other
types, and asks the dry run again.
- Move makes the real call. A refusal there is drawn as "The move was
refused, and nothing moved". `moved` closes the dialog, says "Moved into
PACKAGE: N." and re-reads the list.
- The door's 422 arrives as a thrown envelope. `moveLooseItems` resolves
it as the door's answer (`error.details` with `outcome: 'refused'`), and
every other failure throws with the server's sentence, which the dialog
draws with Try again.

**The Packages page banner** (`LooseItemsBanner.tsx`,
`PackagesPage.tsx`).
- "N items belong to no package", drawn on both faces for a person who
may author, while N is above zero. Each type with loose items is listed
as a link to its "Loose" list,
`/studio/~all/metadata/TYPE?source=loose`. That is the acceptance's
"from the Setup → Packages banner, a person reaches a flow's Loose list
in the UI, with no typed address".
- **The count's cost, measured.** No new server read. One `GET
/meta/:type` per type that takes a runtime write (`allowRuntimeCreate`
or `allowEnvironmentOverlay`; a type that takes none holds no loose
item), with the type's own hide hook applied, the same rows its list
counts. On the showcase boot that is 30 of the 40 served types, and the
30 reads in parallel took 366 ms. A type whose read fails is named as
not counted, never folded into a smaller total.
- The count is keyed on the types it reads and reaches the client
through a ref. A first version keyed it on the client's identity, and
the PackagesPage tests' per-call mock client then looped the effect and
hung the app-shell suite.

**i18n.** 31 keys in `@object-ui/i18n`'s studio namespace, en and zh:
`engine.list.sourceFilter.loose`, `engine.looseMove.*`,
`engine.looseItems.*`. No other locale carries the studio namespace.

**Changeset.** `38150-move-loose-items-console.md`:
`@object-ui/app-shell` and `@object-ui/i18n` patch, `Clause-②: yes
(widening)`, `Metadata-protocol: none`, as objectstack-ai#38204 declared for the same
kind of console widening.

## Tests

New, each with its control:

| file | pins |
|:--|:--|
| `ResourceListPage.looseMove-38150.test.tsx` (7) | `?source=loose` on
`~all` lists exactly the package-less rows (none, `''`, `sys_metadata`),
never a `.custom` pair item or an overlay; with no filter every row is
listed. The select column and bar appear for an author, not for a reader
who may not author. Select all → the ask opens with nothing picked and
the move's question → the dry run carries the three items, `dryRun:
true` → the confirm names the package by its name and shows the address
change → Move resends the same items without `dryRun`. One row selected
moves that row alone. A package's own leg ignores `?source=loose` and
draws no selection. |
| `LooseMoveDialog-38150.test.tsx` (5) | The address change, the caveat
and the undo note, then Move. `REFERENCE_LEFT_BEHIND` offers to add the
dataset, the next check carries it, and Move moves both. A refusal with
no `references` offers nothing to add. A refusal on the real move reads
as nothing moved, and `onMoved` is not called. A failure that is not an
answer shows its sentence and Try again. |
| `looseMove-38150.test.ts` (8) | The `source=loose` codec round-trips,
and an unknown value reads as all. `loose` keeps package-less rows where
`runtime` also keeps the `.custom` row. With no `loose` member every row
is kept. The 422 resolves as the answer; a 403 throws the server's
sentence; the body carries `dryRun` only on a dry run. References are
added once each. |
| `LooseItemsBanner-38150.test.tsx` (5) | Per-type counts and links
(`/studio/~all/metadata/flow?source=loose`). A type with no runtime
write, and `package`, are not read. A failed read is named. Nothing is
drawn or read for a non-author, and nothing is drawn at zero. |

**Ablation.** With the list's `loose` reader set to `row.source ===
'runtime'` (the classifier the card forbids), two cases of
`ResourceListPage.looseMove-38150` go red: the exact-rows case and the
select-all move (its dry run then carried the pair item and the
overlay). Restored, 7 of 7 pass.

## Verification

Local, on this branch, after a declaration build of `./packages/**` and
`@object-ui/app-shell`'s dependencies:

- `@object-ui/app-shell` and `@object-ui/i18n` (`pnpm --dir ui exec
vitest run packages/app-shell packages/i18n`), before the merge of main:
2,570 files, 2,569 passed and 1 skipped; 25,917 tests passed and 22
skipped. After the two display fixes, the touched files (every
`ResourceListPage*`, the four new files, `PackageCreateAsk*`, all of
`packages/i18n`) passed: 132 files, 2,048 tests passed and 13 skipped.
After the merge of main and the collection imports, the four new files
pass 25 of 25.
- `@object-ui/app-shell` `type-check` (`tsc --noEmit` and `tsc -p
tsconfig.test.json`) passes after the merge of main. The first run
failed on `looseMove-38150.test.ts`'s untyped `vi.fn` tuple, and that
was fixed.
- **Derived gates.** `node scripts/pm/dispatch-gates.mjs --commands`
derives 39 families for this tree, the same 39 before and after the
merge of main. 38 passed on the first run. `check:test-source-alias`
failed on three of the new test files, which reached `celAuthoring`'s
dynamic `@objectstack/lint` import through `packageActions.tsx`. Each
now has the module-top import, and the gate passes. After the merge, the
four gates that read the diff against `origin/main`
(`check-adr-0087-registration`, `check-changeset-no-major`,
`check-empty-changeset`, `check:test-source-alias`) and
`check:undeclared-dep-imports` and `check:type-check-coverage` were run
again and pass. `dispatch-gates --ran`: 39 derived, 39 run, 0
NOT-MEASURED.
- `overlap-check.mjs` before the first push: `origin/main` conflicted in
`ResourceListPage.tsx` (the lucide import, beside objectstack-ai#38357's `X`) and
`metadataListState.ts` (beside objectstack-ai#38357's `targetObject` filter). Both are
resolved in the merge, keeping both sides. objectstack-ai#38318 shares the two i18n
files and merges cleanly.

## Walkthrough (a real stack)

At `c27f9ab24` (the two display fixes in; the merge of main after it
touches neither surface), `pnpm console:build`, then the showcase booted
with `objectstack dev --ui --seed-admin` on a fresh database. Through
the API: an installed writable package `com.probe.zeta` (name Zeta,
namespace `zeta`), two loose flows (`probe_loose_flow`,
`probe_loose_flow2`) and a loose object `probe_widget`, each saved with
no package. Then, in the browser (Playwright, 1400×900):

1. Setup → Packages (`?face=admin`) draws "4 items belong to no package"
with Flow (2), Object (1), Datasource (1). The datasource is the
showcase's own loose row.
2. Flow (2) opens `/_console/studio/~all/metadata/flow?source=loose`:
two rows, the select column, "Select all (2)".
3. Select all, then Move into package…: the ask, Zeta picked by hand.
4. The confirm, "Move into Zeta": each flow `_env/probe_loose_flow` →
`zeta/probe_loose_flow`, the caveat and the undo note.
5. Move: the dialog closes and the list is re-read. The API then reads
both flows `_packageId: com.probe.zeta`, `GET
/meta/flow/zeta/probe_loose_flow` answers 200 and `GET
/meta/flow/_env/probe_loose_flow` 409, with no restart.
6. The object list's Loose value, `probe_widget` into Zeta: refused
`NAMESPACE_PREFIX`, "Object 'probe_widget' is missing the package
namespace prefix. Rename it to 'zeta_probe_widget' (namespace =
'zeta').", Move disabled.
7. Back on Setup → Packages: "2 items belong to no package", Object (1)
and Datasource (1).

Screenshots, at device scale 2: in the project files under
`card-38150/a2-walkthrough/`, `1-packages-banner.png` …
`7-banner-after.png`.

## Owed before landing

- One CONTRACT_REVIEW_TIER review (the seat's).
- Tier H: Tesla's approval via os-zhuang.
- PR-B1 lands after this PR, restarted on a new PR from `1852bb898`'s
commits.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01L9qibyHmxFV4bTFZ5BKnUz

---------

Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…onsole entries (objectstack-ai#38150 PR-B1) (objectstack-ai#38545)

<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XMRkgb3gwbVL5znx9yxJb7x)_

Part of objectstack-ai#38150. This is PR-B1: the server retirement of `adopt-orphans`
and the two console entries that called it. It replaces closed draft
objectstack-ai#38364, whose four commits are cherry-picked here onto main after PR-A2
(objectstack-ai#38389, merged as `ea82c96212`), plus the conflict resolution, the
re-measured generated outputs and A2's L1 nit N1. PR-B2 (Studio `~org`,
the redirects to `?source=loose`, the classifier objectstack-ai#38061, the ADR marks)
follows. This PR does not close the card.

Clause-②: no (narrowing)
Metadata-protocol: narrowed
Skills-docs: none (no file under `skills/**` or `.claude/skills/**`
names `adopt-orphans`, `adoptOrphans` or "Adopt loose items"; searched
at `37aae5aa1`)

**Size: 3,387 lines** (additions + deletions, generated files included:
586 added, 2,801 deleted, 79 files; `git diff --numstat
origin/main...HEAD` at `37aae5aa1`, merge base `dccf836a8`). With A1's
1,947 and A2's 1,380 the card stands at **6,714**. This PR alone passes
3,000, so it is Tier H.

**Metadata-protocol, measured on this head.**
`packages/spec/authorable-surface/api.json` loses exactly the four
`api/ReassignOrphanedMetadataResponse:*` keys (`reassigned`,
`reassignedCount`, `success`, `targetPackageId`) and gains nothing, so
the shard moves and the line is `narrowed` (the closed vocabulary has no
`removed`). `authorable-surface.base.json` is untouched: only
`gen:authorable-surface-base` writes it.

## 维护者速读

- 用户能看到什么变化:软件包页的「收编散落项」按钮和 Studio「⋯」菜单里的同名项去掉了,旧的一次性收编接口改答
404;散落项改用上一个已合并的改动里的「勾选后移入软件包」。移入成功的提示现在写软件包名称,不再写编号。
- 为什么做:App Studio
改版专题的第二步。旧接口一次把全环境的散落项都收进一个包,不走保存时的检查,实测会收进没安装的包、收进前缀不对的对象。
- 出错会怎样:本改动只删东西,外加一处提示文字;出问题最多是某处还引用已删的入口,可以整体撤回。调用旧接口的脚本会收到
404,需要改用新的移入接口。
- 要你做什么:这张卡总行数超过 3000 行,属于需要你本人批准的一档,请审批。

## Deliberate correction

One pending release note, not added by this PR, was made false by it and
is corrected in the same stroke:
`.changeset/37958-studio-overview-full.md`, line 16.
`check-empty-changeset` stays red on it by design (DELIBERATE CORRECTION
class); the dispatching seat confirms it by its own record, and the file
is not restored.

- Before: "- The ⋯ menu keeps "Edit package info", "Duplicate as a new
package", "Adopt loose items" and "Manage in Setup…"."
- After: "- The ⋯ menu keeps "Edit package info", "Duplicate as a new
package" and "Manage in Setup…"."

## What changes

**Runtime.** The attribution docblock above `resolvePackageWriteActor`
no longer says a body `actor` is ignored on `move-in`: there the strict
body refuses it 400 and nothing moves (comment only). The `POST
/packages/:id/adopt-orphans` block leaves
`packages/runtime/src/domains/packages.ts`, with its mount in
`dispatcher-plugin.ts`, its row in `route-ledger.ts` (the census line
goes to 157 rows), and `reassignOrphanedMetadata` on the protocol handle
type. The route answers 404 (pinned on a booted stack, below).

**Protocol.**
`ObjectStackProtocolImplementation#reassignOrphanedMetadata` and its
facet body in `protocol-package-commits.ts` are removed, and so is
`releaseAdoptedObjectOwner` (its only caller was the adoption): the
class member, the host entry in `protocol-host.ts`, and the body in
`protocol-object-owner.ts`. Comments that named the old door now name
the move door, or say it retired.

**SDK.** `client.packages.adoptOrphans` is removed from
`@objectstack/client`.

**Spec.** `ReassignOrphanedMetadataResponseSchema` and its two types
leave `package-lifecycle.zod.ts`. The def is registered in
`RETIRED_DEFS_BY_MAJOR`
(`retired-defs/19.api__ReassignOrphanedMetadataResponse.ts`); its
manifest line and shard keys are removed; `api-surface`,
`declaration-map`, `export-origins` and the reference docs are
regenerated on this base (the reference index now counts 1,741 schemas,
528 in API; main moved the per-module reference page to
`packages/spec/docs/references/api/package-lifecycle.md`).
`packages_orphan_adoption_unsupported` leaves `operation-message.ts`
(four locales). The ADR-0087 disposition is the registered semantic
entry `19.packages-adopt-orphans-door-retired.ts`.

**Console.** The Packages page's development face loses the "Adopt loose
items" button, its dialog, handler and state (`PackagesPage.tsx`); A2's
loose-items banner stays as merged. Studio's 「⋯」 menu loses its `adopt`
item: on this base (after objectstack#37958 moved Export and the revert
to the overview page) `STUDIO_PACKAGE_MENU_ITEMS` is three items,
`edit`, `duplicate`, `manage`. With the adoption gone the menu changes
nothing a package holds, so its `onChanged` prop and its `run` helper go
too, and `StudioDesignSurface` no longer passes `onChanged` to it
(`onPackageChanged` still feeds the overview page). `packageActions.tsx`
loses `adoptLooseItems`, `adoptedText` and `AdoptLooseItemsDialog`;
`@object-ui/i18n`'s studio namespace loses the six
`engine.packages.detail.adopt*` keys in en and zh. A2's
`engine.looseMove.*` keys are untouched.

**N1 (A2's L1 nit).** The move-in success toast filled `{package}` with
`answer.targetPackageId` while the confirm title used the package name.
`ResourceListPage.tsx` now passes the label the dialog was opened on
(`looseMove.target.label`), which is already the id when the package
list could not be read.

**Docs.** `content/docs/api/metadata-api.mdx`, `protocol/knowledge.mdx`
and the system-context register's row 55b name `move-in` where they
listed `adopt-orphans`. Left as history: the three spec `18.*` semantic
entries, `content/docs/releases/v18/*`, the consumed `.changeset/pre/*`
entries, and the historical sentence in `http-dispatcher.ts`.

**Changeset.** `38150-adopt-orphans-door-retired.md`, BREAKING with the
FROM → TO table and the one-line fix: `@objectstack/spec` major (pre
mode), metadata-protocol, runtime, client, `@object-ui/app-shell` and
`@object-ui/i18n` patch. One sentence changed from objectstack-ai#38364: the console's
move door is now named as "the move-in confirm step on Studio's
cross-package list (`?source=loose`), which ships in the same release"
(A2 landed first, so "the next change" was no longer true).

## Each removed assertion, and what pins its rule now

Deleted files (the old door's own tests):

| removed | what it pinned | now pinned by |
|:--|:--|:--|
| `metadata-protocol/…/protocol.adopt-orphans-owner-judges.test.ts` |
the adoption asked the object-owner and permission-set-owner judges |
`package-move-in.dogfood.test.ts`: "the object owner: … refused with the
save door's mismatch" and "the permission-set owner: …" |
| `metadata-protocol/…/protocol.adopt-orphans-platform-record.test.ts` |
the platform's own record is not adopted | new facet case in
`protocol-package-move-in.test.ts`: "the platform's own record is not
loose: refused NOT_LOOSE …", with its control |
| `metadata-protocol/…/protocol.reassign-orphans-durability.test.ts` | a
refused rebind was logged once while the door answered success | the
move door has no partial success; `protocol-package-move-in.test.ts`
pins the fault (500, nothing moved) and the failed undo (500 naming what
did not go back) |
| `objectql/…/protocol-adopt-orphans-draft-view-registry.test.ts` | an
adopted draft view reached no registry, before, after and at the next
boot; a draft beside an active row served the active body | through
`moveIntoPackage`: `package-move-in.dogfood.test.ts` (booted CRM stack)
"objectstack-ai#23690: a loose DRAFT view moves as the target's draft, and the
registry serves nothing before or after", "objectstack-ai#23690: a draft beside an
active row of the same view: the active body is served at the target,
never the draft" and "objectstack-ai#23690: at the next boot the moved draft is still
served nowhere, and the pair still serves its active body"; and
`protocol-package-move-in.test.ts` "a loose DRAFT moves as a draft:
saved into the target in draft mode, never published, and answered
states [draft]" and "a draft beside an active row: … states [active,
draft]" (with an active-only control) |
| `objectql/…/protocol-adopt-orphans-object-registry.test.ts` | the
registry owner followed an adopted object |
`package-move-in.dogfood.test.ts` A3 and "whole or nothing", and
`package-first-authoring.dogfood.test.ts`'s D5 case, driven through
`moveIntoPackage` |
| `runtime/…/packages-adopt-orphans-readonly.test.ts` | the door's gates
and their order | the `move-in` rows that replace `adopt-orphans` in the
runtime route tables (capability gate, read-only remedy, walled refusal,
knowledge-source gate, closed query, vetted org source, partial-host 501
and its message key) |
| `ui/…/PackagesPage.adoptLooseItems-13339.test.tsx` | the console's
Adopt dialog | the entry is removed; A2's `LooseMoveDialog-38150` and
`ResourceListPage.looseMove-38150` pin the replacement |

Edited files, as in objectstack-ai#38364 (metadata-protocol, objectql, runtime,
client, spec, dogfood, `scripts/engine-double-contract.pinned.json`),
with these changes at this head:

- `packages-write-actor-session.test.ts`: its `adopt-orphans` row (a
body naming another user, a body naming no one, a system context) is
replaced by a `move-in` describe: a signed-in caller's move, and its dry
run, hand the protocol the session user as `actor`; CONTROL: a system
context sends no actor; a body `actor` (another user, or the session
user itself) answers 400 `Invalid move-in body` naming the key, and the
protocol is never called.

- `StudioPackageMenu-37139.test.tsx`: three items (`edit`, `duplicate`,
`manage`) in en and zh-CN, not five; the read-only case greys Edit and
Duplicate; the adopt action case and the adopt rows of the one-copy list
are removed; the guard that no surface spells the `/adopt-orphans` door
stays.
- `StudioPackageOverview-37454.test.tsx` (added on main by
objectstack#37958 after objectstack-ai#38364 was built): the menu pin lists three
rows, no adopt row.
- `ResourceListPage.looseMove-38150.test.tsx` (N1): "the success toast
names the package by its name, as the confirm title does", and its
control "when the package list cannot be read the confirm and the toast
both fall back to the id".
- `package-move-in.dogfood.test.ts`: "the retired all-at-once door is
gone: POST …/adopt-orphans answers 404 and moves nothing", and the three
objectstack-ai#23690 cases above.
- Comments that named the retired entry as live: `protocol.ts` (the
object-owner import line) and
`package-duplicate-adopt-org-scope.integration.test.ts` (two docblocks).

## Acceptance notes

- `overlap-check.mjs` at `37aae5aa1`: clean against main; one textual
overlap with open objectstack-ai#38541 in `content/docs/references/index.mdx`
(generated; whichever lands second regenerates it with `gen:docs`). The
overlap with objectstack-ai#38527 read at the previous head no longer shows.
- The claim on objectstack-ai#38150 (7251650149) names the branch
`claude/project-thread-j4n4b0` (A2's). This PR is on
`claude/project-thread-pf8r6c`, the branch the seat's dispatch for this
thread named.

## Verification

Files to read first, by risk:
1.
`ui/packages/app-shell/src/views/studio-design/StudioPackageMenu.tsx`:
the conflict with objectstack#37958 resolved to three rows, with
`onChanged` and `run` removed.
1a. `packages/qa/dogfood/test/package-move-in.dogfood.test.ts`: the
objectstack-ai#23690 cases and their state fixture (draft rows inserted at the first
boot).
2. `packages/runtime/src/domains/packages.ts` and `route-ledger.ts`: the
route block and its ledger row.
3.
`ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx`:
N1's label hunk.

Two-minute check: `pnpm --dir ui exec vitest run
packages/app-shell/src/views/studio-design/StudioPackageMenu-37139.test.tsx
packages/app-shell/src/views/metadata-admin/ResourceListPage.looseMove-38150.test.tsx`.
Expect both files to pass, and the menu case to list three items.

<details><summary>Suites (local; the package suites ran on the tree
before the A2 merge commit `6742ce449`, the spec suite again after it;
UI and gates at the heads named)</summary>

| suite | result |
|:--|:--|
| `@objectstack/client` test | 59 files, 828 tests passed |
| `@objectstack/spec` test | 913 files, 28,889 passed, 1 todo |
| `@objectstack/metadata-protocol` test | 372 passed, 9 skipped files;
23,629 tests passed, 45 skipped |
| `@objectstack/objectql` test | 640 files, 14,530 tests passed |
| `@objectstack/runtime` test | 655 files, 12,481 passed, 25 skipped |
| typecheck: client, spec, metadata-protocol, objectql, runtime | each
lock VERDICT command-exit 0 |
| UI touched files + `ui/packages/i18n` (8 named files + the i18n dir) |
117 files, 1,988 passed, 13 skipped |
| full `@object-ui/app-shell` suite at `6742ce449` | 2,464 files: 2,462
passed, 1 skipped, 1 failed: `StudioPackageOverview-37454` "the ⋯ menu
holds … adopt loose items …" (a main pin of the removed row). Fixed in
`c9c49d97e`; that file and `StudioPackageMenu-37139` then 2 files, 71
tests passed |
| `@object-ui/app-shell` and `@object-ui/i18n` type-check | lock VERDICT
command-exit 0 |
| `@objectstack/spec check:generated` after the A2 merge | all 14
artifacts current |
| `check-platform-checklist --changed-from origin/main` | OK, 54 anchors
judged, 0 lost |

</details>

<details><summary>Round 1 (review FAIL at `c9c49d97e`, M1 and M2), at
`448cffe6f` and `37aae5aa1`</summary>

- `packages-write-actor-session.test.ts` +
`package-duplicate-adopt-org-scope.integration.test.ts`: 2 files, 25
tests passed. Ablation (`scripts/ablation-replace.mjs`,
`resolvePackageWriteActor(_context)` before `protocol.moveIntoPackage`
replaced by `undefined`, anchor 1 → 0): "a signed-in caller's move hands
the protocol the session user" and "so does a dry run" failed, 2 failed
and 20 passed (the system-context control and the 400 cases green);
restored, blob equals HEAD.
- `protocol-package-move-in.test.ts`: 11 passed. `Type Check ·
workspace` was red at `448cffe6f` on this file's new draft case (TS2532
/ TS2493 on the commit read); `37aae5aa1` types it, and `pnpm --filter
@objectstack/metadata-protocol run typecheck` (its `tsc` lists this
file) and `@objectstack/runtime` typecheck exit 0, the file 11 of 11.
Ablation (`mode: state === 'active' ? 'publish' : 'draft'` → `mode:
'publish'`): both draft cases failed, 2 failed and 9 passed; restored,
blob equals HEAD.
- `package-move-in.dogfood.test.ts`: 24 passed. Ablation of the same
line on the built output (mutation held,
`@objectstack/metadata-protocol` rebuilt, `ablation-dist-preflight.mjs`
found the marker in `dist/`): all three objectstack-ai#23690 cases failed, 3 failed
and 21 passed. Restored, rebuilt, preflight `--absent` clean, the file
24 of 24 again.
- Derived gates for this round's seven paths (`dispatch-gates.mjs
--commands PATHS`): 78 families, 77 exit 0, and `check-empty-changeset`
exit 1 on the DELIBERATE CORRECTION above (expected). `--ran`: "78
derived, 78 run, 0 NOT-MEASURED, 0 UNRUN". `check-nul-bytes`: exit 0.

</details>

<details><summary>N1 ablation</summary>

`scripts/ablation-replace.mjs` replaced `looseMove?.target.label ??
answer.targetPackageId` with `answer.targetPackageId` (anchor 1 → 0,
blob `90937804f355` → `ed3e458acb2a`): "the success toast names the
package by its name" failed (`expected "vi.fn()" to be called with
arguments: [ 'Moved into Alpha: 1.' ]`), 1 failed and 8 passed, the
control among the passing. Restored: blob equals HEAD, `git diff HEAD`
empty.

</details>

<details><summary>Derived gates</summary>

`node scripts/pm/dispatch-gates.mjs --commands` (no paths, change set
from the merge base `dccf836a8`): 149 families. All 149 exit 0. Five
first answered 99 or 3 (two vitest families queued behind the app-shell
suite; `check:skill-examples`, `check:dual-build-cjs-loads`,
`check:published-readme-exports` needed `client-react`, `studio` and
`scenarios` built) and passed on the re-run after that build. `--ran`:
"149 derived, 149 run, 0 NOT-MEASURED, 0 UNRUN". The commands re-derived
at `c9c49d97e` give the same 149.

</details>

<details><summary>Dogfood battery</summary>

Full battery at head `448cffe6f`, `pnpm --filter @objectstack/dogfood
test` under the verify lock (no shard, no path): lock VERDICT
command-exit 0; Test Files 495 passed, 3 skipped (498); Tests 4,187
passed, 68 skipped (4,255); no failure. `37aae5aa1` after it changes one
line of a metadata-protocol unit test's typing, which no dogfood file
reaches. (The battery at `c9c49d97e`: 495 / 4,184 passed.)

</details>

## Owed before landing

- CONTRACT_REVIEW_TIER L2 (the seat's).
- A dogfood battery from the landing head.
- Maintainer approval (Tier H).
- Ships in the same version as PR-B2 (seat rule): after approval this PR
is not enqueued until B2 is approved too; both enqueue together, with no
Version Packages merge between them.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- signed: repo:objectstack#5 · os-project-manager ·
session_01FEkQ5pc3eJbLUEYRBLjxn5 -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:system 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

Development

Successfully merging this pull request may close these issues.

2 participants