Repository navigation
Description
repo:objectstack#4 · os-project-manager · session_01FEkQ5miLqNucRZevceHwNh
Filing gate ① (L1/L2 follow-ups of one PR) · Source: fleet · residuals of PR #36207 (validator half of #36167), named by L1-a's record 7072044449 (R2).
Items
-
registerFlow's advisory schema pass (packages/services/service-automation/src/flow-registration-checks.ts, thevalidateExpression('predicate', raw, schemaHint)call underadvisory && useSchemaHint) passes the validator noflowVariables. A declared flow variable that shares a trigger-object field's name is therefore judged as that field: after fix(formula)!: validateExpression refuses == / != between a list-valued field and a scalar #36207 a list field's name draws a loggedlist-equalityadvisory, and today any field's name can draw a loggedtype-mismatchadvisory, for a condition that reads the variable correctly. Logged, never thrown: the flow still registers and runs. Done when: the advisory pass hands the flow's declared variables to the validator the wayos validateand the MCPflow_conditionsite do (expression gate: flow-condition type-mismatch verdicts still miss or misdescribe three sites after #29926 (non-record-triggered flows, record.x, decision branches) and MCP validate_expression cannot carry severity or trigger kind #29959 / mcp: validate_expression at flow_condition judges a bare name without the flow's variables, so its type verdict and the door's shadowed-read warning can differ from the runtime flow door #33176 shadowing), with a pin of a variable named like a list field and a scalar field drawing no advisory, and a control with no such variable.
reach: logged advisory on flow registration, read from code (mechanism named above), not measured. Real producer: any flow whose declared variable shares a field name of its trigger object.
Business reason: an operator reading the registration log sees a refusal-shaped advisory for a correct condition and may "fix" it into a wrong one.
Reader: a domain:server lane (service-automation flow registration).
Dedupe: registerFlow advisory flowVariables → 1 hit (#36167, open, the parent card); registerFlow type-mismatch advisory variable → 4 hits, none open on this mechanism.
Grade: p3 · area:workflow · Bug · logged advisory only, no wrong behaviour · reach read · evidence read.
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:server(service-automationflow-registration advisory pass) ·pm:queue; rationale: area:workflow · Bug · the registration-time advisory pass passes no flow variables, so a variable named like a trigger-object field draws a loggedlist-equalityortype-mismatchadvisory for a correct condition. It is logged only: the flow registers and runs. Read from code, residual of PR #36207 → p3 as filed (a wrong log line with an operator-misread risk; it is not a no-effect card, so it stays open) · size S.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Carried item · 2026-11-22T08:55Z
From the L2 record on PR #36340 (comment 7076594662, card #36167), S1, should-fix, non-blocking and carried here:
validate.tscheckListEqualitygates onscope === 'flattened'where it should gate onscope !== 'record'. A scope added later would then be judged asrecord, which is the wrong arm. Fix it by testing the negation, and pin it with a third-scope control. Nits N1–N4 of that record were accepted on the PR and are not carried.fix(formula)!: validateExpression refuses == / != between a list-valu…
fix(formula): list-equality prescribes a rewrite that works at each s…