Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

🤖 refactor: track the agent-loop host services refactor (phases 1 to 5)

オープン
#7,255 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 test failures that main had before phase 1: #7297
  • Codex Comments blocks 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 ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/xum のほかの issue

coder/xum の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。