Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

After 'Raise to $4' the team header still shows the old cap

Offen
#1,576 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go
Bereich
cli, testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:chat bug sev:serious

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

  1. 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.
  2. 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).
  3. On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
  4. cd $(mktemp -d) && git init -q && codeaf; set daily cap per team to a small value such as $0.20 in /settings.
  5. Make a team with a manager and give it work until the cap card appears; choose Raise to ….
  6. 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.

🤖 Generated with Claude Code

Vorherrschende Sprache
Go
Sterne
115
Forks
14
Ø Merge
9 Std. 37 Min.
Gemergte PRs (30 T.)
755

Entwicklungsumgebung

Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Agent-Field/CodeAF

Alle Issues in Agent-Field/CodeAF

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.