Repository navigation
Conversation
- blueprint.yaml is the console card: inputs, the two brokered Cloudflare
secrets and the programme. It quotes 5 minutes, the sum of the phases'
estimates (4 + 1).
- repo-blueprint.yaml is the build, in sveltekit-boilerplate's
one-landing shape. 01-product places, brands and lands the whole site,
and one convergence builds it, gives each Worker its AUTH_SECRET and
deploys stage and prod side by side. 03-docs records what went live.
- The rename keeps Auth.js's own names, which contain the slug: the
`SvelteKitAuth` import and call, and sveltekit-auth-example (UPSTREAM in
tooling/rebrand/rebrand.mjs). The rebrand and placement tests prove it,
along with the ISC licence and the credit.
- The deployment record probes /, /signin and /auth/session, and names
AUTH_SECRET and the provider keys without their values.
- Context pack, generated component docs, BOOTSTRAP.md and docs/phases.
- testing/e2e.test.sh builds the stage lane in its own tree: the secret
step runs as a verify lane, and no planted value reaches the bundle.
It then serves the Worker under `wrangler dev` three times:
- with no AUTH_SECRET, the smoke refuses it;
- with the secret from `pnpm secret:dev`, every page answers;
- with GitHub's keys: the authorize URL with PKCE; a session sealed with
the Worker's secret opens /protected; one sealed with another secret
is refused; sign-out clears it.
Every tier is green locally: contract, docs --check, catalog validate,
--status, leak, placement and e2e.
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.
What
This PR makes sveltekit-auth an Orun baseline (SU-4).
blueprint.yaml: the console card. It lists the inputs, the two brokered Cloudflare secrets (workers-deployandaccount-id) and the programme (sveltekit-auth-baselining). It quotes 5 minutes, the sum of the phase estimates (4 + 1).repo-blueprint.yaml: the build, in sveltekit-boilerplate's one-landing shape.01-productplaces, brands and lands the whole site.03-docsrecords what went live.SvelteKitAuthimport and call, andsveltekit-auth-example(UPSTREAMintooling/rebrand/rebrand.mjs). The rebrand and placement tests prove those names, the ISC licence and the credit survive./,/signinand/auth/session, and lists AUTH_SECRET and the provider keys by name only.BOOTSTRAP.mdanddocs/phases.testing/e2e.test.sh: builds the stage lane in its own tree. The secret step runs there as a verify lane does, and no planted value reaches the bundle. It then serves the Worker underwrangler devthree times:pnpm secret:dev, every page answers./protected;Checks
All of these are green locally:
manifest,phases,coverage,rebrand,retouch,bootstrap-defer)gen-component-docs.py --checkorun catalog validate: 0 errorsorun new --statusBaseline CI runs the same tiers on this PR.
Generated by Claude Code