From b65ff95fe231787dfe42207e9efe3f760328e546 Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Sat, 10 Oct 2026 05:04:55 +0100 Subject: [PATCH] Bind node API recipe controls to the add-node specimen The first exact documentation run found two fixture-selection failures: the Nodes and Config section also contains export/import JSON. Read only the existing Add Node subsection for its single configuration specimen; retain all transport, trust and original-document controls. Contract-Neutral: Documentation recipe test extraction only; no product runtime, subsystem contract or guide content change. Change-source: pulse-maintainer --- scripts/tests/test_node_api_docs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/tests/test_node_api_docs.py b/scripts/tests/test_node_api_docs.py index 15010eeb9c..0c40582948 100644 --- a/scripts/tests/test_node_api_docs.py +++ b/scripts/tests/test_node_api_docs.py @@ -33,7 +33,8 @@ def preparation() -> str: def sample() -> dict: - blocks = re.findall(r"```json\n(.*?)```", section(), re.DOTALL) + add_node = section().split("### Add Node\n", 1)[1].split("\n### ", 1)[0] + blocks = re.findall(r"```json\n(.*?)```", add_node, re.DOTALL) if len(blocks) != 1: raise AssertionError("expected one node configuration specimen") return json.loads(blocks[0])