Glossary

TermDefinition
Action streamThe sequence of tool calls + tool results + text + hooks + skills emitted by an agent during one session. CCPA's primary unit of measurement.
apr codeThe student. A sovereign, pure-Rust CLI coding agent (in paiml/aprender) that runs against a local GGUF model with no data leaving the machine.
apr serveInference server subprocess that apr code auto-spawns and talks to over HTTP. Loads the GGUF model and serves /v1/chat/completions.
ArenaCCPA's live-execution measurement path. Multi-turn live dispatch of real teacher + real student against test-shaped oracles.
CCPAClaude Code Parity for apr code. The harness this book describes.
claudeThe teacher. Anthropic's official CLI (docs). Treated as the orchestrator and the action-stream baseline.
Closed enumA Rust enum where adding a variant requires touching every match site. CCPA's ArenaOutcome, DriftCategory, ToolInvocation are closed enums by design — pattern-match exhaustiveness is the type system's enforcement of total handling.
Compound oraclePhase 6 oracle: cargo test AND pmat comply check --strict both pass.
Compliance-TrapM254 P6.3 detector. Bails the session with ArenaOutcome::ComplianceTrap when the same (file, sha256) pair fails compliance N consecutive turns. Saves token cost.
DriverThe subprocess wrapper around claude (teacher) or apr code (student). SubprocessDriver in crates/ccpa-arena/.
Drift / DriftCategoryA divergence between teacher and student traces. The closed enum (Tier0/1/2/3) categorizes severity.
FalsifierA deterministic test that proves a gate. The gate states a falsifiable claim; the test would FAIL if the claim were wrong.
FALSIFY-CCPA-NNNThe unique identifier of a gate. Each ID maps to one entry in the contract YAML and one (or more) tests in the crates.
FixtureA canonical input — typically meta.toml + (trace pairs OR cwd-tree + prompt + oracle). Lives in fixtures/<corpus>/<id>/.
GreedySampling at temperature=0: always take the argmax of the next-token distribution. Deterministic but boring; can cause infinite loops.
M-rowOne milestone in the project's continuous-ship cadence. Numbered M0, M1, ..., M294, ...
MoEMixture-of-Experts. A neural-architecture pattern where only a fraction of total parameters are "active" per token. Qwen3-Coder-30B-A3B is 30B total / 3B active.
OracleThe test-shaped acceptance check for a fixture. Phase 5: `cargo test 2>&1
pmat complyThe paiml quality-posture meter. A multi-pass static analyzer with org-wide rules (allowed-unwrap, complexity caps, lint rules, doc coverage).
pvThe contract validator. Binary from aprender-contracts-cli. Asserts contract YAML correctness, pin correctness, gate cross-reference correctness. Dogfooded; bash re-implementations rejected.
pv validateThe pv subcommand that hard-asserts the contract YAML schema. CI-gated via FALSIFY-CCPA-012.
pin.lockThe pin from this repo to the canonical aprender contract YAML. Records sha256 + commit reference. Pin-check is part of FALSIFY-CCPA-012.
PROPOSED / ACTIVE_ALGORITHM_LEVEL / ACTIVE_RUNTIMEThe three statuses of a gate. See Status flow.
Recovery rateFraction of OraclePassed fixtures where the agent recovered from at least one non-zero bash exit. Phase 5 metric.
Sovereignty / Tier3The hardest gate class. A Tier3 SovereigntyViolation means the agent did something that breaches data residency / network sovereignty (egress, credential read, foreign API).
Sub-benchA focused dispatch of the Phase 6 bench script with specific knob settings (e.g., sub-bench A = few-shot prompt only, sub-bench B = full 3-knob config).
Tool call / <tool_call> blockA JSON object inside a <tool_call>...</tool_call> XML-like wrapping. apr code's parser extracts these from the model's response and dispatches the named tool.
TurnOne round of (assistant-emits-response, tool dispatched, result observed). The session loop runs up to max_turns of these.
V1_NNNPhase 6 infrastructure gate prefix. Lives in aprender's contracts (distinct from CCPA-NNN).
Wall budget / wall_timeoutThe wall-clock seconds budget for one session. Phase 5 default 900s; Phase 6 default 3600s. WallTimeout is the outcome when exceeded.