feat(sdk/python): isolate OpenCode harness runs - #1023
Merged
santoshkumarradha merged 1 commit intoSep 1, 2026
Conversation
This was referenced Aug 31, 2026
ddbaron
force-pushed
the
fm/agentfield-opencode-upstream
branch
from
August 31, 2026 22:45
bcc96fb to
5391992
Compare
santoshkumarradha
approved these changes
Sep 1, 2026
santoshkumarradha
left a comment
Member
There was a problem hiding this comment.
Focused Python harness tests passed locally for me, and the config-overlay path looks sound. I also approved the fork-gated workflows so the full matrix is running now.
Contributor
Performance
✓ No regressions detected |
Contributor
📊 Coverage gateThresholds from
✅ Gate passedNo surface regressed past the allowed threshold and the aggregate stayed above the floor. |
Contributor
📐 Patch coverage gateThreshold: 80% on lines this PR touches vs
✅ Patch gate passedEvery surface whose lines were touched by this PR has patch coverage at or above the threshold. |
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
agentfield-harnessagent throughOPENCODE_CONFIG_CONTENT.max_turnsrunner limit separate from OpenCode's fixedstepssetting.AGENTFIELD_OPENCODE_INLINE_SYSTEM_PROMPT=1.The overlay also carries the resolved model and OpenCode-specific reasoning variant when available. The provider-agnostic public
variantAPI is intentionally kept in the related follow-up rather than duplicated here.Validation
uv run --extra dev pytest -q tests/test_harness_provider_opencode.py tests/test_harness_agent_wiring.py tests/test_harness_runner.py tests/test_harness_types.pygit diff --checkThe focused tests pass against the current
mainbranch.Related to the original proposal: #960
Related to the provider-agnostic follow-up: #1024
The fork preview remains available at ddbaron#3.