Skip to content

Changelog

All notable changes to this project will be documented in this file.

[0.4.0] - 2026-10-21

The verdict is now evidence the orchestrator checks itself (parsed test reports, a test-integrity guard, held-out acceptance tests, a fix loop that reads its own earlier attempts), the pipeline learns (an agent harness in every pack, optional tuning on a pilot task, an experience library per stack), and it runs without the UI (run, resume, sessions, publish, bench, mcp). Models are priced from a catalog, and every kind of agent session has its own model. The first live benchmark is under docs/benchmarks/2026-10-21-22ccfe6/.

Upgrade notes

  • New defaults that change a run. TEST_INTEGRITY=block: weakening a test (deleting it, adding skip / xfail / .only, removing assertions) fails the verdict until the fix session restores it or justifies it in quality/TEST_CHANGES.md; warn reports only, off disables it. ACCEPTANCE_TESTS=on outside demo mode: one extra planning call per version (the acceptance author, on the architect's model) and a fourth verification lane; the suites are kept in OUTPUT_DIR/acceptance/, outside the project. The tests lane now trusts the test report, not the agent's claim, so a plan without commands.test_report is marked "agent-reported". EXPERIENCE_LIBRARY is on outside demo mode (a few cents per delivery for the reflection); HARNESS_TUNING stays off.
  • Agent sessions load the project's harness. Task, fix, and merge-resolver sessions read the generated CLAUDE.md and .claude/skills/ (Claude Code's project setting source), where 0.3 loaded nothing from the workspace. The orchestrator restores a fixed .claude/settings.json before each session and the guard refuses writes to .claude/settings*.json and .mcp.json. See SECURITY.md.
  • Models. IMPLEMENTER_MODEL now drives task sessions only; VERIFIER_MODEL and ESCALATION_MODEL are new. An .env copied from 0.3 that pins IMPLEMENTER_MODEL, PM_MODEL, MODERATOR_MODEL, ARCHITECT_MODEL, or any other *_MODEL / *_PROVIDER keeps the pinned model: remove those lines to get the new defaults. idea-to-mvp doctor warns about pinned models the catalog does not know.
  • Cost. balanced plans on Opus 5.5, and planning documents are no longer cut short, so planning is most of a run's cost: the measured benchmark run cost $8.06 against the catalog's $3.43 estimate (fast: $0.25). Set IMPLEMENTER_MAX_TOTAL_USD before a real run; it caps agent sessions, not planning.
  • Agent sessions start only on an explicit yes: --implement on the command line, confirm_spend: true over MCP, the implement gate in the UI.
  • Optional extra. idea-to-mvp mcp needs pip install idea-to-mvp[mcp].
  • Files in a project. Agent trajectories and the run ledger are written to .idea-to-mvp/ in the project and stay out of the delivery zip. A fix attempt leaves .idea-to-mvp/fix/attempt-<n>/.
  • The tree is formatted with ruff format (line length 100) in a commit of its own; git blame can skip it with --ignore-rev.

UI

  • Fixed before tagging: the stage stepper now really stays at the top of the window while you scroll (it was sticky only inside its own wrapper, under a container that hid overflow); the chat's floating "Discussion chat" label no longer covers the first message; cards without a speaker colour (strategy, verifier, delivery, reflector, harness tuner, ...) have a readable title instead of a near-white one; lists a model writes right under a line of text render as lists instead of - a - b; inline code in a lane's summary and failures renders as code; the implement gate's estimate reads as one sentence; and demo texts cut the idea at a word with an ellipsis. The README screenshots, the GIF, and the example dashboard are retaken from this UI.
  • Fixed: the cards, forms, board, and dashboard rendered unstyled. The stepper change of this release dropped the stylesheet rules of the chat cards, gate forms, task board, console, and delivery dashboard; they are restored, and a test names the structural classes that must keep a rule.
  • A cleaner stage stepper. The steps above the chat now have one height and one style: each is numbered, a finished step shows a check mark, a failed one a cross, and the current one a filled, ringed marker with its name in bold; connector lines join the steps and fill the row. Before, Gradio's list styles gave every step but the last a bottom margin (so "Done" was taller), and a step with a time grew a second line. The running or failed step shows its time inline, a finished one in its tooltip. The token and cost badges stay beside the steps when there is room and move to a row of their own otherwise; on a phone the steps are one row you swipe sideways and the badges wrap.

Models

  • One model per kind of agent session: IMPLEMENTER_MODEL now runs only the task sessions; the new VERIFIER_MODEL runs the three verification lanes, and the new ESCALATION_MODEL runs the hard cases (the merge-conflict resolver and every fix attempt after the first). MODEL_PROFILE covers all three, and the implement gate lists each one. Usage records name the model each session actually ran on.
  • Re-balanced profiles (checked against the providers' model and pricing pages on 2026-10-19; reasons in the Model choices table of docs/architecture.md). balanced: the architect, and with it strategy, plan writer, change planner, and blueprint critic, moves from Sonnet 5.5 to Opus 5.5; agent task sessions and verification lanes move from Opus 5.5 to Sonnet 5.5, and escalated sessions stay on Opus 5.5. A typical run is estimated at $3.43, down from $4.74 for the old defaults on the same run. fast: Haiku 5.5 for every agent session (escalating to Sonnet 5.5) and gemini-3.8-flash for the Skeptic, about $0.17. quality: Opus 5.5 for every agent session and Fable 5.1 (claude-fable-5-1) for escalated ones, about $5.47. New catalog entries: claude-fable-5-1, gpt-6-astra, and gemini-4-argon (not in a profile yet). The settings accordion and the README show each profile's typical-run estimate.
  • Upgrade note: .env.example no longer sets IMPLEMENTER_MODEL. An .env copied from an earlier version still does, and it keeps running every agent session (tasks, lanes, fixes, resolver) on that one model, as before. Remove the IMPLEMENTER_MODEL line to get the profile's split, or set VERIFIER_MODEL / ESCALATION_MODEL as well. A pinned ARCHITECT_MODEL likewise keeps the architect off the new Opus default.
  • Model catalog: src/idea_to_mvp/models.toml is now the one source of truth for model knowledge: for every model its provider, id and aliases, tier (fast / balanced / frontier), status, $ per million tokens (input / output / cached input), context window, max output, structured-output / sampling / web-search support, the date it was last checked, and a source link. The model profiles (the choice per role of fast / balanced / quality) and the "accepts temperature" rule read from it. A model that is not listed still works and falls back to the old name pattern for sampling.
  • idea-to-mvp models prints the model of every role for each profile, the price list, and the estimated cost of a typical run per profile and for your configuration (planning calls plus agent sessions). --check is opt-in and makes one live call per provider with a key to list its models, then flags configured models the provider does not list, ones the catalog marks deprecated, and ones with a newer release of the same family (exit code 1 for unknown or deprecated).
  • Newer default models (checked against the providers' pages on 2026-10-19): the PM is gpt-6.1-sol (gpt-6-luna in the fast profile) instead of gpt-5.6-terra, and the moderator and the whole fast profile use claude-haiku-5-5 instead of claude-haiku-4-5-20251001 (the gpt-5.4-mini, gpt-5.6-terra, and Haiku 4.5 entries are gone from the catalog). claude-sonnet-5-5, claude-opus-5-5, and gemini-3.8-flash stay. Upgrade note: a .env that pins PM_MODEL, MODERATOR_MODEL, or any other *_MODEL / *_PROVIDER keeps the pinned model; remove those lines to get the new defaults. idea-to-mvp doctor warns about pinned models the catalog does not know.
  • idea-to-mvp doctor now warns, offline, about a configured model that is not in the catalog, has no price, or is deprecated. The settings accordion shows each model's price per million tokens.

Cost

  • Every model call is priced. The panel, summary, architecture, blueprint, critic, and research calls now carry a dollar cost from the model catalog (cached input at the cached rate), so the header shows planning spend and agent spend as separate badges and the delivery dashboard has a Planning cost figure next to Agent cost. A model with no price is shown as "unpriced" rather than left out of the total silently; a demo run costs $0.00. MODEL_PRICES_FILE points at a TOML file of per-model prices ([prices."<model id>"] with input_per_mtok, output_per_mtok, optional cached_input_per_mtok) for negotiated or in-house prices; idea-to-mvp doctor warns when it cannot be read.
  • A dollar range at the implement gate. The gate shows the estimated cost of the run (tasks x the cost of a task session, one verification round, and fix attempts in the high end, capped by the whole-run budget): the median of earlier projects' finished tasks on the same model when there are enough, else the catalog's typical session. The delivery dashboard sets the estimate against what the first version's agents actually spent.
  • Resolver and lead-session spend are counted. A merge resolver's cost is now its own resolver usage record on the model it ran on (it used to be folded into its task's record), and the lead session of strategy subagents is counted in usage, so it now counts against the whole-run budget (IMPLEMENTER_MAX_TOTAL_USD) like every other session.

Observability

  • Agent trajectories and a run ledger. Every agent session (task, merge resolver, verification lane, fix, and the lead / workstream sessions) now writes its stream to <workspace>/.idea-to-mvp/trajectories/<label>.md (tool calls, truncated results, the agent's text, errors, and a final result line with cost and turns) and adds one row to <workspace>/.idea-to-mvp/ledger.json (kind, label, iteration, attempt, model, cost, turns, outcome, session id, times). The Implementation console is rebuilt from these files after a restart instead of coming back empty, a task card names its trajectory file (open it in the file explorer), and the delivery step logs a warning when the ledger's total differs from the agent spend in the usage record. Both files stay out of the delivery zip and off limits to agents.

Publishing

  • Publish a delivery to GitHub (opt-in, previewed, confirmed). The iterate gate has a Publish to GitHub area, and idea-to-mvp publish <session> does the same from the command line (--repo [OWNER/]NAME, --visibility private|public, --dry-run, --yes, --json; exit 0 published, 3 not confirmed, 1 error). Review what will be pushed shows the repository name, its visibility (private unless you choose public), the branch and its commit, the v0.<n> tags, every file that will be in the repository, and the history; the repository is created and pushed only after you confirm that exact plan (a plan that changed since you reviewed it is shown again). The preview also lists files that only the history holds (committed once, removed later), since they are pushed too. Only the main branch and the version tags are pushed, without force, to a repository the tool creates itself; .idea-to-mvp/ and .env files never leave the project folder, and a history that ever held one is refused. It uses GITHUB_TOKEN (new; also GITHUB_OWNER and PUBLISH_VISIBILITY) or the signed-in gh CLI; agent sessions never get the credential (GITHUB_TOKEN, GH_TOKEN, GITHUB_PAT, GH_PAT are scrubbed from their environment). The repository URL is kept in the session and shown on the delivery dashboard. A session is published once; a later version is pushed by hand. See SECURITY.md.

Headless CLI

  • idea-to-mvp run "<idea>" drives the whole pipeline without the UI, on the same graph, checkpoints, and session list (a headless session can be opened in the UI and the other way round). Gates are answered by flags: --answers FILE (one answer per line), --arch 1|2, --autopilot (the suggested answers, the recommended architecture, and the blueprint pack), and --implement. Agent sessions start only with an explicit --implement, autopilot or not; without it the run stops at the implement gate and prints the dollar estimate. --max-total-usd N sets the whole-run agent budget for this run, --parallel N how many tasks are built at once. Progress goes to stderr; the summary (outcome, workspace, delivery zip, cost, the next command) goes to stdout, or as JSON with --json. Exit codes: 0 delivered and verified, 2 delivered with failures, 3 stopped at a gate, 1 error (usage errors exit 1 as well).
  • idea-to-mvp resume <session> carries a saved session on from the gate it waits at, or from the step it was stopped in, with the same flags; at the iterate gate --feedback "..." --implement builds the next version. idea-to-mvp sessions (--json) lists the saved sessions with the gate each one waits at.

Packaging and release

  • PyPI-ready package. pyproject.toml carries the author, a description, keywords, classifiers (Python 3.11 to 3.13), project URLs, and an SPDX license expression with license-files; the wheel is checked with twine check --strict and was installed in a clean environment to run a demo delivery. The sdist is now an allowlist: hatch honours only the repository's .gitignore, so a globally ignored .claude/settings.local.json would have shipped in it. README: badges (CI, coverage gate, Python, license) and uvx idea-to-mvp / pipx install idea-to-mvp instructions (use --from git+https://github.com/alexandre0sheva/idea-to-mvp until a release is on PyPI).
  • Release workflow. Pushing a v* tag runs .github/workflows/release.yml: it refuses a tag that does not match the package version, builds the sdist and wheel, runs twine check --strict, and keeps them as an artifact. It never publishes; uploading to PyPI is a manual step (CONTRIBUTING.md, "Releasing").
  • Contributor tooling. A ruff-format pre-commit hook, issue forms (bug report with a doctor and secrets reminder, feature request; blank issues off, vulnerabilities point to SECURITY.md), and a pull request template with the checks CI runs. CONTRIBUTING.md explains how to clean up the exports/, project_blueprints/, and generated_projects/ folders that 0.2 and earlier wrote inside the checkout.
  • Upgrade note: the tree is formatted with ruff format (line length 100) in a commit of its own; git blame can skip it with --ignore-rev.
  • CI now also fails on unformatted code (ruff format --check), so the formatting holds for contributors without the pre-commit hook.

Showcase

  • Examples and the first live benchmark. examples/link-shortener-fast and examples/link-shortener-balanced are complete runs on real models (blueprint pack, delivery report, session export as Markdown and JSON, dashboard screenshot); scripts/make_example.py makes one from any delivered session (--demo runs the offline pipeline first) and refuses a file with a key-shaped string, a secret of the process, or a held-out test line. The README gains a short GIF of the pipeline (scripts/make_demo_gif.py), a How it compares section (MetaGPT, GPT-Engineer, OpenHands and Devin-style agents, from their own READMEs), the benchmark results table, and the Harness² credit. Results, settings, and every run that came before them (with why each was invalid) are under docs/benchmarks/2026-10-21-22ccfe6/; the README table is checked against those files.

Build speed

  • EXECUTION_STRATEGY=auto|agent_team|subagents (default auto, today's behaviour). The strategy model picks subagents for small or tightly coupled apps, which builds the whole plan in one serial lead session: 37 of the 51 minutes of the first live run. agent_team builds one session per plan task, independent tasks in parallel worktrees (IMPLEMENTER_MAX_PARALLEL); the strategy card says when the setting replaced the model's choice. bench records it in a run's settings snapshot.
  • A scope budget in the plan writer's prompt. The plan now covers exactly what the PRD requires: every P0 requirement planned and tested in full, no extras the PRD does not name (offline support, export, i18n, auth, analytics), normally 3 to 5 coherent tasks, a test per acceptance criterion without duplicates, and coverage_target still 80. It targets the size of the build, not the checks: the verification lanes are unchanged.

MCP server

  • idea-to-mvp mcp serves the pipeline over the Model Context Protocol (stdio), so Claude Code, Claude Desktop, or another agent can drive it. Five tools: start_run (an idea, optionally with autopilot), get_status (running or not, the stage, the cost so far, the last progress lines, and the gate the session waits at with its questions, architecture options, or cost estimate), answer_gate, list_sessions, and get_delivery (the report, verdict, project folder, and zip). Runs continue in the background, sessions are the UI's and the CLI's own (open one anywhere, resume one the server was stopped in), and every gate is answered by naming it. Agent sessions start only with confirm_spend: true: answer_gate refuses to build (the implement gate) or to build another version (the iterate gate) without it, the MCP counterpart of --implement. Needs the new mcp extra (pip install idea-to-mvp[mcp]; claude-agent-sdk already installs the package). See the README for the Claude Code and Claude Desktop setup and SECURITY.md for what confirm_spend does and does not guard.

Benchmark

  • idea-to-mvp bench --name <run> runs the golden ideas (now eight, across web, mobile, CLI, and API stacks) headless with autopilot and --implement and records per idea: delivered and verified, lanes passed (acceptance included), the held-out suite's pass rate, integrity flags, fix attempts, planning and agent cost, and wall time. A run is a folder under OUTPUT_DIR/bench/ with its own output root and a snapshot of its settings: the same --name again keeps scored ideas and retries the ones that could not run, and refuses other settings. An idea that failed to run is unscored, not zero. It needs --live --max-total-usd N for real providers (--max-usd-per-idea caps one idea), runs offline with DEMO_MODE=true, and --dry-run prices it first.
  • bench --compare runA runB puts runs side by side on the ideas every run scored: the settings that differ, verified rate, verified deliveries per dollar, cost per verified delivery, lanes and acceptance tests passed, fix attempts, and wall time. --profile, --harness-tuning, --library, and --set KEY=VALUE set one run's configuration, so fast vs balanced vs quality, harness tuning off vs pilot, and the experience library on vs off are each a pair of runs.
  • Fixed before tagging: the golden ideas ship inside the package (src/idea_to_mvp/golden_ideas.json, moved from tests/fixtures/), so bench works from a uvx or pipx install without --ideas-file.
  • idea-to-mvp run and the headless layer now pass a session's project preferences (run_idea(..., preferences=)), which the bench uses for the golden ideas that state a platform or stack.

Verification

  • Deterministic test evidence. The plan gains commands.test_report: the test command written to also leave JUnit XML (and coverage) in .idea-to-mvp/reports/, filled per stack by the plan writer. The tests lane runs it, and the orchestrator reads the files itself instead of trusting the agent's passed: a missing report, zero tests, only skipped tests, or any failed test fails the lane with the parsed reason, and the failing test names reach the fix session. The dashboard's Tests card shows real passed / failed / skipped counts and coverage. Plans written before this keep the agent's verdict, marked "agent-reported". Reports are evidence, not proof (see SECURITY.md).
  • Held-out acceptance tests and an acceptance lane. Before the first task of every version, a new acceptance author (on the architect's model) writes black-box acceptance tests from the PRD's requirements and the plan's public contracts and commands only, one test per requirement named after it, and stores them outside the project in OUTPUT_DIR/acceptance/<workspace>/v<n>/, where the implementing agents never see them. A fourth verification lane runs them in a throwaway copy of the project and is judged by their JUnit report alone; fix sessions get only the failing test names and assertion messages, never the test code, so they fix behaviour instead of fitting the tests. The dashboard gains an Acceptance lane card (counts and where the suite is kept) and an Acceptance column in the requirements table. ACCEPTANCE_TESTS=on|off (on by default, off in demo mode); ACCEPTANCE_MAX_TOKENS bounds the author's answer. The implement gate's estimate counts the extra lane. The tests are hidden from agents that follow their brief, not secret (see SECURITY.md).
  • Test-integrity guard. Agents can no longer make verification pass by weakening the tests. After every task, merge-resolver, and fix session the orchestrator compares the project's test files with what they were before the session and flags a deleted or renamed test file, new skip / xfail / .only / it.skip / t.Skip markers, and assertions removed from a test that was otherwise left unchanged; after each tests lane it also flags a drop in the number of tests the test report lists. With TEST_INTEGRITY=block (the default) an open finding fails the verdict as an [integrity] failure: the fix session must restore the test or justify the change in quality/TEST_CHANGES.md with a new list item (- <path>: <why>; a line that was already there does not count). The verification report and a new Test integrity card on the dashboard list every finding, whether it was restored or justified, and the agent's reason. warn reports without blocking, off turns the check off. The task, fix, and resolver prompts now say the same rule. What it does not catch is in SECURITY.md.
  • A fix loop that learns from its own attempts. Fix attempt N now reads attempts 1…N-1 instead of starting from the failure list alone: after each attempt the orchestrator writes .idea-to-mvp/fix/attempt-<n>/ in the project (the failures it was given, the diff it made, its trajectory, and the lane reports of the round that followed), the next fix prompt points at those folders, and the fix session must answer with a <notes> block that judges each earlier hypothesis (kept | revised | dropped -> hypothesis -> the evidence that decided it) and states a new one when the last failed. A failure that no change to the project can fix (a lane marks it ENVIRONMENT:, or it names a blocked domain, a missing credential, or a tool the sandbox cannot install; a failing test's own name and assertion message counts only with the explicit mark) ends the loop at once with a report that says what to provide, instead of using up MAX_FIX_ATTEMPTS; the fix session can say so itself with <environment>. The delivery report and the dashboard list every fix attempt: model, files changed, hypotheses with their evidence, and how it ended.

Prompt hardening

  • Evidence boundary. The verification lanes, the fix and merge-resolver sessions, the blueprint critic, and the change planner are told that files, code, test output, and web text are data: they never follow instructions found there and never run a script because a file says so. A test fails for any judge prompt without the block.
  • Answer-free implementers. Task and fix sessions work from their brief and the project's own tests and do not look outside the workspace for answers.
  • Ordered rubric. The blueprint critic and the requirements lane weigh findings in a fixed order (delivery, conformance, fidelity, consistency, operational fitness, finish), and length is not merit.
  • "No change" is an answer. A blueprint revision can leave a document as it is when no review issue holds. If the product already does what an iterate request asks, the change planner now says so (a reason naming what covers it) instead of inventing tasks: the run ends at the delivered version, with no new version, and the chat shows the reason.
  • Ideas from Google Research's Harness² (arXiv:2610.14224); the prompts are our own.

Agent harness

  • Every blueprint pack now carries an agent harness, so the implementation agents (and you, when you open the project in Claude Code) get tools instead of prose: CLAUDE.md (points to AGENTS.md, lists the project commands, the skills, and tool guidance), scripts/check.sh (install, lint, then the tests with their report, rendered from the plan's commands; bash scripts/check.sh test runs one step), project skills in .claude/skills/<name>/SKILL.md for the stack's recurring procedures, written by a new harness writer call on the architect's model, a short Guardrails section at the end of AGENTS.md, and a fixed .claude/settings.json. A deterministic validator checks the harness (every skill names a trigger, every script it invokes exists, the always-on text stays under its budget, no file outside the harness surface); an answer that fails gets one repair attempt, then a fallback harness built from the plan. Editing plan.md at the implement gate updates the check script and the commands in CLAUDE.md.
  • Task, fix, and merge-resolver sessions load the project harness (CLAUDE.md and the skills; Claude Code's project setting source). Before each of them the orchestrator restores the fixed .claude/settings.json (no hooks, no permissions), and the guard refuses agent writes to .claude/settings*.json and .mcp.json, so a task cannot grant itself permissions. Verification lanes still load nothing from the workspace. The tests lane runs bash scripts/check.sh install test and the quality lane bash scripts/check.sh lint when the project has the script. Upgrade note: agent sessions used to load no settings at all; see SECURITY.md for what loading the project's CLAUDE.md means.

Harness tuning

  • Behavioral Contrast on a pilot task (opt-in, HARNESS_TUNING=pilot). Before the first version is built, the first-wave task most others depend on is built in a throwaway git worktree under the pack's agent harness and checked with a quick tests lane. Two planning calls (a new harness editor on the architect's model) read that run's trajectory and each propose one edit of the harness: INV, how the agent works (workflow order, tool use, helper scripts, when to stop), and DOM, what a practitioner of the stack knows (skills, conventions, contracts). Each edit is checked by the harness validator (never scripts/check.sh or .claude/settings.json, the base guardrails kept, at most four files; one repair attempt, else that run uses the base harness). The pilot task is built again under each edit, in parallel worktrees, and a harness composer reads the three runs and keeps the base, adopts one edit, or merges both, judging only from the differences between the trajectories. Keeping the base is a valid answer, and an edit whose run delivered nothing is never adopted over a base run that delivered. The chosen harness is committed as harness: tuned (pilot T0x) before T01.
  • The best pilot build is kept, not thrown away. A new build selector (a planning call on the architect's model, beside the composer) compares the pilot builds that delivered blind: they are shuffled with a seed and named A, B, C, and the selector sees each one's diff, its tests-lane verdict, and whether its session weakened a test, never which harness made it (the worktree names and paths are taken out of everything it reads). It scores them on the judging rubric (delivery, conformance, fidelity, consistency, operational fitness, finish) and picks one, or none. A build whose tests did not pass, or whose session weakened the tests, is never selected over a clean one. The selected build is applied on top of the tuned harness as the pilot task's commit (T01: <title> (pilot build B, selected)) and recorded as done, so the engine does not build that task again; its cost stays under harness tuning. When no build is selected, when it does not apply cleanly on the tuned harness, or when the plan is built by one lead session, the task is built as before. Pilot sessions are now watched by the test-integrity guard like task sessions, and a selected build carries its findings.
  • Behavioral contrast card in the chat: what each edit changed and the trajectory moments its editor named, the composer's kept / revised / dropped notes, the harness adopted, the three runs side by side (delivered, tests, cost, turns, build id), the selected build with the selector's scores and reasons (with the build ids revealed), and the spend of the stage (pilot sessions and planning calls apart).
  • The implement gate shows the extra cost (three task sessions, up to three tests lanes, four planning calls) and a checkbox to switch it on or off for this run. The pilot sessions are paid from the whole-run budget (at most half of it, in equal shares), every engine deducts what they spent, and the dashboard's estimate of a tuned run includes them. The ledger records the rollouts (pilot), their lanes (pilot_lane), and the calls (proposal, compose, select); the stage asserts exactly that count and keeps the base harness, and uses no pilot build, when the ledger does not add up.

Experience library

  • Projects learn from earlier projects of the same stack. After every delivery a new reflect step (one planning call on the architect's model) reads what the run left (the run ledger, the verification lanes, test-integrity findings, the fix attempts and their notes, harness tuning's pilot runs, trajectory excerpts) and records into OUTPUT_DIR/library/<stack>/ (the starter template, else the chosen stack, e.g. python-fastapi) edit rows that judge what the run tried (harness tuning's edits and the lessons it was given: helped, hurt, no observed effect, or confounded) and at most one lesson (a cue, what to do, the evidence, a confidence), or nothing. Each stack has a rebuilt INDEX.md and keeps the harness files tuning adopted. The next project of that stack gives the index to its plan writer, harness writer, and harness editors as reference data to re-verify; a lesson later projects found harmful is marked disputed and listed last. The chat says what was read and what was recorded, and a new Experience library panel lets you browse a stack's entries and forget one.
  • An entry never stores the held-out acceptance tests or a secret: the reflector does not see the acceptance failures, and anything it writes that quotes the acceptance suites, names one of their tests, or holds a key or token is dropped (and the write is refused if anything still matches). EXPERIENCE_LIBRARY=on|off; unset, it is on except in demo mode.

Website

  • The project has a public site at https://alexandre0sheva.github.io/idea-to-mvp/ (GitHub Pages): the README as the home page, the architecture, the benchmark, the roadmap, security, contributing, and the changelog, with search and a dark mode. It is built by MkDocs Material from the files already in the repository (nothing is copied; scripts/mkdocs_hooks.py repoints links), by .github/workflows/pages.yml on every push to main that touches them. A pull request builds it without deploying, and tests/test_site.py builds it on every test run. uv sync now installs the site dependency group by default. One-time setup: Settings, Pages, Source: GitHub Actions. The README links to it.

Starter templates

  • Projects start from a working scaffold instead of an empty folder. The strategy step now also picks a starter template from the chosen architecture's stack and your preferences, or none: python-cli, python-fastapi, node-ts-express, react-vite, or nextjs (src/idea_to_mvp/templates/). Each has a test runner, a linter, a test command that writes the JUnit report the tests lane reads, a .gitignore, a first passing test, and scripts/check.sh. prepare_workspace lays the scaffold down on top of the blueprint pack (the pack's documents win) and commits it as scaffold before the first task; the plan writer is told what already exists, so T01 builds the first slice of the product instead of the skeleton, and the plan's project commands are the template's. The strategy card shows the chosen template. A strategy saved by an earlier version reads as none.
  • idea-to-mvp doctor warns when the tools a template needs (python3; node and npm, 22.12 or newer for the JavaScript templates) are not on the PATH. A new starter-templates CI job installs and checks every scaffold with the real toolchain (uv run pytest -m scaffold tests/test_templates.py; the default test run leaves it out because it needs node and the network).

Dependencies

  • Brought up to date again (supersedes Dependabot PR #7): uv.lock holds the newest release of every package, direct and transitive, and the pyproject.toml minimums now name them: gradio 6.32.0, langgraph 1.2.22, langchain-core 1.8.1, langchain-openai 1.8.0, langchain-anthropic 1.7.10, langchain-google-genai 4.5.0, pydantic-settings 2.16.3, markdown 3.11.3, claude-agent-sdk 0.2.183, langgraph-checkpoint-sqlite 3.1.3; dev tools pytest 9.2.0, pytest-asyncio 1.5.0, ruff 0.17.5, mypy 2.4.1, types-Markdown 3.11.3. Major releases arrived only among transitive packages (the anthropic, openai, and google-genai clients, pillow, websockets). No code changes were needed. The ruff-pre-commit hook is pinned to v0.17.5 and the workflows use astral-sh/setup-uv@v10.3.3.
  • Earlier in this release: updated to the newest versions the pyproject.toml ranges allow (supersedes Dependabot PR #4): gradio 6.30.0, langgraph 1.2.16, langchain-core 1.6.12, langchain-openai 1.7.2, langchain-anthropic 1.7.6, langchain-google-genai 4.4.2, claude-agent-sdk 0.2.168, pydantic-settings 2.16.0, python-dotenv 1.2.4, langgraph-checkpoint-sqlite 3.1.2, markdown 3.11.1; dev tools ruff 0.17.1 and mypy 2.4.0. No code changes were needed; the ruff-pre-commit hook is pinned to v0.17.1 to match.

[0.3.0] - 2026-09-30

The pipeline is now one durable, parallel, sandboxed LangGraph run with a rebuilt interface. Changes that affect an existing setup are listed under Upgrade notes.

Pipeline and agents

  • Parallel, moderated panel: PM, Tech Lead, and Skeptic write their opening statements at the same time, then a moderator picks who speaks next and ends the debate early, with a visible reason, once it has converged (never before everyone has spoken twice; the round count stays the hard cap). PANEL_MODE=round_robin restores the fixed rotation; MODERATOR_PROVIDER / MODERATOR_MODEL pick the cheap moderator model and LLM_MAX_CONCURRENCY caps parallel model calls. Discussion prompts are round-aware, and the Skeptic pairs every objection with the cheapest test that would resolve it.
  • Grounded research step (optional, ENABLE_RESEARCH=true, off by default): before the panel starts, a researcher model searches the web with its provider's own search tool (Anthropic web search, OpenAI web search, or Gemini Google Search grounding; RESEARCH_PROVIDER / RESEARCH_MODEL / RESEARCH_MAX_SEARCHES) and a short cited brief (real competitors with links, market notes, gaps) is given to the panel and shown as a card in the chat and in the session export. Web text is treated as untrusted data: competitors without a URL are dropped, only http(s) links are shown, and a failed search never stops the run.
  • Project preferences: a collapsed accordion lets you state platform (web / mobile / CLI / API), stack hints, deploy target, and must-use / must-avoid items before the run. They are added to the panel, summary, architecture, strategy, and every blueprint prompt; must use / must avoid are hard constraints for every option and document.
  • Typed agent hand-offs: the MVP questions (each with why it matters and a suggested answer), the architecture options (with a recommendation and rationale), and the execution strategy are schema-validated outputs instead of prose parsed with regexes. A malformed model reply gets one retry with the validation error, then a deterministic fallback. The planner-offer model call is gone (the plan gate asks a fixed question).
  • Strategy agent chooses subagents (one lead session with per-workstream subagents) or agent_team (one session per plan task, in parallel where the plan allows) and records it in the blueprint's STRATEGY.json.
  • Blueprint pack as a dependency DAG: documents are generated in three waves, concurrently within a wave, from the real upstream documents (the plan cites the PRD's actual requirement IDs; each subagent definition is written from the actual plan). The pack contains README.md, PRD.md, ARCHITECTURE.md, AGENTS.md guides, plan.json with plan.md rendered from it, .claude/agents/*.md, and STRATEGY.json.
  • Machine-readable plan with validation: typed tasks with dependencies, requirement IDs, contracts, tests, and project commands, checked for cycles, unknown dependencies, workstreams and contracts, requirement IDs missing from the PRD, and uncovered P0 requirements. Problems get one automatic repair; a deterministic fallback plan is used if the model never produces a valid one.
  • Blueprint critic and revise loop: a reviewer model cross-checks PRD, architecture, plan, and subagent prompts; documents it flags as blockers are regenerated with its notes (MAX_BLUEPRINT_REVISIONS, default 1; PLAN_MAX_TOKENS sizes the plan call). Remaining notes go to REVIEW.md and are shown at the implement gate.
  • Editable blueprint: the implement gate lets you read and edit PRD.md, ARCHITECTURE.md, and plan.md before anything is built. Edits are validated on save (a plan edited into a cycle, or citing unknown tasks or requirements, is refused with the list of problems), and starting is blocked while there are unsaved changes.

Implementation and safety

  • Task-by-task implementation: one fresh Claude Agent SDK session per plan task, committed by the orchestrator (T01: <title>). A killed run resumes at the first unfinished task in the same workspace, and a whole-run budget cap (IMPLEMENTER_MAX_TOTAL_USD, default $25) is shared by all sessions, with IMPLEMENTER_MAX_TASK_USD and IMPLEMENTER_MAX_TASK_TURNS bounding one session.
  • Parallel task execution: independent tasks run at the same time, each in its own git worktree (IMPLEMENTER_MAX_PARALLEL, default 3; 1 for one at a time; the implement gate can override it per run), and are merged back in task order. A merge conflict gets one bounded resolver session; if it cannot resolve it, only that task fails and its dependents are skipped. Every running task reserves the per-task cap, so the whole-run budget cannot be overshot.
  • Agent sandbox: shell commands run in an OS sandbox (Seatbelt / bubblewrap: writes only in the workspace, network only to IMPLEMENTER_ALLOWED_DOMAINS, credential directories unreadable), behind a tool-call guard that confines file tools to the workspace and refuses dangerous commands, with a scrubbed environment (provider keys and other secrets are blanked), isolated settings, and no web tools (IMPLEMENTER_SANDBOX: auto / on / off). The threat model is in SECURITY.md; opt-in live smoke tests run with pytest -m live.
  • Workspaces are git repositories: the pack is copied without node_modules, .venv, coverage, and dist, with a .gitignore and a first blueprint commit; the orchestrator commits after implementation and after each fix attempt, with git hardened against planted hooks, filters, and config.
  • An honest implement gate: it states the real sandbox status, permission mode, allowed domains, model, tasks, DAG width, budget, and estimated sessions, and shows a red warning when the sandbox is off or the mode is bypassPermissions.

Verification and delivery

  • Three parallel verification lanes: tests, quality (lint/type/security checks plus a smoke probe of the documented run command), and requirements (every P0 requirement must be exercised by a test) each return a structured report; a missing or malformed report fails its lane with the reason. Failed rounds go through a checkpointed fix step and back to verification (MAX_FIX_ATTEMPTS), fed the merged failure list; lane and fix spend counts against the whole-run budget.
  • Delivery bundle: every delivery writes a zip of the project (no dependencies, build output, .git, secrets, or symlinks) to OUTPUT_DIR/deliveries/, and a verified version is tagged v0.<n> in the project's git repository.
  • Iteration loop: after a delivery you can ask for changes and get the next version through the same machinery: a change planner turns the request into new plan tasks (I2-01, ...) appended without touching finished ones, only those are built, verification runs again, and the result is tagged v0.2. Each version has its own whole-run budget; MAX_ITERATIONS (default 5) bounds how many versions a project can go through.

Interface

  • The UI is a projection of graph state: chat, mode, status, and progress are derived from the checkpoint after every update, so a session can be rebuilt after a restart and no copy of pipeline state can drift.
  • Gate forms: every gate has its own form. The MVP questions are five labelled fields prefilled with the suggested answers (with Use all suggestions); the architecture options are two side-by-side cards with a Recommended badge; the implement gate is a summary table with a parallelism selector; the iterate gate is a feedback box.
  • Live panel: panel text streams token by token; the three opening statements show as one row of cards, the moderator's convergence note is a slim banner, and turns older than the last round are collapsed.
  • Live implementation view: an Implementation tab with a task board (pending, running, done, failed, each with workstream, branch, cost, commit, summary, and git diff --stat), a live log of what the agents do, and a running cost meter against the run budget. An artifacts panel offers the project folder with a copy button, zip downloads of the project and the blueprint, and a read-only file viewer that cannot leave the project.
  • Delivery dashboard: a verdict card per verification lane, a table of how each requirement fared, cost / tokens / time, and how to run the project, with the iterate form right below.
  • UI shell: a sticky stepper shows the time each stage took and a token / $ badge; a Settings accordion holds rounds, panel mode, autopilot, and the model profile with the models it resolves to; the chat fills the window height; four example ideas replace the pre-filled text; all colours are CSS variables with light and dark values (a test enforces no hard-coded colours).
  • Autopilot answers the questions with their suggestions, takes the recommended architecture, and generates the pack; the implementation gate always asks, because it spends money. Stop cancels a running step and the session keeps its last checkpoint and offers Continue.
  • Sessions and export: a Saved sessions panel lists, resumes, and deletes sessions. Save session writes the whole run (panel, summary, questions, answers, architecture, strategy, blueprint files, implementation log, verification lanes, delivery report, your decisions) as Markdown and as JSON.

Configuration and operations

  • Model profiles: MODEL_PROFILE=fast|balanced|quality picks the models of the panel, summarizer, architect, moderator, and researcher in one setting. A role whose *_PROVIDER or *_MODEL is set explicitly keeps it; the per-role lines in .env.example are commented out so a copied file does not pin them.
  • Durable sessions: graph checkpoints are stored in SQLite (CHECKPOINTER=sqlite|memory, CHECKPOINT_DB), so a run survives restarts.
  • Demo mode (DEMO_MODE=true): the whole pipeline offline with canned, idea-aware model outputs and a stand-in implementation stage: no API keys, no spend. An end-to-end test drives every gate this way in CI.
  • idea-to-mvp doctor checks each role's API key and model with one tiny real call per provider and model (--offline checks configuration only), plus the bundled Claude Code CLI; it exits non-zero on problems.
  • Resilience and observability: transient model errors (rate limits, timeouts, connection resets, 5xx) are retried with backoff at node level on top of the provider SDK's own retries (LLM_TIMEOUT_SECONDS, LLM_MAX_RETRIES); token usage accumulates per role and shows in the UI; optional LangSmith tracing via LANGSMITH_* names and tags each run with its session.
  • Model defaults refreshed against current provider docs (claude-sonnet-5-5, claude-opus-5-5 for the implementer, gpt-5.6-terra, gemini-3.8-flash); TEMPERATURE is only sent to models that accept sampling parameters and can be left empty.

Developer experience

  • Package layout: an installable idea_to_mvp package (src/ layout; uv run idea-to-mvp or python -m idea_to_mvp), with the old 800-line agents.py split into llm/ and one nodes/ module per concern, absolute imports only, and all role prompts and provider wiring in a declarative registry (roles.py).
  • Tooling and gates: dependencies are declared once in pyproject.toml with a committed uv.lock. CI runs ruff, mypy, and pytest on Python 3.11 to 3.13 and fails on coverage below 80%, a stale uv.lock, a graph diagram that is out of sync, or a golden blueprint pack that stops validating (three golden ideas run through the whole pipeline offline). Pre-commit (ruff, mypy), Dependabot for uv and GitHub Actions, stricter lint rules, and strict type checking for llm/, schemas.py, and plan.py are in place.
  • Blueprint eval: scripts/eval_blueprint.py --live scores a generated pack with an LLM judge on requirement coverage, contract consistency, and test specificity (opt-in, never run by CI).
  • Docs: docs/architecture.md is the single home for the design, including a table that maps every LangGraph pattern used to its code and a test, and a guide to adding an agent or a gate; a test checks that the paths, tests, and settings the docs name exist.

Upgrade notes

  • Output location: exports, blueprint packs, and generated projects are written under OUTPUT_DIR (default ~/idea-to-mvp/{exports,blueprints,projects}) instead of inside the repository, so implementation agents never run next to .env. To keep existing data, move exports/, project_blueprints/ (now blueprints/), and generated_projects/ (now projects/) there.
  • Permission mode: IMPLEMENTER_PERMISSION_MODE now defaults to acceptEdits (was bypassPermissions). An existing .env that still sets bypassPermissions keeps the old, unattended behaviour; check yours.
  • Renamed or removed settings: IMPLEMENTER_MAX_BUDGET_USD is now IMPLEMENTER_MAX_TASK_USD (default $5; the old name still works); ENABLE_CHECKPOINTER is replaced by CHECKPOINTER=sqlite|memory; OPENAI_FALLBACK_MODEL is gone (empty-output and truncation retries are provider-agnostic in llm.invoke_text).
  • Pinned models: a role whose *_PROVIDER or *_MODEL is set in your .env ignores MODEL_PROFILE; remove those lines to let the profile choose.
  • agent_team now means one session per plan task, in parallel where the plan allows (it used to be one session per workstream, one after another).
  • Tooling: requirements.txt is removed; use uv sync. The Save to Markdown button is now Save session. The UI needs Gradio 6.

[0.2.0] - 2026-04-19

Workflow

  • Added a planner follow-up after the architect step that asks whether to generate an execution pack.
  • Added project blueprint generation in project_blueprints/ with scoped AGENTS.md files and a task-oriented plan.md.
  • Added Markdown export support so the visible session can be saved to exports/ at any time.

Model and prompt updates

  • Fixed Gemini output budgeting by passing Google token limits at invocation time instead of relying only on model initialization.
  • Tightened the architect prompt to reduce overly detailed responses and lower the risk of truncated architecture output.
  • Simplified the planner plan.md prompt so it focuses on execution tasks, contracts, and tests instead of repeating project guidance.

UX

  • Added a Save to Markdown action in the UI.
  • Improved planner and architect progress states so the UI can show more specific in-progress messages.

Docs

  • Refreshed README.md and contributor documentation to match the current discussion, architect, planner, and export flow.

[0.1.0] - 2026-04-11

Core capabilities

  • Multi-agent idea discussion with PM, Tech Lead, and Skeptic roles.
  • Streaming panel conversation in a Gradio chat interface.
  • Automatic summary generation after discussion rounds.
  • Automatic generation of five MVP decision questions.
  • Architect follow-up mode that produces two implementation options.

Model and provider support

  • Configurable provider/model selection for each role (openai, anthropic, google).
  • OpenAI fallback model support for empty/invalid primary outputs.
  • Environment-based runtime configuration through .env.

Project quality and maintainability

  • Refactored architecture with a thin app.py entrypoint and separated service/render utilities.
  • Shared text normalization utilities and stronger typed state contracts.
  • Optional graph checkpointer toggle (ENABLE_CHECKPOINTER).
  • Added test suite and CI for linting and regression checks.

Open-source readiness

  • Added README.md, LICENSE, CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md.
  • Added pyproject.toml with project metadata and development tool settings.