Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

pool: a chat /task never reaches the Model Pool judge

Aberta
#1,527 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
75/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
go
Domínio
backend, cli

Direção de pesquisa

Start with the landing hook in cmd/codeaf/poolrecord.go and its taskLanded wiring in cmd/codeaf/chatv3.go, then compare the ordinary /task road with a road that already calls the hook. Run a deterministic cmd/codeaf test with a stub worker and the pool in record mode; done means a landed /task produces an entry in judged/ or pool/judge-last.json and every landing road uses the one hook.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

area:session bug

What happened

The Model Pool judge scores tasks when they land (poolJudgeHook in cmd/codeaf/poolrecord.go, wired as taskLanded in cmd/codeaf/chatv3.go). A task started with the chat's ordinary /task never reaches that hook, so its landing is never judged. This was found on 2026-09-25 while fixing the judge's keyless-boot bug in #1519: a hand check of that fix could not reach the judge from /task at all.

Replication

Deterministic: a cmd/codeaf test that lands a /task through the chat's own task road, with a stub worker and the pool in record mode, then checks the pool's judged/ directory, or pool/judge-last.json. Nothing is written today. Compare with the road that does call taskLanded.

By hand (real model, about $0.01):

  1. Run /task on a trivial change with CODEAF_MODEL_POOL recording.
  2. After it lands, codeaf pool show lists no new judged landing.

The fix

Every road that lands a task, /task included, reports its landing to the judge hook once.

Acceptance

  • e2e: after a /task lands, codeaf pool show lists its judged entry.
  • Unit: every landing road goes through the one hook. A structural test over the landing sites would do.
Linguagem predominante
Go
Estrelas
115
Forks
14
Merge médio
9h 44min
PRs com merge (30d)
775

Preparar o ambiente

Ainda não verificamos os arquivos de configuração deste projeto. Comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Agent-Field/CodeAF

Todas as issues de Agent-Field/CodeAF

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.