Add an explicit audited OpenCode evaluation runner - #297
Conversation
Preserve frozen prompts and settings, disable tools, restrict the observed free Zen routes, retain failure receipts, and revalidate provenance on resume/import. Refs #201. This is optional execution infrastructure, not a benchmark result or release-gate completion. Co-authored-by: Codex <noreply@openai.com>
PR Summary by QodoAdd an audited OpenCode rewrite-evaluation runner
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
conorbronsdon
left a comment
There was a problem hiding this comment.
Independent GPT-5.6 Sol high implementation review cleared runner source SHA-256 80d8eab6aeaeb30e5a0a7f584d1bc3451ac89c025d107eb41b91add395f6aaae after reproducing and fixing import/resume evidence gaps, failure capture, route/config isolation, receipt metadata, and repeated hook validation. Targeted tamper/failure tests and the full 19-suite run pass; all four exact-head CI checks are green.
The fresh, explicitly recorded 24-call diagnostic has completed: 15 validated results and 9 retained malformed-boundary failures. The runner correctly exits nonzero for the incomplete run. No result is repaired, retried automatically, or substituted from the earlier aborted attempt. Independent evidence validation is underway.
This review concerns executor correctness, not semantic rewrite quality. #201 remains open for human adjudication and the complete development/held-out release policy.
Code Review by Qodo
1.
|
Publish immutable evidence atomically, recover partial setup, quarantine invalid results without retrying calls, and require absolute executable paths. Validate Git provenance once per run or import while retaining per-row structural checks. Refs #201
conorbronsdon
left a comment
There was a problem hiding this comment.
Final review of 40c3828edb6e86322bb32071323347117b3c9c50: independent GPT-5.6 Sol high review found no remaining blocker, and the reviewed files match this published tree.
Thanks to Qodo for the four concrete recovery/performance findings. All four are addressed: immutable files are flushed and published atomically without overwrite; partial config/plugin setup resumes after validating existing contents; malformed results are hash-bound and quarantined without another provider call; executable paths must be absolute; and Git-backed plan validation happens once per run/import. The independent reviewer measured six Git invocations for a two-task import, with the same run behavior covered by regression tests. Publication-collision and partial-setup cases are included.
The full local suite passes 19/19. CI is running on this exact head. Recommendation: merge execution infrastructure once those checks pass.
The completed diagnostic belongs to the earlier runner commit fdee2ca, as recorded in the linked immutable evidence. This amendment made no provider calls and changes no preserved artifacts. Fifteen valid outputs from 24 calls and zero human judgments do not satisfy #201; #295/#296 remain drafts.
#201's frozen evaluation harness has no provider executor. This optional runner sends its exact plans through OpenCode 1.18.30 with no tools and an explicit observed free-model allowlist.
It checks resolved agent/config, Zen endpoint and SDK, costs, system/user/settings/model/session receipts, and final-text boundaries. Every hook invocation is retained and checked. Failed or interrupted attempts remain visible; resume/import revalidate evidence and never silently retry or overwrite a result. The core harness, case set, metrics, prompts, and human/held-out policy remain unchanged.
Final head:
40c3828edb6e86322bb32071323347117b3c9c50. The last amendment addresses all four late Qodo findings: atomic flushed publication with no overwrite, recovery from interrupted config/plugin setup, one full Git-backed plan validation per run/import instead of repeated per-row Git reads, and absolute executable paths. Malformed existing results are preserved with hashes and quarantined while later tasks continue.Validation: independent GPT-5.6 Sol high implementation and review; 19 local test suites pass; fake-client end-to-end, tamper, interrupted setup, corrupt-result recovery, and publication-collision regressions pass. The reviewer independently measured exactly six Git invocations for a two-task import. No provider calls were made for the final amendment.
The capped diagnostic completed using the earlier runner commit
fdee2ca6c8b93ac5bdda2567d0299dc1558cc12a(runner source SHA-25680d8eab6aeaeb30e5a0a7f584d1bc3451ac89c025d107eb41b91add395f6aaae). Of 24 calls, 15 had valid outputs and nine MiMo responses failed required text boundaries; all observed cost receipts were zero. The separately preserved first attempt contributed no selected outputs. The final amendment does not replace that execution provenance. Frozen diagnostic summary and commitments.This is execution infrastructure. #201 remains pending, and rewrite quality has not been established. Zero human judgments have been recorded; the full development run and held-out gate remain incomplete. #295 and #296 remain drafts.