Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Geschlossen
#1,561 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go, sqlite

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Go
Sterne
115
Forks
14
Ø Merge
9 Std. 37 Min.
Gemergte PRs (30 T.)
755

Entwicklungsumgebung

Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Agent-Field/CodeAF

Alle Issues in Agent-Field/CodeAF

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.