Repository navigation
feat: delete the OpenCode runtime; Pi is the only runtime - #847
Merged
Merged
Conversation
Candidate from cook agent-task-b0bdd610; 21 shell tests still regress.
The import was restored for Kimaki migrations; the retirement assertion (and the nonexistent 'credentials import-pi' rename) contradicted it.
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.
Deletes the OpenCode runtime. Pi is now the only runtime wp-coding-agents installs or configures. Closes #846 (slice 4 of #751); Homeboy Cook already dropped its opencode backend (Extra-Chill/homeboy#15932).
Removed
runtimes/opencode.sh,runtimes/opencode/(includingclaude-code-auth.ts), and the OpenCode subagent projectionopencode.jsondrift/repair (lib/repair-opencode-json.py,--repair-opencode-json, the additive repair phase), and the "Installing OpenCode" phase--runtime(passing it now errors with a pointer to Simplify to one runtime: Pi + composed AGENTS.md, Roadie as the managed surface #751), plusRUNTIME/DETECTED_RUNTIMES/AVAILABLE_RUNTIMES. Aruntimekey recorded in an installation profile is ignored. The setup profile compiler resolvesautotopiand rejectsopencode.~/.opencode/binfrom the rendered Roadie PATHnpm install -g opencode-ai)Kept on purpose
roadie credentials import-opencode). It is a one-time data migration that reads Kimaki's OpenCode-format logins into the Roadie pool. Without it, a migrating Kimaki host would lose its logins.AGENTS.mdand theCLAUDE.mdsymlink are unchanged.opencode.json/~/.config/opencodeon hosts are left alone. The installer just stops managing them.Verification
tests/*.shsuite plusnode tests/setup-profile-compiler.mjs: no regressions againstorigin/main. Six tests also fail on clean main on this host (agents-md-guidance,cli-channel-binary-path,datamachine-worker,homeboy-service-identity,roadie-kimaki-migration,workspace-materialization); all pass in CI.Removed flags
setup.sh/upgrade.sh --runtimeand--repair-opencode-jsonare gone.AI assistance: implemented by Homeboy Cook (Pi, gpt-6.1-sol via roadie/cook-heavy) over three rounds. chubes-bot (Pi, Claude) scoped the work, triaged regressions against main, fixed the last
roadie-accountsassertion, and verified the result.