You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
metadata-protocol: measure whether a dependency-closure bundle addition is left out of the scoped list while the exact read admits it (#33131 N1) #33817
Package X holds a name only through a stored row: a bundle addition to holder D, where D is in X's dependency closure and outside X's App. packageScopedHoldersOf with no caller drops X, so X's scoped list leaves the pair's undeclared row out, while X's exact read admits X and serves that row. The list is the narrower side, which matches main when this was noted.
Wanted
Measure it on a live boot or an integration test with that exact fixture: the scoped list and the exact read for X.
If they disagree, file the fix route here (which side is right, by ADR-0150 and ADR-0146 D8) and go on. If they agree, close with the pin that shows it.
Reader
domain:server area S5 (E1b, metadata-protocol except protocol.ts). Size S for the measurement.
Dedupe
Words packageScopedHoldersOf, bundle addition dependency closure scoped list: only #33131 and PR #33220.
Claim: area S5 (lease E1, E1b), #33751 §2 area-lease mode, round 2 — p3 measure-first
Session: session_01QsR2jUcj2x2Wr4UErwBi12
Account: zhuangjianguo
Branch: claude/area-E1b-33817
Worktree: objectstack-e1b-33817
Domain: domain:server
Seat: domain:server#5
File surface: a pin test beside packageScopedHoldersOf (metadata-protocol or objectql test layer); a fix only if the measurement disagrees and it stays out of hot files (protocol-meta-item-face.ts, protocol-exact-qualifier.ts, protocol-save.ts are p2-held; protocol.ts is S4's) — otherwise stop and report the route (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: default judgment tier, effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack platform code (package-scoped list vs exact read) | none | a package holding a name only through a bundle addition to a closure dependency outside its App
Thread-read: none
Premise: inbox (never measured; the card asks for the measurement first; premise_still_valid: false closes it with the pin)
Serial constraints cleared: p3 never edits a hot file a p1/p2 is on: S5 fold #33385 (item face, exact qualifier), #32605 (protocol-save.ts), #33264 (registry.ts doc branch), S4 #32849 / #32620 / #32622 / #33456 files excluded.
PR #33882 at head 29deffab: pin only, Part of #33817. The measurement DISAGREES: X's exact read serves the pair row, and X's lists leave it out. The route is the open question below.
{
"issue": 33817,
"status": "needs_decision",
"branch": "claude/area-E1b-33817",
"pr": "https://github.com/objectstack-ai/objectstack/pull/33882",
"head": "29deffaba2a9de37b06ac8a1aa9782dabdb9e1bd",
"session": "session_01QsR2jUcj2x2Wr4UErwBi12",
"premise_still_valid": true,
"summary": "H1 confirmed. I measured with the card's exact fixture in packages/objectql/src/package-scoped-exact-qualifier.test.ts, in both registration orders, on main 1e65a389 and again after merging main (29deffab). App com.acme.suite with pair .custom. X is a module of the App that also depends on D. D is a module of ANOTHER App, so it is outside X's App. X holds email_template/welcome only through its own stored fr-FR row, a bundle addition to D's en-US. The pair stores an undeclared de-DE row. Today, ?package=X&member=de-DE serves 'pair de-DE', while X's getMetaItems and getMetaItemsForExecution both answer ['suitex fr-FR']. packageScopedHoldersOf with no caller = [D, PAIR] (X dropped); with caller X, X is kept; overlayRowBinding(pair row) = X. The two sides DISAGREE. The fix needs protocol-exact-qualifier.ts, a held p2 file, so per the order this ships the pin only (draft, Part of #33817, skip-changeset), and the route is the open question below. Fixture trap: my first fixture made D type 'app'. X then had two declared Apps, appOf(X) was undefined and X had no pair, so both reads withheld the row and looked like agreement. Commit bc2ccc36 carries that fixture; e3e4e573 replaces it.",
"tests": "pnpm --filter @objectstack/objectql test @e3e4e573 (under lock): Test Files 596 passed (596), Tests 13138 passed (13138), exit 0. pnpm --filter @objectstack/objectql typecheck: exit 0. Shared harness file: 310/310 @e3e4e573; 315/315 @29deffab after the merge and a closure rebuild. Ablation of the negative list leg: ablation-replace --hold on holdsNameForExactRead (packageScopedHoldersOf(type, name) -> (type, name, packageId)), metadata-protocol rebuilt, mutated call present in dist/index.js (count 1). The 2 new cases went red on listed(X): \"expected [ 'pair de-DE', 'suitex fr-FR' ] to deeply equal [ 'suitex fr-FR' ]\", and the other 308 passed. Restored: blob == HEAD, git diff HEAD empty, rebuilt, dist count 0. The first ablation (registryRowBinding -> undefined) failed its build (TS6133), so it was a no-op and I discarded it. The rerun with a compiling mutation (marker in dist) stayed green, which exposed the fixture trap.",
"gates": "dispatch-gates --repo objectstack-ai/objectstack --ran with ':: exit N' records: 51 derived, 50 run, all exit 0, 0 NOT-MEASURED, 1 UNRUN (pnpm check:dual-build-cjs-loads, left to CI). First-run non-zeros were prerequisites, rerun to 0. check-plugin-teardown-shape --self-test exited 3 on the shallow clone until I fetched 621a4876. check:lean-entry-closure exited 3 until objectql was built (rerun @29deffab under lock: 'Admitted set held exactly'). check:query-options-erasure exited 124 at my 240s wrapper timeout, then exit 0. check:type-check-debt ran under lock @29deffab, exit 0. Other families ran @e3e4e573 (test-only diff). PR-body gates against the final body: check-changeset-no-major 0, check:adr-0087-registration 0, check-closing-keyword-parity 0, check-partof-closing-keyword 0. check-nul-bytes 0. eslint --no-inline-config on the touched file 0. PR CI: in_progress at report time (mergeable_state 'blocked', draft, checks pending).",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3 — git push (branch, 4 pushes); fleet-write pr_create (PR #33882, label skip-changeset); post-stamped issue comment on #33817 (this report)",
"files_changed": [
"packages/objectql/src/package-scoped-exact-qualifier.test.ts"
],
"line_budget": "+81 / -0, one test file, no source change",
"open_questions": [
{
"question": "#33817 N1: X's exact read serves the App pair's undeclared row, and X's scoped and execution lists leave it out, when X holds the name only through a stored row that is a bundle addition to a closure dependency outside its App. Which side moves? (ADR-0146 D8 says the reads agree; ADR-0150 red line 2 is not triggered, because X is the pair's only owner and the registry already binds the row to X.)",
"options": [
"A — the list widens to the exact read (recommended): holdsNameForExactRead asks packageScopedHoldersOf(type, name, packageId), the count the exact read's admission already uses. One line in protocol-exact-qualifier.ts plus an N2 jsdoc fold, Metadata-protocol: semantic + minor + an ADR-0087 semantic entry (the #33220 shape), and this pin's list legs flip. Measured locally: the other 308 cases in the harness stay green. Business need: zero first-party pull; it is a corner (an addition's holder outside the App), but D8's one-effective-read rule is the stated contract. Long term: it completes item 5's rule with the count the registry already uses for a caller's own reads (an addition stops counting only for OTHER callers), and adds no new concept. AI-error: a list that agrees with the exact read removes one silent disagreement an AI author cannot see. Startup focus: one line, no new surface. Effort S, but blocked on the p2 holder of protocol-exact-qualifier.ts (#33385).",
"B — the exact read narrows to the list: X's address stops serving the row (the exact read's judge, or registry overlayRowBinding/getPackageScopedItem, counts the served holders without the caller). This is a narrowing on a read door, so it needs Clause-② (narrowing), BREAKING, and an ADR-0087 disposition. It touches protocol-exact-qualifier.ts or registry.ts (both held). Business: no pull either. Long term: it contradicts the caller-keeps-its-own-holding rule (registry jsdoc, epic seat review 6729484996) and #33220's direction. AI-error: neutral. Startup focus: larger and riskier. Effort M.",
"C — record as by-design: keep the pin as is and close the card with the pin. Zero code. But it leaves a D8 disagreement standing, and the #33220 acceptanceCriteria sentence ('exactly when') stays false in this corner."
],
"recommendation": "A. Long-term weight leads: D8 binds the reads to one answer, and A reaches it with the registry's existing caller-count rule, the same direction #33220 took. It is the smallest change and adds no surface. It is sequenced after the p2 holder of protocol-exact-qualifier.ts releases it."
}
],
"deviations": [
"Order Route DISAGREE branch taken: the PR is pin-only, `Part of #33817`, skip-changeset, no changeset file. Claim lines are kept verbatim (Clause-②: no, Metadata-protocol: none), correct for this test-only PR. A later fix by option A would be Metadata-protocol: semantic.",
"Repo-wide `pnpm lint` (common rule 7) was not run: the lock queue was long and os-dev.md assigns repo scans to CI. I ran eslint --no-inline-config on the touched file instead (exit 0).",
"Direct dependents' suites were not run: the diff is a test file only, so the public surface is byte-unchanged (os-dev local scope).",
"Branch carries a merge of origin/main (29deffab) taken before pr_create, per common rule 8; no overlap with my describe (main's #33815 added cases elsewhere in the same file)."
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #33817 · registry getPackageScopedItem(X, de-DE) answers undefined in this fixture while overlayRowBinding answers X, so the registry's own per-package reader also disagrees with the exact read. Same corner as the open question, noted on this card, not filed. Dedupe words: getPackageScopedItem overlayRowBinding bundle addition, stored-row holder addition pair row."
]
}
Seat ruling · 2026-11-15T13:22Z: option A, guarded by the registry binding. Answers report 6894890446 (pin PR #33882), after an independent Fable review.
① 项目长远合理性: ADR-0146 D8 needs the exact read and the list to agree. ADR-0150 D4 and the registry bind the measured row to X (settledPairRowBinding), and review 6729484996 asks the caller's own holding unfiltered, so the list is the side out of line. B would narrow a read the records support. C leaves a D8 disagreement.
② 实际业务拉动: small (p3, email_template only), but X's execution list (sends from X) is affected as well as the listing.
③ 防 AI 犯错: the bare one-liner opens a red-line-2 gap that is unmeasured: two additions X and Z in one App, both adding to D outside it, would both list (and send with) a pair row the registry binds to nobody. The guard below closes it.
④ 创业阶段不扩散: one guarded condition in protocol-exact-qualifier.ts; no ADR sentence or ruling reversed (only #33220 review nit N2 moves).
Ruling as it binds this card:
When X counts as a holder with the caller but not without it, list the row only if overlayRowBinding(row) === X. The measured fixture passes. The two-additions shape is withheld. The change stays inside protocol-exact-qualifier.ts.
Pins: the two-additions shape in both registration orders, with the row left out of X's and Z's lists and execution lists. A disabled X: list and execution list leave the row out, and the exact read answers the withheld 404. Ablate the guard.
The ADR-0087 semantic entry names the execution list as well as the scoped list, and the N2 jsdoc is corrected. Metadata-protocol: semantic, Clause-②: no.
Release: #33817 back to pm:queue (maintainer ruling 16:09Z on server seat 5: no standalone p3; a claimed but unstarted p3 is released; a p3 rides along only with a p1/p2 PR on the same file). The pin half landed in PR #33882. The ruling-A fix (6894958525) was not started. The fix lives in packages/metadata-protocol/src/protocol-exact-qualifier.ts, so it is a ride-along candidate for the next S5 p2 on that file (#33210 / #32981).
Ruled: not planned · maintainer 2026-11-20 ~04:2xZ, verbatim: 「关」, on triage's listed batch of eight no-user-effect, non-eval p3 cards.
2026-11-20T04:17Z · Closed as not planned. A suspected inconsistency read from code and never measured; the card itself records no effect on current behaviour. A measured reproduction is a Bug, filed then.
Activity
objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
Claim: area S5 (lease E1, E1b), #33751 §2 area-lease mode, round 2 — p3 measure-first
Session:
session_01QsR2jUcj2x2Wr4UErwBi12Account:
zhuangjianguoBranch:
claude/area-E1b-33817Worktree:
objectstack-e1b-33817Domain:
domain:serverSeat:
domain:server#5File surface: a pin test beside
packageScopedHoldersOf(metadata-protocol or objectql test layer); a fix only if the measurement disagrees and it stays out of hot files (protocol-meta-item-face.ts,protocol-exact-qualifier.ts,protocol-save.tsare p2-held;protocol.tsis S4's) — otherwise stop and report the route (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: default judgment tier,effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: objectstack platform code (package-scoped list vs exact read) | none | a package holding a name only through a bundle addition to a closure dependency outside its App
Thread-read: none
Premise: inbox (never measured; the card asks for the measurement first; premise_still_valid: false closes it with the pin)
Serial constraints cleared: p3 never edits a hot file a p1/p2 is on: S5 fold #33385 (item face, exact qualifier), #32605 (
protocol-save.ts), #33264 (registry.tsdoc branch), S4 #32849 / #32620 / #32622 / #33456 files excluded.objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
os-dev-report
PR #33882 at head
29deffab: pin only,Part of #33817. The measurement DISAGREES: X's exact read serves the pair row, and X's lists leave it out. The route is the open question below.{ "issue": 33817, "status": "needs_decision", "branch": "claude/area-E1b-33817", "pr": "https://github.com/objectstack-ai/objectstack/pull/33882", "head": "29deffaba2a9de37b06ac8a1aa9782dabdb9e1bd", "session": "session_01QsR2jUcj2x2Wr4UErwBi12", "premise_still_valid": true, "summary": "H1 confirmed. I measured with the card's exact fixture in packages/objectql/src/package-scoped-exact-qualifier.test.ts, in both registration orders, on main 1e65a389 and again after merging main (29deffab). App com.acme.suite with pair .custom. X is a module of the App that also depends on D. D is a module of ANOTHER App, so it is outside X's App. X holds email_template/welcome only through its own stored fr-FR row, a bundle addition to D's en-US. The pair stores an undeclared de-DE row. Today, ?package=X&member=de-DE serves 'pair de-DE', while X's getMetaItems and getMetaItemsForExecution both answer ['suitex fr-FR']. packageScopedHoldersOf with no caller = [D, PAIR] (X dropped); with caller X, X is kept; overlayRowBinding(pair row) = X. The two sides DISAGREE. The fix needs protocol-exact-qualifier.ts, a held p2 file, so per the order this ships the pin only (draft, Part of #33817, skip-changeset), and the route is the open question below. Fixture trap: my first fixture made D type 'app'. X then had two declared Apps, appOf(X) was undefined and X had no pair, so both reads withheld the row and looked like agreement. Commit bc2ccc36 carries that fixture; e3e4e573 replaces it.", "tests": "pnpm --filter @objectstack/objectql test @e3e4e573 (under lock): Test Files 596 passed (596), Tests 13138 passed (13138), exit 0. pnpm --filter @objectstack/objectql typecheck: exit 0. Shared harness file: 310/310 @e3e4e573; 315/315 @29deffab after the merge and a closure rebuild. Ablation of the negative list leg: ablation-replace --hold on holdsNameForExactRead (packageScopedHoldersOf(type, name) -> (type, name, packageId)), metadata-protocol rebuilt, mutated call present in dist/index.js (count 1). The 2 new cases went red on listed(X): \"expected [ 'pair de-DE', 'suitex fr-FR' ] to deeply equal [ 'suitex fr-FR' ]\", and the other 308 passed. Restored: blob == HEAD, git diff HEAD empty, rebuilt, dist count 0. The first ablation (registryRowBinding -> undefined) failed its build (TS6133), so it was a no-op and I discarded it. The rerun with a compiling mutation (marker in dist) stayed green, which exposed the fixture trap.", "gates": "dispatch-gates --repo objectstack-ai/objectstack --ran with ':: exit N' records: 51 derived, 50 run, all exit 0, 0 NOT-MEASURED, 1 UNRUN (pnpm check:dual-build-cjs-loads, left to CI). First-run non-zeros were prerequisites, rerun to 0. check-plugin-teardown-shape --self-test exited 3 on the shallow clone until I fetched 621a4876. check:lean-entry-closure exited 3 until objectql was built (rerun @29deffab under lock: 'Admitted set held exactly'). check:query-options-erasure exited 124 at my 240s wrapper timeout, then exit 0. check:type-check-debt ran under lock @29deffab, exit 0. Other families ran @e3e4e573 (test-only diff). PR-body gates against the final body: check-changeset-no-major 0, check:adr-0087-registration 0, check-closing-keyword-parity 0, check-partof-closing-keyword 0. check-nul-bytes 0. eslint --no-inline-config on the touched file 0. PR CI: in_progress at report time (mergeable_state 'blocked', draft, checks pending).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 — git push (branch, 4 pushes); fleet-write pr_create (PR #33882, label skip-changeset); post-stamped issue comment on #33817 (this report)", "files_changed": [ "packages/objectql/src/package-scoped-exact-qualifier.test.ts" ], "line_budget": "+81 / -0, one test file, no source change", "open_questions": [ { "question": "#33817 N1: X's exact read serves the App pair's undeclared row, and X's scoped and execution lists leave it out, when X holds the name only through a stored row that is a bundle addition to a closure dependency outside its App. Which side moves? (ADR-0146 D8 says the reads agree; ADR-0150 red line 2 is not triggered, because X is the pair's only owner and the registry already binds the row to X.)", "options": [ "A — the list widens to the exact read (recommended): holdsNameForExactRead asks packageScopedHoldersOf(type, name, packageId), the count the exact read's admission already uses. One line in protocol-exact-qualifier.ts plus an N2 jsdoc fold, Metadata-protocol: semantic + minor + an ADR-0087 semantic entry (the #33220 shape), and this pin's list legs flip. Measured locally: the other 308 cases in the harness stay green. Business need: zero first-party pull; it is a corner (an addition's holder outside the App), but D8's one-effective-read rule is the stated contract. Long term: it completes item 5's rule with the count the registry already uses for a caller's own reads (an addition stops counting only for OTHER callers), and adds no new concept. AI-error: a list that agrees with the exact read removes one silent disagreement an AI author cannot see. Startup focus: one line, no new surface. Effort S, but blocked on the p2 holder of protocol-exact-qualifier.ts (#33385).", "B — the exact read narrows to the list: X's address stops serving the row (the exact read's judge, or registry overlayRowBinding/getPackageScopedItem, counts the served holders without the caller). This is a narrowing on a read door, so it needs Clause-② (narrowing), BREAKING, and an ADR-0087 disposition. It touches protocol-exact-qualifier.ts or registry.ts (both held). Business: no pull either. Long term: it contradicts the caller-keeps-its-own-holding rule (registry jsdoc, epic seat review 6729484996) and #33220's direction. AI-error: neutral. Startup focus: larger and riskier. Effort M.", "C — record as by-design: keep the pin as is and close the card with the pin. Zero code. But it leaves a D8 disagreement standing, and the #33220 acceptanceCriteria sentence ('exactly when') stays false in this corner." ], "recommendation": "A. Long-term weight leads: D8 binds the reads to one answer, and A reaches it with the registry's existing caller-count rule, the same direction #33220 took. It is the smallest change and adds no surface. It is sequenced after the p2 holder of protocol-exact-qualifier.ts releases it." } ], "deviations": [ "Order Route DISAGREE branch taken: the PR is pin-only, `Part of #33817`, skip-changeset, no changeset file. Claim lines are kept verbatim (Clause-②: no, Metadata-protocol: none), correct for this test-only PR. A later fix by option A would be Metadata-protocol: semantic.", "Repo-wide `pnpm lint` (common rule 7) was not run: the lock queue was long and os-dev.md assigns repo scans to CI. I ran eslint --no-inline-config on the touched file instead (exit 0).", "Direct dependents' suites were not run: the diff is a test file only, so the public surface is byte-unchanged (os-dev local scope).", "Branch carries a merge of origin/main (29deffab) taken before pr_create, per common rule 8; no overlap with my describe (main's #33815 added cases elsewhere in the same file)." ], "security_findings": "none", "out_of_scope_findings": [ "carrier: #33817 · registry getPackageScopedItem(X, de-DE) answers undefined in this fixture while overlayRowBinding answers X, so the registry's own per-package reader also disagrees with the exact read. Same corner as the open question, noted on this card, not filed. Dedupe words: getPackageScopedItem overlayRowBinding bundle addition, stored-row holder addition pair row." ] }objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG
Seat ruling · 2026-11-15T13:22Z: option A, guarded by the registry binding. Answers report 6894890446 (pin PR #33882), after an independent Fable review.
Ruling as it binds this card:
overlayRowBinding(row) === X. The measured fixture passes. The two-additions shape is withheld. The change stays inside protocol-exact-qualifier.ts.Metadata-protocol: semantic,Clause-②: no.getPackageScopedItem(X, de-DE)answers undefined whileoverlayRowBindinganswers X.State: unchanged (area S5 holds the claim).
objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
Release: #33817 back to
pm:queue(maintainer ruling 16:09Z on server seat 5: no standalone p3; a claimed but unstarted p3 is released; a p3 rides along only with a p1/p2 PR on the same file). The pin half landed in PR #33882. The ruling-A fix (6894958525) was not started. The fix lives inpackages/metadata-protocol/src/protocol-exact-qualifier.ts, so it is a ride-along candidate for the next S5 p2 on that file (#33210 / #32981).test(objectql): measure a stored-row bundle addition's scoped list ag…
fix(metadata-protocol): the bare layered read serves a member's decla…
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Ruled: not planned · maintainer 2026-11-20 ~04:2xZ, verbatim: 「关」, on triage's listed batch of eight no-user-effect, non-eval p3 cards.
2026-11-20T04:17Z · Closed as not planned. A suspected inconsistency read from code and never measured; the card itself records no effect on current behaviour. A measured reproduction is a Bug, filed then.