Skip to content

bench: capture per-task session transcripts in harness-gain runner - #315

Merged
dahai80 merged 1 commit into
mainfrom
bench/transcript-capture
Nov 23, 2026
Merged

dahai80 merged 1 commit into
mainfrom
bench/transcript-capture

Conversation

@dahai80

@dahai80 dahai80 commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Problem

The harness-gain runner persisted only a stdout/stderr tail per task. Failure root-causing was blind: the same tasks fail across model tiers (T07/T12/T15/T20 fail on 8B and 32B alike) and there is no artifact showing what the agent actually did turn by turn.

Fix

fusion-code already writes full session transcripts (FUSION_CODE_CONFIG_DIR/projects/<cwd-slug>/*.jsonl). After each task process exits, the runner now copies the newest transcript from the task's isolated config dir next to its log as T<NN>.transcript.jsonl.

  • Best-effort: a missing/failed copy logs a [WARN] and never fails the run.
  • Non-fusion-code harnesses (goose/opencode) are unaffected (configDir stays undefined).

Validation

  • tsc --noEmit --strict clean; Biome rule set identical to base (no new findings).
  • Newest-jsonl selection logic smoke-tested against a synthetic config dir.

🤖 Generated with Claude Code

The runner persisted only a stdout/stderr tail per task, so capability
failures (T07/T12/T15/T20 fail across all model tiers) could not be
root-caused from artifacts. fusion-code writes full session jsonl under
FUSION_CODE_CONFIG_DIR/projects/<cwd-slug>/; copy the newest transcript
next to each task log as T<NN>.transcript.jsonl. Best-effort: copy
failure logs a warning and never fails the run.

Co-Authored-By: Claude Code <[email protected]>
@dahai80
dahai80 merged commit 1d1a9de into main Nov 23, 2026
1 check passed
@dahai80
dahai80 deleted the bench/transcript-capture branch November 23, 2026 02:12
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