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
rest: the dataset query door answers 503 at an App pair two modules share beside a package-less row under plugin-wired admission, where ADR-0150 D4 calls for 409 naming both (follow-up of #32292) #32948
area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p3
Follow-up of #32292 (PR #32804). Source: the epic red-line delta read on PR #32808's landing head (6839753325). Queued, not dispatched (dispatch is p0/p1 only, ruling 6837849715 on #31527).
What happens
Under an analytics service with plugin-wired admission, two modules of an App hold a dataset NAME and a package-less row of NAME sits beside them. POST /analytics/dataset/query?package=APP.custom answers 503 (the admission arm's fail-closed outcome: one holder's admission cannot be judged) where ADR-0150 D4 says a package-less row beside two real holders is no one's customization and the name refuses 409 naming both.
Owed
Find why the admission arm cannot judge one holder in this composition, make the door answer per D4 (409 naming the admitted holders, as the #32292 narrowing does), FROM → TO, pins red on main and green after; both registration orders, single door and /batch.
{
"issue": 32948,
"folded": [32826],
"status": "done",
"branch": "claude/area-E2b-32948",
"pr": "https://github.com/objectstack-ai/objectstack/pull/33491",
"pr_number": 33491,
"head_sha": "7eae0dea1eaec6dbe3d7e78d48e1c18e06411b91",
"changed_lines": "+311 / -50 over 5 files (packages/rest/src/analytics-dataset-admission-order.ts +124/-32, packages/rest/src/analytics-routes.ts +34/-15, packages/rest/src/analytics-routes.test.ts +120/-1, content/docs/data-modeling/analytics.mdx +14/-2, .changeset/32948-dataset-door-contended-holder.md +19/-0); 32826 share about 40 lines (cause, recogniser, census comment, docs, one pin)",
"session": "session_016WV4cz4f7zEQZ2C9GTG382",
"premise_still_valid": false,
"summary": "Premise of the card's literal composition is false: a package-less dataset row beside the App's two modules is declined at each module's exact address (epic ruling 6817768147, the existing [#32568] pin), so ?package=APP.custom answers by admission (409 both / 200 one / 404 none), not 503; measured over 7 stagings (bare slot org / sys_metadata / '' before and after, stored sys_metadata row, metadata-service copy x3), pair installed or not, both orders, on main ba35dfd78 and on #32808's landing head c50d10c00. The 503 is real in the sibling form review N5 named: an App pair row naming no module hydrated into the registry's bare slot (stamp APP.custom) contends both modules' addresses, each module's own exact read refuses ambiguous-in-closure naming itself, and the admission arm read that as undetermined: bare read, ?package=MODULE and ?callerPackage=MODULE answered 503 for every caller in both orders, single and batch. Fixed in packages/rest only: admitRefusedDatasetHolders recognises that one shape (isOwnAddressContention) and judges such a holder on its own dataset from the list scoped to it (getMetaItems packageId+names, row withheld, only an item stamped with that holder), never runs it, names it in the 409 when admitted; none admitted 404; a sole admitted uncontended holder of an ambiguity runs (503 -> 200, declared widening). A one-holder narrowed ambiguity gets a door-local sentence instead of core's 'held by 1 packages ... address it by its package'. #32826 items 1,2,3,5,6 done and item 4 docs half done: real-arrangement pins, 503 cause on the logged error (body unchanged), one exported isPackageScopedRefusal, docs paragraph saying what the door answers after the fix, ambiguous-in-namespace kept with the reason it is listed.",
"tests": "At 7eae0dea1: pnpm --filter @objectstack/rest test under the verify lock: VERDICT command-exit 0, Test Files 411 passed (411), Tests 8395 passed | 332 skipped (8727). analytics-routes.test.ts: 85 passed (8 new: [#32948] contention x2 orders, widening x2 orders, CONTROL package-less row x2, CONTROL one module; [#32826] 503 cause logged). Red on main and ablations, each through scripts/ablation-replace.mjs (anchor 1->0, blob moved, restored blob == HEAD, git diff HEAD empty; source-imported, no rebuild needed): M (origin/main blobs 05e9c422 + 662e822c under HEAD tests) 5 red (contention x2 got 503, widening x2 got 503, cause pin) / 3 controls green; A1 ABLATE_32948_NOJUDGE 4 red (contention, widening) / 4 green; A2 ABLATE_32948_RUNNABLE 2 red (contention) / 6 green; A3 ABLATE_32826_NOCAUSE 1 red (cause pin) / 7 green. Controls green on every leg.",
"gates": "Local: pnpm --filter @objectstack/rest typecheck VERDICT command-exit 0; eslint --no-inline-config over the 3 touched ts files exit 0; dispatch-gates --commands (merge base 34c05229f, head 7eae0dea1) derived 95 families: 93 exit 0, 2 exit 3 PREREQUISITE NOT MET = NOT MEASURED, left to CI (spec check:skill-examples needs client SDK dist; check:dual-build-cjs-loads needs every package dist); --ran reconciliation 95 derived / 93 run / 2 NOT-MEASURED / 0 UNRUN. PR check-runs at 7eae0dea1 when reported: 25 total, 20 in_progress, 5 skipped, 0 failed (in_progress is the honest value; not waited on).",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "4 relay writes + git push: POST comment on #32948 (claim, order-required), POST comment on #32826 (claim, order-required), pr_create #33491 (draft, assignees os-elon-musk, no labels), POST os-dev-report comment on #32948; git push x4 to claude/area-E2b-32948 (empty probe, fix, tests, merge of origin/main)",
"needs_decision": [
{
"question": "A contended holder the caller is not admitted to on its own dataset could become admitted once the row is saved under it (the row may name another object). Judge it on its own listed dataset, or leave it undetermined?",
"options": [
"A (implemented): judge on the holder's own listed dataset, as query_dataset judges every holder over the list; admitted-to-none answers 404 and a sole admitted uncontended holder runs (503 -> 200 widening)",
"B: a contended holder the caller is not admitted to stays undetermined; admitted-to-none and the sole-uncontended-holder cell keep 503, only the cells with an admitted contended holder move to 409 (no widening arm)"
],
"recommendation": "A, because it is the MCP tool's order (ADR-0149 D2 parity) and nothing runs at a contended address either way; B only if the seat reads the row's own admission as owed before a hidden holder may be called absent"
}
],
"open_questions": [
{
"question": "Card premise: the literal staging (package-less row, ?package=APP.custom) does not reproduce 503 on main or on #32808's landing head; this PR fixes the sibling App-pair-row form with Fixes #32948. Keep that reading, or retitle the card?",
"options": ["A keep Fixes #32948 (mechanism fixed, the literal row form pinned as CONTROL)", "B change to Part of #32948 and refile the literal form as not reproduced"],
"recommendation": "A, because the card's owed mechanism (a row beside two modules leaves the arm unable to judge, 503 where D4 wants 409) is the one fixed and pinned red on main"
}
],
"split_out": [
"#32826 item 4, changeset half: the consumed changeset of PR #32804 is now the released packages/rest/CHANGELOG.md entry; its 'so the row above applies to it' points at the 503 row and it has no row for a 409 reached with some holders unjudged. Amend that released entry in a docs-only PR (area session)."
],
"still_red": "none locally; 2 gate families NOT MEASURED (exit 3 prerequisite) left to CI; CI in_progress at report time",
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed: the protocol's own refusal at a contended module address (GET /meta/dataset/NAME?package=MODULE) says 'address it by its package', which answers the same refusal there; text lives in @objectstack/core packageScopedRefusalMessage and @objectstack/metadata-protocol exactQualifierItem (E1 area); not reached by a public-door wrong answer beyond the prose, so not one of the three filing classes",
"carrier: none · noted: whether a real kernel boot reaches the App-pair-row-in-the-bare-slot state through its own load path is NOT MEASURED (same caveat as the #32804 review's N5 staging)"
],
"deviations": [
"Draft PR opened after the gates finished rather than at the first pushed commit, so the body (dev writes it only at pr_create, never PATCH) could carry the gate readings.",
"Claim comments were posted by this executor because the order required them (os-dev rule says the dispatch posts the claim)."
]
}
area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p3
Activity
objectstack-fleet commentedon Nov 13, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first-touch audit (pre-labeled card) ·
p2→p3· 2026-11-13T08:06Z⛔ Not a claim; the claim (if any) is unchanged.
Generated by Claude Code
objectstack-fleet commentedon Nov 14, 2026
domain:server#5 · os-elon-musk · session_016WV4cz4f7zEQZ2C9GTG382
Claim: area-lease pilot #33059, area E2b · 2026-11-14T21:26Z
Branch:
claude/area-E2b-32948Account:
os-elon-muskobjectstack-fleet commentedon Nov 14, 2026
domain:server#5 · os-elon-musk · session_016WV4cz4f7zEQZ2C9GTG382
os-dev-report
Report for #32948 (with #32826 folded in), PR #33491, posted 2026-11-14T22:32Z.
{ "issue": 32948, "folded": [32826], "status": "done", "branch": "claude/area-E2b-32948", "pr": "https://github.com/objectstack-ai/objectstack/pull/33491", "pr_number": 33491, "head_sha": "7eae0dea1eaec6dbe3d7e78d48e1c18e06411b91", "changed_lines": "+311 / -50 over 5 files (packages/rest/src/analytics-dataset-admission-order.ts +124/-32, packages/rest/src/analytics-routes.ts +34/-15, packages/rest/src/analytics-routes.test.ts +120/-1, content/docs/data-modeling/analytics.mdx +14/-2, .changeset/32948-dataset-door-contended-holder.md +19/-0); 32826 share about 40 lines (cause, recogniser, census comment, docs, one pin)", "session": "session_016WV4cz4f7zEQZ2C9GTG382", "premise_still_valid": false, "summary": "Premise of the card's literal composition is false: a package-less dataset row beside the App's two modules is declined at each module's exact address (epic ruling 6817768147, the existing [#32568] pin), so ?package=APP.custom answers by admission (409 both / 200 one / 404 none), not 503; measured over 7 stagings (bare slot org / sys_metadata / '' before and after, stored sys_metadata row, metadata-service copy x3), pair installed or not, both orders, on main ba35dfd78 and on #32808's landing head c50d10c00. The 503 is real in the sibling form review N5 named: an App pair row naming no module hydrated into the registry's bare slot (stamp APP.custom) contends both modules' addresses, each module's own exact read refuses ambiguous-in-closure naming itself, and the admission arm read that as undetermined: bare read, ?package=MODULE and ?callerPackage=MODULE answered 503 for every caller in both orders, single and batch. Fixed in packages/rest only: admitRefusedDatasetHolders recognises that one shape (isOwnAddressContention) and judges such a holder on its own dataset from the list scoped to it (getMetaItems packageId+names, row withheld, only an item stamped with that holder), never runs it, names it in the 409 when admitted; none admitted 404; a sole admitted uncontended holder of an ambiguity runs (503 -> 200, declared widening). A one-holder narrowed ambiguity gets a door-local sentence instead of core's 'held by 1 packages ... address it by its package'. #32826 items 1,2,3,5,6 done and item 4 docs half done: real-arrangement pins, 503 cause on the logged error (body unchanged), one exported isPackageScopedRefusal, docs paragraph saying what the door answers after the fix, ambiguous-in-namespace kept with the reason it is listed.", "tests": "At 7eae0dea1: pnpm --filter @objectstack/rest test under the verify lock: VERDICT command-exit 0, Test Files 411 passed (411), Tests 8395 passed | 332 skipped (8727). analytics-routes.test.ts: 85 passed (8 new: [#32948] contention x2 orders, widening x2 orders, CONTROL package-less row x2, CONTROL one module; [#32826] 503 cause logged). Red on main and ablations, each through scripts/ablation-replace.mjs (anchor 1->0, blob moved, restored blob == HEAD, git diff HEAD empty; source-imported, no rebuild needed): M (origin/main blobs 05e9c422 + 662e822c under HEAD tests) 5 red (contention x2 got 503, widening x2 got 503, cause pin) / 3 controls green; A1 ABLATE_32948_NOJUDGE 4 red (contention, widening) / 4 green; A2 ABLATE_32948_RUNNABLE 2 red (contention) / 6 green; A3 ABLATE_32826_NOCAUSE 1 red (cause pin) / 7 green. Controls green on every leg.", "gates": "Local: pnpm --filter @objectstack/rest typecheck VERDICT command-exit 0; eslint --no-inline-config over the 3 touched ts files exit 0; dispatch-gates --commands (merge base 34c05229f, head 7eae0dea1) derived 95 families: 93 exit 0, 2 exit 3 PREREQUISITE NOT MET = NOT MEASURED, left to CI (spec check:skill-examples needs client SDK dist; check:dual-build-cjs-loads needs every package dist); --ran reconciliation 95 derived / 93 run / 2 NOT-MEASURED / 0 UNRUN. PR check-runs at 7eae0dea1 when reported: 25 total, 20 in_progress, 5 skipped, 0 failed (in_progress is the honest value; not waited on).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "4 relay writes + git push: POST comment on #32948 (claim, order-required), POST comment on #32826 (claim, order-required), pr_create #33491 (draft, assignees os-elon-musk, no labels), POST os-dev-report comment on #32948; git push x4 to claude/area-E2b-32948 (empty probe, fix, tests, merge of origin/main)", "needs_decision": [ { "question": "A contended holder the caller is not admitted to on its own dataset could become admitted once the row is saved under it (the row may name another object). Judge it on its own listed dataset, or leave it undetermined?", "options": [ "A (implemented): judge on the holder's own listed dataset, as query_dataset judges every holder over the list; admitted-to-none answers 404 and a sole admitted uncontended holder runs (503 -> 200 widening)", "B: a contended holder the caller is not admitted to stays undetermined; admitted-to-none and the sole-uncontended-holder cell keep 503, only the cells with an admitted contended holder move to 409 (no widening arm)" ], "recommendation": "A, because it is the MCP tool's order (ADR-0149 D2 parity) and nothing runs at a contended address either way; B only if the seat reads the row's own admission as owed before a hidden holder may be called absent" } ], "open_questions": [ { "question": "Card premise: the literal staging (package-less row, ?package=APP.custom) does not reproduce 503 on main or on #32808's landing head; this PR fixes the sibling App-pair-row form with Fixes #32948. Keep that reading, or retitle the card?", "options": ["A keep Fixes #32948 (mechanism fixed, the literal row form pinned as CONTROL)", "B change to Part of #32948 and refile the literal form as not reproduced"], "recommendation": "A, because the card's owed mechanism (a row beside two modules leaves the arm unable to judge, 503 where D4 wants 409) is the one fixed and pinned red on main" } ], "split_out": [ "#32826 item 4, changeset half: the consumed changeset of PR #32804 is now the released packages/rest/CHANGELOG.md entry; its 'so the row above applies to it' points at the 503 row and it has no row for a 409 reached with some holders unjudged. Amend that released entry in a docs-only PR (area session)." ], "still_red": "none locally; 2 gate families NOT MEASURED (exit 3 prerequisite) left to CI; CI in_progress at report time", "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: the protocol's own refusal at a contended module address (GET /meta/dataset/NAME?package=MODULE) says 'address it by its package', which answers the same refusal there; text lives in @objectstack/core packageScopedRefusalMessage and @objectstack/metadata-protocol exactQualifierItem (E1 area); not reached by a public-door wrong answer beyond the prose, so not one of the three filing classes", "carrier: none · noted: whether a real kernel boot reaches the App-pair-row-in-the-bare-slot state through its own load path is NOT MEASURED (same caveat as the #32804 review's N5 staging)" ], "deviations": [ "Draft PR opened after the gates finished rather than at the first pushed commit, so the body (dev writes it only at pr_create, never PATCH) could carry the gate readings.", "Claim comments were posted by this executor because the order required them (os-dev rule says the dispatch posts the claim)." ] }fix(rest): the dataset door judges a holder whose own address a row n…