Skip to content

feat(headless): support evidence-safe isolated reruns - #1211

Merged
Astro-Han merged 2 commits into
mainfrom
fix/headless-resume-pass-at-one-safely
Jul 18, 2026
Merged

Astro-Han merged 2 commits into
mainfrom
fix/headless-resume-pass-at-one-safely

Conversation

@Astro-Han

@Astro-Han Astro-Han commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Allow the Terminal-Bench harness to select one named task or lower rolling pair concurrency, and record the effective concurrency in the immutable run manifest.
  • Require an explicit run ID for named-task runs before either the direct or detached launcher creates run artifacts.
  • Preserve authoritative resume evidence: a structured verifier pass wins over a trailing agent infrastructure exit, legacy execution identity can attest a missing prompt hash, and a later orphan marker cannot replace an already scored terminal.
  • Keep the boundary deliberately small. This PR does not add operator result recovery, replacement admissions, cross-WAL recovery state, or a subject-fingerprint override.

Verification

  • node --test packages/headless/dist/__tests__/harness-ab-cli.test.js packages/headless/dist/__tests__/harness-ab-run.test.js packages/headless/dist/__tests__/fixed-prompt-controller.test.js — 94 passed, 0 failed.
  • npm test --workspace=@maka/headless — 1119 passed, 0 failed.
  • Reverted each of the two PR commits independently in detached worktrees and ran npm --workspace @maka/headless run build — both builds passed.

Review focus

The two commits are intentionally independent: the first owns harness selection/run identity, and the second owns fixed-prompt evidence projection and precedence. Either commit can be reverted without breaking the other's build.

@Astro-Han
Astro-Han force-pushed the fix/headless-resume-pass-at-one-safely branch 2 times, most recently from e235faf to 2eb34d9 Compare July 18, 2026 17:23
@Astro-Han
Astro-Han force-pushed the fix/headless-resume-pass-at-one-safely branch from 2eb34d9 to 98207ce Compare July 18, 2026 17:56
@Astro-Han Astro-Han changed the title fix(headless): resume Pass@1 harness runs safely feat(headless): support evidence-safe isolated reruns Jul 18, 2026
@Astro-Han
Astro-Han merged commit 7bafb2e into main Jul 18, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the fix/headless-resume-pass-at-one-safely branch July 18, 2026 18:00
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.

1 participant