--- id: R7.a family: GR-VAL level: core profiles: [storage-api] posture: normative-target added: "1.0" changed: "1.0" source: https://flowdrop.io/spec/rules/gr-val/r7-a specification: FlowDrop Workflow Specification 1.0 licence: CC BY 4.0 --- # R7.a — No edge targets a hidden input port *GR-VAL (Part I) · level: core · profiles: storage-api · added in 1.0* ## The rule > **Normative.** This is the rule. > > An edge whose target port is a port of the target node (DYN-8) but is not exposed on that node MUST be refused with `R7_EDGE_TARGET_NOT_EXPOSED` at `edge.{index}`, where `{index}` is the edge's position in the workflow's `edges` array. ## What it means "Not exposed" folds two different origins into one refusal: a port this instance has explicitly hidden, and a port the node type itself hides by default that this instance never touched. R7.a does not distinguish between them — either way, an edge into it is refused the same way. R7.c is what decides which of the two is in force for a given instance. The check fires for every port the target node has, dynamic ports included (DYN-8). An edge to a port the node does not have at all is R7.d's case. ## Example The target node's type declares a `value` input; this instance's own configuration records it as hidden: ```json title="An edge landing on a port this instance has hidden" { "id": "e1", "source": "s", "sourceHandle": "s-output-result", "target": "t", "targetHandle": "t-input-value" } ``` ```json title="The code and locator of the finding it produces" verdict="refused" { "code": "R7_EDGE_TARGET_NOT_EXPOSED", "locator": "edge.0" } ``` ## Why Recorded under [OPEN-25](https://flowdrop.io/spec/rulings/open-25), [OPEN-31](https://flowdrop.io/spec/rulings/open-31). ## Related rules - Names: R7.b, R7.c - Referenced by: R7.b, R7.c, R7.d, R7.e/f --- 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.