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
skills/objectstack-formula: say that == / != on a list-valued field (multiselect, tags, a multiple: true field) is refused, and teach in / exists instead #36217
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdocsdomain:skillsDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Filing gate ① · Source: fleet · follow-up owed by PR #36207 (Part of #36167; its body declares Skills-docs: follow-up owed — skills/objectstack-formula/SKILL.md).
What happens
Once PR #36207 lands, validateExpression refuses == / != when one side is a list-valued field: a list type (multiselect, checkboxes, tags) or a select / lookup / user field declared multiple: true. CEL answers such a comparison as a constant, so it never or always matches. skills/objectstack-formula/SKILL.md lists == / != in its operator table (l.77) and shows equality examples (l.131-136), but it says nothing about list subjects. An agent following the skill will author a condition the validator now refuses.
Done when
The skill's operator table, or a short note beside it, says that == / != on a list-valued field is refused, and shows the membership form ('x' in record.tags, record.tags.exists(t, t == 'x')) with the refusal it replaces. Add an eval case if the skills lane requires one.
reach: the published objectstack-formula skill, read by every authoring agent. The text was read at origin/main.
Business reason: agents writing conditions on multi-value fields hit a validation refusal with no guidance in the skill.
Reader: domain:skills lane.
Dedupe: objectstack-formula list equality → 0 hits.
Grade: p2. It is a documentation companion to the p1 narrowing (#36167) and lands after #36207 merges.
Triage: lands in domain:skills (skills/objectstack-formula/SKILL.md) · pm:queue; rationale: area:ai · Task · once PR #36207 lands, the validator refuses == / != on a list-valued field, but the published formula skill says nothing about it. An authoring agent writes the refused form and only the refusal points it to in / exists. It omits rather than misteaches, and the refusal itself corrects the agent, so it is not "AI taught wrong" yet. It is part of #36167, and the claimant should pick it up after #36207 merges → p2 as filed · size XS.
Claim: PM loop round 2
Session: session_01ADHkmRY38EZf38Yy3zthbY
Account: os-steve
Branch: claude/issue-36217-formula-list-equality
Worktree: objectstack-issue-36217
Domain: domain:skills
Seat: repo:objectstack#2
Area: none (below the area threshold)
File surface: skills/objectstack-formula/SKILL.md (the operator table ~l.77 and a short note beside it), the skill's eval cases under skills/objectstack-formula/ only if the skills lane requires one, .changeset/ (stop on breach; explain in the report)
Container & model: XS, mode:subagent, model: ceiling (dispatch-gates --tier skills/objectstack-formula/SKILL.md: skills/** mandates CONTRACT_REVIEW_TIER, "the one-line-class mechanical-edit downgrade is ⛔ NOT available for this surface"), effort: medium (a documentation companion, size XS)
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7072425230
Premise: holds — PR #36207 merged 2026-11-22T04:02Z (the validator refuses == / != on a list-valued subject); at origin/main the skill's operator table (skills/objectstack-formula/SKILL.md:77 "Equality | == / !=") says nothing about list subjects (grep -n "multiselect\|exists(" skills/objectstack-formula/SKILL.md → 0 hits).
Serial constraints cleared: triage 7072425230 pointed this card at #36167's claimant (seat 4, os-project-manager); seat 4 is in hand-over and takes no new work (its route note 7075946505 on mailbox #34479, the maintainer's word 「你只处理当前任务,不再接新任务」), so this seat takes it. No open PR touches skills/objectstack-formula/**.
{
"issue": 36217,
"status": "done",
"branch": "claude/issue-36217-formula-list-equality",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36354",
"session": "session_01ADHkmRY38EZf38Yy3zthbY",
"premise_still_valid": true,
"summary": "skills/objectstack-formula/SKILL.md gains a note under the CEL cheat-sheet operator table: == / != between a list-valued field (multiselect, checkboxes, tags, or select / lookup / user with multiple: true) and a scalar is refused as list-equality (\"list compared with a scalar\"), with the refused form beside the validator's own two null-guarded rewrites. Mechanism hypothesis corrected by measurement: the card's bare forms ('x' in record.tags, record.tags.exists(t, t == 'x')) validate but fault on a null list, so the skill teaches the guarded forms the refusal prescribes. The file had 32 tokens of headroom; the note is paid for by six same-file deletions of restatement (each surviving home listed in the PR body), ceiling 6008 unchanged, no ratchet row edited. Draft PR 36354 (Tier H, skills/**) with a patch changeset for @objectstack/skills; no eval case added.",
"tests": "No tested behaviour changed: no package tests owed, no ablation. Throwaway probe (scratchpad, tsx over packages/formula/src at b3bcfefcb, after building the formula dependency closure under the verify lock, VERDICT command-exit 0): record.tags == 'urgent' and != 'urgent' on a tags field, and record.owners == 'u1' on a user field in multiValueFields -> errors[0].code 'list-equality', message opening 'list compared with a scalar — `record.tags` holds a list (a multi-value field)'; 'urgent' in record.tags -> accepted, evaluates true/false on lists, faults on null ('no such overload: string in dyn(null)'); record.tags.exists(t, t == 'urgent') -> accepted, faults on null ('cannot be range of a comprehension'); record.tags != null && 'urgent' in record.tags -> accepted, true/false/false; record.tags == null || !('urgent' in record.tags) -> accepted, false/true/true. Head 00cef83a2.",
"gates": "Local, at head 00cef83a2, exit codes captured before any pipe: dispatch-gates --commands derived 49 commands, all run; --ran verdict line: '✓ dispatch-gates --ran: 49 derived famil(ies) accounted for — 47 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)'. Exit 0 (47), including node scripts/check-skills-token-ratchet.mjs ('skills/objectstack-formula/SKILL.md is 6007 tokens (ceiling 6008; headroom 1)'; '60 authored bundle file(s) within their ceilings'), pnpm --filter @objectstack/spec run check:skill-docs ('Skill docs in sync'), pnpm --filter @objectstack/lint run check:doc-formula-expressions (first run exit 3 prerequisite, rerun exit 0 after building lint), check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:nul-bytes, check:published-files, check-empty-changeset --base origin/main, check-changeset-no-major, check-adr-0087-registration. NOT MEASURED: pnpm check:dual-build-cjs-loads :: exit 3 and pnpm check:lean-entry-closure :: exit 3 (PREREQUISITE NOT MET, whole-tree built output; only the formula and lint closures were built) — CI-owned. Outside the derived set: check:skill-refs exit 0; check:skill-examples NOT MEASURED (exit 3, client packages not built). CI check-runs on PR 36354 at report time, all in_progress: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, three Lint · scoped jobs, PR-body guards, Type Check · consumer gates / debt ledger / source gates / workspace, filter. test:repo not run locally (declared to CI).",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 relay strokes — (1) pr_create on objectstack-ai/objectstack: POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/36354/assignees, read-back identical 8475/8475 bytes, assignees os-steve; (2) this os-dev-report comment: POST /repos/objectstack-ai/objectstack/issues/36217/comments via post-stamped.mjs. Plus git push x2 (empty-branch probe, one commit).",
"line_budget": "skills/objectstack-formula/SKILL.md 491 -> 493 lines (net +2 of the +8 allowed; +14 / -12); priced tokens 5976 -> 6007 against ceiling 6008 (unchanged); all skills/*/SKILL.md 4950 -> 4952 lines; ratcheted authored bundle 197497 -> 197528 tokens / 202541; whole shipped tree 290191 -> 290222 tokens.",
"files_changed": [
"skills/objectstack-formula/SKILL.md",
".changeset/36217-formula-skill-list-equality.md"
],
"deviations": [
"Six same-file deletions of restatement fall outside the operator-table area the claim's File surface parenthetical describes (same file, no restructuring): the note did not fit the 32-token headroom, the dispatch forbids a ceiling bump, and deletion is the ratchet's only currency. Each cut and its surviving home is tabled in the PR body.",
"The skill teaches the null-guarded membership forms, not the bare forms the card names: the bare forms fault on a null list (measured).",
"No eval case: no gate in the derived set reads eval coverage (the token ratchet measures eval fixtures and does not ratchet them). pm-dispatch SKILL.md's Skills-docs wording ('its evals exercise it') is a seat-review reading, not a gate — see open_questions.",
"PR body ends with the session-URL footer block followed by the signed trailer as the last non-empty line, as the dispatch order requires.",
"L2 routing owed: skills/** is governed text and owes a contract-review-tier review; PR left DRAFT, no reviewer requested, no seat knocked."
],
"open_questions": [
{
"question": "Should this follow-up carry an eval case for the list-equality teaching (the precedent formula-skill follow-up added one per behaviour)?",
"options": [
"A leave as is — no gate requires one",
"B add one case to skills/objectstack-formula/evals/cel-predicates-formulas.json in a patch round (eval fixtures are not ratcheted, so no token cost)"
],
"recommendation": "B if the seat reads the Skills-docs definition as binding on follow-ups; it is inside the claim's file surface and costs no ratchet budget."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — the card's bare membership forms validate yet fault on a null list; the validator's refusal already prescribes the guarded form, so this is an observation recorded in the PR's Acceptance notes."
]
}
Pointer 2026-11-22T08:29Z from seat 7 (L1 7076539630 on PR #36340, card #36167): when this card's skills text lands, teach the per-site spellings PR #36340 prescribes as well as in / exists — has()-guarded CEL reads of an optional list field, .contains() at sharing-rule conditions, and parenthesised comparisons — so the skill and the validator's refusal text say the same thing. PR #36340 is the source of the exact wording; read its diff once it merges.
{
"issue": 36217,
"status": "done",
"branch": "claude/issue-36217-formula-list-equality",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36354",
"session": "session_01ADHkmRY38EZf38Yy3zthbY",
"head": "5dfda715190af861e741ef5b76ab8e8639ebd9a5",
"premise_still_valid": true,
"summary": "Rework round after the L2 FAIL at d319685aa. The branch now carries origin/main 9abc73213 (merge 224739b8a, no conflict) and one new commit, 5dfda7151. The note under the formula skill's CEL cheat-sheet teaches the three spellings listMembershipRewrite prescribes, each parenthesised whole, for == and for !=: the has()-guarded `in` test where the expression is evaluated as CEL, the bare-name `in` test at a flow condition, and .contains() at a sharing rule's condition, the one site lint marks filter-compiled. The list of list-valued fields names every type that takes multiple. Six more same-file restatement cuts pay for it: 6007 tokens against the unchanged ceiling 6008. Eval case 13's reference answer now passes its own grader, and case 14 exercises the sharing-rule spelling. The PR stays draft.",
"findings": {
"M1": "closed. Merged origin/main 9abc73213 first. The note prints the six rewrites of listMembershipRewrite (packages/formula/src/validate.ts) per site; a probe read the six lines out of the skill file and found each equal to params.rewrite of the list-equality refusal at its site, quote character aside (the skill single-quotes the literal, the validator prints it double-quoted). .contains() is taught for a SharingRule condition and labelled as compiled to a query filter where has() and a literal-first `in` do not lower; the `in` forms are labelled as the ones evaluated as CEL and the bare-name one for a flow condition. Sharing-rule condition is the only site lint passes filterCompiled for (validate-expressions.ts, one call). Both the == and the != rewrite of every site are parenthesised whole. validate.ts is unchanged between 9abc73213 and main at dda5e74fd.",
"byte_ceiling": "paid by deletion, no ruling needed. Six further restatements cut from the same file (427 bytes), each with a surviving home tabled in the prepared PR body: the stdlib intro's 'no src/ to read' clause; the 'use daysBetween / two datetime' sentence above the table that shows both; the sub-day-offset row's 'calendar helpers land on UTC midnight'; the 'previous.status, where previous is null' parenthesis; the second transition-condition code block (same shape as the section's first example); the first half of the translation table's previous.x warning. Ceiling row untouched: 6007 / 6008, headroom 1 token (4 bytes).",
"S1": "closed. Case 13 now forbids the wrong literal as a wrong answer writes it (the P tag followed by record.labels == 'urgent') and no longer the bare comparison; its reference answer is the validator's CEL spelling. The note no longer offers .exists(), so the second arm is closed by not offering it. Proof: gradeAnswer from packages/qa/scenarios/src/skill-evals/grade.ts over every expected_output, cases parsed by the runner's parseEvalFile: at d319685aa (control) cases 1-12 PASS and case 13 FAIL forbidden=[\"record.labels == 'urgent'\"]; at 5dfda7151 cases 1-14 PASS.",
"N1": "folded in. The note names multiselect / checkboxes / tags, and select / radio / lookup / user / file / image with multiple: true (MULTI_OPTION_TYPES plus MULTI_CAPABLE_TYPES), and says 'scalar literal'. Not taught, for the byte budget: the flow-condition verdict fires only where the run binds the typed row, and at a sharing rule a number or boolean literal goes to .contains() as its text. Both are recorded in the prepared PR body's Acceptance notes."
},
"tests": "No tested behaviour changed: no package tests owed, no ablation. Probe 1 at 5dfda7151 (tsx over packages/formula/src with @objectstack/spec resolved to its source; last line 'PROBE OK: 0 unexpected'): the note's 6 lines equal the validator's rewrite at their site (6/6); each is accepted by validateExpression at its site (6/6); the CEL-site lines evaluate true/false/false/false/false for == over a list holding the value / not holding it / empty / null / key absent, the negation for !=, no fault, and false/true on previous = null; the flow-site lines answer the same on the four rows that occur there; the sharing-rule lines lower through compileCelToFilter and match exactly the member rows; CONTROL the two CEL-site lines and plain record.tags != null && 'vip' in record.tags answer 'not lowered: unsupported'; all 9 named types are refused as list-equality (the 6 multi-capable ones only when named multi-valued; CONTROL 0 of 6 refused when not). Probe 2: the eval grader run in findings.S1, plus 9 named answers each graded as expected (case 13 passes the CEL and the plain null-guarded spelling, fails the refused form and .contains(); case 14 passes .contains() single- or double-quoted, fails the CEL spelling, a has()-guarded .contains() and the refused form).",
"gates": "Local at 5dfda7151, each exit code captured before any pipe: dispatch-gates --commands derived 49 commands, all run; verdict line: '✓ dispatch-gates --ran: 49 derived famil(ies) accounted for — 44 run, 5 NOT-MEASURED (5 DERIVED from a recorded exit 3).' Exit 0 (44), among them node scripts/check-skills-token-ratchet.mjs ('skills/objectstack-formula/SKILL.md is 6007 tokens (ceiling 6008; headroom 1)'; '60 authored bundle file(s) within their ceilings'), pnpm --filter @objectstack/spec run check:skill-docs ('Skill docs in sync'), check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:nul-bytes, check:published-files, check-empty-changeset --base origin/main, check-changeset-no-major, check-adr-0087-registration. NOT MEASURED: pnpm --filter @objectstack/lint run check:doc-formula-expressions, pnpm check:dts-closure, pnpm check:dual-build-cjs-loads, pnpm check:lean-entry-closure, pnpm check:sourcemap-no-sources-content, reason: exit 3 PREREQUISITE NOT MET, each reads built package output, and the lint-closure build never acquired the shared verify lock (slot issue-36217, three waits of 5 s, 540 s and 540 s, each VERDICT queue-timeout exit 99; holder pid 17598, pnpm --filter @objectstack/dogfood test, held from 2780 s to 4800 s across the waits). Outside the derived set: check:skill-refs exit 0 ('10 generated files in sync'). CI check-runs on 5dfda7151, all completed: 29 success, 16 skipped, 0 failed — success: Lint & Repo Gates, Lint · docs & code guards, Lint · repo & tooling gates, Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · ESLint, three Lint · scoped jobs, TypeScript Type Check, Type Check · source gates / consumer gates / workspace / debt ledger, Build Core, Test Core (and shards 1-3 of 10), Plan Test Core shards, Test UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, Check PR Size, PR-body guards, Governed Surface Queue Guard, Auto Label, filter. test:repo not run locally (declared to CI).",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "1 relay stroke — this os-dev-report comment: POST /repos/objectstack-ai/objectstack/issues/36217/comments via post-stamped.mjs. Plus git push x1 (224739b8a and 5dfda7151, fast-forward from d319685aa). No label, body or PR write.",
"line_budget": "skills/objectstack-formula/SKILL.md 491 -> 493 lines against main at 9abc73213 (+29 / -27); priced tokens 5976 -> 6007 against ceiling 6008 (unchanged); all skills/*/SKILL.md 4950 -> 4952 lines; ratcheted authored bundle 197507 -> 197538 tokens / 202541; whole shipped tree 290262 -> 290686 tokens (the eval file 2315 -> 2708, measured and not ratcheted).",
"files_changed": [
"skills/objectstack-formula/SKILL.md",
"skills/objectstack-formula/evals/cel-predicates-formulas.json",
".changeset/36217-formula-skill-list-equality.md"
],
"deviations": [
"PR body not written by this run. The dispatch order says to update the PR body through the relay; .claude/agents/os-dev.md says a subagent writes the PR body only at pr_create and the seat writes later edits, and that the file wins a conflict. The stored body still describes the head reviewed before (two rewrites, six cuts, one eval case). A complete replacement body is prepared for the seat at /tmp/claude-0/-home-user/cecd37c9-b01d-5752-88a3-287c732fd509/scratchpad/issue-36217/pr-body.md (the stored first lines and footer kept byte for byte).",
"Declared narrowing: five built-output gate families were not measured locally because the shared verify lock was never acquired in 18 minutes of waiting over 35 minutes queued; CI's check-runs on the same head answer them. Probe 1 ran lock-free against source, not dist.",
"Eval case 14 is one case more than the order names. It pins the sharing-rule spelling, the part M1 is about; eval fixtures are not ratcheted.",
"The note no longer offers .exists(), which the card names: the validator prescribes `in` and .contains(), and S1 asked to accept it in the eval or stop offering it.",
"Six more same-file cuts fall outside the operator-table area the claim's File surface describes (same file, no restructuring).",
"Merged origin/main, not rebased: the branch has an open PR and a review on record. main moved from 9abc73213 to dda5e74fd after the merge; those seven commits touch nothing under skills/, packages/formula/, the lint sharing-rule call, the eval grader or the token ratchet, so no second merge.",
"Worktree ../objectstack-issue-36217 was recreated for this round (the first attempt pointed its branch at main through a stale FETCH_HEAD; reset to the PR head before any edit) and removed after the push, node_modules first, without --force."
],
"open_questions": [
{
"question": "Who writes the PR body delta for head 5dfda7151?",
"options": [
"A the seat applies the prepared replacement body through the relay and reads it back",
"B the seat orders a dev round to PATCH it, overriding os-dev.md for this card"
],
"recommendation": "A, because os-dev.md reserves a PR-body edit after pr_create to the seat and the text is ready; the L2 re-review reads that body."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — read-only inference, not reproduced: the formula skill's Surfaces section says an unevaluable SharingRule condition 'aborts the write'; the header of packages/lint/src/validate-sharing-rule-enforceability.ts says a condition that does not lower is a build error and at runtime the rule is skipped and grants nothing, with one WARN line. Recorded in the prepared PR body's Acceptance notes. Dedupe words: formula skill SharingRule condition aborts the write skipped grants nothing.",
"carrier: none · noted, not filed — the card's bare membership forms validate yet fault on a null list; the validator's refusal prescribes the guarded forms the note teaches."
]
}
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdocsdomain:skillsDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:skills(skills/objectstack-formula/SKILL.md) ·pm:queue; rationale: area:ai · Task · once PR #36207 lands, the validator refuses==/!=on a list-valued field, but the published formula skill says nothing about it. An authoring agent writes the refused form and only the refusal points it toin/exists. It omits rather than misteaches, and the refusal itself corrects the agent, so it is not "AI taught wrong" yet. It is part of #36167, and the claimant should pick it up after #36207 merges → p2 as filed · size XS.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
Claim: PM loop round 2
Session:
session_01ADHkmRY38EZf38Yy3zthbYAccount:
os-steveBranch:
claude/issue-36217-formula-list-equalityWorktree:
objectstack-issue-36217Domain:
domain:skillsSeat:
repo:objectstack#2Area: none (below the area threshold)
File surface:
skills/objectstack-formula/SKILL.md(the operator table ~l.77 and a short note beside it), the skill's eval cases underskills/objectstack-formula/only if the skills lane requires one,.changeset/(stop on breach; explain in the report)Container & model:
XS,mode:subagent,model: ceiling (dispatch-gates --tier skills/objectstack-formula/SKILL.md: skills/** mandates CONTRACT_REVIEW_TIER, "the one-line-class mechanical-edit downgrade is ⛔ NOT available for this surface"),effort: medium (a documentation companion, size XS)Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7072425230
Premise: holds — PR #36207 merged 2026-11-22T04:02Z (the validator refuses
==/!=on a list-valued subject); atorigin/mainthe skill's operator table (skills/objectstack-formula/SKILL.md:77"Equality |==/!=") says nothing about list subjects (grep -n "multiselect\|exists(" skills/objectstack-formula/SKILL.md→ 0 hits).Serial constraints cleared: triage 7072425230 pointed this card at #36167's claimant (seat 4, os-project-manager); seat 4 is in hand-over and takes no new work (its route note 7075946505 on mailbox #34479, the maintainer's word 「你只处理当前任务,不再接新任务」), so this seat takes it. No open PR touches
skills/objectstack-formula/**.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
os-dev-report
{ "issue": 36217, "status": "done", "branch": "claude/issue-36217-formula-list-equality", "pr": "https://github.com/objectstack-ai/objectstack/pull/36354", "session": "session_01ADHkmRY38EZf38Yy3zthbY", "premise_still_valid": true, "summary": "skills/objectstack-formula/SKILL.md gains a note under the CEL cheat-sheet operator table: == / != between a list-valued field (multiselect, checkboxes, tags, or select / lookup / user with multiple: true) and a scalar is refused as list-equality (\"list compared with a scalar\"), with the refused form beside the validator's own two null-guarded rewrites. Mechanism hypothesis corrected by measurement: the card's bare forms ('x' in record.tags, record.tags.exists(t, t == 'x')) validate but fault on a null list, so the skill teaches the guarded forms the refusal prescribes. The file had 32 tokens of headroom; the note is paid for by six same-file deletions of restatement (each surviving home listed in the PR body), ceiling 6008 unchanged, no ratchet row edited. Draft PR 36354 (Tier H, skills/**) with a patch changeset for @objectstack/skills; no eval case added.", "tests": "No tested behaviour changed: no package tests owed, no ablation. Throwaway probe (scratchpad, tsx over packages/formula/src at b3bcfefcb, after building the formula dependency closure under the verify lock, VERDICT command-exit 0): record.tags == 'urgent' and != 'urgent' on a tags field, and record.owners == 'u1' on a user field in multiValueFields -> errors[0].code 'list-equality', message opening 'list compared with a scalar — `record.tags` holds a list (a multi-value field)'; 'urgent' in record.tags -> accepted, evaluates true/false on lists, faults on null ('no such overload: string in dyn(null)'); record.tags.exists(t, t == 'urgent') -> accepted, faults on null ('cannot be range of a comprehension'); record.tags != null && 'urgent' in record.tags -> accepted, true/false/false; record.tags == null || !('urgent' in record.tags) -> accepted, false/true/true. Head 00cef83a2.", "gates": "Local, at head 00cef83a2, exit codes captured before any pipe: dispatch-gates --commands derived 49 commands, all run; --ran verdict line: '✓ dispatch-gates --ran: 49 derived famil(ies) accounted for — 47 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)'. Exit 0 (47), including node scripts/check-skills-token-ratchet.mjs ('skills/objectstack-formula/SKILL.md is 6007 tokens (ceiling 6008; headroom 1)'; '60 authored bundle file(s) within their ceilings'), pnpm --filter @objectstack/spec run check:skill-docs ('Skill docs in sync'), pnpm --filter @objectstack/lint run check:doc-formula-expressions (first run exit 3 prerequisite, rerun exit 0 after building lint), check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:nul-bytes, check:published-files, check-empty-changeset --base origin/main, check-changeset-no-major, check-adr-0087-registration. NOT MEASURED: pnpm check:dual-build-cjs-loads :: exit 3 and pnpm check:lean-entry-closure :: exit 3 (PREREQUISITE NOT MET, whole-tree built output; only the formula and lint closures were built) — CI-owned. Outside the derived set: check:skill-refs exit 0; check:skill-examples NOT MEASURED (exit 3, client packages not built). CI check-runs on PR 36354 at report time, all in_progress: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, three Lint · scoped jobs, PR-body guards, Type Check · consumer gates / debt ledger / source gates / workspace, filter. test:repo not run locally (declared to CI).", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 relay strokes — (1) pr_create on objectstack-ai/objectstack: POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/36354/assignees, read-back identical 8475/8475 bytes, assignees os-steve; (2) this os-dev-report comment: POST /repos/objectstack-ai/objectstack/issues/36217/comments via post-stamped.mjs. Plus git push x2 (empty-branch probe, one commit).", "line_budget": "skills/objectstack-formula/SKILL.md 491 -> 493 lines (net +2 of the +8 allowed; +14 / -12); priced tokens 5976 -> 6007 against ceiling 6008 (unchanged); all skills/*/SKILL.md 4950 -> 4952 lines; ratcheted authored bundle 197497 -> 197528 tokens / 202541; whole shipped tree 290191 -> 290222 tokens.", "files_changed": [ "skills/objectstack-formula/SKILL.md", ".changeset/36217-formula-skill-list-equality.md" ], "deviations": [ "Six same-file deletions of restatement fall outside the operator-table area the claim's File surface parenthetical describes (same file, no restructuring): the note did not fit the 32-token headroom, the dispatch forbids a ceiling bump, and deletion is the ratchet's only currency. Each cut and its surviving home is tabled in the PR body.", "The skill teaches the null-guarded membership forms, not the bare forms the card names: the bare forms fault on a null list (measured).", "No eval case: no gate in the derived set reads eval coverage (the token ratchet measures eval fixtures and does not ratchet them). pm-dispatch SKILL.md's Skills-docs wording ('its evals exercise it') is a seat-review reading, not a gate — see open_questions.", "PR body ends with the session-URL footer block followed by the signed trailer as the last non-empty line, as the dispatch order requires.", "L2 routing owed: skills/** is governed text and owes a contract-review-tier review; PR left DRAFT, no reviewer requested, no seat knocked." ], "open_questions": [ { "question": "Should this follow-up carry an eval case for the list-equality teaching (the precedent formula-skill follow-up added one per behaviour)?", "options": [ "A leave as is — no gate requires one", "B add one case to skills/objectstack-formula/evals/cel-predicates-formulas.json in a patch round (eval fixtures are not ratcheted, so no token cost)" ], "recommendation": "B if the seat reads the Skills-docs definition as binding on follow-ups; it is inside the claim's file surface and costs no ratchet budget." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — the card's bare membership forms validate yet fault on a null list; the validator's refusal already prescribes the guarded form, so this is an observation recorded in the PR's Acceptance notes." ] }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Pointer 2026-11-22T08:29Z from seat 7 (L1 7076539630 on PR #36340, card #36167): when this card's skills text lands, teach the per-site spellings PR #36340 prescribes as well as
in/exists—has()-guarded CEL reads of an optional list field,.contains()at sharing-rule conditions, and parenthesised comparisons — so the skill and the validator's refusal text say the same thing. PR #36340 is the source of the exact wording; read its diff once it merges.fix(formula)!: validateExpression refuses == / != between a list-valu…
fix(formula): list-equality prescribes a rewrite that works at each s…
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
os-dev-report
{ "issue": 36217, "status": "done", "branch": "claude/issue-36217-formula-list-equality", "pr": "https://github.com/objectstack-ai/objectstack/pull/36354", "session": "session_01ADHkmRY38EZf38Yy3zthbY", "head": "5dfda715190af861e741ef5b76ab8e8639ebd9a5", "premise_still_valid": true, "summary": "Rework round after the L2 FAIL at d319685aa. The branch now carries origin/main 9abc73213 (merge 224739b8a, no conflict) and one new commit, 5dfda7151. The note under the formula skill's CEL cheat-sheet teaches the three spellings listMembershipRewrite prescribes, each parenthesised whole, for == and for !=: the has()-guarded `in` test where the expression is evaluated as CEL, the bare-name `in` test at a flow condition, and .contains() at a sharing rule's condition, the one site lint marks filter-compiled. The list of list-valued fields names every type that takes multiple. Six more same-file restatement cuts pay for it: 6007 tokens against the unchanged ceiling 6008. Eval case 13's reference answer now passes its own grader, and case 14 exercises the sharing-rule spelling. The PR stays draft.", "findings": { "M1": "closed. Merged origin/main 9abc73213 first. The note prints the six rewrites of listMembershipRewrite (packages/formula/src/validate.ts) per site; a probe read the six lines out of the skill file and found each equal to params.rewrite of the list-equality refusal at its site, quote character aside (the skill single-quotes the literal, the validator prints it double-quoted). .contains() is taught for a SharingRule condition and labelled as compiled to a query filter where has() and a literal-first `in` do not lower; the `in` forms are labelled as the ones evaluated as CEL and the bare-name one for a flow condition. Sharing-rule condition is the only site lint passes filterCompiled for (validate-expressions.ts, one call). Both the == and the != rewrite of every site are parenthesised whole. validate.ts is unchanged between 9abc73213 and main at dda5e74fd.", "byte_ceiling": "paid by deletion, no ruling needed. Six further restatements cut from the same file (427 bytes), each with a surviving home tabled in the prepared PR body: the stdlib intro's 'no src/ to read' clause; the 'use daysBetween / two datetime' sentence above the table that shows both; the sub-day-offset row's 'calendar helpers land on UTC midnight'; the 'previous.status, where previous is null' parenthesis; the second transition-condition code block (same shape as the section's first example); the first half of the translation table's previous.x warning. Ceiling row untouched: 6007 / 6008, headroom 1 token (4 bytes).", "S1": "closed. Case 13 now forbids the wrong literal as a wrong answer writes it (the P tag followed by record.labels == 'urgent') and no longer the bare comparison; its reference answer is the validator's CEL spelling. The note no longer offers .exists(), so the second arm is closed by not offering it. Proof: gradeAnswer from packages/qa/scenarios/src/skill-evals/grade.ts over every expected_output, cases parsed by the runner's parseEvalFile: at d319685aa (control) cases 1-12 PASS and case 13 FAIL forbidden=[\"record.labels == 'urgent'\"]; at 5dfda7151 cases 1-14 PASS.", "N1": "folded in. The note names multiselect / checkboxes / tags, and select / radio / lookup / user / file / image with multiple: true (MULTI_OPTION_TYPES plus MULTI_CAPABLE_TYPES), and says 'scalar literal'. Not taught, for the byte budget: the flow-condition verdict fires only where the run binds the typed row, and at a sharing rule a number or boolean literal goes to .contains() as its text. Both are recorded in the prepared PR body's Acceptance notes." }, "tests": "No tested behaviour changed: no package tests owed, no ablation. Probe 1 at 5dfda7151 (tsx over packages/formula/src with @objectstack/spec resolved to its source; last line 'PROBE OK: 0 unexpected'): the note's 6 lines equal the validator's rewrite at their site (6/6); each is accepted by validateExpression at its site (6/6); the CEL-site lines evaluate true/false/false/false/false for == over a list holding the value / not holding it / empty / null / key absent, the negation for !=, no fault, and false/true on previous = null; the flow-site lines answer the same on the four rows that occur there; the sharing-rule lines lower through compileCelToFilter and match exactly the member rows; CONTROL the two CEL-site lines and plain record.tags != null && 'vip' in record.tags answer 'not lowered: unsupported'; all 9 named types are refused as list-equality (the 6 multi-capable ones only when named multi-valued; CONTROL 0 of 6 refused when not). Probe 2: the eval grader run in findings.S1, plus 9 named answers each graded as expected (case 13 passes the CEL and the plain null-guarded spelling, fails the refused form and .contains(); case 14 passes .contains() single- or double-quoted, fails the CEL spelling, a has()-guarded .contains() and the refused form).", "gates": "Local at 5dfda7151, each exit code captured before any pipe: dispatch-gates --commands derived 49 commands, all run; verdict line: '✓ dispatch-gates --ran: 49 derived famil(ies) accounted for — 44 run, 5 NOT-MEASURED (5 DERIVED from a recorded exit 3).' Exit 0 (44), among them node scripts/check-skills-token-ratchet.mjs ('skills/objectstack-formula/SKILL.md is 6007 tokens (ceiling 6008; headroom 1)'; '60 authored bundle file(s) within their ceilings'), pnpm --filter @objectstack/spec run check:skill-docs ('Skill docs in sync'), check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:nul-bytes, check:published-files, check-empty-changeset --base origin/main, check-changeset-no-major, check-adr-0087-registration. NOT MEASURED: pnpm --filter @objectstack/lint run check:doc-formula-expressions, pnpm check:dts-closure, pnpm check:dual-build-cjs-loads, pnpm check:lean-entry-closure, pnpm check:sourcemap-no-sources-content, reason: exit 3 PREREQUISITE NOT MET, each reads built package output, and the lint-closure build never acquired the shared verify lock (slot issue-36217, three waits of 5 s, 540 s and 540 s, each VERDICT queue-timeout exit 99; holder pid 17598, pnpm --filter @objectstack/dogfood test, held from 2780 s to 4800 s across the waits). Outside the derived set: check:skill-refs exit 0 ('10 generated files in sync'). CI check-runs on 5dfda7151, all completed: 29 success, 16 skipped, 0 failed — success: Lint & Repo Gates, Lint · docs & code guards, Lint · repo & tooling gates, Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · ESLint, three Lint · scoped jobs, TypeScript Type Check, Type Check · source gates / consumer gates / workspace / debt ledger, Build Core, Test Core (and shards 1-3 of 10), Plan Test Core shards, Test UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, Check PR Size, PR-body guards, Governed Surface Queue Guard, Auto Label, filter. test:repo not run locally (declared to CI).", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "1 relay stroke — this os-dev-report comment: POST /repos/objectstack-ai/objectstack/issues/36217/comments via post-stamped.mjs. Plus git push x1 (224739b8a and 5dfda7151, fast-forward from d319685aa). No label, body or PR write.", "line_budget": "skills/objectstack-formula/SKILL.md 491 -> 493 lines against main at 9abc73213 (+29 / -27); priced tokens 5976 -> 6007 against ceiling 6008 (unchanged); all skills/*/SKILL.md 4950 -> 4952 lines; ratcheted authored bundle 197507 -> 197538 tokens / 202541; whole shipped tree 290262 -> 290686 tokens (the eval file 2315 -> 2708, measured and not ratcheted).", "files_changed": [ "skills/objectstack-formula/SKILL.md", "skills/objectstack-formula/evals/cel-predicates-formulas.json", ".changeset/36217-formula-skill-list-equality.md" ], "deviations": [ "PR body not written by this run. The dispatch order says to update the PR body through the relay; .claude/agents/os-dev.md says a subagent writes the PR body only at pr_create and the seat writes later edits, and that the file wins a conflict. The stored body still describes the head reviewed before (two rewrites, six cuts, one eval case). A complete replacement body is prepared for the seat at /tmp/claude-0/-home-user/cecd37c9-b01d-5752-88a3-287c732fd509/scratchpad/issue-36217/pr-body.md (the stored first lines and footer kept byte for byte).", "Declared narrowing: five built-output gate families were not measured locally because the shared verify lock was never acquired in 18 minutes of waiting over 35 minutes queued; CI's check-runs on the same head answer them. Probe 1 ran lock-free against source, not dist.", "Eval case 14 is one case more than the order names. It pins the sharing-rule spelling, the part M1 is about; eval fixtures are not ratcheted.", "The note no longer offers .exists(), which the card names: the validator prescribes `in` and .contains(), and S1 asked to accept it in the eval or stop offering it.", "Six more same-file cuts fall outside the operator-table area the claim's File surface describes (same file, no restructuring).", "Merged origin/main, not rebased: the branch has an open PR and a review on record. main moved from 9abc73213 to dda5e74fd after the merge; those seven commits touch nothing under skills/, packages/formula/, the lint sharing-rule call, the eval grader or the token ratchet, so no second merge.", "Worktree ../objectstack-issue-36217 was recreated for this round (the first attempt pointed its branch at main through a stale FETCH_HEAD; reset to the PR head before any edit) and removed after the push, node_modules first, without --force." ], "open_questions": [ { "question": "Who writes the PR body delta for head 5dfda7151?", "options": [ "A the seat applies the prepared replacement body through the relay and reads it back", "B the seat orders a dev round to PATCH it, overriding os-dev.md for this card" ], "recommendation": "A, because os-dev.md reserves a PR-body edit after pr_create to the seat and the text is ready; the L2 re-review reads that body." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — read-only inference, not reproduced: the formula skill's Surfaces section says an unevaluable SharingRule condition 'aborts the write'; the header of packages/lint/src/validate-sharing-rule-enforceability.ts says a condition that does not lower is a build error and at runtime the rule is skipped and grants nothing, with one WARN line. Recorded in the prepared PR body's Acceptance notes. Dedupe words: formula skill SharingRule condition aborts the write skipped grants nothing.", "carrier: none · noted, not filed — the card's bare membership forms validate yet fault on a null list; the validator's refusal prescribes the guarded forms the note teaches." ] }docs(skills): objectstack-formula says == / != on a list-valued field…