After 'Raise to $4' the team header still shows the old cap
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 68/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Go
- Étoiles
- 115
- Forks
- 14
- Merge moyen
- 9 h 35 min
- PR mergées (30 j)
- 752
Préparer son environnement
Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Agent-Field/CodeAF
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Agent-Field/CodeAF#1592 ·
Les mainteneurs répondent en général sous 1 jour
-
area:headless bug sev:critical
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Agent-Field/CodeAF#1566 ·
Les mainteneurs répondent en général sous 1 jour
-
tui3: slash command completion inserts bare command prefix into prompt instead of navigatingOuvertearea:chat bug sev:critical
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Agent-Field/CodeAF#1548 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat feature
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Agent-Field/CodeAF#1510 ·
Les mainteneurs répondent en général sous 1 jour
-
area:tests bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Agent-Field/CodeAF#1489 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Agent-Field/CodeAF
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
[开源推荐] FCaptcha:可自行部署的开源验证码Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 65/100
521xueweihan/HelloGitHub#3789 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 12 jours
-
stage-fail
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
siyuan-note/bazaar#2282 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
openshift/kube-compare#307 ·
Les mainteneurs répondent en général sous 1 jour