session: worker tasks in team chats inherit manager cwd ~ and unpruned find freezes on missing plandb doc
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go, sqlite
調査の方向性
Start by tracing manager subtask derivation and the worker instruction path to determine where the repository root is lost. Then inspect filesystem discovery guidance and the plandb task lifecycle, especially terminal or cancelled tasks. Done means delegated work uses the active worktree, discovery avoids the listed heavy directories, and plandb done handles externally managed or cancelled tasks without a spurious claim error.
索引モデルが issue の本文から書いたものです。
説明
Problem
When a team manager or chat session located at home directory (/Users/...) delegates work or spawns tasks:
- Subtask worker inherits the manager's directory (
~) as ground instead of the git repository worktree, causing relative doc references such asdocs/design/plandb-cli/DESIGN.mdto fail. - In response to the missing document, the agent falls back to an unpruned
find . -name "DESIGN.md" -o -name "*plandb*"scanning the entire home drive, freezing turns for 30s+ across multiple attempts. - In plan-born tasks, tasks created under the engine supervisor collide with SQLite
plandb.db, causingplandb done t-<id>to fail withtask is not claimedwhen upstream cancelled or managed outside plandb.
Proposed Fix
- Ensure manager subtask derivation properly resolves and propagates the project repository root / active worktree rather than naked home folder
~. - Safeguard tool guidance and belt execution to prune common heavy directories (
.git,node_modules,vendor,.venv,Library) on filesystem discovery commands, and inline plandb contract rules into worker instructions. - Make plandb CLI handle terminal/cancelled tasks cleanly without spurious un-claimed rejections on done.
—
Drafted with CodeAF · reviewed and owned by the author
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 35分
- マージ済み PR(30日)
- 752
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず 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 日以内に返信
-
area:chat bug sev:critical
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1548 · コメント 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 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
netdata/netdata#24062 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
meshery/meshery#22119 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
automation documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信