Skip to content

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

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

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.

  • One secrets hook. secret-workers-deploy and secret-account-id are now one secrets reconcile (CLOUDFLARE_API_TOKEN from workers-deploy, CLOUDFLARE_ACCOUNT_ID from account-id, in the card's order).
  • No Checks workflow. checks.yml is deleted. The baseline's e2e tier runs the same steps (install, fixture render, git diff, typecheck, lint, test, build) from its own LANDING_CHECKS list.
  • Docs in the catalog. All three components attach their generated overview, architecture and runbook in spec.docs. web-tests gets a description, and its overview is regenerated.
  • No domain/component clash. apps/web's domain is renamed from web to app (no component is called app), with a comment saying why.
  • Fast shape.
    • Every preInstantiate hook is background: true.
    • Each phase's task moves from pre to post, just before land.
    • Both landings use checks: local.
    • The watch polls every 5 s.
    • The pnpm-lockfile hook is gone.
    • The wiring await is gone. The Worker's deploy job resolves WIRING_CLOUDFLARE_KV on stage and prod, fail-closed, so a green convergence proves it. No key stays awaited.
    • 02-docs loses its final probe and its narrate.await.
    • The render hook makes no platform CLI calls (it used to make five).
  • expectedMinutes go from 13 + 2 to 12 + 1. The card goes from 15 to 13 and now says "about thirteen minutes". These are estimates, not measurements.
  • 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 gets 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:

  • The task set-up no longer blocks the first phase.
  • Landings are checked in the box, so nothing waits for a runner.
  • Each await that only repeated what the convergence already proves is gone.
  • The catalog now shows every component and its docs. Before, the web domain hid the web component.

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 --status reads the blueprint.
  • These tests pass: manifest, phases, coverage, rebrand, retouch, bootstrap-defer, wire, leak, placement and e2e.
  • gen-component-docs.py --check is clean.
  • In a scratch copy, the new rules fail when they should: a web domain, a missing runbook attachment, and a landing without checks: local are each refused.

Generated by Claude Code

…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
@ruehowl
ruehowl merged commit 629e344 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