--- id: R7.b 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-b specification: FlowDrop Workflow Specification 1.0 licence: CC BY 4.0 --- # R7.b — No edge leaves a hidden output port *GR-VAL (Part I) · level: core · profiles: storage-api · added in 1.0* ## The rule > **Normative.** This is the rule. > > An edge whose source port is a port of the source node (DYN-8) but is not exposed on that node MUST be refused with `R7_EDGE_SOURCE_NOT_EXPOSED` at `edge.{index}`. ## What it means R7.b's "not exposed" is satisfied without any instance ever touching the port: the `error` output every executable node carries ships hidden by default, so an edge leaving it is refused on the type's own default alone, with no override in play at all. An instance override is one way a port ends up not exposed; a type default nobody has changed is another, and R7.b treats them alike (R7.c decides which applies). ## Example The source node's type declares its `error` output; this instance never overrides the default that hides it: ```json title="An edge leaving a port this node's type hides by default" { "id": "e1", "source": "s", "sourceHandle": "s-output-error", "target": "t", "targetHandle": "t-input-value" } ``` ```json title="The code and locator of the finding it produces" verdict="refused" { "code": "R7_EDGE_SOURCE_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.a, R7.c - Referenced by: R7.a, 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.