Skip to content

feat: make the completion review its own flag - #45

Merged
ostepan8 merged 1 commit into
mainfrom
feat/completion-review-flag
Oct 5, 2026
Merged

ostepan8 merged 1 commit into
mainfrom
feat/completion-review-flag

Conversation

@ostepan8

@ostepan8 ostepan8 commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

--benchmark-report and --benchmark-trajectory used to turn on the completion review (benchmark_mode in rc-cli/src/main.rs fed with_completion_review). Asking for a report file therefore also changed how the agent behaved: after its first stop following tool work, Marathon got one extra completion-audit note that interactive users never get.

This splits the two:

  • --benchmark-report and --benchmark-trajectory only write their files.
  • New --completion-review (or SC_COMPLETION_REVIEW=1) turns on the audit turn on its own. It works in headless and interactive runs.

Behavior change: benchmark runs no longer get the review unless they pass --completion-review. By default they now run the way users run Marathon.

Why: bench-runner measured the review on glm-5.3-marathon with 3 runs each way on a small task. It took 5–6 model requests instead of 3 and about 70–100% more tokens, and it makes Marathon's benchmark runs differ from other agents' runs. Harnesses that want it can still pass the flag.

@danielsuit, you added the review in 7eb1b4d. Can you check whether benchmarks were meant to keep it on by default?

Test plan

  • New CLI tests: report and trajectory alone leave the review off, --completion-review turns it on, and both work together
  • SC_COMPLETION_REVIEW parses 1/true/on and 0/false (checked locally)
  • cargo fmt --check, Clippy 1.99 -D warnings, cargo test --workspace (573 pass), cargo +1.89.0 check, DLR fmt and Clippy

🤖 Generated with Claude Code

--benchmark-report and --benchmark-trajectory now only write their files.
The completion-audit turn runs only with --completion-review or
SC_COMPLETION_REVIEW=1.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@danielsuit

Copy link
Copy Markdown
Collaborator

i think it should be on? not entirely sure

@ostepan8
ostepan8 merged commit 270983e into main Oct 5, 2026
4 checks passed
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.

2 participants