You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Second AI-authoring guardrail in lintFlowPatterns (after #1874). Flow node VALUES
interpolate with SINGLE braces; AI/human authors carry over two wrong syntaxes
from the formula template dialect / other platforms:
- `{{ai_reply}}` double-brace — verified no flow node executor uses `{{ }}`, so
it's unambiguously wrong in a flow value (it's the formula/template-field
dialect). Warn → use `{var}`.
- bare `$source.id` — a `$`-prefixed reference written as a literal (not
interpolated). Warn → wrap as `{source.id}` / `{$User.Id}`.
Precise/low-false-positive: braced `{$User.Id}` and currency `$5.00` are NOT
flagged (the `$`-rule requires a letter after `$` and a non-`{` lead char); CEL
condition/expression keys are skipped (not template values); advisory only,
never fails the build. +6 unit tests; CLI suite 396; example-crm/app-todo/
showcase build with zero spurious warnings.
Refs #1315 (closed — semantics were consistent; this is the build-time safety net
that catches the wrong-syntax mistakes from its repro).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments