Run artifact

workspace/targets/jq/blueprint/FEATURE-FLOW-006.md

FEATURE: Recursive Generator Primitives

FieldValue
Version20260822 V1
DescriptionProvides jq recursive generator and recursive-descent primitives.
Depends OnARCHITECTURE.md, FEATURE-FLOW-005.md
Provideswhile, until, repeat, recurse, recursive descent
Consumesordered generator evaluator, runtime error model

Workflow

Recursive generators repeatedly apply filters while preserving jq stream order and termination behavior.

Programmatic Acceptance

=== AC flow-006-conformance ===
Intent: The executable passes the authoritative conformance cases exercising recursive generators and recursive descent.
Suite: scoped
Requires: executable=python3; scope=test

import json import os import subprocess import sys

SELECT = r"while|until|recurse|repeat" result = subprocess.run( [sys.executable, "sources/run_conformance.py", "--select", SELECT, "--json"], capture_output=True, text=True, env={**os.environ, "JQ": f"{os.getcwd()}/jq"}, ) print(result.stdout) print(result.stderr, file=sys.stderr) report = json.loads(result.stdout) tally = report["summary"] assert sum(tally.values()) > 0 assert tally["fail"] == 0 and tally["error"] == 0 assert result.returncode == 0 === END AC flow-006-conformance ===

User Acceptance

Guardrails