Repository navigation
HA6: 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 Hono API (one Worker and its tests, no infra). 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, 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, BOOTSTRAP.md and the card's comment name the one hook. B. No Checks workflow; docs in the catalog; the API found. - checks.yml is gone. An API's pull requests verify through ci.yml's lanes (the Worker built, type-checked and dry-deployed per environment), 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, at both landings as before, and the leak gate no longer requires it. tests/api's lane is `quick-check` (install, then `test -f package.json`), so a pull request does not lint or run the tests: the API's README and operations.md say to run them before a push. - apps/api and tests/api attach overview, architecture and runbook in spec.docs; api-tests gets a description (its overview regenerated by tooling/catalog/gen-component-docs.py). - apps/api's domain is `app`, not `api`: the catalog keys a domain and a component by name, so the `api` domain would take the `api` component's place, as `web` did on turso-starter. `app` is no component's name here, and is the word turso, portfolio and astro use. - coverage.test.sh holds both rules (the three pages attached and present, a description, no domain in spec.domain or labels.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. - 02-docs: no final probe and no narrate.await (its render probes as it writes, and the landing redeploys nothing). The render asks the platform nothing: no `orun workspace`, `orun secrets list` (x3) 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 API's README follows. - No orun.secrets/exists await existed (no infra, nothing publishes wiring), so none is removed or kept. - expectedMinutes 6 + 3 -> 5 + 1, the card 9 -> 6, "about six minutes" (the card said "under ten"); estimates, not measured on this shape. - Floor v2.88.0 (from v2.58.11): BOOTSTRAP.md (with the `has no parameter "checks"`/"secrets" rows and the landing's local check) and baseline.yml's blueprint tier and its api tier — the e2e's offline bootstrap reads the blueprint, so that tier leaves the lane pin as turso's did in TU9. ci.yml's lane pin (v2.78.4) is unchanged. The blueprint job's setup-node gets `package-manager-cache: false`: with the lockfile hook gone nothing in it runs pnpm, and setup-node v5's own pnpm cache fails the job's post step when there is no store. - phases.test.sh keeps its cirrus-style 01-product chain, now ending `repo, link, secrets, task, land`, with one `secrets` reconcile per provider in place of one hook per key; no `pre` hooks; 01-product awaits converge then verify, 02-docs nothing; 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 required where a phase awaits and refused where it awaits nothing. Its old "await the wiring when there is infra" rule becomes a stop: an infra component fails the test until turso's reader rule is ported (or its wiring awaited). 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
hono-api brought to the shape sourceplane/turso-starter reached in baseline-v6 to v8:
secret-workers-deployandsecret-account-idare merged into onesecretsreconcile (secrets: [{key, template}]), with the same keys, templates and order as the card.checks.ymlis deleted. The e2e tier runs the same steps from its ownLANDING_CHECKSlist, at both landings.apps/apiandtests/apiattach their overview, architecture and runbook pages inspec.docs.api-testsgets a description.apps/api's domain is renamed fromapitoapp, because a domain must not share a component's name.background: true), and each phase'staskmoves topost, just beforeland;checks: local;pnpm-lockfilehook is gone;blueprintandapitiers. ci.yml's lane pin (v2.78.4) is unchanged.blueprintjob's setup-node getspackage-manager-cache: false, because nothing in that job runs pnpm any more.testing/follows: manifest, phases (fast-shape rules), coverage (catalog rules), e2e, leak and placement.Why
apiwould also take theapicomponent's place in the catalog.api-testsusesquick-check. The API's README and operations.md now say to runpnpm typecheck,pnpm lintandpnpm testbefore pushing. The baseline's e2e tier runs them before each tag.Verified locally
All tiers ran with the released orun v2.88.0:
orun new --statusreads the blueprint.wrangler devwith the smoke).gen-component-docs.py --checkpasses.Generated by Claude Code