Skip to content

feat(ai-autopilot): live bootstrap capstone — real model + LocalRunner (#124)#136

Merged
suleimansh merged 1 commit into
mainfrom
suleimansh/feat/124-live-capstone
Jul 2, 2026
Merged

feat(ai-autopilot): live bootstrap capstone — real model + LocalRunner (#124)#136
suleimansh merged 1 commit into
mainfrom
suleimansh/feat/124-live-capstone

Conversation

@suleimansh

Copy link
Copy Markdown
Member

The live half of the bootstrap capstone (#124). The offline example verifies the flow structurally with fakes; src/live.ts runs the same flow for real.

What changed

  • src/live.ts — swaps the fakes for real infra: a real model via @gemstack/ai-sdk (registers the Anthropic provider from ANTHROPIC_API_KEY) and a real LocalRunner workspace on the host filesystem. Architect, build workers, and deploy decision are all model-driven; the workers write real files to disk.
  • src/main-live.ts + start:live script — runnable entry.
  • README + offline docstring updated (the live half is built, not "infra-gated").

Verified end to end

Ran against Anthropic Haiku 4.5 (pnpm start:live):

  • architect returned 6 real, reasoned decisions (Vike SSR, universal-orm, server-side pagination, session auth, SQLite→Postgres, API route handlers) — vs the offline stub's 2 scripted ones;
  • three persona workers scaffolded a 9-file Vike + universal-orm orders app in the real workspace: database/schema.ts, database/migrations/001_create_orders.sql, pages/orders/+Page.jsx / +data.ts / +config.ts / +Head.jsx, lib/ui-intent-renderer.jsx, UI_INTENT_PATTERN.md;
  • the production-grade loop blocked once on "no auth", then cleared on pass 2;
  • deploy decided SSR → dockploy with real rationale; scale mode wrote CODE-OVERVIEW.

LocalRunner runs on the host, so the only real dependency was a model key — this was never as gated as the issue assumed.

Scope (honest boundary)

First bounded, cheap proof: the production-grade loop keeps the scripted verdict (deterministic, no model budget on the checklist), and deploy uses planOnlyTarget (decides + narrates, does not actually ship). Booting/serving the generated app and real deploy adapters remain, tracked by #109.

Private example package, so no changeset. Offline test + typecheck green.

#124)

The live half of the bootstrap capstone. src/live.ts runs the same flow as the
offline example but swaps the fakes for real infra: a real model via
@gemstack/ai-sdk and a real LocalRunner workspace on the host filesystem. The
architect, the build workers, and the deploy decision are all model-driven, and
the workers write real files to disk.

Verified end to end against Anthropic Haiku 4.5: the architect returned 6 real
decisions, three persona workers scaffolded a 9-file Vike + universal-orm orders
app (schema + migration, pages/orders/+Page|+data|+config|+Head, a UI-intent
renderer), the production-grade loop blocked once on missing auth then cleared,
and deploy decided SSR -> dockploy.

Scoped for a first bounded proof: the loop keeps the scripted verdict (cheap,
deterministic) and deploy uses planOnlyTarget (decides + narrates, does not
ship). Booting/serving the generated app + real deploy adapters remain (#109).

Adds start:live to the example; offline test + typecheck green.
@suleimansh suleimansh added enhancement New feature or request priority: medium Worth doing, not urgent labels Jul 2, 2026
@suleimansh suleimansh self-assigned this Jul 2, 2026
@suleimansh suleimansh merged commit 88fdf6c into main Jul 2, 2026
2 checks passed
@suleimansh suleimansh deleted the suleimansh/feat/124-live-capstone branch July 2, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: medium Worth doing, not urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant