Repository navigation
CS6: the turso v8 shape — one secrets hook, no Checks, docs in the catalog, tasks in the background, landings checked here - #8
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The turso-starter baseline-v8 shape, brought to the Sanity blog (two phases, one Cloudflare provider, no infra).
secret-workers-deployandsecret-account-idare onesecretsreconcile (secrets: [{key, template}]). Same keys, templates and order as the card.checks.ymlis deleted. The e2e tier runs its steps from aLANDING_CHECKSlist, 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.apps/webandtests/webattach their generated overview, architecture and runbook pages inspec.docs.web-testsgets a description, and its overview was regenerated with the repo's generator.apps/web's domain isapp, notweb. No component is namedapp.preInstantiatehook runs withbackground: truetaskhook moves topost, just beforelandchecks: localpnpm-lockfilehook is gonenarrate.awaitsecretsform.Why
webdomain hid thewebcomponent.Verified locally (orun v2.88.0)
orun new --blueprint repo-blueprint.yaml --status …: reads the blueprintgen-component-docs.py --check: okchecksleft as ci, a 40 s watch, a task inpre, the lockfile hook back, the final probe back, thewebdomain, missing docs or description).Generated by Claude Code