Skip to content

EM6: the turso v8 shape — one secrets hook, no Checks, docs in the catalog, tasks in the background, landings checked here - #8

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

Brings this baseline to the shape sourceplane/turso-starter reached in baseline-v6, v7 and v8. It follows the sweep playbook, and astro-boilerplate#8 is the closest sibling.

  • One secrets hook. secret-workers-deploy and secret-account-id become one secrets reconcile, using the secrets: [{key, template}] form. The keys, templates and order match the card.
  • No Checks workflow. checks.yml is deleted. The e2e tier now runs the same six steps from its own LANDING_CHECKS list, and the leak gate no longer requires the file.
  • Docs in the catalog. Both components attach overview, architecture and runbook in spec.docs. recipes-tests gets a description, and its overview is regenerated.
  • Domain rename. The domain is renamed recipes → app, because a domain and a component share one name space in the catalog.
  • Fast shape (orun v2.88.0):
    • all five run-level task hooks are background: true;
    • each phase's task hook moves from pre to post, just before land;
    • both landings are checks: local;
    • the convergence watch reads every 5 s;
    • the pnpm-lockfile hook is gone;
    • 02-docs has no final probe and no narrate.await;
    • the deployment record asks the platform nothing. It is a static table of the secrets the product uses, plus a pointer to the console.
  • Timing and floor. expectedMinutes goes from 6 + 2 to 5 + 1, so the card goes from 8 to 6 ("about six minutes"). These are estimates, not measurements. The floor is v2.88.0 in BOOTSTRAP.md and in baseline.yml's blueprint and product tiers. ci.yml's lane pin (v2.78.4) is unchanged.
  • CI cache fix. baseline.yml's blueprint job sets package-manager-cache: false on setup-node. With the lockfile hook gone, that job runs no pnpm.

Why

  • Each per-key reconcile read the connections and the secrets on its own, so one hook saves those round trips.
  • The product's components were missing from its own catalog, with no docs attached and a domain hiding the deployable.
  • The bootstrap waited on things it doesn't need: the task set-up before the first phase, a runner's plan for a tree that is already in the box, a 40 s poll, and a final probe of a landing that redeploys nothing.

A product's PR lanes build, type-check and dry-deploy the Worker. recipes-tests runs quick-check, which neither lints nor runs the tests. The product README, its operating contract and the card's outcome line now say this, and they tell developers to run pnpm lint / pnpm test before pushing. The baseline's e2e tier still runs both before each tag.

Verified locally (orun v2.88.0)

  • orun new --blueprint repo-blueprint.yaml --status with the card's three required inputs: reads the blueprint.
  • manifest, phases, coverage, rebrand, retouch, bootstrap-defer: ok.
  • gen-component-docs.py --check: ok.
  • leak: ok.
  • placement (offline bootstrap of both phases, the product's own plan, --resume): ok.
  • e2e (the landing's checks, the stage lane's steps in its staged tree, the Worker served with wrangler dev, every recipe route): ok.
  • The new phases and coverage rules fail on the old blueprint and on the old recipes domain.

Generated by Claude Code

…talog, tasks in the background, landings checked here

What sourceplane/turso-starter became across baseline-v6, v7 and v8,
brought to the edge middleware recipes (one Worker, apps/recipes, and its
test suite, tests/recipes; one Cloudflare provider; no infra, no wiring).

A. One secrets hook. The two single-template reconciles
(secret-workers-deploy, secret-account-id) are one `secrets` reconcile
(orun >= v2.87.0): one connections read, one secrets read, the missing
keys created side by side. Same provider and no other parameters, so they
merge; keys, templates and order are the card's. manifest.test.sh reads
the `secrets` form beside `keys`. phases.test.sh's rule "one key per
reconcile" is replaced by the `secrets`-form rule (one hook per provider,
named `secrets` when it is the only one, no two hooks with the same
parameters). docs/phases and the card's comment name the one hook.

B. No Checks workflow; docs in the catalog; recipes found.
- checks.yml is gone. A product's pull requests verify through ci.yml's
  lanes, a bootstrap's landings in the box; the e2e tier runs the steps it
  ran (install, the fixture render, typecheck, lint, test, build) from its
  own LANDING_CHECKS list, and the leak gate no longer requires it. The
  PR lanes build, type-check and dry-deploy the Worker; recipes-tests'
  quick-check lane only installs and checks structure, so nothing in a
  product's CI lints or runs the tests. The product README, its operating
  contract and the card's outcome line ("A test per recipe, run with pnpm
  test", was "on every pull request") now say so.
- Both components attach overview, architecture and runbook in spec.docs
  (the pages were already generated). recipes-tests gets a description;
  its overview is regenerated with gen-component-docs.py.
- apps/recipes' domain is `app`, not `recipes`: the catalog keys a domain
  and a component by name, and a `recipes` domain hides the `recipes`
  component.
- coverage.test.sh holds both rules (the three pages attached and present,
  a description, no domain named like a component).

C. The fast shape on orun v2.88.0.
- The run-level task set-up runs in the background (`background: true` on
  all five hooks); each phase's `task` moves from `pre` to `post`, just
  before `land`, so neither phase has a `pre` hook.
- Both landings are `checks: local` and merge without waiting for CI.
- The convergence watch reads every 5 s (was the action's 40).
- No `pnpm-lockfile` hook: the shipped lockfile is installed frozen by the
  lanes and by the e2e tier.
- 02-docs: no final probe and no narrate.await. The render asks the
  platform nothing (no `orun workspace`, `orun secrets list` or
  `orun integrations list`); the record names CLOUDFLARE_API_TOKEN and
  CLOUDFLARE_ACCOUNT_ID (workspace scope) and the owner-set basic-auth
  pair (the project's stage and prod rungs), and points to the console's
  Secrets and Integrations pages. The "secrets inventory" wording follows.
- No orun.secrets/exists await existed (nothing publishes wiring), so none
  is removed or kept; phases.test.sh's stricter rule (no such await without
  an infra component) stays.
- expectedMinutes 6 + 2 -> 5 + 1, the card 8 -> 6, "about six minutes";
  estimates, not measured on this shape.
- Floor v2.88.0: BOOTSTRAP.md (with the `has no parameter "checks"` row)
  and baseline.yml's blueprint and product tiers — the e2e's offline
  bootstrap reads the blueprint, so the product tier takes the floor too.
  ci.yml's lane pin (v2.78.4) is unchanged. The blueprint job's setup-node
  asks for no pnpm cache: with the lockfile hook gone that job runs no
  pnpm, and setup-node v5's own cache would fail it on a missing store.
- phases.test.sh: the hook order with no `pre` hook and the task before
  each landing, and the fast-shape rules (every preInstantiate hook
  background, no task-plane `pre` hook, every landing checks: local, the
  watch at most 10 s, no lockfile re-resolve). narrate.await is required
  where a phase awaits and refused where it awaits nothing.

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