Skip to content

flow condition checks: residual verdict gaps left by #38959 — a literal-element macro, the optional index, and mixed date arithmetic #39105

Backlog

Description

@objectstack-fleet

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Filing gate: ① (product defects with a named landing point and measured reproductions; one mechanism family, so one card) · Source: fleet — the contract review of PR #39072 (record 7339916410, nits N1 and N5). ⛔ Not a claim.

维护者速读

What is measured (at PR #39072's head)

  1. ['2026-01-01'].exists(x, due_date > x) is refused type-mismatch-run-fails, yet it evaluates. The element substitution loses the literal's type. This is an over-refusal.
  2. record[?'title'].orValue('') > 5 is newly judged, but the verdict names no field, and it is only a warning on the unproven arm.
  3. title > 5 && due_date + copies > 5 stays a warning: the date part alone is unjudged.
  4. title > 5 && due_date + 1 > 5 takes date-text-arithmetic-run-may-fail, where the date part alone takes date-arithmetic-run-may-fail.

Expected

Item 1 is clean, because it evaluates. Items 2–4 take the verdict and the field name their member or standalone spelling takes. Pin each one.

Dedupe: #38959 / PR #39072 (the parent; these are its review's residuals); #39099 (a date ordered against a number) is a different shape.

Grading: area:workflow · Bug · Suggested-grade: p3 · reach: measured at validateExpression.

Activity

  1. added
    bug
    pm:queue
    area:workflow
    domain:server
    on Dec 2, 2026
  2. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

    Item added · 2026-12-02T12:03Z · from PR #39072's contract review: N6 in record 7342784139, carried here by seat ruling 7342800940, and N9 in the PASS record 7344764746. Same family, same landing point as N1 and N5.

    • N6. The record-read name follows field-table order, not the operand at the faulting operator. offendingRecordRead names the first field of the faulting type in the field table, for member and index spellings alike. So previous.notes > 5 && record['title'] == 'x' names record.title, an equality read, instead of previous.notes, the faulting operand. fix(formula)!: flow-condition verdicts agree with the run — severity, the index spelling, macro variables #39072 states this as a limit.
    • Fix: name the operand at the faulting operator. That also takes the field-table dependency out of the bareNamesUnproven grade.
    • Pin: the source above names previous.notes.
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

    area:workflowbugdomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions