Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Chiusa
#1,561 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, sqlite

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
115
Fork
14
Merge medio
9h 37m
PR unite (30g)
755

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Agent-Field/CodeAF

Tutte le issue di Agent-Field/CodeAF

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.