You cannot know yet: spikes and prototypes
Building 1 of 3 in Building Aspects: relationship with reality · effective action (meta-systematic) · contingencies · epistemology (relating formal and informal)
A team argues an unknown approach from theory, commits to an estimate, and stalls in week three; the corrected path builds throwaway spikes to settle the unknowns before any spec.
Meta-rational here follows David Chapman: insights come frominvestigating the relationship between a system of technical rationality and its context
(Meta-rationality: An introduction). The pages call that stepping outside the procedure to ask whether it fits the situation.
Signals you are in this situation
Section titled “Signals you are in this situation”- Estimates for one piece of work differ by an order of magnitude.
- Approaches are compared from documentation, not from trials.
- A key dependency has never been exercised by anyone on the team.
- Design discussion keeps returning to the same unresolved question.
- People say they will find out by building it, then plan as if they knew.
The situation
Section titled “The situation”Before GitHub built what became GitHub Apps, Keavy McMinn was researching how the platform might integrate with third-party data. She needed buy-in from leadership, so she wrote a strategy document and backed it with a handful of spikes: small pull requests, never merged, each connecting a few parts to show how one piece of the idea could work. The spikes turned a debate about plausibility into something people could read and run, and the project went ahead.
The same post describes the opposite use. A manager suggested a direction that seemed wrong to her. Instead of arguing from theory she built a spike, found out why the direction would not work, and said so with evidence. Shape Up tells a matching story with the opposite outcome. Basecamp once bet six weeks on a home-screen redesign without checking during shaping that a viable design existed. None did, the team could not find one under deadline, and the project was abandoned.
The meta-rational perspective
Section titled “The meta-rational perspective”Rational planning assumes the approach is known and only the effort is uncertain. Early in any non-trivial piece of work the approach itself is uncertain, and estimation cannot turn that into a number. Shape Up describes the difference as the shape of the risk. Well-understood work has a thin tail: the worst case is an extra week. Work with an unresolved technical unknown or an unsolved design problem has a long tail that can stretch to several times the appetite. The rational response is to estimate harder. The meta-rational response is to change what you are doing until the tail is thin.
That means replacing argument with trial. McMinn’s advice to explore three approaches rather than two concerns how understanding is produced. With two options the discussion becomes a contender and a decoy; with three spikes the trade-offs become concrete. The knowledge is not yet in anyone’s head, so interviewing cannot produce it. It has to be made, cheaply and disposably, by putting a formal object into contact with the real system and observing where it fails. Spikes therefore must not go to production. Their value is what they taught, and keeping them turns an instrument for answering a question into a commitment.
Two distinctions matter. A spike is for engineers. It may have no interface and no meaningful output, and it exists to compare ways of building part of the internals. A prototype is for the people who will use or judge the result, and is complete enough that a non-engineer can drive it and react. Confusing the two produces prototypes engineers find shallow and spikes stakeholders mistake for progress. This spike-versus-prototype distinction is Chapman’s gloss on McMinn’s post, not a distinction McMinn draws herself. Shape Up separates a third activity, patching the rabbit holes you can already see. Some questions need no spike, only a decision made in advance so the team is not asked to resolve them under deadline.
McMinn notes that starting with spikes feels exposed, and that the remedy is to accept not knowing rather than skip to a plan that only looks known.
What stays rational
Section titled “What stays rational”When the approach is known, estimate and commit. If the team has built this integration pattern twice before, uses the library every day, and someone can sketch the design without hedging, a spike would waste time better spent on the build. The estimate has a thin tail, and spec, tickets, test-first implementation, and review are enough. The corrected path is for the piece of work with an unresolved technical unknown or an unsolved design problem, and only for that piece. The rest of the project can stay at the planning level it was already at.
Failure path
Section titled “Failure path”How to read this chart
- A red outline marks a break point, where the process stops looking at the situation.
- A dashed, faded card is a step the process skips.
- A teal pill names a skill inserted at that step; click it for the description.
- A red dashed loop shows the same process restarting; a teal dashed loop shows a misfit noticed and sent back to an earlier step.
- A lettered badge marks where each loop starts.
The approaches are argued from documentation, so the most confident person decides. Nobody builds anything disposable, so the rabbit holes stay invisible until the team is inside them. The estimate assumes the approach is known, and the project is committed on that estimate. When the unknown appears in week three there is no budget left to try another way. The work is abandoned or dragged out, to be argued about again later on the same footing.
Corrected path
Section titled “Corrected path”Talking to people comes first, because it shows which unknowns matter. The unknowns are written down as questions rather than absorbed into a plan, and each candidate approach gets a spike. A failed spike goes back to the map as a settled question. Only when the remaining holes are settled or declared out of bounds is a spec written. The first thing built is a single vertical slice, chosen because it is core, small, and novel, and any hidden work found under it goes back for a spike rather than an estimate. McMinn and Shape Up describe spikes and rabbit holes; the pairing with Pocock’s prototype and wayfinder skills is this guide’s.
Skills for this situation
Section titled “Skills for this situation”Central
Section titled “Central”| Skill | When to invoke it here | What it changes | Example |
|---|---|---|---|
grilling (via /grill-me) |
Before any spike, to separate what is unknown from what only feels unknown. Typed command. | The team names each open question and sorts it: research for facts, a spike for what only an artifact can settle, a decision for the rest. | /grill-me the plan to integrate third-party data |
prototype |
For each approach the argument cannot settle, and later for anything a non-engineer needs to react to. | Produces throwaway code, runnable from one command, whose verdict goes on the issue and whose code goes on a throwaway branch. | /prototype the state model for a webhook-driven sync, so we can compare it with polling |
to-spec |
Only after the spikes have been compared and the rabbit holes settled or fenced off. Typed command. | Records the chosen approach, the patches, and the no-gos as a spec. | /to-spec |
Supporting
Section titled “Supporting”| Skill | When to invoke it here | What it changes | Example |
|---|---|---|---|
to-questionnaire |
When the unknown belongs to someone outside the team, such as the owner of the system you would integrate with. Typed command. | Turns the gap into a document for that person to fill in, so a spike is not built on a guess about their constraints. | /to-questionnaire for the platform team: what does the events API guarantee about ordering? |
wayfinder |
When the work is too large for one session and the unknowns depend on each other. Typed command. | Charts the unknowns as a map of tickets, some marked research and some prototype. | /wayfinder destination is a decision on the integration approach |
research |
For unknowns that primary sources can settle. | A background agent reads the documentation or source and writes up what it found. | /research how the vendor API handles rate limits and retries |
tdd and implement |
For the first slice, chosen to be core, small, and novel. Typed command for implement. | An ordinary build once the approach is known. | /implement the sync slice from issue #21, end to end, before anything else |
Common misreading
Section titled “Common misreading”Spiking forever. The team enjoys the exploration, each spike raises a new question, and a third week passes with no decision recorded on the map. A spike that has acquired tests, a code review, and a merge request is no longer disposable. It has become an unplanned implementation.
The other misreading shows spikes to stakeholders as progress. A spike may have no interface and no meaningful output, so a non-engineer cannot judge it. Presented as a prototype, it either alarms people or persuades them of something it did not establish.
The strongest objection
Section titled “The strongest objection”Spikes cost time the project does not have, and an experienced engineer can judge most approaches from the documentation and a conversation. Every spike delays the build, distracts from the plan, and invites gold-plating of the investigation. Teams that always spike ship later than teams that decide.
A spike is bounded to a day or two, disposable, and limited to three per question, so its cost should be compared with the long tail of the unknown, not with zero. The engineer who can judge from documentation is the one who will know when a spike is unnecessary, and that judgment stands. What does not stand is a confident estimate for work whose approach nobody has tried, which is a guess with a schedule attached.
Sources
Section titled “Sources”Where this comes from: the spike-versus-prototype distinction and the remarks on accepting not knowing are Chapman’s, from the McMinn and Shape Up sections of his readings list; the risk-shape argument is Shape Up’s. McMinn’s post supplies the GitHub Apps example and Shape Up the abandoned home-screen redesign.
- Keavy McMinn, Technical Research and Preparation.
- Keavy McMinn, Where to Start.
- Ryan Singer, Shape Up: Risks and Rabbit Holes, Get One Piece Done, and Map the Scopes.
- David Chapman, Meta-rational software development: Readings, the sections on McMinn and on Shape Up (part-paid post).