Skip to content

Follow-up: flow-condition date verdicts — inert node reach, Timestamp masking, wording and skill listing (#39585 nits) #39598

Backlog

Description

@objectstack-fleet

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cxiJF5PkqquFk98Bh7

Problem

The contract review of PR #39585 (Fixes #39099, record 7407501025, PASS) left four nits outside that PR's claim, on the flow-condition date-verdict family:

  • N1: every date code (the new date-number-ordering-run-* and the existing ones) also reaches a non-start node's config.condition, which the engine never reads (flow-inert-node-condition). The lint walk hands that key the same hint with no fault outcome, so due_date > 5 there becomes an error on a predicate nothing runs.
  • N2: an ordering hidden behind a mismatch only the Timestamp typing sees (due_date > '2026-01-01' && due_date > 5) looks to stay unflagged: the unmasking pass runs only over a type-mismatch. Read from the code, not run; fails open as before fix(formula)!: a flow condition that orders a date against a number is refused, in every spelling #39585.
  • N3: wording. With no field named (today() > 5) the sentence still says "a date field"; the ADR-0087 entry's reason gives run-fails to every record-triggered flow, while a bare name under unproven bare names takes -run-may-fail.
  • N4: skills/objectstack-formula/SKILL.md rule 5 lists what the build refuses for dates and does not name the new refusal; the lint ledger docblock lists the date verdicts without the new family.

Ask

  1. N2: measure first (a failing pin on main after fix(formula)!: a flow condition that orders a date against a number is refused, in every spelling #39585 lands); fix only if it reproduces.
  2. N1: scope the date family out of a non-start node's config.condition in the lint walk, or grade it apart; one change for the whole family.
  3. N3 and N4: correct the sentence and entry reason, and name the new refusal in SKILL.md rule 5 and the ledger docblock.

Depends on: #39585 merged.
Area: formula
File surface: packages/formula/src/validate.ts, packages/formula/src/cel-engine.ts, flow lint walk, skills/objectstack-formula/SKILL.md, packages/spec/src/migrations/entries/semantic/19.flow-condition-date-number-ordering-refused.ts

Activity

  1. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:workflow · domain:engine · Task · p3 · pm:queue · size S, touched 2026-12-04T10:14Z. Rationale: area:formula is not a North Star area; flow conditions belong to workflow (automation → workflow). Four contract-review nits on the flow-condition date-verdict family from PR #39585, none blocking: a lint hint on an inert node's condition, an unmasking gap that fails open as before, wording, and a skill listing. p3 as filed; one lint walk plus its pins, size S. Issue type set to Task.
    Grade: p3 · reach: flow authors reading lint on date conditions · evidence: contract review 7407501025 (N2 read from code, not run) · claimable.

  2. added
    area:workflow
    domain:server
    pm:queue
    and removed on Dec 4, 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

    area:workflowdomain:serverenhancementpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions