Inspiration

We kept noticing the same ending. You open a productivity app, you finish the list, and it immediately asks for more: a streak to protect, a score to raise, an "optimization" you are now responsible for ignoring. The work is never done, because "done" is bad for retention.

That is the machine we wanted to build honestly. Most critiques of dark patterns are essays or annotated screenshots — they describe the trap from the outside. We wanted to build the trap, make it genuinely pleasant to use, and let people feel the exact moment the product stops working for them and starts working on them.

What it does

LifePilot asks a short set of questions, one at a time, then turns your answers into a week of time blocks. Fixed commitments stay fixed, sleep and breaks are actually scheduled, and tasks that don't fit are listed as unscheduled instead of quietly disappearing. Every answer can be checked: confirmed, unknown, or conflicting.

Then the plan never ends. Three mechanisms run on top of it, and each one exists to move a specific number.

Never finished — because a planner opened once a week looks bad. The company needs you to stay longer, and time in app is what gets reported. So the plan is never called done. It keeps offering 5- or 10-minute shifts, labelled "+2%" — and the 2% isn't calculated, it cycles through 2, 2.3, 2.7 and 3. It was built to keep you on the page, not to give your time back.

Always something to buy — because free users don't pay the bills. The goal is conversion. Blueprints at ¥299 and ¥149, claiming 220% to 500% gains, with a free tier kept just incomplete enough that the paid one has something to fix. What's sold is the feeling of having found the method.

Always ranked lower — because an app you don't reopen is a dead app. Retention. Finishing a task earns 12 points and drops your rank 17 places, and the board keeps moving, so the reward is really a reason to come back tomorrow.

How we built it

We fixed the boundaries before filling them in. The data formats came first, the model's authority was cut down early, the interface was allowed to read data but not to make decisions, and the test suite stayed offline. Once that order was settled, four people could move in parallel without stepping on each other.

The system is Python 3.13 with Streamlit, arranged in three layers. At the bottom sit six dataclasses, ConsultationDraft, UserProfile, QuestionnaireData, ScheduledItem, UnscheduledTask and ScheduleResult, each validating itself and raising on bad input rather than falling back to a default. The middle layer is the ConsultationController state machine, which owns every decision. The top layer is Streamlit, which only renders. The planner UI and the reverse-UX module read the same schedule data, a plain list of dictionaries, and neither is permitted to reach around it to change state.

Which question to ask, in what order, and when to stop are all decided by the state machine. There are five priority tiers from P0 to P4, a cap of 12 rounds, and three states per field, resolved, unknown and unresolved. is_complete is not declared by the model but computed from whether anything remains unresolved. The model has three jobs. It phrases a question that has already been chosen, classifies activities the user has already mentioned, and writes a profile from confirmed fields. The prompts state that it has no authority to select.

Model access is swappable. DeepSeek and GPT sit behind a single OpenAI-compatible client, with base_url and model passed as constructor arguments, so changing vendors is a configuration change rather than a rewrite.

Four people worked on four branches separated by git worktrees, and the integration point was the data format rather than a meeting. The suite holds 292 tests and runs entirely offline. When two implementations of the same feature appeared, we extracted the algorithm into a Streamlit-free module of pure functions, cross-checked it against the original across 24 scenarios for byte-identical output, and then returned it to the main path as the single canonical version.

Challenges we ran into

The agent forgot what we had agreed at the start. We set one rule on day one. The code decides what to ask, and the model has no authority. Under pressure to make the flow smoother, agents kept relaxing that rule, merging two questions into one, skipping a priority tier, inventing a work window on the user's behalf. The resulting code read reasonably and the diff looked clean, and the deviation only appeared when the tests ran. So we turned every rule into a test that fails, which meant the drift turned red the moment it appeared and we could go back and correct it. After a few rounds we stopped trusting the agent to remember and trusted the test instead.

Someone had already done the work. The front-end branch ended up writing the optimization logic itself. The feature was complete and had no tests, and we had built an independent version on our side. When the branches met, the duplication was obvious. We did not create a third version. We froze the one already wired into the interface as the product path, extracted the algorithm from ours into a Streamlit-free module of pure functions, and kept it as the test baseline, running it against the product version across 24 scenarios until the output was byte-identical. The lesson was not to communicate earlier. It was to decide which copy counts, then say out loud what the other one is for.

Accomplishments that we're proud of

The API is connected end to end. Real data now travels from the back end through the interface, and titles, time blocks and states all match. Nothing on the screen depends on demo data any more.

The week is actually scheduled. Given a work window, a task list and a focus preference, the planner finds a slot for each item and lists whatever does not fit as unscheduled instead of deleting it.

Three dark patterns, built and running. Endless optimization, the blueprint marketplace and the productivity leaderboard all work in the interface, and each one can name the product logic it grew out of.

A consultation that can explain itself. Ask why a question was asked and there is an answer. It was the highest-priority unresolved field, not a guess by the model.

What we learned

Engineering sits some distance away from theory. A rule that takes one sentence to state becomes a state machine, boundary conditions, defaults and a set of tests that fail loudly. We spent far more time on that distance than we expected.

An API mismatch is usually not a communication problem. It is a contract problem. Both sides believed they had agreed, wrote the fields from their own picture, and only found out at integration that the same name meant different things.

The expensive part of front-end and back-end work is agreeing on what a field means on both sides. Whether empty counts as an answer, whether a default is a user's answer, whether time is a string or an object.

What's next for LifePilot

Make the model understand people better. The questions are chosen by code and the model only phrases and classifies, so when an answer is vague it can only ask again.

Make the core planner solid. Scheduling already works. Given a week, a task list and a work window, it places each item around fixed commitments, a preferred focus time of day and a break buffer, and lists whatever does not fit as unscheduled.

Make the ads real. Every page switch currently opens one. Next we enrich the content and write it the way real ads are written, so it looks like something actually being sold.

Built With

Share this project:

Updates

Submission history