Repository navigation
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
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 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
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
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):
secrets-cloudflare(API, Hyperdrive, R2 tokens and the account id) andsecrets-supabase(access token, org id), in thesecrets: [{key, template}]form. Keys, templates and the card's order are unchanged.checks.ymlis deleted. The e2e tier runs the landing's seven checks from its ownLANDING_CHECKSlist, and the leak gate no longer requires the file.spec.docs. web-tests and db-tests get descriptions, and their overviews were regenerated with the repo's tool.app, notweb. No component is namedapp.background: true), and each phase'staskhook sits inpost, just beforeland;checks: local;narrate.await;wiringawait 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.shholds that per key, as saas's does.package-manager-cache: false.Why
A bootstrap was waiting on things that needed no wait:
The catalog also attached no component docs, and the
webdomain hid thewebcomponent.Worth knowing (true of turso and saas too): a product PR's
quick-checklanes (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 --statuswith the card's required inputs reads the blueprint.gen-component-docs.py --checkpasses.webdomain;checks: cilanding;keysform;Generated by Claude Code