fix(v1): use typed ACP turn in Prime Agent harness - #2443
Merged
Conversation
mikasenghaas
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Root cause
PR #2440 retained the earlier ACPTurnResult name while PR #2438 landed the public type as ACPTurn. Importing the built-in harness package therefore raised ImportError.
Validation
The branch is based on newest main after RLM hotfix #2442.
Note
Low Risk
Rename-only type alignment with no logic changes; fixes import/discovery breakage.
Overview
Aligns the Prime Agent harness with the v1 ACP base after the public turn type was renamed from
ACPTurnResulttoACPTurn.The import and
acp_turn_resultparameter type are updated only; lifecycle handling is unchanged. This removes theImportErrorthat broke built-in harness package discovery when stacked PRs landed the new name inverifiers.v1.acpbut Prime Agent still imported the old symbol.Reviewed by Cursor Bugbot for commit 6ee1df9. Bugbot is set up for automated code reviews on this repo. Configure here.