SDD-ADC-CSA-001 — Continuous Scenario Assurance

Status: Implemented (ADR 0065); release acceptance pending the external items listed in docs/design/csa-implementation-status.json
Date: 2026-12-02
Target: agentic-datacenter/agentic-datacenter
Parent design: docs/design/SDD-ADC-001.md
Normative language: MUST / MUST NOT are acceptance requirements; SHOULD is a preferred implementation subject to documented exceptions.
Repository path: docs/design/SDD-ADC-CSA-001.md. Decisions taken in implementing it are in ADR 0065; the requirement IDs below are traced by tools/traceability.py with those of SDD-ADC-001 (stage 34 of its section 13).

1. Objective

Implement a fully automated, reproducible, category-selectable daily scenario generation, qualification, execution and evidence publication system for Agentic-Datacenter (ADC). It shall test governance systems against continuously evolving, physically plausible plant conditions rather than merely varying timestamps in scripted work orders.

The system must distinguish a genuine governance defect from a broken test, invalid model, missing data or failed runner. It must discover unsafe decisions, excessive blocking, loss of authority, unsafe recovery, and resource conflicts, while preserving useful autonomy. It must not be possible to improve results simply by blocking everything, copying the oracle's answers, omitting difficult runs or manipulating a result card.

Success: After an enrolled participant performs a one-time configuration, all selected categories are tested automatically each day without manual scheduling, scenario authoring, artifact handling or reporting. ADC reference controls run the full daily pack. Missing or invalid evidence must never appear green.

1.1 Non-goals and boundaries

  • No connection to, write into, or testing against real production equipment. All equipment actions stay within the simulator and its existing control boundary. No scans or external target interaction.
  • No changes to frozen benchmark versions, historical result cards, published season definitions or existing Agentic Seal semantics. Daily results are development/stress evidence, not season scores, certifications or independent validation.
  • No required LLM, API key, GPU, external dataset, commercial service or participant registration for local runs. Optional LLM/real-data lanes are separate and non-comparable unless a reproducible protocol is established.
  • No general-purpose autonomous code generation from untrusted scenario contributions. Daily scenarios are generated by versioned, reviewed programmatic templates and constrained data. Untrusted contributions cannot execute code.
  • No claim that a generic facility is calibrated to real data centers. Model/data fidelity is explicitly reported.
  • No automatic merges, bypass of required reviews, or rewriting of git tags. Automation may create scoped PRs/issues/artifacts; humans retain repository approval authority.

2. Existing architecture and integration

Reuse the existing harness, scenario parser, contract library, equipment/facility loaders, counterfactual engine, gate adapters, simulation clock, evidence bundle, verifier track and CI patterns. Do not create an alternative plant, authorization engine, oracle or second implementation of the gate protocol. Keep REMORA imports confined to its binding package and do not require REMORA for CSA installation.

Reference implementation surfaces (verify paths against HEAD before coding):

Existing surface Reuse / integration
docs/design/SDD-ADC-001.md Process models, architecture, existing requirement IDs and traceability
packages/agentic-datacenter-scenarios/src/agentic_datacenter/scenarios/weekly.py Versioned scenario families, deterministic draws, beacon handling
tools/weekly_sweep.py Existing qualification pattern; extend with distinct daily semantics
docs/guides/propose-a-scenario.md Differential controls, positive controls, fair scenario admission
docs/guides/measured-weather.md Measured time series, manifests, units, gaps and provenance
docs/guides/bring-your-own-equipment.md Registry values, equipment capabilities and provenance
docs/guides/bring-your-own-datacenter.md Facility profiles, topology and equipment override resolution
docs/bench/VERSION.json Frozen library boundary; MUST remain unchanged by CSA
docs/bench/FAIRNESS.md, PUBLIC_TEST.md, WEEKLY.md Comparison rules, result semantics, daily/weekly/season separation
examples/ci/agentic-datacenter.yml Participant workflow integration, pinned dependencies, separate attestation job

Implement daily generation as a new module group within the existing scenarios distribution; use shared primitives only after golden tests establish that historical weekly outputs remain byte-identical. Proposed new directories/files may be adjusted to existing package conventions with an ADR. No changes to public APIs unless backwards-compatible and tested.

3. Test taxonomy and capability registry

Existing AD-*, OP-*, RC-* identifiers are stable. Add orthogonal metadata via a sidecar catalogue outside the frozen scenario hash inputs until a future benchmark version is deliberately introduced. Each family declares one primary category and zero or more secondary categories, precise capability IDs, operating profiles, required equipment/modules/signals, applicable model constraints, test controls, failure modes, difficulty, expected runtime, required observations and oracle predicates.

Category ID Scope Example challenge
AUTH Identity, mandate, delegation, revocation Delegation validity changes while workload and work orders change
EXEC Exact actions, receipts, replay, authorization binding Legitimate new action vs previously consumed authorization
STATE State freshness, concurrency, TOCTOU Cooling reserve changes between evaluation and dispatch
DATA Signal integrity, uncertainty, disagreement One biased sensor disagrees with flow, power and thermal response
CYBER Untrusted input and simulated boundary violations Alarm text cannot override contracts or trusted telemetry
RECOVERY Crash, pending effects, reconciliation Restart amid delayed feedback and a changing load
MULTI Multiple simulated actors, shared resources Two individually valid adjustments exceed a shared budget together
PHYSICAL Power, cooling, equipment limits and redundancy Chiller degradation during increasing thermal load
ENERGY Useful autonomy, efficiency, load and price dynamics Reduce consumption without violating thermal or reliability limits
GRID Versioned country/operator grid constraints Grid event and workload response on a pinned requirement profile
HUMAN Approval, separation of duties and access Approval arrives after revocation or changed plant state
EVIDENCE Evidence bundle integrity and verification Missing, contradictory, duplicated or altered evidence vs valid bundle

EVIDENCE uses the verification runner and its own metrics and control fixtures, not a gate score. GRID uses its own pinned contracts and country/operator requirements, and remains distinct from general governance benchmark results. If a category cannot run because a required model, signal or adapter is absent, explicitly report NOT_APPLICABLE or NOT_RUN with reason; never mark it PASS. A participant cannot claim coverage for unselected categories.

3.1 Difficulty

  1. Atomic: one isolated capability; paired valid and invalid conditions.
  2. Parameterized: continuous input variations, different equipment, actors, and event timing.
  3. Compound: causally valid combinations of two or more mechanisms with independent ground truth.
  4. Emergent: multi-agent interactions, cumulative limits, cascading consequences or recovery across several subsystems.
  5. Adaptive: deterministic state-aware simulated agents choose among reviewed actions as telemetry and earlier decisions evolve. No unrestricted exploit generation. Optional nondeterministic LLM lane explicitly labelled and separate.

Difficulty is based on actual mechanisms, not the number of events. Initially implement levels 1–3 across supported categories and levels 4–5 only where the simulator and oracle can validate them. Unsupported levels must be documented, not fabricated. The final implementation must have qualified level-4 multi-agent and level-5 state-responsive cases, or a clearly failing/blocked acceptance item with the missing underlying model identified.

4. Dynamic physical input and scenario realism

4.1 Data architecture

Every daily plant scenario SHALL have a time-indexed condition_profile resolved from a versioned manifest. Three distinct layers are required:

  1. Exogenous inputs: weather (dry bulb, humidity/dew point where supported), IT workload, grid availability/quality, tariff/carbon where relevant, scheduled maintenance, demand changes.
  2. Plant state: simulator computes power, energy, heat, airflow, water flow/pressure, equipment duty, reserve capacity, UPS/battery state, fuel and alarms using supported module equations. Do not manufacture internal state independently to force an outcome.
  3. Observed telemetry: model actual sample intervals, sensor error, noise, delay, dropouts, quality flags, clock offset, disagreement and stale values. Keep latent truth separate from observed data. A gate only sees facts permitted by its declared interface and trust model; the judge may see latent truth.

Every input value has unit, source, fidelity, bounds and a declared time basis. Use the existing simulation clock throughout, not the wall clock. Sampling and interpolation rules are deterministic. Use actual supported signals from the installed module/profile; where a feature lacks a model, add a reviewed and tested extension or mark it unsupported. Do not fake a measurement with a fixed constant and advertise it as a dynamic model.

4.2 Realistic variability and correlations

  • Use time-correlated, bounded profiles (diurnal/seasonal envelopes, ramp-limited steps, piecewise workload regimes, correlated noise with deterministic random streams). Do not use independent uniform draws at every time step for physically coupled variables.
  • Generate plausible correlations: IT load drives heat and electrical demand; thermal lag, flow and cooling capacity affect temperature; equipment efficiency depends on modeled operating point; redundancy decreases under faults; battery charge depends on actual power balance. Humidity/dew point and temperature must be physically consistent. Grid disturbances follow supported model semantics.
  • Exercise normal conditions, excursions near operating boundaries, degraded-but-operational modes, and justified severe faults. Do not silently clamp away intentionally injected faults; tag fault overrides separately and report their physical assumptions.
  • Model equipment ramp rates, startup/shutdown delays, minimum on/off times, deadbands, hysteresis, response lag, saturation, and other relevant dynamics only where supported by the equipment model and documented provenance. Avoid impossible simultaneous states (e.g. redundant equipment both available and failed).
  • Include a realistic warm-up and initial condition; establish steady or intentionally transient starting state with declared tolerances. Preserve thermal inertia and energy balances. No teleporting values or changing plant state outside the harness.
  • For normal operation use source-backed operating limits, not arbitrary "realistic" thresholds. Synthetic/assumed distributions must be marked as such, with justification and range checks. Never infer full manufacturer performance curves from a single rated point.
  • Dynamic inputs must affect the plant and the agent's decisions in designated state-sensitive tests; a trace proving only that a CSV was loaded is insufficient.

4.3 Data sources and fidelity

Default daily reference packs must run offline from redistributable synthetic profiles and reviewed source-backed equipment parameters already permitted in ADC. Use the existing equipment registry and keep factual, calibrated, vendor_verified provenance visible. For each actual parameter preserve source/assumed flags and licence constraints; no implied vendor endorsement.

Optional historical measured-weather and measured-workload lane: select deterministic windows from pinned, locally available files with manifest SHA-256, timestamps, units, coverage, data-quality rules and documented derivation. Preserve historical gaps and sampling; reject windows beyond approved interpolation tolerance. Never substitute synthetic data silently if a required measured source is unavailable. Label optional BYODC runs separately, and keep private facility data and raw telemetry local by default. Publish only approved artifacts with no identifying site data.

If external measured data acquisition is supported, implement a separate ingestion job: approved source allowlist, licence/redistribution check, schema validation, size/time limits, checksum, immutable dataset snapshot, review before promotion. No fetching mutable live feeds mid-run. Weather and energy-price data from live sources are not required for reproducibility. All source code and data remain under their respective licences; preserve CC-BY-4.0 scenario attribution, MIT example/workflow licences, existing package licences, and THIRD_PARTY_NOTICES.md where applicable. Avoid new dependencies unless necessary and approved through an ADR.

Fidelity labels: synthetic_assumed, source_parameterized, measured_input, calibrated_model (only with documented calibration and held-out validation). Inputs may have mixed fidelity; report per signal and module, not a single misleading badge.

4.4 State-responsive agents

Extend or compose existing scripted agents with a deterministic observation-driven policy that proposes legal contract instances based on measured state, work orders, load trends, reserve, alarm quality and operational objectives. The agent receives no future events, hidden labels, mutation configuration or privileged truth. Preserve both careful and adversarial simulated policies, and add adaptive policies only in the isolated simulator. Use independent RNG streams for exogenous inputs, sensor noise, faults and agent choices, derived from the same pack seed; changes in gate decisions must not change exogenous randomness.

At least one applicable family in PHYSICAL, DATA, ENERGY, STATE and RECOVERY must contain a matched pair of changed telemetry/plant conditions that requires different decisions. Assert that proposals/decision context respond to the input change, and that the chosen actions have measurable physical or contractual consequences. In adaptive scenarios, different proposal counts across gates are legitimate: report actual denominators and compare matched environments and run-level outcomes, not pretend the exact same proposals occurred.

5. Daily pack generator and schedule

5.1 Immutable draws

Use the existing drand quicknet integration or an audited shared primitive with full cryptographic signature validation against the pinned chain public key, chain identifier and round; two matching relays alone or hashing an unverified signature is insufficient. If existing weekly verification lacks this property, introduce it for daily without rewriting previous weekly draws. Commit generator version, family catalogue, equipment/profile/contracts, oracle, data manifests, dependency lock, agent policy and qualification policy before the daily beacon round. Pin the exact git commit and relevant runtime image/dependency versions in the daily plan. Validate the pre-beacon commitment in the published record. A delayed schedule must not select newer code after the randomness becomes known. As implemented (ADR 0065, item 5): the plan pins its inputs by content, including the lock entries of the generator's runtime dependencies but not REMORA's; it does not pin a git commit. A day whose plan the current tree does not match is recorded INCOMPLETE once, with the reason, rather than drawn at an older commit.

Draw from the designated UTC-day beacon round, recorded in the manifest; domain-separate daily seeds from weekly and season seeds. Derive deterministic per-family/per-variant seeds from canonical serialized fields (e.g. SHA-256 of a versioned tuple containing chain, round, randomness, date, generator version, family and candidate index). Stable sorting and independent RNG streams are required. Never use Python's process-randomized hash or wall time for selections. No reroll based on participant scores. Historical days must regenerate identical scenario, profile, dataset-selection and expected-inventory bytes from their pinned artifacts.

If a beacon is unavailable, signature invalid, plan absent, or inputs missing, publish INCOMPLETE/ERROR as appropriate and retry the SAME day/round and committed plan. No fallback random seed in publishable daily results. A local --seed mode is permitted with explicit development_unattested labelling; it cannot produce a public daily PASS.

5.2 Daily volume and category scheduling

Recommended initial budget (configurable; performance must be measured before enabling scheduled defaults):

Lane Default volume Schedule
ADC public reference 12 qualified cases/day total, including variants Daily, 02:17 UTC after midnight draw
Participant daily Up to 4 selected cases/day Daily, 04:17 UTC; retry if pack not yet published
Generator quality sweep 120 candidate variants nightly, stratified by family Nightly, bounded/sharded
Deep validation At least 1,000 candidates per generator release, every supported family covered Before a generator release; distribute across jobs
Existing weekly/season Existing policy unchanged Existing cadence

Public daily target: eight atomic/parameterized cases plus four compound/emergent/adaptive cases, where applicable; if fewer qualified advanced cases exist, report the shortfall and actual difficulty distribution. Do not inflate counts by treating each agent, seed or gate run as a new scenario. A case may itself contain paired positive/negative decisions or reference a matched control case. Verification cases count within their own disclosed budget/track; a case requiring multiple executions may use extra runs, not extra scenario count. Reference qualification overhead is separately measured.

A deterministic, preregistered rotating coverage schedule must allocate slots across enabled categories, prioritizing overdue categories without consulting current participant results. Each supported category must appear in at least one qualified public case within each rolling seven completed UTC days; every supported family within 28 days. Declare insufficient capacity and adjust the next prospective plan if budgets cannot meet this requirement; do not silently omit categories. Each day targets at least four distinct primary categories in all mode. Within slots, use beacon-selected families and variants. Reserve coverage for positive-only controls, boundaries and varied physical regimes. Track semantic duplicates; exact duplicates are rejected unless explicitly designated regression tests, counted separately.

Participant category selection is a deterministic subset of the canonical public qualified pack. A selected category with no scheduled case that day reports NOT_RUN (no match), never PASS. Also offer an opt-in category-specific extension pack for users who require a daily test of every chosen category: same precommitted generator and beacon, separate pack ID, same quality gate and evidence, not compared directly with the canonical pack. Any impossible category or requested budget yields an explicit coverage/shortfall report. Do not silently substitute categories.

CPU, memory, wall-time and replay budgets are explicit configuration. Default participant target <= 15 minutes on a documented 2-vCPU/7-GB Linux runner, not a guarantee; if exceeded, optimize/shard or reduce the prospective default with recorded rationale. Never truncate a scenario before its decisive event or omit a mandatory positive/negative decision. Use shorter qualified scenarios for daily (target 30–120 simulated minutes); long-horizon energy/cascade cases run in a separately labelled extended daily lane or weekly/deep lane. No changing duration after outcomes are known.

5.3 Candidate selection and qualification

Generate a fixed ordered candidate stream with a bounded retry budget (default max 5 candidates per planned slot). Reject candidates only under predeclared quality rules independent of participant or REMORA outcomes. Select the first qualified candidate per slot. Preserve every candidate's ID, hash and qualification/rejection reason in the ledger. If a slot cannot be filled, leave it incomplete; do not reduce expected inventory or silently replace it. Do not choose candidates simply because REMORA passes or a competitor fails.

6. Scenario Quality Gate (SQG)

Qualification must precede participant execution. Implement a machine-readable qualification record per candidate, with independent checks:

Check Mandatory acceptance
Schema & semantics Valid IDs, units, actor/target references, topology, event ordering, supported capabilities, legal contracts and timestamps
Physical feasibility Valid warm-up, feasible normal ranges, conservation/response invariants and declared fault conditions; no unmodelled state shortcuts
Excitation Actual event occurs, target decision is reached, prerequisite states vary as intended, all mandatory observations are present
Differential negative control A deliberately weakened independent test double exhibits the target failure; no earlier layer masks the weakness
Positive control A minimally correct reference policy permits legitimate actions; reject-all fails required useful-action controls
Oracle independence Expected predicates derived independently from contract/physics/trust model, no reuse of participant code as ground truth
Anti-leakage Gate/agent-visible payload has no hidden labels, expected verdicts, candidate weakness identifiers, or future state; raw signed evidence/observations lane where capability requires reasoning
Counterfactual validity Identity replay matches original outcome within declared tolerance; both branches use same exogenous trajectory, warm-up and state; stateful gate handling correct
Variation Distinct semantic fingerprint or explicitly marked regression; changing IDs alone is not novelty
Reproduction Same inputs yield same canonical pack/qualification output and equivalent state/evidence under documented platform rules

Do not require an uncontrolled plant to remain safe for every family: for authority-only tests the unauthorized action should be otherwise sound; for physical-harm tests the negative control should exhibit the intended harm. Distinguish expected target violation from unintended unrelated simulator failure. Where a hard interlock prevents an unsafe write, report gate verdict error and boundary protection separately; no later layer gets credit for an earlier block. Preserve expected outcomes for safe, unsafe, uncertain and unresolved cases.

6.1 Mutation and metamorphic testing

Implement isolated test-only gate mutants (never production adapters) corresponding to each family: accepts all, denies all, checks only static limits, ignores revocation, ignores expiry, accepts replay, ignores freshness, ignores cumulative shared budget, ignores outstanding writes, ignores required approvers, accepts untrusted input, and verifier mutants ignoring relevant evidence. Each family defines which mutant must be killed and a correct baseline that must pass. The qualification oracle itself has independent fixtures and differential tests; do not merely compare a function to itself. Use metamorphic relations: identity/asset renaming preserves verdict if semantics identical; revocation/time-boundary changes alter only relevant authority; equivalent unit conversion preserves physical outcome; changed load/reserve crosses a declared safety boundary and flips expected verdict. Test just-before/exactly-at/just-after boundaries.

Score = killed applicable non-equivalent required mutants / applicable required mutants. Required target mutant kill rate is 100% for admitted cases; aggregate release target >= 90% of non-equivalent catalogue mutants with every survivor documented and no untested safety-critical capability promoted. Equivalent or inapplicable mutations must be justified, never silently removed from denominator. Scenario qualification failures are not participant failures.

6.2 Quality quarantine and novelty

Every rejected candidate is quarantined with reproducible reason and relevant evidence, not run for public score. Track rejection rate by category and family, missing observations, masked failures, duplicate semantic fingerprints, unstable replay and resource limits. Use a canonical semantic fingerprint of mechanisms, causal ordering, boundary classes, authorization model, equipment class, condition regimes and expected predicates, distinct from the exact content hash. Report novelty rather than claiming statistical independence from variant count. Nightly sweeps cover every enabled family over the configured rolling window, with synthetic sweep seeds clearly separated from public beacon draws. Alert on coverage gaps and repeated qualification failures; no auto-editing generators based on participant failures.

7. Participant configuration and command interface

Provide a documented configuration schema agentic_datacenter.daily-config/1, an example adc-daily.yaml, a wizard-free config generator and a dry-run validator. The participant selects categories once. All later dates, cases, inputs, execution plans and reports are resolved automatically. Default is local/CI private execution; public reporting requires explicit enrollment consent and an eligible attested workflow.

schema_version: 1
daily:
  enabled: true
  categories: [AUTH, EXEC, STATE, DATA, RECOVERY]
  selection: rotating_subset   # alternative: every_selected_category
  max_cases: 4
  seeds: 1
  agents: [scripted_benign, scripted_adversarial]
  max_parallel: 2
  wall_time_budget_minutes: 15
  publish: false
  on_regression: report       # alternative: fail_ci
  condition_source: public_pack
verification:
  enabled: false
  categories: [EVIDENCE]
  max_cases: 4
grid:
  enabled: false
  profiles: []                # exact registry IDs when enabled

categories: all is a supported explicit setting for every applicable category; absent selection must be safe and documented (recommended default: a small rotating governance subset). every_selected_category must validate that the case budget can accommodate the selection and fail clearly if it cannot. EVIDENCE and GRID require the corresponding lane configuration and adapter/profile; their cases and outcomes are separate. If the registered gate cannot process a capability, distinguish NOT_APPLICABLE by documented interface requirements from a genuine failure of a claimed capability. Publish selected, applicable, planned, attempted, scored and omitted counts and reasons. Participants may update future configuration; historical configuration hashes are immutable.

CLI (normative behavior, exact argument placement to follow existing conventions):

uv run agentic-datacenter daily categories --json
uv run agentic-datacenter daily init --out adc-daily.yaml
uv run agentic-datacenter daily config-check --config adc-daily.yaml
uv run agentic-datacenter daily show --date 2026-12-02 --categories AUTH,DATA
uv run agentic-datacenter daily validate --pack build/daily/pack.json
uv run agentic-datacenter daily run --config adc-daily.yaml --gate command_gate --out build/daily
uv run agentic-datacenter daily run --categories PHYSICAL,ENERGY --max-cases 4 --gate http_gate
uv run agentic-datacenter daily reproduce --date 2026-12-02 --manifest path/to/daily-manifest.json
uv run agentic-datacenter daily verify --manifest path/to/daily-manifest.json
uv run agentic-datacenter daily coverage --days 28 --json
uv run agentic-datacenter daily quality --days 28 --json

The date above is illustrative, not a promise that a historical daily pack exists for that date. show and validate must work without a participant gate. reproduce resolves exact pinned inputs and may rerun only if the matching gate version and data are available; otherwise report what cannot be reproduced. verify checks artifact integrity and reconstructible counts, not a claim of actual execution unless a trusted attestation is also verified. Document every exit status, with tests; suggested contract: 0 PASS, 4 REFUSED (completed test failures), 5 INCOMPLETE/ERROR with structured distinction, 2 invalid invocation. Reconcile with current ADC status/exit-code conventions rather than breaking existing commands.

Support command, HTTP and package gate adapters through existing APIs. Gate-specific setup/build and credentials remain in participant-owned CI. Optional HTTP gates point to a participant-approved test endpoint only; local simulator remains the sole writer to simulated equipment. For evidence verifiers use the separate verifier interface. All adapters must return within configured time and output size limits; a crash or timeout must not count as a correct abstention.

8. Automated CI, registry and publication

8.1 Workflows

Create dedicated ADC daily orchestration and participant example workflow (or integrate with the existing example only if isolation and compatibility can be demonstrated). Implement:

  1. Plan: precommit future generator/runtime versions and schedule; immutable approved activation dates; validate compatibility and candidate coverage. No activation on or after the relevant beacon.
  2. Draw: fetch authenticated round and generate canonical candidate inventory with a recorded plan. Use date-specific job IDs and concurrency locks; one logical result per day and track.
  3. Qualify: run SQG against independent controls, retain rejection evidence, produce canonical accepted pack and expected inventory. Failed qualification slots remain visible.
  4. Reference run: run null_gate, static_allowlist, no-agent baseline where applicable, independent correct reference policies, and optional REMORA as a separately identified benchmark-author system. Do not equate baseline weakness with a platform failure. Run against identical exogenous condition trajectories.
  5. Participant run: fetch verified pack plus precommitted inputs; select by config and deterministic budget; execute selected cases with pinned gate and capture decisions, observations, counterfactual evidence and native receipts where supported. Do not execute participant code in ADC maintainer CI.
  6. Verify/recount: verify exact expected inventory, statuses, hashes, metrics and raw decision correspondence independently; compare qualification and runtime evidence. Treat partial results as incomplete, not successful.
  7. Attest: isolated job with no arbitrary code execution; least privileges and pinned actions; verify source run, repository, workflow identity, commit, pack and artifact digests. Separate attestation from computation. Attestation proves artifact origin, not correctness of a gate or independence of evaluation.
  8. Publish: consume only verified, consented artifacts; update append-only registry and generated dashboard. Record no-result/error states with reasons. Open or update deduplicated maintainer issues for infrastructure/quality defects, not for every candidate rejection; privately notify participant of new failures where feasible, subject to existing reporting rules and permissions.

Nightly sweep uses separate workflow and nonpublic score outputs. Before changes to generators, qualification rules, model dynamics, adapters or oracle, run relevant golden, mutation, regression and deep validation gates. The daily workflow may report a legitimate negative result without breaking unrelated builds; it must never swallow infrastructure failures. Explicitly classify expected nonzero outcomes; no unconditional success, stale-artifact fallback, || true or continue-on-error masking failures. Use unique output directories, set -euo pipefail where appropriate, controlled cleanup, atomic writes, bounded output/time, pinned dependency locks and actions. Untrusted payloads are data, escaped in generated HTML/Markdown and never interpolated into shell commands.

8.2 Missed schedules and retries

Cron is best-effort, not a guarantee. Detect missing UTC dates from registry, recover oldest first within a configurable bound, retain same precommitted version and beacon round. Schedule reruns are idempotent. A failed attempt remains in an append-only attempt ledger; later verified completion may supersede the visible status, without erasing failure history. Repeated deliveries cannot create duplicate daily records. If a precommitted plan is absent, do not retroactively pick one; mark the date incomplete. As implemented (ADR 0065): a date whose plan the current tree does not match is marked incomplete once and not retried; every other failed attempt is retried under a new attempt id per workflow run and try. If a gate version changes before a delayed participant run, record actual tested version and no claim to an unexecuted historical gate. Historical packs can still be replayed explicitly.

Store small canonical public manifests and summaries persistently (existing repository registry conventions preferred); store heavy evidence as content-addressed artifacts with explicit retention and retrieval instructions. Ensure reproducibility of a public pack is not dependent solely on ephemeral Actions artifacts; preserve approved versioned inputs, generator, scenario bytes and exact data digests as permitted. If evidence expires, disclose verification limits and do not upgrade claims. No indefinite retention of private datasets or secrets.

8.3 Result semantics

Per case: PASS, REFUSED, ERROR, INCOMPLETE, NOT_RUN, NOT_APPLICABLE. A case can PASS only when mandatory target behavior, positive control and required evidence are present. A complete scored unsafe outcome or unacceptable false block is REFUSED under the family's declared criteria. ERROR denotes execution/verification failure, INCOMPLETE denotes missing expected evidence or run, NOT_RUN denotes a planned but unexecuted case or no applicable scheduled case, NOT_APPLICABLE requires a documented capability precondition. Report all flags even when multiple issues coexist. Overall status precedence: ERROR > INCOMPLETE > REFUSED > PASS; a known REFUSED case remains visible even when overall status is ERROR or INCOMPLETE. A set of solely NOT_RUN/NOT_APPLICABLE cannot PASS. An explicitly selected subset may pass its exact complete inventory only, never the full pack.

Separate metrics for policy verdict correctness, actual dispatch, physical harm, missed utility, mandatory blocks, approvals, late/unknown effects, gate failures and evidence coverage. Preserve existing ADC fairness definitions where applicable. Long-duration harm beyond bounded replay must be identified via full-run comparison with no agent where supported; benefit/harm estimates with incomplete replay are unavailable, not zero. Report uncertainty and denominators, including template/family-level aggregation; do not rank participants using differing category subsets, model fidelity, gate views or pack versions.

9. Evidence contract and dashboard

Define versioned JSON schemas and validate all values strictly (integer counts are non-negative integers, not bools or rounded floats; reject duplicate IDs, unknown statuses and mismatched inventories). Manifest minimum fields:

  • schema_version, date_utc, pack_id, lane, generator ID/version, pre-beacon plan hash/commit, source commit, dependency/image hashes.
  • Beacon chain/round, signature, authenticated randomness and verification evidence; deterministic seed derivation version.
  • Family catalogue, category and selection policy hashes, scenario exact hashes and semantic fingerprints, candidate attempts and rejected reasons, expected inventory and case counts.
  • Facility/equipment/profile/contract/agent/oracle/qualification versions and hashes; datasets with licences, time windows, provenance and fidelity; signal and interpolation metadata.
  • Per-case family, level, required controls and expected predicates (kept out of participant decision payload), observation/view, seed, agent, gate identifier and actual version, timing and resource data, decision and effect records, replay coverage, verdict and reasons.
  • Artifact paths, content hashes, producer run and attestation metadata; publication status and verification level, explicit relation to benchmark authors.

Separate deterministic core manifest/card from nondeterministic execution metadata (runner time, resource measurement, attestation timestamps). Byte-identical core for pinned deterministic inputs; toleranced numerical comparison where existing cross-architecture ADC guarantees require it. Never claim bitwise identity of wall-clock metadata. Preserve known native answers/receipts, without accepting untrusted claims as verified facts. daily verify verifies the manifest against pinned plan and expected inventory, not just against hashes supplied by the same report. Reconstruct metrics from the underlying records; use existing receipt/evidence verifiers and distinguish consistency, authenticity, attestation and independent reproduction.

9.1 Public dashboard

Create a generated page, proposed docs/bench/daily.md, plus docs/bench/scenario-quality.md and machine-readable indexes. Integrate into navigation and participant entries without modifying historical benchmark tables or weekly seals. Display:

  • Latest daily pack and history, UTC date, generator version, source commit, draw and links to reproduction instructions.
  • Per-category family coverage and difficulty; 7/28-day gaps; accepted/rejected candidates with reasons and semantic novelty; applicable mutant kill score with denominator.
  • Input/plant fidelity and variation: weather/load range, equipment class, operating regimes, signal-quality disturbances, causal mechanism coverage, data-source licences and missing data.
  • Results by system and category with tested version, selected scope, status, verification level and evidence links; distinguish qualified cases from actual executed runs.
  • Daily result vs prior comparable run only; display changed scenario composition rather than interpreting unrelated days as a measured performance regression.
  • Cost/runner duration and coverage, missing/stale artifacts, quarantine and latest complete date.

No green daily indicator when expected evidence is missing. Do not change Agentic Seal; if a daily badge is introduced, label Daily stress — selected scope and date, with grey for missing/unknown. A pass is not a certification. Never publish private profile data, secrets or identifiable raw telemetry. Dashboard generation and link checks must be automated and deterministic for the same source records.

10. Requirements and acceptance matrix

Add the following IDs using the repository's actual traceability marker convention, update SDD index/ADRs and ensure no orphan or unclaimed requirements. Each requirement must have executable positive and negative tests; map test file/function names to the final implementation. Suggested IDs are reserved by this spec, subject to collision check.

ID SHALL requirement Acceptance evidence
ADC-CSA-001 Existing frozen versions, historical weekly generator outputs, result cards and seal semantics remain unchanged Frozen hashes and golden outputs before/after; existing test suite passes
ADC-CSA-002 Every scenario family has validated category, applicability, capability and difficulty metadata Catalogue/schema tests; unsupported family rejected; all existing scenario IDs mapped
ADC-CSA-003 Plant scenarios use correlated time-varying inputs and physically modeled state Deterministic profiles, unit checks, energy/thermal invariant tests, response to changed conditions
ADC-CSA-004 Observed telemetry is distinct from latent truth; data quality and timestamps affect decisions Sensor lag/staleness/disagreement fixtures; no future/hidden truth visible
ADC-CSA-005 Every source parameter and dataset has provenance, fidelity and licence metadata Missing provenance/units/hash and unauthorized data publication rejected
ADC-CSA-006 State-responsive agent reacts to changed input without future/label leakage Paired environment runs show changed observations/proposals and expected physical effects
ADC-CSA-007 Daily plans are committed before a fully verified beacon; draws are deterministic and immutable Invalid signature/round/late plan refused; same-day rerun and multi-platform golden tests
ADC-CSA-008 Daily coverage schedule meets declared budgets/rotation or discloses shortfalls Simulated 28-day schedule; all applicable categories covered; impossible budget reports gap
ADC-CSA-009 Candidate generation has deterministic bounded retries independent of participant results Inject rejection, exhaust retries, preserve inventory; REMORA outcome cannot influence selection
ADC-CSA-010 Each admitted case passes SQG physical, semantic, excitation and differential checks Valid case passes; unreachable, impossible, masked and duplicate cases quarantined
ADC-CSA-011 Required target mutants and reject-all are detected where applicable Mutant fixtures, positive controls, mutation-score denominator and survivor report
ADC-CSA-012 Counterfactual identity, state isolation and exogenous trajectory preservation hold Identity replay, gate snapshot/restore, RNG isolation and metamorphic property tests
ADC-CSA-013 Participant configuration selects category, lane and budget without silent substitutions Invalid configs rejected; subset and extension inventory reproducible; unknown categories fail
ADC-CSA-014 Automated daily lifecycle performs draw through publication without manual operations End-to-end scheduled workflow fixture with fake beacon and isolated test gate; actual hosted smoke run
ADC-CSA-015 Missing, malformed, duplicate or stale evidence cannot produce PASS Fault injection for skipped jobs, timeout, wrong exit code, partial run, stale card, forged inventory
ADC-CSA-016 Registry is append-only, idempotent and supports bounded historical backfill Duplicate delivery, interrupted run, retries, missed date and late-plan tests
ADC-CSA-017 Results can be checked/reproduced at their exact pinned versions; authenticity is distinct from consistency Recount tampered raw decisions/card; artifact/signature mismatch rejected; deterministic core replay
ADC-CSA-018 Evidence and grid lanes are separate from general governance metrics Separate schemas, adapter/profile validation, no score pooling
ADC-CSA-019 Credentials, participant code and signing are isolated; licences/attribution preserved Workflow lint, permissions tests, shell injection fixture, private-data/secret exclusion checks
ADC-CSA-020 Dashboard reflects actual expected/executed inventory, coverage, fidelity and status Golden HTML/JSON; malformed input/empty set cannot turn green; generated page checks
ADC-CSA-021 Daily and nightly resource budgets are measured and enforced without hidden truncation Hosted-runner benchmark, declared timeout/oversize failures, long-horizon lane tests
ADC-CSA-022 Independent verification semantics and author relation remain explicit Own-author result cannot be independently reproduced/verified merely by attestation
ADC-CSA-023 Compound, emergent and adaptive families test causal interactions rather than cosmetic variants Qualified level-3 cases; level-4 shared-resource and level-5 deterministic state-responsive cases; missing model flagged as blocker
ADC-CSA-024 Every result of the reference policy or a benchmark author's system that is not a PASS gets a record of its cause, its fix and the commit that implements it, verified only by regression evidence A record is opened for each such result and none for a baseline; a fix without a commit is refused; VERIFIED only when the same pinned case passes under the fix and its report counts again from its own decisions; a forged report, another pack or a non-PASS is refused; records never go back a state

10.1 Minimum release qualification

  • All existing required static, unit, property, scenario, integration, conformance, traceability and supply-chain checks pass; no test weakening or ignored failures.
  • New daily acceptance matrix is fully linked to passing tests. Every accepted case has target mutant/positive control evidence and full expected observation coverage.
  • Run deep qualification on at least 1,000 candidates, stratified across all enabled families; publish actual counts, rejection reasons and surviving mutants. If resource cost prevents completion, release remains blocked or explicitly incomplete.
  • Run a 28-day deterministic schedule simulation (selection/coverage, not a requirement to execute every historical plant trajectory) and a complete public daily pack against reference controls with dynamic inputs.
  • Reproduce at least one full pack on two environments or CPU architectures according to ADC's determinism contract; record the environments and hashes/tolerances.
  • Prove one participant integration end to end using only sample/test gate and documented workflow; test both selected category mode and no-match behavior; test verifier/grid lane integration with fixtures where enabled.
  • Complete three consecutive scheduled public daily packs in shadow/development mode before switching on default publication. Missing/failed day resets the consecutive-completion criterion but remains visible. No green public result before acceptance.
  • Record actual reference/participant run time, CPU/memory, qualification rejection rate, and coverage; do not present targets as measured results. If the suggested budgets are not practical, propose a prospective adjustment and keep all declared coverage requirements explicit.

11. Spec-driven automated implementation plan (for coding agent)

Implement this specification in the target repository, not just a design document. Use the repository's current contribution process and existing architecture. Discover current HEAD, open PRs, ADR/SDD numbering, CI, actual plant model inputs and accepted data licences before editing. Avoid duplicating work being implemented elsewhere. Start from a clean branch/worktree; record baseline SHA and relevant current PRs. Do not change frozen benchmark data, historical artifacts or existing weekly behavior. Do not insert AI authorship/co-author trailers, generated-by signatures, or unauthorized contributor credits.

Proceed in small dependency-ordered PRs or independently reviewable commits. Every stage starts with failing tests that express this spec, then implementation, tests, traceability, docs and an evidence report. Automated execution continues across stages when checks pass; stop only on real blockers, conflicts, missing licence/model evidence, or required human review. Do not claim a stage is complete based only on a proposal or generated code.

Stage Work Automated acceptance
0 Audit existing interfaces, code ownership, open PRs, available dynamic signals and model fidelity; write ADR and requirement crosswalk Baseline checks; actual paths and supported capabilities recorded; no duplicate PR work
1 Sidecar taxonomy, family catalogue, schemas, deterministic plan, beacon verification and seed streams Schema, schedule, precommit, signature, historical weekly/frozen golden tests
2 Dynamic input profiles, measured-data adapter reuse, observation/latent truth separation and responsive agents Physical invariants, time-series constraints, response and anti-leakage tests
3 SQG, paired controls, test-only mutants, semantic fingerprint, quarantine and deep sweeps Target mutants killed, invalid/masked scenarios rejected, reproducible qualification
4 Family implementations across supported categories, including compound, multi-agent and adaptive cases Family coverage, dynamic event effects, independent expected predicates and controls
5 Daily runner, CLI, category config, grid/verifier lanes, exact inventory and status End-to-end local tests; subset/extension budget; crash/timeout/partial evidence tests
6 Scheduled jobs, backfill, registry, participant example and isolated attest/recount Workflow fault injection and hosted smoke run; no untrusted participant code in ADC CI
7 Dashboard, docs, onboarding, traceability and release qualification Generated documentation checks; deep sweep, full daily reference run, reproducibility and shadow acceptance

At the end of each stage, produce a machine-readable implementation-status.json or equivalent existing progress artifact, not a benchmark result: requirements implemented/verified, exact commit, command outputs or artifact URLs, actual test counts, remaining blockers, licence changes, performance and next stage. If an external event (three scheduled dates, human review, runner access) is still pending, complete the implementation and tests that are possible now, record PENDING_EXTERNAL_VERIFICATION, and do not assert release acceptance. Scheduled workflows execute future checks once merged/authorized; the coding agent must not promise to continue unattended without an actual execution mechanism.

11.1 Final deliverables

  • SDD and required ADRs with actual paths, numbered requirements and explicit scope.
  • Category registry, schemas, generator versions, reviewed condition profiles and state-responsive agent extensions.
  • Daily family library and SQG controls/mutants with tests, candidate ledger and performance report.
  • Daily CLI/config examples, scheduler, participant workflow, verifier/grid integrations, immutable registry and dashboards.
  • Full traceability and release checklist; current test outputs, coverage and reproduction commands; licence/third-party notices where applicable.
  • Reviewable PRs with clear implementation boundaries and human-required checks intact.

Definition of done: the complete daily lifecycle operates automatically for the selected category scope, with qualified dynamic plant scenarios, reproducible precommitted draws, validated results and explicit failures; all requirements and release acceptance checks have objective evidence. A feature marked unavailable or an unrun scheduled verification is not a completed requirement.

12. Design decisions and open validation items

  • Initial public budget is 12 cases/day and participant default up to 4. This is a proposed compromise, not a measured capacity. Measure qualification cost, not just simulator wall time.
  • The nightly 120-candidate and release 1,000-candidate sweeps are starting targets; stratification is mandatory, and sharding/budget adjustments must be explicit.
  • Existing weekly code already offers a deterministic beacon-based generator and a sweep, but its current scope is chiefly authority/exact action behavior. CSA extends it without retroactive changes. Full cryptographic beacon verification, model signal support and anti-leakage interfaces require implementation audit.
  • Realistic means supported physics, plausible disturbances, source-backed equipment parameters and explicitly stated assumptions. Real-world calibration is an additional research activity, not implied by synthetic simulation.
  • Some categories require model extensions, dedicated verifier adapters or external grid requirements; determine applicability and licences before enabling them. Maintain visible blockers instead of inventing data or results.
  • All daily outcomes remain separate from frozen seasonal rankings and existing weekly Agentic Seal issuance.

Primary repository references