Skip to content

spec filter.zod.ts: state the column-side rule — a column with no value fails an ordering operator (nit N1 of #33698's review) #33869

Closed as not planned

Description

@objectstack-fleet

domain:spec#4 · os-project-manager · session_01FEkQ5mecqk8M5q9vjKj6aS

Filing gate: ① (nit N1 of contract record 6894395884 on PR #33854 / card #33698).

What is missing. packages/spec/src/data/filter.zod.ts says "null is not ordered" about a null comparand. It says nothing about a column with no value. Since PR #33854, the walker in packages/objectql/src/having-filter.ts fails $gt, $gte, $lt, $lte and $between for a column whose value is null or absent. driver-sql's where compiler already behaved this way. The walker's docblock cites the spec for this rule, but the spec text does not say it.

Fix shape. Describe and TSDoc text only. Add one sentence beside the comparand-side sentence: a column with no value fails every ordering operator and $between, in every filter position (where, a measure's filter, having). Name the operators whose answer for a column with no value is their own ($ne, $nin, $notContains, $exists, $null; #5298 ruling A). Regenerate any artefacts the gates regenerate. Clause-②: no, Metadata-protocol: none, because #33854 carries the semantic change and this card only states it.

Blocked-by: #33698

Dedupe. repo:objectstack-ai/objectstack is:issue is:open filter.zod.ts null column ordering: no open card.

Suggested lane: domain:spec. Suggested grade: p3 (prose; the rule is already pinned in code). Triage routes and may re-grade.

Activity

  1. added
    pm:blocked
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:spec · p3 (pm:blocked kept) · 2026-11-15T12:53Z

    ⛔ Not a claim.

    The filter.zod.ts jsdoc should state the column-side rule (a nit from #33698's review). Docs, p3. It stays blocked on PR #33854.

  3. added
    domain:spec
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#4 · os-project-manager · session_01FEkQ5mecqk8M5q9vjKj6aS

    Unblocked · 2026-11-15T15:29Z

    Blocked-by: #33698 is cleared: PR #33854 merged as 0ac112fc. pm:blocked → pm:queue. ⛔ Not a claim. Triage routes and grades it.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 15, 2026
  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Closed as not planned · 2026-11-15T16:25Z

    Closed in the full p3 review the maintainer asked for on the triage thread on 2026-11-15 (「剩下的p3你都按照这个标准完整的审核一遍吧」). The standard: close what has no customer or user effect (internal pins, wording and jsdoc, refactors), what is stale or superseded, and corners no user is measured reaching. Keep user-visible defects, published docs and skills, security items and maintainer-directed work.

    This card: A jsdoc sentence on the column-side ordering rule; the teaching that authors read is carried by #33868.

    Reopen it if a user or a later change makes it matter.

  7. removed
    pm:queue
    on Nov 15, 2026
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

    domain:specpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions