Repository navigation
Turnstile-protected contact page (reuses the mountain-infra ACE contact relay) - #38
Merged
Merged
Conversation
… contact relay - contact.html + contact.js: urlencoded POST (no preflight) to the shared relay; honeypot; single-use token reset; no email address or mailto: anywhere on the site. - CSP (terraform/main.tf): the only third-party allowances — script-src/frame-src challenges.cloudflare.com, connect-src the relay origin. Apply BEFORE merging or the widget/POST are blocked. - ci.yml: no-cache + ?v=<sha> cache-bust loop now covers both HTML pages. - Sidebar footer link, sitemap.xml entry, AGENTS/CHANGELOG docs. Pairs with mountain-infra#48 (CORS allow-list gains the edulab origin). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
git-cgallagher
marked this pull request as ready for review
August 13, 2026 20:57
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
A standalone
contact.html+contact.jsfor edulab.appalachiancloud.co — the site previously had no contact channel at all. No email address ormailto:appears anywhere (the inbox lives server-side in the relay).company), Cloudflare Turnstile (implicit render, ACE widget's public site key — a root-domain widget hostname covers subdomains, so no new widget).https://bep3iwibed.execute-api.us-east-1.amazonaws.com/contact(mountain-infracontact_api.tf: honeypot + server-sidesiteverify+ SES to the private inbox). Single-use Turnstile token reset on every attempt.terraform/main.tf): gains its only third-party allowances —script-src/frame-src challenges.cloudflare.com,connect-srcthe relay origin.frame-srcmust be explicit (else falls back todefault-src 'self'and the widget iframe is blocked).?v=<sha>cache-bust step now loops over both HTML pages (immutable-asset gotcha — see AGENTS.md).sitemap.xmlentry, AGENTS/CHANGELOG updated.Pairs with
git-cgallagher/mountain-infra#48 — the relay's CORS allow-list gains
https://edulab.appalachiancloud.co.Rollout order (operator)
aws-vault exec+terraform applyin mountain-infraterraform/lightsail/(#48 — CORS).aws-vault exec edulab-terraform+terraform applyin this repo'sterraform/(CSP headers policy — in-place update to the response-headers policy).Nothing to seed — no new SSM params, no new Turnstile widget.
🤖 Generated with Claude Code