Skip to content

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
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 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.

  • One secrets hook per provider. The four single-key reconciles are now secrets-cloudflare (CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID) and secrets-supabase (SUPABASE_ACCESS_TOKEN, SUPABASE_ORG_ID), 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 steps from its own LANDING_CHECKS list.
  • Docs in the catalog. All three components attach their overview, architecture and runbook pages in spec.docs. web-tests gets a description.
  • No domain clash. apps/web's domain is renamed web → app, so it no longer shares the web component's name.
  • The orun v2.88.0 fast shape:
    • the task set-up runs in the background;
    • each phase's task hook moves to post, just before land;
    • both landings are checks: local;
    • the watch polls every 5 s;
    • the lockfile hook is removed;
    • 02-docs has no final probe;
    • render-deployment-docs.sh makes no platform calls (all five removed) and writes a static, names-only secrets table instead.
  • The wiring await, key by key. WIRING_SUPABASE is no longer awaited. SUPABASE_PROJECT_REF, SUPABASE_DB_PASSWORD and SUPABASE_DB_URL are still awaited.
  • Floor v2.88.0. baseline.yml's blueprint and product tiers move to v2.88.0; ci.yml's lane pin (v2.78.4) stays. The blueprint job's setup-node gets package-manager-cache: false.
  • expectedMinutes. The phases go 13 + 2 → 12 + 1, and the card 15 → 13 ("about thirteen minutes").

Why

  • WIRING_SUPABASE needs 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: enforced on main). The build's tooling/wire/live.mjs --env exits 1 if that environment's document is missing. So a green convergence already proves the document is there.
  • The three database credentials stay awaited. Nothing in this product reads them, so a green run says nothing about them.
  • New phases.test.sh rule. Each published key needs a fail-closed reader on stage and prod, or else an await. An optional reference counts only when it comes with that live render. A key that is already read must not also be awaited.
  • Narration rule kept. This repo's stricter build-panel rule stays: no phase authors narrate.await. The secrets hooks keep their narrate lines.
  • The minutes are estimates, not measurements. This landing used to wait for Checks' full Next.js build, because its checks.yml had no orun/BASE-* skip. The real saving may be larger than one minute.
  • PR lanes run no tests. A product PR's lanes (web verify, web-tests quick-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 --status with baseline.yml's --sets reads the blueprint.
  • manifest, phases, coverage, rebrand, retouch and bootstrap-defer tests pass.
  • gen-component-docs.py --check passes.
  • The leak and placement tiers pass.
  • The e2e tier passes.
  • The new phases and coverage rules catch each mutation tried: re-awaiting WIRING_SUPABASE, dropping a credential from the await, web not rendering live, the edge advisory on main, dropping checks: local, dropping background, a 40 s watch, the keys form, an authored narrate.await, the lockfile hook, and a web~web domain.

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,
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
@ruehowl
ruehowl merged commit e91df2d 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