You are a principal product engineer + interaction designer. Build a complete, production-quality single-page web app called:
LUMEN — Decision Surface
A calm, high-signal workspace for turning messy real-life decisions into clear, comparable options — then committing to one with confidence.
Product purpose (must stay useful, not gimmicky)
People constantly face multi-factor decisions (job offers, apartment choices, tools, travel plans, budget tradeoffs). Spreadsheets are ugly and rigid; chat is forgettable; “AI pick for me” feels untrustworthy.
Lumen helps users:
Frame a decision in plain language
Define what actually matters (criteria + weights)
Compare 2–8 options with evidence, not vibes
See tradeoffs visually and in prose
Stress-test the choice (“what would change my mind?”)
Export a clean decision brief they can revisit or share
This must feel like a serious thinking tool — closer to Linear + Notion + a decision scientist — not a toy dashboard.
Non-negotiable quality bar
Actually functional end-to-end (no fake buttons, no lorem, no “coming soon”)
Beautiful through restraint: typography, spacing, hierarchy, motion with purpose
Zero AI slop aesthetics: no purple gradients on white cards, no generic Inter+hero fluff, no floating 3D blobs, no random glassmorphism, no stock illustrations
Works offline after first load (local-first)
Accessible: keyboard-first, visible focus, ARIA where needed, reduced-motion support
Fast: instant interactions, no layout thrash
Mobile + desktop polished (desktop is primary)
Core user flow
Home / library
List past decisions (search + sort by updated/created/status)
Statuses: Draft · Comparing · Decided · Archived
One primary CTA: “New decision”
Decision setup
Title + one-paragraph context
Decision deadline (optional)
“Success looks like…” (short outcome statement)
Suggested starter templates user can apply or ignore:
Career move
Where to live
Buy vs subscribe / tool choice
Trip planning
Personal budget allocation
Templates prefill criteria only; user remains in control
Criteria builder
Add criteria (name, description, scale type)
Assistant
I'll build this comprehensive decision-making tool. Let me start by exploring the project structure and then systematically implement every component.
Good, I have a React + Vite + Tailwind setup. This is a massive project — I'll build it systematically. Let me start with the foundational data layer, then scoring engine, then UI.
Now the scoring engine — the heart of the app:
Now the store layer for localStorage persistence:
Now the templates and demo data:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
boolean: true=1 / false=0 (respect higher/lower meaning via criterion flag)
1–10: norm = (v - 1)/9
If max=min, norm=1 for filled values.
Incomplete handling mode:
ignore: only score criteria where all compared options have values OR only include available cells with renormalized weights
penalize: missing = 0
Default: ignore with renormalized weights among filled criteria per comparison set.
Confidence does not change math by default; it only appears in UI + brief (optionally allow advanced “confidence-weighted” mode, off by default).
Winner fragility:
randomly/jolt each weight by small delta in several trials OR analytically flip top two via minimal weight transfer; expose a simple, understandable fragility score 0–100.
Microcopy tone
Clear, adult, non-hype.
Examples:
“What are you deciding?”
“What matters enough to change the answer?”
“Evidence beats confidence theater.”
“A close call isn’t failure — it’s information.”
Deliverables
Working app code
README:
what it is
how to run
scoring explanation
keyboard shortcuts
Seed demo data: “Choose between 3 job offers” fully filled
Brief export example
Short note on intentional design decisions (why this is not slop)
Acceptance checklist
I can create a decision from scratch in under 3 minutes
I can fully compare ≥3 options with weights and evidence
Changing weights live-updates ranking
I can explain why the leader is winning in plain language from the UI
I can finalize, export, reload the page, and nothing is lost
UI remains elegant with real/messy data, not only perfect demo data
Looks distinctive and premium without trend-chasing
Someone could use this this week for a real life decision
Build the full thing now. Prioritize depth of the decision workflow over marketing chrome. If you must cut scope, cut decoration — never cut scoring clarity, persistence, or export.
Now the CSS with theme support, print styles, and the refined design system:
Now let me build all the React components. Starting with the main App and layout:
Now let me create all the components. First the CommandPalette:
Now the Library view:
Now the DecisionWorkspace — the main container with tabs:
Good — remaining errors are just missing component files. Let me create all the tab components now:
Now the Criteria builder:
Now the Options matrix:
Now the Compare view — the scoring and insight engine:
Now the Decide tab:
Now the Brief component — print-optimized decision brief:
Let me fix the Brief component with proper null handling:
Now let me update the HTML title and try to build:
The build succeeds. Let me now review and polish the app. First, let me check for any issues and add the proper font loading:
Let me add Google Fonts and improve the HTML:
Now let me rebuild to verify everything still works:
Good, build passes. Now let me review and polish several components. Let me enhance the Library with import/export and the archive flow:
Now let me add restore from archive functionality to the Library. Let me find the DecisionRow component: