Feat: Support running Cortex natively on Windows (no WSL)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
Start with the Windows build failures listed in the issue: core/bootstrap/bootstrap.go, cmd_bob_launch.go, setup_unsupervised.go, cmd_service_platform.go, and setup_probe.go. Then audit the POSIX assumptions named in the issue and check the existing launchd and systemd service implementations. Done means Cortex and agentop build and run natively on Windows, the listed platform needs are addressed, and CI checks Windows builds.
索引モデルが issue の本文から書いたものです。
説明
Motivation
Some users run coding agents (e.g. opencode) on locked-down Windows VDIs. These don't support virtualization, so WSL isn't an option. Today Cortex only builds and installs on Linux and macOS.
Current state (GOOS=windows GOARCH=amd64 go build on main)
cmd/cortexfails in one place:core/bootstrap/bootstrap.go:67usessyscall.SIGUSR1(the log-level toggle). With that guarded, the proxy may build as-is.cmd/agentopfails on:cmd_bob_launch.go:220andsetup_unsupervised.go:30:SysProcAttr{Setsid: true}cmd_service_platform.go:342,421andsetup_probe.go:213:syscall.Kill, includingKill(pid, 0)used as a liveness probe
Work needed
- Move the Unix-only signal and process code behind
_unix.go/_windows.gofiles:- Replace the SIGUSR1 toggle on Windows (e.g. a stats/admin endpoint or an agentop command).
- Detach processes with
CREATE_NEW_PROCESS_GROUP/DETACHED_PROCESSinstead ofSetsid. - Check liveness with
OpenProcessinstead ofKill(pid, 0).
- Add a service backend:
agentop service installonly knows launchd and systemd. Windows needs a Task Scheduler logon task or a Windows service, or should fall back to--no-serviceplus the built-in supervisor (cmd/cortex/supervise.go). - Audit the remaining POSIX assumptions:
cmd_exec.gorelays SIGHUP.- Shell-based installer (
install.sh) → PowerShell installer or a release zip. $HOME/~/.configpaths →%APPDATA%/os.UserConfigDir.- File permissions and locking.
- Trusting the CA cert for the TLS bridge in the Windows cert store.
- Launching agents (opencode etc.) from agentop.
- CI: add a
GOOS=windowscross-compile job so it doesn't regress, and ideally awindows-latesttest run.
The build results only cover compilation. Nothing has been run on Windows yet, so step 3 is a list of things to check, not confirmed bugs.
Requested by Lucas Showerman (opencode on a client Windows VDI).
- 主要言語
- Go
- スター
- 23
- フォーク
- 44
- 平均マージ
- 16時間 8分
- マージ済み PR(30日)
- 234
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rossoctl/cortex のほかの issue
-
feedback laptop
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
メンテナーはふだん 1 日以内に返信
-
chore: Remove the decline_responses_websockets translation after a deprecation release対応中かも @Alan-Cha が 3 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
rossoctl/cortex#1625 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
CodeQL flags request host and path reaching slog in plugins対応中かも @huang195 が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 60/100
rossoctl/cortex#1621 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1週間以上 初心者へのやさしさ 18/100
メンテナーはふだん 1 日以内に返信
-
agentop configure codex/opencode can wait on itself when an agent runs it対応中かも @Alan-Cha が 9 日前に担当しました。 オープン
rossoctl/cortex#1530 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
rossoctl/cortex の issue をすべて見る
似ている issue
-
bug os:ios
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hajimehoshi/ebiten#4039 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
open-telemetry/opentelemetry-go-compile-instrumentation#1713 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
JakeChampion/lang#14392 ·
メンテナーはふだん 1 日以内に返信
-
agent-butler-finding bug
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
jordansmall/spindrift#6557 ·
メンテナーはふだん 1 日以内に返信