Repository navigation
SS9: the turso v8 shape — one secrets hook per provider, no Checks, docs in the catalog, tasks in the background, landings checked here - #11
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, three components and the
build panel's stricter narration rules (SS8), which stay.
A. One secrets hook per provider (turso TU9). The four 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_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; each hook keeps a narrate
line the panel shows. 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 gets a description (its overview 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. The
product README and AGENTS.md now say a pull request's lanes build and
dry-deploy but type-check, lint and test nothing, so developers run
those before they push; the baseline's e2e tier runs them before a tag.
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 instead of 40; no `pnpm install --lockfile-only` hook; 02-docs
has no final probe (its render probes as it writes) and its render asks
the platform nothing — the five CLI calls (workspace slug, three secret
listings, integrations) are gone, replaced by 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, key by key. WIRING_SUPABASE is no longer awaited:
web's stage and prod deploys resolve it as their job starts, from the
place every later deploy reads it (optionalSecretEnv, so stage need not
wait on prod's apply), after the apply (`mode: enforced` on main), and
the build's render (tooling/wire/live.mjs --env) exits 1 when that
environment's document is missing — a green convergence proves it.
SUPABASE_PROJECT_REF, SUPABASE_DB_PASSWORD and SUPABASE_DB_URL stay
awaited: nothing in this product reads them, so a green run says
nothing about them. phases.test.sh replaces the rule that demanded the
await for every published key: each must be read fail-closed on stage
and prod by a job that waits for its publisher (an optional reference
counts only with that live render), 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; ci.yml's lane pin, v2.78.4, stays), the blueprint
job's setup-node with no package-manager cache (nothing there runs pnpm
now), and BOOTSTRAP.md with its troubleshooting rows. expectedMinutes
13 + 2 → 12 + 1, card 15 → 13 ("about thirteen minutes"); estimates, not
measurements. This landing also stops waiting on Checks' full Next.js
build (its checks.yml had no bootstrap-branch skip), so the real saving
may be larger than turso's minute. phases.test.sh holds the fast shape;
the repository's stricter rule — no phase authors narrate.await — stays.
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
This brings supabase-starter to the shape sourceplane/turso-starter reached in baseline-v8. It follows the same playbook as sourceplane/saas-starter#9, adapted to this repo's two providers and three components.
secrets-cloudflare(CLOUDFLARE_API_TOKEN,CLOUDFLARE_ACCOUNT_ID) andsecrets-supabase(SUPABASE_ACCESS_TOKEN,SUPABASE_ORG_ID), in thesecrets: [{key, template}]form. Keys, templates and the card's order are unchanged.checks.ymlis deleted. The e2e tier runs the same six steps from its ownLANDING_CHECKSlist.spec.docs.web-testsgets a description.apps/web's domain is renamedweb→app, so it no longer shares thewebcomponent's name.taskhook moves topost, just beforeland;checks: local;render-deployment-docs.shmakes no platform calls (all five removed) and writes a static, names-only secrets table instead.wiringawait, key by key.WIRING_SUPABASEis no longer awaited.SUPABASE_PROJECT_REF,SUPABASE_DB_PASSWORDandSUPABASE_DB_URLare still awaited.package-manager-cache: false.Why
WIRING_SUPABASEneeds no await. web's stage and prod deploys resolve it when their job starts, from the place every later deploy reads it. They wait for the apply (mode: enforcedon main). The build'stooling/wire/live.mjs --envexits 1 if that environment's document is missing. So a green convergence already proves the document is there.narrate.await. The secrets hooks keep their narrate lines.orun/BASE-*skip. The real saving may be larger than one minute.webverify,web-testsquick-check) run no typecheck, lint or tests. The product README and AGENTS.md now say so and tell developers to run them before pushing. Lane profiles are unchanged.Verified locally (orun v2.88.0 release binary)
orun new --blueprint repo-blueprint.yaml --statuswith baseline.yml's--sets reads the blueprint.gen-component-docs.py --checkpasses.WIRING_SUPABASE, dropping a credential from the await, web not rendering live, the edge advisory on main, droppingchecks: local, droppingbackground, a 40 s watch, thekeysform, an authorednarrate.await, the lockfile hook, and aweb~webdomain.Generated by Claude Code