Skip to content

PS7: 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

What sourceplane/turso-starter became across baseline-v6, v7 and v8, made here as kv-redis-starter (#10) did. The bootstrap floor is now orun v2.88.0.

  • One secrets hook. secret-workers-deploy and secret-account-id are now one secrets reconcile: CLOUDFLARE_API_TOKEN (workers-deploy), then CLOUDFLARE_ACCOUNT_ID (account-id), in the card's order.
  • No Checks workflow. checks.yml is deleted. The baseline's e2e tier runs the landing's checks from its own LANDING_CHECKS list: install, the fixture render, typecheck, lint, test, build.
  • Docs in the catalog. web, cloudflare-kv and web-tests each attach their overview, architecture and runbook in spec.docs. web-tests gets a description, and its overview page was regenerated.
  • No domain clash. apps/web's domain is now app instead of web, which was also the component's own name. No component is called app.
  • The fast shape.
    • The task set-up runs in the background, and each phase finds its task in post, just before its landing.
    • Both landings use checks: local.
    • The convergence watch reads every 5 s.
    • The pnpm-lockfile hook is gone.
    • The wiring await is gone.
    • 02-docs has no final probe and no narrate.await.
    • The deployment record makes no platform calls.
  • Estimates. expectedMinutes goes from 12 + 2 to 11 + 1. The card total goes from 14 to 12, and its text now says "about twelve minutes" (it said "fifteen" before). These are estimates, not measurements.
  • baseline.yml. The blueprint, placement and site tiers pin v2.88.0. The blueprint job's setup-node has package-manager-cache: false, because nothing in that job runs pnpm any more. ci.yml's lane pin (v2.78.4) is unchanged.

Why

  • Wiring await. Its only key, WIRING_CLOUDFLARE_KV, is resolved on stage and prod by the app's deploy job before its first step (apps/web secretEnv, enforced on main). That resolution is fail-closed: orun's runner fails the job if a secret is missing. So a green convergence already proves the document is there, and no key stays awaited.
  • Tests on pull requests. web-tests uses the quick-check lane, which only installs and checks the package. A product's pull requests therefore run neither vitest nor eslint. The product README and the operations page now say so and ask developers to run the tests before they push, instead of claiming the PR runs them.

Verified locally

All run with orun v2.88.0:

  • orun new --status reads the blueprint.
  • The contract tests pass: manifest, phases, coverage, rebrand, retouch, bootstrap-defer and wire. gen-component-docs.py --check is clean.
  • leak passes.
  • placement passes: on the merge the KV apply comes first and each Worker deploy waits on its own environment's apply; on a PR the edge is advisory; the 02-docs merge plans 0 jobs.
  • e2e passes: the landing's checks, the stage lane in its own job tree with a dry deploy, and wrangler dev with the smoke and every tenant route.
  • Each new rule was broken on purpose in a scratch copy, and the test caught it: task in pre, missing checks: local, a 40 s watch, a hook that isn't background, a redundant wiring await, narrate.await on 02-docs, the lockfile hook, the web domain, an unattached runbook, a missing description, and secrets drift between the card and the hook.

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 Platforms Starter Kit. 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. Every component (web, cloudflare-kv,
   web-tests) attaches its generated overview, architecture and runbook in
   spec.docs; web-tests has a description (its overview regenerated); and
   apps/web's domain is `app`, not `web`, which was also the component's
   name (no component is called `app`). coverage.test.sh holds both rules.
   web-tests' quick-check lane only installs and checks the package, so a
   product's pull requests run neither vitest nor eslint; the product
   README and operations page now say so and ask for them before a push,
   instead of claiming the PR runs them.

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 app'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
   12 + 2 becomes 11 + 1 (card 14 -> 12, "about twelve minutes"; the card
   said "fifteen"). These are estimates, not measurements.

phases.test.sh holds the fast shape, requires narrate.await only where a
phase awaits, and checks that every published wiring document is resolved
on stage and prod by a component, which is why the await could go.
baseline.yml pins v2.88.0 on the blueprint, placement and site tiers, and
the blueprint job's setup-node no longer turns on a pnpm cache nothing in
that job fills; ci.yml's lane pin (v2.78.4) is unchanged.

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