Skip to content

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

The storefront baseline in the shape sourceplane/turso-starter reached at baseline-v8, on the orun v2.88.0 floor:

  • One secrets hook. The three Cloudflare reconciles (secret-workers-deploy, secret-r2-data, secret-account-id) are now one secrets hook. Each key keeps its own template, so the deploy token still has no R2 access.
  • No Checks workflow. checks.yml is deleted. The baseline's e2e tier runs its steps (install, fixture render, typecheck, lint, test, build) on the landing from a LANDING_CHECKS list.
  • Docs in the catalog. All three components attach their generated overview, architecture and runbook pages in spec.docs. web-tests gets a description, and its overview is regenerated.
  • Domain rename. apps/web's domain is now app instead of web, so it no longer has the same name as the web component.
  • The fast shape:
    • the task set-up runs in the background (background: true);
    • each phase's task hook moves to post, just before its landing;
    • both landings use checks: local;
    • the convergence watch polls every 5 s;
    • the lockfile hook, the wiring await and 02-docs' final probe are removed;
    • the deployment record no longer calls the platform (it made five CLI calls).
  • expectedMinutes go from 14 + 2 to 13 + 1. The card total is 14 and its description says "about fourteen minutes". These are estimates.

Why

  • Faster bootstrap. The bootstrap stops waiting on things it doesn't need: a runner planning a tree that is already in the box, the task plane, and a separate platform check of WIRING_CLOUDFLARE_R2. The storefront's stage and prod deploy jobs resolve that key through a required secretEnv ref, which fails closed, so a green convergence already proves it exists. No awaited key is kept.
  • Catalog fixes. Before this, the catalog attached no component docs, and the web domain hid the web component.

Verified locally (orun v2.88.0)

  • orun new --blueprint repo-blueprint.yaml --status reads the blueprint.
  • The contract tests pass: manifest, phases, coverage, rebrand, retouch, bootstrap-defer, wire. So does gen-component-docs.py --check.
  • The new phases and coverage rules fail when the old shape comes back.
  • The leak gate passes, and so does placement (the offline bootstrap plus the product's own plan).
  • The e2e tier passes: the landing installed, type-checked, linted, tested and built; the stage lane built and dry-deployed; the Worker served, smoke-tested and took a cart.

Note: the product's PR lanes don't run vitest or eslint (quick-check). The docs now say so instead of claiming they do.


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 storefront. Floor: orun v2.88.0.

A. One secrets hook. secret-workers-deploy, secret-r2-data 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_R2_TOKEN (r2-data),
   CLOUDFLARE_ACCOUNT_ID (account-id). The two scopes stay two: each key
   keeps its own template, so the deploy token still carries no R2.
   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 steps checks.yml ran). Every component
   attaches its generated overview, architecture and runbook in spec.docs
   (the pages already shipped), web-tests has a description (its overview
   regenerated with tooling/catalog/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, reading spec.domain and
   labels.domain. web-tests' quick-check lane only installs and checks the
   package, so a product's pull requests run neither vitest nor eslint;
   the docs say so and tell the product's developers to run them before
   they push.

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_R2, is resolved on stage and prod by the storefront's
   deploy job (apps/web secretEnv, a required ref, 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: the workspace slug, three secret listings, the integrations)
   and lists the secrets the store uses and where they live.
   expectedMinutes 14 + 2 becomes 13 + 1 (card 14, "about fourteen
   minutes"). These are estimates, not measurements.

phases.test.sh holds the fast shape and checks that every published
wiring document is resolved on stage and prod by a component, which is
the reason the await could go; narrate.await only where a phase awaits.
baseline.yml pins v2.88.0 on the blueprint, placement and site tiers, and
the blueprint job's setup-node asks for no pnpm cache; ci.yml's lane pin
(v2.78.4) is unchanged. specs/, tasks/ and ai/context/decisions.md are
left as they were.

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