Repository navigation
Description
Finding
PR #921 fixed the empty-port baseURL bug for commandcode (its COMMANDCODE_PROXY_PORT was missing from the laptop's session variables), but it explicitly left the second half unfixed and unfiled: in the same OpenChamber serve, antigravity-ls also resolved to an empty port (http://127.0.0.1:/v1) even though ANTIGRAVITY_LS_PROXY_PORT=18745 was present in the serving process's environment. This one is cross-repo: the evidence was gathered in this repo's PR, the suspected defect is in developing-today/openchamber's config handling. One issue tracks the set (filed here, where the PR was reviewed).
Evidence
- PR config(opencode): comment out cloudflare/openrouter sections; literal proxy ports #921 (commits
4d9026b5,32ad9377; merged46147f67cf1), body section "One half of the bug is NOT fixed here — flagged with evidence": "antigravity-lsalso resolved to an empty port in that same serve, despiteANTIGRAVITY_LS_PROXY_PORT=18745being present in the serving process's environ. That points at OpenChamber's own config handling (it demonstrably rewrites some baseURLs —claude-code's effective baseURL there is an OpenChamber-assigned concrete port, not the config value), not at the environment this repo controls. … it needs OpenChamber-side investigation and can only be verified at the laptop's next switch/respawn." - The environment half is verified fixed on current main in this repo:
home/common/default.nix:24definesclaudeCodeProxyPort = 18749;and thehome.sessionVariablesblock now exportsMUSE_PROXY_PORT,COMMANDCODE_PROXY_PORT, andCLAUDE_CODE_PROXY_PORTfrom the let bindings — so the remaining variable is OpenChamber-side handling of the{env:ANTIGRAVITY_LS_PROXY_PORT:-18745}baseURL template. - Affected repos: developing-today/code (evidence: PR config(opencode): comment out cloudflare/openrouter sections; literal proxy ports #921 body + commit
32ad9377message; config template in.opencode/opencode.jsonc) and developing-today/openchamber (suspected defect: baseURL/env-template resolution in its serve config handling).
Why it matters
The antigravity-ls provider is silently broken in the laptop's OpenChamber serve — requests go to a port-less URL and fail — and the only record of the defect was prose in a merged PR body, which no sweep or queue will ever pick up. The commandcode half of the same bug is fixed, which makes this half easy to mistake for resolved.
Acceptance criteria
- At the laptop's next switch/respawn, the OpenChamber serve's effective
antigravity-lsbaseURL is captured (withANTIGRAVITY_LS_PROXY_PORTconfirmed in the process environ) and the reproduction is recorded on this issue. - The point in OpenChamber where the
{env:…}baseURL template is dropped or rewritten to an empty port is identified, or the root cause is documented on this issue with a landed workaround. - After the fix/workaround, the antigravity-ls provider works in the OpenChamber serve with the env var present.
Found by the pr-diff-review job reviewing PR #921. Dedupe: searches for antigravity / antigravity-ls empty port in both developing-today/code and developing-today/openchamber returned no matching issue (#916, #894, #480, #437 are different defects). Related triage note: PR #921 also partially satisfies open #894 (its CLAUDE_CODE_PROXY_PORT / claudeCodeProxyPort items now exist on main).
Activity
developing-today commentedon Oct 26, 2026
CODE-163
dezren39 commentedon Oct 26, 2026
Agent note — state: filed; Agent: pr-diff-review job; Session/ID: pr-diff-review run 2026-10-25 23:37 CDT; Found via: filed this run (PR diff review against current main a2eef6f). A repo-task/v1 packet for this issue is being enqueued to the repo-health-code-pilot queue.
dezren39 commentedon Oct 26, 2026
🤖 Agent note · picked up
11 remaining items
dezren39 commentedon Oct 26, 2026
🤖 Agent note · picked up
dezren39 commentedon Oct 26, 2026
🤖 Agent note · done
Evidence (fresh, 2026-10-26 ~17:50 CDT):
developing-today/codeflake.lockon main pins opencode to56590c57d084b600f915a9d77a5636b9786d7a56(bump commit1c07fbc0, 2026-10-25).git merge-base --is-ancestor dc72b96651 56590c5passes — the build contains opencode ⚡ Bolt: optimize search match counting using getMatchHighlights #232 ({env:VAR:-fallback}substitution, 2026-10-21)./nix/store/3iff8nwca01yfdzaf8g3clbhjw80lkg4-opencode-2.0.30+56590c5/…; binary--version:opencode v2.0.30+56590c5.ANTIGRAVITY_LS_PROXY_PORT=18745confirmed in pid 526106 environ.GET /api/provider, directory/home/user):antigravity-lssettings resolve to"baseURL": "http://127.0.0.1:18745/v1"— the port is no longer empty. Config template remainshttp://127.0.0.1:{env:ANTIGRAVITY_LS_PROXY_PORT:-18745}/v1(~/.config/opencode/opencode.jsonc), now parsed by a post-⚡ Bolt: optimize search match counting using getMatchHighlights #232 build.e7baa0dbuild, port 34069) is still running insideopenchamber.serviceand the new serve holds a connection to it (a still-referenced workspace server), so it was left alone to drain rather than killed mid-session.Closing as fixed: serve opencode is past #232 and antigravity-ls resolves to
127.0.0.1:18745.