--- id: CFG-5 family: GR-CFG level: core profiles: [storage-api] posture: normative-target added: "1.0" changed: "1.0" source: https://flowdrop.io/spec/rules/gr-cfg/cfg-5 specification: FlowDrop Workflow Specification 1.0 licence: CC BY 4.0 --- # CFG-5 — Priority 2, the author's saved config *GR-CFG (Part I) · level: core · profiles: storage-api · added in 1.0* ## The rule > **Normative.** This is the rule. > > 1. Where priority 1 does not apply, a parameter MUST take its value from the node's saved configuration when the parameter is not internal, is configurable, and the configuration contains a key of that name. > > 2. A key present with a `null` value MUST count as supplied (CFG-7). > > 3. A parameter that fails this test MUST fall through to priority 3 (CFG-6). ## Why Recorded under [OPEN-25](https://flowdrop.io/spec/rulings/open-25). ## Fixtures Test cases whose outcome this rule decides (fixtures/README.md defines each operation): - Empty values in the saved config are values, not gaps (`resolve-parameters`): fixtures/presence/cfg-config-empty-values-are-values.json - A null in the saved config beats the default (`resolve-parameters`): fixtures/presence/cfg-config-null-beats-default.json - A null on a hidden port's wire is ignored, not delivered (`resolve-parameters`): fixtures/presence/cfg-hidden-port-ignores-wire-null.json - A parameter absent from the wire falls through to the saved value (`resolve-parameters`): fixtures/presence/cfg-wire-absent-falls-to-config.json ## Related rules - Names: CFG-4, CFG-6, CFG-7 - Referenced by: CFG-4, CFG-6, CFG-7, CFG-8, EXPO-10, DATA-7 --- 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.