Build an automatic time tracker whose rules are readable and auditable. Stack: a local recorder plus a dashboard, SQLite, no network calls. Consider building on an existing open-source capture layer rather than writing OS hooks yourself. Capture: active application, window title, document path where the OS exposes one, and input activity, run-length compacted. The rule engine is the product: - A rule has a matcher (application equals, window title contains, title matches a regular expression, document path starts with), a target project, and a position in an ordered list. First match wins. - Every assigned block records **which rule matched**, shown in the UI. An unexplained assignment is the thing that makes people stop trusting an automatic tracker. - A "why is this unassigned" screen lists the biggest unassigned blocks by total time, most first, with a one-click "create a rule from this window title" that prefills a sensible matcher. - Rule changes are not retroactive by default. Offer an explicit "re-apply rules to the last N days" action that shows how many blocks would change before running, because silently rewriting last month's timesheet is a way to lose an invoice dispute. Projects with a billable flag and an hourly rate, a day timeline, a week summary by project, and CSV export including the matching rule for every row. Manual override: any block can be reassigned by hand, and a manual assignment is never overwritten by a later rule run. Mark it visibly as manual. Privacy: pause control showing paused time as paused, per-application title redaction, raw-sample retention window, and a wipe command. Write tests for first-match-wins ordering, for manual assignments surviving a rule re-run, and for the retroactive preview counting correctly. Do not build cloud sync, a mobile app, or third-party task integrations.