Repository navigation
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
Conversation
…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
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
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):
secrets-cloudflare(3 keys) andsecrets-supabase(2 keys), in thesecrets: [{key, template}]form. Keys, templates and the card's order are unchanged.checks.ymlis deleted; the e2e tier runs the same six commands from its ownLANDING_CHECKSlist.spec.docs; the two test suites get descriptions.app, notweb.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.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
webdomain hid thewebcomponent. 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 --statusreads the blueprint.gen-component-docs.py --checkpasses.--resumeis a no-op.Generated by Claude Code