Skip to content

AC8: the turso v8 shape — one secrets hook per provider, no Checks, docs in the catalog, tasks in the background, landings checked here - #10

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

ai-chatbot brought to the shape sourceplane/turso-starter reached at baseline-v8, adapted as sourceplane/saas-starter#9 and #10 did (two providers, Hyperdrive, plus R2 here):

  • One secrets hook per provider. The six single-key reconciles become secrets-cloudflare (API, Hyperdrive, R2 tokens and the account id) and secrets-supabase (access token, 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 landing's seven checks from its own LANDING_CHECKS list, and the leak gate no longer requires the file.
  • Docs in the catalog. All 8 components attach overview, architecture and runbook in spec.docs. web-tests and db-tests get descriptions, and their overviews were regenerated with the repo's tool.
  • No domain clash. apps/web's domain is app, not web. No component is named app.
  • The fast shape on orun v2.88.0:
    • the task set-up runs in the background (background: true), and each phase's task hook sits in post, just before land;
    • both landings use checks: local;
    • the convergence watch polls every 5 s;
    • the lockfile hook is gone;
    • 02-docs has no final probe and no narrate.await;
    • the deployment render asks the platform nothing: its five CLI calls are replaced by a static names-only secrets table and a pointer to the console.
  • The wiring await is gone. All five keys it checked are resolved fail-closed in the same convergence by readers that wait for their publisher on main, so no key stays awaited. phases.test.sh holds that per key, as saas's does.
  • Floor v2.88.0. baseline.yml's blueprint job (both of its pins) and its product job now run v2.88.0. ci.yml's lane pin stays at v2.78.4. The blueprint job's setup-node gets package-manager-cache: false.
  • expectedMinutes. 01-product 18 → 17, 02-docs 2 → 1, so the card goes 20 → 18 ("about eighteen minutes"). These are estimates, not measurements.

Why

A bootstrap was waiting on things that needed no wait:

  • a runner's plan of a tree that is already in the box;
  • the task plane, before anything reads it;
  • one platform round trip per secret;
  • a probe after a landing that deploys nothing.

The catalog also attached no component docs, and the web domain hid the web component.

Worth knowing (true of turso and saas too): a product PR's quick-check lanes (db, db-tests, web-tests) only install and check structure. With Checks gone, nothing in 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 and operations.md now say to run them before pushing.

Verified locally (orun v2.88.0)

  • orun new --blueprint repo-blueprint.yaml --status with the card's required inputs reads the blueprint.
  • manifest, phases, coverage, rebrand, retouch, bootstrap-defer, wire, leak, placement: all pass.
  • gen-component-docs.py --check passes.
  • e2e passes in about 4 minutes. It installs, renders the fixture, type-checks, lints, tests and builds the landing. It runs both lanes in their staged trees: db-migrate applies to a local Postgres, then the web lane builds and dry-deploys. Then it serves the Worker and runs a guest chat, an attachment upload and a registration. Last, it checks the Data API roles.
  • I broke a scratch copy on purpose and the new rules failed each time:
    • a web domain;
    • an unattached runbook;
    • a 40 s watch;
    • a checks: ci landing;
    • a hook outside the background;
    • a lost R2 wiring reader;
    • the keys form;
    • card/template drift.

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 and eight components, as
sourceplane/saas-starter did (SA8, SA9).

A. One secrets hook per provider (turso TU9). The six 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_R2_TOKEN r2-data, 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 seven commands
checks.yml ran, the committed-render `git diff --exit-code` included),
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 with
tooling/catalog/gen-component-docs.py). apps/web's domain is `app`, not
`web`: a domain and a component share one name space in the catalog (no
component is named `app`). coverage.test.sh holds both rules. Two app
comments that justified a credential-free build by "Checks has none" say
a local or test build has none instead.

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 workspace slug, three secret listings and the integrations listing
were five CLI calls): 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 five 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
and WIRING_CLOUDFLARE_R2 by web's deploy (both rungs in each job). A
missing one fails its lane, so a green run already proves all five; no
key is left awaited. phases.test.sh replaces the rule that demanded the
await, as saas-starter's does: 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 job (both of its pins:
the offline bootstrap in its placement step reads the blueprint too) and
its product tier, and BOOTSTRAP.md with its troubleshooting row; ci.yml's
lane pin (v2.78.4) stays. The blueprint job's setup-node asks for no pnpm
cache: with the lockfile hook gone nothing in it runs pnpm, and
setup-node v5's own 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.

Worth knowing (true of turso and saas 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 and operations.md now say these are `pnpm`
scripts to run before pushing.

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