Skip to content

PD7: the turso v8 shape — one secrets hook per provider, 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

Brings this baseline to the shape sourceplane/turso-starter reached at baseline-v8 (as sourceplane/saas-starter#9 did for the same Cloudflare + Supabase + Hyperdrive layout):

  • One secrets hook per provider. The five single-key reconciles become secrets-cloudflare (3 keys) and secrets-supabase (2 keys), in the secrets: [{key, template}] form. Keys, templates and the card's order are unchanged.
  • No Checks workflow. checks.yml is deleted; the e2e tier runs the same six commands from its own LANDING_CHECKS list.
  • Docs in the catalog. Every component attaches its generated overview, architecture and runbook in spec.docs; the two test suites get descriptions.
  • No domain/component clash. apps/web's domain is app, not web.
  • The orun v2.88.0 fast shape. The task set-up runs in the background, each phase finds its task just before landing, both landings use checks: local, the watch polls every 5 s, the lockfile hook is gone, 02-docs has no final probe, and the deployment record makes no platform calls.
  • The wiring await is removed. All four keys it waited on are resolved fail-closed in the same convergence, by jobs that wait for their publisher.
  • expectedMinutes goes from 18 + 2 to 17 + 1, so the card says 18 ("about eighteen minutes"). These are estimates.
  • Bootstrap floor. The floor is now v2.88.0 in baseline.yml and BOOTSTRAP.md, and the blueprint job asks setup-node for no pnpm cache.

Why

A bootstrap was waiting on things it did not need: a runner's plan of a tree the build box already has, the task plane, and one platform round trip per key. The catalog attached no component docs, and the web domain hid the web component. A green convergence already proves every published key, so the separate await could only ever agree.

Verified locally

All with the released orun v2.88.0:

  • orun new --blueprint repo-blueprint.yaml --status reads the blueprint.
  • These pass: manifest, phases, coverage, rebrand, retouch and bootstrap-defer.
  • gen-component-docs.py --check passes.
  • leak passes.
  • placement passes: the offline bootstrap runs, the product's own plans run supabase → cloudflare-hyperdrive → db-migrate → web on stage and prod, and --resume is a no-op.
  • e2e passes.

Generated by Claude Code

…ocs in the catalog, tasks in the background, landings checked here

What sourceplane/turso-starter became across baseline-v6, v7 and v8, as
sourceplane/saas-starter (the same Cloudflare + Supabase + Hyperdrive
shape) took it, adapted to this repository's seven components.

A. One secrets hook per provider (turso TU9). The five single-key
reconciles each read the workspace's connections and secrets before
their create, one after another. orun's `secrets: [{key, template}]`
declares them together: `secrets-cloudflare` (CLOUDFLARE_API_TOKEN
workers-deploy, CLOUDFLARE_HYPERDRIVE_TOKEN hyperdrive-edit,
CLOUDFLARE_ACCOUNT_ID account-id) and `secrets-supabase`
(SUPABASE_ACCESS_TOKEN management-access, SUPABASE_ORG_ID org-id). Two
hooks, not one: a reconcile reads one provider's connection. Keys,
templates and the card's order are unchanged. manifest.test.sh and
placement.test.sh read the `secrets` form beside `keys`.

B. No Checks workflow; docs in the catalog; no domain/component clash
(turso TU10). checks.yml is gone: a product carries ci.yml alone.
testing/e2e.test.sh runs the landing's own checks from a LANDING_CHECKS
list (the six commands checks.yml ran); the leak gate no longer requires
checks.yml. Every component attaches its generated overview,
architecture and runbook in `spec.docs`; web-tests and db-tests get
descriptions (their overviews regenerated). apps/web's domain is `app`,
not `web` (no component is named `app`): a domain and a component share
one name space in the catalog. coverage.test.sh holds both rules.

C. The fast shape on orun v2.88.0 (turso TU11). The task set-up runs in
the background; each phase finds its task in `post`, just before its
landing; both landings are `checks: local`; the convergence watch reads
every 5 s; no `pnpm install --lockfile-only` hook; 02-docs has no final
probe and no narrate.await, and its render asks the platform nothing —
the five CLI calls (workspace slug, three secret listings, the
integrations listing) are gone; the record keeps a static names-only
secrets table that says where each key lives, and points to the
console's Secrets and Integrations pages.

The `wiring` await is gone entirely. Each of its four keys is resolved
in the same convergence, fail-closed at job start (component secretEnv,
resolved before any step runs), by a job that waits for its publisher on
main: SUPABASE_PROJECT_REF and SUPABASE_DB_PASSWORD by
cloudflare-hyperdrive and db-migrate, SUPABASE_DB_URL by db-migrate,
WIRING_CLOUDFLARE_HYPERDRIVE by web's deploy. A missing one fails its
lane, so a green run already proves all four; no key is left awaited.
phases.test.sh replaces the rule that demanded the await: each published
key must be read that way on stage and prod, or else awaited — and a key
already read must not be.

The floor is v2.88.0: baseline.yml's blueprint and product tiers (from
v2.58.11 and v2.78.4; ci.yml's lane pin, v2.78.4, stays), and
BOOTSTRAP.md with its troubleshooting row. The blueprint tier's
setup-node asks for no pnpm cache: with the lockfile hook gone it never
runs pnpm, and setup-node v5's own pnpm cache fails the job's post step
when no earlier cache exists (sourceplane/nuxt-boilerplate#6).
expectedMinutes 18 + 2 → 17 + 1, card 20 → 18 ("about eighteen
minutes"); estimates, not measurements — no bootstrap of this baseline
has been timed.

A product PR's lanes do not typecheck, lint or run the tests (db,
db-tests and web-tests are `quick-check`); the README and the product's
README now say so, and that the baseline's e2e tier runs them on the
landing before each tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CJuLwDKfEaQGAEuBpJvN5Q
@ruehowl
ruehowl merged commit 22321f5 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