Skip to content

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

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 turso-starter baseline-v8 shape, brought to the Sanity blog (two phases, one Cloudflare provider, no infra).

  • One secrets hook. secret-workers-deploy and secret-account-id are one secrets reconcile (secrets: [{key, template}]). Same keys, templates and order as the card.
  • No Checks workflow. checks.yml is deleted. The e2e tier runs its steps from a LANDING_CHECKS list, at both landings. The blog's README and its operations page tell developers to run typecheck, lint and test before a push, because a PR's lanes only build and dry-deploy.
  • Docs in the catalog. apps/web and tests/web attach their generated overview, architecture and runbook pages in spec.docs. web-tests gets a description, and its overview was regenerated with the repo's generator.
  • Domain rename. apps/web's domain is app, not web. No component is named app.
  • Fast shape on orun v2.88.0:
    • every preInstantiate hook runs with background: true
    • each phase's task hook moves to post, just before land
    • both landings use checks: local
    • the convergence watch polls every 5 s
    • the pnpm-lockfile hook is gone
    • 02-docs has no final probe and no narrate.await
    • the render makes no platform calls; there were five, all removed
  • Times. expectedMinutes go from 12 + 2 to 11 + 1. The card goes from 14 to 12, and BOOTSTRAP says "about twelve minutes". These are estimates, not measurements.
  • Floor v2.88.0. BOOTSTRAP.md, plus the baseline.yml blueprint job, placement step and blog job. ci.yml's lane pin stays at v2.78.4.
  • Tests.
    • phases.test.sh: the 01-product chain pinned from cirrus is updated, and the fast-shape rules are added.
    • coverage.test.sh: new catalog rules.
    • manifest.test.sh: now reads the secrets form.

Why

  • Each separate reconcile made its own platform round trips.
  • The landing waited on a full Next.js build in Checks for a tree that the baseline's e2e tier had already built and tested before the tag.
  • The catalog attached no component pages, and the web domain hid the web component.
  • The task set-up, the 40 s watch interval, the lockfile hook, the final docs probe and the render's CLI calls each added waiting the build did not need.

Verified locally (orun v2.88.0)

  • orun new --blueprint repo-blueprint.yaml --status …: reads the blueprint
  • manifest, phases, coverage, rebrand, retouch, bootstrap-defer: ok
  • gen-component-docs.py --check: ok
  • leak: ok
  • placement: ok
  • e2e: ok
  • Each new rule was mutation-checked: the old shape fails it (keys form, checks left as ci, a 40 s watch, a task in pre, the lockfile hook back, the final probe back, the web domain, missing docs or description).

Generated by Claude Code

…talog, tasks in the background, landings checked here

What sourceplane/turso-starter became across baseline-v6, v7 and v8,
brought to the Sanity blog (two phases, 01-product and 02-docs; web and
its tests; one Cloudflare provider, Sanity connected by the owner later;
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. There is no Sanity
reconcile to keep apart: no platform connection mints Sanity's keys.
manifest.test.sh reads the `secrets` form beside `keys`; the card's
comment and docs/phases/01-product.md name the one hook.

B. No Checks workflow; docs in the catalog; web found.
- checks.yml is gone. The landing's PR waited on it (a full Next.js
  build); a blog's pull requests now verify through ci.yml's lanes, a
  bootstrap's landings through `plan`. The e2e tier runs the steps it ran
  (install, the fixture render, the committed config is that render,
  typecheck, lint, test, build) from its own LANDING_CHECKS list, at both
  landings as before; the leak gate no longer requires it. web's verify
  lanes build and dry-deploy and do not lint or run the tests, so the
  blog's README and its operating contract say to run them before a push,
  and the baseline's README CI table says what a PR runs.
- apps/web and tests/web attach overview, architecture and runbook in
  spec.docs (the pages were already generated by
  tooling/catalog/gen-component-docs.py); web-tests gets a description and
  the generator rewrote its overview. The generator's docstring follows
  turso's.
- apps/web's domain is `app`, not `web`: the catalog keys a domain and a
  component by name, so the `web` domain hid the `web` component. No
  component is named `app`.
- 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` (orun validate, then orun plan as the
  PR and as the merge, in the box) and merge without waiting for CI.
- The convergence watch reads every 5 s (it 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 (its render probes as it
  writes, and the landing redeploys nothing). 01-product keeps its probe.
- The render asks the platform nothing: the five calls (`orun workspace`,
  three `orun secrets list`, `orun integrations list`) are gone. The
  record names CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID (workspace),
  SANITY_PROJECT_ID and SANITY_DATASET (the project's stage and prod, once
  the owner stores them) and the SANITY_API_READ_TOKEN Worker secret, and
  points to the console's Secrets and Integrations pages. The "secrets
  inventory" wording in ai/context and the blog's README follows.
- No orun.secrets/exists await existed (nothing publishes wiring), so
  none is removed or kept.
- expectedMinutes 12 + 2 -> 11 + 1, the card 14 -> 12, BOOTSTRAP "about
  twelve minutes"; estimates, not measured on this shape.
- Floor v2.88.0: BOOTSTRAP.md (with the `has no parameter "checks"` row
  and the two `land` rows) and baseline.yml's blueprint tier, its
  placement step and its blog tier — each reads the blueprint, as turso's
  do since TU9. ci.yml's lane pin (v2.78.4) is unchanged. The blueprint
  tier's setup-node asks for no pnpm cache: with the lockfile hook gone
  that job never runs pnpm.
- phases.test.sh: this repository's copy carries cirrus's pinned 01-product
  chain, so that chain is what changed — `secrets` and `task` before
  `land`, no `pnpm-lockfile`, one `secrets: [{key, template}]` reconcile
  per provider (replacing "one key per hook"), awaits `converge` then
  `verify` (an infra component now stops the test until turso's reader
  rule is ported, instead of demanding a wiring await), 02-docs awaiting
  nothing (replacing the rule that demanded its final probe). Plus turso's
  fast-shape rules: no `pre` hook and no task-plane `pre` hook, every
  preInstantiate hook background, every landing checks: local, the watch
  at most 10 s; narrate.await required where a phase awaits and refused
  where it awaits nothing.

specs/ and tasks/ are untouched.

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