Repository navigation
EM6: the turso v8 shape — one secrets hook, no Checks, docs in the catalog, tasks in the background, landings checked here - #8
Merged
Conversation
…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
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
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.
secret-workers-deployandsecret-account-idbecome onesecretsreconcile, using thesecrets: [{key, template}]form. The keys, templates and order match the card.checks.ymlis deleted. The e2e tier now runs the same six steps from its ownLANDING_CHECKSlist, and the leak gate no longer requires the file.spec.docs.recipes-testsgets a description, and its overview is regenerated.recipes→app, because a domain and a component share one name space in the catalog.background: true;taskhook moves frompretopost, just beforeland;checks: local;pnpm-lockfilehook is gone;narrate.await;blueprintjob setspackage-manager-cache: falseon setup-node. With the lockfile hook gone, that job runs no pnpm.Why
planfor 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-testsruns 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 runpnpm lint/pnpm testbefore pushing. The baseline's e2e tier still runs both before each tag.Verified locally (orun v2.88.0)
orun new --blueprint repo-blueprint.yaml --statuswith the card's three required inputs: reads the blueprint.gen-component-docs.py --check: ok.--resume): ok.recipesdomain.Generated by Claude Code