Repository navigation
Description
Tracking goal
A frozen Headless Harness A/B schedule should attempt every cell it can, preserve single-sample Pass@1 semantics, retain partial evidence, and report infrastructure gaps explicitly.
The experiment contract does not require zero infrastructure failures or zero missing usage. The original requirement that a run is complete only when all 30 pairs are both evaluated and fully metered is superseded by the revised contract below.
Revised contract
- A cell-level timeout, OOM, provider failure, or verifier failure must be persisted with explicit provenance.
- One failed cell must not abort the remaining frozen schedule when the controller can safely continue.
- An agent that has started must never be implicitly rerun as another sample.
- Effectiveness, economy, execution coverage, and infrastructure failures use separate denominators/status.
- Checkpoint usage remains diagnostic and must not be promoted to trusted final usage.
- A run may finish as
completed_with_gapswhen all scheduled cells were attempted but some evidence is missing or infrastructure-failed.
Active seams
- fix(headless): force Harbor deadline settlement and atomically persist final cell artifacts #1078 — stage Harbor deadline settlement and persist final cell artifacts.
- fix(harness): continue A/B schedules after cell infra failures and report evidence by axis #1080 — continue A/B schedules after cell infra failures and report evidence by axis.
These are the only new bug seams required to close this tracker.
Related work, not closure blockers
- Add timeout checkpoint/resume for autonomous Harbor task runs before attempt-level retry #186 owns provider/runtime checkpoint resume. A provider failure may remain an explicit cell failure here as long as it no longer aborts the schedule or contaminates Pass@1.
- feat(harness): add reusable advisory Oracle evidence with incremental CI audit #1081 owns reusable advisory Oracle evidence and incremental CI audit. Oracle is not an A/B selection gate or prerequisite.
- The original incident also observed non-hermetic OpenCode installation and verifier setup failures. Do not split more issues from those observations until a current focused reproduction shows work beyond fix(harness): continue A/B schedules after cell infra failures and report evidence by axis #1080 is necessary; for this tracker they may remain explicit cell-level infrastructure outcomes.
Evidence
The original Maka-vs-OpenCode run observed all 60 cells but produced only 18 effectiveness-eligible pairs and 11 fully metered pairs.
Later semantic-compact runs isolated two continuing failure modes:
- v1 completed 30 effectiveness pairs but only 22 fully metered pairs; 9 cells across 8 pairs retained checkpoint-only usage and lacked final cell output.
- v2 still produced 5 checkpoint-only cells across 4 complete pairs with a 120-second settlement grace, then stopped after a host OOM.
- v4 stopped after a provider/network failure, leaving the scheduled suffix unattempted.
Affected checkpoint-only cells hit their configured 900/1800/3600-second Harbor hard timeout, consistent with an active step outliving cooperative after_step settlement.
Closure criteria
Close this tracker when #1078 and #1080 are complete and their integration coverage proves that:
- a non-cooperative active step settles to a durable final artifact before host hard kill;
- an injected cell infra failure does not prevent later scheduled cells from running;
- the final report exposes execution, effectiveness, economy, and infrastructure completeness independently;
- no path obtains apparent completeness by rerunning a started agent or treating checkpoint usage as final.
Historical run artifacts and detailed investigation remain preserved in the comments and edit history.
Activity
Astro-Han commentedon Jul 16, 2026
Follow-up evidence from the Maka semantic-compact on/off runs further isolates the final-usage settlement failure.
New observations
Five run records exist, but only three reached A/B execution:
The new v1 evidence contains 9 checkpoint-only cells across 8 pairs. Every affected cell:
maka-cell-usage-checkpoint.json;maka-cell-output.json;AgentTimeoutError;This confirms that the missing usage is not a report-reader defect. The report intentionally rejects checkpoint usage as final because the checkpoint may omit the last provider or compact call.
A 120-second grace window mitigates but does not solve the issue
A follow-up run explicitly injected:
MAKA_CELL_SETTLEMENT_GRACE_SEC=120and froze the value in the run manifest. Despite that, v2 still had 5 checkpoint-only cells across 4 of its 20 complete pairs:
gpt2-codegolfcells;make-doom-for-mipson the semantic-off arm;chess-best-moveon the semantic-compact arm;write-compressoron the semantic-compact arm.The remaining failure follows from the current deadline behavior. The soft deadline calls:
stopSession(..., mode: 'after_step')An after-step stop request does not abort an active provider stream or tool execution. If that active step lasts longer than the remaining settlement grace, Harbor still reaches its hard timeout first and kills the host cell before the final artifact is serialized.
Therefore, increasing the cooperative grace from 30 to 120 seconds is a useful mitigation, but it is not a complete fix and should not close this issue by itself.
Proposed complete deadline contract
Use a staged deadline:
after_stepsettlement at an early cooperative deadline.immediate.maka-cell-output.jsonpersistence.The regression test should include a backend or tool step that deliberately outlives the cooperative window and verify that:
tokenSummarySource=final;Checkpoint usage should remain excluded from the official economy summary.
The later host OOM and provider/network failure are separate lifecycle failures. They explain why v2 and v4 stopped early, but they do not explain the repeated checkpoint-only usage pattern.
Astro-Han commentedon Jul 16, 2026
Follow-up evidence from the semantic-compact on/off runs narrows the timeout-settlement failure:
maka-cell-output.json.MAKA_CELL_SETTLEMENT_GRACE_SEC=120, yet 4 of 20 completed pairs (5 cells) were still checkpoint-only.stopSession(..., mode: after_step): an active provider/tool step can outlive the cooperative grace, so Harbor kills the cell before final serialization. A 120-second grace is therefore a mitigation, not a complete fix. The robust contract should stage cooperativeafter_step-> forcedimmediate-> final-artifact window -> Harbor hard kill.A verified stable batch for short Maka semantic-off vs semantic-compact-replace A/B iterations is:
sanitize-git-repoprove-plus-commmerge-diff-arc-agi-taskfix-gitlog-summary-date-rangeshf-model-inferencereshard-c4-datapolyglot-rust-ccustom-memory-heap-crashpolyglot-c-pyAll ten were selected by Oracle qualification in v1, v2, and v4, and all ten produced eligible, final-metered results on both arms in both v1 and v2. Checkpoint usage should remain excluded from official economy totals.
[-]Headless Harness A/B can finish all cells but produce an incomplete paired report[/-][+][Tracking] Make Headless Harness A/B resilient to partial infrastructure failures[/+]Astro-Han commentedon Jul 16, 2026
For reproductions intended to expose behavioral differences—not merely provide a lifecycle-stable smoke batch—the following tasks are more useful because at least one arm previously failed without an infrastructure failure:
password-recovery— v2: semantic-off passed, semantic-compact failed verification.configure-git-webserver— v1: semantic-off failed verification, semantic-compact passed; v2: both failed verification.pytorch-model-cli— v1: semantic-off failed verification, semantic-compact passed.crack-7z-hash— v1: semantic-off passed, semantic-compact reached its model budget and failed, while still producing a final artifact.mteb-leaderboard— v1: both arms completed and failed verification; semantic compact was exercised heavily.Suggested clean reproduction batch:
Two additional tasks also produced non-infrastructure failures, but should not be used to attribute differences specifically to semantic compact because their trajectories were affected by the Edit tool bug tracked in #1111:
Tasks whose failing cells ended at the hard deadline with checkpoint-only usage are intentionally excluded from this batch. In particular, the affected
tune-mjcfand v1mcmc-sampling-stanresults are lifecycle-contaminated rather than clean model/verifier failures.This challenge batch is selected post hoc from historically failing or discordant outcomes. It is useful for reproduction and diagnosis, but its aggregate pass rate should not be treated as an unbiased benchmark estimate.