session: tasks stuck in working on restart, stopped status mapped to failed, and reader handoff
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with internal/session/task_frontier.go and internal/session/cancel.go to trace startup reconciliation and cancellation status mapping, then read internal/session/read_handoff.go for the reader fallback path. Reproduce restart, cancellation, and failed handoff cases before changing behavior. Done means unfinished tasks are re-queued, explicit cancellation records stopped without retry suggestions, and reader fallback does not leave stopped cards in chat.
索引モデルが issue の本文から書いたものです。
説明
Summary
Task frontier state recovery leaves queued tasks hung after restart, stopped tasks are improperly reported as failures, and chat reader subtasks do not fall back cleanly.
Items & Observed Behavior
- Tasks hung in working state across restart: A task queued or waiting on machine capacity remains in
workingstatus in the database aftercodeaf engine --stopand restart, but is never re-admitted to the execution frontier. - Stopped tasks mapped to failure: Cancelling a task via
xor/stopsets the crew line tofailedand outputs/redo stronger...instead of marking it cleanly asstopped. - Chat reader subtask handoff failure: When an inline chat reader subtask fails to hand off, it prints
◆ reading for the chat · stoppedand leaves a stopped card in the chat before running inline.
Expected Behavior
- Engine startup must reconcile persisted task state and re-queue uncompleted tasks onto the frontier.
- Explicit cancellation (
x,/stop) must record status asstoppedand omit retry suggestions. - Reader subtask handoff failures should fall back to inline reading without polluting the chat stream with stopped task cards.
Root Cause / Location
internal/session/cancel.goandinternal/session/task_frontier.go: Startup frontier reconciliation and cancellation status mapping.internal/session/read_handoff.go: Silent fallback handling when subtask delegation cannot be completed.
—
Drafted with CodeAF · reviewed and owned by the author
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 37分
- マージ済み PR(30日)
- 755
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent-Field/CodeAF のほかの issue
-
area:chat bug sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Agent-Field/CodeAF#1592 ·
メンテナーはふだん 1 日以内に返信
-
area:headless bug sev:critical
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1566 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
area:chat feature
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1510 ·
メンテナーはふだん 1 日以内に返信
-
area:tests bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1489 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Agent-Field/CodeAF#1470 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
Remove CAAPFオープンkind/chore kind/cleanup needs-area
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
rancher/turtles#2848 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
priority: low 🌱 type: enhancement 💅🏼
難易度 2/5 半日 初心者へのやさしさ 84/100
nebari-dev/llm-serving-pack#199 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
kedacore/keda#8225 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信