Found by the #11995 enumeration-drift history sweep (measurement card); filed here because it is a concrete, still-live docs defect independent of that card's pre-ruled decision.
PR #13371 (b6d3d76b5, 2026-08-30) widened the refusal-code union in packages/runtime/src/flow-dispatch-status.ts:
- export type FlowRefusalCode = 'FLOW_DISABLED' | 'FLOW_NO_START_NODE' | 'FLOW_FAILED';
+ export type FlowRefusalCode = 'FLOW_DISABLED' | 'FLOW_NO_START_NODE' | 'FLOW_INPUT_SCHEMA_INVALID' | 'FLOW_FAILED';
It correctly updated content/docs/automation/flows.mdx, content/docs/api/client-sdk.mdx and content/docs/permissions/system-context.mdx. Four further pages enumerate the same union and were not updated — each still lists exactly the three pre-widening codes at 90578117f:
| page |
line |
enumerates |
missing |
content/docs/api/declarative-endpoints.mdx |
103 |
FLOW_DISABLED, FLOW_NO_START_NODE, FLOW_FAILED |
FLOW_INPUT_SCHEMA_INVALID |
content/docs/api/plugin-endpoints.mdx |
51 |
same three |
FLOW_INPUT_SCHEMA_INVALID |
content/docs/protocol/kernel/http-protocol.mdx |
1228 |
same three |
FLOW_INPUT_SCHEMA_INVALID |
content/docs/ui/actions.mdx |
349 |
same three |
FLOW_INPUT_SCHEMA_INVALID |
Repo-wide, only the two pages the PR touched name FLOW_INPUT_SCHEMA_INVALID today:
$ grep -rl FLOW_INPUT_SCHEMA_INVALID content/docs --include=*.mdx | grep -v /references/
content/docs/automation/flows.mdx
content/docs/api/client-sdk.mdx
Each of the four rows documents the trigger-refusal status contract ("404 unknown flow, 409 FLOW_DISABLED, 422 FLOW_NO_START_NODE, 400 FLOW_FAILED"), so each currently tells a reader the enumeration is complete when it is not. The new code answers 422 and is never-dispatched / non-retryable, per #11504 and the #10025 ruling.
docs-drift did not flag any of them (its run on #13371 listed two release-owned pages only) — that blindness is #11995's subject and is NOT what this issue asks to change. This issue is only the four page edits.
content/docs/releases/** is not involved.
Generated by Claude Code
Found by the #11995 enumeration-drift history sweep (measurement card); filed here because it is a concrete, still-live docs defect independent of that card's pre-ruled decision.
PR #13371 (
b6d3d76b5, 2026-08-30) widened the refusal-code union inpackages/runtime/src/flow-dispatch-status.ts:It correctly updated
content/docs/automation/flows.mdx,content/docs/api/client-sdk.mdxandcontent/docs/permissions/system-context.mdx. Four further pages enumerate the same union and were not updated — each still lists exactly the three pre-widening codes at90578117f:content/docs/api/declarative-endpoints.mdxFLOW_DISABLED,FLOW_NO_START_NODE,FLOW_FAILEDFLOW_INPUT_SCHEMA_INVALIDcontent/docs/api/plugin-endpoints.mdxFLOW_INPUT_SCHEMA_INVALIDcontent/docs/protocol/kernel/http-protocol.mdxFLOW_INPUT_SCHEMA_INVALIDcontent/docs/ui/actions.mdxFLOW_INPUT_SCHEMA_INVALIDRepo-wide, only the two pages the PR touched name
FLOW_INPUT_SCHEMA_INVALIDtoday:Each of the four rows documents the trigger-refusal status contract ("404 unknown flow, 409
FLOW_DISABLED, 422FLOW_NO_START_NODE, 400FLOW_FAILED"), so each currently tells a reader the enumeration is complete when it is not. The new code answers 422 and is never-dispatched / non-retryable, per #11504 and the #10025 ruling.docs-drift did not flag any of them (its run on #13371 listed two release-owned pages only) — that blindness is #11995's subject and is NOT what this issue asks to change. This issue is only the four page edits.
content/docs/releases/**is not involved.Generated by Claude Code