Skip to content

feat(headless): support harness task subsets - #1295

Merged
Astro-Han merged 2 commits into
mainfrom
feat/headless-harness-task-subsets
Jul 21, 2026
Merged

Astro-Han merged 2 commits into
mainfrom
feat/headless-harness-task-subsets

Conversation

@Astro-Han

Copy link
Copy Markdown
Contributor

Summary

Allow harness A/B runs to select an explicit comma-separated Terminal-Bench 2.1 task set under one immutable manifest and WAL. This keeps subset experiments on the existing runner instead of launching independent single-task runs, while rejecting empty, duplicate, unknown, or conflicting selections.

Document the new MAKA_HARNESS_AB_TASK_IDS entry point and require an explicit run id for detached subset runs.

Verification

  • npm run lint
  • npm run format:check
  • npm run build --workspace=@maka/headless
  • node --test packages/headless/dist/tests/harness-ab-cli.test.js (21/21)
  • node ../../scripts/run-headless-tests.mjs (1170 passed, 1 skipped)
  • Dry-run against the frozen 89-task Terminal-Bench 2.1 source selected the 30 official hard tasks under one profile.

@Astro-Han

Copy link
Copy Markdown
Contributor Author

One test note: the subset case only uses the codex profile (maxPairConcurrency=1) with 2 tasks asserting pairConcurrency: 1, which can't distinguish "returns 1 anyway" from "Math.min actually capped it". A non-codex case (kimi-code, 2 tasks, explicit PAIR_CONCURRENCY=4, expect 2) would lock the cap.

@Astro-Han
Astro-Han merged commit 9c7e90a into main Jul 21, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the feat/headless-harness-task-subsets branch July 21, 2026 16:08
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