Repository navigation
Spec: four more Harnesses (agy, Grok Build, Muse Code, OpenCode) - #442
Merged
Merged
Conversation
Gather Claude and Codex into Harness adapters
Stop every Harness session process tree on interruption
# Conflicts: # README.md # src/harness.rs # tests/fakes.rs # tests/support/fakes.rs
# Conflicts: # src/harness.rs # tests/fakes.rs # tests/support/fakes.rs
Add the agy Harness (Antigravity CLI)
Preserve agy's catalog validation and instruction fallback alongside Muse's skill loading and final-reply recovery. Combine both Harnesses in registration, Setup, User config, documentation and scenario fakes. Validated with cargo check --locked --all-targets, cargo test --locked --quiet (1127 passed), cargo clippy --locked --all-targets -- -D warnings, cargo fmt --check and git diff --check.
Add Muse Code Harness
Preserve Grok Build and Muse Code registrations, configuration, Setup, docs and test support. Adapt Grok to the prompt-aware stream interface and cover Muse in the process-tree interruption scenarios. Validation: cargo check --all-targets; cargo test (1143 passed); cargo clippy --all-targets -- -D warnings; cargo fmt --check; git diff --check.
Add the Grok Build Harness
# 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
Add the OpenCode Harness
JacobStephens2
marked this pull request as ready for review
October 6, 2026 18:29
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
Spec #432 adds Antigravity CLI (
agy), Grok Build (grok), Muse Code (muse) and OpenCode (opencode) alongside Claude Code and Codex. The command line, User config and installed-only Setup select all six; a Command keeps its Harness, Model and Effort through child Runs, Base fixes, Repairs and Resumes.Closes #432
Evidence
interrupting_a_muse_check_stops_its_whole_process_tree_before_work,interrupting_an_opencode_export_stops_its_whole_process_tree, andinterrupting_a_muse_check_after_cli_exit_stops_the_command_holding_its_streameach failed: interruption waited over nine seconds for the command.After: each regression passes; the Command exits promptly, its recorded child is stopped, and interrupted checks make no Claim or worktree.
error_events_are_condensed_to_progress_with_groks_failure_textfailed with[]instead oferror: backend unavailable.After: standalone error frames and failed result frames emit error progress while retaining Grok's failure text.
cargo fmt --check;cargo clippy --all-targets -- -D warnings;cargo test(1,170 passed, 0 failed); all four red/green regressions pass. Scenario tests use recorded CLI protocols with fake CLIs; no live paid model calls.cargo test --test process_tree --test muse_sessions --test opencode_sessions(34 passed, 0 failed).Seams under test
Unaddressed findings
Standards
Spec
None. All four initial Spec findings and the follow-up pipe-draining interruption finding were addressed.
Merge Danger
Door: two-way
Code and configuration additions can be reverted; no data migration.
Blast Radius: sessions
Harness choice, Setup, session launch/recovery and interruption affect all six Harnesses. Unattended permissions and trust follow ADR 0013.
Built with codex · gpt-6.1-sol · xhigh
Tickets