Skip to content

App Studio 改版(摸底):散落项实测数量、合法的无包写入清单、移入软件包对 ADR-0150 寻址的影响——为 #37424 拍板 2、3 提供读数 #37453

Done

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Filing gate: ③ · Source: topic #37424 — parent decision 11 says 「The ADR-0150 addressing risk of moving an item into a package is verified first」; the maintainer picked 「按推荐启动」 on the phase plan (2026-11-26 05:57Z), which starts this investigation today. Sub-issue of #37424 (phase 4, first step).
Grade: area:ux · Task (investigation, no product change) · p2 (takes the parent's grade) · evidence: the area evaluation's reading that the kernel still accepts package-less saves.
Reader: area ux-37424 (seat repo:objectstack#5), an os-dev subagent; its report feeds questions 2 and 3 on #37424 (a fable analysis, then the maintainer).

维护者速读

  • 做什么:只读摸底,不改产品。回答三件事:① 示例应用和种子环境里有多少「散落项」(不属于任何软件包的元数据);② 今天哪些写入合法地不带软件包(逐个点名,将来内核收口时作为例外);③ 把一个散落项移进软件包,对 ADR-0150 的按包寻址有没有风险。
  • 为什么:你要拍板「内核是否禁止无包新建」(问题 2)和「散落项怎么清」(问题 3),这两件都要先有实测数字,不能凭感觉。
  • 需要你做的:无,结果出来我先让 fable 分析再找你。

Questions to answer, each with a reading

  1. Loose items: count package-less metadata rows per type in each examples/* app boot and in a fresh seeded environment (the ~org entry's source), and how the existing adopt door (packages/runtime/src/domains/packages.ts ~3718, ⋯ menu 「收编散落项」) handles them.
  2. Package-less writers: every path that writes metadata with no package today — the protocol door (packages/metadata-protocol/src/protocol-package-scope.ts ~113–133 still offers "save … without naming a package"), the front end's silent fall-back (ui/packages/app-shell/src/views/runtime-metadata-persistence.ts, see 应用里「新建报表」保存时不带软件包,而新建视图会带上应用的包:两条路径对同一操作做法不一致 #37261), AI / MCP tools, seeds, migrations, imports. Name each and say whether it is legitimate (would need a named exemption) or should be closed.
  3. ADR-0150: does moving a loose item into a package change how behavioural metadata is addressed (literal prefixes, references by name) — what breaks, with a reproduction or a code reading per case.

Acceptance

  • A report (premise_still_valid, readings with file:line, no PR, or a test-only probe PR if a measurement needs one) posted on this card. ⛔ No product code change.

Governing text: docs/adr/0070-package-first-authoring.md (D1, D3, D5, D6), docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md.

Activity

  1. added
    enhancement
    priority:p2
    pm:queue
    domain:server
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    Claim: PM loop round 1
    Session: session_01Utp6CbL6Nn3scsU8yvLyU4
    Account: os-bill
    Branch: claude/issue-37453-package-less-census (only if a test-only probe needs a PR; the default deliverable is a report with no PR)
    Worktree: objectstack-issue-37453
    Domain: domain:server
    Seat: repo:objectstack#5
    Area: ux-37424
    File surface: read-only across packages/**, ui/packages/**, examples/**; a probe test file only if a measurement needs one, no product code (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; default because the readings feed a maintainer decision), effort: high (reason: an investigation whose readings feed a maintainer decision; S size by lines, not by judgement)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds — read at origin/main 7d50dc8 2026-11-26T06:12Z: protocol-package-scope.ts still offers a package-less save in its refusal text; the adopt door exists in packages/runtime/src/domains/packages.ts.
    Serial constraints cleared: none — read-only; no open PR touches protocol-package-scope.ts (all open PRs' file lists scanned, 0 hits).
    Pre-claim lane: domain:server — the readings centre on packages/metadata-protocol and packages/runtime.
    Pre-claim deps: none — no Blocked-by:.
    Prior rulings read: ADR-0070 D1/D3/D5/D6 (package-first authoring, no catch-all package, loose-item migration UI), ADR-0146 D3/D11 (paired .custom, package-less overlay close), ADR-0150 (addressing); the dev reads those decisions before reporting.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:server · Task · priority:p2 · pm:dispatched · size M; rationale: a read-only investigation for topic #37424 (package-less items, legal package-less writes, ADR-0150 addressing risk) that feeds the maintainer's decisions 2 and 3. Grade follows the parent; already dispatched.

  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
    os-dev-report

    维护者速读

    • 示例应用全新启动(含种子数据)后,散落项是 0:五个示例都不往元数据表里写无包的行;~org 入口里的流程也是 0。散落项全部来自运行期的写入。
    • 今天能写出散落项的入口有十几个。合法、需要点名豁免的有四类:外部数据源导入、平台自带项、原地迁移、内核软件包上的定制。应该收口的有:内核保存接口、自动化接口、前端在找不到可写包时的退路、控制台的「创建应用」、os meta register 命令。
    • 现有的「收编散落项」实测有三个缺陷:可以收编进一个根本没安装的包,收进去的项从此存不了;没带包前缀的对象收编后再也保存不了;流程和数据集要重启后地址才切过去。
    • 把散落项移进软件包,按 ADR-0150 的规则,裸名地址照常能用,_env/名字 这种地址重启后失效,AI 看到的工具名会变。只移一部分时,包里的项读不到留在外面的项。
    • 要你做什么:无。结论交给 fable 分析,供 专题:App Studio 改版(Studio 是开发软件包的入口:左右两栏、软件包切换和概览页、列表页按前端样式、专用色和新名字) #37424 的拍板 2、3 使用。

    Premise

    Holds, at origin/main a46efa8c. The kernel accepts a package-less create, the front end falls back to package-less, and the adopt door is at packages/runtime/src/domains/packages.ts:3721. The refusal text at packages/metadata-protocol/src/protocol-package-scope.ts:112-133 still prescribes "save … without naming a package" and "or with no package".

    How it was measured: a local probe (vitest, not committed, no PR) that boots each example through @objectstack/verify's bootStack, which composes what objectstack serve composes and loads seeds. The showcase boot logged Seed loading complete {"inserted":141,…}. The probe drove the HTTP doors as the dev admin and read sys_metadata with the system context.

    1. Loose items: counts, and how the adopt door handles them

    Stored package-less rows after a fresh seeded boot. A row counts when package_id is null, '' or sys_metadata.

    example sys_metadata rows (all) package-less rows served items with no _packageId
    app-showcase 0 0 datasource/default (1 of 2)
    app-crm 0 0 datasource/default (1 of 3)
    app-multi-package 0 0 datasource/default (1 of 1)
    app-todo 0 0 datasource/default (1 of 1)
    app-starter 0 0 datasource/default (1 of 1)
    • Every example's metadata is code. It lives in the registry, and a fresh boot writes no sys_metadata row at all, so no row has a _provenance: 'platform' mark either. The probe walked 34 to 38 listed types per boot with GET /meta/:type. The only served item with no package was the host's default datasource, which is registered at boot and is not a stored row. The package list's own entries carry no _packageId and are excluded.
    • The ~org entry is 0 on every example. It lists flows only, filtered ?source=runtime (ui/packages/app-shell/src/views/studio-design/studioScope.ts:111, isPackageLessItem). Note that the generic list's classifyProvenance (ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx:189-198) also files a .custom pair item and a served overlay source as runtime. So the "new / modified" filter is not the same set as "package-less".
    • So every loose item in a real environment was written at runtime by one of the writers in section 2. The examples cannot measure how many a deployed environment holds. That number needs a read of a real environment's sys_metadata (carrier: cloud, or an operator).

    The adopt door (POST /api/v1/packages/:id/adopt-orphans, packages/runtime/src/domains/packages.ts:3721-3750, body packages/metadata-protocol/src/protocol-package-commits.ts:872-1060). Studio's ⋯ menu entry 「收编散落项」 is ui/packages/app-shell/src/views/studio-design/StudioPackageMenu.tsx:237-242, and Setup's is PackagesPage.tsx:1107.

    • All or nothing, across the whole environment. It takes every package-less row of every type, active and draft (:896), except an overlay of an artifact item (isArtifactBacked) and a legacy organization-scoped row. No door moves one item, so the epic's "sort one by one, each with a suggested home" has no server door today. The confirmation text says as much: 「本系统中所有无软件包(散落)的元数据项都会移入此基座」.
    • What it judges: the object owner, the permission set's owner binding, and the __c reservation (:907-953).
    • What it does not judge: that the target is installed, the object namespace prefix, and the namespace / object-name clash. The first two were measured to break (findings A1 and A2 below). The third is only a code reading.
    • Registry write-through for view and object only (:998). Every other type is rebound in storage and keeps its environment address until the next boot (finding A3).
    • Measured on the showcase: four loose rows (a flow, two objects, a dataset) went to com.probe.zeta (namespace zeta) and the call answered 200, reassignedCount: 4.

    2. Package-less writers today

    Verdict key: close = should require a package (ADR-0070 D1/D3, epic decision 11). exempt = legitimate, so a kernel closure would need it named.

    # writer file:line what it writes package-less verdict
    W1 /meta save door, publish or draft, no ?package, for a name no package holds packages/metadata-protocol/src/protocol-save.ts:2088-2139 (D1 only judges a non-null packageId: "A null packageId is still accepted here") any runtime-creatable type. Measured: PUT /meta/flow, /meta/object, /meta/dataset all answer 200, "Saved dataset 'probe_env_ds' (env-wide, state=active)" close, as the kernel backstop
    W2 automation definition doors POST /api/v1/automation, PUT /api/v1/automation/:name packages/runtime/src/domains/automation.ts:2725-2760 (registerAndSaveFlow: "No package, because no caller here holds one") a new flow. Since the clone moved into packages (#28149), this is the door that fills ~org close (take a package)
    W3 package-less overlay of a packaged item where no pair can be ensured: a kernel package's item, or a walled deployment protocol-save.ts:513-547 (packagelessOverlayWriteRefusal); ADR-0146 D11 (merge question 10) an overlay row over a packaged name exempt (named), until the platform-pair whitelist admits the item
    W4 external datasource import, persistObject packages/services/service-datasource/src/plugin.ts:321-334 (ruling B, record 6660988968) objects of a datasource that has no _packageId exempt (ruled; environment-bound, like epic decision 12)
    W5 Setup datasource sync ui/packages/app-shell/src/views/metadata-admin/datasource/DatasourceResourcePage.tsx:818 objects, always package-less, even when the datasource has a package. This differs from W4's ruled landing close (follow W4's rule)
    W6 front end runtime create: views (createRuntimeMetadata / saveAndPublishRuntimeMetadata) ui/packages/app-shell/src/views/runtime-metadata-persistence.ts:206-221, 474, 631; callers ObjectDataPage.tsx:810, objectViewViewCrud.tsx:220,271, objectViewViewSharing.ts:86, setup/publicForms.ts:334 a view: outside any app, or when the app's package is not listed, or when the ensure door refuses. A toast says so only when an app was present (onSavedOutsideApp); outside an app the fallback is silent. Any non-view type passed in never resolves a package (const app = type === 'view' ? …) close (epic decision 11: ask for a package)
    W7 new report from an app ui/packages/app-shell/src/views/ReportNewPage.tsx:151-163 (#37261 landed) a report, when the app package cannot be had (a toast says so) close, with W6
    W8 console create-app (the "no apps configured" CTA) ui/packages/plugin-designer/src/pages/CreateAppPage.tsx:62, routed ui/packages/app-shell/src/console/AppContent.tsx:199,1533,1726 an app saved with no package. An app is a package's container (ADR-0048 §3.1) close (Studio's newAppDoor.ts:66 creates the package first)
    W9 MetadataService.putMetadataItem / saveObject, plugin-designer object pages ui/packages/app-shell/src/services/MetadataService.ts:688,830; ui/packages/plugin-designer/src/MetadataObjectsPage.tsx:324, MetadataFieldsPage.tsx:981 an existing name addresses its one holder (ADR-0146 D8); a new name is created package-less close (pass the package)
    W10 data adapter upserts ui/packages/data-objectstack/src/index.ts:6845 (view), :7472 (dashboard) package-less upsert; callers not traced close, or prove they have no callers
    W11 CLI os meta register without --package packages/cli/src/commands/meta/register.ts:328 any type close (require --package), or exempt as an operator tool, by ruling
    W12 in-place migrations: flow credential move, os migrate meta --stored packages/services/service-automation/src/flow-credential-migration.ts:222 (keeps the row's own binding, null included); protocol-save.ts:2505 (migrateStoredMetadata) they re-save an existing package-less row; they create none exempt (named: binding-preserving migrations)
    W13 platform registration MetadataManager.register(…, { origin: 'platform' }) packages/metadata/src/metadata-manager.ts:1442; ADR-0150 note of 2026-11-24 the platform's own record (sys) exempt (named). Measured 0 such rows on every example boot
    W14 AI / MCP this repository's MCP server has no metadata-write tool; create_object, add_field are platform tool names (packages/spec/src/system/constants/platform-tool-names.ts:94-98) implemented in cloud service-ai-studio AI drafts via cloud stageDraft carrier: cloud. See the draft note below

    Not writers:

    Package-less AI drafts against the #36510 rule. That rule keeps draft plus whole-package publish for AI only. Whole-package publish is POST /packages/:id/publish-drafts (packages/runtime/src/domains/packages.ts:3009), so a draft bound to no package has no whole-package publish. Two doors remain:

    • the per-item POST /meta/:type/:name/publish;
    • the ~org scope, which reviews package-less flow drafts only (studioScope.ts:130-132, isOrgScopeDraft).

    So a package-less AI draft of any other type is listed in the drafts feed, but no surface publishes it as a batch. This is a code reading only; the AI side is carrier: cloud.

    3. ADR-0150 addressing when a loose item moves into a package

    Measured on the showcase through the adopt door into com.probe.zeta (namespace zeta), then a restart on one database file (BootOptions.databaseFile).

    case before the move after the move, same boot after the next boot reading
    flow _env address GET /automation/_env/probe_loose_flow 200 200 409 D2/D5: an environment item has the _env segment; a package item does not. Any stored or shared _env/NAME URL (automation, /meta/:type/_env/NAME, /actions/_env/…) stops resolving at the next boot
    flow qualified GET /automation/zeta/probe_loose_flow 404 404 ("not found in namespace 'zeta'"; trigger too) 200 A3: the runtime keeps the flow as an environment item until restart
    flow bare GET /automation/probe_loose_flow and bare trigger 200 200 200 D5: a bare address keeps resolving while the name has one holder. It answers 409 once a second package holds the name
    dataset read by a reader in P, GET /meta/dataset/probe_env_ds?callerPackage=com.probe.zeta 409 RESOURCE_CONFLICT 409 200 D3 (a): a package caller never resolves to an environment item; the same-boot 409 is A3
    dataset _env / zeta / bare 200 / – / 200 200 / 200 / – 409 / 200 / 200 as for the flow
    a loose dataset left behind after a one-by-one sort, read by P (probe_env_ds2?callerPackage=…) – – 409 RESOURCE_CONFLICT D3 (a): every reference from a moved item to an item still loose is refused once its reader is wired. Today that is the dataset doors (D5 caller arm); E-rows extend it. The D10 upgrade report names these
    unprefixed object probe_widget saved package-less, 200 adopt answers 200 – bucket 1 (D1): the name is the table name and cannot be renamed. Every later save, ?package= or bare, answers 422 NAMESPACE_PREFIX (A2). A prefixed object (zeta_gadget) re-saves 200. The data door keeps serving (GET /data/probe_widget 200)
    AI face of a tool, skill, agent or object-less action NAME – zeta-NAME D6, packages/spec/src/ai/face-name.ts:86-91 (code reading). An MCP client or prompt holding the old face name loses it
    activation ledger an environment flow has no ledger row: the toggle answers 409, "authored in this deployment" none none an authored flow switches by its own status both before and after; the ledger (R4) is untouched
    stored grants (sys_user_permission_set, R1) a null permission_set_package – – code reading (packages/core/src/security/stale-grant-beside-bound.ts:1-27): a null column resolves caller-less, environment item first, else the one holder. A set moved into P keeps its grants while P is the only holder of the name; a second holder makes it ambiguous
    references between items that move together – – – the adopt door moves everything, so a reference from P to P resolves from P's own items (D3 step 1). Only a partial move produces the D3 (a) refusals above

    What breaks, in summary:

    • _env URLs stop resolving at the next boot.
    • AI face names change.
    • Unprefixed objects become unsaveable.
    • A partial move leaves references refused across the boundary.
    • Until a restart, the runtime still serves moved non-view, non-object items as environment items.

    Bare names, stored grants and the activation ledger are unaffected.

    Defects found in passing (for the seat to file; not fixed here)

    • A1 (class a): the adopt door adopts into a package nothing installed.
      • Repro: POST /api/v1/packages/com.probe.ghost/adopt-orphans answers 200, reassignedCount: 1, and the flow row now has package_id = com.probe.ghost.
      • Then GET /packages/com.probe.ghost answers 404, and a later bare PUT /meta/flow/probe_ghost_flow answers 422 WRITABLE_PACKAGE_REQUIRED (its stored rows are bound to a package that is not installed).
      • The contract it breaks: the save door's named-base rule (uninstalledNamedBaseRefusal, protocol-package-scope.ts:102-139). The door's comment at packages.ts:3733-3736 admits an uninstalled id on purpose.
      • Reach: public HTTP door.
    • A2 (class a): the adopt door adopts an object whose name lacks the target's namespace prefix.
      • After that, every save of the object answers 422 NAMESPACE_PREFIX (repro above).
      • Same family as A1: the adopt door skips the save door's judges, so one guard closes both.
      • Reach: public HTTP door and the ⋯ menu.
    • A3 (class a): the adopt door registers the rebound row for view and object only (protocol-package-commits.ts:998).
      • Flows and datasets keep their environment address until restart: /automation/zeta/NAME answers 404 and ?callerPackage=P answers 409 right after a 200 adoption (repro above).
      • Reach: public HTTP door.

    Seam: spec: ADR-0070 D5 adoption → runtime: protocol-package-commits.ts#reassignOrphanedMetadata (A1–A3).

    Dedupe words: adopt-orphans uninstalled package, reassignOrphanedMetadata NAMESPACE_PREFIX, adopt-orphans registry write-through flow, package-less writer census.

    Report

    {
      "issue": 37453,
      "status": "done",
      "branch": "claude/issue-37453-package-less-census",
      "pr": null,
      "session": "session_01Utp6CbL6Nn3scsU8yvLyU4",
      "premise_still_valid": true,
      "summary": "Read-only census at origin/main a46efa8c; no PR, no commit, no product change. Q1: a fresh seeded boot of all five examples (showcase, crm, multi-package, todo, starter) stores 0 sys_metadata rows, so 0 package-less rows. The only item served with no package is the host's 'default' datasource, and the ~org entry lists 0 flows. The adopt door moves every package-less row of the environment at once, with no per-item door. Q2: 14 writer rows. 4 are exempt: the ruled external-datasource import, kernel-item overlays pending the platform-pair whitelist, binding-preserving migrations, and platform registration. The rest should close: the kernel /meta save with no package, the automation definition doors, the front-end view/report fallbacks, the Setup datasource sync, console create-app, MetadataService/plugin-designer object saves, the data-adapter upserts, and os meta register. AI is carrier: cloud, and a package-less AI draft has no whole-package publish. Q3, measured: after the next boot every _env address answers 409 while bare names keep resolving; AI face names change to NS-NAME; a partial move is refused across the boundary (D3 (a), measured on the dataset caller arm); an unprefixed object becomes unsaveable (422 NAMESPACE_PREFIX). Stored grants and the activation ledger are unaffected. Three adopt-door defects A1-A3 are reported for the seat to file.",
      "tests": "Local probe, uncommitted (packages/qa/dogfood/test/zz-probe-37453-loose-census.dogfood.test.ts, copy kept at the scratchpad probe.test.ts.txt), run under the verify lock: `pnpm --filter @objectstack/dogfood exec vitest run --maxWorkers=1 test/zz-probe-37453-loose-census.dogfood.test.ts` → 'Test Files 1 passed (1) / Tests 7 passed (7)', VERDICT command-exit 0. The restart leg (`-t restart`) → 'Tests 1 passed | 7 skipped (8)', VERDICT command-exit 0. Readings (probe.json): every census:* totalRows 0, looseRows {}, servedNoPackage datasource/default only. adr0150:showcase: adoptZeta [200, reassignedCount 4]; after: flowZeta 404 'Flow probe_loose_flow not found in namespace zeta', flowEnv 200, datasetCallerPackageZeta 409 RESOURCE_CONFLICT, resaveUnprefixedObjectInPkg and resaveUnprefixedObjectBare 422 NAMESPACE_PREFIX, resavePrefixedObjectInPkg 200. adopt:ghost: adoptGhost [200, 1], rowsBoundToGhost [flow/probe_ghost_flow/active], ghostPackageRead 404, resaveFlowBare 422 WRITABLE_PACKAGE_REQUIRED. adopt:restart afterRestart: flowEnv 409, flowZeta 200, flowBare 200, datasetCallerPackageZeta 200, datasetEnv 409, leftBehindDatasetCallerPackageZeta 409 RESOURCE_CONFLICT; the env-flow toggle answers 409 'authored in this deployment', and no ledger row exists before or after. Build closure: `turbo run build --concurrency=2 --filter=@objectstack/dogfood^... (+example-todo, example-starter closures)` → 'Tasks: 76 successful, 76 total', VERDICT command-exit 0. No ablation: no tested behaviour changed.",
      "gates": "n/a: no diff, no commit, no PR. dispatch-gates was not derived (empty change set), and no CI check-runs exist.",
      "dogfood_battery": "n/a: no PR, no `!` title, no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1: POST repos/objectstack-ai/objectstack/issues/37453/comments (the report comment, via scripts/pm/post-stamped.mjs). Reads used gh api GET on issues 37453 (and its comments), 37424, 37261, 36510.",
      "open_questions": [
        {
          "question": "When the kernel closes the package-less create (W1), which writers get a named exemption?",
          "options": [
            "A: exempt W3 (kernel-item overlays until the whitelist), W4 (ruled datasource import), W12 (binding-preserving migrations) and W13 (platform registration), and close everything else including W11 os meta register",
            "B: as A, and also exempt W11 as an operator tool"
          ],
          "recommendation": "A, because os meta register can take --package like every other author door, and an exempt CLI door would recreate the orphan pile ADR-0070 D6 rejects. This is a maintainer decision for #37424 question 2; the seat forwards it."
        },
        {
          "question": "Should adopt-orphans keep its all-or-nothing shape, now that decision 11 plans per-item sorting?",
          "options": [
            "A: add a per-item move door that runs the save door's judges (installed base, NAMESPACE_PREFIX, child K, D3 (a) report of references left behind), and retire the all-or-nothing door",
            "B: keep the all-or-nothing door and only fix A1-A3"
          ],
          "recommendation": "A, because the measured D3 (a) refusal and the object prefix rule make a partial move need judging per item. Feeds #37424 question 3."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: public HTTP door POST /api/v1/packages/com.probe.ghost/adopt-orphans answered 200 reassignedCount 1, the row is bound to a package GET /packages/com.probe.ghost answers 404, and the next bare PUT /meta/flow answers 422 WRITABLE_PACKAGE_REQUIRED · evidence: packages/runtime/src/domains/packages.ts:3733-3737 admits an uninstalled id; packages/metadata-protocol/src/protocol-package-commits.ts:872-1060 has no installed check; the save door's named-base rule is protocol-package-scope.ts:102-139 · Seam: spec:ADR-0070 D5 adoption → runtime:protocol-package-commits.ts#reassignOrphanedMetadata · dedupe words: adopt-orphans uninstalled package, reassignOrphanedMetadata named base, WRITABLE_PACKAGE_REQUIRED inherited binding",
        "class: a · reach: public HTTP door; adopting a package-less object probe_widget into namespace zeta answered 200, then PUT /meta/object/probe_widget, with ?package= or bare, answered 422 NAMESPACE_PREFIX · evidence: reassignOrphanedMetadata judges the owner, the permission set and __c but not objectNamespacePrefixViolation (protocol-save-door-refusals.ts:967) or child K · same family as the finding above (adopt skips the save door's judges): one guard closes both · dedupe words: adopt-orphans NAMESPACE_PREFIX, adopted object unsaveable",
        "class: a · reach: public HTTP door; right after a 200 adoption, GET /automation/zeta/probe_loose_flow answered 404 and GET /meta/dataset/probe_env_ds?callerPackage=com.probe.zeta answered 409, until a restart · evidence: protocol-package-commits.ts:998 registers only view and object · dedupe words: adopt-orphans registry write-through flow, adopted flow address stale until restart",
        "carrier: cloud · noted, not filed: the AI path (service-ai-studio create_object/add_field/stageDraft) and the loose-item count of a real deployed environment, which the examples cannot measure"
      ]
    }

    Generated by Claude Code

  6. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    Close-out (2026-11-26T06:32Z): delivered. The investigation's readings are comment 7184476778 (area L1 read: premise holds, no PR, no product change, the three questions answered with file:line and measured probe readings; the adopt-door spot checks at packages/runtime/src/domains/packages.ts ~3725–3737 and protocol-package-commits.ts ~990–998 match).

  7. removed
    pm:dispatched
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:serverenhancementpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions