After 'Raise to $4' the team header still shows the old cap
Mantenedores costumam responder em até 1 dia
@santoshkumarradha já está trabalhando nisso.
Desde 27/9/2026.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 68/100
Direção de pesquisa
Start at internal/tui3/teamspagedraw.go:415-417 and trace how the raise decision in decisions.jsonl affects the team's daily ceiling. Reproduce the flow using the isolated profile and small cap described in the issue, then run the relevant end-to-end coverage. Done means that after choosing Raise to $4, the team header shows “of $4 today” in both listed locations for the rest of the day.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Seen on: dev 837b2b0.
Behaviour
After a team hit its cap and the person chose Raise to $4, the header still read $2.12 of $2 today while work went on past $2. The header should show today's raised ceiling.
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. cd $(mktemp -d) && git init -q && codeaf; setdaily cap per teamto a small value such as$0.20in/settings.- Make a team with a manager and give it work until the cap card appears; choose
Raise to …. - Read the team's header on
/teamsand in the manager's conversation.
Evidence
- decisions.jsonl:
{"op":"decide",…,"decision":"raise"}; header afterwards$2.12 of $2 today. internal/tui3/teamspagedraw.go:415-417:teamsMoney(...) + " of " + teamsMoney(e.CapUSDDay) + " today"reads the stored cap.
Guessed cause
A guess from reading the code, not a confirmed diagnosis. The header reads the stored cap and not today's raised ceiling from the decision.
Acceptance
- e2e: after
Raise to $4, the header readsof $4 todayfor the rest of the day.
Found while writing the public docs; manual text differences are in #1545.
🤖 Generated with Claude Code
- 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
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Agent-Field/CodeAF
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Agent-Field/CodeAF#1679 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Agent-Field/CodeAF#1678 ·
Mantenedores costumam responder em até 1 dia
-
area:chat bug sev:papercut
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Agent-Field/CodeAF#1592 ·
Mantenedores costumam responder em até 1 dia
-
codeaf do "" runs a paid job with an empty briefTalvez já em andamento @santoshkumarradha assumiu há 2 dias. Abertaarea:headless bug sev:critical
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Agent-Field/CodeAF#1566 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
area:chat feature
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Agent-Field/CodeAF#1510 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de Agent-Field/CodeAF
Issues semelhantes
-
area: global bug dx priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
grafana/mcp-grafana#1267 ·
Mantenedores costumam responder em até 1 dia
-
automation models
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
coverage-gap good-first-pattern help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
GoogleCloudPlatform/k8s-aibom#114 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
txn2/mcp-data-platform#1984 ·
Mantenedores costumam responder em até 1 dia