bug: agentop uninstall leaves Codex routed to the stopped proxy
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
cmd/agentop/cmd_uninstall.go の planUninstall 周辺と、cmd/agentop/cmd_codex.go の Codex 無効化フローを読み、既存の unroute ステップが needsCortexDir と daemon の再起動をどのように処理するか確認してください。説明に従って uninstall の使用方法テキストと docs/laptop-service.md を更新してください。uninstall が Codex のプロキシ設定を削除し、無効化モードでその daemon を再起動し、両方のドキュメントに Codex が記載されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
agentop uninstall does not remove the Cortex settings from Codex. After uninstall, Codex still sends every request to localhost:47600, and each request fails with "connection refused".
Reproduction (main at 676557d35, by reading the code)
agentop configure codex enable. This writesHTTP_PROXY,HTTPS_PROXY,http_proxy,https_proxyandSSL_CERT_FILEto~/.codex/.env(codexWanted,cmd/agentop/cmd_codex.go:219-241).agentop uninstall --yes.~/.codex/.envstill has all five keys.
With --purge, uninstall also deletes ~/.cortex, which includes the CA file that SSL_CERT_FILE names. cortexDirNeededBy does not see the Codex keys.
Cause
planUninstall (cmd/agentop/cmd_uninstall.go:359-366) has steps for Claude Code, OpenCode, Bob, the Bob and Pi shells, the Pi extension and the service. It has no Codex step. No line in cmd_uninstall.go names Codex. The usage text (cmd_uninstall.go:27) and docs/laptop-service.md:1142 also do not name Codex.
docs/agents/codex.md:100 says that Codex stops working when Cortex stops while Codex is still routed.
Fix
Add a planUnrouteCodex step that calls the existing planCodexDisable and applyCodexDisable, then restarts the Codex daemon as disable does. Make it set needsCortexDir as the other unroute steps do. Add Codex to the usage text and to docs/laptop-service.md.
Impact if not fixed
Codex stops working after every uninstall, until the user edits ~/.codex/.env by hand.
- 主要言語
- Go
- スター
- 26
- フォーク
- 46
- 平均マージ
- 9時間 55分
- マージ済み PR(30日)
- 257
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rossoctl/cortex のほかの issue
-
bug laptop
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
feat: Do not count a removed session's cost again when an import brings it back対応中かも @huang195 が今日担当しました。 オープンenhancement
rossoctl/cortex#1885 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug: The JWT bypass matches a cleaned path but forwards the raw path, so /mcp/../healthz skips validation対応中かも @evaline-ju が今日担当しました。 オープンbug
rossoctl/cortex#1884 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug: One-hour Anthropic cache writes are priced at the 5-minute rate, so spend is 37.5% too lowオープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug laptop
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
rossoctl/cortex の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Containerpak/cpak#93 ·
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
router-for-me/CLIProxyAPI#7607 ·
メンテナーはふだん 1 日以内に返信
-
enhancement ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
myNameArnav/lex#52 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100