Skip to content

BL7: the turso v8 shape — one secrets hook, no Checks, docs in the catalog, tasks in the background, landings checked here - #9

Merged
ruehowl merged 1 commit into
mainfrom
claude/funny-cerf-9totyb
Oct 25, 2026
Merged

ruehowl merged 1 commit into
mainfrom
claude/funny-cerf-9totyb

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

What

This brings blob-starter to the shape sourceplane/turso-starter reached at baseline-v8 (the same change kv-redis-starter got in #10), on the orun v2.88.0 floor.

  • One secrets hook. The three orun.integrations/reconcile@v1 hooks are now one secrets hook. They had the same provider and no other differing parameters. It mints CLOUDFLARE_API_TOKEN (workers-deploy), CLOUDFLARE_R2_TOKEN (r2-data) and CLOUDFLARE_ACCOUNT_ID (account-id), in the card's order. manifest.test.sh reads the secrets: form.
  • No Checks workflow. checks.yml is deleted. The baseline's e2e tier now runs install, the fixture render, typecheck, lint, test and build on the landing from its own LANDING_CHECKS list.
  • Docs in the catalog. All three components attach overview, architecture and runbook in spec.docs. web-tests gets a description, and its overview is regenerated with the repo's generator.
  • Domain rename. apps/web's domain is app instead of web, because web is also the component's name. No component is named app. coverage.test.sh checks both rules.
  • The fast shape.
    • Every preInstantiate hook is background: true.
    • Each phase's task hook moves from pre to post, just before land.
    • Both landings use checks: local.
    • The convergence watch polls every 5 s.
    • The pnpm-lockfile hook is gone.
    • The wiring await is gone. Its one key, WIRING_CLOUDFLARE_R2, is resolved on stage and prod by apps/web's secretEnv as the deploy job starts, and the job fails if it is missing. No key stays awaited.
    • 02-docs loses its final probe and its narrate.await.
    • The render hook makes no platform calls (it made five). It writes a static table of the secrets the site uses and where they live.
  • expectedMinutes: 12 + 2 becomes 11 + 1. The card says 12, "about twelve minutes". These are estimates, not measurements.
  • baseline.yml: the blueprint, placement and site tiers pin v2.88.0. The blueprint job's setup-node sets package-manager-cache: false, because nothing in that job runs pnpm any more. ci.yml's lane pin (v2.78.4) is unchanged.

Why

A bootstrap should not wait on things nothing needs: the task set-up, a runner's plan, a 40 s poll, a second check of a wiring document the lanes already resolved, or platform listings that the console shows live. Pull requests in a product run ci.yml's verify lanes, which do not run vitest or eslint. The product README and operations.md now say so and tell developers to run the tests and linter before pushing.

Verified locally (orun v2.88.0)

  • orun new --blueprint repo-blueprint.yaml --status with the three required inputs reads the blueprint.
  • manifest, phases, coverage, rebrand, retouch, bootstrap-defer, wire, leak and placement all pass, and gen-component-docs.py --check is clean.
  • phases.test.sh fails as expected when checks: local, pollSeconds or background is removed.
  • The e2e tier passes: the landing installed, type-checked, linted, tested and built; the stage lane's steps run in the staged job tree; the built Worker served and smoke-tested.

Generated by Claude Code

…talog, tasks in the background, landings checked here

What sourceplane/turso-starter became across baseline-v6, v7 and v8,
made here for the R2 uploader. Floor: orun v2.88.0.

A. One secrets hook. secret-workers-deploy, secret-r2-data and
   secret-account-id (same provider, no other parameters) are one
   `secrets` reconcile, the keys and templates in the card's order:
   CLOUDFLARE_API_TOKEN (workers-deploy), CLOUDFLARE_R2_TOKEN (r2-data),
   CLOUDFLARE_ACCOUNT_ID (account-id). manifest.test.sh reads the
   `secrets: [{key, template}]` form beside `keys`.

B. No Checks workflow. checks.yml is gone; the landing is checked by
   `plan` (now in the box), and the baseline's Tier 2 runs install, the
   fixture render, typecheck, lint, test and build on the landing from its
   own LANDING_CHECKS list. Every component attaches its generated
   overview, architecture and runbook in spec.docs, web-tests has a
   description (its overview regenerated), and apps/web's domain is `app`,
   not `web`, which was also the component's name. coverage.test.sh holds
   both rules. web-tests' quick-check lane only installs and checks the
   package, so a product's pull requests run neither vitest nor eslint; the
   product README and operations.md say so and tell a developer to run
   them before pushing, instead of claiming a PR does.

C. The fast shape. Every preInstantiate hook is `background: true`; each
   phase's `task` moves from `pre` to `post`, just before its landing;
   both landings are `checks: local`; the convergence watch reads every
   5 s; the `pnpm-lockfile` hook is gone (the lockfile is installed frozen
   by the lanes and by Tier 2). The `wiring` await is gone: its one key,
   WIRING_CLOUDFLARE_R2, is resolved on stage and prod by the uploader's
   deploy job (apps/web secretEnv, enforced on main) before its first
   step, fail-closed, so a green convergence already proves it; no key
   stays awaited. 02-docs loses its final probe and its narrate.await. The
   render hook asks the platform nothing (it made five CLI calls) and
   lists the secrets the site uses and where they live. expectedMinutes
   12 + 2 becomes 11 + 1 (card 12, "about twelve minutes"). These are
   estimates, not measurements.

phases.test.sh holds the fast shape and checks that every published
wiring document is resolved on stage and prod by a component, which is
the reason the await could go; narrate.await is required only where a
phase awaits. baseline.yml pins v2.88.0 on the blueprint, placement and
site tiers, and the blueprint job's setup-node asks for no pnpm cache
(nothing in it runs pnpm now, and v5's automatic cache failed such a job
on saving a store that does not exist); ci.yml's lane pin (v2.78.4) is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CJuLwDKfEaQGAEuBpJvN5Q
@ruehowl
ruehowl merged commit 91d6179 into main Oct 25, 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