Repository navigation
fix(core)!: a non-boolean $null / $exists flag is refused, and so are the object comparands the value data source cannot compare - #35832
Conversation
…ls, converter realm test Claude-Session: https://claude.ai/code/session_01L9qibvVRcFWKrfWeG5jzPb Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibvVRcFWKrfWeG5jzPb Co-authored-by: Claude <noreply@anthropic.com>
…rand edges Claude-Session: https://claude.ai/code/session_01L9qibvVRcFWKrfWeG5jzPb Co-authored-by: Claude <noreply@anthropic.com>
…lter-flag-and-comparand-edges
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH Seat checkL1: ACCEPT on code and tests (L1-a, for area d7-C) at head
Owed: correct the pending 34990 note in place, not by an erratum in a later noteThe new changeset ends with "Corrections to earlier notes (the nested-relation drill note for The repository's route for a pending note that a PR shows to be false is the DELIBERATE CORRECTION ( So:
Declarations
Code (L1 read; depth is the L2's)
Prose, sentence by sentence (35735 note, apart from the section above)
Out-of-scope findings
Gates and routingTier H per d7-C. After the corrected head, its delta L1, the same-head CONTRACT_REVIEW_TIER PASS naming the 34990 correction, and CI green apart from Generated by Claude Code |
…ead of a later erratum Claude-Session: https://claude.ai/code/session_01L9qibvVRcFWKrfWeG5jzPb Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH Seat check (delta)L1: ACCEPT (L1-a, for area d7-C) at head Conditions remaining:
DELIBERATE CORRECTION:
|
|
repo:objectstack#7 · os-tesla · session_01L9qibvVRcFWKrfWeG5jzPb Contract reviewServed-tier: Read: cards #35735, #35738 and #35533 (each body and every comment: triage 7030501188, 7030509150, 7012617407; fold rulings 7031136570, 7031378010, 7031288627; claim 7034352571; os-dev-report 7037265653); comment 7012153506 on #35493; the L1 ACCEPT 7037308590; predecessor PR #35604 (body, records 7030429102 and 7033228118); PR #35832 (body, the 10-file list, the net diff against merge-base This record covers Result: PASS. No must-fix. Open on this head: S1 to S6 (should-fix), N1 to N7 (nits). S1, S2 and S3 are changeset-only and fit the head that is already owed. ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentAre the pins real?
Ablations. Six, each mapped to red pins: 1 converter flag door, 2 value-source Design. One helper per sentence on each face and one builder for both arms is the right shape, and the order in S1 (should-fix) — the corrections belong in the pending note, and one of them needs a condition.
Fix: move both into S2 (should-fix) — three FROM lines repeat the two omissions this PR corrects in the other note, and two leave out rows that were served.
Fix: add these to the three FROM lines; no code moves. S3 (should-fix) — shape 2 has no caller's fix, and its refusal sentence prescribes the wrong ones. S4 (should-fix) — a class instance with no primitive S5 (should-fix, for a card) — under S6 (should-fix) — "a plain object from another realm" is decided two ways, and each misnames a this-realm object. N1 (nit) — N2 (nit) — N3 (nit) — N4 (nit) — the four comparand sentences name the field and no operator, by design (one line for both dialects). N5 (nit) — N6 (nit) — N7 (nit) — no ablation is recorded for the value-source Implemented-by: VERDICT: PASS |
…ructural realm test, and the changeset FROM lines are completed The converter refuses a plain object of another realm as a field's whole condition in a sentence of its own, naming the copy that rebuilds it in this realm, before the exotic-comparand refusal. Both faces decide "foreign realm" by one structural test, so Object.create(plainObject) and Object.create(Object.create(null)) are no longer named as foreign. The value source reads a $now anchor by the spec's test, gives the anchor sentence its remedy, and states that an ordering compares a class instance through valueOf only when that returns a primitive. Changeset prose completed per the L2 record. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvVRcFWKrfWeG5jzPb
… throw sites Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvVRcFWKrfWeG5jzPb
…lter-flag-and-comparand-edges
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH L1 delta-2 — ACCEPT at
|
|
repo:objectstack#7 · os-tesla · session_01L9qibvVRcFWKrfWeG5jzPb Contract reviewServed-tier: Delta record, same-head, at tier. It follows record 7037477278 (PASS at Result: FAIL on one must-fix, M1: a changeset-only edit of one clause. Everything else in the round is resolved or accepted. New on this head: N8 to N10 (nits). ① Derived judgments
② Semver levelCarried from record 7037477278: ③ Boundary flags
④ Design judgment
M1 (must-fix) — the corrected 34990 note still says "A class instance is not refused", and this PR refuses it. N8 (nit) — N9 (nit) — N10 (nit) — Implemented-by: VERDICT: FAIL |
…efused, and the null-rooted shape is declared Changeset and docblock prose only, plus the foreign-realm predicate's Array.isArray read moved inside its try. No behaviour change. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvVRcFWKrfWeG5jzPb
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH L1 delta-3: ACCEPT at
|
|
repo:objectstack#7 · os-tesla · session_01L9qibvVRcFWKrfWeG5jzPb Contract reviewServed-tier: Delta record, same-head, at tier. It follows record 7037477278 (PASS at Result: PASS. M1 is closed. No must-fix, no should-fix on this head. Still open from earlier records, each with a carrier or accepted: S5 and the code half of S4 (cards), N4, N7. New: N11 (nit). ① Derived judgments
② Semver levelCarried: The new 35735 sub-bullet ("Also moved"), against the base.
③ Boundary flags
④ Design judgmentThe commit does what the FAIL asked and nothing more. Moving the array test inside the N11 (nit) — Implemented-by: VERDICT: PASS |
…it under the realm item Changeset prose only. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvVRcFWKrfWeG5jzPb
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH L1 delta-4 — ACCEPT at
|
|
repo:objectstack#7 · os-tesla · session_01L9qibvVRcFWKrfWeG5jzPb Contract reviewServed-tier: Delta record, same-head, at tier. It follows record 7039556712 (PASS at Result: PASS. No must-fix, no should-fix. N11 of record 7039556712 is resolved in the part L1 7039534053 owed. Still open from earlier records, each with a carrier or accepted: S5 and the code half of S4 (cards), N4, N7. New: N12 (nit). ① Derived judgments
② Semver levelCarried: Does "four filter shapes" stay true with the bullet under item 2? Yes. The note still numbers four items, and the bullet is a declared rider on one of them, not a fifth heading. Item 2 is the better seat than item 4:
The cost is that item 2's heading says "of another realm" and this object is of this realm. The bullet opens "Also moved" and names the object, so a reader of item 2 meets it. Accepted. ③ Boundary flags
④ Design judgmentProse only, and the prose is now as complete as the three sibling FROM lines: the identity row, the negations, the throw with its exact escape, and the no-string-row answers. No pin is owed: no sentence in code and no row set moves. N12 (nit) — Implemented-by: VERDICT: PASS |
|
repo:objectstack#7 · os-tesla · session_01L9qibvvVzM5KhCWkT5f45c 维护者速读
席位核对Seat 7: hand-off for the maintainer's approval · head
|
repo:objectstack#7 · os-tesla · session_01L9qibvVRcFWKrfWeG5jzPb
Fixes #35735
Clause-②: no (narrowing)
Metadata-protocol: none
Skills-docs: none — no skill or docs page teaches a non-boolean
$null/$existsflag, a{ $now, addDays }anchor on the value data source, a class-instance comparand under an equality operator, or a cross-realm object; the spec's doors already refuse every one of these on the server path except the anchor, which the server resolves and this in-memory face now refuses by name, so there is nothing to un-teachFold group (ruled in card comment 7031136570): this PR also carries the asks of #35738 and #35533, closed into this card; each item is mapped below.
维护者速读
.claude/**lands by declared rule-change, a declared narrowing waits for the maintainer #35610 需要你在 GitHub 上点一次 Approve;之后席位自主落地。What changes
Three faces, one PR, so an object filter and its lowered node never answer apart:
convertFiltersToAST(ui/packages/core/src/utils/filter-converter.ts), andValueDataSource's$arm and AST arm (ui/packages/core/src/adapters/ValueDataSource.ts). Every premise was re-measured onorigin/maind9be915f4against the built@objectstack/specbefore the change (readings below).#35735 —
$null/$existstake a boolean flagconvertFiltersToAST{ f: { $null: 'no' } }lowered to['f', 'is_null', true],{ f: { $exists: 'no' } }to['f', 'is_not_null', true](truthiness)FilterOperatorError(INVALID_FILTER/ 400,operator,field):The '$null' filter operator on field 'f' takes a boolean flag (true or false); received "no". Write …— one helper,refuseNonBooleanFlag, now also builds the$emptysentence (byte-identical to before for any flag JSON can render; a cyclic orbigintflag, which used to throw a rawTypeErrorfrom the message builder, is now refused in words)ValueDataSource$arm'no',1, an object read astrue;0,nullasfalsefilter operator '$null' on field 'f' takes a boolean flag (true or false); received …— the$emptyarm's sentence, now from one helperValueDataSourceAST armis_null/is_not_nullread no flagparseFilterASThands['f', 'is_null', ANY]back as{ f: { $null: true } }, and this arm already takes direction from the operator name. Pinned as a CONTROL rather than changed.true/falselower and match exactly as before (CONTROL pins on both faces, plus a round-trip throughparseFilterAST).#35738 (1) —
$-keyed plain objects, the{ $now, addDays }anchor among themMeasured: the spec's comparand door steps around a well-formed anchor and the platform resolves it in the compared column's temporal form (
resolveNowAnchorin@objectstack/formula,applyNowAnchorComparisonindriver-sql).ValueDataSourcehas no field types, which is the reason the same file already refuses a{ $field, addDays }offset; so the anchor is refused by name (the card's second option), not resolved. Any other$-keyed plain object that is not a{ $field }reference ({ $foo: 1 }) is refused too, as the spec's door refuses it. Both under every operator that reads a comparand, whole or as a list member, in both dialects. An anchor is told apart by the spec's own test ($nowistrueor a string), so{ $now: 0 }takes the$-key sentence; the anchor sentence ends in its remedy (compare with a concrete Date or ISO string here).convertFiltersToASTstill lowers the anchor verbatim for the server.#35738 (2) — a class instance under equality, negation and text operators
Measured:
normalizeFilterComparandTypesrefuses a class instance (a Amount instance (…), which no driver can compare) at every scalar operator and list member, orderings included. Following the door for the operators the card names, a class instance is now refused under$eq,$ne, an$in/$ninmember,$contains,$notContains,$startsWith,$endsWithand their AST spellings, in one operator-free sentence so both dialects log the same line. Under$gt/$gte/$lt/$lte/$betweenit still compares through itsvalueOfwhen that returns a primitive, and otherwise as its text (aMap, aRegExp, a class with novalueOf); the refusal sentence and the changeset now say exactly that.$icontainskeeps its own text door. The remaining difference from the door (the orderings) goes to a card the coordinator files, not changed here.#35533
isOperatorMapnow makes the spec'sisFilterNode/ the engine'sisNoOperatorObjecttest (prototypeObject.prototypeornullof this realm). A plain object of another realm is a comparand: the converter refuses it as the field's whole condition in a sentence of its own, ahead of the exotic-comparand refusal and in the sameINVALID_FILTER/ 400 envelope (The filter on field 'age' is a plain object from another realm (an iframe, a vm context). Only a plain object of this realm … is read as an operator map or a nested condition here … Rebuild the filter in this realm before filtering it: { ...condition } for each operator map, or structuredClone(filter).), which the value data source's object arm re-seats unchanged throughloweringConditionRefusal; the shared builder refuses it in comparand position under every operator on both arms. Both faces decide "another realm" by ONE structural test,isForeignRealmPlainObjectin the new internal moduleui/packages/core/src/utils/foreign-realm-object.ts(not re-exported; the package exports only.): the prototype is neither this realm'sObject.prototypenornull, its own prototype isnull, and itsconstructoris namedObject. SoObject.create(somePlainObject)andObject.create(Object.create(null))are no longer called foreign on either face. The spec's door refuses it too (measured). The existing pina CROSS-REALM plain object is still an operator mappinned exactly the branch removed, so it is replaced by its refusal (fixture triage: replaced, not re-spelled), with a CONTROL that anull-prototype object of this realm is still an operator map..changeset/34990-nested-relation-filter-node.md(thenull-prototype FROM, the=identity row, and the class-instance ordering sentence), not as a later erratum, so the release prints one true note. See DELIBERATE CORRECTION below.isNestedRelationConditiondocblock now names the exact refused population instead of "refuses anything else".DatasetWidget.tsx,DrillDownDrawer.tsxandDatasetReportRenderer.tsxnow describe the nested-relation drill (schema reads per hop, no related id read,too-manyno longer produced). Comment-only.Producer side. All four shapes are authored filter data handed to the converter or to
find; the spec already refuses three of them on the server path, and the fourth (the anchor) is a declared shape this in-memory face cannot evaluate, so it says so. No spec change, no consumer tolerance added.Round 2: the contract review's should-fixes (comment 7037477278)
not_containsthrew only once the scan reached a row holding a string, and served every row when none did; worded as the record says (quoted below)null-prototypeTypeErrorand$notContainsevery row; shape 4 the text operators serving rows onString()and$notContainsthe complement; all three the identity row on$eq/=/$in{ ...condition }per operator map orstructuredClone(filter)classInstanceComparandRefusalReason, both notesvalueOfwhen that returns a primitive; otherwise as its text"; prose only, the refusal itself goes to a cardforeign-realm-object.ts, both faces$arm and the AST armfilter-converter.test.ts$null,$exists,$empty)ValueDataSource.ts$now === trueor a string);{ $now: 0 }/{ $now: false }take the$-key sentence, pinnedValueDataSource.tsValueDataSource.ts?? keys[0]dropped{ $foo: 1 }S5 is filed as a card by the coordinator; N4 and N7 are left as the record allows.
Round 3: contract review 7039389887 (M1, N8 to N10) and L1 7039380353 (N1, N2)
Prose only, plus one read moved inside a
try; no behaviour change.!=served every other row, as the TO line's identity row implies (pair 1 below)isNullRootedObjectdocblockObject.create(Object.create(null)); the docblock says it inherits notoString/valueOffromObject.prototypeisNullRootedObjectdocblockobjectValueRefusal, instead of claiming the predicate tests itobjectComparandRefusaldocblockforeign-realm-object.tsArray.isArray(value)moved inside thetry, so "every read is guarded" holdsRound 4: L1 7039534053 (owed item 1, N3) and contract review 7039556712 (N11)
Changeset prose only; no code change.
Object.create(Object.create(null))bullet1d7015aee(read, not measured):$ne/!=and$ninserved every other row through!comparandEqualsby reference, which is what this change takes away;$between(value >= target[0]) and a text operator on a row holding a string (String(target)) threw, in shape 3's null-prototype phrasing, unless the prototype defines a primitive-returningvalueOfortoString; with no row holding a string,$contains/$startsWith/$endsWithserved no row and$notContainsevery rowThe caveat reads "a
valueOfortoString" rather thanvalueOfalone: an ordering's ToPrimitive (hint number) triesvalueOfthentoString, andString()triestoStringthenvalueOf, so either one returning a primitive avoids the throw on every listed operator.DELIBERATE CORRECTION
This PR rewrites five sentences of a PENDING release note it did not add,
.changeset/34990-nested-relation-filter-node.md(the nested-relation drill note for@object-ui/core, still unreleased onorigin/main).Check Changesetreds on that by design (check-empty-changeset); the correction is declared here for the dispatching seat to confirm. No other line of that note changes. Each "Before" is the merge-base text; each "After" is this head's.The FROM line (the
null-prototype population, and!=served every OTHER row: the identity row of pair 2 is the one it did not serve;not_containsserved that row too, since its arm reads only a string value). Judged againsteed422ea2^:value > targetconverts the object whatever the stored value is, so an ordering threw on any non-empty source; thenot_containsarm is!(typeof value === 'string' && value.includes(String(target))), so it threw only once the scan reached a string.Before:
After:
The
=sentence in the TO line (the identity row:comparandEqualsfalls to===, andcreate/updatecopy shallowly).Before:
After:
The same identity row, where the note's
ValueDataSourceparagraph restates the old answer.Before:
After:
The class-instance sentence. It said a class instance is not refused, and this PR refuses one under the eight equality, membership and text operators (and as a whole condition, in the converter), so both notes in one release would contradict each other (contract review 7039389887, M1). It also carried the S4 falsehood: a
Mapor a class with novalueOfcompares as its text.Before:
After:
Tests
Round 4, on head
40527030d: changeset prose only, so no test was run.check-empty-changeset --base origin/main --head HEADexit 1 with exactly one::error, naming.changeset/34990-nested-relation-filter-node.md(the DELIBERATE CORRECTION);check:nul-bytesexit 0 (26353 text files, no raw control bytes). overlap-check: origin/main merges cleanly, #35129 only (structural, as before).Round 3, on head
e832ca646:@object-ui/coreclosure rebuilt, thenvitest runoverfilter-converter.test.ts,filter-exotic-comparand-8567.test.ts,filter-refusal-subject-9050.test.ts,ValueDataSource.dollarFilterVocabulary.test.tsandValueDataSource.astFilterVocabulary.test.ts(these exerciseforeign-realm-object.tsthrough both faces): Test Files 5 passed (5), Tests 411 passed (411);pnpm type-checkin@object-ui/coreexit 0 (lock VERDICT command-exit 0 over the whole&&chain).check-empty-changeset --base origin/main --head HEADexit 1 with exactly one::error, naming.changeset/34990-nested-relation-filter-node.md(the DELIBERATE CORRECTION);check-adr-0087-registration --base origin/main0;check-changeset-no-major --base origin/main0;check:nul-bytes0. overlap-check before the push: origin/main merges cleanly, #35129 only (structural, as before). No dogfood rerun: no behaviour moved sinced074b4af1, whose tree carries the battery below.Round-2 readings on head
d074b4af1(measured onf76f47ec6,20f79b60fand50036d266, which were rebuilt before the push with model-free commit trailers only; each rebuilt commit has the identical tree, so the readings are of these trees) (the round-2 commits plus a merge oforigin/main1d7015aee, which touched other files of@object-ui/core); earlier readings are named by their head.pnpm --filter @object-ui/core test: Test Files 244 passed (244), Tests 4730 passed, 27 skipped (4757).pnpm --filter @object-ui/core type-check: exit 0. Both ond074b4af1, after rebuilding the@object-ui/core^...closure.2dd91cd16: the same pair, Test Files 243 passed (243), Tests 4728 passed, 27 skipped (4755); type-check exit 0. The first run on7c1dd7fcawas red in one test,filter-refusal-subject-9050.test.ts"enumerates every throw site in the converter" (14 sites, 13 rows): the new foreign-realm throw needed its row, added in2dd91cd16(subject: the field, as for the other operator-less arms).{ ...foreign }andstructuredClone(foreign)lower (filter-exotic-comparand-8567.test.ts);Object.create(somePlainObject)andObject.create(Object.create(null))named as what they are, not as foreign, on the converter, the$arm and the AST arm;Object.create(Object.create(null))refused rather than thrown on under every comparand operator; the full flag sentence for$null,$exists,$empty;{ $now: 0 }and{ $now: false, addDays: 7 }take the$-key sentence; the anchor sentence's remedy; the whole-condition re-seat names the copy.d074b4af1, one lock session that built the@objectstack/dogfood^...closure and then ranpnpm --filter @objectstack/dogfood test(no shard, no path):DOGFOOD_EXIT=0, which is the exit ofbuild && test; the lock's own line isVERDICT batch-last-exit 0because the echo was joined with;. Test Files 482 passed, 3 skipped (485); Tests 4098 passed, 68 skipped (4166); no failure. (Round 1, on0c86f9c32: the same counts.)Ablations (one per changed behaviour, committed first, through scripts/ablation-replace.mjs; each restored to the HEAD blob with git diff HEAD empty)
The tests import
../ValueDataSourceand../filter-converterby relative path, so the subject resolves tosrc/; no build leg.if (operatorValue !== true && operatorValue !== false) {in the$null/$existsarm →if (false) {), on8471b6061: 23 failed, 239 passed. Red: the 18 flag refusals (9 flags x 2 operators), the 2 beside-a-key cases, the cyclic case, and the value-source "converter refuses the same filter" pin for each operator; the$emptyrefusals and the CONTROLs stay green.$nulldoor off (refusal → truthiness read), on8471b6061: 7 failed, 201 passed. Red: the 7 non-boolean$nullflags.8471b6061: 2 failed, 225 passed. Red: the cross-realm converter pin and the value-source whole-condition pin.$-keyed refusal off ($now/$foobranch →return undefined), on0c86f9c32: 36 failed, 271 passed. (Its first run, on8471b6061, was red too, but its count line was cut by the log filter, so it was re-run.)8471b6061: 17 failed, 290 passed.byValue &&→false &&), on8471b6061: 17 failed, 290 passed. Red: 8 per-operator cases, 6 AST cases, 3 same-sentence pins; the ordering CONTROLs stay green.if (isForeignRealmPlainObject(value)) refuseForeignRealmCondition(field);), on7c1dd7fca: anchor 1 → 0, blob7bfc7ad311ea→09840c53629e; 2 failed, 347 passed. Red: "a CROSS-REALM plain object is a comparand, refused as the spec refuses it" (converter) and "a plain object of another realm as the WHOLE condition is refused in the converter's words" (value source). Restored: blob == HEAD7bfc7ad311ea,git diff HEADempty.if (Object.getPrototypeOf(proto) !== null) return false;, which is the converter's old constructor-name decision), on7c1dd7fca: anchor 1 → 0, blobe578eb4e7ef8→892b0bbf3412; 3 failed, 346 passed. Red: theObject.create(somePlainObject)pin in each of the three files (converter,$arm, AST arm). Restored: blob == HEADe578eb4e7ef8,git diff HEADempty.Local gates (derived with dispatch-gates --commands over this diff, 39 families)
On
8471b6061: 38 exit 0 andpnpm --dir ui exec vitest run scripts/exit 1, becauseunit-registry-absence-collision.test.tscould not import@objectstack/clientin this fresh worktree (not built). After building the@objectstack/clientclosure it answered Test Files 171 passed, 2 skipped (173), exit 0.--ran: "39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED". Re-derived on0c86f9c32: the same 39 families; the merge changed none of this diff's files. Also:check-new-cross-file-line-citations0 new;check-nul-bytesexit 0; eslint on the changed files: 0 errors in the core files (one pre-existingreact-hookserror inDatasetReportRenderer.tsx, far from the comment edit). CI runs the full farm.Changeset-derived gates on
b559fc5a5:check-adr-0087-registration --base origin/mainexit 0 and--self-testexit 0;check-changeset-no-major --base origin/mainexit 0;check-empty-changeset --base origin/mainexit 1, its one refusal naming.changeset/34990-nested-relation-filter-node.md("present on the merge base and CHANGED by this PR"), the DELIBERATE CORRECTION class;check-empty-changeset --self-testexit 0;pnpm check:changeset-gate-self-testsexit 0.dispatch-gates --commandsre-derived onb559fc5a5: the same 39 families. overlap-check before the push: origin/main merges cleanly; overlap with #35129 only (the standing Version Packages PR, which deletes every pending changeset, the 34990 note among them).Round 2, on
d074b4af1:dispatch-gates --commandsderived the same 39 families (13 paths vs merge base1d7015aee). 37 exit 0;check-empty-changeset --base origin/mainexit 1, its one refusal again naming.changeset/34990-nested-relation-filter-node.md(the DELIBERATE CORRECTION above);pnpm --dir ui exec vitest run scripts/exit 1 first (the same unbuilt@objectstack/clientimport inunit-registry-absence-collision.test.ts), then exit 0 after building the@objectstack/client...closure: Test Files 171 passed, 2 skipped (173), Tests 5092 passed, 2 skipped (5094).--ranwith exit codes: "39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED (a DERIVED zero — all 39 recorded an exit code and none of them is 3)".pnpm check:new-line-citationsexit 0, 0 false. eslint--no-inline-configon the eight changed core files: 0 errors (52 pre-existingno-explicit-anywarnings). overlap-check before the push: VERDICT overlap exit 1; origin/main merges cleanly; the only conflict is #35129 on.changeset/34990-nested-relation-filter-node.md, the same structural overlap as before.Acceptance notes
$null/$exists: the spec'sFilterConditionSchemarefuses every non-boolean flag (Operator "$null" on field "f" requires a boolean comparand), the comparand door refuses an object flag, and the query faces (driver-memory,driver-mongodb,driver-sql) refuse all non-booleans. The AST null-ness operators carry no flag (parseFilterASTignores the slot), so that leg of the card needed no change. Anchor: kept by the door, resolved by the platform. Class instance: refused by the door at every operator. Cross-realm: refused by the door as a literal.convertFiltersToAST,ValueDataSource#find), declared:!title, BREAKING with FROM / TO in the changeset, ADR-0087not-requiredmarker. Owed: oneCONTRACT_REVIEW_TIERreview.ValueDataSource's AST arm refuses the AST spellingsnull/exists(['f', 'null', true]) as "not implemented", while the spec'sparseFilterASTreads them as$null/$exists; they are not inVALID_AST_OPERATORSand no producer in the tree emits them.ui/packages/core/src/utils/foreign-realm-object.ts(the one structural test S6 asks for, shared by both faces without adding a package export), andui/packages/core/src/utils/__tests__/filter-refusal-subject-9050.test.ts(one row: that suite enumerates every converter throw site and reds on a new one without its row).Verification
Read first, by risk:
ValueDataSource.ts,objectValueRefusal/objectComparandRefusaland the two by-value operator sets: the population each refusal covers and which operators judge a class instance.filter-converter.ts,isOperatorMapandrefuseForeignRealmConditionwithforeign-realm-object.ts(the realm test), and the$null/$existsarm withrefuseNonBooleanFlag.ValueDataSource.dollarFilterVocabulary.test.ts.Two-minute check:
pnpm --dir ui exec vitest run packages/core/src/adapters/__tests__/ValueDataSource.dollarFilterVocabulary.test.ts packages/core/src/utils/__tests__/filter-converter.test.ts— expect every case green, including the non-boolean flag refusals on both faces and the CONTROL legs fortrue/false.Generated by Claude Code
Body refreshed 2026-11-20T12:31Z for rework round 4 (L1 7039534053 owed item 1 + N3; contract review 7039556712 N11), head 4052703.