Planner-declared checks keep an unfilled placeholder (issue_.go)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
Direzione di ricerca
Start with the planner path that declares per-part checks and inspect the checks column in the run's plandb.db. Reproduce the fan-out using the provided dev build and confirm whether the issue_NN pattern is still unfilled when checks are stored. Done means each part's command names its own file, the unit coverage verifies expansion, and the missing-file check no longer creates a fix task.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Seen on: dev 837b2b0.
Behaviour
Every per-part check in a fan-out run ran gofmt -l issue_.go …, a file that does not exist. The checks answered does not hold: … names issue_.go, which does not exist, which spawned 10 needless fix: tasks. The run cost 3.5 times its estimate ($0.90 against $0.26). Each part's check should name that part's file.
Replication
- Build dev 837b2b0 (
git checkout 837b2b0 && make build, binarybin/codeaf), or install the dev build withcurl -fsSL https://agentfield.ai/get/devaf | bash. - Use an isolated profile:
export HOME=$(mktemp -d), exportOPENROUTER_API_KEY, and keep the default model (~deepseek/deepseek-v4-flash-latest, crew on auto). - On a busy machine set
task.max_loadto0(/settings, Tasks) so the busy-machine gate does not hold tasks. - Same repo shape as a 20-file fan-out:
R=$(mktemp -d) && cd "$R" && git init -q && printf 'package main\n\nfunc main() {}\n' > main.go && printf 'module demo\n\ngo 1.22\n' > go.mod && git add -A && git commit -qm init, thenissue_01.go…issue_20.go, committed. codeaf, then/task For each issue_NN.go, reverse its string helper, and check each part with gofmt -l and go test.- Read the
checkscolumn of the part tasks in the run'splandb.db: the command namesissue_.go.
Evidence
- The
checkscolumn of taskReversein the run's plan store:gofmt -l issue_.go …. - Check results:
does not hold: … names issue_.go, which does not exist; 10fix:tasks; $0.90 spent against a $0.26 estimate. - Code path not traced in this pass.
Guessed cause
A guess from reading the code, not a confirmed diagnosis. Per-part expansion of the issue_NN pattern is dropped when the planner declares the checks, so the template reaches the checker unfilled.
Acceptance
- e2e: in the run above every part's check command names that part's own file, and no
fix:task is created for a missing-file check. - Unit: declared per-part checks are expanded per part before they are stored.
Found while writing the public docs; manual text differences are in #1545.
🤖 Generated with Claude Code
- Lingua principale
- Go
- Stelle
- 115
- Fork
- 14
- Merge medio
- 9h 44m
- PR unite (30g)
- 766
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Agent-Field/CodeAF
-
area:chat bug sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
Agent-Field/CodeAF#1592 ·
I maintainer di solito rispondono entro 1 giorno
-
area:headless bug sev:critical
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1566 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1510 ·
I maintainer di solito rispondono entro 1 giorno
-
area:tests bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Agent-Field/CodeAF#1489 ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat bug good first issue sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Agent-Field/CodeAF#1470 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agent-Field/CodeAF
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
open-telemetry/opentelemetry-go-compile-instrumentation#1417 ·
I maintainer di solito rispondono entro 2 giorni
-
agent-research-finding agent-research-recommend chore ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jordansmall/spindrift#4068 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Type/Task
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
OpenNSW/nsw-srilanka#537 ·
I maintainer di solito rispondono entro 1 giorno
-
security
Difficoltà 2/5 1-2 giorni Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno