Repository navigation
CM7: the turso v8 shape — one secrets hook, no Checks, docs in the catalog, tasks in the background, landings checked here - #9
Merged
Conversation
…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
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 storefront baseline in the shape sourceplane/turso-starter reached at baseline-v8, on the orun v2.88.0 floor:
secret-workers-deploy,secret-r2-data,secret-account-id) are now onesecretshook. Each key keeps its own template, so the deploy token still has no R2 access.checks.ymlis deleted. The baseline's e2e tier runs its steps (install, fixture render, typecheck, lint, test, build) on the landing from aLANDING_CHECKSlist.spec.docs.web-testsgets a description, and its overview is regenerated.apps/web's domain is nowappinstead ofweb, so it no longer has the same name as thewebcomponent.background: true);taskhook moves topost, just before its landing;checks: local;wiringawait and 02-docs' final probe are removed;Why
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.webdomain hid thewebcomponent.Verified locally (orun v2.88.0)
orun new --blueprint repo-blueprint.yaml --statusreads the blueprint.gen-component-docs.py --check.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