Repository navigation
BA4: better-auth-starter becomes an Orun baseline - #5
Merged
Merged
Conversation
The console card (blueprint.yaml: inputs, the four brokered Cloudflare secrets, 8 minutes summed from the phases, 7 + 1), the build document (repo-blueprint.yaml: 01-product lands the whole product in one landing, 02-docs records it), this tree's identity and task contracts (.baseline/), the rename engine, the bootstrap helpers, the deployment-record renderer, the product's README and context pack, generated component docs, and the baseline's tiers in Baseline CI: contract tests, the leak gate, the offline bootstrap with the product's own plan, and the end-to-end run. The e2e builds the bootstrapped product at its landing, runs its stage web lane (the stage documents' ids rendered, OAuth keys and an auth secret planted in the build's environment and kept out of the bundle, the dry run within 3 MiB) and its db-migrate lane against a stand-in D1 API, then serves it with wrangler dev: no schema and the smoke refuses it; migrated and the smoke passes; then every sign-in flow, an R2 round trip and the rate limit with no provider connected (testing/lib/auth-flows.py), and a GitHub sign-in started with keys handed over as the deploy hands them. tests/web's site test no longer pins the baseline's own name: the rename rewrites that seam, so the literal failed in every product. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNVpFBcbeiX3EHdXfmn
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.
BA4 (task BA-5): the baseline layer over the auth app.
What lands
blueprint.yaml— the console card: inputs, the four brokered Cloudflare secrets (workers-deploy,d1-edit,r2-data,account-id),expectedMinutes: 8(the phases' 7 + 1), the example product "Acme Accounts".repo-blueprint.yaml— the build document:01-productlands the whole product in one landing (D1, KV and R2 → db-migrate → web per environment), then02-docsrecords it..baseline/— this tree's identity, the task contracts, the product's README.tooling/rebrand), the bootstrap helpers (tooling/bootstrap), the deployment-record renderer (hooks/), and the component docs generator (tooling/catalog). The docs are generated for all 8 components.ai/context/),BOOTSTRAP.md,docs/phases/, and the README's baseline sections.testing/) and.github/workflows/baseline.yml, plustag.yml.The e2e (
testing/e2e.test.sh+testing/lib/auth-flows.py)wrangler dev:/api/healthanswers 503 and the component's own smoke check fails. Afterdb:migrate:local, the smoke check passes./and/dashboard, and the dashboardAlso
tests/web's site test no longer pins the nameAuth Starter. The rename rewrites that seam, so the test failed in every product; the e2e caught it.Local results
--check: okleak.test.sh: okplacement.test.sh: oke2e.test.sh: okorun new --status: okGenerated by Claude Code