--- id: R4.e family: GR-VAL level: extended profiles: [storage-api] posture: normative-target added: "1.0" changed: "1.0" source: https://flowdrop.io/spec/rules/gr-val/r4-e specification: FlowDrop Workflow Specification 1.0 licence: CC BY 4.0 --- # R4.e — An exposure name never collides with a reserved runtime name *GR-VAL (Part I) · level: extended · profiles: storage-api · added in 1.0* R4.a's alphabet admits names beginning with underscores, which is where the runtime's own injected parameters live. Without this rule an author could claim one of them and shadow it. ## The rule > **Normative.** This is the rule. > > 1. A workflow exposure entry's `name` MUST NOT be a name the runtime reserves for parameters it injects into a workflow's manifest; `__interrupt_id__` is such a name. > > 2. A reserved name MUST be refused with `R4_NAME_RESERVED` at `schema.{side}.{index}`, on the input side and the output side alike. ## What it means R4.a's alphabet admits names that start with an underscore, and that is exactly where the runtime's own injected parameters live. This rule closes that gap by name, not by pattern: it refuses the specific reserved names, not every name that happens to start with an underscore, and it does so on the output side exactly as it does on the input side, even though the reserved name in question exists to carry an interrupt reply in. ## Example The same reserved name, claimed once as an input and once as an output: ```json title="An exposure entry claiming the reserved interrupt name" verdict="checked" { "name": "__interrupt_id__", "node_id": "n1", "port": "result" } ``` ```json title="The error when that entry sits among the inputs" verdict="refused" { "code": "R4_NAME_RESERVED", "locator": "schema.input.0" } ``` ```json title="The error when the same entry sits among the outputs" verdict="refused" { "code": "R4_NAME_RESERVED", "locator": "schema.output.0" } ``` Nothing about the output side makes the collision less real: an author could shadow the injected name there just as easily. ## Why Recorded under [OPEN-25](https://flowdrop.io/spec/rulings/open-25). ## Related rules - Names: R4.a - Referenced by: R4.a --- Rule identifiers are permanent and are never renumbered. This specification carries no implementation status: each implementation publishes its own standing against these rules. Licensed CC BY 4.0.