FEATURE: Scoped Conformance Integration
| Field | Value |
|---|---|
| Version | 20261028 V1 |
| Description | Execute cross-feature corpus cases through the completed interpreter. |
| Depends On | FEATURE-Command.md, FEATURE-CorpusStaging.md |
| Provides | scoped conformance integration |
| Consumes | ./jq -c, staged conformance assets |
Purpose and behavior
Run the supplied corpus through executing, selected runner invocations after the interpreter's feature providers are available. Cover cross-feature programs deferred from earlier gates, including lexical and parser cases, and ensure every runnable corpus case belongs to an intermediate executing slice. Preserve the corpus, exclusions, and runner unchanged. Each selected run supplies JQ, reads the JSON report, requires a nonzero selected count, zero failures and errors, and exit 0.
Programmatic Acceptance
=== AC integration-programs ===
Intent: All nonempty program texts, including cross-feature and front-end cases, pass an executing selected corpus run.
Suite: scoped
Requires: executable=python3; scope=test
Probe: --list
Probe Count: summary
import json import os import subprocess import sys
SELECT = r".+" 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"] print(f"{tally['pass']} passed, {tally['fail']} failed, {tally['error']} errored") 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 integration-programs ===
User Acceptance
- None.
Guardrails
- Only the terminal verification story invokes the full scoring script.
- Do not alter any file under
sources/.