Skip to content

ADR-0003: Phase 2 core (suite schema, runner, isolation, distribution name)

  • Status: accepted
  • Date: 2026-12-02

Context

Phase 2 builds the OSS core on the Phase 1 contract (Scorecard schema v0, ADR-0001).

Decisions

  1. Suite schema v0 (schema/suite.v0.schema.json, suite_schema_version: "0.1.0"): YAML suites with name, SemVer version, seed, thresholds and scenarios. Verdict thresholds are a closed set (min_success_rate, max_critical_violations, max_high_violations, min_robustness_ratio, max_latency_p95_ms, min_episodes).
  2. Scorecard schema unchanged (still 0.1.0). Everything Phase 2 produces fits v0, so no bump is needed. manifest.hardware.gpu is null (no GPU probing yet) and compute.energy_kwh is null (no meter), per ADR-0001's no-fabrication rule.
  3. Determinism: per-episode seeds derived with sha256; measured fields (latency, CPU, CPU-derived cost, ids, timestamps, hardware) are excluded from the reproducibility guarantee (runner.deterministic_view).
  4. Judges: rule-based by default; the LLM judge is opt-in, schema-validated and can only tighten outcomes.
  5. Docker isolation: the agent runs alone in the container behind a size-capped, schema-checked JSON-lines channel; the runner and Scorecard stay on the host. This is the boundary the hosted "Verified" Scorecards rely on.
  6. Plugins via the provingground.plugins entry point group; one register(registry) function per plugin.
  7. Distribution name vexlari-proving-ground: provingground on PyPI belongs to an unrelated project and proving-ground normalises to the same name. Import package (provingground) and CLI (pg) are unchanged.

Consequences

Suite authors get a stable schema and extension points; any future Scorecard field needs an ADR and a schema_version bump.