Skip to content

VC3: v0-clone becomes an Orun baseline - #4

Merged
ruehowl merged 2 commits into
mainfrom
vc/3-a-baseline
Oct 29, 2026
Merged

ruehowl merged 2 commits into
mainfrom
vc/3-a-baseline

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

VC3 (task VC-4): the v0 clone becomes an Orun baseline — a new app builder goes from nothing to live on stage and prod in ONE landing.

What changes

  • The card and the build. blueprint.yaml (inputs reponame, productname, githuborg from the chosen repository and subdomain from the Cloudflare connection; CLOUDFLARE_API_TOKEN brokered as workers-deploy and CLOUDFLARE_ACCOUNT_ID; requires GitHub and Cloudflare; ~9 minutes, an estimate) and repo-blueprint.yaml (21 modules, two phases). 01-product places, brands and lands the whole product as one pull request; its convergence deploys each environment's preview origin, then the host app built with its origin (web → preview, enforced on main). 02-docs records the live deployment from probes of both Workers and restores the promotion gate and dev's lanes.
  • The rename. tooling/rebrand/rebrand.mjs (the Cirrus engine) with the identity in .baseline/identity.json. One SITE_NAME seam per app (apps/*/lib/site.ts, placeholder "My App Builder"), where upstream hard-coded "v0 clone" / "v0 Clone". It leaves upstream's own identity alone: its examples/v0-clone links and V0_CLONE_ORIGIN, the variable upstream named after itself.
  • The bootstrap helpers, the record, the context pack. tooling/bootstrap/, hooks/render-deployment-docs.sh (both Workers, both environments), .baseline/product/ (the product's README, with upstream's security warning first, and its AGENTS.md), ai/context/, docs/phases/, BOOTSTRAP.md.
  • The tiers. testing/ and .github/workflows/baseline.yml, plus tag.yml. The end-to-end tier runs the product's own lanes in orun's staged job trees. It then serves both Workers under wrangler dev against a stand-in v0 API (testing/lib/fake-v0-api.py) and checks the key flow from host to proxy and a chat's preview served through the proxy.
  • The as-built record. IMPLEMENTATION-STATUS.md adds departure 11 and the baseline section. Departure 11: no Supabase, Auth.js or Drizzle, because upstream removed its database and accounts on 2026-07-30, so the baseline requires Cloudflare alone. New risks VC-E (no live bootstrap yet) and VC-F (the real v0 API not yet called from a Worker).

Tiers, run locally

  • contract: manifest, phases, coverage, rebrand, retouch, bootstrap-defer — ok; the component docs check — ok
  • leak (orun v2.89.0) — ok: 175 files derived, none of the factory
  • placement — ok: the offline bootstrap and the product's own plans. On a merge, preview is level 0 and web level 1 in each environment. On a pull request neither waits. The 02-docs merge plans nothing.
  • e2e — ok: the landing installed, type-checked, linted and tested (19 + 43). Each app's stage lane ran in its own staged job tree, with the v0 key kept out of the bundle and the sibling origin inlined: the preview Worker is 1,598 KiB gzipped and the web Worker 2,174 KiB. Both Workers were served against the stand-in, both deploys' own smokes passed, and the key flow and proxied preview checks passed.

Generated by Claude Code

The card (blueprint.yaml) and the build (repo-blueprint.yaml) take a new
app builder from nothing to live on stage and prod in one landing: 01-product
places, brands and lands the whole product, and its convergence deploys each
environment's preview origin and then the host app built with its origin;
02-docs records both Workers from probes and restores the promotion gate and
dev's lanes. Requires Cloudflare alone, one brokered token.

The rename engine (identity in .baseline/identity.json) rewrites the slug,
both Workers, the secret project and the SITE_NAME seam in each app, and
keeps upstream's examples/v0-clone links and V0_CLONE_ORIGIN. The bootstrap
helpers, the deployment-record hook, the product's README and AGENTS.md, the
context pack, the phase docs and BOOTSTRAP.md, and the tiers: contract,
leak, placement and an end-to-end tier that runs both apps' lanes in orun's
staged job trees and serves both Workers against a stand-in v0 API.

Records the departure from the programme's row: no Supabase, Auth.js or
Drizzle, which upstream removed on 2026-07-30.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNVpFBcbeiX3EHdXfmn
@ruehowl
ruehowl merged commit b462696 into main Oct 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants