Skip to content

fix(opencode): refresh stale kimaki wrapper#107

Merged
chubes4 merged 1 commit intomainfrom
fix-opencode-wrapper-refresh
May 3, 2026
Merged

fix(opencode): refresh stale kimaki wrapper#107
chubes4 merged 1 commit intomainfrom
fix-opencode-wrapper-refresh

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 3, 2026

Summary

  • Run the OpenCode wrapper refresh path for CHAT_BRIDGE=kimaki installs even when the primary runtime is no longer OpenCode.
  • Replace stale bash wrappers when their content does not match the current canonical wrapper, backing up the old file first.
  • Add an opencode-wrapper regression test and wire it into CI.

Fixes #106.

Testing

  • ./tests/opencode-wrapper.sh
  • ./tests/bridge-render.sh
  • node tests/effective-prompt/run.mjs
  • homeboy lint wp-coding-agents --path /Users/chubes/Developer/wp-coding-agents@fix-opencode-wrapper-refresh
  • PATH=\"$HOME/.nvm/versions/node/v24.13.1/bin:$PATH\" ./upgrade.sh --dry-run --wp-path /Users/chubes/Studio/intelligence-chubes4 --runtime claude-code --skip-plugins

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the wrapper refresh fix, regression test, and local verification; Chris remains responsible for review and merge.

@chubes4 chubes4 merged commit 7deafb0 into main May 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stale opencode wrapper at /usr/local/bin/opencode silently corrupts auth.json on every spawn (escapes upgrade.sh)

1 participant