Docs: document MOT/insurance renewals, due-soon state, new settings

- README: feature list now covers renewal tracking, the due-soon service
  state, and the full event-type set.
- AGENTS: add the three hint settings, compute_renewal_due, favicon.svg,
  and test_renewals.py to the layouts.
This commit is contained in:
2026-09-10 10:24:25 +01:00
parent aced0a1a3b
commit 12494bf30c
2 changed files with 20 additions and 9 deletions
+8 -4
View File
@@ -2,16 +2,20 @@
A small, secure, single-user web app for logging bike service and repair
"events" (type, date, mileage, cost, notes) and getting a clear **service-due**
hint per bike.
hint per bike, plus **MOT / insurance renewal** tracking.
Built with FastAPI + SQLite + Jinja2 + HTMX. No build step. Server-rendered pages.
## Features
- Log events for a bike: type (service, tyre, chain, brake, repair, other), date,
optional mileage + cost, free-text notes.
- Log events for a bike: type (service, fuel, tyre, chain, brake, repair, mot,
insurance, other), date, optional mileage + cost, free-text notes.
- Per-bike **service status** derived from your newest mileage and the most recent
*service* event: `ok` (still under the interval) or `overdue` (past it — book now).
*service* event: `ok` (still under the interval), `due-soon` (within the lead
time — book it soon), or `overdue` (past it — book a service now).
- **MOT / insurance renewals**: the most recent `mot` / `insurance` event is
tracked and flagged `ok` / `due-soon` / `overdue` by date (default: valid for 12
months, "due soon" within the final 60).
- Set a **service interval** in miles per bike (e.g. 5000).
- Dashboard "action needed" strip surfaces any overdue bike.
- Cost and event totals, newest-first history.