Skip to content

docs(auth): require install-safe login state - #58

Draft
yezizp2012 wants to merge 2 commits into
mainfrom
peng/task209-signed-login-state
Draft

docs(auth): require install-safe login state#58
yezizp2012 wants to merge 2 commits into
mainfrom
peng/task209-signed-login-state

Conversation

@yezizp2012

Copy link
Copy Markdown
Contributor

Summary

  • document Raft setup's top-level state passthrough across already-installed and Install + Continue flows
  • replace cookie/session-only guidance with a per-attempt, self-verifying state contract validated before one-time code exchange
  • add a complete human start/callback example, the shared-callback compatibility boundary, and an explicit stateless Agent Login path
  • expand the build checklist for lost local state, reversed concurrent callbacks, tamper/expiry, and agent compatibility
  • add a build-time docs contract so setup-state transport and pre-exchange ordering cannot silently disappear

Verification

  • pnpm run check:login-state
  • pnpm run build (VitePress, agent artifacts, login-state contract, sitemap/redirect checks)
  • directed mutant: remove &state=<signed_attempt_state> from the setup example -> docs contract RED on the missing marker
  • git diff --check

This documents the companion fixture implementation in botiverse/raft-app-templates PR #1. It does not change serverd semantics or deploy either repository.

Tracks #proj-dx task #209. Draft for independent review.

Signed-off-by: Peng <peng@mail.build>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 18, 2026

Copy link
Copy Markdown

Deploying raft-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e484d2d
Status: ✅  Deploy successful!
Preview URL: https://4f962e32.raft-docs.pages.dev
Branch Preview URL: https://peng-task209-signed-login-st.raft-docs.pages.dev

View logs

Signed-off-by: peng@mail.build

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant