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
meta list: GET /meta/form?object= with an empty value answers every form instead of 400 like view #39612
Source: dev report 7407540806 on #39004 (PR #39597), out-of-scope finding class a, measured at head 420b9c7.
Filing gate: ① a defect the work surfaced.
What happens
GET /api/v1/meta/form?object= with an empty value answers 200 and lists every form in the environment. GET /api/v1/meta/view?object= with an empty value answers 400 VALIDATION_ERROR, because view and app lists refuse an empty filter (refuseEmptyListFilter in packages/rest/src/meta-item-read-gate.ts). A client that builds ?object=${id} with an unset id silently gets every object's forms.
The bracketed spelling has the same gap (L1-a verdict 7408219215 on #39597): view refuses ?object[…]= (refuseBracketedListFilter), but form now reads it through String(query.object).
Measured with a throwaway test on #39597's harness: SCRATCH form 200 [mfo_alpha.contact, mfo_alpha.signup, mfo_beta.contact] view 400 VALIDATION_ERROR.
Expected
The form list refuses an empty object filter and a bracketed object[…] filter, the way view does (refuseEmptyListFilter, refuseBracketedListFilter). This adds a 400 to a public door, so it is a narrowing (Clause-②: no (narrowing)) and owes a contract review.
Triage: lands in area:package · domain:rest · Bug · p2 · pm:queue · size S, touched 2026-12-04T10:13Z. Rationale: the metadata list door answers inconsistently across types. GET /meta/form?object= with an empty value lists every form, while view and app refuse the empty filter (refuseEmptyListFilter), and the bracketed spelling has the same gap. A client with an unset id silently gets every object's forms, which is a wrong answer rather than a cosmetic one, so p2 (same family as #38659 and #38977). It is one gate plus its pins, so size S. Not a security matter: the list returns forms the caller may already read, only too many. Issue type set to Bug.
Grade: p2 · reach: any client that builds ?object= from an unset id · evidence: measured on #39597's head 420b9c7 (dev report 7407540806, L1-a 7408219215) · claimable.
Claim: PM loop round 2
Session: session_01L9qibvqcHrQpENbRP7eLfU
Account: os-tesla
Branch: claude/issue-39612-form-list-empty-filter (a card thread; the zone restates the thread's platform branch in a Claim: amendment once the thread reports it)
Worktree: objectstack-issue-39612
Domain: domain:server
Seat: repo:objectstack@os-tesla
Area: ot-build
File surface: packages/rest/src/meta-item-read-gate.ts (the form list joins refuseEmptyListFilter / refuseBracketedListFilter; call sites only, the file is 5,705 lines) and its pin test
Container & model: S (one door refusal, narrowing), mode:thread, model: default (dispatch-gates --repo objectstack-ai/objectstack --tier: "no path-derived mandate"), effort: medium
Clause-②: no (narrowing)
Metadata-protocol: none
Responsibility: packages/rest metadata list door (objectstack) | view and app lists already refuse an empty or bracketed filter | any client that builds ?object=${id} with an unset id gets every object's forms today
Thread-read: 7408414715
Premise: holds (#39597 merged; measured on its harness: form 200 lists every form, view 400 VALIDATION_ERROR)
Pre-claim lane: domain:server (rest door)
Pre-claim deps: Blocked-by: #39597 is merged; check-handover.mjs --inflight still reads #39566's restatement 7409534214, but its narrowing amendment 7411220326 drops meta-item-read-gate.ts and PR #39637 touches no such file
Prior rulings read: triage 7408414715; L1-a verdict 7408219215 on #39597 (bracketed spelling)
Serial constraints cleared: #39566 (PR #39637) — no shared file after 7411220326. A narrowing owes one CONTRACT_REVIEW_TIER review before the queue.
2026-12-04T12:23Z · zone ot-build · Claim amendment of 7411334118: restated as a Claim: naming the card thread's platform branch (check:closing-target-claim reads the Branch: line of a Claim: comment only); nothing else changes
Claim: PM loop round 2
Session: session_01L9qibvqcHrQpENbRP7eLfU
Thread session: session_01L9qibygFKTtFbkC7xCBSUX
Account: os-tesla
Branch: claude/project-thread-1ni3iw
Worktree: objectstack-issue-39612
Domain: domain:server
Seat: repo:objectstack@os-tesla
Area: ot-build
File surface: packages/rest/src/meta-item-read-gate.ts (the form list joins refuseEmptyListFilter / refuseBracketedListFilter; call sites only, the file is 5,705 lines) and its pin test
Container & model: S (one door refusal, narrowing), mode:thread, model: default (dispatch-gates --repo objectstack-ai/objectstack --tier: "no path-derived mandate"), effort: medium
Clause-②: no (narrowing)
Metadata-protocol: none
Responsibility: packages/rest metadata list door (objectstack) | view and app lists already refuse an empty or bracketed filter | any client that builds ?object=${id} with an unset id gets every object's forms today
Thread-read: 7411334118
Premise: holds (#39597 merged; measured on its harness: form 200 lists every form, view 400 VALIDATION_ERROR)
Pre-claim lane: domain:server (rest door)
Pre-claim deps: Blocked-by: #39597 is merged; check-handover.mjs --inflight still reads #39566's restatement 7409534214, but its narrowing amendment 7411220326 drops meta-item-read-gate.ts and PR #39637 touches no such file
Prior rulings read: triage 7408414715; L1-a verdict 7408219215 on #39597 (bracketed spelling)
Serial constraints cleared: #39566 (PR #39637) — no shared file after 7411220326. A narrowing owes one CONTRACT_REVIEW_TIER review before the queue.
{
"issue": 39612,
"status": "done",
"branch": "claude/project-thread-1ni3iw",
"pr": 39692,
"session": "session_01L9qibygFKTtFbkC7xCBSUX",
"premise_still_valid": true,
"summary": "Pushed faf560d1 to claude/project-thread-1ni3iw (origin/main a92f1ed9 + 1 commit); no PR opened, per the dispatch. The card thread opens it via relay pr_create using /mnt/project-files/card-39612/pr-body-faf560d1.md. Step 4a of createMetaListAnswer (packages/rest/src/meta-item-read-gate.ts), shared by both transports, now calls the existing refuseEmptyListFilter and refuseBracketedListFilter for form. bracketedKeyJudgedByList leaves object[ on form to the list's own sentence. The helpers' `lists` parameter is widened to 'app' | 'view' | 'form', so the refusal says 'list every form you can see'. No new helper. Premise: the empty half holds (200 with every form on main). The bracketed half was partly wrong: on main, form's ?object[]= was already 400 VALIDATION_ERROR from the unknown-parameter check (nested envelope, 'not supported by this endpoint'), never read as no filter. It now gets view's refusal: same status and code, view's flat envelope and sentence. Other list types that read ?object=: only view (step 4) and form (step 4a). No other type is covered by the helper without extra code. CONTRACT_REVIEW_TIER review owed before the queue (narrowing); named in the PR body, not requested.",
"tests": "RED on main a92f1ed9 (os-verify-lock, `pnpm --filter @objectstack/rest exec vitest run --maxWorkers=2 src/meta-form-object-filter-39004.test.ts`): VERDICT command-exit 1, 'Tests 2 failed | 5 passed (7)'. Empty case: 'expected [ 200, undefined, false, …(1) ]'. Bracketed case: 'object[]: expected [ 400, undefined, false, undefined ]' (nested envelope). GREEN at faf560d1: the same file plus src/meta-app-publish-gate.test.ts gave 'Test Files 2 passed (2) Tests 42 passed (42)'. `pnpm --filter @objectstack/rest test`: 'Test Files 452 passed (452) Tests 9379 passed | 351 skipped (9730)', VERDICT 0. `pnpm --filter @objectstack/rest typecheck`: exit 0. Consumer (wire behaviour changed), after `pnpm --filter @objectstack/rest build`: @objectstack/runtime src/domains/meta-list-projection-parity.test.ts and src/domains/dispatcher-query-arity.test.ts gave 'Test Files 2 passed (2) Tests 1497 passed (1497)', VERDICT 0. The new pins: empty refused (400 VALIDATION_ERROR, no list; sentence head and the 'every form' tail asserted); bracketed object[] and object[0] refused in view's envelope, plus plain+bracketed; control: a real object id lists its 2 forms and view still switches. No ablation beyond the red-on-main run; the behaviour pinned is new.",
"gates": "Local: dispatch-gates --commands at faf560d1 derived 72 families. --ran reconciliation: '72 derived, 68 run, 4 NOT-MEASURED, 0 UNRUN', 68 exit 0. NOT-MEASURED: (1) check-plugin-teardown-shape --self-test exit 3, shallow clone cannot reach pinned commit 621a4876. (2) check:dual-build-cjs-loads exit 3, PREREQUISITE NOT MET (every package's dist). (3) check:query-options-erasure and (4) check:type-check-debt, both killed by my wrapper timeout (exit 124). All four left to CI. Gates that passed include check-adr-0087-registration --base origin/main, check-changeset-no-major, check-empty-changeset, check:nul-bytes, check:slot-lookup (rerun) and check:changeset-gate-self-tests. The record is at /mnt/project-files/card-39612/gates-ran-faf560d1.list. CI check-runs: NOT MEASURED, no PR yet.",
"mcp_calls": "0",
"api_writes": "0 by os-dev; card thread: 2 relay writes (pr_create #39692 with assignee os-tesla; this report comment)",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed. ?object= on /meta/:type list types other than view and form (e.g. page, action) is in META_LIST_QUERY_PARAMS for every type but read only by steps 4 and 4a, so it is accepted and ignored (whole list, 200). ?id= on types other than app is in the same position. This is a code reading (metaListUnknownParamRefusal plus the step 3/4/4a guards); no HTTP measurement, so not class a. Dedupe words: meta list object filter ignored non-view, META_LIST_QUERY_PARAMS per type, id filter ignored non-app"
],
"deviations": "Per the dispatch: no PR, no report comment, no GitHub writes. Two derived-gate loops passed the 600s foreground cap and the harness moved them to the background (against os-dev.md resource rule 5). I waited for both in-turn and both completed before reporting. One stray first command line had a bad redirect path and ran nothing. The changeset carries the ADR-0087 disposition marker 'not-required (no-migration-prescription)'. That is the gate's required HTML-comment form in a repo file; check-adr-0087-registration passed."
}
2026-12-04T14:56Z · zone ot-build · Tidy: PR #39692 merged as 6b551a061a8abe63d37fe3ce378ff17b7132709a after maintainer approval (narrowing handoff 7413784603; L1-a 7413744060, L2 PASS 7413718842); the card closed completed. Follow-up for the other list types: #39708. pm:dispatched removed in this stroke.
Activity
objectstack-fleet commentedon Dec 4, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:package · domain:rest · Bug · p2 · pm:queue · size S, touched 2026-12-04T10:13Z. Rationale: the metadata list door answers inconsistently across types.
GET /meta/form?object=with an empty value lists every form, whileviewandapprefuse the empty filter (refuseEmptyListFilter), and the bracketed spelling has the same gap. A client with an unset id silently gets every object's forms, which is a wrong answer rather than a cosmetic one, so p2 (same family as #38659 and #38977). It is one gate plus its pins, so size S. Not a security matter: the list returns forms the caller may already read, only too many. Issue type set to Bug.Grade: p2 · reach: any client that builds
?object=from an unset id · evidence: measured on #39597's head 420b9c7 (dev report 7407540806, L1-a 7408219215) · claimable.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibvqcHrQpENbRP7eLfU
2026-12-04T12:21Z · zone
ot-buildClaim: PM loop round 2
Session:
session_01L9qibvqcHrQpENbRP7eLfUAccount:
os-teslaBranch:
claude/issue-39612-form-list-empty-filter(a card thread; the zone restates the thread's platform branch in aClaim:amendment once the thread reports it)Worktree:
objectstack-issue-39612Domain:
domain:serverSeat:
repo:objectstack@os-teslaArea: ot-build
File surface:
packages/rest/src/meta-item-read-gate.ts(the form list joinsrefuseEmptyListFilter/refuseBracketedListFilter; call sites only, the file is 5,705 lines) and its pin testContainer & model:
S (one door refusal, narrowing),mode:thread,model: default (dispatch-gates --repo objectstack-ai/objectstack --tier: "no path-derived mandate"),effort: mediumClause-②: no (narrowing)
Metadata-protocol: none
Responsibility:
packages/restmetadata list door (objectstack) | view and app lists already refuse an empty or bracketed filter | any client that builds?object=${id}with an unset id gets every object's forms todayThread-read: 7408414715
Premise: holds (#39597 merged; measured on its harness: form 200 lists every form, view 400 VALIDATION_ERROR)
Pre-claim lane:
domain:server(rest door)Pre-claim deps:
Blocked-by: #39597is merged;check-handover.mjs --inflightstill reads #39566's restatement 7409534214, but its narrowing amendment 7411220326 dropsmeta-item-read-gate.tsand PR #39637 touches no such filePrior rulings read: triage 7408414715; L1-a verdict 7408219215 on #39597 (bracketed spelling)
Serial constraints cleared: #39566 (PR #39637) — no shared file after 7411220326. A narrowing owes one CONTRACT_REVIEW_TIER review before the queue.
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibvqcHrQpENbRP7eLfU
2026-12-04T12:23Z · zone
ot-build· Claim amendment of 7411334118: restated as aClaim:naming the card thread's platform branch (check:closing-target-claimreads theBranch:line of aClaim:comment only); nothing else changesClaim: PM loop round 2
Session:
session_01L9qibvqcHrQpENbRP7eLfUThread session:
session_01L9qibygFKTtFbkC7xCBSUXAccount:
os-teslaBranch:
claude/project-thread-1ni3iwWorktree:
objectstack-issue-39612Domain:
domain:serverSeat:
repo:objectstack@os-teslaArea: ot-build
File surface:
packages/rest/src/meta-item-read-gate.ts(the form list joinsrefuseEmptyListFilter/refuseBracketedListFilter; call sites only, the file is 5,705 lines) and its pin testContainer & model:
S (one door refusal, narrowing),mode:thread,model: default (dispatch-gates --repo objectstack-ai/objectstack --tier: "no path-derived mandate"),effort: mediumClause-②: no (narrowing)
Metadata-protocol: none
Responsibility:
packages/restmetadata list door (objectstack) | view and app lists already refuse an empty or bracketed filter | any client that builds?object=${id}with an unset id gets every object's forms todayThread-read: 7411334118
Premise: holds (#39597 merged; measured on its harness: form 200 lists every form, view 400 VALIDATION_ERROR)
Pre-claim lane:
domain:server(rest door)Pre-claim deps:
Blocked-by: #39597is merged;check-handover.mjs --inflightstill reads #39566's restatement 7409534214, but its narrowing amendment 7411220326 dropsmeta-item-read-gate.tsand PR #39637 touches no such filePrior rulings read: triage 7408414715; L1-a verdict 7408219215 on #39597 (bracketed spelling)
Serial constraints cleared: #39566 (PR #39637) — no shared file after 7411220326. A narrowing owes one CONTRACT_REVIEW_TIER review before the queue.
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibygFKTtFbkC7xCBSUX
os-dev-report
{ "issue": 39612, "status": "done", "branch": "claude/project-thread-1ni3iw", "pr": 39692, "session": "session_01L9qibygFKTtFbkC7xCBSUX", "premise_still_valid": true, "summary": "Pushed faf560d1 to claude/project-thread-1ni3iw (origin/main a92f1ed9 + 1 commit); no PR opened, per the dispatch. The card thread opens it via relay pr_create using /mnt/project-files/card-39612/pr-body-faf560d1.md. Step 4a of createMetaListAnswer (packages/rest/src/meta-item-read-gate.ts), shared by both transports, now calls the existing refuseEmptyListFilter and refuseBracketedListFilter for form. bracketedKeyJudgedByList leaves object[ on form to the list's own sentence. The helpers' `lists` parameter is widened to 'app' | 'view' | 'form', so the refusal says 'list every form you can see'. No new helper. Premise: the empty half holds (200 with every form on main). The bracketed half was partly wrong: on main, form's ?object[]= was already 400 VALIDATION_ERROR from the unknown-parameter check (nested envelope, 'not supported by this endpoint'), never read as no filter. It now gets view's refusal: same status and code, view's flat envelope and sentence. Other list types that read ?object=: only view (step 4) and form (step 4a). No other type is covered by the helper without extra code. CONTRACT_REVIEW_TIER review owed before the queue (narrowing); named in the PR body, not requested.", "tests": "RED on main a92f1ed9 (os-verify-lock, `pnpm --filter @objectstack/rest exec vitest run --maxWorkers=2 src/meta-form-object-filter-39004.test.ts`): VERDICT command-exit 1, 'Tests 2 failed | 5 passed (7)'. Empty case: 'expected [ 200, undefined, false, …(1) ]'. Bracketed case: 'object[]: expected [ 400, undefined, false, undefined ]' (nested envelope). GREEN at faf560d1: the same file plus src/meta-app-publish-gate.test.ts gave 'Test Files 2 passed (2) Tests 42 passed (42)'. `pnpm --filter @objectstack/rest test`: 'Test Files 452 passed (452) Tests 9379 passed | 351 skipped (9730)', VERDICT 0. `pnpm --filter @objectstack/rest typecheck`: exit 0. Consumer (wire behaviour changed), after `pnpm --filter @objectstack/rest build`: @objectstack/runtime src/domains/meta-list-projection-parity.test.ts and src/domains/dispatcher-query-arity.test.ts gave 'Test Files 2 passed (2) Tests 1497 passed (1497)', VERDICT 0. The new pins: empty refused (400 VALIDATION_ERROR, no list; sentence head and the 'every form' tail asserted); bracketed object[] and object[0] refused in view's envelope, plus plain+bracketed; control: a real object id lists its 2 forms and view still switches. No ablation beyond the red-on-main run; the behaviour pinned is new.", "gates": "Local: dispatch-gates --commands at faf560d1 derived 72 families. --ran reconciliation: '72 derived, 68 run, 4 NOT-MEASURED, 0 UNRUN', 68 exit 0. NOT-MEASURED: (1) check-plugin-teardown-shape --self-test exit 3, shallow clone cannot reach pinned commit 621a4876. (2) check:dual-build-cjs-loads exit 3, PREREQUISITE NOT MET (every package's dist). (3) check:query-options-erasure and (4) check:type-check-debt, both killed by my wrapper timeout (exit 124). All four left to CI. Gates that passed include check-adr-0087-registration --base origin/main, check-changeset-no-major, check-empty-changeset, check:nul-bytes, check:slot-lookup (rerun) and check:changeset-gate-self-tests. The record is at /mnt/project-files/card-39612/gates-ran-faf560d1.list. CI check-runs: NOT MEASURED, no PR yet.", "mcp_calls": "0", "api_writes": "0 by os-dev; card thread: 2 relay writes (pr_create #39692 with assignee os-tesla; this report comment)", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed. ?object= on /meta/:type list types other than view and form (e.g. page, action) is in META_LIST_QUERY_PARAMS for every type but read only by steps 4 and 4a, so it is accepted and ignored (whole list, 200). ?id= on types other than app is in the same position. This is a code reading (metaListUnknownParamRefusal plus the step 3/4/4a guards); no HTTP measurement, so not class a. Dedupe words: meta list object filter ignored non-view, META_LIST_QUERY_PARAMS per type, id filter ignored non-app" ], "deviations": "Per the dispatch: no PR, no report comment, no GitHub writes. Two derived-gate loops passed the 600s foreground cap and the harness moved them to the background (against os-dev.md resource rule 5). I waited for both in-turn and both completed before reporting. One stray first command line had a bad redirect path and ran nothing. The changeset carries the ADR-0087 disposition marker 'not-required (no-migration-prescription)'. That is the gate's required HTML-comment form in a repo file; check-adr-0087-registration passed." }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibvqcHrQpENbRP7eLfU
2026-12-04T14:56Z · zone
ot-build· Tidy: PR #39692 merged as6b551a061a8abe63d37fe3ce378ff17b7132709aafter maintainer approval (narrowing handoff 7413784603; L1-a 7413744060, L2 PASS 7413718842); the card closed completed. Follow-up for the other list types: #39708.pm:dispatchedremoved in this stroke.