Podcast about DevSecOps

#106 - When Your Pet Project Tells You No

A personal training tool earns its keep by challenging a workout against the athlete's own data.

15 min read

This is a lighter summer episode about building things for yourself. The hosts talk personal projects, fitness data, AI agents, and the honest gap between having a smart plan and doing the work.

Discuss the episode or ask us anything on LinkedIn


Pet projects got cheap, and the backlog started moving

Most engineers carry a list of things they wanted to build for themselves and never did. A map that shows where the drone actually flew. A coach that has read every workout of the last ten years instead of the last four weeks. A script that publishes a podcast episode so publishing stops eating a Sunday evening. None of it was blocked on ideas. It was blocked on the long boring middle: the API client, the token refresh, the retry logic, the deploy, the glue between two things that nearly fit.

That middle got cheap. Hand a coding agent an API doc and a rough design, and the glue shows up while you do something else. Our own drone telemetry stack started about three years ago and crawled; with an agent running against both ends at once, it moves. The APIs are up, the sockets and the on-disk queue work, and the MAVProxy service is still being deployed into a local Kubernetes cluster. Nothing about that is finished. The difference is that progress no longer waits for a free evening.

Which makes this a good moment to be honest about what the agent doesn’t fix. It can’t get you data a vendor won’t hand over. Five months of exports still won’t fit in a context window. Useful pushback doesn’t arrive for free either: a refusal is only worth reading when it is grounded in your own numbers. And none of it makes you do the session the plan says you should do today. Those are the four walls a personal project hits, and they’re the same ones your team’s internal tooling hits.

Whoever exposes an API decides what you can build

Start with the data, because every one of these projects turns out to be a data problem wearing a costume.

Where does a personal training system actually start?

With whichever vendor will hand you your own numbers in a format a script can read.

The watch is a Garmin, and as far as we could tell on 22 June 2026, Garmin didn’t expose a free API for pulling your own history. That is our reading on that date and nothing more; if you know a route we missed, tell us. So the path runs sideways. The watch syncs to Strava, Strava lets you register an OAuth application, and the application pulls your activities down onto your own disk. It costs a paid Strava subscription, around 50 euro a year in our case, which was an easy trade for owning the files.

The gaps show up immediately. Wellness data, heart rate variability and the rest, doesn’t travel to Strava, so that part is still a zip export per day out of Garmin Connect, picked up by a skill that knows to look in the downloads folder. Body composition is easier: Withings runs a public API with an OAuth flow and no contract to sign. Lab work and stress tests go in by hand, VO2 max, ventilatory thresholds, blood panels. Between them you get a picture no single app has, which is the whole point, and you pay for it in glue.

Rate limits and context windows are the two walls

Having the files on disk isn’t the same as being able to use them.

Why not just hand the model five months of training files?

It blows the context window, and the API won’t hand you that much that fast anyway.

Pulling the files behind one multi-month analysis meant about an hour of waiting on Strava’s rate limiting, in batches, with pauses in between. The documented budget explains it: outside uploads, Strava allows 100 requests every 15 minutes and 1,000 a day, with an upgrade in the API dashboard to 200 and 2,000 for up to 10 athletes. Every response carries X-ReadRateLimit-Usage, so your backfill can throttle itself instead of guessing.

The context side needed a different fix. Python scripts roll the raw activities up by week, by month and by year. Everything is stored as JSON with a table of contents, so a model can find one week without reading the year around it. Detail extraction goes to subagents, which keeps the main session from filling with files nobody will look at again.

That pattern has a published version. Alex L. Zhang’s October 2025 post on recursive language models describes leaving the prompt outside the window as an environment the model inspects and calls itself over, rather than stuffing it in. The packaging matters too: Anthropic’s write-up on agent skills is the same instinct applied to instructions, where a skill’s body loads only when the task needs it. Neither is required reading to build this. Both describe what you end up doing anyway once the files get big.

The system earns its keep when it tells you no

With the data in place, the useful output turns out not to be the plan.

What do you actually get from a coach you built yourself?

An argument with something that has read all of your numbers, including the ones you’d rather skip past.

Take one Monday morning. Saturday was a 10k trail race with 800 metres of climbing and the same again coming down, which banged up a knee with an existing tendon tear. Shockwave therapy was booked for that day, so no tendon loading that day or the next. The idea was to squeeze in strides before the appointment, a quality session before the forced rest. The system said no: two weeks of ramp plus a race is enough load, let the tendon heal, do the quality session later in the week if the recovery trend holds. That is the job, balancing recovery against impulsive decisions, and it only works because the pushback cites your own week back at you.

Grounding is what separates this from a chatbot with opinions. The ask is never “write me a plan”, it’s closer to “that’s my data. Look at all this data, tell me what makes sense”. Compare it with the AI summaries Strava ships to paying members. One rider wrote that he’d forgotten his helmet and had to turn back, and got a cheerful note about a great ride without a helmet in return. Whatever is behind that output, it is not worth reading.

Two conditions sit under all of this, and neither is automatic. You need enough reliable measurement to ground the model, the lab tests and the trend data, because without them the readings are too noisy to argue from. And you need to know the subject well enough to spot when the model is making things up. Fifteen years of running and a shelf of training literature are what make the output checkable. With a lot of data the model does ground itself and gets reliable, somewhat. Somewhat is the operative word, and reading the difference is on you.

The same grounding produces the constraints. With a tendon healing, the week gets capped at 40 kilometres of running while the non-loading activities stay uncapped, because the data says where the load is coming from.

The plan is the easy half

Which leaves the part no amount of data fixes, and the one thing we don’t agree on.

Does a generated plan change what you actually do?

Not on its own, and what fills the gap depends on who you are.

Paulina Dubas uses generated plans and says flatly that they aren’t enough for her: “I still need a human which gonna shout to me and sometimes someone who’s gonna check if I’ve done it.” A system is the thing she can ignore, and she puts that down to training from four or five with a trainer who checked. Andrey Devyatkin takes the other side. He’ll stay on track without anyone shouting; what he needs is the balancing, plus something that pushes back when an impulsive idea shows up. Knowing the week’s volume, he can rebalance it in his head when life moves a session.

The transferable bit is that these are different products. If you need checking, the system has to emit something a person can look at and ask about, which means a visible artefact and somebody who gets it. If you need balancing, the system has to hold the whole picture and be willing to argue. Build the wrong one and you’ll have a very clever thing you stop opening in week three.

The apps we looked at plan toward a race date

There’s an obvious objection to all of this: the market already sells it.

Why not just buy one of the AI training apps?

The ones we looked at build the plan around a goal race, and a race date isn’t the thing we needed planned.

That shape works if you have a date circled. Ours was a different question. When you’ve already run more marathons than you want to count, and 5k and 10k times aren’t the point any more, a race-shaped plan has nothing to sell you. Turning 40 changes the calculus as well: you can’t train any way you like and get away with it. Stay consistent, stay uninjured, keep the fitness, and it compounds. Gaps are less forgiving than they were at 25.

We didn’t survey the market, and the market hasn’t stood still. Strava’s Instant Workouts, live to subscribers worldwide since January 2026, generates sessions from recent activity history under four intents, “Maintain”, “Build”, “Explore” and “Recover”, aimed at the athlete’s goal for the week rather than an event on the calendar. That’s a week of suggestions, not the multi-year picture we were after, and it’s one product rather than a category. It is enough to say that the options we passed over were the ones we had looked at.

The human coach has the opposite problem, and it isn’t a knock on coaches. Ten years with a good one was ten years of real progress. He also had other athletes, a different time zone, and a plan that arrived without much room to pull on the reasoning behind it. Feeding one athlete’s foam rolling, step count on indoor-bike days, sleep and physio constraints to a coach is a lot of input for the time it would take them to read.

Hardware answers back

Software projects fail quietly on your laptop. Hardware projects fail outdoors, in the cold, in front of people.

What changes when the pet project has hardware in it?

Everything you assumed in the simulator, which is where the real constraint list starts.

The drone side is ordinary once you know the protocol. Flight controllers speak MAVLink, the telemetry comes over UDP, and MAVProxy forwards that stream to anywhere you point it with --out. Hook into the proxy, ship the messages to your own API, and you get the Flightradar view of your own flights. The current work is getting MAVProxy running in a local Kubernetes cluster so the rovers and drones have somewhere to publish. A small RTSP proxy is started as well; pulling the drone’s video through it, and running image recognition on that stream, are still plans rather than working pieces.

The design decision that matters came from the field, not the diagram: the link drops, so the queue lives on disk. Every message is written down, a separate process picks it up and ships it when the link returns. Nothing here needs to be realtime.

The cold version of that lesson came from a master’s thesis on autonomous drones, running a Raspberry Pi with controllers bolted on. Low temperatures cost the drone its link to the controller and to the laptop running the program, and it crashed at random through the testing. Moving from simulation to hardware adds “10,000 new things you need to take into consideration”. The simulation won’t show you the cold.

Flight risk works the same way. A DJI Neo weighs about 135 grams and is rated for 8 metres per second of wind, and that lightness is the selling point right up to the moment you fly it along an exposed coast. One gust had it climbing out over the sea, too weak to push back and too far to take a land command from the phone. The other classic is return to home. Launch from a boat, keep moving, leave the home point where it was, and the drone flies back to where the boat used to be. Following a car or a bike downhill is the same trap, so update the home point as your own position changes.

What’s left over is the scheduling

After months of running a system like this, the missing piece isn’t intelligence.

What is still missing from a home-built system like this?

Something that runs it when you aren’t sitting in front of it.

The training system still waits for a human to open a session, and the Garmin wellness export is still a zip file somebody downloads. Wiring that to a schedule, with Claude routines or any other automation, is the open item rather than a solved one. Meanwhile the thing that did get there is the podcast pipeline: bash do.sh, one script, raw recording to published episode. It used to publish straight away. A recent change added scheduling, so queued episodes pick a slot, land on Podbean and YouTube at 11:00 UTC on the Monday, and hit the website as soon as they’re scheduled. That makes the site the early preview, no Patreon tier required. Announcements are the next piece. The first versions of all of it were hand-written six years ago, when nothing like this existed; the YouTube upload and the scheduling were written by an agent.

A system like this is never finished, and the tweaks are small and specific. Garmin has no activity type for foam rolling, so Pilates sessions get renamed and reclassified. That broke the deduplication, which matched on activity name and type, so a renamed session looked like a new one. It now matches on activity id.

What this means for teams

None of these walls are specific to fitness data or drones. Your internal tooling hits the same four: a data source with no usable API, a corpus that doesn’t fit in a window, a system with nothing solid to ground a refusal in, and a plan nobody follows up on. The pet project is just where you get to see all four in one weekend instead of one per quarter.

Four things worth doing this week:

  • List the data sources your next agent-built tool needs, and mark which ones have an API you can actually get access to. The one that needs a manual export sets the pace for the whole system.
  • Write the rollup and the index before you write the prompt. Weekly and monthly summaries with a table of contents beat waiting for a bigger context window.
  • Decide where your system is allowed to refuse, and then test it by asking for something dumb. If it never pushes back, it’s a template with extra steps.
  • Name the human who checks the output. A system nobody checks is a system you can ignore, and you will.

Common questions, answered

How do I get my Garmin training data into my own scripts?

Sync the watch to Strava, register an OAuth application on Strava’s developer dashboard, and pull your activities down from the API onto your own disk. That route covers workouts, and it’s what we use because Garmin’s own developer access wasn’t open to us in June 2026. Wellness metrics such as heart rate variability don’t reach Strava at all, so those still come out of Garmin Connect as a manual export you drop into a known folder for your tooling to pick up. Budget for a Strava subscription, around 50 euro a year.

Why does my Strava data pull keep stopping?

You’re hitting the read rate limit, so pull in batches and let the response headers pace you. Outside upload endpoints, Strava allows 100 requests every 15 minutes and 1,000 per day by default, and the dashboard offers an upgrade to 200 and 2,000 for up to 10 athletes. Read X-ReadRateLimit-Usage on every response, which carries the 15 minute and daily counters, and sleep when you get close. Our own multi-month backfill was about an hour of mostly waiting, so cache everything to disk the first time.

How do I get live drone telemetry into my own map?

Point MAVProxy at the vehicle and forward the MAVLink stream to your own endpoint with --out, then write a consumer that turns the position messages into map points. The telemetry arrives as UDP, so assume packets go missing and the link drops: write each message to a local queue on disk and have a separate process ship them onward. You don’t need realtime for a flight path, which makes the whole thing much easier to build.

Resources

Since we recorded

The Garmin question we left open has an answer. Garmin’s Connect Developer Program overview now lists a Personal tier: retrieve a personal API key from the Garmin Connect website, pull only, for activity, health and women’s health data on your own account. Whether every field survives that trip is unconfirmed, and there is reason to check: Runalyze’s changelog of 6 October 2026 reports that values such as the VO2 max estimate, recovery time and performance condition no longer come through its own Garmin connection, which is a different access path from the Personal key. The other half of the argument, what an agent may decide without asking, came back as its own conversation in episode 111, AI Agents: When Helpful Becomes Harmful.