Skip to content

AC6: the cirrus standard — no kiox, generated component docs, the context pack - #7

Merged
ruehowl merged 4 commits into
mainfrom
claude/brave-mccarthy-4l2qxb
Oct 21, 2026
Merged

ruehowl merged 4 commits into
mainfrom
claude/brave-mccarthy-4l2qxb

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Brings the baseline to cirrus-baseline's standard. Nothing about the chatbot (app code, versions, lockfile, the stack-tectonic pin) changes.

What changes

  • No kiox. kiox.yaml/kiox.lock pinned orun v2.15.0, which nothing ran; every workflow pins orun through orun-action's version: (untouched). The files, the root-kiox/root-kiox-lock modules (and their 01-product entries), the testing/phases.test.sh partition entries and the rebrand's ^kiox\.lock$ skip are removed.
  • Generated component docs. tooling/catalog/gen-component-docs.py (byte-identical to the one in HA4: the cirrus standard — no kiox, generated component docs, the context pack hono-api#5) writes docs/{overview,architecture,runbook}.md for all eight components (apps/web, packages/db, infra/db-migrate, infra/terraform/{supabase,cloudflare-hyperdrive,cloudflare-r2}, tests/{web,db}) from what each one declares. Baseline CI's baseline-contract job runs it with --check.
  • The context pack. ai/context/current.md, decisions.md (12 decisions, each with its source) and open-risks.md (AC-K, AC-L). These belong to this repository: no module places them, and a product still ships exactly operations.md + deployment.md.
  • Status matches the tags. AC5 → ✅ Shipped, #6, tagged baseline-v1, in the status file, epic README (Status / Cluster / Shipped as / milestones), specs/epics/README.md and implementation-plan.md. AC6 (AC-7) is recorded as a new milestone in epic.yaml, a tasks/AC-7.TaskContract.yaml, a plan section and status sections.
  • design.md matches the as-built code. It still described AC1–AC4, so each passage AC5 superseded is now marked, with the as-built fact next to it:
    • §2: the AI Gateway was listed as "Unchanged". Workers AI is now the default (Kimi K2.6 for chat, GLM 4.7 Flash for titles). Gateway models are offered only when AI_GATEWAY_API_KEY is set.
    • §2 and §5: AUTH_SECRET and the gateway key were "set by hand". Both are now optional: without AUTH_SECRET, the session key is the one 020_app_secrets generated.
    • §5: wrangler.jsonc was described as git-ignored. It is committed as the fixture render.
    • §5: the Supabase root was listed with seven outputs. It publishes three.
    • §4 and §7: the build now copies the static-assets cache with scripts/populate-static-assets-cache.mjs.
    • §9: "Workers AI as the model" was a rejected alternative. It is now marked as reversed.
    • Risk AC-C has a dated note: capability lookups now happen only for gateway models.

Verified locally

  • testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer,wire}.test.sh green. gen-component-docs.py --check green (8 components, 24 pages).
  • orun new --status at v2.58.11: 01-product 294 files, 02-docs hook-only.
  • testing/leak.test.sh at v2.58.11: 294 files derived (272 on main, minus 2 kiox files, plus 24 docs pages). ai/context is still exactly the two declared pages, and no shipped file names a factory path.
  • testing/placement.test.sh at v2.78.4 (this workflow's pin for that step): 294 files placed across both landings. The product's own plan orders supabase → cloudflare-hyperdrive → db-migrate → web and cloudflare-r2 → web, enforced on main and advisory on a PR. --resume changes nothing.
  • pnpm install --frozen-lockfile, wire:fixture + git diff --exit-code, typecheck, lint, test (57 tests: 47 web + 10 db), build: all green.
  • testing/e2e.test.sh at v2.78.4 green (9m29s). It covers:
    • the db-migrate and web lanes in staged job trees;
    • wrangler dev over a local Postgres, local R2 and the stand-in AI binding;
    • a guest's chat streamed, titled and listed, an attachment, and a registration;
    • anon/authenticated reading nothing.
  • orun task check AC-7: complete.

Generated by Claude Code

…text pack

- Remove kiox.yaml/kiox.lock and their two blueprint modules: nothing ran
  the kiox pin (v2.15.0); every workflow pins orun through orun-action.
- Generate docs/{overview,architecture,runbook}.md for all eight components
  from what each declares (tooling/catalog/gen-component-docs.py), and fail
  Baseline CI when they drift (--check).
- Add ai/context/{current,decisions,open-risks}.md (this repository's own;
  nothing places them).
- Close out AC5 (shipped, tagged baseline-v1) and record AC6 (AC-7).
- design.md: mark what AC5 superseded — Workers AI is the default model
  (the gateway only with AI_GATEWAY_API_KEY), AUTH_SECRET is optional (the
  database's key), wrangler.jsonc is committed, the Supabase root publishes
  three outputs; risk AC-C notes the lookups are now gateway-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
Nothing outside this milestone's own record names kiox — the record of
the removal necessarily does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
The generator now reads `optionalSecretEnv` (listed as "(optional)") and
secrets declared per environment under `subscribe.environments[]`, so a
page no longer leaves out a secret its component declares. Its tables are
laid out as prettier lays them out, the WIRING_* failure is listed only
for Workers that take wiring, and a package is no longer said to hold no
credentials. Every starter now carries the identical generator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha
@ruehowl
ruehowl marked this pull request as ready for review October 18, 2026 14:40
@ruehowl
ruehowl merged commit fc8be2b into main Oct 21, 2026
6 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