Run artifact

workspace/targets/jq/blueprint/FEATURE-Formats.md

FEATURE: Format Filters

FieldValue
Version20261028 V1
DescriptionEncode and decode values with jq format filters.
Depends OnFEATURE-Strings.md
Providesjq format filters
Consumesjq string and regex builtins

Purpose

Provide jq's text, JSON, HTML, URI, CSV, TSV, shell, and Base64 formats as described in sources/jq-manual.txt. Formatting is triggered by a format filter or a formatted string in a jq program.

Behavior

Programmatic Acceptance

=== AC formats-corpus ===
Intent: Format filters execute the corpus cases that exercise their encoding and interpolation behavior.
Suite: scoped
Requires: executable=python3; scope=test
Probe: --list
Probe Count: summary

import json import os import subprocess import sys

SELECT = r"@(?:text|json|html|uri|urid|csv|tsv|sh|base64d?)\b" result = subprocess.run( [sys.executable, "sources/run_conformance.py", "--select", SELECT, "--json"], capture_output=True, text=True, env={**os.environ, "JQ": os.path.abspath("jq")}, ) print(result.stdout) print(result.stderr, file=sys.stderr) report = json.loads(result.stdout) tally = report["summary"] assert sum(tally.values()) > 0, f"selector matched no case: {SELECT}" assert tally["fail"] == 0 and tally["error"] == 0, tally assert result.returncode == 0, result.returncode === END AC formats-corpus ===

User Acceptance

Guardrails