app: redesign the panel and add limit forecasts and daily week use #5

Closed
opened 2026-10-14 22:19:33 +02:00 by schmidt.florian · 10 comments
Owner

Feedback from schmidt.florian on v1 (2026-10-14), with screenshots of the real panel: most graphs look okay, but the layout is not good. Missing:

  • an estimated date of reaching the limit when usage is over pace;
  • what share of a week limit each day used, as a chart;
  • how much of the week limit was used today.

Plan

Branch 5-panel-redesign, worktree FinalToken-wt/5-panel-redesign.

  • Decisions: D7 forecasts and the days of a week window; D8 panel layout and colour rules (coordinator)
  • Core: forecasts (average and recent rate, projected use at reset) and per-day use of week windows, with tests (worker)
  • App: redesigned panel and settings window following the design spec in the brief, with headless screenshots (worker)
  • Small fixes seen in the screenshots: a missing settings.json on first start is not a diagnostic; long project lists; the daily tooltip shows a date only
  • Coordinator verification on real data (native screenshots), PR and agent review
Feedback from schmidt.florian on v1 (2026-10-14), with screenshots of the real panel: most graphs look okay, but the layout is not good. Missing: - an estimated date of reaching the limit when usage is over pace; - what share of a week limit each day used, as a chart; - how much of the week limit was used today. ## Plan Branch `5-panel-redesign`, worktree `FinalToken-wt/5-panel-redesign`. - [x] Decisions: D7 forecasts and the days of a week window; D8 panel layout and colour rules (coordinator) - [x] Core: forecasts (average and recent rate, projected use at reset) and per-day use of week windows, with tests (worker) - [x] App: redesigned panel and settings window following the design spec in the brief, with headless screenshots (worker) - [x] Small fixes seen in the screenshots: a missing `settings.json` on first start is not a diagnostic; long project lists; the daily tooltip shows a date only - [x] Coordinator verification on real data (native screenshots), PR and agent review
schmidt.florian self-assigned this 2026-10-14 22:19:33 +02:00
Author
Owner

Claim: developer schmidt.florian.

  • Coordinator: claude-opus-5-5.
  • Worker W5: Codex gpt-6.1-sol, high effort, Standard tier, in T3 thread ft5-redesign.

Branch 5-panel-redesign, worktree FinalToken-wt-panel-redesign. The D7 and D8 updates are committed as ab0e46d. The design spec (tokens, layout, chart marks, screenshots) is in the worker brief. The provider colours passed the colour-vision checks in both themes.

**Claim**: developer schmidt.florian. - Coordinator: `claude-opus-5-5`. - Worker W5: Codex `gpt-6.1-sol`, high effort, Standard tier, in T3 thread `ft5-redesign`. Branch `5-panel-redesign`, worktree `FinalToken-wt-panel-redesign`. The D7 and D8 updates are committed as `ab0e46d`. The design spec (tokens, layout, chart marks, screenshots) is in the worker brief. The provider colours passed the colour-vision checks in both themes.
Author
Owner

Progress:

  • W5 delivered the redesign: Core LimitAnalysis (forecasts, day use, budget) and TokenSeriesByModel; dashboard panel; settings cards. 239/239 tests, 0 warnings.
  • The coordinator ran it on real data and captured it natively (runs/shots/verify/w5).

Polish round sent:

  • Neutral selection instead of the red OS accent.
  • The forecast ⚠ only when the state is Ahead.
  • A one-row header.
  • Numbers with 3 significant digits.
  • One shared token legend.
  • Distinct even-pace and budget lines.
  • Three-column tiles sized to their content.
  • No hatching on dense hourly charts.
  • Provider dots on model rows.
  • App AGENTS.md with the style rules.
Progress: - W5 delivered the redesign: Core `LimitAnalysis` (forecasts, day use, budget) and `TokenSeriesByModel`; dashboard panel; settings cards. 239/239 tests, 0 warnings. - The coordinator ran it on real data and captured it natively (`runs/shots/verify/w5`). Polish round sent: - Neutral selection instead of the red OS accent. - The forecast ⚠ only when the state is Ahead. - A one-row header. - Numbers with 3 significant digits. - One shared token legend. - Distinct even-pace and budget lines. - Three-column tiles sized to their content. - No hatching on dense hourly charts. - Provider dots on model rows. - App `AGENTS.md` with the style rules.
schmidt.florian removed the model/gpt-6.1-sol label 2026-10-14 22:59:57 +02:00
Author
Owner

PR #6 opened (head 73f79eb): #6. The worker thread is settled. A fresh claude-opus-5-5 review and a Linux check in the Arch container are running.

**PR #6** opened (head `73f79eb`): https://git.finalfactory.de/FinalFactory/FinalToken/pulls/6. The worker thread is settled. A fresh `claude-opus-5-5` review and a Linux check in the Arch container are running.
Author
Owner

PR #6 passed its fresh agent review on 73f79eb (no blocking findings). The non-blocking notes are tracked in a follow-up issue. Merging is the developer's call. No agent is active.

PR #6 passed its fresh agent review on `73f79eb` (no blocking findings). The non-blocking notes are tracked in a follow-up issue. Merging is the developer's call. No agent is active.
schmidt.florian removed the status/in-progressagent/florianmodel/claude-opus-5-5 labels 2026-10-14 23:05:08 +02:00
Author
Owner

Developer feedback on the redesign (2026-10-15), round 3 started on the same branch (W5, gpt-6.1-sol, thread ft5-redesign):

  1. The week-per-day chart was nearly empty because Claude limit samples only exist since the app started. D7 now estimates uncovered spans from price-weighted tokens, scaled by the instance's measured use, and marks them as estimates (d2ff67b).
  2. The limit history charts looked strange. D8 replaces them with a burn-up chart per window instance (even-pace diagonal, used line without dots, forecast, previous instance) and a strip of past peaks.
  3. Breakdown: an expandable "Other", the detail columns back, sortable headers.
  4. One structured tooltip component.

Also folded in: the notes of issue #7 and version 1.1.0. PR #6 needs a new review after this round.

**Developer feedback on the redesign (2026-10-15), round 3 started** on the same branch (W5, `gpt-6.1-sol`, thread `ft5-redesign`): 1. The week-per-day chart was nearly empty because Claude limit samples only exist since the app started. D7 now estimates uncovered spans from price-weighted tokens, scaled by the instance's measured use, and marks them as estimates (`d2ff67b`). 2. The limit history charts looked strange. D8 replaces them with a burn-up chart per window instance (even-pace diagonal, used line without dots, forecast, previous instance) and a strip of past peaks. 3. Breakdown: an expandable "Other", the detail columns back, sortable headers. 4. One structured tooltip component. Also folded in: the notes of issue #7 and version 1.1.0. PR #6 needs a new review after this round.
schmidt.florian removed the model/gpt-6.1-sol label 2026-10-15 09:38:23 +02:00
schmidt.florian added the model/gpt-6.1-sol label 2026-10-15 09:43:55 +02:00
Author
Owner

Agent review of ab8d245: fail. One blocking finding: past window instances were rebuilt wrongly when there is a gap between instances (normal for 5 h sessions); the real previous instance and its samples were dropped. D7 now takes instance boundaries from resets (15145f1). The rework is running (W5, gpt-6.1-sol, xhigh). It also fixes the early-reset boundary note and removes dead code. A second failed review would stop the PR for a developer decision.

**Agent review of `ab8d245`: fail.** One blocking finding: past window instances were rebuilt wrongly when there is a gap between instances (normal for 5 h sessions); the real previous instance and its samples were dropped. D7 now takes instance boundaries from resets (`15145f1`). The rework is running (W5, `gpt-6.1-sol`, xhigh). It also fixes the early-reset boundary note and removes dead code. A second failed review would stop the PR for a developer decision.
schmidt.florian removed the model/gpt-6.1-sol label 2026-10-15 09:59:32 +02:00
Author
Owner

PR #6 passed its agent re-review on 07a6456; the agent-review status is success and the PR body is updated. Merging is the developer's call. The re-review's note is tracked in #9 and the flaky test in #8. No agent is active.

PR #6 passed its agent re-review on `07a6456`; the `agent-review` status is success and the PR body is updated. Merging is the developer's call. The re-review's note is tracked in #9 and the flaky test in #8. No agent is active.
schmidt.florian removed the status/in-progressagent/florianmodel/claude-opus-5-5 labels 2026-10-15 10:02:47 +02:00
schmidt.florian removed the model/gpt-6.1-sol label 2026-10-15 10:14:41 +02:00
schmidt.florian removed the status/in-progressagent/florianmodel/claude-opus-5-5 labels 2026-10-15 10:17:45 +02:00
Author
Owner

Round 5: forecasts for windows that are ahead early. Developer feedback, 2026-10-15: the reach date, the popup warning and the dotted forecast line show only for Claude.

Cause. D7 started forecasts only after 10 % of a window, about 17 h of a week. Codex reset its week at 08:18 local and stood at 39 % ten hours later: ahead by 33 points, with no forecast. All forecast paths share one gate (Pace.CanForecast), and nothing in them is provider-specific. Claude simply was past 10 % of its week.

Decision. D7 changed in 5b42cb8: forecasts start once 10 % of the window has passed, or as soon as the window is ahead. Until then, the tile and the chart say when they will.

Plan:

  • Core: one gate with the configured threshold, used by all three forecasts; forecast start time from Core.
  • App: "Forecast from …" on the tile and the window chart until forecasts start.
  • Popups: an ahead window early in its week gets the "⚠ 100 % on …" line.
  • Tests first (Core, popup decider, headless), then screenshots.
  • Verify (build, tests, docs check, screenshots), then a fresh review.

Claim: orchestrator claude-opus-5-5 (issue, commits, PR, verification); worker gpt-6.1-sol (Codex, effort high, T3 thread ft5-forecast) on branch 5-panel-redesign in ../FinalToken-wt/5-panel-redesign.

Housekeeping: the main checkout was re-cloned today. The orphaned worktrees matched their pushed branches exactly (0 modified, 0 untracked) and were removed; 5-panel-redesign was re-added from origin.

**Round 5: forecasts for windows that are ahead early.** Developer feedback, 2026-10-15: the reach date, the popup warning and the dotted forecast line show only for Claude. **Cause.** D7 started forecasts only after 10 % of a window, about 17 h of a week. Codex reset its week at 08:18 local and stood at 39 % ten hours later: ahead by 33 points, with no forecast. All forecast paths share one gate (`Pace.CanForecast`), and nothing in them is provider-specific. Claude simply was past 10 % of its week. **Decision.** D7 changed in 5b42cb8: forecasts start once 10 % of the window has passed, or as soon as the window is ahead. Until then, the tile and the chart say when they will. **Plan:** - [ ] Core: one gate with the configured threshold, used by all three forecasts; forecast start time from Core. - [ ] App: "Forecast from …" on the tile and the window chart until forecasts start. - [ ] Popups: an ahead window early in its week gets the "⚠ 100 % on …" line. - [ ] Tests first (Core, popup decider, headless), then screenshots. - [ ] Verify (build, tests, docs check, screenshots), then a fresh review. **Claim:** orchestrator `claude-opus-5-5` (issue, commits, PR, verification); worker `gpt-6.1-sol` (Codex, effort high, T3 thread `ft5-forecast`) on branch `5-panel-redesign` in `../FinalToken-wt/5-panel-redesign`. Housekeeping: the main checkout was re-cloned today. The orphaned worktrees matched their pushed branches exactly (0 modified, 0 untracked) and were removed; `5-panel-redesign` was re-added from `origin`.
schmidt.florian removed the model/gpt-6.1-sol label 2026-10-15 18:58:16 +02:00
Author
Owner

Round 5 implemented: 5b42cb8 (D7) and 33458a4 (code). The worker thread ft5-forecast is settled, so model/gpt-6.1-sol is removed.

  • Core: Pace.CanForecast is the one gate. It opens at 10 % elapsed, or when the window is Ahead with the configured threshold, and the average, recent and popup forecasts all use it. Pace.ForecastStartsAt gives the start time.
  • App: "Forecast from …" on the tile and the window chart until forecasts start.
  • Popups: an ahead Codex week at 6 % elapsed gets the "⚠ 100 % on …" line.
  • Tests first. These failed before the fix: 4 Core tests (EarlyForecastTests) and a headless check for the missing Codex "100 % on" line. One existing test asserted the old rule (no forecast while ahead before 10 %); it now covers the 10 % boundary with an on-track window.
  • Verified by the orchestrator on 33458a4: build 0 warnings; tests 321/321 in 2 runs (the worker ran 3); docs check 0 errors. Screenshots (dark and light) show the Codex tile with the reach date and the burn-up with the dotted forecast and 100 % marker, plus the "Forecast from" note on an early on-track window.
  • Fresh agent review.
**Round 5 implemented:** 5b42cb8 (D7) and 33458a4 (code). The worker thread `ft5-forecast` is settled, so `model/gpt-6.1-sol` is removed. - [x] Core: `Pace.CanForecast` is the one gate. It opens at 10 % elapsed, or when the window is Ahead with the configured threshold, and the average, recent and popup forecasts all use it. `Pace.ForecastStartsAt` gives the start time. - [x] App: "Forecast from …" on the tile and the window chart until forecasts start. - [x] Popups: an ahead Codex week at 6 % elapsed gets the "⚠ 100 % on …" line. - [x] Tests first. These failed before the fix: 4 Core tests (`EarlyForecastTests`) and a headless check for the missing Codex "100 % on" line. One existing test asserted the old rule (no forecast while ahead before 10 %); it now covers the 10 % boundary with an on-track window. - [x] Verified by the orchestrator on 33458a4: build 0 warnings; tests 321/321 in 2 runs (the worker ran 3); docs check 0 errors. Screenshots (dark and light) show the Codex tile with the reach date and the burn-up with the dotted forecast and 100 % marker, plus the "Forecast from" note on an early on-track window. - [ ] Fresh agent review.
Author
Owner

Round 5 review passed on 33458a4 (agent-review status: success). The PR body now covers round 5, and the review's three non-blocking notes are on #9. No agent is working on this issue now; PR #6 waits for the developer's merge decision.

**Round 5 review passed** on `33458a4` (agent-review status: success). The PR body now covers round 5, and the review's three non-blocking notes are on #9. No agent is working on this issue now; PR #6 waits for the developer's merge decision.
schmidt.florian removed the status/in-progressagent/florianmodel/claude-opus-5-5 labels 2026-10-15 19:02:36 +02:00
Sign in to join this conversation.