Work07
Limit Watch
A Windows tray app for a one-week test. Every 3 seconds it reads the window in front, and a model on my PC decides whether I just hit an AI usage limit and when it resets.
- Status
- Prototype (one-week test)
- Built
- Nov 2026, in one evening
- Stack
- Electron, TypeScript, Ollama (qwen3:8b)
- Code
- Local only
2/30
false alarms in the measured results; few false alarms was the goal
01Problem
Hitting a usage limit mid-task means guessing when it resets and remembering to come back.
02What I built
- A regex prefilter, then the local model answers three stated questions (who is speaking, is any allowance left, does waiting help), checked in code.
- The reset time is parsed in code, not by the model.
- It can paste a held message when the limit resets, but only where I chose "Send it for me" and only into the window the limit appeared in.
03How it was tested
- Unit tests.
- End-to-end tests with and without the real model.
- A held-out set of real limit messages and look-alikes.
04Results
| Check | Result |
|---|---|
| Unit tests | 370/370 |
| End-to-end | 74/74 |
| End-to-end with the real model | 76/76 |
| Held-out limit messages caught | 13/20 |
| False alarms | 2/30 |
| Limit messages printed in a terminal caught | 2/7 |
I chose few false alarms over catching terminal messages: a version that caught more flagged about half of the terminal look-alikes.
Asking the model for a bare yes/no gave 8 false alarms on 54 look-alikes; asking for three stated judgments gave 2.
05What I learned
Make the model show its reasoning in fields you can check in code.
06Links
Local repository, no public code yet.