Task lifecycle: a long Task cannot run continuously — every Router message ends the Worker turn, and running vs idle is not observable
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
Start by reading the Task and Router lifecycle code and the tests for task creation and message handling; the issue does not name specific files or test paths. Trace what happens when a Router sends a message during a Worker turn, then determine how running, idle, and blocked states are represented. Done means a Task can make progress through a long run and the Router or UI can distinguish those states; the issue also describes capability, secret handling, and tool output concerns that may need separate scoping.
索引モデルが issue の本文から書いたものです。
説明
Environment
- Version/build: unknown (not captured; Comma desktop on macOS)
- Client surface: Comma desktop — Router plus one Task conversation
- OS: macOS (arm64 host; Task placed on that host as a station)
- Architecture: Router runs in Salix, Worker Task ran on a station
- Error code: none
- Frequency: every long Task in this session (1/1, ~45 min of work attempted)
Conditions and reproduction
Synthetic setup: a Router delegates a build-and-deploy task (edit code, run a self-test, deploy) to a Task on a station.
- Create a Task whose work needs roughly 10 sequential steps.
- The Worker completes 1–3 steps, then ends its turn with a progress note (“…ready, next I will…”).
- The Router sends a message to nudge it (“continue, do not report intermediate steps”).
- The Worker starts a new turn, does 1–3 more steps, and ends again.
Reproduction status: observed in a real session; not reproduced from scratch.
Expected result
One of:
- the Router can tell a Task to keep running to completion without the Router's messages ending the Worker's turn, or
- the Task has a durable run with checkpoints that resumes on its own, and
- the Router/UI can tell “running”, “idle between turns” and “blocked” apart without inspecting the machine.
Actual result
- Any Router message to a Task ends the current Worker turn. There is no “continue, don't reply” control: a nudge to speed it up actually interrupts it.
- Between turns the Task still looks active while nothing executes. In this session the only reliable way to tell whether work was progressing was to read file mtimes on the station over SSH.
- Net effect: roughly 40 minutes of work took several hours of wall-clock time and ended with the user cancelling the Task.
Additional observations from the same session
- Capability asymmetry. The Router had desktop automation (
env.computer_use); the Task Worker did not, andtask.createhas no field to grant a capability to a Task. The Router had to perform the browser steps itself, part-executing work it had delegated. - No channel for a user-supplied secret. Group-level secrets are handled through the OAuth/credential flow, but there is no supported path to hand a user-created third-party API key to a Task Worker on their own machine. A temporary file with
chmod 600was used ad hoc. - Tool output size.
env.computer_usereturns the whole accessibility tree per observation (roughly 110k characters on a normal web page), which saturates context after one or two reads. A diff-only or element-query mode would make desktop automation practical.
Workaround
Unknown.
- 主要言語
- Elixir
- スター
- 740
- フォーク
- 61
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AFK-surf/Comma のほかの issue
-
Paid Task runs rejected with insufficient_credits although the usage page shows 20,000,000 available quota対応中かも @akumatus が 10 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
intellij-elixir/intellij-elixir#4938 ·
メンテナーはふだん 1 日以内に返信
-
Attribute selectors match elements without the attribute; [x^=''] matches everything対応中かも @bardrop が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
expert-lsp/expert#1040 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
ash-project/ash_mysql#278 · コメント 2 件 ·
-
L: github:actions L: javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
dependabot/dependabot-core#17100 ·
メンテナーはふだん 2 日以内に返信