mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
Detection rides the refresh lifecycle that already runs: it happens where each successful Claude fetch is captured into the snapshot store, before the store is written, so it costs no request. Issue #725 names "no new network polling loops" a hard non-goal, and this adds none. Three surfaces, because the user can be looking at any of them. A system notification names the provider, the window and the lead. The Capacity Dock carries a band saying the same for twelve hours after the reset was seen, drawn and reserved exactly like the staleness notice, because the panel's frame is computed rather than fitted. The quota hover card gains this Mac's own pattern next to the pace captions. The state before the fetch decides whether the stored baseline can be compared against it: a provider coming back from a terminal failure, a fresh bootstrap or no credentials has a baseline from the far side of a gap, where stale state looks like a jump. A window the API did not report this time is passed as absent rather than omitted, so a window that comes and goes is never read as a reset. Disconnect drops the baseline along with the snapshots, so a reconnect under another account starts clean. The Settings switch is on by default, and turning it off withholds only the notification — the dock band still appears, since it is a caption on data the user is already looking at rather than an interruption. |
||
|---|---|---|
| .. | ||
| ActivitySection.swift | ||
| AgentTabStrip.swift | ||
| CapacityDockView.swift | ||
| FindingsSection.swift | ||
| FlameWordmark.swift | ||
| HeatmapSection.swift | ||
| HeroSection.swift | ||
| MenuBarContent.swift | ||
| ModelsSection.swift | ||
| PeriodSegmentedControl.swift | ||
| PullRequestsSection.swift | ||
| SectionCaption.swift | ||
| SettingsView.swift | ||
| SparklineView.swift | ||
| ToolingSection.swift | ||