Repository navigation
CR7: the turso v8 shape — one secrets hook, no Checks, docs in the catalog, tasks in the background, landings checked here - #9
Merged
Conversation
…talog, tasks in the background, landings checked here
What sourceplane/turso-starter became across baseline-v6, v7 and v8, made
here for the cron starter (sourceplane/kv-redis-starter's KR8 is the
closest sibling: the same KV root, Worker and test package). Floor: orun
v2.88.0.
A. One secrets hook. secret-workers-deploy and secret-account-id (same
provider, no other parameters) are one `secrets` reconcile, the keys
and templates in the card's order: CLOUDFLARE_API_TOKEN
(workers-deploy), CLOUDFLARE_ACCOUNT_ID (account-id). manifest.test.sh
reads the `secrets: [{key, template}]` form beside `keys`.
B. No Checks workflow. checks.yml is gone; the landing is checked by
`plan` (now in the box), and the baseline's Tier 2 runs install, the
fixture render, typecheck, lint, test and build on the landing from its
own LANDING_CHECKS list (the commands checks.yml ran). Every component
attaches its generated overview, architecture and runbook in spec.docs,
web-tests has a description (its overview regenerated by
gen-component-docs.py), and apps/web's domain is `app`, not `web`,
which was also the component's name. coverage.test.sh holds both rules.
web-tests' quick-check lane does not run vitest or eslint, so a
product's pull requests no longer run them; the product README says so
and tells its developers to run them before pushing.
C. The fast shape. Every preInstantiate hook is `background: true`; each
phase's `task` moves from `pre` to `post`, just before its landing;
both landings are `checks: local`; the convergence watch reads every
5 s; the `pnpm-lockfile` hook is gone (the lockfile is installed frozen
by the lanes and by Tier 2). The `wiring` await is gone: its one key,
WIRING_CLOUDFLARE_KV, is resolved on stage and prod by the Worker's
deploy job (apps/web secretEnv, enforced on main) before its first
step, fail-closed, so a green convergence already proves it; no key
stays awaited. 02-docs loses its final probe and its narrate.await. The
render hook asks the platform nothing (it made five CLI calls) and
lists the secrets the site uses and where they live. expectedMinutes
13 + 2 becomes 12 + 1 (card 15 -> 13, "about thirteen minutes"). These
are estimates, not measurements.
phases.test.sh holds the fast shape, checks that every published wiring
document is resolved on stage and prod by a component (the reason the
await could go), and asks for narrate.await only where a phase awaits.
baseline.yml pins v2.88.0 on the blueprint, placement and site tiers;
ci.yml's lane pin (v2.78.4) is unchanged. The blueprint job's setup-node
asks for no pnpm cache (`package-manager-cache: false`): with the lockfile
hook gone nothing in it runs pnpm, and setup-node v5's own cache would
fail the job saving a store that does not exist.
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
cron-starter brought to the shape sourceplane/turso-starter reached in baseline-v8 (same changes as kv-redis-starter#10, its closest sibling). Floor: orun v2.88.0.
secret-workers-deployandsecret-account-idare now onesecretsreconcile (CLOUDFLARE_API_TOKENfromworkers-deploy,CLOUDFLARE_ACCOUNT_IDfromaccount-id, in the card's order).checks.ymlis deleted. The baseline's e2e tier runs the same steps (install, fixture render,git diff, typecheck, lint, test, build) from its ownLANDING_CHECKSlist.spec.docs.web-testsgets a description, and its overview is regenerated.apps/web's domain is renamed fromwebtoapp(no component is calledapp), with a comment saying why.preInstantiatehook isbackground: true.taskmoves frompretopost, just beforeland.checks: local.pnpm-lockfilehook is gone.wiringawait is gone. The Worker's deploy job resolvesWIRING_CLOUDFLARE_KVon stage and prod, fail-closed, so a green convergence proves it. No key stays awaited.narrate.await.package-manager-cache: false, because nothing in that job runs pnpm any more.Why
These changes make a bootstrap faster and its output more accurate:
webdomain hid thewebcomponent.Product PR lanes do not run the tests or the linter, so the product README now tells developers to run them before they push.
Verified locally
All tiers ran with orun v2.88.0:
orun new --statusreads the blueprint.gen-component-docs.py --checkis clean.webdomain, a missing runbook attachment, and a landing withoutchecks: localare each refused.Generated by Claude Code