fire-planner/fire_planner
Viktor Barzin edb4d11352
Some checks are pending
Build and Push / lint-and-test (push) Waiting to run
Build and Push / build (push) Blocked by required conditions
Build and Push / deploy (push) Blocked by required conditions
Build and Push / notify-failure (push) Blocked by required conditions
feat(fire-target): per-Case FIRE-number solver for the retirement countdown
Add a Monte-Carlo "FIRE number" solver so the wealth dashboard can show a £
countdown to retirement across life-stage cases, in today's money.

Viktor wants to see, per country, how far his net worth is from being able to
retire for good under three cases — Solo (his spend ×1.5), Household (+Anca
×1.5), Family (+2 kids) — with cost-of-living re-scaling per country and a 99%
Guyton-Klinger success bar.

- spend_model: per-Case real-GBP spend, COL-scaled (rent + non-rent essentials
  scale by country; Holidays fixed), ×1.5 safety. Constants sourced live from
  actualbudget (Viktor) / on-record (Anca).
- geo: city -> tax jurisdiction (nomad fallback).
- fire_target: binary-search the smallest LIQUID net worth where GK reaches the
  bar; pension modelled as a tranche unlocking at ~57, kids ramp + optional home
  as cashflows. New fire_target table (migration 0007) + idempotent upsert.
- recompute-fire-targets CLI: solve every Case x country and persist for Grafana.
- CONTEXT.md glossary + ADR-0001 (why MC-threshold on liquid NW, not 25x spend).

Reuses the existing simulator unchanged (its cashflow hooks already supported
pension/kids/home). 345 tests pass; mypy + ruff clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 11:49:23 +00:00
..
api examples: simulator response gains examples_overlay block 2026-05-28 22:45:15 +00:00
col col: simulator auto-adjusts spending to local prices via Numbeo+Expatistan 2026-05-22 14:14:57 +00:00
examples examples: disable qwen3 thinking output in llama-swap requests 2026-06-05 08:40:25 +00:00
ingest fire-planner: lazy-refresh /networth from wf_sync (default TTL 1d) 2026-05-27 18:21:12 +00:00
reporters feat(fire-target): per-Case FIRE-number solver for the retirement countdown 2026-06-28 11:49:23 +00:00
returns returns: 3 models — Shiller bootstrap (default), manual %, Wealthfolio history 2026-05-10 01:04:25 +00:00
strategies strategies: spending input is honoured + new "Custom" preset with guardrails 2026-05-10 01:21:55 +00:00
tax Initial extraction from monorepo 2026-05-07 17:06:19 +00:00
__init__.py Initial extraction from monorepo 2026-05-07 17:06:19 +00:00
__main__.py feat(fire-target): per-Case FIRE-number solver for the retirement countdown 2026-06-28 11:49:23 +00:00
actualbudget.py whatif: live data refresh, inflation-adjusted spending, legend fix 2026-05-10 11:27:22 +00:00
app.py examples: /api/examples + /api/examples/summary router 2026-05-28 22:39:47 +00:00
db.py feat(fire-target): per-Case FIRE-number solver for the retirement countdown 2026-06-28 11:49:23 +00:00
fire_target.py feat(fire-target): per-Case FIRE-number solver for the retirement countdown 2026-06-28 11:49:23 +00:00
flex_spending.py fire-planner: Wave 2 chart-first — flex spending, categorised life 2026-05-10 16:49:04 +00:00
fx.py Initial extraction from monorepo 2026-05-07 17:06:19 +00:00
geo.py feat(fire-target): per-Case FIRE-number solver for the retirement countdown 2026-06-28 11:49:23 +00:00
glide_path.py Initial extraction from monorepo 2026-05-07 17:06:19 +00:00
goals_eval.py fire-planner: ProjectionLab parity Wave 1 — tabbed shell, year stats, goals, 2026-05-10 12:49:44 +00:00
income_streams.py fire-planner: ProjectionLab parity Wave 1 — tabbed shell, year stats, goals, 2026-05-10 12:49:44 +00:00
life_events.py fire-planner: Wave 2 chart-first — flex spending, categorised life 2026-05-10 16:49:04 +00:00
scenarios.py strategies: spending input is honoured + new "Custom" preset with guardrails 2026-05-10 01:21:55 +00:00
simulator.py fire-planner: life-event spending bumps now reflected in fan + auto- 2026-05-10 19:17:57 +00:00
spend_model.py feat(fire-target): per-Case FIRE-number solver for the retirement countdown 2026-06-28 11:49:23 +00:00