Skip to content

#80: Reviewer produce pass re-runs up to 8× — make it single-pass#81

Merged
lsfera merged 1 commit into
mainfrom
agent/issue-80
Jun 30, 2026
Merged

#80: Reviewer produce pass re-runs up to 8× — make it single-pass#81
lsfera merged 1 commit into
mainfrom
agent/issue-80

Conversation

@lsfera

@lsfera lsfera commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Closes #80

Implemented autonomously by the AFK orchestrator in an isolated, git-isolated sandbox.

Commits: d7404a8

Extract buildReviewerPassOneConfig() pure function from ReviewerAdapter
that returns pass-1 run options with maxIterations: 1. The reviewer
produces a complete review in a single sandcastle iteration — re-running
up to 8× wasted tokens and widened the window for transient failures.

Unit-tests the pure config builder in reviewer-adapter.test.ts, mirroring
the buildAgentInput pattern from sandbox-runner.test.ts. Pass-2 extraction,
fail-safe, and reduce.ts are untouched.
@lsfera lsfera merged commit a25389b into main Jun 30, 2026
3 checks passed
@lsfera lsfera deleted the agent/issue-80 branch June 30, 2026 09:42
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.

Reviewer produce pass re-runs up to 8× — make it single-pass

1 participant