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

🤖 Goal continuations fall back to exec when the selected agent no longer resolves

クローズ
#5,402 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@ThomasK33 がすでに取り組んでいます。

2026年10月1日 から。

評価

この issue はまだ評価されていません。

説明

Problem

When a workspace's selected agent no longer resolves (its definition was deleted, or the agent was disabled), automatic goal turns fall back to exec. This covers the kickoff, restart recovery and the budget wrap-up. getGoalContinuationKickoffSendOptions() returns the selected agent ID without strictAgentResolution, and resolveAgentForStream() then falls back to exec (agentResolution.ts, non-strict path).

For a goal created under a read-only agent, this means the automatic continuation can gain editing tools.

Scope

This already happens on main for user-created goals: /goal with a read-only custom agent selected, then delete or disable that agent. #5383 (stack #5394) lets read-only agents set goals themselves, which makes the case more common. Found by Codex on #5383 (thread PRRT_kwDOPxxmWM6n90Z7).

Possible fix

Automatic goal turns should fail closed when the selected agent cannot be resolved, instead of falling back to exec. One caveat: strict top-level resolution also rejects hidden agents (explore can be the saved selection). The fix therefore needs an internal automatic-goal-turn path that skips only the selectability check, not the public strictAgentResolution flag.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $57.88

主要言語
TypeScript
スター
2.1k
フォーク
139
平均マージ
3時間 45分
マージ済み PR(30日)
953

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

coder/xum のほかの issue

coder/xum の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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