Skip to content

feat(efficacy): run round 5d's arms at K = 15 and pin the CLI per run - #93

Merged
braboj merged 2 commits into
mainfrom
feat/round-5d-harness
Oct 31, 2026
Merged

braboj merged 2 commits into
mainfrom
feat/round-5d-harness

Conversation

@braboj

@braboj braboj commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

The harness half of round 5d's preparation (#89): its arms get round 5's K and spec check, and a run can pin the Claude CLI.

File Change
tests/efficacy/harness.py ROUND5D_ARMS; --cli; the CLI's version on every trial; the updater off; 6 new self-test checks
docs/architecture/06-runtime-view.md A row for the CLI in the isolation table
docs/rounds/round-5d.md 13d.5: these items moved to done

Before, after:

--arms hand,short --k 15                  refused: K = 5 at most
--arms hand,short --k 15                  15 blocks, spec checked

claude on PATH, may update mid-round      --cli C:/efficacy/cli/claude-2.1.314.exe
record: no CLI version                    record: "cli_version": "2.1.314 (Claude Code)"
  • C:/efficacy/cli/claude-2.1.314.exe is a copy of 2.1.314, kept where the launcher's updater does not prune it.
  • Round 5c's records keep no version; its run spans 2.1.312 and 2.1.314.

Checks:

  • harness self-test 154/154
  • each new check fails with its change undone (pin, updater, record, K)
  • pyflakes is clean

Still open in #89: reading 5c's none beside 5d's, H4 and H5, and the drift check.

Refs #89

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX

A run of `hand` or `short` now takes K up to 15 and builds from round 5's
spec at its registered content, as a round-5 run does. `--cli` names the
one CLI file every trial runs, every trial records the CLI's version, and
a trial's environment turns the CLI's updater off.

The CLI updated itself in the middle of round 5c; round 5d runs days
later, so its trials run one pinned file instead of the launcher on PATH.

Refs #89

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
@braboj braboj mentioned this pull request Oct 31, 2026
5 of 8 tasks
A version read once per run would hide a CLI another process updated
between two trials. The stand-in CLI in the self-test now answers each
call with a new version, so a version read once per run fails it.

Refs #89

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
@braboj

braboj commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Codex review (gpt-6-astra, effort high) raised one P2, fixed in the latest commit.

Finding Fix
The CLI's version was read once per run, so a CLI another process updated between trials would be recorded wrongly Each trial reads the version of the file it runs, as it starts
  • The run still reads it once at the start too, to refuse a CLI that cannot answer before any trial.
  • The self-test's stand-in CLI now answers each call with a new version, so a version read once per run fails it.

Checks:

  • harness self-test 154/154
  • the check fails with the per-run read put back
  • pyflakes is clean

@braboj

braboj commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Second Codex review (gpt-6-astra, effort high) raised one P2. No change: it is by design.

Finding: --arms none,full,short,hand,hybrid --spec thin --k 3, round 4's thin-spec setup, is now refused, because hand and short now take round 5's spec check.

Why no change:

@braboj

braboj commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Third Codex review (gpt-6-astra, effort high): no findings. Merging.

@braboj
braboj merged commit 4b31b29 into main Oct 31, 2026
2 checks passed
@braboj
braboj deleted the feat/round-5d-harness branch October 31, 2026 20:17
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