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
Studio condition builder writes list membership in the spelling the validator now rewrites (after #36340) #36381
Follow-up from #36167 (PR #36340). Found by the L2 record 7076594662 on PR #36340; filed by the seat. Parent: #36167.
What happens
The merged Studio condition builder (#36185) writes list membership as S != null && V in S. PR #36340's own measurement says that spelling faults on a sparse action row and on a null previous. After #36340 the validator (checkListEquality, listMembershipRewrite) prescribes a different, per-site spelling for a record. read. So the builder and the validator now prescribe different spellings for the same site: an author who builds a condition in Studio can get a form the validator would rewrite, or one that faults at run time.
To do
Make the builder emit exactly what listMembershipRewrite prescribes for each site (record-triggered start condition, action row, previous), by calling the same helper rather than restating it.
Fix the checkListEquality docblock's opening line, which still names S != null && V in S as "the prescription" (N1 of the same record).
Acceptance
A test builds a membership condition in the builder at each of the three sites and asserts that the validator accepts it unchanged and that the engine evaluates it without a fault on a sparse row and on a null previous.
Blocked-by: #36340 (the per-site prescription must be on main first)
Grade
p2 · area:build · domain:ui. Two halves of one feature disagree, and a builder-written condition can fault at run time.
Triage: area, pm:blocked (Blocked-by #36340) and p2 stand as filed; rationale: area:build · Bug · the merged Studio condition builder writes list membership as S != null && V in S, a spelling that faults on a sparse action row and a null previous, while the validator after #36340 prescribes a per-site spelling. Follow-up of #36167 → p2 · size S.
Unlock (daily scan): every Blocked-by: target is closed, so pm:blocked → pm:queue; grade unchanged.
Target #36340 merged at 2026-11-22T09:36Z. No newer Blocked-by: line in the thread, no Unlock-action: line, no assignee. Same repository, so no installability check is owed.
Claim: PM loop round 1
Session: session_01L9qibyUSf2nKJWW6qBemSU
Thread session: session_01L9qibvjXfskAqB3a1vHN3s
Account: os-tesla
Branch: claude/project-thread-8sswkc
Worktree: objectstack-issue-36381
Domain: domain:ui
Seat: repo:objectstack#3
File surface: ui/packages/app-shell/src/views/metadata-admin/** (cel-list-membership, ConditionBuilder, flow-edge rows), packages/formula/src/{validate,index}.ts (export + docblock), tests, changesets (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: high
Clause-②: yes if listMembershipRewrite (or a wrapper) is exported from @objectstack/formula — the PR states which
Metadata-protocol: none
Responsibility: platform code in objectstack (Studio condition builder + packages/formula) | the validator prescribes the spelling; the builder restates it wrongly | an admin building a record-triggered or action-row condition in Studio; the written condition faults on a sparse row or a null previous
Thread-read: 7107504131
Premise: holds (flow-edge bare-name site already matches; the divergence is record./previous. reads)
Serial constraints cleared: overlap-check.mjs runs on the thread's first push (branch not yet pushed); no in-flight claim on these files named by any seat
Area: o3-build (dispatched by the seat as a card thread).
{
"issue": 36381,
"status": "done",
"branch": "claude/project-thread-8sswkc",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37846",
"session": "session_01L9qibvjXfskAqB3a1vHN3s",
"premise_still_valid": true,
"summary": "Clause-2 export: @objectstack/formula now exports listMembershipSource(read, member, contains, filterCompiled?) and the ListSubjectRead type; the private list-equality rewrite is that text parenthesised (same bytes, pinned). The Studio ConditionBuilder and the flow-edge rows write membership through it (cel-list-membership.ts picks the site from the subject: rooted read = has()-guarded, bare = != null-guarded), and readListMembership reads the guarded forms back; flow-edge read-back goes through readListMembership. checkListEquality docblock no longer names the unguarded form as the prescription (N1). Premise measured: the old record./previous. text faults (No such key) on a sparse row and on previous null; the bare start-condition text is unchanged. Served tier read via get_session: last_served_model opus-5-5, effort high, matching the order. One test file outside the claim's file surface: ui/packages/app-shell/src/views/studio-design/ObjectValidationsPanel.typedEmptyOps-11894.test.tsx (spelling pin update only).",
"tests": "head e4262fe9: pnpm --dir ui exec vitest run packages/app-shell/src/views/metadata-admin/inspectors/ packages/app-shell/src/views/studio-design/ -> Test Files 530 passed (530), Tests 5613 passed | 1 skipped; pnpm --filter @objectstack/formula test -> Test Files 72 passed (72), Tests 2159 passed; pnpm --filter @objectstack/formula typecheck -> VERDICT command-exit 0. Ablation via scripts/ablation-replace.mjs on cel-list-membership.ts (bare: !subject.includes('.') -> bare: true, i.e. old spelling everywhere; anchor 1->0, blob faed1fb7 -> c2ac8bcf, restored blob == HEAD, git diff HEAD empty): new per-site describe 4 failed / 6 passed (record. and previous. rows red; bare row green as expected).",
"gates": "dispatch-gates --commands at e4262fe9: 69 derived, all run with exit codes; --ran: 67 run, 2 NOT MEASURED (exit 3 prerequisite: check-plugin-teardown-shape --self-test needs an unshallow clone; check:dual-build-cjs-loads needs a full pnpm build), 0 unrun. overlap-check: VERDICT clean exit 0. ui check:new-line-citations: 0 new. NOT MEASURED: @object-ui/app-shell type-check, reason: ui dependency closure unbuilt in container (2131 module-resolution errors, none naming @objectstack/formula); CI Type Check UI is the verdict. PR check-runs: in_progress at report time.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls",
"api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/37846/assignees), post-stamped os-dev-report comment on #36381",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": ["carrier: none · noted, not filed — a sharing rule condition is a filterCompiled site (validator prescribes .contains); the builder is never told a mount is filter-compiled, so a membership built there would be written with in. Not measured whether the generic sharing_rule form offers list subjects; in the PR's Acceptance notes."]
}
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: area,
pm:blocked(Blocked-by #36340) and p2 stand as filed; rationale: area:build · Bug · the merged Studio condition builder writes list membership asS != null && V in S, a spelling that faults on a sparse action row and a nullprevious, while the validator after #36340 prescribes a per-site spelling. Follow-up of #36167 → p2 · size S.objectstack-fleet commentedon Nov 23, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Unlock (daily scan): every
Blocked-by:target is closed, sopm:blocked→pm:queue; grade unchanged.Target #36340 merged at 2026-11-22T09:36Z. No newer
Blocked-by:line in the thread, noUnlock-action:line, no assignee. Same repository, so no installability check is owed.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibvjXfskAqB3a1vHN3sAccount:
os-teslaBranch:
claude/project-thread-8sswkcWorktree:
objectstack-issue-36381Domain:
domain:uiSeat:
repo:objectstack#3File surface:
ui/packages/app-shell/src/views/metadata-admin/**(cel-list-membership, ConditionBuilder, flow-edge rows),packages/formula/src/{validate,index}.ts(export + docblock), tests, changesets (stop on breach; explain in the report)Container & model:
M,mode:thread,model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate",effort: highClause-②: yes if listMembershipRewrite (or a wrapper) is exported from @objectstack/formula — the PR states which
Metadata-protocol: none
Responsibility:
platform code in objectstack (Studio condition builder + packages/formula) | the validator prescribes the spelling; the builder restates it wrongly | an admin building a record-triggered or action-row condition in Studio; the written condition faults on a sparse row or a null previousThread-read: 7107504131
Premise: holds (flow-edge bare-name site already matches; the divergence is record./previous. reads)
Serial constraints cleared:
overlap-check.mjs runs on the thread's first push (branch not yet pushed); no in-flight claim on these files named by any seatobjectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibvjXfskAqB3a1vHN3s
os-dev-report
{ "issue": 36381, "status": "done", "branch": "claude/project-thread-8sswkc", "pr": "https://github.com/objectstack-ai/objectstack/pull/37846", "session": "session_01L9qibvjXfskAqB3a1vHN3s", "premise_still_valid": true, "summary": "Clause-2 export: @objectstack/formula now exports listMembershipSource(read, member, contains, filterCompiled?) and the ListSubjectRead type; the private list-equality rewrite is that text parenthesised (same bytes, pinned). The Studio ConditionBuilder and the flow-edge rows write membership through it (cel-list-membership.ts picks the site from the subject: rooted read = has()-guarded, bare = != null-guarded), and readListMembership reads the guarded forms back; flow-edge read-back goes through readListMembership. checkListEquality docblock no longer names the unguarded form as the prescription (N1). Premise measured: the old record./previous. text faults (No such key) on a sparse row and on previous null; the bare start-condition text is unchanged. Served tier read via get_session: last_served_model opus-5-5, effort high, matching the order. One test file outside the claim's file surface: ui/packages/app-shell/src/views/studio-design/ObjectValidationsPanel.typedEmptyOps-11894.test.tsx (spelling pin update only).", "tests": "head e4262fe9: pnpm --dir ui exec vitest run packages/app-shell/src/views/metadata-admin/inspectors/ packages/app-shell/src/views/studio-design/ -> Test Files 530 passed (530), Tests 5613 passed | 1 skipped; pnpm --filter @objectstack/formula test -> Test Files 72 passed (72), Tests 2159 passed; pnpm --filter @objectstack/formula typecheck -> VERDICT command-exit 0. Ablation via scripts/ablation-replace.mjs on cel-list-membership.ts (bare: !subject.includes('.') -> bare: true, i.e. old spelling everywhere; anchor 1->0, blob faed1fb7 -> c2ac8bcf, restored blob == HEAD, git diff HEAD empty): new per-site describe 4 failed / 6 passed (record. and previous. rows red; bare row green as expected).", "gates": "dispatch-gates --commands at e4262fe9: 69 derived, all run with exit codes; --ran: 67 run, 2 NOT MEASURED (exit 3 prerequisite: check-plugin-teardown-shape --self-test needs an unshallow clone; check:dual-build-cjs-loads needs a full pnpm build), 0 unrun. overlap-check: VERDICT clean exit 0. ui check:new-line-citations: 0 new. NOT MEASURED: @object-ui/app-shell type-check, reason: ui dependency closure unbuilt in container (2131 module-resolution errors, none naming @objectstack/formula); CI Type Check UI is the verdict. PR check-runs: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub calls", "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/37846/assignees), post-stamped os-dev-report comment on #36381", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: none · noted, not filed — a sharing rule condition is a filterCompiled site (validator prescribes .contains); the builder is never told a mount is filter-compiled, so a membership built there would be written with in. Not measured whether the generic sharing_rule form offers list subjects; in the PR's Acceptance notes."] }