Skip to content

Commit f6b7520

Browse files
fix(spec): conformance-case notes and names state each decision in words instead of a tracker number (stage 6) (#21593)
Part of #20749 Clause-②: no Stage 6 of the `domain:spec` lane's share of the runtime-string burn-down (ruling `5902360492`, form D): class (c), the case notes and names of the eight shared conformance modules in `packages/spec/src`, with the two test seams that bind their text. Every rewritten note or name now states in words what the cited decision was, or drops a citation its sentence already explained. Text only. ## What changed - **58 messages / 68 tracker ids / 40 distinct cards** in eight modules: `contracts/metadata-service-roundtrip-conformance.ts` and, in `data/`, `aggregation-conformance.ts`, `filter-comparand-type-conformance.ts`, `filter-logic-conformance.ts`, `filter-text-conformance.ts`, `filter-text-operator-declared-type.ts`, `temporal-conformance.ts`, `value-roundtrip-conformance.ts`. Fifty-two are `note` / `why` texts and six are case names. - **The selector seam** (`packages/lint/src/validate-empty-combinators.test.ts:275`): selects the same four empty-combinator cases by a phrase the rewritten notes carry instead of `#5322` (A3 below). - **The name-pin seam** (`packages/services/service-analytics/src/__tests__/icontains-dialect-sql.test.ts:369`): pins the renamed infix `icontains` case verbatim, the same strength (A4 below). - One `@objectstack/spec` **patch** changeset, `Clause-②: no`: the conformance tables ship in the package's `dist` (measured: the new note text is in `dist/data/index.mjs`; the two test files ship nowhere, since `@objectstack/lint` and `@objectstack/service-analytics` publish `dist` only and neither dist carries the seam text, with the package's own symbols as the positive control). - No generated artifact moves (`check:generated` green; the tables are values behind annotated types, so the API surface is unchanged). ## Census at the base (A1) Stage 3's instrument (`census.cjs`, byte-identical copy, md5 `e5fe562290fcd1ac392bd560cb86d861`) at base `cc645f2385`: class (c) is **58 messages / 68 ids in 8 files, 40 distinct cards**, exactly stage 3's count (the `[c-SELECTOR]` 4 / 7 and `[c-NAMEPIN]` 1 / 1 rows included). Under the ~60-card bar, so one stage. Lines are the base's. | file (under `packages/spec/src`) | line:id | messages / ids | field | consumer | |:--|:--|--:|:--|:--| | `contracts/metadata-service-roundtrip-conformance.ts` | 194:#6725 · 202:#6725 · 280:#7378 · 296:#7378 · 304:#7378 | 5 / 5 | `why` | none prints it: both runners title a row by its `id`; the text is a reader's note in the shared table | | `data/aggregation-conformance.ts` | 342:#6409 · 398:#11065,#11151 · 407:#11065 · 417:#11152 419:#11249 · 535/550/561:#15546 · 577/596:#6401 | 9 / 11 | `note` | the assertion message in the driver-memory, driver-sql, driver-turso, driver-sqlite-wasm, objectql and mongodb-translation suites | | `data/filter-comparand-type-conformance.ts` | 153:#7956 · 160:#7872 · 272/282/289:#19757 (names) · 178:#5234 · 191:#6050 (notes) | 7 / 7 | 5 `name`, 2 `note` | names are test titles in five driver suites and in `filter-save-door-face-parity.test.ts`; notes are assertion messages | | `data/filter-logic-conformance.ts` | 339/362:#3774 · 420:#5322 · 426:#5322,#5134 · 432/438:#5322,#5297 · 470:#5298 · 476:#5146 · 503/509:#5298,#13356 · 539:#5299,#5962 · 561/567/573/579/595:#20444 | 16 / 22 | `note` | the assertion message in the eleven filter-logic harnesses; **the one selector**: `validate-empty-combinators.test.ts:275` picks the four `#5322` notes | | `data/filter-text-conformance.ts` | 300:#8934 (name) · 309:#8934 · 349:#6518,#6682 · 428:#4706 · 436:#5710,#6993 · 452:#5240 | 6 / 8 | 1 `name`, 5 `note` | names are test titles in the text-conformance suites; **the one name pin**: `icontains-dialect-sql.test.ts:369`; notes are assertion messages | | `data/filter-text-operator-declared-type.ts` | 392:#8296 · 553:#8371 · 554:#8296 | 3 / 3 | `note` | the assertion message in `engine-text-operator-declared-type-door.test.ts` | | `data/temporal-conformance.ts` | 211:#3773 · 215/216:#3777 · 220:#20600 (row `why`) · 270:#3777 · 393:#3773 · 448/457:#1874 · 549:#3994 (case `note`) | 9 / 9 | 4 `why`, 5 `note` | a row `why` is seeded as DATA into each harness's `why` string column (never filtered on); a case `note` is an assertion message | | `data/value-roundtrip-conformance.ts` | 213:#11535 · 225/226:#11782 | 3 / 3 | `note` | printed in the TEST TITLE `round-trips NAME (NOTE)` in five driver suites | No non-test code reads any of these texts (every `.note` / `.why` read outside a test is another table's: `RETIRED_FILTER_OPERATORS`, the driver-conformance ledger). ## Delivered (A2): each site, the decision as read, the new words Each cited card was read with its body and every comment; the decision column names the record (comment id, or the landing record where the card carries none). Line = the base line of the edit anchor. "Old → new" shows only the words that changed. | file:line | ids | decision as read | old → new | |:--|:--|:--|:--| | `contracts/metadata-service-roundtrip-conformance.ts:194` | #6725 | #6725: card answers 404 here; landing record: changesets 1507ba3 / bbee302 (objectql and spec CHANGELOGs): MetadataFacade.register('object') wrote into a map none of its own object reads consulted | #6725 would have failed → that catches an object write landing in a store none of the object reads consult — the hole a shipped implementation once fell through | | `contracts/metadata-service-roundtrip-conformance.ts:202` | #6725 | #6725: card answers 404 here; landing record: changesets 1507ba3 / bbee302 (objectql and spec CHANGELOGs): MetadataFacade.register('object') wrote into a map none of its own object reads consulted | produced #6725 → let an object write land in the generic store while every object read looked elsewhere | | `contracts/metadata-service-roundtrip-conformance.ts:280` | #7378 | #7378: maintainer ruling 5261734580 (2026-08-12): row 1 refuse a name/data.name disagreement, row 2 one answer converged with check:meta-type-normalized, row 3 refuse non-object data | #7378, maintainer 2026-08-12, row 1 → maintainer 2026-08-12, row 1 of the round-trip ruling | | `contracts/metadata-service-roundtrip-conformance.ts:296` | #7378 | #7378: maintainer ruling 5261734580 (2026-08-12): row 1 refuse a name/data.name disagreement, row 2 one answer converged with check:meta-type-normalized, row 3 refuse non-object data | #7378, maintainer 2026-08-12, row 2 → maintainer 2026-08-12, row 2 of the round-trip ruling | | `contracts/metadata-service-roundtrip-conformance.ts:304` | #7378 | #7378: maintainer ruling 5261734580 (2026-08-12): row 1 refuse a name/data.name disagreement, row 2 one answer converged with check:meta-type-normalized, row 3 refuse non-object data | #7378, maintainer 2026-08-12, row 3 → maintainer 2026-08-12, row 3 of the round-trip ruling | | `data/aggregation-conformance.ts:342` | #6409 | #6409: card body, executing the #6188 split ruling: count_distinct stays declared and is enforced as distinct non-null values on the SQL family | #6409: → count_distinct was kept and enforced on every face, as distinct non-null values: | | `data/aggregation-conformance.ts:398` | #11065 #11151 | #11065: card answers 404 here; landing record: driver-memory changeset 2095040: avg/sum over a boolean answer the same numbers as every SQL face (a boolean is worth 1 or 0) · #11151: PR #12819 (triage 5446817173): driver-mongodb's boolean aggregand answers the ruled values too | #11065/#11151: an arithmetic accumulator that drops booleans answers its identity 0 here — a plausible number, which → A boolean aggregand is worth 1 or 0 on every face — driver-memory and then driver-mongodb were both moved onto that answer: an arithmetic accumulator that drops booleans answers its identity 0 here — a plausible number, which | | `data/aggregation-conformance.ts:407` | #11065 | #11065: card answers 404 here; landing record: driver-memory changeset 2095040: avg/sum over a boolean answer the same numbers as every SQL face (a boolean is worth 1 or 0) | #11065: the rate-over-a-flag-column shape (an SLA-violation rate, a win rate). → The rate-over-a-flag-column shape (an SLA-violation rate, a win rate) that driver-memory answered null for until it counted a boolean as 1 or 0. | | `data/aggregation-conformance.ts:417` | #11152 #11249 | #11152: maintainer ruling 2026-08-28, option A (changeset f6fa22c in the driver CHANGELOGs; decision request 5446817173): booleans aggregate as numbers, min/max answer 0/1 · #11249: ruling 5386670755 (false/true for min/max over a boolean), superseded by #11152's 2026-08-28 ruling | #11152 ruling (2026-08-28): booleans aggregate as numbers with no per-aggregate exception, so the order statistics answer 0/1 in the same domain sum/avg answer in — not false/true (#11249, superseded) → Ruled 2026-08-28: booleans aggregate as numbers with no per-aggregate exception, so the order statistics answer 0/1 in the same domain sum/avg answer in — not the false/true an earlier ruling had chosen, which this one superseded | | `data/aggregation-conformance.ts:535` | #15546 | #15546: ruling 5572006116 (option A): a non-empty group whose aggregand is NULL in every row sums to 0 on every face | #15546: → Ruled: a non-empty group whose aggregand is NULL in every row sums to 0. | | `data/aggregation-conformance.ts:550` | #15546 | #15546: ruling 5572006116 (option A): a non-empty group whose aggregand is NULL in every row sums to 0 on every face | #15546: the reachability control for the → The reachability control for the all-NULL-sums-to-0 | | `data/aggregation-conformance.ts:561` | #15546 | #15546: ruling 5572006116 (option A): a non-empty group whose aggregand is NULL in every row sums to 0 on every face | #15546: the partial-null control → The partial-null control for the same ruling | | `data/aggregation-conformance.ts:577` | #6401 | #6401: dev report 5229051388 (PR #6849): GroupByNode.alias is enforced, not removed; every SQL face projects the group under alias ?? field | #6401: t → A structured group node's `alias` names the projected group column on every face — the SQL faces that ignored it were made to honour it. T | | `data/aggregation-conformance.ts:596` | #6401 | #6401: dev report 5229051388 (PR #6849): GroupByNode.alias is enforced, not removed; every SQL face projects the group under alias ?? field | #6401: the degenerate alias. Its twin above → The degenerate alias, under the same every-face `alias` rule. Its twin above | | `data/filter-comparand-type-conformance.ts:153` | #7956 | #7956: ACCEPT 5264821447: a measurement only; its control cell ({qty: {$eq: 100}}) returned the row on every driver, so the zeros were real answers | #7956 control cell → control cell of the cross-driver comparand-type measurement | | `data/filter-comparand-type-conformance.ts:160` | #7872 | #7872: maintainer ruling 5265944890 and ACCEPT 5273103599 (PR #8234): a shared comparand-type door; a safe-range bigint narrows to its exact number, beyond 2^53 is refused | (#7872) → at the shared comparand door | | `data/filter-comparand-type-conformance.ts:178` | #5234 | #5234: ACCEPT 5217619370 (PR #6296): a non-$field object member of $in/$nin and an object LIKE comparand are refused; each member is judged on its own | right (#5234) → right, each judged like a scalar comparand | | `data/filter-comparand-type-conformance.ts:191` | #6050 | #6050: ruling B 5211349926: an undefined comparand is refused loudly; null keeps its meaning as the null predicate | (#6050's untouched half) — → — the half left untouched when an undefined comparand was ruled a loud refusal — so | | `data/filter-comparand-type-conformance.ts:272` | #19757 | #19757: ruling 5793368540 (letter 乙): an array in the implicit-equality slot is refused at the shared face, for every driver at once | (#19757) → at the shared face | | `data/filter-comparand-type-conformance.ts:282` | #19757 | #19757: ruling 5793368540 (letter 乙): an array in the implicit-equality slot is refused at the shared face, for every driver at once | (#19757) → at the shared face | | `data/filter-comparand-type-conformance.ts:289` | #19757 | #19757: ruling 5793368540 (letter 乙): an array in the implicit-equality slot is refused at the shared face, for every driver at once | too (#19757) → too, at the shared face | | `data/filter-logic-conformance.ts:339` | #3774 | #3774: defect: driver-sql OR-ed a $or branch's own keys and operators; rule: everything inside one filter object ANDs at every depth (card body) | #3774: compiled → A $or combines its branches, never the keys inside one: a driver that OR-ed a branch's own keys compiled this | | `data/filter-logic-conformance.ts:362` | #3774 | #3774: defect: driver-sql OR-ed a $or branch's own keys and operators; rule: everything inside one filter object ANDs at every depth (card body) | #3774: a single-key branch is miscompilable too — the operator map is looped with the same → A single-key branch is miscompilable too — that driver looped the operator map with the same OR | | `data/filter-logic-conformance.ts:420` | #5322 | #5322: maintainer ruling 5185589944: every face reduces an empty combinator to its boolean identity ($and:[] all rows, $or:[] none, {} TRUE, $not:{} none), whole tree | #5322: a → Ruled: every face reduces an empty combinator to its boolean identity. A | | `data/filter-logic-conformance.ts:426` | #5322 #5134 | #5322: maintainer ruling 5185589944: every face reduces an empty combinator to its boolean identity ($and:[] all rows, $or:[] none, {} TRUE, $not:{} none), whole tree · #5134: defect repaired by PR #5243 (ACCEPT 5178806144): driver-sql dropped an empty $and/$or group instead of applying the boolean identity; empty $or and empty $not now compile to FALSE | #5322/#5134: a disjunction of zero conditions matches nothing. Fail-closed for an RLS scope — a disjunct list that loops to zero items hides every row instead of exposing the table → Ruled: every face reduces an empty combinator to its boolean identity. A disjunction of zero conditions matches nothing. Fail-closed for an RLS scope — a disjunct list that loops to zero items hides every row instead of exposing the table, as a SQL lowering that dropped the empty group once did | | `data/filter-logic-conformance.ts:432` | #5322 #5297 | #5322: maintainer ruling 5185589944: every face reduces an empty combinator to its boolean identity ($and:[] all rows, $or:[] none, {} TRUE, $not:{} none), whole tree · #5297: dispatch 5184116664: read-scope-sql's { $not: {} } compiled to nothing (an RLS scope with no WHERE) and dropped a {} disjunct; both aligned to the boolean identity | #5322: collapsing to the surviving branches instead compiles `a = x` — a silently NARROWED scope (#5297) → Ruled: every face reduces an empty combinator to its boolean identity, so `{}` is a TRUE disjunct. Collapsing to the surviving branches instead compiles `a = x` — a silently NARROWED scope, the answer the RLS read-scope compiler gave until it was aligned | | `data/filter-logic-conformance.ts:438` | #5322 #5297 | #5322: maintainer ruling 5185589944: every face reduces an empty combinator to its boolean identity ($and:[] all rows, $or:[] none, {} TRUE, $not:{} none), whole tree · #5297: dispatch 5184116664: read-scope-sql's { $not: {} } compiled to nothing (an RLS scope with no WHERE) and dropped a {} disjunct; both aligned to the boolean identity | #5322: emitting nothing for it runs the query UNSCOPED — on an RLS lowering that is a permission bypass (#5297) → Ruled: every face reduces an empty combinator to its boolean identity, so NOT of `{}` is FALSE. Emitting nothing for it runs the query UNSCOPED — on an RLS lowering that is a permission bypass, which the read-scope compiler was until it compiled this to an always-false clause | | `data/filter-logic-conformance.ts:470` | #5298 | #5298: ruling 5202271174 (option A, confirmed 5204511921 item 4): $ne / $nin / $notContains are NULL-safe on the non-negated path, a no-value row is included | #5298 → Ruled NULL-safe on every face | | `data/filter-logic-conformance.ts:476` | #5146 | #5146: maintainer ruling 5181102507: $not is NULL-safe on every driver; a row with no value does not satisfy the negated condition, so the negation returns it | #5146: the same ruling reached through the combinator → The same NULL-safe ruling reached through the combinator, where it was first made for `$not` itself | | `data/filter-logic-conformance.ts:503` | #5298 | #5298: ruling 5202271174 (option A, confirmed 5204511921 item 4): $ne / $nin / $notContains are NULL-safe on the non-negated path, a no-value row is included | #5298 option A → Ruled NULL-safe | | `data/filter-logic-conformance.ts:503` | #13356 | #13356: PR #13356: driver-memory's reference matcher realigned so a no-value row satisfies $nin / $notContains | PR #13356 → it was realigned to the ruling | | `data/filter-logic-conformance.ts:509` | #5298 | #5298: ruling 5202271174 (option A, confirmed 5204511921 item 4): $ne / $nin / $notContains are NULL-safe on the non-negated path, a no-value row is included | #5298 option A → Ruled NULL-safe | | `data/filter-logic-conformance.ts:509` | #13356 | #13356: PR #13356: driver-memory's reference matcher realigned so a no-value row satisfies $nin / $notContains | PR #13356 → it was realigned to the ruling | | `data/filter-logic-conformance.ts:539` | #5299 #5962 | #5299: ruling 5219858433 item 2, kept by 5238865560: $exists means has a value (non-null), never key-presence, since SQL cannot tell a missing key from null · #5962: PR #5962 (ACCEPT 5205011148 on #5298): the NULL-safe operators and the $exists has-a-value reading shipped | #5299 cell 2 / #5962: `$exists` means HAS A VALUE, never key-presence → Ruled: `$exists` means HAS A VALUE, never key-presence, because SQL cannot tell a missing key from a stored null | | `data/filter-logic-conformance.ts:561` | #20444 | #20444: card body executing ruling A on #20399 (5865693155): every compile surface answers $empty by the field's declared type; $empty: false is the exact complement | #20444: null is empty on every row of the ruled table → Every face answers `$empty` by the field's declared type, and null is empty under every type's arm | | `data/filter-logic-conformance.ts:567` | #20444 | #20444: card body executing ruling A on #20399 (5865693155): every compile surface answers $empty by the field's declared type; $empty: false is the exact complement | #20444: the exact complement → `$empty: false` is the exact complement by ruling | | `data/filter-logic-conformance.ts:573` | #20444 | #20444: card body executing ruling A on #20399 (5865693155): every compile surface answers $empty by the field's declared type; $empty: false is the exact complement | #20444: `$empty` spells its NULL case out, so it → The ruled `$empty` arms spell their NULL case out, so `$empty` | | `data/filter-logic-conformance.ts:579` | #20444 | #20444: card body executing ruling A on #20399 (5865693155): every compile surface answers $empty by the field's declared type; $empty: false is the exact complement | #20444: → Under the same declared-type arms, | | `data/filter-logic-conformance.ts:595` | #20444 | #20444: card body executing ruling A on #20399 (5865693155): every compile surface answers $empty by the field's declared type; $empty: false is the exact complement | #20444: a face that lowers `$empty` → A face that lowers `$empty` to the field's declared-type arm | | `data/filter-text-conformance.ts:300` | #8934 | #8934: ruling A 5305708745: icontains joins the view and infix vocabularies; ilike/$ilike and icontains/$icontains are never aliased onto each other | #8934 → ruled never an alias of ilike | | `data/filter-text-conformance.ts:309` | #8934 | #8934: ruling A 5305708745: icontains joins the view and infix vocabularies; ilike/$ilike and icontains/$icontains are never aliased onto each other | capability (#8934) → capability, ruled when `icontains` joined the view and infix vocabularies | | `data/filter-text-conformance.ts:349` | #6518 #6682 | #6518: ACCEPT 5226386725 (PR #6706): the SQL family's $contains family is case-exact (GLOB on the SQLite dialects), per #4706 Q2 = A · #6682: ACCEPT 5251849449 and the memory half: the hardcoded case-folding flag came off driver-mongodb and driver-memory, the last two folding faces | match. SQLite's LIKE folds ASCII — the defect #6518 replaced with GLOB on the SQLite dialects; a JS backend's equivalent is a RegExp carrying the `i` flag, which #6682 took off → match: the `$contains` family is case-sensitive on every backend, by ruling. SQLite's LIKE folds ASCII — the defect the SQL family replaced with GLOB on the SQLite dialects; a JS backend's equivalent is a RegExp carrying the `i` flag, since taken off driver-memory and driver-mongodb, | | `data/filter-text-conformance.ts:428` | #4706 | #4706: ruling B 5199214776: $regex retired under ADR-0049 with a loud refusal naming the replacement, $icontains added | #4706 retired the operator over → `$regex` was retired over, by ruling, with a loud refusal naming `$icontains` | | `data/filter-text-conformance.ts:436` | #5710 #6993 | #5710: ACCEPT 5201171068 (PR #5812): plugin-auth's adapter stopped emitting bare $regex for better-auth contains, unblocking the $regex retirement · #6993: ACCEPT 5231388316 (PR #7054): the expired status claims were re-measured by executing each face (2026-08) and rewritten | #5710 flipped that producer before any backend enrolled this case (re-verified 2026-08, #6993 → That producer was moved off `$regex` before any backend enrolled this case (re-verified 2026-08 by executing each face | | `data/filter-text-conformance.ts:452` | #5240 | #5240: maintainer ruling 5181107825: { field: {} } is refused loudly (INVALID_FILTER) on every backend, not read as TRUE or FALSE | #5240 refused `{ field: {} }` over → for which a field with zero operators, `{ field: {} }`, is refused by ruling | | `data/filter-text-operator-declared-type.ts:392` | #8296 | #8296: standing ruling recorded in 5277439872: a where on a formula field is refused (INVALID_FIELD 400) because no driver materialises the column | #8296 door refuses EVERY formula filter with INVALID_FIELD 400 whatever the `returnType` → unmaterializable-field door refuses EVERY formula filter with INVALID_FIELD 400 whatever the `returnType` (no driver stores a formula column) | | `data/filter-text-operator-declared-type.ts:553` | #8371 | #8371: ruling 5300373151 (option 2): a type-directed verdict on the dotted head segment; the structured/JSON head stays deliberately unjudged | unjudged there, #8371 → left unjudged there, by ruling | | `data/filter-text-operator-declared-type.ts:554` | #8296 | #8296: standing ruling recorded in 5277439872: a where on a formula field is refused (INVALID_FIELD 400) because no driver materialises the column | #8296 → the unmaterializable-field door | | `data/temporal-conformance.ts:211` | #3773 | #3773: defect: SQLite read an epoch-ms Field.datetime as a Julian day so date buckets were NULL; repaired by storage-aware bucketing (card body; cross-update 5099832227 on #3777) | (#3773) → as SQLite bucketing once did | | `data/temporal-conformance.ts:215` | #3777 | #3777: defect: a bare-day $lte on a datetime column stopped at midnight and dropped the rest of the final day; the bound keeps the whole day (card body; 5099832227) | by the #3777 bug → when a bare-day upper bound stopped at midnight | | `data/temporal-conformance.ts:216` | #3777 | #3777: defect: a bare-day $lte on a datetime column stopped at midnight and dropped the rest of the final day; the bound keeps the whole day (card body; 5099832227) | by the #3777 bug → when a bare-day upper bound stopped at midnight | | `data/temporal-conformance.ts:220` | #20600 | #20600: triage direction 5886142901, landed PR #20643: the whole-day bound past 9999-12-31 is unbounded above and the drivers compile none | (#20600) → and none is compiled | | `data/temporal-conformance.ts:270` | #3777 | #3777: defect: a bare-day $lte on a datetime column stopped at midnight and dropped the rest of the final day; the bound keeps the whole day (card body; 5099832227) | #3777: the default dashboard window → The default dashboard window, whose bare-day $lte keeps the whole final day | | `data/temporal-conformance.ts:393` | #3773 | #3773: defect: SQLite read an epoch-ms Field.datetime as a Julian day so date buckets were NULL; repaired by storage-aware bucketing (card body; cross-update 5099832227 on #3777) | #3773 famil → family of the SQLite bucketing defect that read an epoch-ms datetime as a Julian da | | `data/temporal-conformance.ts:448` | #1874 | #1874: the templates' date-equality family that surfaced ADR-0053, whose Phase 1 stores Field.date as its calendar day (ADR-0053 Surfaced-by line; card body, no comments) | #1874: `date == today` silently matched nothing while dates were stored as instants. E → `date == today` silently matched nothing while dates were stored as instants; ADR-0053 stores a date as its calendar day, so e | | `data/temporal-conformance.ts:457` | #1874 | #1874: the templates' date-equality family that surfaced ADR-0053, whose Phase 1 stores Field.date as its calendar day (ADR-0053 Surfaced-by line; card body, no comments) | from the #1874 family → that surfaced ADR-0053 | | `data/temporal-conformance.ts:549` | #3994 | #3994: Field.time takes one canonical HH:MM:SS[.fff] text form on write, filter and read (ADR-0053 addendum D-C1..D-C3; driver-sql changeset 9774b78) | #3994, measured → Measured before `Field.time` took one canonical `HH:MM:SS[.fff]` text form | | `data/value-roundtrip-conformance.ts:213` | #11535 | #11535: defect: a single-to-multi-value change kept the old text column on Postgres, so arrays came back as stringified literals; the drift detector now reports the base-type mismatch (claim 5395496220) | #11535's exact shape → the exact shape a single-value column kept for a multi-value field corrupted | | `data/value-roundtrip-conformance.ts:225` | #11782 | #11782: landing 5406878917 (PR #12019): a declared boolean answers JSON booleans on every read door and dialect; MySQL's tinyint 1/0 leaked before | #11782 read this back as 1 on MySQL → MySQL read this back as 1 until every read door presented a declared boolean as true/false | | `data/value-roundtrip-conformance.ts:226` | #11782 | #11782: landing 5406878917 (PR #12019): a declared boolean answers JSON booleans on every read door and dialect; MySQL's tinyint 1/0 leaked before | #11782 → that MySQL read-back | | `lint: validate-empty-combinators.test.ts:275` | #5322 | #5322: maintainer ruling 5185589944: every face reduces an empty combinator to its boolean identity ($and:[] all rows, $or:[] none, {} TRUE, $not:{} none), whole tree | #5322 → every face reduces an empty combinator to its boolean identity | | `analytics: icontains-dialect-sql.test.ts:369` | #8934 | #8934: ruling A 5305708745: icontains joins the view and infix vocabularies; ilike/$ilike and icontains/$icontains are never aliased onto each other | #8934 → ruled never an alias of ilike | ## The selector seam (A3) The filter over `FILTER_LOGIC_CASES` now tests `(c.note ?? '').includes('every face reduces an empty combinator to its boolean identity')` where it tested `.includes('#5322')`. The phrase is the #5322 ruling in words, and the four rewritten notes open with it. Measured with an AST extractor over the table (`name` and `note` of all 36 cases, then the selector applied exactly as the test applies it): - base `cc645f2385` with `#5322` → **4 of 36**: `$not of {} is FALSE — NOT TRUE`, `a {} branch is a TRUE disjunct and absorbs its $or`, `empty $and is TRUE — the AND identity`, `empty $or is FALSE — the OR identity`. - head with the phrase → **the same 4 of 36**, the same names. - cross: the old selector on the head selects 0 (so the move is required), the new phrase on the base selects 0. - control outside the set: the broader word `Ruled` selects 8, the four plus `$exists true selects exactly the valued rows`, `$ne …`, `$nin …` and `$notContains returns the rows with no value`; none of those four is picked by the phrase. - mutation control on a scratch copy (anchor hit 1, replacement present 1, anchor left 0): dropping the phrase from the empty-`$or` note leaves 3, which the test's own guard (`toEqual` on the four sorted names, `toBe(4)`) turns red. The test asserts exactly what it asserted before (the names pin, the count, and the row-set wording per case); only the selector moved. `validate-empty-combinators.test.ts` ran green: 21 of 21, the three identity cases included. ## The name pin (A4) `'icontains (the infix/view spelling, #8934) lowers to $icontains — % stays a LITERAL through that door too'` becomes `'icontains (the infix/view spelling, ruled never an alias of ilike) lowers to $icontains — % stays a LITERAL through that door too'` in `FILTER_TEXT_CASES`, and the `toEqual` pin in `icontains-dialect-sql.test.ts:369` moves to the new string verbatim. No other consumer keys on that name (searched the whole tree for the old name and its fragments: the source and the pin only); the other consumers use it as a test title. The file ran green: 16 of 16. The five renamed `FILTER_COMPARAND_TYPE_CASES` names have no pin anywhere; they are test titles only. ## Text only (A5) Stage 3's `skeleton.cjs` (one line changed: the TypeScript load path to this worktree), TypeScript 6.0.3: leg 1 an AST skeleton with every string's text masked (a `+` chain's adjacent string operands read as one string), leg 2 the text of every string group, each changed group required to carry a tracker id before and none after, every other group byte-identical. Base copies vs the committed files, **10 of 10 SAME on both legs, exit 0**: | file | tokens | string groups | changed | |:--|--:|--:|--:| | `metadata-service-roundtrip-conformance.ts` | 1352 | 157 | 5 | | `aggregation-conformance.ts` | 1268 | 133 | 9 | | `filter-comparand-type-conformance.ts` | 1309 | 107 | 7 | | `filter-logic-conformance.ts` | 1682 | 223 | 16 | | `filter-text-conformance.ts` | 1093 | 137 | 6 | | `filter-text-operator-declared-type.ts` | 1821 | 114 | 3 | | `temporal-conformance.ts` | 2041 | 374 | 9 | | `value-roundtrip-conformance.ts` | 1197 | 175 | 3 | | `validate-empty-combinators.test.ts` | 2684 | 129 | 1 | | `icontains-dialect-sql.test.ts` | 4345 | 217 | 1 | Parse diagnostics 0 / 0 throughout. 58 changed groups in the eight modules, one per seam. No case's filter, input, expected rows, verdict, code, operator, dialect, order or count moves. Edits were applied by a script whose 62 anchors each had to hit exactly once before any write, and were read back from disk after it (each anchor gone, each replacement present once). Census after the edit: class (c) **0 / 0**; non-test 118 → 60 messages, 297 → 229 ids; test strings unchanged (1804 / 1920). ## Pins, titles and quotes (A6) - Pins moved: the two seams above, nothing else. Every old note and name was searched across the tree in 32-character windows: no test asserts a changed phrase; the remaining hits are code comments and other modules' own prose that share a phrase with an unchanged part of a note. - Titles that follow the text: the comparand-type and text-case names (test titles in the driver suites), and the `VALUE_ROUNDTRIP_CASES` notes (`round-trips NAME (NOTE)`). No skip list, ledger or snapshot names any of those titles. - Quotes: no `content/docs/**` page and no `skills/**` file quotes a changed note or name. - `TEMPORAL_ROWS[].why` is seeded into a `string` column (a `varchar` on Postgres and MySQL), so the four rewritten `why` texts stay short (164 characters at most). ## Gates Head `1427993cc3` (the merge of `origin/main` `901e7cf13a`; that merge touched no file under `packages/spec`, `packages/lint` or `packages/services/service-analytics`, 0 diff lines there). - `node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands`: 11 paths vs merge base `901e7cf13`, 153 changed lines; **88 derived commands, 88 exit 0** on `1427993cc3`, each exit code written from `$?` before any pipe; `--ran`: "✓ dispatch-gates --ran: 88 derived famil(ies) accounted for — 88 run, 0 NOT-MEASURED". - `pnpm --filter @objectstack/spec build` exit 0 (the dependency closure is empty: no workspace dependencies); `check:generated`: "✓ All 15 generated artifacts are up to date". - `pnpm --filter @objectstack/spec test`: "Test Files 606 passed (606) / Tests 17952 passed | 1 todo (17953)"; `typecheck` exit 0 ("check:test-typecheck: OK — … 52 file(s) / 246 error(s) / 135 pinned signature(s) held"). - `pnpm --filter @objectstack/lint test`: "Test Files 119 passed (119) / Tests 5620 passed (5620)"; `typecheck` exit 0. - `pnpm --filter @objectstack/service-analytics test`: "Test Files 175 passed (175) / Tests 4152 passed | 253 skipped (4405)"; `typecheck` exit 0; `icontains-dialect-sql.test.ts` alone 16 of 16. - `pnpm check:doc-authoring` (self-test, then the run): "✓ doc authoring guard: 17337 customer-facing string(s) across 1251 spec sources clean" and "sibling-package prose ids hold the baseline — 0 pinned site(s) … no growth, no burn-down unrecorded". `pnpm check:nul-bytes`: "check-nul-bytes: OK (scanned 9947 text file(s) …; no raw ASCII control bytes)". - Changeset gates: `check-changeset-no-major.mjs`, `check-empty-changeset.mjs`, `check-adr-0087-registration.mjs` (each `--base origin/main`) exit 0; with this body as the `--event` payload, see the report. - ESLint, a proven narrowing: `eslint --no-inline-config --format json` over the 10 changed TS files reads 10 files, 0 errors, 0 warnings; the population is ESLint's own (`calculateConfigForFile` returns a config for each, `isPathIgnored` false); invariance: `eslint.config.mjs` enables no type-aware linting (`parserOptions.project` / `projectService` null for all 10), so a string-text edit cannot move an untouched file's verdict. Repo-wide `pnpm lint` is CI's. - Spec `test:repo` was not run locally: none of its 51 files names a changed module or table. ## Acceptance notes - **Two cited cards answer 404** in this repository (#6725 and #11065; the same numbers in objectui are unrelated PRs). Their decisions were read from the shipped landing records instead: the objectql and spec CHANGELOG entries `1507ba3` / `bbee302` (`MetadataFacade.register('object')` wrote into a map none of its own object reads consulted) and the driver-memory entry `2095040` (a boolean aggregand counts as 1 or 0, as on every SQL face). Neither decision read as unclear. - Two decisions live in shipped records rather than card comments: #11152's 2026-08-28 ruling (option A, booleans aggregate as numbers, superseding #11249) is recorded in changeset `f6fa22c` and matches the source comment above those cases; #3994's in ADR-0053's D-C addendum. - Left for later stages, untouched here: the seam files' own test titles (`(#5322/#5659)`, `[#16028]`) and every other test string; code comments (including the section comments beside these cases); class (f) in `api/error-code-ledger.zod.ts` and `kernel/public-auth-features.ts`; `migrations/registry.ts`. - Not governed: no `.claude/**`, `skills/**`, ADR, NORTH-STAR or AGENTS.md path. ## Line budget 153 changed lines (+90 / -63) over 11 files vs merge base `901e7cf13` (dispatch-gates), under the 5000 human-merge threshold: the eight modules, the two test files (one line each) and the changeset. No generated file, no governed surface. --- _Generated by [Claude Code](https://claude.ai/code/session_01YDt3PzwfrkuFzUBF89WPmM)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6c5697d commit f6b7520

11 files changed

Lines changed: 90 additions & 63 deletions
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
The shared conformance tables' case notes and names no longer cite tracker numbers; each one states the decision behind it in words
6+
7+
Clause-②: no
8+
9+
The conformance tables in `@objectstack/spec` (`FILTER_LOGIC_CASES`, `FILTER_TEXT_CASES`, `FILTER_COMPARAND_TYPE_CASES`, `AGGREGATION_CASES`, `TEMPORAL_ROWS` / `TEMPORAL_CASES` / `TEMPORAL_TIME_CASES`, `VALUE_ROUNDTRIP_CASES`, `TEXT_OPERATOR_DOOR_TYPE_CLASSES` and `METADATA_ROUNDTRIP_CASES`) are what every driver, and any third-party implementation, is measured against. A case's `note` or `why` is printed when that case fails, and some drivers print it in the test title. Fifty-eight of those texts pointed at an issue-tracker number for the reason a case exists. The number goes; where the sentence did not already say what was decided, it now does. For example:
10+
11+
- The four empty-combinator cases say every face reduces an empty combinator to its boolean identity, and why `{}` and `$not: {}` follow from it.
12+
- The no-value cases say `$ne`, `$nin`, `$notContains` and `$not` are NULL-safe on every face, and that `$exists` means "has a value" because SQL cannot tell a missing key from a stored null.
13+
- The boolean-aggregand cases say a boolean is worth 1 or 0 on every face, including for `min` / `max`, and that this ruling superseded an earlier `false` / `true` answer.
14+
- The `$empty` cases say every face answers `$empty` by the field's declared type.
15+
16+
Six case names change with them: `icontains (the infix/view spelling, ruled never an alias of ilike) lowers to $icontains — …` in `FILTER_TEXT_CASES`, and five names in `FILTER_COMPARAND_TYPE_CASES` (the control cell, the bigint crash cell, and the three array-in-the-equality-slot refusals, which now say they are refused at the shared face).
17+
18+
Text only: no case's filter, input, expected rows, verdict, error code, order or count changes, and no export, type or schema moves. A tool or test that selects or pins a case by its old note or name (for example by a tracker-number substring) needs the new spelling.

‎packages/lint/src/validate-empty-combinators.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ describe('validateEmptyCombinators — the vocabulary is the runtime\'s (#5322/#
272272
* retyped: `filter-logic-conformance.ts` is what every backend is measured
273273
* against, so a message derived from anything else would be a second opinion.
274274
*/
275-
const identityCases = FILTER_LOGIC_CASES.filter((c) => (c.note ?? '').includes('#5322'));
275+
const identityCases = FILTER_LOGIC_CASES.filter((c) => (c.note ?? '').includes('every face reduces an empty combinator to its boolean identity'));
276276

277277
it('the identity cases are still findable in the conformance table', () => {
278278
// Guarded body: if the selection ever returns nothing, the loop below would

‎packages/services/service-analytics/src/__tests__/icontains-dialect-sql.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ describe('[#15780] the three compilers, EXECUTED on a real SQLite engine', () =>
366366
'ASCII-only: a lower-case non-ASCII comparand does NOT match its upper-case row',
367367
'ASCII-only: an upper-case non-ASCII comparand does NOT match its lower-case row',
368368
'$icontains treats % as a literal character, not a LIKE wildcard',
369-
'icontains (the infix/view spelling, #8934) lowers to $icontains — % stays a LITERAL through that door too',
369+
'icontains (the infix/view spelling, ruled never an alias of ilike) lowers to $icontains — % stays a LITERAL through that door too',
370370
'$icontains treats _ as a literal character, not a single-character wildcard',
371371
'$icontains treats . as a literal character, not a regex metacharacter',
372372
]);

‎packages/spec/src/contracts/metadata-service-roundtrip-conformance.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,15 @@ export const METADATA_ROUNDTRIP_CASES: readonly MetadataRoundTripCase[] = [
191191
writes: [{ type: 'object', name: 'pin_account', data: PIN_ACCOUNT }],
192192
read: { type: 'object', name: 'pin_account' },
193193
expected: { kind: 'readable', document: PIN_ACCOUNT },
194-
why: 'The contract\'s first two CRUD members, on the type whose reads are special-cased. This is the row #6725 would have failed.',
194+
why: 'The contract\'s first two CRUD members, on the type whose reads are special-cased. This is the row that catches an object write landing in a store none of the object reads consult — the hole a shipped implementation once fell through.',
195195
},
196196
{
197197
id: 'nonobject-roundtrip',
198198
title: "register('view', n, d) is readable back through get('view', n)",
199199
writes: [{ type: 'view', name: 'pin_grid', data: PIN_GRID }],
200200
read: { type: 'view', name: 'pin_grid' },
201201
expected: { kind: 'readable', document: PIN_GRID },
202-
why: 'The generic type store — NOT special-cased on the read side of SchemaRegistry, which is the asymmetry that produced #6725. An implementation can pass one of these two rows and fail the other.',
202+
why: 'The generic type store — NOT special-cased on the read side of SchemaRegistry, which is the asymmetry that let an object write land in the generic store while every object read looked elsewhere. An implementation can pass one of these two rows and fail the other.',
203203
},
204204
{
205205
id: 'get-before-register-object',
@@ -277,7 +277,7 @@ export const METADATA_ROUNDTRIP_CASES: readonly MetadataRoundTripCase[] = [
277277
writes: [{ type: 'object', name: 'pin_key', data: PIN_KEYED_OBJECT }],
278278
read: { type: 'object', name: 'pin_key' },
279279
expected: { kind: 'refused' },
280-
why: 'Whether `name` or `data.name` is the key is the whole round-trip. **Ruled** (#7378, maintainer 2026-08-12, row 1, superseding the 2026-08-11 option (a) this row used to state): a disagreement is refused loudly — it is almost always an authoring bug, and silent resolution in EITHER direction can file the item under a key the author never wrote. A document with no `name` of its own still registers under the argument; the objectql driver pins that boundary.',
280+
why: 'Whether `name` or `data.name` is the key is the whole round-trip. **Ruled** (maintainer 2026-08-12, row 1 of the round-trip ruling, superseding the 2026-08-11 option (a) this row used to state): a disagreement is refused loudly — it is almost always an authoring bug, and silent resolution in EITHER direction can file the item under a key the author never wrote. A document with no `name` of its own still registers under the argument; the objectql driver pins that boundary.',
281281
},
282282
{
283283
id: 'data-name-mismatch-refused-nonobject',
@@ -293,15 +293,15 @@ export const METADATA_ROUNDTRIP_CASES: readonly MetadataRoundTripCase[] = [
293293
writes: [{ type: 'objects', name: 'pin_plural', data: PIN_PLURAL }],
294294
read: { type: 'object', name: 'pin_plural' },
295295
expected: { kind: 'readable', document: PIN_PLURAL },
296-
why: "The two spellings of the object type address ONE store. **Ruled** (#7378, maintainer 2026-08-12, row 2): every implementation gives one answer, converged with `check:meta-type-normalized`'s enforced direction — the type folds plural→singular (`PLURAL_TO_SINGULAR`, `../shared`) before any store decision. This row was `plural-objects-type-is-its-own-store` (expected `absent`) while the answer was still a measured divergence; the reverse read direction is pinned driver-locally in objectql.",
296+
why: "The two spellings of the object type address ONE store. **Ruled** (maintainer 2026-08-12, row 2 of the round-trip ruling): every implementation gives one answer, converged with `check:meta-type-normalized`'s enforced direction — the type folds plural→singular (`PLURAL_TO_SINGULAR`, `../shared`) before any store decision. This row was `plural-objects-type-is-its-own-store` (expected `absent`) while the answer was still a measured divergence; the reverse read direction is pinned driver-locally in objectql.",
297297
},
298298
{
299299
id: 'primitive-data-refused',
300300
title: 'a non-object `data` value is REFUSED, never accepted-and-dropped',
301301
writes: [{ type: 'setting', name: 'pin_flag', data: 'enabled' }],
302302
read: { type: 'setting', name: 'pin_flag' },
303303
expected: { kind: 'refused' },
304-
why: '`data` is declared `unknown`, not `object`, so this is a runtime refusal (#7378, maintainer 2026-08-12, row 3): a value the service cannot key was measured as accept-then-drop — written, then readable back through NO member — which is indefensible; and coercing it into storability is equally forbidden. The ruling fixes 「接受再丢」, it does not demand 「必须存下」.',
304+
why: '`data` is declared `unknown`, not `object`, so this is a runtime refusal (maintainer 2026-08-12, row 3 of the round-trip ruling): a value the service cannot key was measured as accept-then-drop — written, then readable back through NO member — which is indefensible; and coercing it into storability is equally forbidden. The ruling fixes 「接受再丢」, it does not demand 「必须存下」.',
305305
},
306306
{
307307
id: 'array-data-refused',

‎packages/spec/src/data/aggregation-conformance.ts‎

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,8 @@ export const AGGREGATION_CASES: readonly AggregationCase[] = [
339339
field: 'stage',
340340
expected: [{ group: null, value: 2 }],
341341
note:
342-
'#6409: `won` twice collapses to one and the two nulls contribute nothing — '
342+
'count_distinct was kept and enforced on every face, as distinct non-null values: '
343+
+ '`won` twice collapses to one and the two nulls contribute nothing — '
343344
+ '4 means the dedup was dropped, 3 means NULL was counted as a value, '
344345
+ '6 means the lowering fell through to count(*).',
345346
},
@@ -395,17 +396,20 @@ export const AGGREGATION_CASES: readonly AggregationCase[] = [
395396
field: 'flag',
396397
expected: [{ group: null, value: 3 }],
397398
note:
398-
'#11065/#11151: an arithmetic accumulator that drops booleans answers its '
399-
+ 'identity 0 here — a plausible number, which is why this case exists.',
399+
'A boolean aggregand is worth 1 or 0 on every face — driver-memory and then '
400+
+ 'driver-mongodb were both moved onto that answer: an arithmetic accumulator '
401+
+ 'that drops booleans answers its identity 0 here — a plausible number, which '
402+
+ 'is why this case exists.',
400403
},
401404
{
402405
name: 'avg(flag) is the true-rate',
403406
function: 'avg',
404407
field: 'flag',
405408
expected: [{ group: null, value: 0.5 }],
406409
note:
407-
'#11065: the rate-over-a-flag-column shape (an SLA-violation rate, a win '
408-
+ 'rate). A face that drops booleans answers null — a blank tile, '
410+
'The rate-over-a-flag-column shape (an SLA-violation rate, a win rate) '
411+
+ 'that driver-memory answered null for until it counted a boolean as 1 or 0. '
412+
+ 'A face that drops booleans answers null — a blank tile, '
409413
+ 'indistinguishable from "no matching rows".',
410414
},
411415
{
@@ -414,9 +418,10 @@ export const AGGREGATION_CASES: readonly AggregationCase[] = [
414418
field: 'flag',
415419
expected: [{ group: null, value: 0 }],
416420
note:
417-
'#11152 ruling (2026-08-28): booleans aggregate as numbers with no '
421+
'Ruled 2026-08-28: booleans aggregate as numbers with no '
418422
+ 'per-aggregate exception, so the order statistics answer 0/1 in the '
419-
+ 'same domain sum/avg answer in — not false/true (#11249, superseded).',
423+
+ 'same domain sum/avg answer in — not the false/true an earlier ruling '
424+
+ 'had chosen, which this one superseded.',
420425
},
421426
{
422427
name: 'max(flag) answers the NUMBER 1',
@@ -532,7 +537,8 @@ export const AGGREGATION_CASES: readonly AggregationCase[] = [
532537
{ group: 'west', value: 40 },
533538
],
534539
note:
535-
'#15546: `east` has two rows and nothing to add. A face that hands SQL\'s '
540+
'Ruled: a non-empty group whose aggregand is NULL in every row sums to 0. '
541+
+ '`east` has two rows and nothing to add. A face that hands SQL\'s '
536542
+ 'NULL through answers null here (a blank tile, indistinguishable from '
537543
+ '"not computed"), and `west` at 40 keeps a face that folded EVERY sum '
538544
+ 'to 0 from passing.',
@@ -547,7 +553,7 @@ export const AGGREGATION_CASES: readonly AggregationCase[] = [
547553
{ group: 'west', value: 2 },
548554
],
549555
note:
550-
'#15546: the reachability control for the case above. COUNT(col) is '
556+
'The reachability control for the all-NULL-sums-to-0 case above. COUNT(col) is '
551557
+ 'defined over non-null values on every backend, so `east` at 0 proves '
552558
+ 'the seed stored NULLs — a harness that wrote 0 in place of a null '
553559
+ 'answers 2 here and turns the sum cell green for the wrong reason.',
@@ -558,7 +564,7 @@ export const AGGREGATION_CASES: readonly AggregationCase[] = [
558564
field: 'amount',
559565
expected: [{ group: null, value: 40 }],
560566
note:
561-
'#15546: the partial-null control. Four nulls among six rows contribute '
567+
'The partial-null control for the same ruling. Four nulls among six rows contribute '
562568
+ 'nothing and the two values add to 40 on every face — the case that was '
563569
+ 'always green, which is why the all-null cell went unmeasured.',
564570
},
@@ -574,7 +580,9 @@ export const AGGREGATION_CASES: readonly AggregationCase[] = [
574580
{ group: 'west', value: 4 },
575581
],
576582
note:
577-
'#6401: the VALUES are the `count(*) grouped by region` case verbatim — only '
583+
'A structured group node\'s `alias` names the projected group column on every '
584+
+ 'face — the SQL faces that ignored it were made to honour it. '
585+
+ 'The VALUES are the `count(*) grouped by region` case verbatim — only '
578586
+ 'the key moves. A face that ignores `alias` returns the same two numbers '
579587
+ 'under `region`, so this case can only fail on the KEY, which is the whole '
580588
+ 'point: every wrong answer here is a valid query returning plausible rows. '
@@ -593,7 +601,8 @@ export const AGGREGATION_CASES: readonly AggregationCase[] = [
593601
{ group: 'west', value: 100 },
594602
],
595603
note:
596-
'#6401: the degenerate alias. Its twin above cannot see a face that emits '
604+
'The degenerate alias, under the same every-face `alias` rule. Its twin above '
605+
+ 'cannot see a face that emits '
597606
+ '`"region" AS "region"` and breaks on the self-rename, and a face that '
598607
+ 'special-cases `alias === field` needs the case that exercises the '
599608
+ 'special case.',

‎packages/spec/src/data/filter-comparand-type-conformance.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,14 @@ export const FILTER_COMPARAND_TYPE_CASES: readonly ComparandTypeCase[] = [
150150
expected: ['2'],
151151
},
152152
{
153-
name: 'number compiles and matches — the #7956 control cell',
153+
name: 'number compiles and matches — the control cell of the cross-driver comparand-type measurement',
154154
filter: () => ({ qty: { $eq: 100 } }),
155155
verdict: 'matches',
156156
expected: ['1'],
157157
note: 'The matrix\'s control: this row returning on every driver is what made its zeros real answers.',
158158
},
159159
{
160-
name: 'bigint compiles and matches — the crash cell, dead (#7872)',
160+
name: 'bigint compiles and matches — the crash cell, dead at the shared comparand door',
161161
filter: () => ({ qty: { $eq: BigInt(100) } }),
162162
verdict: 'matches',
163163
expected: ['1'],
@@ -175,7 +175,7 @@ export const FILTER_COMPARAND_TYPE_CASES: readonly ComparandTypeCase[] = [
175175
filter: () => ({ qty: { $in: [BigInt(100), 999] } }),
176176
verdict: 'matches',
177177
expected: ['1'],
178-
note: '$in/$nin members are comparands in their own right (#5234) — the door narrows each.',
178+
note: '$in/$nin members are comparands in their own right, each judged like a scalar comparand — the door narrows each.',
179179
},
180180
{
181181
name: 'boolean compiles and matches — implicit-equality form',
@@ -188,7 +188,7 @@ export const FILTER_COMPARAND_TYPE_CASES: readonly ComparandTypeCase[] = [
188188
filter: () => ({ note: null }),
189189
verdict: 'matches',
190190
expected: ['1'],
191-
note: 'null IS a comparand and IS the null predicate (#6050\'s untouched half) — the door must not confuse it with undefined.',
191+
note: 'null IS a comparand and IS the null predicate — the half left untouched when an undefined comparand was ruled a loud refusal — so the door must not confuse it with undefined.',
192192
},
193193
{
194194
name: 'Date compiles — row agreement is temporal-conformance\'s subject',
@@ -269,7 +269,7 @@ export const FILTER_COMPARAND_TYPE_CASES: readonly ComparandTypeCase[] = [
269269
+ 'instead of deep-equality-on-two-drivers, refusal-on-three.',
270270
},
271271
{
272-
name: 'an ARRAY in the implicit-equality slot is refused (#19757)',
272+
name: 'an ARRAY in the implicit-equality slot is refused at the shared face',
273273
filter: () => ({ label: ['alpha'] as unknown as string }),
274274
verdict: 'door-refusal',
275275
code: 'INVALID_FILTER',
@@ -279,14 +279,14 @@ export const FILTER_COMPARAND_TYPE_CASES: readonly ComparandTypeCase[] = [
279279
+ 'it with MongoDB\'s array equality (a stored array equal to the list, or holding it as an element).',
280280
},
281281
{
282-
name: 'an ARRAY under $eq is refused (#19757)',
282+
name: 'an ARRAY under $eq is refused at the shared face',
283283
filter: () => ({ label: { $eq: ['alpha'] as unknown as string } }),
284284
verdict: 'door-refusal',
285285
code: 'INVALID_FILTER',
286286
mustMention: ['Operator "$eq"', 'at where.label.$eq.', '{"$in": […]}'],
287287
},
288288
{
289-
name: 'an ARRAY in the equality slot is refused nested in $or too (#19757)',
289+
name: 'an ARRAY in the equality slot is refused nested in $or too, at the shared face',
290290
filter: () => ({ $or: [{ qty: 100 }, { label: ['alpha'] as unknown as string }] }),
291291
verdict: 'door-refusal',
292292
code: 'INVALID_FILTER',

0 commit comments

Comments
 (0)