Skip to content

Add an isolated staging-only Cap CAPTCHA pilot - #50

Open
ccycv wants to merge 1 commit into
shifter-io:mainfrom
ccycv:codex/cap-staging-pilot
Open

ccycv wants to merge 1 commit into
shifter-io:mainfrom
ccycv:codex/cap-staging-pilot

Conversation

@ccycv

@ccycv ccycv commented Nov 19, 2026

Copy link
Copy Markdown

Summary

  • Add a Cap verifier restricted to a development API with one exact HTTPS staging origin.
  • Keep the default Google reCAPTCHA verifier, production validation, and the live SDK unchanged.
  • Provide a staging-only Compose stack with isolated Redis and Valkey, an allowlisted reverse proxy, and a test page that calls the real session endpoint. No proxy gateway or production credentials are used.

Local verification

  • cargo test --locked --bin shifter-web: 33 passed; 11 real-Redis tests remain covered by existing CI.
  • cargo fmt --check and cargo clippy --locked --all-targets -- -D warnings: passed.
  • node --check deploy/cap-staging/pilot.js and Docker Compose configuration validation: passed.
  • Reviewed commit 93058af for production-mode rejection, secret isolation, and failure handling. Staging acceptance is tracked separately from this PR.

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