🤖 refactor: track the agent-loop host services refactor (phases 1 to 5)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
This issue tracks phases 1–5 of moving agent-loop host calls behind Effect services; phase results are posted in comments, and related work is listed by issue number. Start by reading the phase plans and linked issues, especially the in-progress Phase 2 work around SessionFiles and HistoryService. Done means all five phases are complete, one full agent turn runs on test layers, and the planned checks pass.
索引モデルが issue の本文から書いたものです。
説明
Summary
Five phases put the agent loop's host calls behind Effect services. Each service has a Node layer for the app and a test layer for tests. At the end, one full agent turn runs on test layers, and the local/no-host-imports lint rule keeps host imports out of the agent-loop files.
This issue tracks the phases. Each phase posts its end results as a comment here.
Phases
| Phase | What it adds | State |
|---|---|---|
| 1 | Guardrails: the loop-test baseline (make test-loop-baseline), the paired loop-test tripwire, and the local/no-host-imports rule with a frozen allow map |
Done: #7199, #7200, #7201, #7206, #7207; follow-ups #7264, #7265 |
| 2 | SessionFiles: the session files below HistoryService, with a memory layer |
In progress |
| 3 | HostClock: the clock and timers of the loop |
In progress |
| 4 | SessionLocks: the session-dir locks and leases |
In progress |
| 5 | Host I/O services (HostFiles, HostPaths, HostProcesses, DesktopNotifications, RuntimeFactory) and one agent turn on test layers |
In progress |
The phases keep the chat.jsonl format, so upgrade and downgrade stay safe. PRs move code and keep behavior. Each phase ends on checks that its plan fixed in advance.
Related issues
- Defects found while planning: #7203, #7204, #7205, #7209, #7210
- Phase 1 review findings deferred to later: #7208 (fixed by #7264 and #7265), #7299 (2 signal edge cases)
- Loop test files that fail on unchanged main: #7256
- CI flakes that took refactor PRs out of the merge queue: #7293
make testfailures that main had before phase 1: #7297Codex Commentsblocks on a clean security receipt without a Reviewed commit line: #7302- Phase 3 review findings deferred to later (mixed clocks under a test HostClock): #7282
- Module groups that phase 5 leaves for later: #7238, #7239, #7240, #7241, #7242, #7243, #7244, #7245
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: max • Cost: $99.39
- 主要言語
- TypeScript
- スター
- 2.1k
- フォーク
- 140
- 平均マージ
- 4時間 57分
- マージ済み PR(30日)
- 946
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/xum のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
🤖 fix: a Daytona connection test started before a settings save can show the old key as connectedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug require-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
expressjs/expressjs.com#2549 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
umami-software/umami#4686 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --display対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
pingdotgg/t3code#24900 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
inu-appcenter/UNIDorm-web#411 ·
メンテナーはふだん 1 日以内に返信
-
🐛 bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信