TransitPin — As-Built Record¶
Status: IN PROGRESS. Last updated: 2026-08-14.
Ground-truth record of what is actually deployed and verified live (app3,
152.53.241.111, SSH key itpp-infra). Every entry below was verified against the live box.
Deployed & verified (2026-08-14)¶
| Date | Change | Verification |
|---|---|---|
| 2026-08-14 | DB snapshots taken (transitpin.db.bak-*) before any schema work |
ls -la data/ shows two .bak files |
| 2026-08-14 | common.py extracted to /opt/transitpin-api/common.py (shared auth/tenant/DB helpers for feature routers) |
python -c "import common" → OK |
| 2026-08-14 | Removed ops login footer Authentication: auth2.itpropartner.com · project internal from ops/login.html |
grep → GONE (backup login.html.bak-* kept) |
In progress (3 feature teams, delegation deleg_2216085e)¶
| Feature | Backend router | Frontend | Status |
|---|---|---|---|
| A — OPS Assume Identity | ops_routes.py |
ops/index.html |
building |
| B — Map traffic/weather | maps_routes.py |
fleet/dashboard.html |
building |
| C — Billing | billing_routes.py |
billing.html + signin.html |
building |
Integration checklist (pending — integrator, after teams report)¶
- [ ]
app.include_router(...)wiring for all three routers inmain.py - [ ] Run
ensure_schema(conn)for each (backup DB first) - [ ]
systemctl restart transitpin-api+/api/health200 - [ ] Live-verify: assume-identity + audit-log,
/api/health/tomtom,/api/weather,/api/billing/households+ outstanding - [ ] Add TomTom + weather rows to
ops/index.htmlAPI Health view - [ ] Commit
TECHNICAL-SPEC.md+AS-BUILT.md+CUSTOMER-ONBOARDING.md+NDA.md