GeezerVison is showing github.com — config(opencode): reconcile deployed config into the repo file by dezren39 · Pull Request #904 · developing-today/code
Conversation
dezren39
commented
Oct 25, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
What this does
Reconciles the sandbox's deployed ~/.config/opencode/opencode.jsonc (edited in place all day, ~2819 raw diff lines, mostly formatting) into the repo config as a semantic union, ahead of Drew's ruling that the deployed file becomes a symlink to this repo file so the two can never drift again.
Method: both files parsed as JSONC (comments stripped, strict JSON parse) and compared by key path. The merged file was then re-diffed against the deployed file: zero deployed-only keys remain.
Changes (62 insertions, 1 deletion)
disabled_providers: union of both lists (18) — adds openrouter, cloudflare-gateway, cloudflare-workers-ai, code-design, design-code, open-design.
claude-code provider gains its CLI-proxy wiring (npm, name, options.baseURL 127.0.0.1:18749) so claude-code/* models resolve to the bridge as they do in the deployed config.
openai.alternate instance (OpenAI Alternate — popesdrew) added.
commandcode: 13 name-only model entries that existed only in the deployed file appended; the repo's own extra entries preserved.
- Agents coder/reasoner/classifier/classifier-complex gain the flat
temperature (and classifier maxTokens) fields from the deployed file; values are identical to the existing request.body form.
Repo-only content (agent permissions/mode/request structure, model_routes balanced/deep/fast/free, antigravity alias model defs, cloudflare/openrouter/opencode-go instance blocks) is preserved untouched. Providers disabled in one file and defined in the other end up defined and disabled.
Flagged conflicts — repo value kept, maintainer to rule
agent.coder.model: repo claude-code/claude-haiku-5-5 vs deployed deepseek/deepseek-chat.
agent.reasoner.model: repo claude-code/claude-haiku-5-5 vs deployed deepseek/deepseek-v4-pro.
plugin: repo's 13 entries vs the deployed file's emptied list. The sandbox serve wrapper documents that the list was emptied because the v2 serve stalls on the v1-era plugins; after the symlink flip the sandbox server will see these entries again (see verification note).
Verification
- JSONC parser-diff after merge: deployed-only = 0; remaining conflicts are exactly the flagged ones plus 5 bridge
baseURL template-vs-literal forms (same default ports; repo templates kept).
- Scratch
opencode serve (port 4199, scratch XDG homes, live 4096 server untouched) with the merged file as its only config: started cleanly, all 18 disables present as provider.use deny policies via /api/config, and /api/provider resolved the 9 enabled providers including commandcode (env template resolved) and the claude-code proxy wiring. First start spent ~2 minutes npm-installing the plugin packages into its cache, with some empty API responses during activation, then settled.
- Boot-path audit: nothing on this sandbox re-copies the deployed config at boot/recycle (init only installs the systemd unit and env file), so no installer change is needed for the symlink flip.
Full delta report: ~/workspace/config-reconcile-2026-10-25/delta-report.md on the sandbox.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- New Features
- Added additional Command Code model options and an alternate OpenAI option.
- Claude Code can now connect through a local proxy, using a configurable port or a default port.
- Changes
- OpenRouter, Cloudflare AI, design-code aliases, and ChatGPT provider options are no longer available.
- Classifier and agent settings now use explicitly configured response limits and temperatures.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
Union of the sandbox deployed config and the repo config, ahead of
making the deployed file a symlink to this one:
- disabled_providers: union of both lists (18) — adds openrouter,
cloudflare-gateway, cloudflare-workers-ai, code-design, design-code,
open-design.
- claude-code provider gains its CLI-proxy wiring (npm, name,
options.baseURL 127.0.0.1:18749) so claude-code/* models resolve to
the bridge the same way they do in the deployed config.
- openai.alternate instance (OpenAI Alternate, popesdrew) added.
- commandcode: 13 name-only model entries that existed only in the
deployed file appended; repo-only entries preserved.
- agents coder/reasoner/classifier/classifier-complex gain the flat
temperature (and classifier maxTokens) fields the deployed file
carries, with values identical to the existing request.body form.
Kept repo values on true conflicts, flagged for the maintainer:
agent.coder.model and agent.reasoner.model (repo: claude-code Haiku;
deployed: DeepSeek Chat / V4 Pro) and the plugin list (repo: 13
entries; deployed: emptied for the sandbox v2 serve).
Verified: JSONC-parsed semantic diff vs the deployed file now shows
zero deployed-only keys; a scratch opencode serve (separate port and
XDG homes, live server untouched) loaded the merged file, translated
all 18 disables into provider.use deny policies, and resolved the
enabled providers including the claude-code proxy wiring.
coderabbitai
Bot
commented
Oct 25, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Caution
Review failed
The pull request is closed.
Walkthrough
-
The OpenCode configuration updates provider availability and proxy settings, adds provider aliases and Command Code models, and sets explicit sampling parameters for four agents.
Changes: OpenCode configuration
| Layer / File(s) |
Summary |
Provider availability and Claude Code proxy .opencode/opencode.jsonc |
The disabled-provider list gains several IDs. The Claude Code provider uses an OpenAI-compatible adapter and local proxy options, with a port fallback of 18749. |
Provider aliases and Command Code models .opencode/opencode.jsonc |
The configuration adds an openai.alternate alias and 20 Command Code model entries. |
Agent sampling parameters .opencode/opencode.jsonc |
The classifier agents receive temperatures of 0 and token limits of 512 and 256. The reasoner temperature is 0; the coder temperature is 0.2. |
Priority: Not assessed
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Possibly related issues
developing-today/code#894 — This PR adds the Claude Code proxy URL configuration described in the issue, but the issue also lists setup changes that this PR does not include.
Possibly related PRs
Merge Risk: Moderate · up to 02177
-
Confirm reliable proxy startup before merging: default-model requests fail without its listener. Also reconcile the free route with disabling its only provider.
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-25T17:40:40.812684Z |
c2c13c2 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…PROXY_PORT:-18749}
The union brought the deployed file's literal http://127.0.0.1:18749/v1
baseURL into the repo config, which trips the nix-ci proxy-port guard
(.github/scripts/check-proxy-port-fallbacks.sh, #435): no literal
127.0.0.1:1874x ports in opencode.jsonc. The {env:...:-18749} form
resolves to the same port in every launch (the variable is set nowhere,
so the default governs), and the guard passes locally. Semantics are
otherwise unchanged — a key-path comparison against the previous HEAD
shows this baseURL as the only differing value.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 25, 2026
This was referenced Nov 21, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|