HOW CAPISSO IS BUILT · PART 2 OF 5

From idea to locked plan

How we turn an idea into a plan that a string of forgetful sessions can build from for weeks without it drifting, and what you can copy.

Anbarasan Swaminathan, CTO · · 9 min read

Planning is where I spend most of my time. A plan takes days, and most of it is me chatting with the planner until the finished product is clear in my head. If that sounds slow, good: the slow bit is the cheap bit.

A lot of AI coding works the other way. You start with one line, the model builds something, suggests the next thing, and you say yes. Then it suggests another, and you say yes again. Ten yeses later, you have a generic, vibe-coded product: shortcuts everywhere, and features that are there because the model offered. We'd rather work like a real product team, and see the whole product before anyone builds it.

I'll follow one feature we shipped through this post: importing the PDF statement a customer's bank gives them. Some banks offer no spreadsheet export, so the PDF is all a customer has, and Capisso used to send them to a Banking page that only took CSV files: a room with no door. I've simplified the story and run it through today's planner, so treat it as an illustration.

What is a locked plan?

A locked plan is a finished plan I've approved and frozen into one fingerprinted bundle, so every session that builds from it can prove it read the same version.

Think about a building. The structure is settled before the first brick goes down: where the weight sits, where the stairs go, what it looks like from the street. Once the bricks are laid, every change is a patch or a demolition. So the architect, our planner, draws it all, the drawings are checked from every angle and stamped, and the site manager, our orchestrator, works from the stamped set, never a sketch. The stamped set lives in the site office: ceosk, our software build factory. That's what lets us build for weeks with confidence.

I start with a brain dump, not a one-liner

I don't open a plan with a neat sentence. I switch on the microphone and talk: what's already in the product, what annoyed me when I used it, what customers keep saying, notes from meetings with colleagues. Half my words come out garbled; even "Capisso" rarely survives a voice note. It doesn't matter. Today's models are very good at taking a messy dump of thoughts and placing it in the context of the product.

Don't worry about how you phrase it. A one-liner leaves the model to assume almost everything, and when it fills the gaps, it fills them from its own idea of what products usually do. Its suggestions are tempting, and you take them. A brain dump gives it your ideas to explore instead, so its suggestions point in your direction, not its own.

Start a plan by emptying your head into it, not with one tidy sentence.

The planner asks why before it asks what

Then the planner asks why. Every feature has to earn its place in the product, so first we pin down what it's for and what it should change. In ceosk that's a bet: a feature tied to one of our business goals, with a wager, a prediction of the number it'll move and by when. The planner writes the why PR-FAQ style, the paragraph you'd print in the launch announcement. Ours came down to: a customer with only a PDF can bring it in, and the books still balance. Nothing moves until I confirm it.

That why does two jobs. During a build that runs for weeks, every desk anchors to it: an orchestrator reads the bet's goal the way a planner reads our product vision, so nobody drifts off the path. Weeks later, an executor has to choose between importing half a statement and refusing it. Half leaves a balance that doesn't match, so the why says refuse. And once the feature is out in the wild, the wager tells us whether it did what we built it for, or is just sitting in the product, changing nothing for anyone.

That's why the why lives in ceosk as a goal and a bet, not in a markdown file in the repo that nobody reopens.

Then the questions come, one per message, with the persistence of a four-year-old, each with two or three approaches and the planner's pick. It's our product team meeting, so they reach past the feature: regressions, go-to-market, every user flow. Each answer goes into ceosk with its reason, once I've said yes.

When the planning stalls, step back

Planning is where I talk to a session most, so it's also where a discussion most often stalls: an answer misses the point, or the session seems off its game. I keep frustration out of the prompt. In my experience, a sharp, demanding message doesn't fix the problem. The session shifts to satisfying me with its next answer, and that's usually the easiest one. Pull harder at a knot and it only gets tighter. So I do what I'd do with a colleague in a product meeting: restate the problem, go back a few steps, and come at it from a different angle.

When an answer is wrong, slow down and re-explain; don't escalate.

Stories say what happens, never how

Next, the why becomes work. As a task, "add a PDF reader to the bank import" tells an executor what to type, not when it's done or whether the customer got what they needed.

So the planner writes stories, each one something a person does and sees: "You upload your PDF statement, the rows land, and the balance matches the closing figure printed on it." Anyone can check that without reading code. The stories come as smallest useful slice first, so the first one built is already usable.

Each story also settles "done" before the build, with acceptance cases: a scenario, the steps, and a PASS/FAIL line anyone can tick without asking. One PDF case: a scan with no readable text is refused, with a reason, before we store it.

Write down what a user sees, and let the session reading the code decide how.

The plan grill hunts for what the plan doesn't say

Once the outline is ready, the plan looks finished, and that's when it's riskiest. The gaps are the things nobody wrote down.

So we grill it. Agents that didn't write the plan read every story against the code. They walk the rest of the product too: features that already do something similar, which the new one should match, and today's screen beside each proposed one, so I see the finished product before an executor writes a line.

Whatever the plan leaves open comes back to me, one question at a time, each with two readings and the planner's pick. One from PDF import: a payment on the statement looks like one Capisso already brought in from the bank, but the dates are a few days apart. Same payment, or two? If the plan stayed silent, one executor would skip it and another would add it twice. We chose to ask the person importing, who has the statement in hand. The planner never fills a gap itself, because its guess would look exactly like my decision.

So where does the planner get to decide? Wherever I've already decided. Our product vision, every approved decision in ceosk's Brain and the rules similar features follow are all things I've said yes to, and the planner applies them without asking. Anything new comes to me, and my answer goes into the Brain, so every plan asks me a little less than the last.

Every answer you give the planner is one the next plan won't need to ask.

Only I can lock the plan, and the fingerprint proves it

So who says the plan is ready? I do, because I answer for the feature. The lock is a human gate the planner can ask for but never cross: in ceosk, the move from "definition" to "planned" waits for me, after ceosk checks that every decision is registered, every story written up and no question open.

Then the plan passes through dozens of sessions over weeks: the planner hands it to the orchestrators, they hand stories to executors, and every one of them starts fresh. So how does each prove it's building from the version I approved, and not an older copy? The locked plan goes into one bundle with a fingerprint: we run it through SHA-256, a standard hashing function, and keep the first 16 characters. Change one comma and they change. Every desk quotes the 16 back before it starts. When a gap changes the plan, the planner cuts a new bundle with a new fingerprint and every desk moves to it, so a desk still quoting the old one is visibly working from a stale plan.

The check is only as good as the command: plain shasum on a Mac is SHA-1, and in September that gave two desks different fingerprints for the same change. Now every brief spells the command out.

Put one gate before building that only a human can open, and fingerprint what passes through it.

No plan is perfect, so gaps come back up

Even after all that, the plan isn't 100%. A plan covers one feature in close to a million lines of code, and no planner finds every gap from the outside. The grill rules out most of them; a few only show up when an executor is deep in the code. What matters is who fills them, and it's never the executor.

The executor checks ceosk first, then asks its orchestrator over cc-board. The orchestrator takes the first pass: it checks the plan and rules on a small gap inside its own part, and tells the planner, which can reverse it. In the trial, the planner reversed one of 27 such rulings, and none was traced to a defect. Orchestrators work alongside each other, though, so anything bigger, or anything that touches another part, goes up to the planner, which holds the whole plan and brings it to me. Then we decide: does it go in this release, or wait for a later bet in the maintenance desk's queue?

New ideas get the same treatment. On 3.0, four bets went from 560 stories to 568 in less than a day after the lock, one desk ruling at a time, so nobody saw the total grow. Scope creep, at agent speed. Now the lock records each bet's stories as its baseline, and an idea joins a bet only if the bet can't ship without it, and only I add it.

Expect gaps after the lock, and make sure they climb up to someone who holds the plan, never get filled where they're found.

FROM IDEA TO LOCKED PLAN Me: an idea PlannerFable · asks why first why does it matter? which goal? what can wait? ceoskdecision+ reason+ my yes stories The planStory 1 · 5 casesPASS/FAILStory 2 · 6 casesPASS/FAILStory 3 · 5 casesPASS/FAIL LOCKED closed closed Plan reviewOpus · reads the code Me: lock FINGERPRINT3e9b07c1d4a82f56 one bundle Orchestratorquotes 3e9b07c1d4a82f56 story Executorfresh seat new find Maintenancedesk · triages ceoskfirst doubt that needs me
Where the idea ends up: questioned, written as stories, grilled, reviewed, locked and fingerprinted, with a way back for doubts and a way out for new finds.

Try this

On your next feature, before any executor starts:

  1. Dictate a brain dump into the planning session: everything you know and want, however messy.
  2. Make it ask you why first, one question per message, until it can write your launch paragraph and the number the feature should move.
  3. Have it write each decision, with its reason, to a decisions file that every session reads before asking you.
  4. Ask for stories as behaviour with PASS/FAIL cases, then have a fresh session check them against the code and against features that already do something similar.

What this costs us

Time, mostly mine. A typical plan takes three or four days before any code exists, every question waits for me, and it runs on Fable, our pricey model. Those days buy weeks: once the plan is locked, the build runs without me, and I'm free to plan the next feature.

The freeze makes me the bottleneck, since a necessary item waits until I answer, but it also means nothing changes without me knowing. And each gap a plan missed becomes a new grill check, so every plan starts with more checks than the last. We don't measure the miss rate yet.

The plan is the last place where being wrong is cheap, so spend your time there. Part 3 opens the site office and the phone line.

Get the kit

The planning kit walks your planner through the brain dump, the why, the stories, the grill and the lock. Paste the prompt into Claude Code, or install the skill to keep it.

PASTE THIS INTO CLAUDE CODE

Help me plan a feature properly before anyone builds it. Work like this, and add these rules to CLAUDE.md under "Planning" so every planning session follows them:

1. Ask me for a brain dump first: everything in my head, however messy. Read it back as a short list of intents.
2. Why before what: write the launch paragraph (what a customer can now do) and the number the feature should move, by how much and by when. Nothing moves until I confirm both.
3. Then ask one question per message, each with two or three options and your pick. Record every answer in docs/decisions.md, numbered, in my words, with the reason. Check that file before asking anything.
4. Write stories as what a person does and sees, smallest useful slice first, each with PASS/FAIL acceptance cases. Leave the how to whoever reads the code.
5. Grill the plan: list every screen, message and API it touches, and features that already do something similar. Ask me about each place two builders could read the plan two ways, one at a time. Never fill a gap yourself.
6. Have a fresh subagent that didn't write the plan read every story against the code.
7. Only I lock the plan. When I do, fingerprint it with `shasum -a 256 docs/plans/<feature>/plan.md | cut -c1-16` and write it at the top. Every session that builds from it quotes the fingerprint back.

Start with step 1.

In CLAUDE.md, refer to me as "the human". Never invent a decision for me: decisions files start empty.

OR INSTALL THE SKILL

Download SKILL.md

Save it as ~/.claude/skills/plan-a-feature/SKILL.md. Start it with /plan-a-feature.

Work differently? Tell me

How do you start a plan with your agents: one line, or everything in your head? Tell me in the LinkedIn comments.

NEXT IN THE SERIES

Part 3: The site office and the phone line.

ceosk holds the plans, the stories, each desk's diary and a Brain that only learns what a human approves, and cc-board lets the sessions talk and keeps every question for me in view.