You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After 'Raise to $4' the team header still shows the old cap #1576
area:chatThe v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notsev:seriousWrong or missing behaviour a person meets in ordinary use
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, binary bin/codeaf), or install the dev build with curl -fsSL https://agentfield.ai/get/devaf | bash.
Use an isolated profile: export HOME=$(mktemp -d), export OPENROUTER_API_KEY, and keep the default model (~deepseek/deepseek-v4-flash-latest, crew on auto).
On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
cd $(mktemp -d) && git init -q && codeaf; set daily cap per team to a small value such as $0.20 in /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 /teams and 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 reads of $4 today for the rest of the day.
Found while writing the public docs; manual text differences are in #1545.
area:chatThe v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notsev:seriousWrong or missing behaviour a person meets in ordinary use
Activity