Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
830a48c
rdm(api): plan the M6 gaps campaign before M7
LittleCoinCoin Dec 1, 2026
fcb2f69
rdm(api): start the three M6 gap leaves
LittleCoinCoin Dec 1, 2026
1beaf67
reports(adapter-opencode): record the stop-script guard on the base
LittleCoinCoin Dec 1, 2026
e4a895a
test(adapter-opencode): run the stop-script guard on an image it builds
LittleCoinCoin Dec 1, 2026
f78e272
ci(repo): expect the OpenCode stop and harness-check guards
LittleCoinCoin Dec 1, 2026
c6a5a23
reports(adapter-opencode): close the OpenCode stop-script guard
LittleCoinCoin Dec 1, 2026
e1a5769
merge(adapter-opencode): run the OpenCode stop-script guard in CI
LittleCoinCoin Dec 1, 2026
c77c1e0
rdm(api): name the server refusal code that is really raised
LittleCoinCoin Dec 1, 2026
4d4e0a9
rdm(api): close the OpenCode stop guard leaf
LittleCoinCoin Dec 1, 2026
7e28a10
rdm(api): send the job refusal record to its review
LittleCoinCoin Dec 1, 2026
e5e6325
test(cli): read a job-start refusal from the job's refusal record
LittleCoinCoin Dec 1, 2026
9559a28
refactor(jobs): share the refusal record between job kinds
LittleCoinCoin Dec 1, 2026
b94889e
fix(jobs)!: keep a run job's refusal in its refusal record
LittleCoinCoin Dec 1, 2026
4b01ba3
docs(jobs): say every job kind leaves its refusal record
LittleCoinCoin Dec 1, 2026
2894d1b
reports(jobs): close the job refusal record
LittleCoinCoin Dec 1, 2026
466b371
reports(jobs): review the job refusal record
LittleCoinCoin Dec 1, 2026
a0ec588
fix(jobs): keep the record of a run job whose setup failed
LittleCoinCoin Dec 1, 2026
edd0250
reports(jobs): record the review findings in the leaf report
LittleCoinCoin Dec 1, 2026
022db6f
merge(jobs): keep every job kind's refusal in its refusal record
LittleCoinCoin Dec 1, 2026
ee1fa32
rdm(api): close the job refusal review
LittleCoinCoin Dec 1, 2026
6c3f34f
rdm(api): gate the needs refusal on the failed request it leaves
LittleCoinCoin Dec 1, 2026
dfca5d1
rdm(api): send the needs batches to their review
LittleCoinCoin Dec 1, 2026
771760e
test(evaluation): state that a kind's result ignores the kinds beside it
LittleCoinCoin Dec 1, 2026
e44f4c3
fix(evaluation): split an evaluator's stage by its kinds' needs
LittleCoinCoin Dec 1, 2026
b64b880
docs(evaluator-protocol): serve each kind the needs of its own request
LittleCoinCoin Dec 1, 2026
629400d
reports(evaluation): close the needs batches
LittleCoinCoin Dec 1, 2026
4811b11
reports(evaluation): review the needs batches
LittleCoinCoin Dec 1, 2026
22ed7d5
refactor(evaluation): key a stage's needs by a canonical set
LittleCoinCoin Dec 1, 2026
e4ee9cc
merge(evaluation): serve each kind the needs of its own request
LittleCoinCoin Dec 1, 2026
46516fd
rdm(api): close the needs batches review
LittleCoinCoin Dec 1, 2026
f2bf324
reports(api): close the M6 gaps campaign
LittleCoinCoin Dec 1, 2026
fb2ec64
reports(api): fill the campaign spend and the needs review round
LittleCoinCoin Dec 1, 2026
923eb29
rdm(api): close the M6 gaps campaign
LittleCoinCoin Dec 1, 2026
e42fb4a
rdm(api): amend the campaign to carry the needs refusal code
LittleCoinCoin Dec 1, 2026
b7198e5
rdm(api): store a failed request as its id and its record
LittleCoinCoin Dec 1, 2026
12135ec
test(evaluation): state that a refused request carries its code
LittleCoinCoin Dec 1, 2026
531b081
fix(evaluation)!: carry a refused request's code in the report
LittleCoinCoin Dec 1, 2026
ea7ac2e
docs(evaluation): say a failed request carries its refusal
LittleCoinCoin Dec 1, 2026
e8d304b
reports(evaluation): close the needs refusal code
LittleCoinCoin Dec 1, 2026
b46e5b1
reports(evaluation): review the needs refusal code
LittleCoinCoin Dec 1, 2026
4579ceb
merge(evaluation): carry a refused request's code in the report
LittleCoinCoin Dec 1, 2026
679c9bf
rdm(api): close amendment A1 of the M6 gaps campaign
LittleCoinCoin Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/container-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
graded_run_sees_trace \
control_each_kind_runs_on_the_real_base \
opencode_probe_reads_each_real_base_image_version \
opencode_real_binary_is_interrupted_by_the_stop_script \
guard_harness_check_refuses \
plugin_environment_serves_live_mcp_tools \
x1_env_image_prunes_the_named_file_and_reads_the_pin \
x1_env_image_without_requirements_has_only_seed_packages; do
Expand Down
12 changes: 8 additions & 4 deletions __design__/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,12 @@ names.
container. `candler evaluate` starts the job at once and waits for it; the job form is what lets
`kill` and the recovery of a lost job reap evaluator processes after a crash, and lets one
`events.jsonl` serve `watch`.
A finished evaluate job leaves `report.json`, or, when an error ended it, `refusal.json`: the
`refusal/1` record of that error, written before `job.ended`, which the command prints in place
of a report. The command stops the job on Ctrl-C only: SIGTERM or SIGHUP of the command leaves
Every job kind, run or evaluate, leaves `refusal.json` when an error ended it: the `refusal/1`
record of that error, written before `job.ended` by one function both supervisors call. A
finished evaluate job also leaves `report.json`, whose `failed_requests` each hold the request
id and the `refusal/1` record of the error that failed it, built by that same function (the code
`candler.internal` when the failure holds no coded error); the command prints the record in
place of a report. The command stops the job on Ctrl-C only: SIGTERM or SIGHUP of the command leaves
the job running, as it does for any job. Two evaluations over the same runs at once may grade a
run twice; the readers (`show`, `analyze`, `diff`, the pending selection) take the current
record under each I4 key, so the run counts once. A claim per run is not in place.
Expand Down Expand Up @@ -1048,7 +1051,8 @@ snapshots[] (kinds), inputs[] (kinds), metadata[] (run-manifest field paths)}`;
without a run; an `inputs` need for `build_inputs` is refused there, by name. A need a run cannot
meet, such as a kind the run holds in neither list, is refused for that run, by name.
The core builds one context per request, from the union of the needs of the kinds the request
sends; a part the run does not store refuses the whole request.
sends. A request holds the kinds of one evaluator and stage whose entries, with those they depend
on, have the same needs; a part the run does not store refuses only the requests that need it.

**Run context:** `run` (key); `root` (a read-only, workspace-shaped view of the run: content-
addressed blobs materialised under their workspace paths as private copies, so `domain.py`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Two lessons from the level are process, not code, and are in the [last section](

## O1. An ignored OpenCode guard has been broken on main since 8d88cb50

**Closed** by the m6_gaps campaign, merge `e1a5769f` ([report](../m6_gaps/00-knowledge_transfer_v0.md)).

**What was noticed.** `opencode_real_binary_is_interrupted_by_the_stop_script` (`#[ignore]`, needs `CANDLER_OPENCODE_IMAGE`) takes `driver.collect(..).first()` as the export `Exec` spec. Since 8d88cb50 (`fix(adapter-opencode): collect the files an OpenCode run wrote`, on `origin/main`) the first spec is the `**/*` file spec, so the guard fails with `no collect` before Docker starts. Without the variable it fails with `NotPresent`. CI skips it because it is ignored, so nobody sees it fail.

**Location map.** `crates/candler-harness-opencode/tests/it/guard_opencode_driver.rs` (the guard); `crates/candler-harness-opencode/src/driver.rs` (`collect`).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ deferred-because: each lies outside the guard leaf's topic

## O11. A job-start refusal's code reaches no place a consumer reads

**Closed** by the m6_gaps campaign, merge `022db6fd` ([report](../m6_gaps/00-knowledge_transfer_v0.md)).

**What was noticed.** Since level 2 moved the harness check to job start (amendment A1), a rejected cell is refused inside the detached supervisor. The refusal is `DriverError::HarnessRejectedInput`, whose code is `experiment.harness_rejected_input`, but the job's `events.jsonl` ends with `job.ended {"reason": "failed"}` and `supervisor.log` carries the message only. `refusal.json` is documented for evaluate jobs only. A consumer, or the guard, can therefore not tell a rejected input from any other failure by its code. The same holds for `jobs.config_check_failed` and `jobs.server_check_failed`. G6 is met on the message; `guard_harness_check_refuses` asserts on it.

**Location map.** `crates/candler-core/src/jobs/events.rs` (`job.ended`); `crates/candler-core/src/jobs/orchestrate/{config,servers}.rs`; `docs/contract/` error-model pages.
Expand Down
Loading