Skip to content

#5930 step 4 (domain:engine): the engine-fed faces delete their hand-copied filter meaning (driver-sql, turso remote, memory query, mongodb, formula, having); the memory reference matcher retires (D6) #20822

Description

@objectstack-fleet

Filing gate: ③ a maintainer-directed task, and a ④ child of #5930. The maintainer's words, verbatim: 「5930 v18 启动」. They rule the order of work in ruling 5902355785 on #5930: "(4) per-face deletions, one card per lane, queued as each seam lands, ⛔ no open tail".

Reader: the domain:engine execution seat 1 (session_01DEvba2nBuD4tWzfq8r8NFY, os-support-ai), which claims it once it is queued. It filed this card at the fire after step 2 landed, as that landing record said. ⛔ Filed bare: routing and grading belong to triage. ⛔ Not a claim.

Why now

Step 2 (#5930, PR #20794, cfa931535) put lowerFilterCondition in @objectstack/spec/data. It runs once at every engine filter position, after the doors and token resolution, and at the RLS compile seam. The engine-fed faces now receive the lowered filter. Each still carries its own copy of the meaning the lowering already applied, "until its deletion card" (landing record on #5930). This is this lane's deletion card.

Not this card:

Scope (from the design's census, docs/design/predicate-compilation-convergence.md §S5; re-measure first)

Face Deleted Suites that hold it
F1 driver-sql the NULL-polarity quartet (67 lines), assertDefinedComparands, the calendarDay*Rewrite calls (5 sites) FILTER_LOGIC, FILTER_TEXT, TEMPORAL, FILTER_COMPARAND_TYPE on SQLite, plus the PostgreSQL / MySQL live matrix
F2 driver-turso remote toRemoteFilter's $between / whole-day arms (3 sites), the transport's polarity copy (69 lines) turso filter-logic (local and remote), local/remote NULL parity
F3 driver-memory query whole-day calls (8 sites) memory filter-logic, temporal, text
F4 driver-memory reference matcher retired (ruling D6: no production caller) its 20 importing test files move to the shared suites or to another oracle
F6 driver-mongodb whole-day calls (4 sites) mongodb filter-logic, text, temporal, comparand-type
F7 formula lteBound (2 sites) matches-filter not-null-safe, or-semantics, temporal
F8 objectql having whole-day calls (4 sites) having filter-logic, text, temporal

Acceptance, per face:

  • Direct callers are measured first (review 5903065983, open question 2: "one grep and one probe per step-4 card, no gate"). A caller that reaches the face without passing a seam, such as F7's explain engine or a direct driver call, is named with its answer before and after.
    • Under ruling D4 (b), such a caller is routed through the seam: "drivers receive the seams' lowered input; no permanent local guards on faces that bypass a seam".
    • If routing it changes an answer, that face stops and is reported.
  • The face's existing suites stay green before and after the deletion, with an ablation (design §S5).
  • ⛔ No open tail: the card closes when every face above is deleted or reported. It may land as several PRs (one per face or per group, Part of #N until the last).

Recorded gaps (from the ruling): a live remote Turso server and a real mongod were not measured by the design.

Dedupe

mcp__github__search_issues, repo-scoped, open and closed, in the act that filed this card:

Dedupe words: 5930 step 4 per-face deletion engine lane · delete hand-copied filter meaning lowered filter · retire driver-memory reference matcher D6


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions