HunchPilot

Product Blueprint · preview · live product

Product Blueprint

HunchPilot

HunchPilot turns a one-line idea into a live validation page in 60 seconds. It was mid-build and stuck. This blueprint says what to keep, fix and rebuild, what each change is worth, and how to build it.

You are in the Founder view: plain-English summaries and the decisions that matter. Switch to the Builder view for every contract, schema and task.

You are in the Builder view: every spec in full. Start at the dependency graph, then claim a task.

Infrastructure work removed from launch
1–2 wks

ADR 001 estimate

Ordered tasks, from zero
24

Implementation plan

Parallel agents per session
2×

Mock-adapter waves

Lost first pages on a dropped connection
0

Job-based generation (F1)

Backed by 10 feature specs · 7 screen specs · 3 decisions · 24 build tasks · 3 nuance catches

Overview

README.md

HunchPilot Product Blueprint

HunchPilot turns a one-line idea into a live validation page in 60 seconds. It was mid-build and stuck. This blueprint says what to keep, fix and rebuild, what each change is worth, and how to build it.

Type: live product. HunchPilot was two weeks into its build when this blueprint was made. It opens with what changes and what each change is worth, then gives the full spec that backs each finding.

Sample edition. A real blueprint, cut to about a quarter of its size. Every file shown is complete. Some internals are redacted, and each redaction is marked where it happens.

What is inside

LayerFolderIn this sampleIn the full blueprint
Impactimpact.md, findings.yaml7 findingsSame
Productproduct/Brief, personas, feature matrix, roadmap, 2 feature specs10 feature specs
Designdesign/Screen flow, tokens, 2 screen specs7 screen specs + wireframes
Architecturearchitecture/Stack, ports, schema excerpt, 3 decisionsFull schema, RLS, all decisions
Implementationimplementation/Guard-rails, schedule, 6 tasks24 tasks across 6 waves
Nuancesnuances.md3 catchesEvery catch, cross-linked

Reading order

  1. impact.md and findings.yaml: what changes and what it is worth.
  2. product/brief.md: what we are building and why.
  3. nuances.md: the decisions most specs miss.
  4. architecture/decisions/: the trade-offs, each with a reason.
  5. implementation/: where a builder, human or AI agent, starts on day one.

For builders

  • Start with implementation/session-schedule.md, then claim a task in implementation/tasks/.
  • Always follow implementation/guard-rails.md.
  • A task is done only when every line under acceptance passes.

Status

  • Blueprint version: v1.0 (sample)
  • Open questions: appendix/open-questions.md

Full spec in the Builder view.

Impact

impact.md

What this blueprint changes

HunchPilot was two weeks into a build with every part about 60% done. This blueprint names 7 findings. Fixing 6 of them turns the build into a scheduled launch and removes 1 to 2 weeks of infrastructure from the critical path.

Where the product was

  • Built solo with AI coding agents.
  • Two weeks in: frontend, backend, AI pipeline, editor, analytics and survey all started, none finished.
  • Every decision still open, so nothing could be tested end to end.

What changes

The findings below are ranked by impact. Each one says what is there now, what to do instead, and what it is worth. Each number names its basis; hypotheses say how to measure them.

Keep, fix, rebuild

Most of the product stays. One part is rebuilt, four are fixed, one is added. Working features are not touched.

What it costs to ignore

The two high-impact findings (F1, F2) compound. Without them the build keeps adding unfinished areas, and the first-generation failure ships to every user on a weak network.

Full spec in the Builder view.

findings.yaml

Findings

Ranked by impact, then by how cheap they are to do.

  • 1 keep
  • 4 fix
  • 1 rebuild
  • 1 add
do firsteffort →impact →F1F2F3F4F5F6F7
Top-left is high impact for low effort. Colour shows the verdict.
F1rebuildAI generationimpact ●●● · effort ●●○

Generation streams over one open connection

Now
The page is streamed to the browser while the AI writes it. A dropped connection, refresh or phone sleep loses the whole page.
Do instead
Run generation as a server-side job. The browser polls by job id, kept in the URL, so any refresh resumes it.
Why
The first generation is the moment of highest intent. Losing it there loses the user.

GainNo lost first pages on a bad network, and one server connection less per active user.

Basis: Design decision; failure mode reproduced by killing the client mid-stream. · see the spec

F2fixBuild planimpact ●●● · effort ●●○

Everything is being built at once

Now
Two weeks in, every area is about 60% done and none is shippable. No order, no boundaries.
Do instead
Freeze V1 scope and cut it into 24 tasks across 6 waves, each with acceptance criteria and a mock adapter so two agents can work in parallel.
Why
Unordered work means every decision is still open and nothing can be tested end to end.

GainFrom "60% of many things" to a scheduled build with 2 parallel agents per session.

Basis: Real outcome on this product after the blueprint. · spec on the call

F3fixPublic pagesimpact ●●○ · effort ●○○

Static export planned for public pages

Now
The plan was to render each page to static files in storage, with a custom job, storage rules and an edge router.
Do instead
Use Next.js ISR now with on-save revalidation. Keep static export as the escape hatch for scale.
Why
Crawlers see identical HTML either way, and ISR has one moving part instead of three.

Gain1 to 2 weeks of infrastructure work removed from the launch path.

Basis: Estimate in ADR 001, comparing the two options. · spec on the call

F4fixArchitectureimpact ●●○ · effort ●●○

Business logic leaking into the frontend

Now
Components call fetch() directly and some API logic sits in Next.js routes next to the real API.
Do instead
One layer rule (component, hook, adapter, port) and all business logic in the Fastify API, enforced by guard-rails every agent reads.
Why
Two backends drift apart, and AI agents copy whichever pattern they see first.

GainOne backend to test and secure; agents stop reproducing the wrong pattern.

Basis: Code audit of the in-build app. · spec on the call

F5addIntakeimpact ●●○ · effort ●●○

Weak ideas produce generic pages

Now
Any input is accepted, so "an app for therapists" yields a bland page the user blames on the AI.
Do instead
Score the input before Build. If audience or pain is missing, ask with tap-to-answer chips; skipping stays allowed.
Why
The first page is the product's demo. A vague page looks like a weak product.

GainBetter first pages for the users most likely to churn.

Basis: Hypothesis. Measure with first-session publish rate before and after. · spec on the call

F6fixSurveyimpact ●○○ · effort ●○○

Survey planned inside the landing page

Now
The survey sits under the email form on the public page.
Do instead
Give it its own page that the owner shares on purpose, with a small footer link.
Why
It makes the landing page noisier and turns the survey into a guilt-trip.

GainA cleaner landing page and more honest survey answers.

Basis: Hypothesis. Measure with email conversion on pages with and without a survey. · spec on the call

F7keepCore loopimpact ●○○ · effort ●○○

Email capture, auth and analytics

Now
Built and working.
Do instead
Keep as is. Only add the referrer fields the dashboard needs.
Why
Rebuilding working parts burns time with no user-facing gain.

GainNo rework on 3 working features.

Basis: Code audit of the in-build app. · spec on the call

Product

10 more in this layer

  • Product brief
  • Personas
  • Feature matrix
  • Roadmap
  • AI generation: overview
  • AI generation: API
  • AI generation: UI
  • Email capture: overview
  • Email capture: API
  • Email capture: UI

Design

8 more in this layer

  • Screen flow
  • Design tokens
  • 01 Intake: readme
  • 01 Intake: why
  • 01 Intake: implement
  • 02 Generation: readme
  • 02 Generation: why
  • 02 Generation: implement

Architecture

architecture/decisions/003-generation-background-job.md

ADR 003: Generation is a background job

Backs F1

The server owns generation as a job and the client polls it. A refresh or dropped connection never loses a user's first page.

Status: Accepted. Replaces the earlier streaming design.

Context

The first generation is the moment of highest intent. An early design streamed the result over one open connection.

Problem with streaming

  • A network drop, refresh or phone sleep mid-stream loses all work.
  • Each user holds a server connection open for the whole wait.
  • The reveal is chained to model speed.

Decision

A pg-boss job owns generation. The client polls GET /api/jobs/:jobId. The job id lives in the URL.

Consequences

  • New table generation_jobs (see schema.md).
  • Named steps replace a progress bar.
  • The reveal animation is a separate front-end concern.
  • Feature specs were updated to match; no spec still refers to streaming.

Full spec in the Builder view.

5 more in this layer

  • Stack
  • Ports and adapters
  • Schema (excerpt)
  • ADR 001: Public page rendering
  • ADR 002: Pre-built blocks, AI writes content only

Implementation

9 more in this layer

  • Guard-rails
  • Session schedule
  • Dependency graph
  • Add POST /api/intake/infer for follow-up chips
  • Create the generation_jobs table
  • Run generation as a pg-boss job with named steps
  • Build the intake canvas with inline follow-up chips
  • End-to-end test from one sentence to a live page
  • Build the generation screen with named steps and reveal

Nuances

1 more in this layer

  • Nuances

Why not AI alone

1 more in this layer

  • Why not just ask an AI?

Appendix

2 more in this layer

  • Open questions
  • Post-V1