Developer request, 2026-10-18: a section with a detailed breakdown of every reset.
Limits do not only reset at the end of their week. In the local history, 11 of the 12 Codex weeks between 2026-09-21 and 2026-10-17 ended early, some after 10 hours, at anything from 4 % to 100 % used.
What to build
For each limit window longer than a day, a Resets section lists its past instances with:
start, end, how long it lasted, and whether it reset on time or early (and by how much);
peak and final use, when it reached 100 % and how long it stayed there;
tokens by kind and by model, and their API value at the providers' list prices;
unused limit at the reset (estimated wastage), in percent and as tokens and money;
for early resets, the gift: how much limit the provider handed out ahead of schedule;
totals over all listed instances;
a timeline of the instances and resets, and when early resets happen (local hour and weekday).
Also
Codex moves its week between the codex:secondary and codex:primary slots when its 5 h limit appears or goes (2026-09-13). The history of one limit must follow it across slots and never mix in a window of another length. Today the 5 h samples of codex:primary from September fall into the week's 9-length sample query.
#9: the tokens of a reset hour before a gap belong to no instance. Per-reset token totals depend on that boundary, so it is fixed here.
Plan
Decisions: window series in D7, D12 reset history, D13 API value at list prices (type/decision), before the code.
Core: window series; instance spans shared by the burn-up and the reset history (#9 boundary fix); dated API price table; reset history with per-instance figures and totals.
App: Resets section with a window selector, totals, timeline, early-reset hours and weekdays, and a sortable instance table with tooltips.
Tests with hand-written fixtures; screenshots in dark and light.
Developer request, 2026-10-18: a section with a detailed breakdown of every reset.
Limits do not only reset at the end of their week. In the local history, 11 of the 12 Codex weeks between 2026-09-21 and 2026-10-17 ended early, some after 10 hours, at anything from 4 % to 100 % used.
## What to build
For each limit window longer than a day, a **Resets** section lists its past instances with:
- start, end, how long it lasted, and whether it reset on time or early (and by how much);
- peak and final use, when it reached 100 % and how long it stayed there;
- tokens by kind and by model, and their **API value** at the providers' list prices;
- **unused** limit at the reset (estimated wastage), in percent and as tokens and money;
- for early resets, the **gift**: how much limit the provider handed out ahead of schedule;
- totals over all listed instances;
- a **timeline** of the instances and resets, and when early resets happen (local hour and weekday).
## Also
- Codex moves its week between the `codex:secondary` and `codex:primary` slots when its 5 h limit appears or goes (2026-09-13). The history of one limit must follow it across slots and never mix in a window of another length. Today the 5 h samples of `codex:primary` from September fall into the week's 9-length sample query.
- [#9](https://git.finalfactory.de/FinalFactory/FinalToken/issues/9): the tokens of a reset hour before a gap belong to no instance. Per-reset token totals depend on that boundary, so it is fixed here.
## Plan
- [x] Decisions: window series in D7, D12 reset history, D13 API value at list prices (`type/decision`), before the code.
- [x] Core: window series; instance spans shared by the burn-up and the reset history (#9 boundary fix); dated API price table; reset history with per-instance figures and totals.
- [x] App: Resets section with a window selector, totals, timeline, early-reset hours and weekdays, and a sortable instance table with tooltips.
- [x] Tests with hand-written fixtures; screenshots in dark and light.
- [x] Build, all tests, docs check.
- [ ] Fresh agent review of [#16](https://git.finalfactory.de/FinalFactory/FinalToken/pulls/16).
Decisions D7, D8, D12 and D13 are recorded in 3ab1ce4 and f9027e8, before the code.
A second worker builds #13 in parallel on other files. This branch will be rebased onto #13 and its PR stacked on it. It also fixes #9.
Agent work started.
- **Coordinator:** `claude-opus-5-5`: decision text, briefs, verification, commits, PR.
- **Worker:** `gpt-6.1-sol` (Codex): Core and App changes, tests, screenshots.
- **Branch:** `14-reset-history`, worktree `../FinalToken-wt/14-reset-history`.
- Decisions D7, D8, D12 and D13 are recorded in `3ab1ce4` and `f9027e8`, before the code.
- A second worker builds #13 in parallel on other files. This branch will be rebased onto #13 and its PR stacked on it. It also fixes [#9](https://git.finalfactory.de/FinalFactory/FinalToken/issues/9).
The first implementation is in. I checked it on e39a244:
Build: 0 warnings, 0 errors.
Tests: 347 total, 0 failed.
Docs check: 0 errors.
Commits:
1c3f857 core: reset history, API list prices (D13), window series, and the boundary-hour and stale-sample fixes for #9.
e39a244 app: the Resets section.
I ran it on a copy of the developer's real data. The figures are plausible: Codex shows six instances, five early resets (two on 10-17), and ≈ 4.0 limits handed out. Four problems showed up:
"Resets" counts the running instance.
The skipped bands cover the whole timeline.
Tiles and histograms show zeros or nothing when nothing has finished yet.
Percent values use invariant culture.
A gpt-6.1-sol worker is fixing these (brief: tile counts, placeholders, skipped time as lanes under the plot, culture). After that, this branch merges 13-panel-budget, without a force push, and the PR stacks on #15.
The first implementation is in. I checked it on `e39a244`:
- Build: 0 warnings, 0 errors.
- Tests: 347 total, 0 failed.
- Docs check: 0 errors.
Commits:
- `1c3f857` core: reset history, API list prices (D13), window series, and the boundary-hour and stale-sample fixes for #9.
- `e39a244` app: the Resets section.
I ran it on a copy of the developer's real data. The figures are plausible: Codex shows six instances, five early resets (two on 10-17), and ≈ 4.0 limits handed out. Four problems showed up:
- "Resets" counts the running instance.
- The skipped bands cover the whole timeline.
- Tiles and histograms show zeros or nothing when nothing has finished yet.
- Percent values use invariant culture.
A `gpt-6.1-sol` worker is fixing these (brief: tile counts, placeholders, skipped time as lanes under the plot, culture). After that, this branch merges `13-panel-budget`, without a force push, and the PR stacks on [#15](https://git.finalfactory.de/FinalFactory/FinalToken/pulls/15).
1809dc9 fixes what the real-data check found: reset counts without the running instance, placeholders before anything finished, skipped time as bars below the timeline, the user's culture, no wrap inside figures, and tall tooltips beside the pointer.
4d71de7 merges 13-panel-budget at 8bde2a3. The day baseline now counts tokens with its instance's boundary-hour rule (D7).
Build: 0 warnings. Tests: 379 total, 0 failed. Docs check: 0 errors. Real app checked on a copy of the developer's data.
Active: a gpt-6.1-sol reviewer on #16 and one on #15 (round 3); claude-opus-5-5 coordinates.
[#16](https://git.finalfactory.de/FinalFactory/FinalToken/pulls/16) is open, stacked on [#15](https://git.finalfactory.de/FinalFactory/FinalToken/pulls/15).
- `1809dc9` fixes what the real-data check found: reset counts without the running instance, placeholders before anything finished, skipped time as bars below the timeline, the user's culture, no wrap inside figures, and tall tooltips beside the pointer.
- `4d71de7` merges `13-panel-budget` at `8bde2a3`. The day baseline now counts tokens with its instance's boundary-hour rule (D7).
- Build: 0 warnings. Tests: 379 total, 0 failed. Docs check: 0 errors. Real app checked on a copy of the developer's data.
Active: a `gpt-6.1-sol` reviewer on #16 and one on #15 (round 3); `claude-opus-5-5` coordinates.
Review round 1 of PR #16 failed with two blockers (review):
Inferred neighbouring instances count their shared boundary hour twice (D7).
The reset tooltip hides every model after the fifth (D12).
Status:
Merged master (0a08b50) into 14-reset-history with the ours strategy. The tree is unchanged, because the squash of #15 equals 8bde2a3. Head cf84329.
Recorded the Avalonia tooltip gotchas in .agents/mind/gotchas.md (1723c21).
Worker gpt-6.1-sol (xhigh) fixes both findings with regression tests in ../FinalToken-wt/14-reset-history. Brief: one shared backward walk gives every instance its successor start, used for token ends in Analyze and Resets; the reset tooltip lists every model.
Review round 2.
Review round 1 of [PR #16](https://git.finalfactory.de/FinalFactory/FinalToken/pulls/16) failed with two blockers ([review](https://git.finalfactory.de/FinalFactory/FinalToken/pulls/16#issuecomment-18062)):
1. Inferred neighbouring instances count their shared boundary hour twice (D7).
2. The reset tooltip hides every model after the fifth (D12).
Status:
- [x] Merged `master` (`0a08b50`) into `14-reset-history` with the `ours` strategy. The tree is unchanged, because the squash of #15 equals `8bde2a3`. Head `cf84329`.
- [x] Recorded the Avalonia tooltip gotchas in `.agents/mind/gotchas.md` (`1723c21`).
- [ ] Worker `gpt-6.1-sol` (xhigh) fixes both findings with regression tests in `../FinalToken-wt/14-reset-history`. Brief: one shared backward walk gives every instance its successor start, used for token ends in `Analyze` and `Resets`; the reset tooltip lists every model.
- [ ] Review round 2.
Merged PR #16 as 82fece8 after review round 2 passed. The squashed tree equals the reviewed head 058c2b5.
Fixed both round-1 blockers: boundary hours of inferred neighbours (5da543e), and every model in the reset tooltip (058c2b5).
Deleted the branch 14-reset-history. Removed the worktrees ../FinalToken-wt/14-reset-history, ../FinalToken-wt/review-16-4d71de7 and ../FinalToken-wt/review-16-058c2b5; all three were clean.
Open, not blocking: the reviewer suggested a tooltip test on a smaller working area and at higher display scaling. A reset with many models gives a tall tooltip.
Merged [PR #16](https://git.finalfactory.de/FinalFactory/FinalToken/pulls/16) as `82fece8` after [review round 2](https://git.finalfactory.de/FinalFactory/FinalToken/pulls/16#issuecomment-18088) passed. The squashed tree equals the reviewed head `058c2b5`.
- [x] Fixed both round-1 blockers: boundary hours of inferred neighbours (`5da543e`), and every model in the reset tooltip (`058c2b5`).
- [x] Deleted the branch `14-reset-history`. Removed the worktrees `../FinalToken-wt/14-reset-history`, `../FinalToken-wt/review-16-4d71de7` and `../FinalToken-wt/review-16-058c2b5`; all three were clean.
Open, not blocking: the reviewer suggested a tooltip test on a smaller working area and at higher display scaling. A reset with many models gives a tall tooltip.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Developer request, 2026-10-18: a section with a detailed breakdown of every reset.
Limits do not only reset at the end of their week. In the local history, 11 of the 12 Codex weeks between 2026-09-21 and 2026-10-17 ended early, some after 10 hours, at anything from 4 % to 100 % used.
What to build
For each limit window longer than a day, a Resets section lists its past instances with:
Also
codex:secondaryandcodex:primaryslots when its 5 h limit appears or goes (2026-09-13). The history of one limit must follow it across slots and never mix in a window of another length. Today the 5 h samples ofcodex:primaryfrom September fall into the week's 9-length sample query.Plan
type/decision), before the code.Agent work started.
claude-opus-5-5: decision text, briefs, verification, commits, PR.gpt-6.1-sol(Codex): Core and App changes, tests, screenshots.14-reset-history, worktree../FinalToken-wt/14-reset-history.3ab1ce4andf9027e8, before the code.The first implementation is in. I checked it on
e39a244:Commits:
1c3f857core: reset history, API list prices (D13), window series, and the boundary-hour and stale-sample fixes for #9.e39a244app: the Resets section.I ran it on a copy of the developer's real data. The figures are plausible: Codex shows six instances, five early resets (two on 10-17), and ≈ 4.0 limits handed out. Four problems showed up:
A
gpt-6.1-solworker is fixing these (brief: tile counts, placeholders, skipped time as lanes under the plot, culture). After that, this branch merges13-panel-budget, without a force push, and the PR stacks on #15.#16 is open, stacked on #15.
1809dc9fixes what the real-data check found: reset counts without the running instance, placeholders before anything finished, skipped time as bars below the timeline, the user's culture, no wrap inside figures, and tall tooltips beside the pointer.4d71de7merges13-panel-budgetat8bde2a3. The day baseline now counts tokens with its instance's boundary-hour rule (D7).Active: a
gpt-6.1-solreviewer on #16 and one on #15 (round 3);claude-opus-5-5coordinates.Review round 1 of PR #16 failed with two blockers (review):
Status:
master(0a08b50) into14-reset-historywith theoursstrategy. The tree is unchanged, because the squash of #15 equals8bde2a3. Headcf84329..agents/mind/gotchas.md(1723c21).gpt-6.1-sol(xhigh) fixes both findings with regression tests in../FinalToken-wt/14-reset-history. Brief: one shared backward walk gives every instance its successor start, used for token ends inAnalyzeandResets; the reset tooltip lists every model.Merged PR #16 as
82fece8after review round 2 passed. The squashed tree equals the reviewed head058c2b5.5da543e), and every model in the reset tooltip (058c2b5).14-reset-history. Removed the worktrees../FinalToken-wt/14-reset-history,../FinalToken-wt/review-16-4d71de7and../FinalToken-wt/review-16-058c2b5; all three were clean.Open, not blocking: the reviewer suggested a tooltip test on a smaller working area and at higher display scaling. A reset with many models gives a tall tooltip.