GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(go): full Go porting of opencodex proxy — 24 WPs, 290 files, 39k LOC by lidge-jun · Pull Request #368 · lidge-jun/opencodex

Conversation

@lidge-jun

@lidge-jun lidge-jun commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Go porting of opencodex (ocx) proxy

Complete Go reimplementation of the Bun/TypeScript proxy runtime. 24 work-phases across 2 phases, implemented via parallel Sol subagents with PABCD discipline.

Stats

  • 219 source files + 71 test files = 290 files
  • 38,955 LOC
  • 29 packages (27 with tests)
  • 24 commits (WP01–WP24 + CI workflow)
  • 27 packages race-clean
  • 3-platform cross-compile (windows/amd64, linux/amd64, darwin/arm64)

What's implemented

Phase 1 (WP01–WP13): Skeleton, config, types, 10 interfaces, protocol kernel (SSE/Smithy/retry/abort), 4 adapter families (OpenAI/Anthropic/Google/Kiro), bridge + HTTP server + relay, OAuth + credential store, 58-provider registry + catalog, Claude Code compat, Chat Completions compat, CLI + service lifecycle, usage/cost + management API.

Phase 2 (WP15–WP24): Integration wiring, web-search sidecar, vision sidecar, combos/failover, Cursor adapter (protobuf + native-exec + MCP), Claude Desktop 3p, Codex features/inject/shim, Windows tray + system-env, generated metadata + E2E integration tests.

CI

  • go-ci.yml: build + vet + test + race on ubuntu/macos/windows + cross-compile 5 targets + E2E

Scope

  • Write scope: go/ directory + .github/workflows/go-ci.yml only
  • No TypeScript modifications
  • Stable TS branch remains untouched; this targets preview integration path

Not yet verified

  • Live upstream provider calls (unit/E2E tests use mocks)
  • Windows tray UI execution (cross-compile verified only)
  • Actual Codex CLI integration (shim/inject code written, not exercised against live Codex)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
lidge-jun added 24 commits July 24, 2026 02:46
@lidge-jun
feat(go): WP01 skeleton + config + types + interfaces
e3fc8e3
@lidge-jun
feat(go): WP02 protocol kernel — SSE/Smithy/bounded/retry/abort/stall
3ed2929
@lidge-jun
feat(go): WP03 OpenAI adapters — Responses + Chat + Azure + MiMo + he…
160f6c5
…lpers
@lidge-jun
feat(go): WP04 Anthropic adapter + image normalization
f8e23a9
@lidge-jun
feat(go): WP06 Kiro adapter + Smithy event-stream
7e73a9b
@lidge-jun
feat(go): WP05 Google/Gemini adapter family
92e7c83
@lidge-jun
feat(go): WP09 provider registry + model catalog + routing
07843e1
@lidge-jun
feat(go): WP08 OAuth + credential store + token guardian
518c13c
@lidge-jun
feat(go): WP07 bridge + HTTP server + relay + routing
a15c35c
@lidge-jun
feat(go): WP10 Claude Code compatibility
2ba7f7a
@lidge-jun
feat(go): WP13 usage + management API + request logging
94d3110
@lidge-jun
feat(go): WP12 CLI + service + platform utilities
8e5ae6a
@lidge-jun
feat(go): WP11 Chat Completions compat + Responses compact
4919a53
@lidge-jun
feat(go): WP17 vision sidecar — planner + executors + cache + replace…
a00eb2e
…ment
@lidge-jun
feat(go): WP16 web-search sidecar — loop + executors + progress + par…
64b2e51
…sing
@lidge-jun
feat(go): WP18 combos + failover — weighted selection + cooldown + ho…
13d965f
…p/stop
@lidge-jun
feat(go): WP15 integration wiring — compact + OAuth + management + re…
1075275
…quest-log + usage
@lidge-jun
feat(go): WP21 Claude Desktop 3p + agent injection + gateway cache + …
44f9358
…debug ring
@lidge-jun
feat(go): WP19 Cursor adapter — protobuf + transport + events + disco…
516cb02
…very
@lidge-jun
feat(go): WP22 Codex features + inject + shim + home + journal
a215026
@lidge-jun
feat(go): WP23 Windows tray + system-env + startup helpers
23d4e84
@lidge-jun
feat(go): WP20 Cursor native-exec + MCP + tools + policy
0f52372
@lidge-jun
feat(go): WP24 generated metadata + E2E integration tests
220e141
@lidge-jun
ci: add Go CI workflow — build + test + race + cross-compile + e2e on…
9ad149f
… 3 platforms
@coderabbitai

coderabbitai Bot commented Jul 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 604443d2-2421-4401-81b0-d403e6fa8fd5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/260724-go-porting

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the enhancement New feature or request label Jul 24, 2026
lidge-jun added 3 commits July 24, 2026 10:51
@lidge-jun
fix(go): add in-process mutex to file lock — macOS flock is process-s…
4a18d89
…coped
@lidge-jun
fix(go): skip Unix permission checks on Windows + fix SQLite readonly…
b9e777f
… test
@lidge-jun
fix(go): eliminate TOCTOU race in RefreshAccount — re-read generation…
5f3229d
… inside lock
lidge-jun added a commit that referenced this pull request Jul 24, 2026
@lidge-jun
docs(devlog): triage complete #355/#356/#366/#368 DEFER + #336 MERGED…
73f8a42
…; wp2 goalplan state
@lidge-jun

lidge-jun commented Jul 24, 2026

Copy link
Copy Markdown
Owner Author

Closing this draft because the Go rewrite is now maintained as the independent dev2-go track rather than merged into dev. The replacement branch is at 5564f84c27141df9058770df4c2e61594f586a18, and Go CI passed on all supported lanes: https://github.com/lidge-jun/opencodex/actions/runs/30065187682. The TypeScript preview train remains unchanged.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lidge-jun lidge-jun closed this Jul 24, 2026
@lidge-jun
lidge-jun deleted the codex/260724-go-porting branch July 24, 2026 03:53
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@lidge-jun
docs(devlog): triage complete lidge-jun#355/lidge-jun#356/lidge-jun#366/
eaf70de
lidge-jun#368 DEFER + lidge-jun#336 MERGED; wp2 goalplan state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Ingwannu Ingwannu Awaiting requested review from Ingwannu Ingwannu will be requested when the pull request is marked ready for review Ingwannu is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

enhancement New feature or request

Projects

None yet

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.

1 participant

@lidge-jun
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.