{
  "id": 21593366,
  "title": "I'm building a running coach whose plans survive the weeks you actually miss",
  "url": "https://urgent.news/2026/11/24/im-building-a-running-coach-whose-plans-survive-the-weeks-you",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-24T12:39:25.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/paceline_dk/im-building-a-running-coach-whose-plans-survive-the-weeks-you-actually-miss-5bg6"
  },
  "original_language": "en",
  "account": "Every training plan the reporter has followed has ultimately failed. Not on race day, but somewhere between week six and seven, when work becomes demanding or a personal issue arises, and the reporter misses a few runs. The plan, a fixed grid of weeks, exported from a source, lacks the ability to adapt to the reporter's changing circumstances. So, the reporter improvised, skipping ahead, repeating weeks, or cramming workouts. This cramming, however, often leads to injuries. As both a developer and a runner, the reporter decided to address this issue by building an app called Paceline. Paceline is developed using Flutter + Supabase, and this post delves into the key design principle upon which everything else is built: the plan is not a document, but a computation. A plan is an answer to the question \"where am I now?\" Most plan apps generate a static schedule during signup, based on the runner's goal race, current fitness, and available running days per week. After that, the runner is on a predetermined path. Paceline generates the plan in a similar manner, counting back from the race date, building phases as a real coach would, and fitting them to the actual running days. The crucial difference lies in what happens next. The generator in Paceline is not a one-time step; it is a function that the app can call again whenever the inputs change. These inputs, such as missed runs, illnesses, or improved fitness, are always changing. A static plan treats these changes as damage, while a generator treats them as new input. Thus, when the reporter returns from a challenging week, the app doesn't display red missed checkboxes and an inaccurate schedule. Instead, it determines where the reporter stands and suggests how the plan should evolve from that point. These suggestions, not commands, allow the reporter to accept or reject the recommendations. The app never silently alters the running plan; instead, it clearly communicates the changes and the reasons behind them. This approach aims to build coaching software that can be questioned and understood, rather than an algorithm's opinion presented as authoritative. Paceline's stack includes Flutter for a single codebase supporting both Android and iOS, Supabase as the backend for authentication, Postgres for data storage, and row-level security per athlete. The plan state resides in Postgres, and the generator operates on this data. The generator's deterministic nature ensures that given the same runner state, it will always produce the same plan, enabling explanations, testing, and comparisons of adaptations. AI features are layered on top, enabling conversational interactions with the runner while maintaining the same underlying decision-making engine. The reporter emphasizes that this is an indie app built in public by a runner who has grown tired of improvising around spreadsheets. Currently in its early stages, Paceline's Android app is live, and the plan generation engine is fully functional. The reporter is now in the process of gathering real user feedback to refine the product further. If you've ever faced a missed week and encountered a plan that failed to adapt, the reporter would appreciate hearing about your alternative approach. This feedback will shape the next iteration of Paceline.",
  "summary": "Every training plan I've ever followed died the same death. Not on race day. Somewhere around week six, when work got heavy or a kid got sick or a knee grumbled, and I missed a few runs. The plan — a fixed grid of weeks, exported from somewhere — had no opinion about what to do next. It just kept pointing at a schedule I was no longer on. So I'd improvise: skip ahead, repeat a week, cram. Usually…",
  "key_points": [
    "Paceline app adapts running plans based on changing circumstances, unlike static plan apps.",
    "Uses Flutter + Supabase for development, with plan state stored in Postgres.",
    "App's generator produces plans in response to inputs like missed runs or improved fitness."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}