Skip to content

feat(core, metadata, objectql, metadata-protocol)!: picklist, mapping, dataset, API and function names are held per namespace (ADR-0150 child B) - #32513

Merged
objectstack-fleet[bot] merged 28 commits into
mainfrom
claude/project-thread-du44hj
Nov 12, 2026
Merged

objectstack-fleet[bot] merged 28 commits into
mainfrom
claude/project-thread-du44hj

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Bill · project thread
epic:#31527#1 · os-bill · session_01Utp6CbqzUZJRphdYbBQ16b

维护者速读

Fixes #31700

Clause-②: yes (narrowing) — a read or removal of the metadata service naming no package, of a picklist, mapping or dataset name two packages hold, answers 409 RESOURCE_CONFLICT naming both, where it answered or removed the item registered last; a picklistExtensions entry extending a list two namespaces hold is refused at install, and refuses the cold boot, naming both; an install, upgrade, hot reload or late item registration whose lists, extensions or field redeclarations would leave a picklist reference already installed with no one list, or with writers reaching different lists, is refused before anything of it registers; the store keeps one slot per (package, name) for picklist, mapping and dataset (moves (a)–(f) below); the engine's bare function read of a name two packages hold is refused naming both; and a publish's probe of a widget whose dataset one package holds outside the publishing package's declared closure warns widget_not_probed where it probed the widget. The install side widens: two packages of two namespaces may each declare one such name. Every moved answer is in the table below and in the changeset.
Metadata-protocol: narrowed
Skills-docs: follow-up #32522

Narrowing: yes — first-party callers: 0. No example app holds a picklist, mapping, dataset, API or function name in two packages: the cold-boot seal, which warned on any such pair before this change, warns on none for these types in the showcase, crm and multi-package boots (dogfood battery, below).

Moved answers (FROM → TO)

# Surface FROM TO Clause-② arm Pinned in
1 A package of ANOTHER namespace declaring a picklist, mapping, dataset or API name a package holds: package door, item seam, cold-boot seal 422 NAMESPACE_CONFLICT (cold boot: one Bare-name conflict at boot warning) admitted; no warning widening objectql registry-bare-name-one-holder.test.ts, registry-bare-name-one-holder-request-family.test.ts (the narrowing describes); dogfood bare-name-one-holder (gamma, delta), bare-name-one-holder-request-family (gamma, delta)
2 The same for an engine function bound by a package of another namespace refused at bind bound; functionHoldersOf keeps both widening objectql request-family narrowing describe
3 A co-owner of one namespace, a package with no namespace, two packages of base/system/sys, a built-in name refused (install-local co-owner of a mapping or dataset: 403 NOT_OVERRIDABLE, the override gate answering first) unchanged — objectql data and request families; dogfood co-owner cases
4 Metadata service get / getDiagnosed('picklist'|'mapping'|'dataset', NAME) with no package, two holders the item registered last (one bare-name store slot) 409 RESOURCE_CONFLICT naming both narrowing (a) metadata metadata-manager-match-endpoint.test.ts (the NAMESPACE_SCOPED loop)
5 Metadata service unregister of such a name with no package removed the item registered last 409, nothing removed or announced narrowing (a) same
6 The same get naming a package that holds no slot of the name the stored item nothing narrowing (a) same
7 picklistExtensions of a name two namespaces hold, installed after both (unreachable) 422 INVALID_METADATA, the extension and both holders named; a cold boot holding it is refused the same way narrowing (b) objectql registry-bare-name-one-holder.test.ts "narrowing (b)"
8 An install or upgrade declaring a list whose name another namespace's package holds, while an installed extension of it, or an installed field of a package depending on both, resolves the name to one list (unreachable: the list was refused) refused before anything registers: "Installing '…' would leave … already installed with no one list", each reference and both holders named narrowing (seat ruling A, 6811306558) objectql registry-bare-name-one-holder.test.ts "the install door re-judges the references already installed" (two orders + two CONTROLs)
9 A field the owner and an extender both write, each reaching its own namespace's list (unreachable) no options, values refused (as for any disagreeing referrers, #31731); the boot warns once per field, naming each referrer and the list it reaches — objectql engine-picklist.test.ts, plugin-picklist-boot-audit.test.ts
10 A reader with no package of a name two namespaces hold: bare GET /meta/{picklist,mapping,dataset,api}/NAME, the import door's mappingName, a flow with no package naming a function (unreachable) 409 naming both, by the readers' existing rule (#32070, #32071, #32072, #32069, #32073) — dogfood data and request families
11 A field of an environment-authored object naming a list two namespaces hold (unreachable) no options, values refused (D3: a caller with no package) — the readers' existing E6 pins
12 A publish's runtime probe of a dashboard widget's dataset read by bare name resolved from the publishing package (?callerPackage=, #32310), read at the holder's address; a refusal's fix names that package. A dataset held only outside the publishing package's declared closure goes FROM probed TO a widget_not_probed warning whose fix is the dependency narrowing (a one-holder answer moves, R3-C) metadata-protocol build-probes-dataset-holders.test.ts ("a name held only outside the publishing package's closure: the fix is the dependency"); runtime domains/meta-qualified-item-read.test.ts (real protocol and registry)
13 Two namespaces' APIs of one name in the endpoint index (unreachable) both indexed, each on its own path; no duplicate-claim error (the publish gate puts every path under /api/v1/apps/<namespace>/) — metadata metadata-manager-match-endpoint.test.ts (+ CONTROL: one path is a duplicate claim)
14 os migrate stored-references sealed-clash section listed two namespaces' holders of a picklist name not listed (not a clash) — cli stored-references.integration.test.ts (the clash it pins is now a tool name)
15 A late install of a package declaring a list another namespace holds AND a picklistExtensions entry on that name (its own extension) 422 NAMESPACE_CONFLICT (round 1: admitted, the next cold boot refused) refused at install, 422 INVALID_METADATA, the extension and both holders named: an extension is judged caller-less, the package's own name is no shortcut narrowing (b), R2-A objectql registry-bare-name-one-holder.test.ts "a late install that extends its own list of a name another namespace holds is refused: the extension is judged caller-less"
16 A late install, and an upgrade, declaring a list another namespace holds and redeclaring in objectExtensions an installed field that reads that name from its owner's list (unreachable; round 1: admitted, options ['alpha_one'] → [] silently) refused before anything registers: the field "would be written to picklist '…' by packages that reach different lists", each writer and its list named; every referrer and every redeclared field judged together narrowing, R2-A same file: "a late install redeclaring another package's field with its own list of the name is refused", "an upgrade adding a list under the name its installed redeclare of another package's field names is refused", + CONTROL "a redeclare whose package holds no list of the name reaches the owner's"
17 The registry's own seams after the boot: registerItem('picklist', …, pkg), registerPicklistExtension, registerObject (own or extend) admitted (one orphan measured) refused alike: "Registering … would leave …", nothing registered narrowing, R2-A same file: "the item seam: a list registered on its own after the seal is refused like an install of it", "the item seams: an extension of a name two namespaces hold, or a body redeclaring a field with its own list, is refused"
18 A hot reload (metadata:reloaded) whose packages would do the same re-registered through registerApp, past the door, its objects ingested refused whole, one warning [ObjectQLPlugin] reload refused — every package keeps its previous definitions; every package keeps its previous definitions, and no object of the payload is ingested (R3-C) narrowing, R2-A same file: "a hot reload adding a list under a name another namespace holds is refused whole" (now with an object in the payload, asserted not registered)
19 ObjectQL#resolveFunction / resolveFunctionEntry(NAME) of a name two packages hold (of two namespaces through a package bind; of any two, a same-namespace pair included, through direct ObjectQL#registerFunction) the last registration, through direct ObjectQL#registerFunction under two package owners (pinned by #32073's precondition); unreachable through a package bind 409 RESOURCE_CONFLICT naming both; a one-holder name resolves as before. One production caller (corrected in round 3): runtime releaseMovedFunctions (#32468), which takes a moved function off an owner and keeps its others; it now reads the owner's own entry of a kept name several packages hold, and the bare entry only of a one-holder name, so the teardown no longer stops on the 409 (R3-B). Every other reader of an engine function resolves by package: the flow script and screen nodes (AutomationEngine.resolveFunction → functionHoldersOf), the hook binder (functionHoldersOf(name).packageItem(own package)) narrowing, R2-C objectql registry-bare-name-one-holder-request-family.test.ts "[epic seat ruling R2-C] the bare engine function read of a name two namespaces hold is refused, naming both" (+ its one-holder CONTROL), "[R2-C, row 19] the bare engine function read refuses any two package holders: a same-namespace pair registered directly …" (+ CONTROL), package-scoped-resolver.test.ts, hook-binder-package-scope.test.ts; service-automation flow-function-package-scope.test.ts (#32073's precondition read the bare map's last registration for two holders and was red in CI at 2386ae1a86, Test Core 7/8; it now reads the refusal); runtime app-artifact-handlers.test.ts "a re-bind that moves a function to another owner … — another namespace's package holds the name beta keeps too" (+ CONTROL "— beta alone holds the name it keeps")
20 A tenant-authored list (_provenance: 'org') under a package of another namespace than the name's holder, at every door that fills a package's slot: registerItem('picklist', …, pkg), the install door, registerApp, a hot reload 422 NAMESPACE_CONFLICT (round 2: the registerItem seam skipped it, admitted, orphaning an installed extension) judged as any list of that package: admitted where row 1 admits, refused before anything registers where rows 8 and 15–18 refuse; a co-owner of the holder's namespace (picklist, mapping, dataset) still 422 NAMESPACE_CONFLICT; the holder's own overlay adds no holder and passes as rows 1 and 17, R3-A objectql registry-bare-name-one-holder.test.ts: "the item seam: a list registered on its own after the seal …" (tenant-authored case + own-overlay CONTROL), "the item seam judges a tenant-authored body under a package as any" ×3 types, "%s judges a tenant-authored list under a package as any list of it" ×3 doors (each with an own-overlay CONTROL), "the item seam admits a tenant-authored body under an installed package of another namespace, as it admits any (row 20 → row 1)" ×3 types

The store's moves for picklist, mapping, dataset (R2-B)

PACKAGE_SLOTTED_STORE_TYPES puts the three types under the rule api, agent, skill, action, email_template and permission already follow. The live-set pins iterate PACKAGE_SLOTTED_STORE_TYPES, so each runs for the three types; each move was ablated for those three alone (record: /mnt/project-files/epic-31527/card-31700/round2-ablations.md).

# What FROM TO Clause-② arm Pinned in (metadata metadata-manager-match-endpoint.test.ts) · ablation
(a) unregister(type, NAME, { packageId }) naming a package that holds no slot of a one-holder name the item and its row removed nothing removed. The watcher and realtime announcements are unchanged: unregister announces every call, an absent name's too narrowing NEW "naming a package that holds no slot of a one-holder name removes nothing" · storeRemovalKeys package arm: 24 red
(b) unregisterPackage(holder) after a package-less write over its name the package-less item stays, and is served removed with the holder's slot, and its row narrowing "unregisterPackage also removes a package-less customization in the package's slot, and its row" · unregisterPackage's slot arm: 3 red
(c) list(type) of a name two packages hold the survivor alone both, in registration order; the second holder's first register is the watcher's added where it was changed (the overwrite). No realtime event either way: the three types are outside MetadataEventType (#32151's line) widening "both items are enumerated under the one name"
(d) A package-less write under a name two packages hold replaced the stored item, served by the bare read a bare slot, listed beside both, answered by no by-name read narrowing "a package-less write under a name two packages hold is stored in the bare slot and listed"
(e) DatabaseLoader one row per name, the body saved last one row per (package, name) with package_id; a delete naming no package of a two-holder name refused 409 naming both; a rollback by name refused naming every holder when several slots exist narrowing "each package's item has its own row with package_id filled", "of a name two packages hold only in the loaders, it is refused naming both", the two rollback-refused pins · save/delete slot arms: 40+ red; refuseSeveralSlots: 6 red
(f) A bare /meta read on a composition whose registry answers readsByPackage(type) === false (protocol-exact-qualifier.ts:163) served by getItem's first match 501 NOT_IMPLEMENTED naming the missing resolver, for one holder too. ObjectQL's registry reads all four by package: first-party 0 narrowing (Metadata-protocol: narrowed) objectql package-scoped-exact-qualifier.test.ts "(b) … 501 naming the missing resolver, even for one holder"

What changes

  • The switch (@objectstack/core): picklist, mapping, dataset, api and function join NAMESPACE_SCOPED_BARE_NAME_TYPES. function is the one member that is no metadata type, so the two metadata-type pins (the slotted superset, the exact qualifier's 501) exempt it by name.
  • The store (@objectstack/metadata): picklist, mapping, dataset join PACKAGE_SLOTTED_STORE_TYPES; removal by slot is metadata: unregisterPackage and unregisterAt remove a slotted type's item by (package, name), match an artifact-door item's _packageId, and name the package on the deleted event (ADR-0150 D4) #32198's generic mechanism. listForPackageScopedIndex documents its two-holder branch (F3): a package-less row of a name two packages hold fills the environment's slot, as the store's write rule puts it.
  • One picklist re-judge (@objectstack/objectql, rulings A and R2-A): SchemaRegistry.judgePicklistArrival judges an arrival with everything registered, over one pending view, before any of it registers: the arrival's own references (from the package writing them) and extensions (caller-less), the installed references and extensions it would break, and every field whose writers would reach different lists. The plugin seals it at kernel:ready; the install door (refusePicklistArrival), registerApp (admitPicklistArrival), the item seams and hot reload all ask it, and a judged arrival's per-item seams do not judge again (registeringPicklistArrival). findPicklistReferencesBrokenBy is gone.
  • The bare engine function read (R2-C): resolveFunction / resolveFunctionEntry refuse a name two packages hold through core's resolvePackageScopedHolders, naming both. Its one production caller, the runtime re-bind's releaseMovedFunctions, reads the owner's own entry for such a name (@objectstack/runtime, R3-B).
  • Provenance is no shortcut (R3-A): registerItem's picklist re-judge judges a tenant-authored list under a package as any list of it. Swept: the one-holder item seam, the install door, registerApp and hot reload had no such shortcut and are now pinned for it; registerObject's seam keeps excluding a tenant-authored object layer, which writes no package's reference (picklistReferrerOf).
  • A refused hot reload ingests nothing (R3-C): refreshReloadedPackages answers 'refused' and the payload's objects are not ingested.
  • The boot audit (F2): SchemaRegistry.findDisagreeingPicklistReferences names a field whose packaged referrers each resolve to a different list; the boot warns and continues (ruling N2's line).
  • The refusal sentence of describeUnresolvedPicklistReferences keeps "no loaded package declares" only when no line carries a refusal; a refused name now reads "resolves to no one list" with a remedy for both kinds.
  • The build probe (@objectstack/metadata-protocol): publishedItemReader reads a widget's dataset from the publishing package, so each namespace's publish probes its own qa_ds; widget_not_probed's fix text follows the refusal's reason.
  • Docs in code: bare-name-one-holder.ts records the picklist family's narrowing, the readers, the API path rule and the owner-less platform function (card note 6777569899).

Why

ADR-0150 D2/D9, epic #31527 child B. Every reader of these five types already answers by (package, name); until this switch a second namespace's package still had to rename. Step 0 measured the remaining work (/mnt/project-files/epic-31527/card-31700/step0.md); the seat ruled the clause lines (6810963021) and the install-order finding (A, 6811306558).

Verification

Acceptance notes

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic.
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: one ADR-0087 semantic entry (packages/spec/src/migrations/entries/semantic/18.picklist-family-names-per-namespace.ts, data only) with its own @objectstack/spec patch changeset; no schema, key or export moves, and check:generated is green.
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b

…oped and slotted sets (#31700)

Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
Co-authored-by: Claude <noreply@anthropic.com>
… lists; pin same-named apis across namespaces (#31700)

Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
Co-authored-by: Claude <noreply@anthropic.com>
…per namespace on a booted showcase (#31700)

Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
Co-authored-by: Claude <noreply@anthropic.com>
…ves to a tool name (#31700)

Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
Co-authored-by: Claude <noreply@anthropic.com>
…nstalled picklist reference with no one list (#31700)

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

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 6 package(s): @objectstack/core, @objectstack/metadata-protocol, @objectstack/metadata, @objectstack/objectql, @objectstack/runtime, @objectstack/spec, touching 60 documentable anchor(s). ⚠️ 2 changed file(s) yielded no anchor (packages/metadata-protocol/src/index.ts, packages/objectql/src/package-scoped-resolver.ts), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

27 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 6bbdf301f4c35739adc2333a33f3620c897b3661.

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

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

Coarse fallback — 185 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 6bbdf301f4c35739adc2333a33f3620c897b3661 → packageMentionDocs.

Which tree this was computed on

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

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

⚠️ 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 6bbdf301f4c35739adc2333a33f3620c897b3661 → 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

epic:#31527#1 · os-bill · session_01Utp6CYGYEUhpi29FpjLmxT

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: a9779e0f16e087671077c0d3d53fcc4d89095004
Local-runs: probe — one worktree at the head (closure built with OS_SKIP_DTS=1): the touched packages' targeted suites, one ablation of the late-install re-judge, and uncommitted scratch cases to confirm the door and store findings before grading them
Scope: packages/core/src/package-scoped-resolution.ts (+test), packages/metadata/src/package-slotted-store.ts, packages/metadata/src/metadata-manager.ts (+match-endpoint test), packages/objectql/src/bare-name-one-holder.ts, picklist-resolution.ts, plugin.ts, registry.ts and their picklist / boot-audit / exact-qualifier / bare-name-one-holder family tests, packages/metadata-protocol/src/build-probes.ts (+dataset-holders test), index.ts, protocol-history-and-publish.ts, packages/runtime/src/domains/meta-qualified-item-read.test.ts, packages/cli/src/commands/migrate/stored-references.integration.test.ts, the two dogfood family tests + read for context: database-loader.ts, memory-loader.ts, protocol-exact-qualifier.ts, package-scoped-read.ts, engine-hooks-and-functions.ts, metadata-facade.ts

① Derived judgments

  • Declaration lines match rulings 6810963021: Clause-②: yes (narrowing) and Metadata-protocol: narrowed in the body and the changeset, with the ADR-0087 marker.
  • Probe at head: objectql family + picklist files 348/348; core package-scoped-resolution 29/29; metadata match-endpoint 412/412; metadata-protocol build-probes-dataset-holders 7/7. Not run locally: runtime, cli, dogfood.
  • Ablation: with the late-install refusal in plugin.ts disabled, both ruling-A order pins go red and the two CONTROLs stay green; restored, 68/68.
  • Ruling A (6811306558) holds for the two pinned orders. findPicklistReferencesBrokenBy judges the pending view before registerApp, the refusal names each reference and both holders, and the tests assert nothing registered.
  • Red line 3 (reads): one-holder bare names read as before; the store's one-holder CONTROL covers picklist, mapping and dataset.
  • function is exempted by name in exactly two pins (slotted superset, exact-qualifier 501); claimBareNameFunctions reads the incoming namespace from the installed record.
  • Three scratch cases contradict the PR's claims; they are must-fix 1–3 below.

② Semver level

minor on core, metadata, objectql and metadata-protocol is right for narrowed. The BREAKING banner and the ADR-0087 marker are present. runtime, cli and dogfood change tests only.

③ Boundary flags

④ Design judgment

The narrowing does what ADR-0150 D2/D9 says on the pinned paths, and fails on these:

Must-fix

  1. Self-extension slips the late-install door. packages/objectql/src/plugin.ts:1016 (if (own.has(ref.picklist)) return undefined;, applied to extensions at :1029) and packages/objectql/src/registry.ts:10532 skip the incoming package's own extensions. Measured: alpha holds p1, and a late install of gamma declaring p1 plus a picklistExtensions entry on p1 is admitted (main: refused NAMESPACE_CONFLICT). findOrphanPicklistExtensions() then names gamma's extension, and the next cold boot is refused. This breaks ruling A and row 7's "refused at install". Needs a late-order pin.
  2. A late install can silently strip an installed field's options. registry.ts:10495 judges each referrer alone; plugin.ts:1329 names the disagreement only at boot. Measured: alpha owns alpha_item.s → p1. A late install or upgrade of gamma that declares its own p1 and redeclares that field in objectExtensions is admitted; served options go from ['alpha_one'] to [] with no error and no log. This is the harm ruling A was made for, on another package's field (red line 2).
  3. Undeclared moved answers (red line 3). package-slotted-store.ts:111 moves the store contract for picklist, mapping and dataset; the changeset declares only rows 4–6:
    • (a) unregister(type, NAME, { packageId }) naming a non-holder: FROM item removed TO nothing removed (one-holder move).
    • (b) unregisterPackage(holder) after a package-less write over its name: FROM package-less item stays TO removed with the slot (one-holder move).
    • (c) list(type) for a two-holder name: FROM the survivor alone TO both (metadata: the in-memory store keys every namespace-scoped type by (package, name), so one package's register never overwrites another's same-named agent or skill (ADR-0150 D3; reader before #31700) #32151 declared the same line for agent/skill, plus the realtime event kind).
    • (d) A package-less write under a two-holder name: FROM replacing the stored item TO a bare slot, listed, answered by no by-name read.
    • (e) DatabaseLoader for these types: one row per (package, name) with package_id, a no-package delete of a two-holder name refused, and rollback by name refused when several slots exist (read, not measured).
    • (f) protocol-exact-qualifier.ts:163: a bare read on a registry with readsByPackage(type) === false: FROM served TO 501.
      Each needs a FROM → TO row with its Clause-② arm in the body and changeset, and a pin where none iterates the new types ((a), (b), (e)).

Should-fix

  • Item seam: registry.registerItem('picklist', …, 'com.acme.beta') after seal is admitted beside an installed extension (one orphan measured). Moving the re-judge into the registry closes it with must-fix 1.
  • Hot reload: plugin.ts:1866 re-registers through registerApp and bypasses the door. Declare it or cover it.
  • Bare engine function read: ObjectQL#resolveFunction / resolveFunctionEntry (engine-hooks-and-functions.ts:270-276) answer the last-registered function, now that two namespaces' holders are admitted.
  • Skills-docs: should read follow-up owed — skills/objectstack-automation/SKILL.md; the line names SKILL.md:261 as now false.
  • Row 12: state that a widget's dataset held outside the publishing package's closure goes FROM probed TO widget_not_probed.

Nits: the reworded describeUnresolvedPicklistReferences sentence is in the body but not the changeset; the dev report counts 21 build-probe tests where the touched file holds 7.

Implemented-by: claude/project-thread-du44hj
Reviewed-by: session_01Utp6CYGYEUhpi29FpjLmxT

VERDICT: FAIL

…very late arrival; the bare engine function read refuses two namespaces' holders (#31700)

Epic seat ruling R2 (6812862622) on contract review 6812847136:

- R2-A: the re-judge moves into SchemaRegistry (judgePicklistArrival).
  Late install, upgrade, the registerItem / registerPicklistExtension /
  registerObject seams and hot reload all meet it. It judges the pending
  view whole (every referrer and every redeclared field, objectExtensions
  included), extensions caller-less with no own-name shortcut, and refuses
  before anything registers.
- R2-B: the store moves (a)-(f) for picklist, mapping and dataset are
  declared in the changeset; (a) gains its pin.
- R2-C: ObjectQL#resolveFunction / resolveFunctionEntry refuse a name two
  namespaces hold, naming both (409 RESOURCE_CONFLICT).

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
…-du44hj

# Conflicts:
#	packages/cli/src/commands/migrate/stored-references.integration.test.ts
#	packages/core/src/package-scoped-resolution.ts
#	packages/metadata/src/package-slotted-store.ts
#	packages/objectql/src/bare-name-one-holder.ts
#	packages/objectql/src/registry-bare-name-one-holder-ai-family.test.ts
… package's dataset resolution (#31700)

The probe reads a widget's dataset from the publishing package
(`resolveCallerPackageAddress`, then the holder's address). The caller-
context double has no registry, so the resolution failed closed and the
widget went unprobed (CI Test Core 3/8 at a9779e0: checked.widgets 0).
The double now answers as a registry in which the publishing package holds
its drafted dataset, and the first leg pins the read at that address.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
#31700)

`registerApp` now asks the registry to judge a body's picklist arrival
before it registers; the double holds no picklist and is never sealed, so
it runs the body as given (engine.test.ts Metadata Registration: 4 red
without it).

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
…at collection (#31700)

check:test-source-alias judges an edited test file: the dispatcher's package
domain reaches @objectstack/metadata through a dynamic import.

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

Copy link
Copy Markdown
Contributor Author

epic:#31527#1 · os-bill · session_01Utp6CYGYEUhpi29FpjLmxT

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 2386ae1a868bfb0a7833e4320cddae0564d80674
Local-runs: probe — one worktree at the head (closures built with OS_SKIP_DTS=1): the touched suites, one ablation of judgePicklistArrival, one revert of the three store types, and uncommitted scratch cases for the round-1 findings, the R2-A seams and the R2-C caller
Scope: delta over FAIL 6812847136 at a9779e0 per epic ruling 6812862622: packages/objectql/src/registry.ts, plugin.ts, picklist-resolution.ts, engine.ts, engine-registration.ts, engine-hooks-and-functions.ts and their family / boot-audit / resolver / hook-binder tests, packages/core/src/package-scoped-resolution.ts, packages/metadata/src/package-slotted-store.ts, packages/metadata-protocol/src/build-probes.ts, packages/runtime/src/domains tests + read for context: packages/runtime/src/app-artifact-handlers.ts, packages/objectql/src/metadata-facade.ts

① Derived judgments

  • Declarations stand: Clause-②: yes (narrowing) and Metadata-protocol: narrowed, ADR-0087 marker present. Size: 1876+ / 287−, 32 files.

  • Probe at head, all green:

    • objectql family, picklist, resolver, hook-binder and engine: 766/766
    • core: 29/29
    • metadata match-endpoint: 484/484
    • metadata-protocol dataset-holders: 7/7
    • runtime (three files): 72/72
  • R2-A holds on every named path. SchemaRegistry.judgePicklistArrival (registry.ts:10762) is reached from:

    • the install door
    • direct registerApp
    • hot reload
    • registerItem('picklist')
    • registerPicklistExtension
    • registerObject

    It judges one pending view, with no own-name shortcut.

    • The four round-1 cases and eleven new scratch cases are refused before anything registers, naming the reference and both holders.
    • CONTROL: a second namespace's list with its own field installs.
    • Ablation turns 13 pins red.
  • R2-B holds. (a)–(f) are declared with arms; reverting the three store types turns 18 tests red.

  • R2-C is pinned (409 naming both, one-holder CONTROL), but row 19's "no production caller" is false at this head. See must-fix 2.

  • R2-D: row 12 and the nits are fixed. Skills-docs: still reads follow-up owed; the seat rewrites it to follow-up #32522.

② Semver level

minor on core, metadata, objectql and metadata-protocol is right for narrowed. Must-fix 2 adds a runtime source change and a changeset line.

③ Boundary flags

  • No packages/spec file and no governed path.
  • A stored row registered with no package argument but stamped with another namespace's _packageId is an unjudged second holder on main too. This is not this PR's move; it is a follow-up candidate.

④ Design judgment

Must-fix

  1. A tenant-authored list under a package skips the re-judge (packages/objectql/src/registry.ts:8186, type === 'picklist' && packageId && !isTenantAuthored(item)).
    • What moves: registerItem('picklist', { name: 'p1', _provenance: 'org' }, 'name', 'com.acme.beta') after the seal, with alpha holding p1 and gamma's installed extension of it, is admitted. main refused it 422.
    • Measured: alpha and beta become holders, and gamma's extension is orphaned silently.
    • Fix: judge any registration that fills a package's slot (an overlay of the holder's own list adds no holder and passes), and pin it.
  2. R2-C's refusal reaches a production caller (packages/runtime/src/app-artifact-handlers.ts:548, bare: engine.resolveFunctionEntry?.(name) in releaseMovedFunctions, from fix(runtime)!: a multi-package artifact binds each package body's hooks and functions under that body's package, as its actions (ADR-0150 D3/D4) #32468).
    • What moves: a re-bind that moves one function off an owner which also keeps a two-namespace function name. Before: released and held once. Now: the bare read throws 409, teardown aborts with an error log, and the moved function stays held by both owners.
    • Measured: one-holder CONTROL clean.
    • Fix: read the owner's own entry for a name several packages hold, add a runtime pin, and correct row 19 in the body and the changeset.

Should-fix

  • A refused hot reload still ingests the payload's objects (plugin.ts:1435-1436), so row 18's "refused whole" overstates. Skip the ingest on refusal, or reword the row.
  • Row 12 moves a one-holder answer with the arm at "—"; give it its narrowing arm.
  • bind-database-loader-row-packages now also binds picklist, mapping and dataset rows; say so in one changeset line.

Implemented-by: claude/project-thread-du44hj
Reviewed-by: session_01Utp6CYGYEUhpi29FpjLmxT

VERDICT: FAIL

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

epic:#31527#1 · os-bill · session_01Utp6CYGYEUhpi29FpjLmxT

Epic red-line read at caf6941d89 · 2026-11-12T08:48Z

Head-sha: caf6941d896ed4f833d24f15b5ecf995ca45be47

PASS. Both round-2 findings are closed and measured in the contract review's probe at this head. One wording correction is owed on row 19 (the record's should-fix). CI needs one re-run: Test Core (1/8) failed in @objectstack/mcp, which this PR does not touch.

  • Red line 1 (resolution never loosened): holds.
    • Every registration that fills a package's slot with a list meets the one re-judge, whatever its provenance: registerItem, the install door, registerApp and hot reload.
    • Restoring the provenance skip turns 1 pin red. Making the judge skip tenant-authored lists turns 4 red.
    • A tenant-authored object layer stays outside the judge and is measured to write no package's reference.
  • Red line 2 (ambiguity reported, never guessed): holds.
    • The round-2 case (a tenant-authored p1 under beta, alpha holding it, gamma extending it) is refused 422 before anything registers. No orphan is left.
    • The re-bind no longer stops on the 409: the moved function leaves its owner, and the kept two-holder name keeps both holders. The bare read of that name stays refused, naming both.
    • A refused hot reload ingests no object of its payload.
  • Red line 3 (independently releasable): holds, with one cell to correct.
    • One-holder answers are unchanged, each with a CONTROL: the holder's own overlay at every door, and the one-holder re-bind.
    • Rows 12, 18, 19 and 20 carry their arms and pins. The changeset matches the body and adds the runtime patch and the migration line.
    • Row 19's FROM says "unreachable". On main, direct ObjectQL#registerFunction under two package owners reached it and answered the last registration. The move is declared and pinned; the FROM cell and the "two namespaces" wording need correcting in the body and the changeset.

…ws 19 and 20 (#31700)

Contract review 6819064294 (PASS) should-fix: row 19's FROM cell said
"unreachable", but on main two package owners registered through
ObjectQL#registerFunction directly reached it and the bare read answered
the last registration (#32073's precondition pinned that). The changeset
now says so, and says "two packages" where the bare function read
refuses any two package holders.

Pins: the bare read refuses a same-namespace pair registered directly
(+ one-holder CONTROL); the item seam admits a tenant-authored body under
an installed package of another namespace, as it admits any (row 20 ->
row 1), for picklist, mapping and dataset.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
…-du44hj

Brings in #31696 PR-3 (#32507, flow names per namespace) and #32551, as the
landing order requires. Conflicts resolved keeping both sides: `flow` and the
picklist family both join NAMESPACE_SCOPED_BARE_NAME_TYPES (core) and
PACKAGE_SLOTTED_STORE_TYPES (metadata), in landing order, with their docs;
the store and switch pins list both; the runtime qualified-read test keeps
both new describes. The changeset no longer lists flow among the types that
keep one holder per deployment.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbqzUZJRphdYbBQ16b
…uide (#31700)

#32649 refuses `adr-0087: not-required (no-migration-prescription)` on a
changeset declaring `Metadata-protocol: narrowed`. The narrowing this PR
declares now has its semantic entry,
`picklist-family-names-per-namespace`: no automatic rewrite, because which
holder a reader, a field or an extension meant is a judgement about that
caller. The changeset marks it `adr-0087: registered`; a spec patch
changeset carries the entry.

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

Copy link
Copy Markdown
Contributor Author

epic:#31527#1 · os-bill · session_01Utp6CYGYEUhpi29FpjLmxT

Seat merge read at f74084f60 · 2026-11-12T11:36Z

Head-sha: f74084f608ea868780a3410ed8838cfb35681059

PASS on the merge delta. CI was still running at read time.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

epic:#31527#1 · os-bill · session_01Utp6CYGYEUhpi29FpjLmxT

ACCEPT · seat record · 2026-11-12T11:56Z

Head-sha: f74084f608ea868780a3410ed8838cfb35681059

维护者速读

席位核对

  1. Shape: 37 files, +2064 −302, no governed path; under 3,000 lines. The head is the ADR-0087 registration commit, on top of merge 10ad3d4230 (the reviewed head 3ddcf25f66 + main 9cd5fc1612).
  2. Premise measured: contract review and epic red-line read PASS at 3ddcf25f66 (records on this PR); seat merge read PASS at this head (6822531742). The net diff equals the reviewed one apart from the declared merge resolutions, the semantic entry and the changeset text.
  3. Check-runs at this head: 71 runs, 57 success, 13 skipped, 1 cancelled. The cancelled one is PR-body guards run 131149859886, superseded on the same head by its success run 131150038334. No failure.
  4. Accepted deviation: none.
  5. Out of scope: the follow-ups recorded in the review records stay on their cards; none blocks.
  6. Landing: K = 13 first-parent commits on origin/main since 9cd5fc1612; under 15. check-adr-0087-registration.mjs passes at this head. Land now. fix(objectql, metadata-protocol)!: by-name doors judge a name's holders over the served set, so a disabled package's item is not a holder (ADR-0150 D3) #32497 (objectql + metadata-protocol + runtime: by-name doors judge a name's holders over the served list, so a disabled package neither refuses nor is named (ADR-0150 D3; #32101 F4 class) #32183) merges main after this and carries its landing duties.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 12, 2026 11:57
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit 5f84ef0 Nov 12, 2026
71 of 72 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-du44hj branch November 12, 2026 12:28
os-sales pushed a commit that referenced this pull request Nov 12, 2026
Three test conflicts, each resolved keeping both sides: cli
stored-package-references.literal-namespace.test.ts (this branch's
disabled-holder report case and main's narrowed-action case), rest
meta-qualified-item-route.test.ts and runtime
meta-qualified-item-read.test.ts (this branch's caller-arm describe, then
main's describes; the runtime imports joined).

Claude-Session: https://claude.ai/code/session_01L6bhgTkccuWPuLpWbpBTVu
Co-authored-by: Claude <noreply@anthropic.com>
scbdzhwl pushed a commit to scbdzhwl/objectstack-analysis that referenced this pull request Nov 16, 2026
…e flow function name get, now that function names are held per namespace (objectstack-ai#33396)

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

domain:skills#1 · os-project-manager · session_01FEkQ5pCBxBzsVQVGq52JDt

Part of objectstack-ai#31527

Clause-②: no
Metadata-protocol: none

Card objectstack-ai#32522 stays open when this merges, because the card is `Part of
objectstack-ai#31527`; the skills seat ends it after the merge.

## 维护者速读

- 改了什么:`objectstack-automation` 技能「Valid-but-silently-wrong」第 3
条里讲两个包发同名 flow function 的那一句,从「启动时告警 `Bare-name conflict at boot`」改成现在
`main` 的行为:两个不同命名空间的包各跑各的(启动不告警);同一命名空间或没声明命名空间时,后来的安装被拒,启动时若两者都在则告警
`Bare-name conflict at boot`。
- 为什么改:objectstack-ai#32513(卡 objectstack-ai#31700)把引擎 `function` 加进了
`NAMESPACE_SCOPED_BARE_NAME_TYPES`,不同命名空间的同名 function
不再算冲突,旧句子对这种情况已经不成立,那张 PR 的 `Skills-docs:` 行点名欠这一处。
- 风险与回滚:纯技能文字,一个文件改 4 行(+4/−4),另加一个 `@objectstack/skills` patch
changeset;不动 schema、不动运行时;token 棘轮用删掉一处同段重复付清,上限不动;回滚即还原本 PR。
- 先看:`skills/objectstack-automation/SKILL.md` 第 268–271 行。
- 两分钟验证:`git diff origin/main -- skills/`,预期只见 `acme.crm`/`acme.sales`
那句换成按命名空间区分的说法,并删去「(the platform's counts)」。
- 需要你做的:受管面 Tier H(`skills/**`):请批准或合并。

## What changes

- **`skills/objectstack-automation/SKILL.md` lines 268–271** (item 3 of
"Valid-but-silently-wrong", the paragraph on how a `script` node's
`config.function` resolves). FROM:

> `acme.crm` and `acme.sales` both shipping `normalize_phone` each run
their own (the boot warns `Bare-name conflict at boot`). If the flow's
package holds none, two holders in reach (the platform's counts) or one
only outside its `dependencies` closure fail the step …

  TO:

> Packages of two `namespace`s each run their own `normalize_phone` (one
namespace, or none: refused at install; a boot warns `Bare-name conflict
at boot`). If the flow's package holds none, two holders in reach or one
only outside its `dependencies` closure fail the step …

The guard refusal that follows (no `fault` edge, `$error.code:
'RESOURCE_CONFLICT'`, a flow door's `400 FLOW_FAILED` with
`error.details.innerRefusal`) is unchanged: it is already the flow-level
face of ruling R2-C.
-
**`.changeset/32522-skills-automation-function-name-per-namespace.md`**:
`'@objectstack/skills': patch`, carrying both declaration lines
(`skills/**` ships in `@objectstack/skills`).
- No eval touched: `git grep` over `skills/` for `Bare-name conflict`,
`normalize_phone` and `acme.sales` on `origin/main` 6538ba4 hits only
this paragraph; no eval asserts the old sentence.

## Why

The card's premise holds on `origin/main` 6538ba4: line 270 said every
two-package pair makes the boot warn. PR objectstack-ai#32513 (card objectstack-ai#31700, merged
2026-11-12) moved that, per its FROM → TO rows 2, 10 and 19. Checked
against the code on 6538ba4:

- **The switch.** `packages/core/src/package-scoped-resolution.ts:156`
`NAMESPACE_SCOPED_BARE_NAME_TYPES` lists `'function'` (line 169).
- **Who meets whom.**
`packages/objectql/src/bare-name-one-holder.ts:424`
`bareNameHoldersMeet` delegates a narrowed type to
`packages/spec/src/kernel/namespace-prefix.ts:220`
`namespacedHoldersMeet`: two holders meet unless both declare a
namespace and the two differ. A holder's namespace is its
`manifest.namespace` (`packages/objectql/src/registry.ts:5205`
`bareNameHolderNamespace`). So "one namespace, or none" is exactly the
meeting set.
- **The install (bind) door.** `registry.ts:5415`
`claimBareNameFunctions`: after the seal, a bind bringing a function a
meeting package holds throws `BareNameConflictError` (`422
NAMESPACE_CONFLICT`); a holder of another namespace is skipped.
- **The boot.** `registry.ts:5496` `sealBareNameHolders` reports a later
holder only against an earlier one it meets, and
`packages/objectql/src/plugin.ts:1383` hands that to
`sealBareNameHoldersAtColdBoot` under `BARE_NAME_COLD_BOOT_MODE =
'warn'` (`bare-name-one-holder.ts:466`), whose text is
`bareNameColdBootWarning` (`registry.ts:2933`, "Bare-name conflict at
boot: …"). Two namespaces' holders: no warning.
- **The flow's bare reference.**
`packages/services/service-automation/src/engine.ts:4620`
`AutomationEngine.resolveFunction` resolves for the calling flow's
package and throws the resolver's `409 RESOURCE_CONFLICT` refusal where
the name means no single function for that caller; the skill already
teaches this, unchanged.
- **The two-holder bare engine read (ruling R2-C, 6812862622, quoted):**
"When two namespaces hold a function name, `resolveFunction` /
`resolveFunctionEntry` refuse it as ambiguous, naming both holders; a
one-holder name resolves as before." That is
`packages/objectql/src/engine.ts:772` / `:787`. A flow author meets it
only through the flow's guard refusal above, so the skill names no
engine method.

Pins that hold each sentence, run here (below):
`packages/objectql/src/registry-bare-name-one-holder-request-family.test.ts`
"after the seal, two packages of two namespaces each bind a function of
one name, and each keeps its own holder", "the cold boot of two
namespaces' API and function holders boots with no bare-name warning",
"a function co-owner of the holder's namespace is still refused at the
bind", "a package with no namespace is still refused …", and "the cold
boot of a deployment whose packages already bind one function name" →
"boots, and warns once naming both packages … and the rename" (which
also reads the R2-C 409 on the bare read).

**Paying the token ratchet.** The file sat at 6860 of 6861 tokens (7
priced bytes of headroom). The rewrite drops the two package ids
(`acme.crm` / `acme.sales` named packages, while the rule now turns on
namespaces) and cuts one restatement in the same paragraph: "(the
platform's counts)", which the sentence before already says (the
platform's function is "in every flow's reach", so it is one of the
"holders in reach"). Net +5 priced bytes; the file lands at 6861 of
6861. No ceiling moved, so no ruling is cited.

## Acceptance notes

- The premise re-check the card names (`grep -n "Bare-name conflict at
boot"` → zero hits) does not apply as written: the warning still fires
for a pair in one namespace (or without one), so the rewritten sentence
keeps the string, scoped to the pair it now covers. The card's "Fix"
paragraph asks for exactly that.
- `skills/objectstack-automation/SKILL.md` has another open p3 card on
it, objectstack-ai#32525, not dispatched this round (order's serial constraint).

## Verification

Head `c40b6e10`, base `origin/main` 6538ba4.

<details><summary>Line and token budget (skills/**)</summary>

- `skills/objectstack-automation/SKILL.md`: 474 to 474 lines, 27457 to
27462 bytes; token ratchet 6860 to 6861 (ceiling 6861, headroom 0). A
first wording measured 6864 (over by 3) and was shortened; no ceiling
moved.
- Whole package, all `skills/*/SKILL.md`: 4602 to 4602 lines, 235787 to
235792 bytes. Bundle total (whole shipped tree): 244310 to 244311
tokens.
- `node scripts/check-skills-token-ratchet.mjs`: exit 0. `node
scripts/pm/check-skill-line-ratchet.mjs`: exit 0.

</details>

<details><summary>Derived gates: 46 derived, 44 run green, 2 NOT
MEASURED</summary>

`node scripts/pm/dispatch-gates.mjs --commands --repo
objectstack-ai/objectstack` derived 46 families for the two paths. Each
was run with its exit code captured before any pipe, after building the
`@objectstack/lint` closure under the verify lock (VERDICT command-exit
0, 94s):

- 44 exit 0, among them `check-adr-0087-registration` (scan and
`--self-test`), `check-changeset-no-major`, `check-empty-changeset`
(scan and `--self-test`), `check-closing-keyword-parity` (scan and
`--self-test`), `check-skills-token-ratchet` (scan and `--self-test`),
`@objectstack/lint check:doc-formula-expressions`, `@objectstack/spec
check:skill-docs`, `check:doc-authoring`, `check:nul-bytes`,
`check:pm-governed-merges`, `check:published-files`,
`check:skill-compatibility`, `check:skill-frame-sync`,
`check:skill-identifier-liveness`, `check:skill-links`,
`check:dts-closure`, `check:sourcemap-no-sources-content`.
- NOT MEASURED, exit 3 PREREQUISITE NOT MET (they read every package's
`dist/`): `check:dual-build-cjs-loads`, `check:lean-entry-closure`. No
package source is touched; CI builds and runs them.
- `--ran`: "46 derived famil(ies) accounted for — 44 run, 2 NOT-MEASURED
(2 DERIVED from a recorded exit 3)".
- Extra, not derived: the objectql pins above. `pnpm --filter
"@objectstack/objectql^..." build` then `pnpm --filter
@objectstack/objectql exec vitest run --maxWorkers=2
src/registry-bare-name-one-holder-request-family.test.ts` under the
verify lock: Test Files 1 passed, Tests 68 passed (VERDICT command-exit
0, 125s).
- Record: `/mnt/project-files/pm-orders/skills/32522-gates-ran.txt`
(project file). CI families are read from this PR's check-runs, not
re-run here.

</details>

<details><summary>Tier and governed readings</summary>

- `dispatch-gates --tier`: MANDATORY contract-review tier,
`skills/objectstack-automation/SKILL.md` under clause ① (the published
catalog); no one-line exit for this surface.
- `node scripts/pm/check-governed-merges.mjs --branch
claude/project-thread-r071bm`: GOVERNED, landing tier H (人合). 1 of 2
paths hits the register (`skills/**`); the changeset is not on it. Size
+14 / -4, under the 3000 threshold.

</details>

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

https://claude.ai/code/session_01FEkQ5pCBxBzsVQVGq52JDt

<!-- signed: domain:skills#1 · os-project-manager ·
session_01FEkQ5pjSPT7ui2EUcunaVb -->

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 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

1 participant