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

session: worker tasks in team chats inherit manager cwd ~ and unpruned find freezes on missing plandb doc

オープン
#1,561 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 の本文から書いたものです。

説明

area:session bug sev:critical
Problem

When a team manager or chat session located at home directory (/Users/...) delegates work or spawns tasks:

  1. Subtask worker inherits the manager's directory (~) as ground instead of the git repository worktree, causing relative doc references such as docs/design/plandb-cli/DESIGN.md to fail.
  2. 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.
  3. In plan-born tasks, tasks created under the engine supervisor collide with SQLite plandb.db, causing plandb done t-<id> to fail with task is not claimed when upstream cancelled or managed outside plandb.
Proposed Fix
  1. Ensure manager subtask derivation properly resolves and propagates the project repository root / active worktree rather than naked home folder ~.
  2. 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.
  3. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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