Skip to content

metadata-protocol: the bare member read ignores a pair override declared for an addition package's own locale member #32849

Closed

Description

@objectstack-fleet

domain:server#1 · os-sales · session_01L6bhgVaKJ9TPfXPRhdqx3e

Follow-up of #32561, from its card thread's out-of-scope observation on the merged tree claude/project-thread-04ua2f@8887a5c8c (base and head answer the same, so not caused by #32561's change). The epic seat called it a correctness issue, not a nit, and put it on the queue under release ruling 6836538545. Same family as #32561; it runs after #32561 and #32606, one at a time.

Blocked-by: #32561, #32606

维护者速读

Do

  1. Measure on main after metadata-protocol: the exact read binds an undeclared App-pair row to X even when an addition package ships the same bundle member, where the registry binds it to no package (ADR-0150 D4, red line 2) #32561 merges, with the real save door and publish: install Z (ships fr-FR), save an App pair row that declares an override of Z's fr-FR, then read bare ?member=fr-FR and ?package=Z.
  2. Serve the declared override on every exit that serves Z's member; pin both install orders; one ablation per negative pin.

Clause-②: expected no (narrowing) if the premise holds; the dev measures. Metadata-protocol: narrowed expected.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first-touch audit (pre-labeled card) · p2 confirmed · state → pm:blocked · 2026-11-13T08:17Z

    ⛔ Not a claim; the claim (if any) is unchanged.


    Generated by Claude Code

  3. added
    pm:blocked
    and removed
    pm:queue
    on Nov 13, 2026
  4. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: unblocked · pm:blocked → pm:queue · 2026-11-14T17:49Z

    ⛔ Not a claim.

    Area: E1 (ADR-0150 reads and registry)

    Both Blocked-by: edges are closed: #32561 closed 2026-11-13T22:06Z, and #32606 closed 2026-11-14T16:39Z. Grade stays p2. Step 1 of the card (measure on main with the real save door) is now possible. Re-measure before building, since #32606 may have changed the answer.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 14, 2026
  6. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: +lease:E1 · 2026-11-14T18:51Z

    ⛔ Not a claim; claim, grade and state unchanged.

    Area E1 under the area-lease pilot (#33059, table on #28677). The label replaces the text Area: line now that lease: labels exist. Decisions go area → domain:server#5.

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Claim: area S4 (lease E1), #33751 §2 area-lease mode, round 1
    Session: session_01QsR2jTkZnXtRhuEiiyidvJ
    Account: zhuangjianguo
    Branch: claude/area-E1-32849
    Worktree: objectstack-e1-32849
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/metadata-protocol/src/protocol-meta-item-face.ts and its tests, one changeset; no protocol.ts (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: default judgment tier, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack platform code (metadata-protocol bare member read) | none | a reader of an addition package locale member whose pair override is declared
    Thread-read: 6882528257
    Premise: holds (re-measured at origin/main by the dev before any edit; premise_still_valid: false is a valid result)
    Serial constraints cleared: In flight in E1: #33563/#33564/#33486 fold (protocol-package-commits.ts), #32622+#32914 (protocol-meta-layered-reads.ts), #32620 (protocol-registry-hydration.ts): file-disjoint. protocol.ts not touched. server#6 files not touched.

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  9. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
    os-dev-report

    {
      "issue": 32849,
      "status": "done",
      "branch": "claude/area-E1-32849",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/33815",
      "head_sha": "5fdbd7c617de587ea9d9e449e55dac086d012ff2",
      "session": "session_01QsR2jTkZnXtRhuEiiyidvJ",
      "premise_still_valid": true,
      "summary": "Premise held on origin/main a557fa38 (hypothesis 1 confirmed): with an App pair row declaring overrides.package Z for Z's own fr-FR (X ships en-US), bare ?member=fr-FR and the bare execution read served `zeta fr-FR` in both install orders, while ?package=Z, Z's list, listServedOverrides(Z) and the registry slot at Z served `pair fr-FR`. Cause: the bare read's content package (packagelessContentPackage over shippers {X,Z} and row bindings {PAIR}) answers null, so the declared override is never a candidate. Fix (hypothesis 2 confirmed, item-face only, no protocol.ts/registry.ts): readMetaItemFace gains declaredMemberOverrideAddressOf, which takes the bare member read at the one enabled shipper S of the member when 2+ packages ship the name, no environment item exists, it is not a strict draft read, and an active row of the member is S's served override (isServedOverrideRowOf, the one spelling); rows go through the face's readItemActiveRows wrapper so readMetaItem does not re-read them. Ruling text binding this: card Do 2 \"Serve the declared override on every exit that serves Z's member; pin both install orders; one ablation per negative pin.\" and 维护者速读 \"声明了的覆盖应当被服务(ADR-0150 D4)\"; served-override.ts (ADR-0146 D8 item 2): \"Every read that serves X's name — the read naming no package, the read naming X, the layered read's `effective` ... — serves that one document over X's\"; PR #33251 Acceptance notes left exactly this bare-read path to this card. NOT covered: the bare LAYERED read (see open_questions) — so `Fixes #32849` in the PR body is too strong.",
      "tests": "Pins in packages/objectql/src/package-scoped-exact-qualifier.test.ts (#32561 block, real SchemaRegistry, beside #32606): [#32849] fix pin x2 orders (bare served + bare execution read = `pair fr-FR` stamped Z, envelope Z; CONTROL ?package=Z unchanged, bare en-US = X's); CONTROL no-override x2 (no row / undeclared pair row: `zeta fr-FR`); CONTROL row declares X: 409 RESOURCE_CONFLICT naming X and Z. `-t 32849`: Tests 5 passed | 308 skipped. Ablations via scripts/ablation-replace.mjs, metadata-protocol rebuilt, ablation-dist-preflight marker present in dist/index.{js,cjs}, restore blob ec8a3e1c == HEAD, git diff HEAD empty, rebuilt, preflight --absent ok, rerun 5 passed: A1 (arm call -> undefined): 2 failed, `bare ?member=fr-FR: expected [ 'zeta fr-FR', 'com.acme.zeta', …(1) ] to deeply equal [ 'pair fr-FR', 'com.acme.zeta', …(1) ]`, 3 CONTROLs green. A2 (isServedOverrideRowOf -> true): 1 failed, the X-declared CONTROL `the read answered; a refusal was expected`, 4 green (the no-override CONTROLs are unchanged-outcome pins: re-addressed to Z they still answer Z's own). Suites after merge, head 5fdbd7c6: metadata-protocol typecheck 0, test 22883 passed | 43 skipped; objectql typecheck 0, test 13141 passed. Direct dependents on 89dd62d8 (pre-merge; incoming main touched none of their behaviour paths beyond objectql/metadata-protocol, re-run above): typecheck 0 for all; tests client 812, cloud-connection 1217, rest 8442 (+332 skipped), runtime 10874 (+19 skipped), plugin-approvals 1652, plugin-email 1018, plugin-security 6681 (+45 skipped), service-automation 3976, service-messaging 966, service-package 144, cli --project unit 6000; all exit 0. cli integration tier declared to CI.",
      "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack, 63 families (same list on 89dd62d8 and 5fdbd7c6). Run 1 (89dd62d8): 59 exit 0, 3 exit 3 PREREQUISITE NOT MET (check-plugin-teardown-shape --self-test: shallow clone; check:dual-build-cjs-loads and check:lean-entry-closure: no dist) -> after `git fetch --unshallow` + whole-tree `pnpm turbo run build --concurrency=2` (120/120) all three exit 0; check-closing-keyword-parity (body) exit 0 with GITHUB_EVENT_PATH. `--ran`: 63 derived, 63 run, 0 NOT-MEASURED, 0 UNRUN. Run 2 on merged head 5fdbd7c6: 61 exit 0, check:type-check-debt exit 3 (os-verify-lock queue-timeout exit 99 behind issue-32622's deps.sh, twice) = NOT MEASURED locally on 5fdbd7c6 (exit 0 on 89dd62d8). Body gates: check-changeset-no-major 0, check-adr-0087-registration 0, check-closing-keyword-parity 0, check-partof-closing-keyword (PR_BODY) 0. pnpm lint exit 0 (and eslint on the two touched files 0). PR #33815 check-runs on 5fdbd7c6: all non-skipped success (Build Core, Test Core 1-8 + Test Core, TypeScript Type Check + its four lanes incl. Type Check · debt ledger, Lint & Repo Gates + its lanes, Lint · ESLint, Check Changeset, Dogfood Regression Gate, Governed Surface Queue Guard, Test UI, Live E2E UI, PR-body guards, Check PR Size), 16 skipped.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (CI Dogfood Regression Gate: success)",
      "mcp_calls": "0",
      "api_writes": "2 — pr_create via fleet-write relay (POST /repos/objectstack-ai/objectstack/dispatches -> PR #33815, read-back byte-identical 6579/6579, draft true, no labels/assignees); this os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/32849/comments). git push x4 not counted (not REST).",
      "files_changed": ["packages/metadata-protocol/src/protocol-meta-item-face.ts", "packages/objectql/src/package-scoped-exact-qualifier.test.ts", ".changeset/32849-bare-member-read-declared-override.md"],
      "line_budget": "125 changed lines (+124/-1) vs 3000 human-merge threshold; no skills/** touched",
      "deviations": [
        "Pins live in packages/objectql/src/package-scoped-exact-qualifier.test.ts, read as 'its tests': it is the real-SchemaRegistry harness that already holds this arrangement (#32561/#32606 block); no metadata-protocol test exercises readMetaItemFace with a real registry. If the PM meant metadata-protocol tests only, this is outside the stated surface.",
        "Clause-② / Metadata-protocol kept verbatim from the claim (no / none), in PR body and changeset; the card expected `no (narrowing)` / `narrowed`, and PR #33251 declared an analogous served-answer move `semantic` + BREAKING (ADR-0087 registered). Measured: nothing refused becomes served or vice versa, the authorable surface does not change; only the bare read's served content moves from Z's shipped member to the declared override. Classification left to the seat.",
        "Measured through the protocol harness with stored rows + hydration (as #32606 did), not through the HTTP save door the card's Do 1 names.",
        "Trailers follow the common order and AGENTS.md (model-free pair `Co-Authored-By: Claude` + `Claude-Session`), not the harness reminder's model-named trailer.",
        "Common order vs os-dev.md conflict: common order asks dependents' suites and full `pnpm lint`; os-dev.md hands these to CI. Ran them (all green); noted, not chosen silently.",
        "`git fetch --unshallow origin main` run on the shared .git (additive) to reach a self-test's pinned fixture.",
        "check:type-check-debt NOT MEASURED locally on the merged head (lock queue-timeout); CI 'Type Check · debt ledger' success on the same head."
      ],
      "open_questions": [
        {
          "question": "The bare LAYERED read still drops the declared override: measured on 5fdbd7c6 (temporary probe, not committed), getMetaItemLayered({ type: email_template, name: welcome, member: fr-FR }) answers effective `zeta fr-FR` while the same read with packageId Z answers effective `pair fr-FR`. The card says every exit that serves Z's member; that exit lives in protocol-meta-layered-reads.ts (outside this order's surface, with #32622+#32914 in flight on it). `/published` bare was not measured. PR #33815 says `Fixes #32849`, which would close the card with this exit open; dev may not PATCH the body.",
          "options": [
            "A — seat edits PR #33815's body to `Part of #32849` (naming the layered exit as the remaining half) and the layered exit follows as its own round after #32622/#32914 land, reusing declaredMemberOverrideAddressOf (export it from the face module).",
            "B — widen this PR's surface to protocol-meta-layered-reads.ts now and keep `Fixes`.",
            "C — keep `Fixes #32849` and file the layered exit as a new card."
          ],
          "recommendation": "A. Axes: correctness — A keeps the card open until every exit is fixed, C loses the card's own acceptance criterion into a new card; contract/red lines — none of the options loosens resolution, B collides with the in-flight #32622/#32914 holders of that file (serial-constraint breach); cost — A and C are one small follow-up (re-address the layered read the same way, ~10 lines + pins), B adds a merge-conflict risk now; reversibility — A is a body edit by the seat, fully reversible. Maintainer decision not required; seat-level."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: public door — bare `GET /meta/email_template/welcome?layers=true&member=fr-FR` path (getMetaItemLayered with no package) answers effective `zeta fr-FR` while `?package=Z` answers the declared override `pair fr-FR` (measured via protocol on 5fdbd7c6) · Seam: spec:overrides.package → runtime:protocol-meta-layered-reads.ts getMetaItemLayered (bare) · contract: ADR-0146 D8 item 2 ('the layered read's `effective` ... serves that one document') and card #32849 Do 2 · same card's own scope — recommend carrying it under #32849 (open_questions A), not a new card · dedupe words: layered effective declared override addition member, bare layers member override, getMetaItemLayered pair override"
      ],
      "loose_ends": [
        "Layered bare read exit (above).",
        "Bare read with no member selector of a name whose canonical member an addition ships with a declared override: not measured.",
        "`/published` bare exit with member: not measured."
      ]
    }
  10. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Claim addendum (the existing claim 6892351144 stands; this is its second PR): the bare LAYERED read's effective exit, the one exit PR #33815 left open.
    Branch: claude/area-E1-32849-layered, started on claude/area-E1-32622 (PR #33885, head e516f35). This is a same-series card per the 14:45Z rule: it reuses declaredMemberOverrideAddressOf from that branch and rebases onto main once #33885 merges.
    Worktree: objectstack-e1-32849-layered
    File surface: packages/metadata-protocol/src/protocol-meta-layered-reads.ts (the effective exit serves the declared pair override of an addition package's own member), a test pin per AGENTS.md (the shared harness file when one exists, otherwise a file named for 32849), one changeset.
    Clause-②: no
    Metadata-protocol: none
    Thread-read: none
    Premise: the dev re-measures on the #33885 branch before any edit. Bare getMetaItemLayered / GET /meta/:type/:name/layers?member=M, where an App pair declares an override of addition package Z's own member M: effective should serve the override, as the member and execution reads do since #33815.
    Pre-claim lane: domain:server area S4 (E1) because the fix is in packages/metadata-protocol/src/protocol-meta-layered-reads.ts.
    Pre-claim deps: #32561 and #32606 (the card's Blocked-by) are closed. PR #33815 (first half) merged. PR #33885 (#32622, same file family) is open: this starts on its branch, and merge-tree is checked before the push.
    Prior rulings read: ADR-0150 D4 (a declared override is served). The review-b ruling on PR #33815 (6894129336): making an existing declaration (overrides.package) take effect on one more read exit is Metadata-protocol: none, patch; semantic (#33251) is when authors' existing rows lose service. That reading is reused here for the third exit. No ⛔ line or test pins the layered effective exit to ignore a declared override.

  11. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
    os-dev-report

    {
      "issue": 32849,
      "status": "done",
      "branch": "claude/area-E1-32849-layered",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34169",
      "head_sha": "f23319f995a154400f53c6e002b047ec80124378",
      "session": "session_01QsR2jTkZnXtRhuEiiyidvJ",
      "premise_still_valid": true,
      "summary": "H1 confirmed on claude/area-E1-32622 e516f353 (temporary probe in the real-SchemaRegistry harness, not committed): with an App pair row declaring overrides.package Z for Z's own fr-FR (X ships en-US), bare getMetaItemLayered({ member: fr-FR }) answered code/effective `zeta fr-FR`, overlay null, in both install orders, while ?package=Z answered effective `pair fr-FR` and the plain bare read `pair fr-FR`; the door's step 1c (packagelessLayeredReadRefusal) refused nothing. H2 confirmed: the fix in protocol-meta-layered-reads.ts reuses declaredMemberOverrideAddressOf (exported from protocol-meta-item-face.ts, one keyword + one docblock sentence) — when servedAddressJudgment answers neither served nor refused, the layered read takes the member's one enabled shipper's address, so its layers equal ?package=Z's. H3 confirmed: ?package=Z was already correct and is unchanged; the undeclared cases, the X-declared 409, X's en-US are unchanged. One deliberate refinement found by measurement: the withDraft draft layer stays at strictDraftReadAddress (re-addressing it would have turned the pair's pending draft, which the strict draft read serves, into null). No accepted request becomes refused (no narrowing arm). PR body says `Part of #32849`: the read naming NO member still drops a declared override of an addition's canonical member (measured, see loose_ends).",
      "tests": "New top-level describe in packages/objectql/src/package-scoped-exact-qualifier.test.ts ('[#32849] the bare layered read serves the pair's declared override ...', 6 tests): fix pin x2 orders (bare layers == ?package=Z layers ['zeta fr-FR','pair fr-FR','pair fr-FR',Z], effective deep-equals ?package=Z's, step 1c undefined, effective == plain bare read, X en-US unchanged); draft pin (draft layer == strict draft read `pair fr-FR draft`; ?package=Z none); CONTROL no override x2 (no row / undeclared row: Z's own, no overlay); CONTROL row declares X: 409 RESOURCE_CONFLICT naming X,Z. Ablations via scripts/ablation-replace.mjs, metadata-protocol rebuilt, ablation-dist-preflight marker present in 2 dist files, auto-restore blob == HEAD + git diff HEAD empty, rebuilt, marker absent from all 24 dist files: A1 (arm call -> undefined) 3 failed | 3 passed: both fix pins `expected [ 'zeta fr-FR', null, …(2) ] to deeply equal [ 'zeta fr-FR', 'pair fr-FR', …(2) ]` + draft pin `expected [ 'zeta fr-FR', 'pair fr-FR draft' ] to deeply equal [ 'pair fr-FR', 'pair fr-FR draft' ]`; A2 (isServedOverrideRowOf -> true) 2 failed | 4 passed: undeclared CONTROL `expected [ 'zeta fr-FR', 'pair fr-FR', …(2) ] to deeply equal [ 'zeta fr-FR', null, …(2) ]` + X-declared CONTROL `the read answered; a refusal was expected`; A4 (draft address moved with the arm) 1 failed | 5 passed: `expected [ 'pair fr-FR', null ] to deeply equal [ 'pair fr-FR', 'pair fr-FR draft' ]`. The no-row CONTROL is an unchanged-outcome pin by construction (re-addressed to Z it answers the same). Suites on 96a0a52e (all under os-verify-lock): metadata-protocol typecheck 0, test 22902 passed | 43 skipped; objectql typecheck 0, test 13252 passed; rest typecheck 0, test 8763 passed | 355 skipped; runtime typecheck 0, test 12414 passed | 19 skipped. On 24ecb579: metadata-protocol typecheck 0, test 22926 passed | 45 skipped; harness 321 passed. On final head f23319f9 (after merging 14 more main commits): closure rebuilt, metadata-protocol typecheck 0, test 22926 passed | 45 skipped; objectql typecheck 0; harness 321 passed.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on 24ecb579: 75 derived families, all exit 0 (captured before any pipe, per-gate logs). check:dual-build-cjs-loads first exit 3 PREREQUISITE NOT MET (no dist for 41 packages) -> 0 after whole-tree `pnpm turbo run build --concurrency=2` under the lock (VERDICT command-exit 0); check:type-check-debt interrupted once mid-run by the token outage, re-run exit 0. --ran: 75 derived, 75 run, 0 NOT-MEASURED, 0 UNRUN (+ pnpm lint outside the derivation). pnpm lint exit 0 on 24ecb579. Ratchet re-run on final head f23319f9: check:type-check-debt 0, check:type-check-coverage 0, check:nul-bytes 0. Body gates on the final body: check-changeset-no-major 0, check-adr-0087-registration 0 (also with GITHUB_EVENT_PATH payload), check-closing-keyword-parity 0 (GITHUB_EVENT_PATH), check-partof-closing-keyword 0 (PR_BODY). Declaration self-check `dispatch-gates --tier`: no path-derived mandate, Clause-② not reachable from paths, 403 changed lines vs 3000 — no mismatch with #33815's no/none/patch. merge-tree --write-tree --name-only of 24ecb579 vs every open PR sharing a file: #33995 (7b65fff0, item face + harness) exit 0, #33979 (999b09d9, protocol.ts) exit 0, #33885 (e57e7c05) exit 0, origin/main 27c2f1ea exit 0; earlier (880bcc4c vs main b4ce310b) exit 1 conflict in the harness (main's #33817 describe at the same spot), resolved by keeping both describes. PR #34169 check-runs: in_progress at report time (not awaited, per os-dev.md).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — pr_create via fleet-write relay (POST /repos/objectstack-ai/objectstack/dispatches, run 43771435954 success -> PR #34169, read-back 9575/9575 bytes identical, draft true, no assignees, no labels); this os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/32849/comments). git push not counted (not REST).",
      "files_changed": [
        "packages/metadata-protocol/src/protocol-meta-layered-reads.ts",
        "packages/metadata-protocol/src/protocol-meta-item-face.ts",
        "packages/objectql/src/package-scoped-exact-qualifier.test.ts",
        ".changeset/32849-bare-layered-read-declared-override.md"
      ],
      "line_budget": "this PR's own commits: 4 files, +126/-8; the PR diff vs main also shows #33885's commits until it merges (dispatch-gates: 408 changed lines incl. #33885) vs 3000 threshold; no skills/** touched",
      "deviations": [
        "protocol-meta-item-face.ts is touched (export keyword + one docblock sentence, no behaviour) to reuse declaredMemberOverrideAddressOf; the addendum's surface names only protocol-meta-layered-reads.ts, but the dispatch orders the reuse, which needs the export. No protocol.ts edit.",
        "Draft-layer refinement: the arm does not move the withDraft draft layer (stays at strictDraftReadAddress), because re-addressing it changed the answer (measured: pair draft -> null). Pinned and ablated (A4).",
        "Clause-② / Metadata-protocol kept verbatim from the addendum (no / none), in PR body and changeset; matches #33815's review-b reading.",
        "Ruling region: the card's Do 2 asks for both install orders and a CONTROL; the draft pin is single-order (draft layer independent of the arm's order); the fix pins and the no-override CONTROLs are parameterised only where order matters per #33815's footing.",
        "Measured through the protocol harness (real SchemaRegistry, stored + hydrated rows), not the HTTP save door; the door's step 1c pinned at the protocol, no rest door pin added (rest/runtime suites ran green).",
        "Merged origin/main twice (common order: right before pr_create) and origin/claude/area-E1-32622 once (#33885 head moved e516f353 -> e57e7c05); #33885 still open, so the PR diff shows its commits (stated in the body).",
        "Commit trailers follow the common order (model-free Co-Authored-By: Claude + Claude-Session), not the harness reminder's model-named trailer.",
        "Token outage (~19:20Z-21:51Z) interrupted the gate run at family 70 (check:type-check-debt); families 70-75 and pnpm lint re-run after resume, all exit 0."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #32849 · the read naming no member (plain bare getMetaItem, bare getMetaItemLayered, and /published which calls the layered read with no member) drops a declared override of an addition's canonical member: measured on e516f353 with X shipping fr-FR, Z shipping en-US and a pair row declaring Z for en-US — bare member-less reads serve `zeta en-US`; declaredMemberOverrideAddressOf answers undefined when no member is named. Stays on the card; the item face's exit first, the layered read follows it by construction · noted, not filed"
      ],
      "loose_ends": [
        "Member-less bare read exit (above), the reason for `Part of #32849`.",
        "/published bare: not measured at the door (follows the member-less layered read).",
        "Rebase/merge onto main once #33885 merges so the PR diff shrinks to its own four files."
      ]
    }
  12. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    #34169 merged; card stays open 2026-11-16T02:34Z

    PR #34169 (Part of) merged: the bare layered member read (?member=M&layers=true) now serves the pair's declared override of an addition's own member as effective, as ?package=Z does.

    Still open here, as #34169's Acceptance notes measured on e516f353: the read naming no member (X ships fr-FR, Z ships en-US, the pair row declares Z for en-US) serves Z's shipped en-US, on both the plain bare read and the bare layered read. /published calls the layered read with no member, so it reads that exit too (not measured at the door). The claim stays with this seat for a next PR on that exit, dispatched on the area's next free dev slot.

  13. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Claim addendum 2026-11-16T03:06Z: the existing claim 6892351144 stands. This is its third PR, for the exit #34169 left open: the read that names no member.
    Branch: claude/area-E1-32849-nomember, from origin/main (#34169 merged).
    Worktree: objectstack-e1-32849-nomember
    File surface: packages/metadata-protocol/src/protocol-meta-item-face.ts (declaredMemberOverrideAddressOf answers undefined when no member is named; it learns the canonical member the read would serve), its callers in protocol-meta-item-reads.ts and protocol-meta-layered-reads.ts, a pin in the shared harness packages/objectql/src/package-scoped-exact-qualifier.test.ts beside #34169's describe, one changeset. Not protocol.ts or protocol-save.ts.
    Clause-②: no
    Metadata-protocol: none
    Thread-read: none newer than this seat's status comment on this card (#34169 merged)
    Premise: the dev re-measures on origin/main before any edit, with the fixture #34169's Acceptance notes used (X ships fr-FR, Z ships en-US, and the App pair row declares Z for en-US). The plain bare read and the bare layered read naming no member serve Z's shipped en-US, where the member read ?member=en-US serves the override.
    Pre-claim lane: domain:server area S4 (E1), because the fix is in packages/metadata-protocol/src/protocol-meta-*.
    Pre-claim deps: #34169 merged. The open area PRs #34147 and #34238 touch protocol-diff-delete-load.ts, protocol-save.ts and sys-metadata-repository.ts, none of this surface. The dev runs merge-tree against them before the push.
    Prior rulings read: ADR-0146 D8 item 2 and ADR-0150 D4 (a declared override is served at every exit that serves the member). Review-b's ruling on PR #33815 (6894129336): an existing declaration taking effect on one more read exit is Metadata-protocol: none, patch. PRs #33815 and #34169 apply the same reading to the member and layered exits.

  14. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
    os-dev-report

    {
      "issue": 32849,
      "status": "done",
      "branch": "claude/area-E1-32849-nomember",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34322",
      "head_sha": "013010a8a2",
      "session": "session_01QsR2jTkZnXtRhuEiiyidvJ",
      "premise_still_valid": true,
      "summary": "Premise held on origin/main b8456ebd4a (temporary probes, not committed): with X shipping fr-FR, the addition Z shipping the canonical en-US and an App pair row declaring overrides.package Z for en-US, the plain bare read and the bare execution read naming no member served `zeta en-US`, and the bare layered read naming no member answered overlay null, effective `zeta en-US`, in both install orders; `?member=en-US`, `?package=Z` and layered `?member=en-US` served `pair en-US`. At the REST doors (rest harness, real SchemaRegistry, row stored and hydrated): GET /meta/email_template/welcome 200 `zeta en-US`, /layers effective `zeta en-US`, /published found no overlay. Fix (one predicate, item face only): declaredMemberOverrideAddressOf now judges bundleMemberDiscriminator(type, member), i.e. the canonical member when none is named (the same request as naming it), instead of answering undefined; both callers (readMetaItemFace, getMetaItemLayered) already pass the resolved selector, so neither caller file changed. After: all three reads naming no member serve `pair en-US` at Z, and the door probe answered 200 `pair en-US` on plain, /layers and /published. Every CONTROL unchanged (no override, undeclared row, row declaring X = 409 naming both, X's own fr-FR, strict draft read and layered draft layer, disabled Z). PR says `Fixes #32849`: with #33815 and #34169 every exit that serves Z's member now serves the declared override; the no-canonical-member arrangement never serves Z's member (measured), so nothing of the card is left.",
      "tests": "New top-level describe in packages/objectql/src/package-scoped-exact-qualifier.test.ts beside #34169's ('[#32849] the read naming no member serves ...', 7 tests): fix pin x2 orders (plain bare == ?member=en-US ['pair en-US', Z, Z]; execution the same; bare layers == ?package=Z layers ['zeta en-US','pair en-US','pair en-US',Z], effective deep-equal; step 1c undefined; layered ?member=en-US unchanged; X fr-FR unchanged), draft pin (plain strict draft read with no member = pair draft stamped PAIR; layered draft layer = that draft; ?package=Z none), CONTROL no override x2, CONTROL row declares X (409 RESOURCE_CONFLICT naming X,Z on plain and layered), CONTROL Z disabled. `-t 'naming no member'`: 7 passed | 321 skipped. Ablations via scripts/ablation-replace.mjs --hold, metadata-protocol rebuilt under the lock, ablation-dist-preflight marker present, restore blob == HEAD (17592e66 item face / 70eb6082 layered reads) with git diff HEAD empty, rebuilt, marker absent from all 24 dist files: A1 (fix reverted) 3 failed | 4 passed: `bare, no member: expected [ 'zeta en-US', 'com.acme.zeta', …(1) ] to deeply equal [ 'pair en-US', 'com.acme.zeta', …(1) ]` x2 + draft pin `expected [ 'zeta en-US', 'pair en-US draft' ] to deeply equal [ 'pair en-US', 'pair en-US draft' ]`; A2 (isServedOverrideRowOf OR true) 2 failed | 5 passed: undeclared CONTROL `expected [ 'zeta en-US', 'pair en-US', …(2) ] to deeply equal [ 'zeta en-US', null, …(2) ]` + X-declared CONTROL `the read answered; a refusal was expected` (first attempt's marker was constant-folded out of dist, so that reading was discarded and retaken with a marker the build keeps; same result); A3 (plain draft guard removed) 1 failed | 6 passed: `No pending draft exists for email_template/welcome.`; A4 (layered draft address taken after the arm) 1 failed | 6 passed: `expected [ 'pair en-US', null ] to deeply equal [ 'pair en-US', 'pair en-US draft' ]`; A5 (disabled-shipper guard unreachable) 1 failed | 6 passed: disabled CONTROL `expected [ 'zeta en-US', 'pair en-US', …(2) ] to deeply equal [ 'zeta en-US', null, …(2) ]` (first attempt never got the build lock, so its green run was on unmutated dist and is discarded; its restore-leg rebuild also timed out and was completed by the next closure build, preflight --absent exit 0). The no-row CONTROL is an unchanged-outcome pin by construction. Suites on 884050fa14 (fix + main 43dd5656), all under os-verify-lock: metadata-protocol typecheck 0, test 0 `Tests 22946 passed | 45 skipped (22991)`; objectql test 0 `Test Files 598 passed (598)`, `Tests 13355 passed (13355)`; cli `--project unit` 0 `Tests 6010 passed (6010)`. objectql typecheck, cli typecheck and the other ten direct dependents: NOT MEASURED locally (queue-timeout exit 99, see deviations); CI on the final head ran them (gates).",
      "gates": "Local on 884050fa14: dispatch-gates --commands --repo objectstack-ai/objectstack, 64 derived families (3 paths, 144 changed lines vs 3000), each exit captured before any pipe: 61 exit 0; check:engine-double-contract exit 1 because a temporary probe file was present during that run (named by the gate), re-run after deletion exit 0; check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET (14 packages outside the closure have no dist) = NOT MEASURED locally; check:type-check-debt exit 3, its closure build hit the lock queue-timeout = NOT MEASURED locally. --ran with `COMMAND :: exit N` records: 64 derived, 62 run, 2 NOT-MEASURED (derived from the recorded exit 3s), 0 UNRUN; that record carries engine-double-contract's first exit 1, re-run exit 0. pnpm lint exit 0 (884050fa14). Body gates on the PR body: check-changeset-no-major 0, check-adr-0087-registration 0, check-closing-keyword-parity 0 (GITHUB_EVENT_PATH), check-partof-closing-keyword 0 (PR_BODY). merge-tree --write-tree --name-only of 884050fa14: origin/claude/area-E1-33308 (#34147, 624b7ff3) exit 0, origin/claude/area-E1-34059 (#34238, 6f89ebf9; it moved from 499f9b47 during the run) exit 0, neither touches this PR's files. Final head 013010a8a2 (origin/main merged again; incoming commits touch none of the PR's three files): local re-runs of pins/suites/ratchet NOT MEASURED (closure build exit 0 there, then the lock was held by pid 5916, issue-34041's battery.sh, for over 56 minutes and the pin run never acquired). PR #34322 check-runs on 013010a8a2: every non-skipped run success (35), 16 skipped: Build Core, Test Core + Test Core (1/8)..(8/8), TypeScript Type Check + Type Check · workspace / source gates / consumer gates / debt ledger, Lint & Repo Gates + Lint · ESLint / repo & tooling gates / docs & code guards / CI, release & engine gates / PM dispatch-gates / scoped lanes, Check Changeset, Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, PR-body guards, Test UI, Live E2E UI.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (CI Dogfood Regression Gate: success on 013010a8a2)",
      "mcp_calls": "0",
      "api_writes": "2 — pr_create via fleet-write relay (POST /repos/objectstack-ai/objectstack/dispatches, run 43814941805 success -> PR #34322, read-back 12904/12904 bytes identical, draft true, no assignees, no labels); this os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/32849/comments). git push not counted (not REST).",
      "files_changed": [
        "packages/metadata-protocol/src/protocol-meta-item-face.ts",
        "packages/objectql/src/package-scoped-exact-qualifier.test.ts",
        ".changeset/32849-nomember-read-declared-override.md"
      ],
      "line_budget": "144 changed lines (+139/-5) vs 3000 human-merge threshold; no skills/** touched",
      "deviations": [
        "Callers protocol-meta-item-reads.ts and protocol-meta-layered-reads.ts are in the stated surface but unchanged: both already pass the resolved selector (undefined when none named) into the one predicate, so the fix in the predicate reaches both. readMetaItemFace lives in protocol-meta-item-face.ts.",
        "Premise and the /published door measured with temporary probes (objectql harness and the rest harness meta-disabled-package-doors style), rows stored and hydrated directly; the real save door refused the pair row in the rest harness because installPackage there leaves packages writable (NOT_OVERRIDABLE 'ships no ... en-US'), a harness property, not a finding. Probes deleted, never committed.",
        "/published BASE at the door answered 404 in the rest harness because the harness's getPublished double models no email_template; the measured fact is that the layered consult found no overlay. In a real kernel that exit serves the metadata service snapshot, not a refusal.",
        "The first premise/probe and pin runs (single vitest files) ran outside os-verify-lock; from the edge probe on, every build and test ran under it.",
        "Common order vs os-dev.md: the order asks every direct dependent's suite locally; os-dev.md hands import-side suites to CI when the public face is byte-unchanged (no export changed here). Ran metadata-protocol, objectql and cli unit locally; the other ten dependents and two typechecks hit lock queue-timeouts on a box where batteries held the lock 30-56 minutes; declared narrowing, CI Test Core / TypeScript Type Check success on the final head. Noted, not chosen silently.",
        "Final head 013010a8a2 (second merge of origin/main right before/after pr_create): PR opened on 884050fa14, then main merged again per the common order; the PR body's Verification names 884050fa14 as its tree. Local re-runs on 013010a8a2 NOT MEASURED (lock), CI green on it.",
        "Clause-② / Metadata-protocol kept verbatim from the claim addendum (no / none) in PR body and changeset; measurement agrees (nothing refused becomes served or the reverse; no authorable key or value moves).",
        "Commit trailers follow the common order (model-free Co-Authored-By: Claude + Claude-Session), not the harness reminder's model-named trailer."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted in PR #34322 Acceptance notes, not filed: with no shipped canonical member (X ships fr-FR, Z ships de-DE, the pair declares Z for de-DE) the plain read naming no member serves `suitex fr-FR` while the layered read naming no member answers no layers at all (code/overlay/effective null), measured at the protocol on 884050fa14 (same on main: the predicate does not reach it); the REST door reading was not taken (lock queue-timeout), so it has no reach: yet · dedupe words: layered no member null layers, bundle no canonical member layered, getMetaItemLayered empty canonical fallback"
      ],
      "loose_ends": [
        "Local re-run of the pins, metadata-protocol/objectql suites and the ratchet families on the final head 013010a8a2 (CI green there).",
        "The no-canonical-member layered/plain disagreement above: measure at the door before deciding whether it is a card."
      ]
    }
  15. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Request: review · PR #34322 · area S4 (E1) · Fixes #32849 (the last exit: the read naming no member) · head 013010a (green: 35 success, 16 expected skip, none failed; declared final)

    Ordinary ACCEPT read (L1) per review-checklist.md. No contract face: Clause-②: no, Metadata-protocol: none, patch, no spec or governed path. Same declaration reading as #33815 and #34169 (review-b 6894129336).

  16. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Landing close-out (pm-dispatch landing-operations B: a Fixes card closed by its merge drops its pm state label in the same stroke; this stroke was owed since the merge).

    Reading Value
    PR #34322, state MERGED (the last exit; #33815 and #34169 landed earlier)
    Card closed (completed) by the PR's closing keyword

    State change: pm:dispatched removed. Domain, area, lease and priority labels stay.

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

Metadata

Metadata

Assignees

Labels

domain:serverpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions