Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
90d0c4c
reports(evaluation): record the approved run context plan
LittleCoinCoin Nov 25, 2026
18effe8
rdm(evaluation): open M6d Run context
LittleCoinCoin Nov 25, 2026
0528fd5
rdm(evaluation): order the schema leaf with M6.5's trace_context
LittleCoinCoin Nov 25, 2026
abdf7c2
rdm(evaluation): start level 1 of M6d Run context
LittleCoinCoin Nov 25, 2026
94ffb54
rdm(evaluation): fold the shell probe's timeout shapes into the readers
LittleCoinCoin Nov 25, 2026
37e1a15
test(trace-model): record each harness's failed and timed-out shell call
LittleCoinCoin Nov 25, 2026
222f147
reports(trace-model): how each harness reports a failed shell call
LittleCoinCoin Nov 25, 2026
e58f091
merge(trace-model): record how each harness reports a failed shell call
LittleCoinCoin Nov 25, 2026
81611ef
rdm(evaluation): close the shell probe
LittleCoinCoin Nov 25, 2026
69da51c
rdm(evaluation): rule on the schema leaf's two spec defects
LittleCoinCoin Nov 25, 2026
c33c6b8
rdm(evaluation): write the context_start caveat when both schemas meet
LittleCoinCoin Nov 25, 2026
e8bb3a4
rdm(evaluation): meet M6.5 by merging origin/main in
LittleCoinCoin Nov 25, 2026
b9934d6
test(schemas): state the exit field, the new needs and their digest keys
LittleCoinCoin Nov 25, 2026
bf1f6c2
feat(schemas)!: carry a shell call's exit and the stored run's needs
LittleCoinCoin Nov 25, 2026
a5b0916
refactor(adapter-claude-code): pass no exit to the tool result
LittleCoinCoin Nov 25, 2026
05d32dc
refactor(adapter-opencode): pass no exit to the tool result
LittleCoinCoin Nov 25, 2026
7773958
feat(evaluator-helper): read the trace of a context as the object it is
LittleCoinCoin Nov 25, 2026
39e1a86
docs(evaluator-protocol): regenerate the needs and the context sections
LittleCoinCoin Nov 25, 2026
a31a88e
style(adapter-claude-code): wrap the tool result call as rustfmt does
LittleCoinCoin Nov 25, 2026
657bbf9
test(schemas): check the refused exit rows before the kept ones
LittleCoinCoin Nov 25, 2026
29b39f0
reports(schemas): close the exit field and the new needs
LittleCoinCoin Nov 25, 2026
fc77fa5
fix(schemas): read an unknown key in needs as its siblings do
LittleCoinCoin Nov 25, 2026
31d17dd
fix(evaluator-helper): regenerate the models for the needs description
LittleCoinCoin Nov 25, 2026
feb5dbd
reports(schemas): record the rulings on the two spec defects
LittleCoinCoin Nov 25, 2026
983cc8a
test(schemas): state the bites and pick the served case by content
LittleCoinCoin Nov 25, 2026
59e8854
fix(schemas): describe only what the wire carries in the needs docs
LittleCoinCoin Nov 25, 2026
fde4f5a
fix(evaluator-helper): regenerate the models for the needs docs
LittleCoinCoin Nov 25, 2026
38856a8
docs(design): state the served parts of the run context and its digest
LittleCoinCoin Nov 25, 2026
fb03568
reports(schemas): bring the leaf report up to date with the rulings
LittleCoinCoin Nov 25, 2026
9a1811d
merge(schemas): carry a shell call's exit and the stored run's needs
LittleCoinCoin Nov 25, 2026
62038d1
rdm(evaluation): close the schema leaf and open level 2
LittleCoinCoin Nov 25, 2026
e04c387
test(adapter-opencode): state each shell call's exit from the export
LittleCoinCoin Nov 25, 2026
49f1969
feat(adapter-opencode): read a shell call's exit status
LittleCoinCoin Nov 25, 2026
6f27bea
reports(adapter-opencode): close the shell exit status
LittleCoinCoin Nov 25, 2026
6451280
fix(adapter-opencode): state the exit rule's guard and its lenient drop
LittleCoinCoin Nov 25, 2026
f1eb188
reports(adapter-opencode): record the base failure of the code rows
LittleCoinCoin Nov 25, 2026
62f5e9f
merge(adapter-opencode): read a shell call's exit status
LittleCoinCoin Nov 25, 2026
9d85425
rdm(evaluation): close the OpenCode exit reader
LittleCoinCoin Nov 25, 2026
bdc1f72
test(library): record the census of the probe's timeout stream
LittleCoinCoin Nov 25, 2026
1048b7a
merge(library): record the census of the probe's timeout stream
LittleCoinCoin Nov 25, 2026
033896a
rdm(adapter-claude-code): state the reads and the join the leaf needs
LittleCoinCoin Nov 25, 2026
c26af3b
test(adapter-claude-code): state each Bash call exit from the raw lines
LittleCoinCoin Nov 25, 2026
4fd36bc
feat(adapter-claude-code): read a Bash call's exit status
LittleCoinCoin Nov 25, 2026
62c27d5
reports(adapter-claude-code): close the Bash exit status
LittleCoinCoin Nov 25, 2026
ee79216
fix(adapter-claude-code): clear the exit of a result that joins no call
LittleCoinCoin Nov 25, 2026
e894dba
test(adapter-claude-code): pin both join orders and the unjoined result
LittleCoinCoin Nov 25, 2026
16bfc96
reports(adapter-claude-code): record the review round of the Bash exit
LittleCoinCoin Nov 25, 2026
b2439ce
merge(adapter-claude-code): read a Bash call's exit status
LittleCoinCoin Nov 25, 2026
ac4e2be
rdm(adapter-claude-code): close the Claude Code exit reader
LittleCoinCoin Nov 25, 2026
f03d455
fix(adapter-opencode): name the export reader that writes exit status
LittleCoinCoin Nov 25, 2026
8057f27
merge(adapter-opencode): name the export reader that writes exit status
LittleCoinCoin Nov 25, 2026
410085d
test(evaluation): state serving of the trace, raw streams and manifest
LittleCoinCoin Nov 25, 2026
55d5f3f
feat(evaluation): serve a run's trace, raw streams and manifest
LittleCoinCoin Nov 25, 2026
385e721
reports(evaluation): close the serving of the stored run
LittleCoinCoin Nov 25, 2026
06b43a8
fix(evaluation): copy stored parts by handle, name the file at fault
LittleCoinCoin Nov 25, 2026
95c0c37
test(evaluation): guard a stored trace changed after assembly
LittleCoinCoin Nov 25, 2026
66fe722
reports(evaluation): record the review round of serve_context
LittleCoinCoin Nov 25, 2026
c1cfdb7
merge(evaluation): serve a run's trace, raw streams and manifest
LittleCoinCoin Nov 25, 2026
5fd60ff
rdm(evaluation): close the serving of the stored run
LittleCoinCoin Nov 25, 2026
81ae2e3
test(evaluation): record the served rows over the reader writing exit
LittleCoinCoin Nov 25, 2026
5ee2913
merge(evaluation): record the served rows over the exit reader
LittleCoinCoin Nov 25, 2026
93497d2
test(evaluator-helper): state the stored run's parts and a typed trace
LittleCoinCoin Nov 25, 2026
a79435f
feat(evaluator-helper): hand a kind the run's parts and a typed trace
LittleCoinCoin Nov 25, 2026
803aebf
reports(evaluator-helper): close the stored run's parts in the helper
LittleCoinCoin Nov 25, 2026
55aeb15
docs(evaluator-helper): state that read_trace checks lines, not order
LittleCoinCoin Nov 25, 2026
29d6c92
reports(evaluator-helper): record the review and the RiVault trial
LittleCoinCoin Nov 25, 2026
cd31e0f
merge(evaluator-helper): hand a kind the run's parts and a typed trace
LittleCoinCoin Nov 25, 2026
512a4ed
rdm(evaluator-helper): close the stored run's parts in the helper
LittleCoinCoin Nov 25, 2026
c5aac1d
reports(evaluation): record the seam review after the readers
LittleCoinCoin Nov 25, 2026
22659e8
docs(schemas): say what a request is served and where a path is relative
LittleCoinCoin Nov 25, 2026
ffccb3b
docs(evaluation): say a request is served the union of its kinds' needs
LittleCoinCoin Nov 25, 2026
5ae6253
reports(evaluation): correct the trace ruling on who is served a part
LittleCoinCoin Nov 25, 2026
9a40663
rdm(evaluation): note the missing-part refusal in the refusal scope
LittleCoinCoin Nov 25, 2026
18a05a0
test(adapter-claude-code): drop the digests file no test reads
LittleCoinCoin Nov 25, 2026
f36661f
refactor(adapter-opencode): name the shell tool once
LittleCoinCoin Nov 25, 2026
91de6f3
test(schemas): vary the relative path of the served trace and manifest
LittleCoinCoin Nov 25, 2026
f0c3e08
docs(evaluator-protocol): note that a request's kinds share one context
LittleCoinCoin Nov 25, 2026
6753af9
fix(evaluator-helper): refuse null on an optional field of a wire model
LittleCoinCoin Nov 25, 2026
9d33792
merge(evaluation): apply the seam review after the readers
LittleCoinCoin Nov 25, 2026
3edfb5d
rdm(library): start the graded run's trace
LittleCoinCoin Nov 25, 2026
fe69541
test(library): grade a real run by its trace on both harnesses
LittleCoinCoin Nov 25, 2026
20c190e
reports(library): close the graded run's trace
LittleCoinCoin Nov 25, 2026
821fb4c
docs(schemas): say an artifact glob starts with outputs/
LittleCoinCoin Nov 25, 2026
5b0ca04
test(library): share the seam helpers and clean every job
LittleCoinCoin Nov 25, 2026
da8a1dd
reports(library): record the fix round of the graded run's trace
LittleCoinCoin Nov 25, 2026
f3aa283
merge(library): grade a real run by its trace on both harnesses
LittleCoinCoin Nov 25, 2026
b1771d9
rdm(library): close the graded run's trace
LittleCoinCoin Nov 25, 2026
2979297
rdm(evaluation): start the adversarial review
LittleCoinCoin Nov 25, 2026
3753985
reports(evaluation): review the run context campaign adversarially
LittleCoinCoin Nov 25, 2026
e6e9c4c
merge(evaluation): review the run context campaign adversarially
LittleCoinCoin Nov 25, 2026
c822e69
test(library): let model g1 run two or more shell commands
LittleCoinCoin Nov 25, 2026
a92af66
fix(adapter-claude-code): no exit for a nonzero result it does not flag
LittleCoinCoin Nov 25, 2026
a6f3917
test(adapter-opencode): record the same three exits as the export states
LittleCoinCoin Nov 25, 2026
f7e3986
reports(adapter-claude-code): which exit Claude Code's Bash result is
LittleCoinCoin Nov 25, 2026
b78ed3d
merge(adapter-claude-code): no exit for an unflagged nonzero result
LittleCoinCoin Nov 25, 2026
5a282cf
fix(evaluation): read a run's raw/ once in the store and refuse strays
LittleCoinCoin Nov 25, 2026
d84165e
refactor(evaluation): build a served copy's context entry in one place
LittleCoinCoin Nov 25, 2026
6eb2e60
refactor(adapter-opencode): spell the export reader's version once
LittleCoinCoin Nov 25, 2026
fcd6442
fix(evaluator-helper): refuse a trace out of order like Candler's reader
LittleCoinCoin Nov 25, 2026
553a306
reports(evaluation): report the review fixes leaf
LittleCoinCoin Nov 25, 2026
a612ca4
merge(evaluation): one reader of raw/ and one spelling of stored names
LittleCoinCoin Nov 25, 2026
1379b91
reports(evaluation): close the adversarial review
LittleCoinCoin Nov 25, 2026
05568c2
test(evaluation): record the served rows over the 0.4.0 reader
LittleCoinCoin Nov 25, 2026
b4194a1
reports(evaluation): record the ruling on unknown Needs keys
LittleCoinCoin Nov 25, 2026
cac082b
reports(evaluation): note that batching couples reuse and refusal
LittleCoinCoin Nov 25, 2026
3a937c9
ci(library): install uv for the graded-trace container guard
LittleCoinCoin Nov 25, 2026
db656da
merge(api): land M6.5 beside the run context
LittleCoinCoin Nov 25, 2026
bdb10f4
merge(api): take in the 0.17.0 release bump
LittleCoinCoin Nov 25, 2026
553b9d1
test(evaluation): give the graded-trace guard's cleanup its docker
LittleCoinCoin Nov 25, 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
5 changes: 5 additions & 0 deletions .github/workflows/container-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ jobs:
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- name: Install uv, which builds the evaluator helper the graded-trace guard runs
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
enable-cache: true
- name: Report the engine
run: docker version && docker info --format '{{.Driver}} {{.DriverStatus}}'
- name: Run the container guards
Expand Down Expand Up @@ -72,6 +76,7 @@ jobs:
egress_proxy_never_resolves_a_listed_host_to_itself \
controls_e2e_pinned_harness_passes \
parity_one_installed_server_one_traced_call \
graded_run_sees_trace \
control_each_kind_runs_on_the_real_base \
opencode_probe_reads_each_real_base_image_version \
plugin_environment_serves_live_mcp_tools \
Expand Down
25 changes: 17 additions & 8 deletions __design__/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -1042,15 +1042,20 @@ as the evaluator's log.
| ↳ result | | response | `{reported: n}` |
| `cancel` | core → evaluator | notification | request id; the evaluator answers `evaluate` with error `-32800` (request cancelled) |

**`needs`** = `{trace: bool, artifacts[] (run-relative globs), snapshots[] (kinds), inputs[]
(kinds), metadata[] (run-manifest field paths)}`. `resolve` checks every need the core can meet
**`needs`** = `{trace: bool, raw: bool, manifest: bool, artifacts[] (globs relative to the run, each starting with `outputs/`),
snapshots[] (kinds), inputs[] (kinds), metadata[] (run-manifest field paths)}`; `raw` and
`manifest` read as `false` when absent. `resolve` checks every need the core can meet
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.

**Run context:** `run` (key); `root` (a read-only, workspace-shaped view of the run: content-
addressed blobs materialised under their workspace paths by hard links or clones, so `domain.py`
sits beside `problems.py`); `trace` (normalised trace file); `raw[]`; `artifacts[] {path
(run-relative), abs, sha256}`; `snapshots[] {kind, path, digest}`; `inputs[] {kind, path, digest}`
addressed blobs materialised under their workspace paths as private copies, so `domain.py`
sits beside `problems.py`); `trace {path, abs, sha256}` (the normalised trace file) and `manifest {path, abs, sha256}`
(the run manifest), each present only when a kind of the request needs it, with `path` relative to `root`;
`raw[] {stream, path, sha256}` (`path` absolute; the stream is gzip-compressed JSON lines, `.jsonl.gz`);
`artifacts[] {path (relative to the run's outputs), abs, sha256}`; `snapshots[] {kind, path, digest}`; `inputs[] {kind, path, digest}`
(a need for kind K is served from `comparable.inputs` or from `evaluation_inputs`, with `path` a
read-only tree: its files read-only, its directories writable, as under `outputs/`; an input only
the evaluators see never enters the isolation, I8); `metadata` (the declared manifest fields). Absolute paths are valid where the
Expand All @@ -1065,8 +1070,12 @@ them as optional is released.

- `context_digest` covers the projection `{artifacts: [{path, sha256}], snapshots: [{kind,
digest}], inputs: [{kind, digest}], metadata: {<field path>: value}}`: lists sorted by `path` or
by `(kind, digest)`, every key present (lists possibly empty). Absolute paths, `root`, `trace`,
`raw[]` and `scratch` are outside it: they say where the run is, not what was graded.
by `(kind, digest)`, every key present (lists possibly empty). Each served part adds a key, and
only when it is served: `trace` (its sha256), `raw` (`[{stream, sha256}]` sorted by `stream`)
and `manifest` (its sha256), so a context that serves none of them has the digest of the
projection above. The run key, `root`, `scratch`, every absolute path and the relative paths
of the trace and the manifest are outside it: they say where the run is, not what was graded.
An artifact's `path` is inside it.
- `suite_entry_digest` covers `{kind, params, role, depends_on, applies_to?}` of one suite entry:
`depends_on` sorted, `applies_to` omitted when absent. `id`, `group`, `evaluator` and
`deadline_ms` are outside it, so renaming an expectation or moving its deadline keeps its digest.
Expand Down Expand Up @@ -1252,7 +1261,7 @@ never compares an inventory with one of another source. The census names no serv
ended_at?, ended_by, parent_session?, raw_ref}`; `Event {seq, at?, kind, span?, raw_ref, ext}` with
kinds `context_start` (`system`, `first_message`: the run's first model request that carries tools, as the
gateway received it; the root session's first event), `user_message`, `assistant_message`, `tool_call` (`origin`, `argv?`, `wrapped_calls[]?` for a
call that bundles several MCP calls), `tool_result` (`is_error`, `denied?`), `notification`, `usage`
call that bundles several MCP calls), `tool_result` (`is_error`, `denied?`, `exit?`: the shell call's `ExitStatus` as the harness reported it, absent for a non-shell, denied or uncoded result), `notification`, `usage`
(`scope: message | session_total`). `at` comes from the harness when it emits one, else from the
frame time in the raw file, else it is absent.

Expand Down
Loading