Repository navigation
Add the OpenCode Harness - #447
Merged
Merged
Conversation
# Conflicts: # README.md # src/args.rs # src/config.rs # src/harness/adapter.rs # src/setup.rs # tests/process_tree.rs # tests/setup.rs # tests/support/fakes.rs
This was referenced Oct 6, 2026
Closed
Closed
Merged
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
Add OpenCode wherever a Harness can be selected, including
[harness.opencode]and Setup. Use the user's provider Model and Effort, link Factory skills and instruction fallback, and recover the final reply and usage from the standalone session export.Closes #439
Evidence
harness opencodewas rejected as an unknown Harness.After: 13 OpenCode scenarios cover selection, flags, stdin, environment, Model/Effort checks, Setup, skills, instruction links, export recovery and failures.
After: The process-tree regression passes, and export parsing sums all assistant token categories and cost while excluding the title call.
cargo test— 1,166 passed, 0 failed;cargo clippy --all-targets -- -D warnings,cargo fmt --check, andgit diff --checkall pass.Test seams
step_finish, last-assistant text and assistant-only usage totals.Review
Standards and Spec reviews use
issue-432atd5261163ca8e34846e397dc783c7f07988067322as the fixed point. Addressed the shared skill-load policy duplication, interruptible preflight check, complete token accounting and unsupported automatic Resume trigger.Merge Danger
Door: two-way
No data migration. Reverting removes the OpenCode Harness and its configuration support.
Blast Radius: Harnesses
Adds an OpenCode standalone check before work and shares skill-load warning policy with Muse. Existing Harnesses remain registered.
Unaddressed findings
Standards
Spec
Built with codex · gpt-6.1-sol · xhigh