Repository navigation
SA8: the turso v8 shape — one secrets hook per provider, no Checks, docs in the catalog, tasks in the background, landings checked here - #9
Merged
Conversation
…ocs in the catalog, tasks in the background, landings checked here
What sourceplane/turso-starter became across baseline-v6, v7 and v8,
adapted to this repository's two providers and 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, and the
two share no other parameter. 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, and a
bootstrap's landings are checked in the box. testing/e2e.test.sh runs
the landing's own checks from a LANDING_CHECKS list (the six commands
checks.yml ran), and 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`: 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
(a static names-only secrets table that says where each key lives, and
a pointer 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, from the readers'
component.yaml secretEnv, 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 (both rungs in each job). A missing one fails its lane,
so a green run already proves all four. 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 (both
read the blueprint; the floor is newer than ci.yml's lane pin, v2.78.4,
which stays), and BOOTSTRAP.md with its troubleshooting row.
expectedMinutes 18 + 2 → 17 + 1, card 20 → 18 ("about eighteen
minutes"); estimates, not measurements — no bootstrap of this baseline
has been timed. phases.test.sh holds the fast shape.
Worth knowing (true of turso too): a product PR's `quick-check` lanes
(db, db-tests, web-tests) only install and check structure, so with
checks.yml gone nothing in a product's CI runs typecheck, lint or the
tests; the baseline's e2e tier still runs them on the landing before a
tag. The product README now says these are local `pnpm` scripts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CJuLwDKfEaQGAEuBpJvN5Q
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This brings saas-starter to the shape turso-starter reached at baseline-v8, adapted for two providers and seven components.
secretshook per provider. The five single-key reconciles becomesecrets-cloudflare(CLOUDFLARE_API_TOKEN, CLOUDFLARE_HYPERDRIVE_TOKEN, CLOUDFLARE_ACCOUNT_ID) andsecrets-supabase(SUPABASE_ACCESS_TOKEN, SUPABASE_ORG_ID). Keys, templates and the card's order are unchanged.checks.ymlis deleted. The e2e tier runs the landing's own checks from aLANDING_CHECKSlist, which holds the six commands checks.yml ran.spec.docs. The two test suites now have descriptions, and their overviews were regenerated.appinstead ofweb.background: true)taskhook moves topost, just beforelandchecks: localpnpm install --lockfile-onlyhook is gonenarrate.awaitwiringawait is removed completely. All four of its keys are resolved fail-closed at job start, inside the same convergence, by a job that waits for its publisher on main:Why
Each change saves time a bootstrap spent waiting for nothing, or makes the catalog show what the product ships. The commit message explains why each removal is safe. In short: a green convergence already proves every published key, and
checks: localruns the samevalidate/planthe PR's own CI would run.phases.test.shnow enforces this shape. It has one new rule: every published key must be read in the convergence on stage and prod by a job with an enforced edge to its publisher; otherwise it must be awaited. A key that is already read must not also be awaited.One thing worth knowing, which applies to turso too: a product PR's
quick-checklanes only install and check structure. With checks.yml gone, no part of a product's CI runs typecheck, lint or the tests. The baseline's e2e tier still runs them before a tag, and the product README now says they are localpnpmscripts.Verified locally
All with orun v2.88.0:
orun new --blueprint repo-blueprint.yaml --statuswith the card's inputs: reads the blueprint.manifest,phases,coverage,rebrand,retouch,bootstrap-defer: pass. I also mutation-checked the new phases and coverage rules, and each one fails when broken.gen-component-docs.py --check: pass.leak.test.sh,placement.test.sh: pass. Placement now checks the pull-request edges too, because the floor is newer than the lane pin.e2e.test.sh: pass, in about 3 min: the landing installed, fixture-rendered, type-checked, linted, tested and built; migrations applied twice to a local Postgres; the stage web lane built and dry-deployed in its staged tree; the Worker served, smoke-tested and signed up on; RLS holds.Generated by Claude Code