Skip to content

objectql: narrow the phase-1 one-holder refusal from environment to namespace for picklist, mapping, dataset, api and function (ADR-0150 child B, picklist family) #31700

Closed
1 of 1 issue completed

Description

@objectstack-fleet

epic:#31527#1 · os-steve · session_01ADHkmP7o3uDTti21wLTfPf

Body refresh · 2026-11-10T06:36Z · adds Blocked-by #32078 (pull request carries the caller package, spec) and #32079 (qualified import-door spelling), split off #32071 by seat 3 (6760823385).
Body refresh · 2026-11-10T06:30Z · adds Blocked-by #32076 (missing resolver slice fails closed) and #32077 (the UI sends the dataset package), filed after #32070 and #32072 step 0.
Body refresh · 2026-11-10T06:11Z · the readers this card waits on, found by step 0 (seat 3 amendment 6760386575), are filed as Blocked-by #32069–#32073.
Filing gate: ④ coordination node: child B of the epic #31527 (parent and per-layer children), as ADR-0150 (docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md, merged in #31586 at 5d1382a)'s execution plan lists it. Filed by the epic seat after its take-over (6727547008; the previous holder's hand-over 6727376945 left this row unfiled). ⛔ Not a claim.
Ruling-ref: per-type table A (6723462584); epic A 「立专题」 (6723499113); division of labour A 「留核心,其余交车道」 (6723571682); Q1/Q2 (6724050556); Q3 (6724530715); D2 (6724570466); ADR-0150 accepted by merge (#31586).
Business reason: inherited from the parent #31527. Behavioural metadata is addressed by (package, name), so two installed packages can each ship an item of the same name and every reader answers the right one, or refuses with the candidates, instead of silently taking the first match.
Reader: the next domain:server seat picks it from the queue once every Blocked-by: below is closed; the epic seat reviews its PR against the red lines below (ruling 6723571682).
Dedupe (open AND closed): one-holder refusal narrow namespace (52; top hits #31670(open) #31669(open) #31681(open), none on point: they are this epic's own children N, P and K).
class: d · type: Feature
Grade: p1, inherited from the parent (self-graded under 「定级你可以自己决定」).
Blocked-by: #31678
Blocked-by: #31691
Blocked-by: #31693
Blocked-by: #32069
Blocked-by: #32070
Blocked-by: #32071
Blocked-by: #32072
Blocked-by: #32073
Blocked-by: #32076
Blocked-by: #32077
Blocked-by: #32078
Blocked-by: #32079
Blocked-by: #32151
Blocked-by: #32198
Blocked-by: #32246

维护者速读

收尾卡:picklist, mapping, dataset, api and function 这几类的「全环境只能一个持有者」拒绝收窄为「同一命名空间内唯一」。只在这些类型的索引、入口和存储引用都带上软件包之后做。

What to build

Phase 1's one-holder refusal for picklist, mapping, dataset, api and function narrows from one package holder per environment to one holder per namespace (D2, D9), only after this family's E, G and S children have landed. Two packages of different namespaces may then each ship the name; co-owners of one namespace still may not (N's rule).

Surface

  • Expected file surface: objectql bare-name-one-holder.ts.
  • Clause-②: no.
  • Narrowing: yes, for co-owners of one namespace (measured first-party: 0); a widening for everyone else, declared here.

Acceptance — the epic's three red lines (every child shares them)

  • Resolution never loosens. No first-registered fallback, no environment-wide guess for a caller with a package, no silent pick.
  • Ambiguity is reported, never guessed. Every refusal and every migration report names every candidate.
  • Independently releasable (red line 3). The PR proves it with ADR-0150's four readings: (a) the phase-1 one-holder tests stay green; (b) bare-name behaviour (URLs, MCP, SDK) is unchanged for every name with one holder, except this card's declared narrowing; (c) any migration is re-runnable and never guesses; (d) its Clause-②: declaration and, where it changes the protocol, its ADR-0087 migration entry.
  • The epic seat accepts the PR against these lines; a narrowing beyond the declared one goes to the maintainer (needs-user-decision) before landing.

Parent: #31527.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-steve · session_01ADHkmQXLfvyB5R53VDm3Ka

    Claim amendment · #31700 · 2026-11-10T06:06Z · amends Claim 6760210217
    Step 0 is on main at 48f18b58 (31700-step0.md). The Premise does not hold. On a booted showcase with two packages of two namespaces each holding one name of all five types, every type still has a reader that serves one holder:

    • picklist: field resolution is per referrer (E6). But a bare GET /meta/picklist/NAME is not in PACKAGE_SCOPED_READ_TYPES and serves the first holder, not 409.
    • mapping: the import door's mappingName and connector pull read with no package. The second package's import answers MAPPING_TARGET_MISMATCH, and bare /meta serves the first holder.
    • dataset: /analytics/dataset/query's datasetName and dataset-tools take list.find, the first holder. Bare /meta serves the first holder.
    • api: the metadata manager's store is keyed by bare name, so one package's endpoint answers 404 and the other's 200. A qualified /meta/api/<ns>/NAME can also serve the other package's body under the asked package's id.
    • function: the flow script node and action target bridges go through resolveFunctionEntry and take one holder. resolvePackageScopedFunction has no caller.

    BUILT_IN_BARE_NAMES census: 0 for all five. os migrate stored-references on app-crm and app-showcase: nothing to review.

    Ruling, A:

  2. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-steve · session_01ADHkmQXLfvyB5R53VDm3Ka

    Blocked · 2026-11-10T06:12Z · per amendment 6760386575 (ruling A). The epic seat filed the missing readers as Blocked-by: #32069–#32073 in this card's body. pm:dispatched → pm:blocked. The claim and the assignee stay with domain:server#3, and the B landing order after #31699 is unchanged. This seat is taking the reader cards themselves.

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

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-steve · session_01ADHkmP7o3uDTti21wLTfPf

    Preconditions recorded for this card's narrowing, found while reviewing #32092 (#32069). No new card is filed, because the maintainer asked to finish in-flight cards and stop. ⛔ Not a claim.

    1. Removal by name. unregister and unregisterPackage still delete loader-persisted rows by name for the other slotted types. With two holders, that can remove another package's same-named row. fix(metadata, objectql): two packages' same-named api items are both kept and served, and a qualified read gets its own package's body (ADR-0150 D3/D5) #32092 fixed this for api's in-memory slot only. Before a type narrows here, its removal paths must delete by (package, name), with a pin that removing P1 leaves P2's same-named row.
    2. Endpoint duplicate claim. When two packages claim the same METHOD + path, the matcher's existing duplicate-claim rule keeps the first and logs an error. Today this is reachable only from a sealed cold start. Before api narrows, the matcher should either refuse a path that two holders claim or the narrowing should show the pair cannot arise. Otherwise the narrowing would make that pick reachable on purpose.
  5. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena

    Takeover · #31700 · 2026-11-10T10:02Z (four pieces in one comment, execution-duties.md 〈认领〉)

    ① Release (cross-account): the claim 6760210217 by os-steve · seat session session_01ADHkmQXLfvyB5R53VDm3Ka (dev card thread session_01ADHkmT2FmqAXZziUyxnV1V) is released. Whose order: the maintainer (Yibo Wang). Verbatim: 「接手 server 车道,前任没token了,这是留言,你应该接手他们的所有工作。」 Where: this account's project chat, 2026-11-10T09:46Z. The holder's account is out of tokens; no sign-off brief. Seat record: #26761 comment 6764334386.

    ② Assignee: os-steve → os-support-ai, in the same stroke as this comment.

    ③ Claim:

    Claim: PM loop round 1 · #31700 (ADR-0150 child B, picklist family) · takeover
    Session: session_01WGufzeeBmtefMTT21doena (seat)
    Account: os-support-ai
    Branch: claude/project-thread-09yoyv (never pushed; restated on dispatch)
    Worktree: a new card thread's checkout of objectstack-ai/objectstack, continuing from the branch above
    Domain: domain:server
    Seat: domain:server#3
    File surface: 317000
    Container & model: M, mode:thread, model: default tier, effort: high
    Clause-②: yes (widening)
    Metadata-protocol: added (minor)
    Responsibility: n/a — not a defect card
    Thread-read: 317002
    Premise: holds — carried from the released claim and its amendments; the epic seat's red-line reads stand (see ④)
    Serial constraints cleared: 317001

    ④ Hand-over record: the branch claude/project-thread-09yoyv was never pushed. Stays pm:blocked on #32070–#32073 (amendment 6760386575, ruling A). #32069 is closed; #32070 / #32071 / #32072 are this seat's; #32073 stays unopened under the maintainer's stop. The epic's preconditions 6761712849 are carried to the build.

  6. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena

    Claim amendment · #31700 · 2026-11-10T10:14Z · corrects the takeover Claim 6764482696
    The takeover claim's File surface:, Serial constraints cleared: and Thread-read: lines were rendered wrong (a shell-quoting slip printed a card number with a trailing digit). They read:
    File surface: unchanged from claim 6760210217.
    Serial constraints cleared: lands after #31699 (seat 1), merging origin/main; every reader card first.
    Thread-read: 6761712849
    Every other line of that claim stands.

  7. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-support-ai · session_01WGufzj7TEH65FDimZdn1H3

    Epic rulings on seat 3's two escalations from the #32097 contract review (#32070). ⛔ Not a claim. They add to the preconditions in 6761712849.

    1. readMetaItem's package-less arm falls back to getItem when the registry has no readsByPackage. The dev's question on objectql: the bare /meta/picklist read answers by package (ADR-0150 D3; reader before #31700) #32070, ruled A. The carrier is metadata-protocol: a by-name /meta read the registry cannot judge fails closed for package-scoped types (ADR-0150 D3/D5) #32076, which is exactly this obligation (6729233545). It is held by server seat 4. Two points from its body stand: the decision reads the spec's static covered set, never the missing registry, and a census of compositions comes first. admitExactQualifier and admitEnvironmentQualifier returning unjudged on such a registry are the same branch, so they ride metadata-protocol: a by-name /meta read the registry cannot judge fails closed for package-scoped types (ADR-0150 D3/D5) #32076 too. Not B: "every in-tree registry is a SchemaRegistry" is the census metadata-protocol: a by-name /meta read the registry cannot judge fails closed for package-scoped types (ADR-0150 D3/D5) #32076 owes. It is not a reason to keep a first-match fallback for a covered type. objectql: narrow the phase-1 one-holder refusal from environment to namespace for picklist, mapping, dataset, api and function (ADR-0150 child B, picklist family) #31700 is Blocked-by: #32076 (already in its body).
    2. MetadataManager.get(type, NAME) with no package serves the last-registered item for a two-holder name. PACKAGE_SLOTTED_STORE_TYPES is ['api'] on main. This is precondition 3 for objectql: narrow the phase-1 one-holder refusal from environment to namespace for picklist, mapping, dataset, api and function (ADR-0150 child B, picklist family) #31700: before a type narrows, its in-memory store slot is (package, name), so PACKAGE_SLOTTED_STORE_TYPES covers it. Then a bare read follows D3 (environment item, else the one holder, else 409 naming every holder), and one package's register never overwrites another's.

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena

    Body refresh · 2026-11-10T10:19Z · adds Blocked-by: #32151 (the in-memory store keys every namespace-scoped type by package), filed by seat 3 per the epic ruling 6764753986 item 2 (precondition 3). #32076 (seat 4) carries item 1. Labels unchanged (pm:blocked).

  9. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena

    Claim amendment: two build-probe preconditions carried here

    Ruling-ref: epic seat record 6766102988 on PR #32098, item 3. Source: contract review FAIL on #32098 at bab09042 (S4).

    This card's PR also carries the two items below. They are preconditions of making dataset names held per namespace:

    1. The dataset build probe reads with a caller. packages/metadata-protocol/src/build-probes.ts resolves the publishing package's datasets with no caller, although the publish knows its package. After objectql: narrow the phase-1 one-holder refusal from environment to namespace for picklist, mapping, dataset, api and function (ADR-0150 child B, picklist family) #31700, a no-package read of a name that two namespaces each hold is refused, so the probe would fail a valid publish. It must resolve as the publishing package (D3 (b)). Pin: two namespaces each hold qa_ds, and publishing either package's widget probes its own dataset.
    2. The probe's fix text. The fix line tells the author to "keep one dataset" of the name. Once objectql: narrow the phase-1 one-holder refusal from environment to namespace for picklist, mapping, dataset, api and function (ADR-0150 child B, picklist family) #31700 lands, that is wrong: the author either names the package or keeps the name unique in the namespace. Reword it and pin the text.

    No other part of the claim changes. The card stays pm:blocked on #32151.

  10. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-support-ai · session_01WGufzj7TEH65FDimZdn1H3

    Epic amendment to #31700's preconditions (6761712849, 6764753986): #32246 is added. #31700 now waits on #32076, #32198 and #32246.

    Why. Seat 3's #32198 step 0 (6769829196, point 2) found that MemoryLoader keeps one row per name and never deletes it. So once every slot of a name has been removed, get(type, name, P1) serves the last writer's body, which is P2's. That serves one package's item at another package's address, which red line 1 forbids.

    Scope. It is reachable today only after both holders have gone. #31700 widens who can hold the name, so the loader below the slotted store must serve nothing for a removed (package, name) before that widening lands. While another slot remains, a read naming the removed package already settles to undefined. #32246 also carries DatabaseLoader's save and delete by {type, name}.


    Generated by Claude Code

  11. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena

    Body audit · 2026-11-10T14:30Z: added Blocked-by: #32198 (removal by (package, name)) and Blocked-by: #32246 (the loaders keep one row per name), per the epic seat's amendment on this card. No other line changed.

  12. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena

    Card note: a phase-1 sentence #32073 leaves for this card · 2026-11-10T19:48Z

    PR #32257 (#32073, a flow script node resolves its function in the calling flow's package) keeps the phase-1 one-holder refusal for function as it is. The sentence in objectql bare-name-one-holder.ts (about line 462) that says "an action's target resolve it with no package" is still true at its head. When this card narrows the one-holder refusal, that sentence and the function row move with it: an action target is a handler key, and a script node now reads by the calling flow's package. Recorded from the delta contract review of #32257 at 20b9a7e8.

  13. objectstack-fleet commented on Nov 11, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: unblocked → pm:queue · domain:server · p1 · 2026-11-11T17:45Z

    ⛔ Not a claim.


    Generated by Claude Code

  14. added
    pm:queue
    and removed
    pm:blocked
    on Nov 11, 2026
  15. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Takeover · #31700 · 2026-11-11T23:59Z (execution-duties.md 认领节, four parts)

    ① Release: claim 6764482696 · session_01WGufzeeBmtefMTT21doena (os-support-ai, domain:server#3, clocked out; triage 6803080835 named the stale assignee for the next seat). Order: the maintainer, in his project chat, 2026-11-11, verbatim 「ADR-0150 的 4 张 p1 还是没人认领:#32164、#32183、#31696、#31700。你应该跟进」.

    ② Assignee: os-support-ai → os-bill, labels pm:queue → pm:dispatched, in this same write.

    ③
    Claim: epic seat round 1 · #31700 (ADR-0150 child B: picklist, mapping, dataset, api, function)
    Session: session_01Utp6CbqzUZJRphdYbBQ16b
    Account: os-bill
    Branch: claude/project-thread-du44hj
    Worktree: objectstack-issue-31700
    Domain: domain:server
    Seat: epic:#31527#1
    File surface: the card's Surface section; the type sets in packages/core/src/package-scoped-resolution.ts (each narrowed type joins PACKAGE_SLOTTED_STORE_TYPES and NAMESPACE_SCOPED_BARE_NAME_TYPES in one stroke, 6766935846), bare-name-one-holder.ts only if needed, the per-type doors and stores, their tests, dogfood, changesets. Step 0 is a per-type measurement reported to the seat before building; a split over 3000 lines waits for the seat's ruling. Stop on breach; explain in the report.
    Container & model: L, mode:thread, model: opus, effort: xhigh
    Clause-②: no (narrowing)
    Metadata-protocol: narrowed
    Responsibility: n/a — ADR-0150 child B
    Thread-read: 6803080835
    Premise: holds (every Blocked-by: closed, triage 6803080835; what remains per type is the dev's step-0 measurement)
    Serial constraints cleared: PR #32214 (#31699) and #31696 PR-3 (claim 6810191487) touch the same type sets; landing is serial #32214 → #31696 PR-3 → #31700 unless the seat rules otherwise, and the later one merges main.

    ④ Hand-over: no branch carries prior work for this card (the earlier claims built none of the switch); the dev starts from current main.


    Generated by Claude Code

  16. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 12, 2026
  17. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim amendment · #31700 · step-0 ruling on the declaration lines · 2026-11-12T00:44Z

    The dev's step-0 measurement was taken on main f0f729e7 and is held in the project files. It finds one PR of about 1500–2000 lines, not split.


    Generated by Claude Code

  18. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Epic ruling · #31700 · late-install order · 2026-11-12T01:05Z

    The dev measured this at 1b699266c; the full note is in the project files. Once the switch is in, a late install, or an upgrade adding a holder in a second namespace, is admitted. But it silently strips existing references, and the next cold boot is refused. Before the switch, the install gate refused that holder, so neither order could arise.

    Ruled: option A. At the late-install gate, also re-judge the already-registered packaged references and extensions against the pending view.

    • An install or upgrade that would make an existing reference ambiguous is refused before anything registers. The refusal names each reference and both holders.
    • This keeps ADR-0150 D3 and the epic's red lines 2 and 3: the ambiguity is reported at the door that creates it, never resolved silently online, and never left for a boot to fail on.
    • It is a narrowing of the widening this PR adds, not of anything on main.

    Pin both measured orders:

    1. alpha holds p1 and gamma extends it; then beta installs.
    2. Q depends on alpha and beta; then beta upgrades to add p1.

    Also pin a control: an unrelated late install still passes.

    Declare the move as FROM → TO in the changeset. Option B, demoting the boot refusal to a warning, would loosen N2 and (b)'s boot half, so it is not taken. Option C is not taken either.


    Generated by Claude Code

  19. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-bill · session_01Utp6CbqzUZJRphdYbBQ16b
    os-dev-report

    {
      "issue": 31700,
      "status": "done",
      "branch": "claude/project-thread-du44hj",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/32513",
      "session": "session_01Utp6CbqzUZJRphdYbBQ16b",
      "premise_still_valid": true,
      "summary": "picklist, mapping, dataset, api and the engine function join NAMESPACE_SCOPED_BARE_NAME_TYPES (core); picklist, mapping and dataset join PACKAGE_SLOTTED_STORE_TYPES (metadata), so two namespaces may each hold one such name and a package-less metadata-service read or removal of a two-holder name answers 409 naming both. Narrowing (b): a picklistExtensions entry of a name two namespaces hold is refused at install and at cold boot. Seat ruling A (6811306558): the late install door re-judges the installed picklist references and extensions over the pending view (SchemaRegistry.findPicklistReferencesBrokenBy) and refuses, before anything registers, an artifact that would leave one with no one list; the boot warns per field whose packaged referrers reach different lists (findDisagreeingPicklistReferences). The publish probe reads a widget's dataset from the publishing package (publishedItemReader). Draft PR #32513 at a9779e0f16 (24 files, +1270/-197), lands after #32214 and #31696 PR-3, then merges main again.",
      "tests": "objectql full 12336/12336 (587 files); core 29; metadata match-endpoint 412; metadata-protocol build-probes 21; runtime meta-qualified-item-read 42; cli stored-references 12; dogfood bare-name-one-holder + request-family 33. Ablation (switch reverted in place in objectql src, rebuilt): 25 red of 348 in objectql's six family and picklist files; core package-scoped-resolution 1 red; metadata match-endpoint 16 red. F2 boot warning removed: its pin red. Ruling A refusal removed: both order pins red, both CONTROLs green. Re-run after the second main merge (fea54c505d to a9779e0f16, 5 commits from main incl. #32357's objectql and metadata-protocol plugin edits): objectql 12336, metadata-protocol 21, runtime 42, dogfood families 33, all green.",
      "gates": "dispatch-gates --ran: 83 derived families accounted for, 83 run, 0 NOT-MEASURED, all exit 0 (record /mnt/project-files/epic-31527/card-31700/gates-ran.txt). pnpm lint exit 0; typecheck exit 0 for core, metadata, objectql, metadata-protocol, runtime, cli, dogfood (cli and dogfood at NODE_OPTIONS=--max-old-space-size=7168; the default heap ran out of memory before judging). PR-context guards check-closing-target-claim, check-single-claim-paths, check-governed-queue-guard, check-partof-closing-keyword answer NOT WIRED without a PR; the last passes locally on this PR body. CI check-runs on the PR: not yet reported at writing time.",
      "dogfood_battery": "fea54c505d (the tree merged with main before the final merge) · run directly with vitest, not under os-verify-lock, so there is no lock VERDICT line · Test Files 451 passed, 3 skipped (454) · Tests 3777 passed, 42 skipped (3819) · 0 failures · 1703 s",
      "mcp_calls": "3 — mcp__github__issue_read x1, mcp__github__pull_request_read x2 (reads only)",
      "api_writes": "11 — git push x9 (one per commit, origin claude/project-thread-du44hj), relay pr_create x1 (#32513, draft, no assignee, no review request, read back identical), this os-dev-report via post-stamped x1",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: install-local bridges a late package's objects to the metadata service, not its APIs, so a late-installed API endpoint is never served, with a fresh name too · evidence: the request-family dogfood late installs answer 404 on the new route · dedupe words: install-local late api endpoint not served",
        "class: b · reach: record validator sentence for an unserved picklist field reads 'which no loaded package declares' whatever the reason (outside-closure since E6, ambiguous now) · evidence: catalog in packages/spec, outside this card's surface · dedupe words: unserved picklist field validator sentence",
        "class: a · reach: skills/objectstack-automation/SKILL.md rule 3 says two packages shipping one function name boot with 'Bare-name conflict at boot'; between two namespaces the boot no longer warns · evidence: this PR's request-family pins · dedupe words: automation skill bare-name conflict parenthetical",
        "carrier: PR #32513 Acceptance notes and Skills-docs line · noted, not filed"
      ]
    }

    Report taken 2026-11-12T02:32Z.


    Generated by Claude Code

  20. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Epic ruling on contract review 6812847136 (FAIL at a9779e0f16, PR #32513)

    This seat rules each finding. The fix goes by class, not by instance: every path on the same seam is swept and pinned in this round.

    Governing text: #31527 red lines 2 and 3; ADR-0150 D2/D9; ruling 6811306558.

  21. added
    pm:blocking
    on Nov 12, 2026
  22. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-bill · session_01Utp6CbqzUZJRphdYbBQ16b
    os-dev-report

    {
      "issue": 31700,
      "status": "done",
      "round": "2 — epic seat ruling R2 (6812862622) on contract review 6812847136",
      "branch": "claude/project-thread-du44hj",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/32513",
      "head": "2386ae1a868bfb0a7833e4320cddae0564d80674",
      "session": "session_01Utp6CbqzUZJRphdYbBQ16b",
      "premise_still_valid": true,
      "summary": "R2-A: the picklist re-judge moved into SchemaRegistry (judgePicklistArrival): late install, upgrade, registerItem / registerPicklistExtension / registerObject after the seal, 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, naming each reference or writer and both holders. Hot reload is refused whole with one warning; every package keeps its previous definitions. R2-B: the store moves (a)-(f) for picklist, mapping and dataset are declared FROM -> TO with their Clause-② arm in the PR body and the changeset; (a) has a new pin; (b) and (e) were already iterated by the live-set loops over PACKAGE_SLOTTED_STORE_TYPES, and each of (a), (b), (e) was ablated for the three types alone. R2-C: ObjectQL#resolveFunction / resolveFunctionEntry refuse a name two namespaces' packages hold, 409 naming both; no production caller, so no product fork and no needs_decision. R2-D: Skills-docs line set to the owed follow-up; row 12 states the outside-closure widget_not_probed consequence; the describeUnresolvedPicklistReferences sentence is in the changeset; build-probe count corrected (7 in the touched file, 21 across the three build-probes files).",
      "size": "2163 changed lines (1876+ / 287-), 32 files, against main at 9009270cc1: under the 2,200 report line and the 3,000 cap",
      "tests": "On main with #32214 merged: core 3428/3428; metadata 1526/1526; metadata-protocol 22743 passed, 36 skipped; objectql 12401 (4 engine.test.ts red from the shared registry double, fixed by modelling admitPicklistArrival, then its 19 files 399/399); runtime full 11225 passed, 19 skipped; cli stored-references 12; dogfood bare-name family files (data, request, flow, AI) 62/62. After merging main again (11 commits incl. #32468 and #32474; full build with declarations exit 0): objectql 12411/12411, metadata-protocol 22743, runtime 11242 passed 19 skipped, dogfood families 62/62, cli 12; one further main commit (#32515) merged clean, touching none of this PR's files. CI red at a9779e0f16 (Test Core 3/8, runtime packages-publish-drafts-probe-caller-context.test.ts, checked.widgets 0): reproduced locally on the old file, the double had no registry for the publishing package's dataset resolution; fixed in the double, which now also pins the read at the publishing package's address",
      "ablations": "R2-A, one each, in place, restored: A1 own-name shortcut back -> self-extension pin red; A2 no disagreement judge -> install, upgrade and extend-seam pins red; A3 registerItem seam off, A4 registerPicklistExtension seam off, A5 registerObject seam off -> each its own pin red; A6 reload judge off -> reload pin red. R2-C: C1 bare function judge off -> its pin red. R2-B (metadata match-endpoint + loaders, 633 tests, the three types exempted alone): B-a storeRemovalKeys package arm -> 24 red incl. the new (a) pin x3; B-b unregisterPackage slot arm -> 3 red; B-e1 rollback refuseSeveralSlots -> 6 red; B-e2 DatabaseLoader save/delete slot arms -> 40+ red. CONTROLs green throughout. Record: /mnt/project-files/epic-31527/card-31700/round2-ablations.md",
      "gates": "dispatch-gates --ran: 85 derived families, 85 run, 0 NOT-MEASURED, all exit 0 (record /mnt/project-files/epic-31527/card-31700/gates-ran-r2.txt); pnpm lint exit 0; typecheck exit 0 for core, metadata, objectql, metadata-protocol, runtime, cli, dogfood. Measured on the way: check:dts-closure and check:dual-build-cjs-loads answered 1 on a tree built with OS_SKIP_DTS=1 and 0 after a full build with declarations; check:test-source-alias named the edited probe test, which now pays the @objectstack/metadata load at collection. The pre-push check:commit-card-trailers refused 4 unpublished commits whose co-author trailer named a model; reworded to the model-free pair before the push (tree byte-identical), no force-push",
      "mcp_calls": "3 this round — mcp__github__issue_read x1 (PR comments), mcp__github__get_job_logs x2 (reads only)",
      "api_writes": "3 this round — git push x1 (fast-forward a9779e0f16..2386ae1a86), relay issue_patch x1 (PR #32513 body, read back identical, 23522 bytes), this os-dev-report via post-stamped x1",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: MetadataManager.unregister announces every call: a removal that takes nothing (a non-holder's packageId, or an absent name) still notifies watchers 'deleted' by name and publishes the realtime 'deleted' naming the called package where the type has one; a watcher dropping by name drops an item still served · evidence: the (a) pin's measured announcement, metadata-manager-match-endpoint.test.ts · dedupe words: unregister announces removal that removed nothing",
        "carried from round 1, unchanged: install-local late API endpoint not served; unserved picklist field validator sentence; skills/objectstack-automation/SKILL.md bare-name conflict parenthetical (now the PR's owed Skills-docs follow-up)"
      ]
    }

    Report taken 2026-11-12T05:08Z.


    Generated by Claude Code

  23. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Epic ruling on contract review 6815437823 (FAIL at 2386ae1a86, PR #32513)

    Round 2 closed R2-A, R2-B and R2-D on every named path. Two findings remain, and both sit on a seam round 2 did not sweep. As before, the fix goes by class: sweep every path on the same seam in this round and pin each one.

    • R3-A (must-fix 1, class: every registration that fills a package's slot).
      • registry.ts:8186 skips the re-judge for a tenant-authored list (!isTenantAuthored(item)). A tenant-authored list registered under another namespace's package then becomes a second holder and silently orphans an installed extension. main refused this with 422.
      • Judge every registration that fills a package's slot, whatever its provenance. An overlay of the holder's own list adds no holder and passes.
      • Sweep the other slot-filling doors for the same provenance shortcut (registerItem for picklist, mapping and dataset, registerApp, hot reload, the install door). Pin each one, with a one-holder overlay CONTROL.
    • R3-B (must-fix 2, class: every production caller of a read that R2-C's 409 now refuses).
      • app-artifact-handlers.ts:548 (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) takes the bare resolveFunctionEntry(name). For a name two packages hold, that read now throws, so the re-bind's teardown aborts and the moved function stays held by both owners.
      • Read the owner's own entry for a name several packages hold. Add a runtime pin (two-holder name kept by the owner, one function moved off, CONTROL with one holder).
      • Grep every production caller of each bare read that round 2 turned into a 409 (functions, hooks, and any other type R2-C touched), not just this one. List them in the report with what each one now does.
      • Correct row 19 ("no production caller") in the PR body and the changeset.
      • If keeping the bare read for a multi-holder name turns out to be a product choice rather than a fix, stop and report needs_decision to this seat. Do not pick one.
    • R3-C (should-fix, done in this round).
      • A refused hot reload still ingests the payload's objects (plugin.ts:1435-1436). Skip the ingest on refusal, so "refused whole" in row 18 is true, and pin it.
      • Row 12 moves a one-holder answer. Give it its narrowing arm.
      • Add one changeset line: bind-database-loader-row-packages now also binds picklist, mapping and dataset rows.
      • Rewrite the PR body line to Skills-docs: follow-up #32522.
    • Not this PR's move. A stored row stamped with another namespace's _packageId and registered with no package argument is an unjudged second holder on main too. Leave it out of this PR; the seat will measure it and file a card if it holds.
    • Unchanged. Clause-②: yes (narrowing) and Metadata-protocol: narrowed stand. Keep the diff under ~2200 changed lines; if R3 pushes past that, report before splitting.
    • Landing order stands. After objectql: narrow the phase-1 one-holder refusal from environment to namespace for flow (ADR-0150 child B, flow family) #31696 PR-3 lands, merge main (never rebase), push the new head, and ask for a delta review.
  24. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-bill · session_01Utp6CbqzUZJRphdYbBQ16b
    os-dev-report

    {
      "issue": 31700,
      "status": "done",
      "round": "3 — epic seat ruling R3 (6815473607) on contract review 6815437823 and red-line read 6815445511",
      "branch": "claude/project-thread-du44hj",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/32513",
      "head": "caf6941d896ed4f833d24f15b5ecf995ca45be47",
      "session": "session_01Utp6CbqzUZJRphdYbBQ16b",
      "premise_still_valid": true,
      "summary": "R3-A (class: every registration that fills a package's slot): registerItem's picklist re-judge no longer skips a tenant-authored body under a package (registry.ts, the `!isTenantAuthored(item)` arm removed); the holder's own overlay adds no holder and passes. Swept for the same provenance shortcut: the one-holder item seam (picklist, mapping, dataset), the install door, ObjectQL#registerApp and hot reload had none (the manifest collectors filter no provenance) and are now pinned for it, each with an own-overlay CONTROL. registerObject's seam keeps excluding a tenant-authored object layer: it fills no package's slot and writes no package's reference (picklistReferrerOf resolves it as the environment's). R3-B (class: every production caller of a read R2-C turned into a 409): the bare reads R2-C touched are ObjectQL#resolveFunction and #resolveFunctionEntry; the repo-wide grep finds one production caller, runtime releaseMovedFunctions (#32468), which 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 re-bind's teardown no longer aborts and the moved function leaves its previous owner. No other caller: the flow script and screen nodes call AutomationEngine.resolveFunction -> functionResolverOf -> resolvePackageScopedFunction over functionHoldersOf (caller-scoped, refusing ambiguity since #32073), and the hook binder reads functionHoldersOf(name).packageItem(own package). Hooks have no bare read. Row 19 corrected in the body and the changeset. No product fork: the bare read is not kept for a multi-holder name, so no needs_decision. R3-C: a hot reload the re-judge refused no longer ingests the payload's objects (refreshReloadedPackages answers 'refused'); row 12 carries its narrowing arm (body column, changeset Clause-② sentence); the changeset states migrateDatabaseLoaderRowPackages now also binds picklist, mapping and dataset rows; the body reads `Skills-docs: follow-up #32522`. New body row 20 declares the R3-A move FROM 422 NAMESPACE_CONFLICT TO judged as any list of the package; the changeset gains '@objectstack/runtime': patch.",
      "size": "2283 changed lines (1980+ / 303-), 35 files, against main at ac7b9d80c7: over the 2,200 line, reported before the push, and the seat accepted it unsplit; under the 3,000 cap",
      "tests": "First pass (main with #32544, #32546, #32547, #32555 merged; full build with declarations exit 0 after fixing one noImplicitReturns path the round-3 reload answer opened): objectql 12417/12417, runtime 11243 passed 19 skipped, metadata 1532, metadata-protocol 22743 passed 36 skipped, core 3428, dogfood bare-name families 62/62, cli stored-references 12. CI red at 2386ae1a86 (Test Core 7/8) traced: service-automation flow-function-package-scope.test.ts, #32073's precondition, still read the bare function map's last registration for a name two packages hold, the answer R2-C moved (row 19); reproduced locally (2 red of 3777), the precondition now asserts the refusal; that shard's ten packages all green locally (service-automation 3777, plugin-sharing 1510, service-settings 1461, plugin-webhooks 262, service-package 135, plugin-hono-server 489, types 886, service-push 74, connector-app-docusign 28; cli's slice green in CI). Main merged twice more, clean (7 commits incl. #32548, #32567, #32524, #32533; overlapping core package-scoped-resolution, metadata-manager, package-slotted-store, the match-endpoint test, runtime app-artifact-handlers, objectql engine): full rebuild, then core 3440, metadata 1583, objectql 12423/12423, runtime 11256 passed 19 skipped, metadata-protocol 22743 passed 36 skipped, service-automation 3785, dogfood families 62/62, cli 12. Two docs-only main commits (#32593, #32594) merged last, touching none of this PR's files.",
      "ablations": "Each in place, restored, objectql registry-bare-name-one-holder.test.ts (81 tests): A1 registerItem picklist provenance shortcut back -> 1 red (the item-seam pin's tenant-authored case); A2 a provenance shortcut added to the one-holder item seam -> 3 red (the new item-seam pin x picklist, mapping, dataset); A3 the arrival judge skipping tenant-authored lists -> 4 red (the install door, registerApp and hot reload door pins, and the item-seam pin); C1 a refused reload still ingesting objects -> 1 red (the reload pin). R3-B: the runtime pin's two-holder case red before the fix ('[AppPlugin] Failed to tear down the previous handler set' logged), its one-holder CONTROL green before and after. CONTROLs green throughout.",
      "gates": "dispatch-gates --ran on the changed files: the 85 round-2 families plus 3 the new automation test file derives (check-tenant-audit-census and its self-test, check:package-naming), all exit 0; typecheck for core, metadata, objectql, metadata-protocol, runtime, cli, dogfood, service-automation exit 0; pnpm lint exit 0: 97 commands, all exit 0 on the final code tree (record /mnt/project-files/epic-31527/card-31700/gates-ran-r3.txt). Measured on the way: the first declaration build failed TS7030 in refreshReloadedPackages (fixed: every path answers explicitly), and check:test-typecheck named two errors in the new item-seam pin's helper (fixed by typing it; no ledger entry). check:partof-closing-keyword exit 0 on the new body.",
      "mcp_calls": "9 this round, reads only: mcp__github__issue_read x3 (card comments), mcp__github__get_job_logs x4, mcp__github__get_check_run x2; plus subscribe_pr_activity x1 (claude-code-remote, re-reading the PR event rules)",
      "api_writes": "3 this round: git push x1 (fast-forward 2386ae1a86..caf6941d89), relay issue_patch x1 (PR #32513 body, read back identical, 30536 bytes), this os-dev-report via post-stamped x1",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "measured, not a move this PR declares beyond the body note: after a re-bind that keeps a function name several packages hold, the engine's bare function map holds the owner's entry where #32468 put back what it held before; no reader sees it while two packages hold the name (every bare read is refused), and once one leaves the bare map answers as after any unregisterFunctionsByPackage on main (the last registration, or nothing if that was the leaver's) · evidence: releaseMovedFunctions, engine-hooks-and-functions.ts unregisterFunctionsByPackage · dedupe words: bare function map lossy after unregister",
        "per seat ruling R3, left out of this PR: a stored row stamped with another namespace's _packageId and registered with no package argument is an unjudged second holder, on main too; the seat measures it",
        "carried from rounds 1-2, unchanged: MetadataManager.unregister announces every call; install-local late API endpoint not served; unserved picklist field validator sentence"
      ]
    }

    Report taken 2026-11-12T08:21Z.


    Generated by Claude Code

  25. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-bill · session_01Utp6CbqzUZJRphdYbBQ16b
    os-dev-report

    {
      "issue": 31700,
      "status": "done",
      "round": "3, should-fix: contract review 6819064294 (PASS) and red-line read 6819078818 (PASS) at caf6941d89",
      "branch": "claude/project-thread-du44hj",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/32513",
      "head": "3ddcf25f666261570f331d81bae1c346bfd842a9",
      "session": "session_01Utp6CbqzUZJRphdYbBQ16b",
      "premise_still_valid": true,
      "summary": "Row 19's FROM cell now reads what main answered: the last registration, through direct ObjectQL#registerFunction under two package owners (pinned by #32073's precondition); unreachable through a package bind. The function sentences say 'two packages' where the bare read refuses any two package holders (the changeset's Clause-② sentence and row, the body's Clause-② sentence, row 19, the What-changes bullet and the Chinese summary). Two pins added. Row 19: the bare read refuses a same-namespace pair registered directly through ObjectQL#registerFunction, with no bind to judge it, naming both; CONTROL: one package registering a name directly answers as before. Row 20 (the review's nit): the item seam admits a tenant-authored body under an installed package of another namespace, as it admits any, for picklist, mapping and dataset; holders become alpha and beta and each package reads its own item. The follow-up the seat asked for is filed as #32639 and nested under #31700: the bare function map loses a name after the last-registered holder leaves. No source file changed this round.",
      "size": "2309 changed lines (2006+ / 303-), 35 files, against main at ac7b9d80c7, under the 3,000 cap",
      "tests": "objectql registry-bare-name-one-holder-request-family.test.ts 56/56; registry-bare-name-one-holder.test.ts 84/84. CI red at caf6941d89 (Test Core 1/8): @objectstack/mcp src/mcp-file-tools.test.ts ran out of its CPU budget on the shared runner. This PR touches nothing under packages/mcp. Shard 1's whole-package leg was run locally as CI runs it (pnpm turbo run test test:repo over its ten packages, --concurrency=4, --continue=dependencies-successful): 70/70 tasks, mcp-file-tools.test.ts 35/35. The CLI slice was green in CI (2671 passed). This push re-runs the shard.",
      "ablations": "none new: no source line changed; both new cases are pins of answers the round-3 code already gives",
      "gates": "dispatch-gates --commands on the three changed files: 60 commands, plus objectql pnpm typecheck (with check:test-typecheck) and pnpm lint: 62 run, all exit 0. check:partof-closing-keyword on the new body: exit 0.",
      "mcp_calls": "8 since report 6818542238, reads only: mcp__github__get_job_logs x2, mcp__github__get_check_run x1, mcp__github__actions_get x1 (artifact URL; the blob download is blocked by this container's proxy), mcp__github__issue_read x3 (PR comments, #32568 for the card format, #31700's sub-issues read back), mcp__github__pull_request_read x1 (#32507 state)",
      "api_writes": "5 since report 6818542238: issue-create via the relay x1 (#32639, read back identical), relay sub_issue_add x1 (#32639 under #31700, read back), git push x1 (fast-forward caf6941d89..3ddcf25f66), relay issue_patch x1 (PR #32513 body, 32762 bytes, read back identical), this os-dev-report via post-stamped x1",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "filed as #32639 (nested under #31700, lands after it): after the last-registered of two holders leaves, resolveFunctionEntry answers nothing although the other package still holds the name",
        "carried, per seat ruling R3: a stored row stamped with another namespace's _packageId and registered with no package argument is an unjudged second holder, on main too"
      ],
      "next": "after #32507 lands: merge origin/main (never rebase; the seat's trial merge expects conflicts in package-scoped-resolution.ts, metadata-manager-match-endpoint.test.ts, package-slotted-store.ts, registry-bare-name-one-holder-ai-family.test.ts), re-run the overlapping suites, push, and the seat reads the merge before landing"
    }

    Report taken 2026-11-12T09:20Z.

  26. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-bill · session_01Utp6CbqzUZJRphdYbBQ16b
    os-dev-report

    {
      "issue": 31700,
      "status": "done",
      "round": "landing merge: main merged after #31696 PR-3 (#32507) landed, per the seat's landing order",
      "branch": "claude/project-thread-du44hj",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/32513",
      "head": "f74084f608ea868780a3410ed8838cfb35681059",
      "session": "session_01Utp6CbqzUZJRphdYbBQ16b",
      "premise_still_valid": true,
      "summary": "Merged origin/main at 9cd5fc1612 (no rebase): #32507 (b96b875791), #32551 and 9 other commits. Five conflicts, each resolved keeping both sides: flow and the picklist family both join NAMESPACE_SCOPED_BARE_NAME_TYPES (core package-scoped-resolution.ts) and PACKAGE_SLOTTED_STORE_TYPES (metadata package-slotted-store.ts) in landing order with their docs; the store pin (metadata-manager-match-endpoint.test.ts) and the switch pin (registry-bare-name-one-holder-ai-family.test.ts) list both; runtime meta-qualified-item-read.test.ts keeps both new describes (this PR's dataset probe, #32551's bare action read). The changeset no longer lists flow among the types that keep one holder per deployment. #32649 (on main since 09:23Z) refuses adr-0087 not-required (no-migration-prescription) on a changeset declaring Metadata-protocol: narrowed, so the narrowing is now registered: semantic entry picklist-family-names-per-namespace (packages/spec/src/migrations/entries/semantic/18.picklist-family-names-per-namespace.ts, data only), the changeset marked adr-0087: registered, and a spec patch changeset for the entry. No source line of this PR moved.",
      "size": "2366 changed lines (2064+ / 302-), 37 files, against main at 9cd5fc1612, under the 3,000 cap",
      "tests": "On the merged tree, after a full install and build (119/119): core 3440, metadata 1684, objectql 12441/12441, runtime 11387 passed 19 skipped, metadata-protocol 22743 passed 36 skipped, service-automation 3787, spec src/migrations 198, dogfood bare-name and flow families (5 files) 72/72, cli stored-references 12. Two first runs read a dist a parallel gate was rebuilding (Cannot find package '@objectstack/spec/data' in two service-automation files and the dogfood files, and a heap-less spec check:test-typecheck); after a rebuild the same files ran green (service-automation 10/10, dogfood 72/72) and spec check:generated exit 0.",
      "ablations": "none: no source line moved this round",
      "gates": "check-adr-0087-registration --base origin/main exit 0 (it would refuse the not-required marker; measured on #32507's head merged with main: exit 1). dispatch-gates --commands on the 37 changed files: 106 commands, plus 9 typechecks (spec, core, metadata, objectql, metadata-protocol, runtime, cli, dogfood, service-automation) and pnpm lint: 116 run, all exit 0. check:partof-closing-keyword on the new body: exit 0.",
      "mcp_calls": "0 since report 6819702633: the merge was found by git fetch",
      "api_writes": "3 since report 6819702633: git push x1 (fast-forward 3ddcf25f66..f74084f608), relay issue_patch x1 (PR #32513 body, 34877 bytes, read back identical), this os-dev-report via post-stamped x1",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "next": "seat reads the merge and lands on green"
    }

    Report taken 2026-11-12T11:22Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathdomain:serverenhancementpm:blockingpm:dispatchedpriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions