| Action stream | The sequence of tool calls + tool results + text + hooks + skills emitted by an agent during one session. CCPA's primary unit of measurement. |
apr code | The 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 serve | Inference server subprocess that apr code auto-spawns and talks to over HTTP. Loads the GGUF model and serves /v1/chat/completions. |
| Arena | CCPA's live-execution measurement path. Multi-turn live dispatch of real teacher + real student against test-shaped oracles. |
| CCPA | Claude Code Parity for apr code. The harness this book describes. |
claude | The teacher. Anthropic's official CLI (docs). Treated as the orchestrator and the action-stream baseline. |
| Closed enum | A 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 oracle | Phase 6 oracle: cargo test AND pmat comply check --strict both pass. |
| Compliance-Trap | M254 P6.3 detector. Bails the session with ArenaOutcome::ComplianceTrap when the same (file, sha256) pair fails compliance N consecutive turns. Saves token cost. |
| Driver | The subprocess wrapper around claude (teacher) or apr code (student). SubprocessDriver in crates/ccpa-arena/. |
| Drift / DriftCategory | A divergence between teacher and student traces. The closed enum (Tier0/1/2/3) categorizes severity. |
| Falsifier | A deterministic test that proves a gate. The gate states a falsifiable claim; the test would FAIL if the claim were wrong. |
FALSIFY-CCPA-NNN | The unique identifier of a gate. Each ID maps to one entry in the contract YAML and one (or more) tests in the crates. |
| Fixture | A canonical input — typically meta.toml + (trace pairs OR cwd-tree + prompt + oracle). Lives in fixtures/<corpus>/<id>/. |
| Greedy | Sampling at temperature=0: always take the argmax of the next-token distribution. Deterministic but boring; can cause infinite loops. |
| M-row | One milestone in the project's continuous-ship cadence. Numbered M0, M1, ..., M294, ... |
| MoE | Mixture-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. |
| Oracle | The test-shaped acceptance check for a fixture. Phase 5: `cargo test 2>&1 |
pmat comply | The paiml quality-posture meter. A multi-pass static analyzer with org-wide rules (allowed-unwrap, complexity caps, lint rules, doc coverage). |
pv | The contract validator. Binary from aprender-contracts-cli. Asserts contract YAML correctness, pin correctness, gate cross-reference correctness. Dogfooded; bash re-implementations rejected. |
pv validate | The pv subcommand that hard-asserts the contract YAML schema. CI-gated via FALSIFY-CCPA-012. |
pin.lock | The 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_RUNTIME | The three statuses of a gate. See Status flow. |
| Recovery rate | Fraction of OraclePassed fixtures where the agent recovered from at least one non-zero bash exit. Phase 5 metric. |
| Sovereignty / Tier3 | The hardest gate class. A Tier3 SovereigntyViolation means the agent did something that breaches data residency / network sovereignty (egress, credential read, foreign API). |
| Sub-bench | A 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> block | A 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. |
| Turn | One round of (assistant-emits-response, tool dispatched, result observed). The session loop runs up to max_turns of these. |
| V1_NNN | Phase 6 infrastructure gate prefix. Lives in aprender's contracts (distinct from CCPA-NNN). |
| Wall budget / wall_timeout | The wall-clock seconds budget for one session. Phase 5 default 900s; Phase 6 default 3600s. WallTimeout is the outcome when exceeded. |