Stage 2 of the AiNa pipeline · 2026-11-30 · input: 01 Braindoc
1. Domain analysis
Domain
Consumer electronics e-retail, narrowed to one vertical: new Android smartphones sold direct to consumers (B2C) in the UK. It is a high-consideration, mid-ticket purchase (£150 to £1,300) that shoppers research heavily, then buy wherever the price and trust feel right.
Dynamics
- Spec-led decisions. Buyers shortlist on price band first, then RAM, storage, camera, battery and brand. Comparison is the core task, not discovery.
- Mobile-first traffic. Over 70% of phone-shopping sessions in the UK happen on a phone; pages must be light and fast on 4G.
- Fast price decay. Models lose 20-40% of launch price within a year; a new flagship generation lands each spring (Samsung S-series) and autumn (Pixel).
- Thin margins, trust-heavy. Independent sellers compete with Amazon, Argos, Currys and carrier shops; they win on curation, clarity and service, not price.
Constraints
- UK consumer law: Consumer Contracts Regulations 2013 (14-day cancellation right for online sales), Consumer Rights Act 2015 (goods must be as described, so specs must be accurate).
- UK GDPR: checkout collects name, email and address; needs a privacy notice and data minimisation.
- Brand trademarks and product photography are owned by manufacturers; reuse needs a licence or retailer programme.
- Prices displayed to consumers must include VAT.
What downstream personas should pay attention to
- Filters and compare are the product; checkout is plumbing in V1.
- Every page must render well at 360px width.
- Spec data must be structured (numbers, not free text) so filters and compare work.
- The demo checkout must never look like a real payment.
2. Scope of work
Executive summary
Build and host a single-seller Android phone shop at phonebazaar.tehchand.com: a filterable catalog of ~24 seeded models, detail pages, 3-way compare, a cart, a demo checkout that records orders, and a password-protected admin to manage phones and orders. Delivered with the full AiNa document set, in a private GitHub repo, deployed on Vercel.
In scope (V1)
| # | Deliverable | Acceptance |
|---|---|---|
| S1 | Catalog page with brand / price / RAM / storage filters, search, sort | Filtering 24 phones to a subset updates without a full reload (HTMX) |
| S2 | Phone detail page with structured spec sheet | All 12 spec fields shown; "Add to cart" and "Compare" buttons |
| S3 | Compare (up to 3 phones) | Side-by-side table, best value per row highlighted |
| S4 | Cart | Add, change quantity, remove; subtotal in GBP |
| S5 | Demo checkout + confirmation | Valid form creates an order with a PB- number; "no payment taken" banner |
| S6 | Admin | Password login; add/edit/hide phone; set stock; list orders; mark shipped |
| S7 | Docs and roadmap | All stage documents at /docs, formatted HTML per stage; /roadmap |
| S8 | Hosting | Private repo shafialtn/phonebazaar; live on Vercel subdomain; /healthz |
Out of scope (V1, deliberate)
- Real payment capture (Stripe, PayPal, COD reconciliation).
- Customer accounts, wishlists, order history.
- Shipping rates, tax engines, invoices, returns workflow.
- Reviews, Q&A, recommendations.
- Accessories, refurbished/used phones, trade-ins, carrier contracts.
- Multi-seller marketplace features.
Why these boundaries
The riskiest question is "does a spec-first, Android-only shop make buying easier?" Filters, detail and compare answer it. Payments, accounts and logistics are solved problems that cost weeks and add compliance load; they only make sense once the browse-to-cart flow is validated.
3. Impact
Who benefits
- Shoppers: fewer tabs and less time to a confident shortlist.
- Seller/admin: a store they can run without a platform subscription.
Magnitude estimate
- Time-to-shortlist: from ~25 minutes across sites to under 5 minutes in one compare view (target, not measured).
- Hosting cost: £0-£20/month against £25-£80/month for a hosted platform plan plus theme and app fees.
- Conversion lever: spec-compare tools commonly lift add-to-cart rate; we target ≥ 8% of product-detail views → add-to-cart in the demo.
Evidence we have
- The operator's request and intake answers (filters, compare, cart, admin are must-haves).
- General market pattern: comparison sites (GSMArena, Versus) attract heavy phone-research traffic but do not sell.
Evidence we'd need
- Real shopper sessions on the demo (filter use, compare use, cart adds).
- 5 user interviews with recent Android buyers.
- A real seller's catalog size and margin structure.
Measurement plan (post-launch)
- Count filter submissions, compare views, cart adds and demo orders (server-side counters in V1, privacy-friendly analytics in Phase 2).
- Weekly review: funnel catalog → detail → cart → order.
4. Longevity
3-year outlook
Android remains ~70% of global and ~50% of UK smartphone share; the category is durable. The risk is not the market but commoditisation: big retailers already list every model. A small shop survives on curation, compare UX and service.
Defensibility
Low on technology alone. Moats to build: clean structured spec data, fast mobile UX, a trusted local brand, and later trade-in/refurb services that big boxes do poorly.
Market drift risks
- Phone prices drop monthly; stale prices destroy trust. Needs an easy admin edit flow (in V1) and later a price feed.
- Search engines and AI assistants answering "which phone should I buy" directly could reduce compare-page traffic.
Kill criteria
- Fewer than 2% of demo visitors use compare after 4 weeks of real traffic.
- No seller willing to stock and fulfil within 8 weeks of the demo.
Verdict
Proceed with the lean demo. Cheap to build, cheap to run, and it tests the one differentiator (compare-led shopping) before spending on payments.
5. Dependencies
Data dependencies
- Phone specs and launch prices: seeded by hand from public manufacturer spec pages; marked illustrative.
- Images: none from manufacturers; generated neutral device illustrations.
Partner / vendor dependencies
- Vercel (hosting, domain
tehchand.com), GitHub (private repo). - Phase 2: Stripe (payments), a managed Postgres (orders), a courier (Royal Mail / DPD).
Regulatory / compliance
- Consumer Contracts Regulations 2013, Consumer Rights Act 2015, UK GDPR, price-display with VAT. For the demo: privacy notice, "no payment taken" banner, no real data retained long-term.
Distribution dependencies
- Organic search for "
price UK" and "compare vs "; social posts; the seller's existing customers.
Critical path callouts
- Structured spec data model (blocks filters and compare).
- Vercel subdomain live (blocks every stage URL).
- Admin password configured as an env var before the admin panel ships.
6. Implementation variants
Variant 1: Lean (tier_lean) ← chosen
Budget band (USD): 0 - 2,000 Engineer-weeks: 1 Ops complexity: low Recommended stack family: fastapi + htmx + sqlite (serverless, ephemeral) Target scale: single seller, < 10k visits/day Tradeoffs: demo checkout only; orders can vanish on cold starts; one admin password. Kill criteria: compare usage < 2% after 4 weeks.
Variant 2: Recommended (tier_recommended)
Budget band (USD): 6,000 - 15,000 Engineer-weeks: 4 Ops complexity: medium Recommended stack family: fastapi + htmx + managed Postgres + Stripe Checkout Target scale: single seller, up to 500 orders/month Tradeoffs: adds PCI scope via Stripe-hosted checkout (SAQ A), order emails, real admin auth. Kill criteria: < 20 paid orders in the first 2 months.
Variant 3: Hardened (tier_hardened)
Budget band (USD): 30,000 - 70,000 Engineer-weeks: 12 Ops complexity: high Recommended stack family: Next.js storefront + FastAPI API + Postgres + Stripe + search index + courier API Target scale: multi-warehouse, 5k+ orders/month Tradeoffs: real engineering team and on-call; only worth it with proven demand. Kill criteria: CAC above gross margin per phone after 6 months.
Recommended variant: tier_lean
The operator chose a demo checkout; Variant 1 proves the browse-compare-cart flow for almost nothing. Variant 2 is the natural Phase 2 upgrade path and the code is structured so it drops in (swap SQLite for DATABASE_URL, add a payment step).
Open questions / risks
- Launch market and currency (assumed UK, GBP).
- Who fulfils orders in Phase 2 (seller's own stock vs. drop-ship)?
- Licensed product photos vs. illustrations long-term.