🤖 Goal continuations fall back to exec when the selected agent no longer resolves
メンテナーはふだん 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 ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/xum のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
CopilotKit/openmuse#215 ·
メンテナーはふだん 3 日以内に返信
-
b:minor bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
software-mansion/argent#1698 ·
メンテナーはふだん 1 日以内に返信
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
redhat-developer/rhdh-plugin-export-overlays#4624 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信