ADR 0069: A season's Track D, made by the participant's own workflow and read back here
- Status: Accepted on 2026-12-02 by the owner.
- Date: 2026-12-02
- SDD: 12; ADR 0027, 0050, 0057
- Prompted by: the owner's decision that an enrolled system's own workflow runs a season's Track D by itself after the season closes, at the exact version it registered, and that this project reads the result as it reads a monthly result.
Context
Track D is the held-out part of a season. Its variants are drawn from the drand round emitted at the season's deadline, so nobody can know them before. Until now a participant ran it by hand: fetch the round's secret, run the season tier with it, check the card for publication, and report it with an issue form (docs/bench/PUBLIC_TEST.md, steps 4 to 6). The monthly result already needs nothing of the participant: its workflow makes it, and tools/fetch_results.py reads, checks and proposes it.
Three things make Track D larger than a monthly result:
- Time. The season tier is thirty seeds. With three held-out variants of each scenario, each seed is four times the runs of a seed of the standard benchmark. One seed of the standard benchmark with both reference controls takes about two hours on a hosted runner; one seed of Track D with all three gates would take about eight, more than a hosted job may run (six hours). One seed of one gate takes about a third of that.
- Size. A standard card of 756 runs is 8 MB. A season's Track D card of the system's gate and both reference controls is about 35,000 runs: some hundreds of MB, more than a file of a GitHub repository may be. It compresses about thirty times.
- Which version. A registration names the version that runs in Track D at the deadline. The workflow runs on the participant's newest commit.
Decision
1. One attempt per season. A season's Track D is spent by the first run of the workflow on the entry's branch, created after the deadline, in which a part job of it started (the jobs API gives it a started_at), whatever came of it after: cancelled, a part failed, the result job failed after the upload (it fails on a REFUSED card, by design), or the artifact deleted. Nothing makes it again. Of two runs that both started parts, the one with the lower run number counts, whichever ended first.
2. When it is due, decided by a tested function. On the Monday and the monthly schedule (not the daily run of ADR 0067), and when started by hand with track_d, the job track-d-plan runs tools/track_d.py due with the run's own token (actions: read). Track D is due for a season when: the season has closed; its list of registrations is on main here (docs/bench/season-<n>-registrations.json); the system's registration issue (its entry's enrolled.issue) is in it, open at the deadline, with a commit as its version; the run is on the entry's branch; and no earlier scheduled or started run on that branch since the deadline has spent the season, or has its parts queued. The newest such season comes first. It says why in the job summary either way. A verifier takes no part. A version given as an image digest cannot be checked out by the workflow, and is said to be run by hand. The plan job runs one at a time on a branch, and each part of a season one at a time (concurrency, never cancelling one in progress), so a second run finds the first one's parts queued and does not start its own.
3. The registered version, on the season's tag. Every Track D job checks out the participant's repository at the registered version, not at the commit the run was made from, and checks that it is. Agentic-Datacenter is checked out at the season's frozen tag, not at the version of the season that is open now. If the registered version cannot be checked out, the plan job fails and says why, and nothing runs or is uploaded.
4. The gate comes from that checkout. Before a part of the system's gate runs, tools/track_d_gate.py (standard library only, taken from main and run beside the tag) finds where the gate the run reaches comes from, and refuses it unless it is the checkout in gate/:
- a command (
ADC_GATE): the program, or for an interpreter such aspythonornodethe first file it is given, read from the checkout, must be a file inside it. The command is run with the checkout as its working directory (env -C gate/). - a service (
ADC_GATEa URL): it must be on the runner (127.0.0.1, ::1, localhost), and each process listening on its port must have its working directory in the checkout and run a file from it, as a service started inADC_GATE_BUILDdoes. NTI'spython integrations/agentic-datacenter/adapter.py --servefrom its repository passes. A service anywhere else cannot be checked, and is refused for Track D. - a Python package (
ADC_PACKAGE_GATE): its entry point's module must be a file in the checkout, as an editable install from it gives. A gate built into Agentic-Datacenter, such asremora_governed, is refused: it runs the version the season's tag pins (REMORA_PIN), not a registered one. The maintainers run REMORA's Track D on the benchmark runner (bench-runner.yml), attested there.
What it found (kind, file, working directory, command) goes into track_d.json, and the reading checks that the file and the working directory lie inside the recorded checkout. What this covers: the code the run starts is a file of the registered commit, run from it. What it does not cover: what that code loads at run time from elsewhere, such as a package from an index or a model over the network; and it is the participant's own workflow that reports it, attested by its run as the rest is, not a check made here.
5. Ninety parts, one card. The job track-d runs one seed of one gate each: the system's own, static_allowlist and null_gate, the reference controls a published card must hold beside it. Thirty seeds by three gates, each about a third of a hosted job's limit. The secret is read once, by the plan job, from two relays. If a part fails, the others stop (fail-fast). The job Track D, season <n>, the result checks that all ninety parts are there, ran on one commit, that commit the season's tag, and the system's parts at the registered version and started alike from the checkout; merges them with bench merge; writes bench check --publication to check.txt; writes track_d.json (season, round, tag, registered version, the commit that ran, how the gate was started, the secret); records the files with bench record; compresses the card and check.txt (gzip -n; the record keeps the hashes of the files as made); and uploads one artifact, agentic-datacenter-season-<n>-track-d-<run>. With a part missing it uploads nothing, and the season has no result. The decisions are uploaded apart, as large as the card, and are not read here. The job attest-track-d signs the record as attest signs the rest, apart from it, so that the week's report is not held up for many hours.
6. Read once a season, and final. tools/track_d.py sync, every day in the results workflow, finds for each enrolled entry with ci: and each closed season it is registered for the run that spent the season, once that run has ended. Runs are listed by the time they were made, from the deadline on, a week at a time, since GitHub gives at most 1000 runs for one filtered listing; a week with more is refused rather than read in part. If its artifact checks out, it is the season's result, REFUSED included: it is checked by tools/check_results.py as every published result is, and also the card is of the season's frozen version, PASS or REFUSED for publication (thirty seeds, the season's bounds), with three held-out variants whose commitment is that of the season's round, read again from the beacon; and track_d.json names the season, its round and tag, the version the registration named at the deadline as the commit that ran, and a gate started from that checkout. It is proposed as a pull request and listed in the entry with track: D, season, tested_version and counted: {season, run_number, attempt, attempts} (10 and 11 below); version stays the commit the run was made from, which the attestation names. Otherwise (no artifact, an artifact that does not check out, an expired one, or a run missing from the numbers before it) the season is proposed as one with no Track D result, in the entry's no_track_d with the run and why, and the registration issue is told, once. Either is final. An error in reading is not: it is tried again the next day. That holds for the beacon not answering and for a verification of the attestation that gives no answer (gh attestation verify failing on the network, the API, a rate limit, a timeout, or not running). Only after seven days of that, counted from the end of the run, is the season listed with no result, saying the beacon could not be read, or the attestation could not be verified, for seven days. A verification that answers, and finds no attestation of that run from that commit in that repository, is final at once. One entry that cannot be read never stops the others.
7. Read within bounds. Only the named files of the artifact's bench/ are read, each copied in a stream up to its bound as stored, and a file over its bound refuses the artifact; nothing is cut short: provenance.json, track_d.json and check.txt (or check.txt.gz) 4 MiB; report.html and summary.md 16 MiB; the card only compressed, result_card.json.gz, up to 64 MiB, the artifact's own bound. A compressed file is then read through once in a stream, uncompressed, before anything parses it: check.txt up to 64 MiB, the card up to 512 MiB. A season's card of a gate and both reference controls is about 35,000 runs at about 11 kB each (a standard card of 756 runs is 8.2 MB): some 380 MB. 512 MiB leaves a third over that, and parsing it takes a few GB of memory, which the runner of the results workflow has. github_api.fetch refuses an answer longer than its bound instead of returning the first part of it.
8. Large files kept compressed. A file of a result larger than 1 MiB is kept as <name>.gz (tools/cards.py); the card and check.txt of Track D stay as uploaded. The record lists each file as the run made it, so check_results, the pages and bench verify read them uncompressed. A result's page says how to compare and verify such files.
9. The list of registrations, the day a season closes. tools/season_registrations.py --closed runs every day in the results workflow. For each closed season with no list, it writes the list from each registration issue's history at the deadline and proposes it as a pull request. Once a maintainer merges it, each registered system's workflow makes the season's Track D at its next Monday or monthly run.
10. Attempts of the run that counts. GitHub can run a run's jobs again in a later attempt of the same run, with the same run id. Done after a result, that would make a second artifact for a run that already gave one: a REFUSED card's artifact deleted, and "Re-run all jobs" for a new one. So, reading every attempt's jobs (jobs?filter=all):
- The result job may get past its upload step (
Upload the season's Track D) in one attempt only. In two or more, the season has no result. - Nothing of the season's Track D may run in an attempt after the one that uploaded. If it does, the season has no result.
- The artifact must have been made while that attempt's result job ran, and its attestation must name that attempt (
runInvocationURIending in/attempts/<n>).track_d.jsonnames it too. Otherwise the season has no result. - The entry's result records the attempt that made it and how many the run had,
counted: {season, run_number, attempt, attempts}.
11. Finishing a run after a technical failure. A part can fail for reasons that are not the gate's: a runner lost, a network error, a job cancelled. Its failed and cancelled jobs may be run again in later attempts of the same run ("Re-run failed jobs"), within seven days of the run's making, as long as no attempt has uploaded the result. Meanwhile due says Track D is not due, and why: finish run
This gives no advantage. The parts are deterministic for a deterministic gate: the same version, the same seeds and the same round give the same rows, byte for byte (ADC-BEN-006). A part run again gives what it would have given the first time. Once the result is uploaded, nothing may run again, so a refused card cannot be traded for another. Every attempt is recorded by GitHub, read here, and counted in the entry.
12. A pilot, before a season closes. Started by hand with track_d_pilot and a past round in track_d_round, the same jobs run a whole Track D: 90 parts, merge, check, record, attest. They run on Season 1's tag, against that round, with the gate as configured (the starter gate too; where it came from is recorded, and not required to be the checkout), at the commit the run was made from. Its jobs are named for season pilot, and its artifact is agentic-datacenter-track-d-pilot-<run>. Neither is read as a result, nor spends a season. A round a season draws from, or one not emitted yet, is refused (tools/track_d.py pilot). It is there to measure what a Track D takes on hosted runners before 2027-01-13.
What it does not do
- It does not run a participant's code here. Track D runs in the participant's repository, as the monthly result does.
- It does not end the manual path. A participant without the workflow, with an image digest as its version, with a gate served elsewhere, or with a gate built into Agentic-Datacenter, runs steps 4 to 6 of the public test by hand.
- It does not make the run faster. Ninety jobs of a few hours each, with twenty at a time on a free plan, take most of a day.
- The time of a part is an estimate from the measurements in docs/bench/TIERS.md, not a measurement of Track D on a hosted runner. A gate much slower than the built-in ones may need more than one hosted job for a seed.