Skip to content

Four-model judging (deployed) + reflective retries, sealed v6, CI hang fix - #5

Merged
itproanalysis merged 5 commits into
mainfrom
ccr-7b0100a7-q98egs
Oct 31, 2026
Merged

itproanalysis merged 5 commits into
mainfrom
ccr-7b0100a7-q98egs

Conversation

@itproanalysis

Copy link
Copy Markdown
Owner

Why

Live probes on 2026-10-31 found two things:

  • Production is ahead of main. It runs the four-model judging setup from codex/judge-defaults, which was never merged to main.
  • The intelligence comparison can't separate the two lanes. In 11 of the last 12 Arena matches, both lanes tied 3/3. A prompt naming csvlite.py was unscorable. The EvoForge lane repeated the same Critic failure three times.

This PR merges the deployed branch and fixes those issues.

What changes

Merged from codex/judge-defaults (already live as release 31-2 / api 00052): keyless four-model judging. Muse Spark builds, GPT-6.1 and Gemini 4 plan, and Claude Opus 5.5 is the Critic.

CI hang: the api job timed out at 60 minutes.

  • Cause: test_runner_error_fails_closed passed /tmp to _sandbox_files_for_runner, and open() on a FIFO there blocks forever.
  • Fix: only regular files are read; symlinks are skipped too.
  • The test now uses its own directory, and there is a regression test with a FIFO and a symlink.

Prompt arena:

  • File names in the request (for example csvlite.py, or import csvlite) now point at app.py. Before, the judge's tests imported a module the sandbox didn't have and were dropped, leaving 0 tests. The manifest records the renamed stems in modules_renamed.
  • The judge instruction now says to call every function the request names and to check its stated edge cases. Before, it covered only app.render().
  • The progress line counts test functions on both sides. Before, it compared functions to files ("Critic 20/3").

Reflective retries (arena EvoForge lane and the critic-feedback pipeline). These add no model calls, and failures still come only from the Critic's own tests.

  • Every retry asks the Builder to re-check the request's explicit guarantees.
  • The same Critic failure twice in a row asks for a different approach from scratch, and the progress log shows "changing approach".
  • Two empty diffs in a row ask for the smallest complete implementation first.

Sealed v6:

  • The same 12 goals, files and reference fixes as v5, scored by 129 single-assertion held-out tests (7–15 per task). v5 had 36.
  • Every test passes with the reference fix and fails on the starting files.
  • tools/build_sealed_v6.py rebuilds and re-validates the suite.
  • The Arena page opens on v6; v5 stays selectable.

Deliberately unchanged: an unscorable prompt match still runs both lanes, so the two pages can be compared side by side. test_critic_t64 pins this behaviour.

Checks

  • Full API suite locally: 1469 passed, 10 skipped in 11.5 minutes.
  • Web tsc --noEmit and a clean npm run build (npm 11.12.1) pass.

Deploy note

This change touches the API, web and evals, so all images need rebuilding. Deploy with infra/gcp/deploy_prod.sh from a clean release worktree, not cloudbuild-web-only.yaml.


Generated by Claude Code

itproanalysis and others added 5 commits October 31, 2026 06:48
Scoped API/Web/infra ownership exception requested by owner; preserve Spark Builder, independent Opus Critic, native GPT/Gemini plans, per-call receipts and existing Runner/merge gates.
Live probes on 2026-10-31 (job_34f00ed1825d, job_cd3d388389e1 and three more)
showed where EvoForge loses intelligence and where CI stalls.

CI
- _sandbox_files_for_runner read every file under the sandbox; the runner
  error test passed "/tmp", where a named pipe blocks open() forever, so the
  api job hit its 60-minute limit. Only regular files are read now (symlinks
  are skipped too), and the test uses its own directory. Full suite: 1469
  passed in 11.5 minutes locally.

Prompt arena
- A request naming csvlite.py left the judge 0 runnable tests (they imported
  csvlite, not app). File names in the request now point at app.py (imports
  too), with a note to the Builder and the judge; the manifest records the
  renamed stems.
- The judge was told to test only app.render(); it now calls every function
  the request names and checks the edge cases it states.
- Progress read "Critic 20/3" (test functions over test files); both sides
  count test functions.

Retries (arena EvoForge lane and the critic-feedback pipeline)
- Every retry asks the Builder to re-check the request's explicit guarantees
  and resolve conflicting requirements in favour of all of them.
- The same Critic failure twice in a row asks for a different approach from
  scratch ("changing approach" in the progress log); two empty diffs in a row
  ask for the smallest complete implementation first. No extra model call and
  no held-out signal: failures still come only from the Critic's own tests.

Sealed v6
- v5 bundles 4-5 assertions into each of 3 held-out tests, so the lanes tied
  3/3 in 11 of the last 12 matches. v6 keeps v5's 12 goals, files and fixes
  and scores them on 129 single-assertion tests (7-15 per task), each passing
  with the reference fix and failing on the starting files
  (tools/build_sealed_v6.py rebuilds and re-validates it). The Arena page
  opens on v6; v5 stays selectable and reproducible.

Not changed: an unscorable prompt match still runs both lanes so the two
pages can be compared side by side (pinned by test_critic_t64); its main
cause, the file-name mismatch, is fixed above.

Owner request: "전부 개선 진행" after the intelligence review.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DTFbAx9ExCXQGVsXdYS89y
@itproanalysis
itproanalysis merged commit 86a7e80 into main Oct 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants