Skip to content

ND7: 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 Nextra docs baseline brought to the shape sourceplane/turso-starter reached at baseline-v8. This follows portfolio-starter-kit #11, the closest sibling (a Next.js site on Workers, web and its tests, no infra).

  • One secrets hook. secret-workers-deploy and secret-account-id are now one secrets reconcile (orun.integrations/reconcile@v1, secrets: form), with the same keys, templates and order as the card.
  • No Checks workflow. .github/workflows/checks.yml is deleted. The e2e tier runs the steps it ran from its own LANDING_CHECKS list, and the leak gate no longer requires it.
  • Docs in the catalog. apps/web and tests/web attach their overview, architecture and runbook pages in spec.docs. web-tests now has a description, and its overview was regenerated.
  • Domain rename. apps/web's domain is app, not web. The catalog keys domains and components by name, so the old domain hid the component. coverage.test.sh now enforces all three rules.
  • The orun v2.88.0 fast shape:
    • the task set-up runs in the background (background: true);
    • each phase's task hook moves from pre to post, just before land;
    • both landings use checks: local;
    • the convergence watch polls every 5 s;
    • the pnpm-lockfile hook is removed;
    • 03-docs has no final probe and no narrate.await;
    • the deployment record asks the platform nothing.
  • Time estimates. expectedMinutes goes from 5 + 1 to 4 + 1, the card from 6 to 5, and the card text says "about five minutes". These are estimates; this shape has not been measured yet.
  • Floor. BOOTSTRAP.md and baseline.yml's blueprint and site tiers move to v2.88.0. ci.yml's lane pin (v2.78.4) is unchanged.
  • Tests. phases.test.sh gains the PRE/POST/AWAIT lists and the fast-shape rules.

Why

  • One secrets hook: one connections read and one secrets read instead of two in a row.
  • No Checks workflow: a site's pull requests are verified by ci.yml's lanes, and a bootstrap's landings by plan.
  • Docs and domain: with no spec.docs, the catalog attached no pages for any component, and the web domain hid the web component.
  • Fast shape: it removes waits that nothing needed:
    • the task set-up no longer runs before the first phase;
    • no landing waits about 25 s for a runner to plan a tree the box already holds;
    • the watch no longer lags up to 40 s behind a green run;
    • 03-docs no longer re-probes after a landing that deploys nothing.

PR lanes do not lint or run the tests (tests/web is quick-check). The site's README now says so and tells developers to run typecheck, lint and test before pushing. The baseline's own e2e tier runs them before each tag.

There was no orun.secrets/exists await in this repo (it has no wiring), so none was removed or kept.

Verified locally

All run with the released orun v2.88.0:

  • orun new --blueprint repo-blueprint.yaml --status with the card's required inputs reads the blueprint.
  • These tests are green: manifest, phases, coverage, rebrand, retouch, bootstrap-defer, gen-component-docs.py --check, leak, placement and e2e (full build, dry deploy, wrangler dev smoke).
  • I checked that the new phases rules fail when they should: each of these edits made the test fail with its own message:
    • a hook without background;
    • checks: ci;
    • pollSeconds: 40;
    • a task in pre;
    • narrate.await on 03-docs;
    • no narrate.await on 01-product.
  • The coverage rule likewise fails on domain: web.

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 Nextra docs site (web and its tests, one Cloudflare
provider, no infra and 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. manifest.test.sh
reads the `secrets` form beside `keys`; docs/phases/01-product.md and the
card's comment name the one hook.

B. No Checks workflow; docs in the catalog; web found.
- checks.yml is gone. A site's pull requests verify through ci.yml's
  lanes, a bootstrap's landings through `plan`; the e2e tier runs the
  steps checks.yml ran (install, the fixture render, typecheck, lint,
  test, build) from its own LANDING_CHECKS list, and the leak gate no
  longer requires it. tests/web's lane is `quick-check`, so a site's pull
  request does not lint or run the tests: the site's README says to run
  them before a push, and the baseline's e2e tier runs them before a tag.
- apps/web and tests/web attach overview, architecture and runbook in
  spec.docs; web-tests gets a description (its overview regenerated by
  tooling/catalog/gen-component-docs.py).
- 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.
- 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.
- No `pnpm-lockfile` hook: the shipped lockfile is installed frozen by
  the lanes and by the e2e tier.
- 03-docs: no final probe (its render probes as it writes, and the
  landing redeploys nothing) and no narrate.await. The render asks the
  platform nothing: no `orun workspace`, `orun secrets list` or
  `orun integrations list`; the record names CLOUDFLARE_API_TOKEN and
  CLOUDFLARE_ACCOUNT_ID (workspace scope) and points to the console's
  Secrets and Integrations pages. The "secrets inventory" wording in
  ai/context and the site's README follows.
- No orun.secrets/exists await existed (no wiring here), so none is
  removed or kept.
- expectedMinutes 5 + 1 -> 4 + 1, the card 6 -> 5, "about five
  minutes"; estimates, not measured on this shape.
- Floor v2.88.0: BOOTSTRAP.md (with the `has no parameter "checks"` row)
  and baseline.yml's blueprint tier (placement included) and its site
  tier, whose offline bootstrap reads the blueprint. ci.yml's lane pin
  (v2.78.4) is unchanged.
- phases.test.sh: PRE/POST/AWAIT lists and the fast-shape rules (every
  preInstantiate hook background, no task-plane `pre` hook, every
  landing checks: local, the watch at most 10 s). narrate.await is
  required where a phase waits (an await hook or a requires probe) and
  refused where it waits on nothing.

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