Skip to content

HA6: 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

hono-api brought to the shape sourceplane/turso-starter reached in baseline-v6 to v8:

  • One secrets hook. secret-workers-deploy and secret-account-id are merged into one secrets reconcile (secrets: [{key, template}]), with the same keys, templates and order as the card.
  • No Checks workflow. checks.yml is deleted. The e2e tier runs the same steps from its own LANDING_CHECKS list, at both landings.
  • Docs in the catalog. apps/api and tests/api attach their overview, architecture and runbook pages in spec.docs. api-tests gets a description.
  • Domain rename. apps/api's domain is renamed from api to app, because a domain must not share a component's name.
  • The orun v2.88.0 fast shape:
    • the task set-up runs in the background (background: true), and each phase's task 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 deployment record makes no platform calls.
  • Estimates. expectedMinutes go from 6 + 3 to 5 + 1. The card goes from 9 to 6 minutes, and its description now says "about six minutes".
  • Floor. The bootstrap floor is now v2.88.0: BOOTSTRAP.md, plus baseline.yml's blueprint and api tiers. ci.yml's lane pin (v2.78.4) is unchanged.
  • CI cache. The blueprint job's setup-node gets package-manager-cache: false, because nothing in that job runs pnpm any more.
  • Tests. testing/ follows: manifest, phases (fast-shape rules), coverage (catalog rules), e2e, leak and placement.

Why

  • Faster. Each landing used to wait about 25 s for a runner to plan a tree that was already in the build box. The task set-up used to block the first phase, and the watch only polled every 40 s.
  • Catalog. No component attached its pages, so the catalog showed no docs and failed both components on docs and runbook. A domain named api would also take the api component's place in the catalog.
  • Honest docs. A pull request's lanes do not lint or run the tests: api-tests uses quick-check. The API's README and operations.md now say to run pnpm typecheck, pnpm lint and pnpm test before 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 --status reads the blueprint.
  • These tests pass: manifest, phases, coverage, rebrand, retouch, bootstrap-defer, leak, placement and e2e (full install, the landing checks at both landings, the stage lane in its staged tree, wrangler dev with the smoke).
  • gen-component-docs.py --check passes.
  • The new phases and coverage rules fail on the old tree, as they should.

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 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
@ruehowl
ruehowl merged commit 311279b 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