# ravefocus worker + creator portal routing

Current primary live app:
https://agreeable-mushroom-05c98dd1e.7.azurestaticapps.net

SharePoint quest-center folder:
https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center

## current SharePoint portal folders

These folders are handoff/storage areas inside the existing RaveFocus SharePoint `Documents` library. They are not separate SharePoint sites yet.

Use `outputs/sharepoint-site-area-plan.html` for the current decision sheet on whether to keep these folders for launch or create true worker/creator SharePoint sites such as `/sites/ravefocus-workers` and `/sites/ravefocus-creators`.

If you choose true SharePoint sites, use `outputs/sharepoint-worker-creator-site-create-packet.html` and the guarded `launch/create-worker-creator-sharepoint-sites.ps1` helper. The helper previews by default and requires explicit owner/admin apply flags before any site creation.

- Worker portal folder:
  https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center/worker%20portal%20-%20workers
- Worker docs:
  https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center/worker%20portal%20-%20workers/docs
- Worker launch proof:
  https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center/worker%20portal%20-%20workers/launch%20proof
- Worker forms and lists:
  https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center/worker%20portal%20-%20workers/forms%20and%20lists
- Creator portal folder:
  https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center/creator%20portal%20-%20creators
- Creator docs:
  https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center/creator%20portal%20-%20creators/docs
- Creator launch proof:
  https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center/creator%20portal%20-%20creators/launch%20proof
- Creator forms and intake:
  https://ravefocus.sharepoint.com/Shared%20Documents/website%20-%20quest%20center/creator%20portal%20-%20creators/forms%20and%20intake

## intended public routes

- Workers:
  https://workers.ravefocus.com
- Creators:
  https://creators.ravefocus.com

Both custom domains are verified in Azure Static Web Apps and open publicly. Do not add duplicate GoDaddy DNS records.

Short copy/paste owner sheet:
`outputs/godaddy-dns-owner-action-sheet.html`

## required GoDaddy DNS records

These GoDaddy DNS records are verified for `ravefocus.com`:

| type | host/name | value |
| --- | --- | --- |
| TXT | `_dnsauth.workers` | `_ztod8w7enaewnuag0ognk3kjv3s6r63` |
| CNAME | `workers` | `agreeable-mushroom-05c98dd1e.7.azurestaticapps.net` |
| TXT | `_dnsauth.creators` | `_yi4q2o4cnc23gkizvf6bwcgmts4a8yd` |
| CNAME | `creators` | `agreeable-mushroom-05c98dd1e.7.azurestaticapps.net` |

After any deployment, auth, or Microsoft setup change, rerun:

```powershell
npm.cmd run build:domain-dns-verification
npm.cmd run build:godaddy-dns-owner-action-sheet
npm.cmd run verify:live
npm.cmd run verify:render
```

## site split

Worker portal:
- quests
- proof submission
- forms center
- profile
- levels/rewards
- role guides
- SharePoint List form links after Lists exist
- no private admin vault access

Creator portal:
- creator onboarding
- booking/session intake
- public-safe profile details
- availability/session context
- owner-reviewed intake records
- no private worker/pay/admin records

Admin area:
- SharePoint setup proof
- Microsoft Lists
- Planner Premium ID capture
- Power Automate flow IDs
- auth roles
- final go-live preflight
- private proof/pay review

## true SharePoint site creation packet

The proposed true site URLs are:

- Worker site: `https://ravefocus.sharepoint.com/sites/ravefocus-workers`
- Creator site: `https://ravefocus.sharepoint.com/sites/ravefocus-creators`

Current verified state: these true sites are not created yet. The existing `worker portal - workers` and `creator portal - creators` items are document-library folders inside the quest-center archive.

Use the creation packet only after GoDaddy DNS/custom domains, SharePoint Lists/forms, Microsoft auth roles, and owner approval are ready enough for the site split.

## important safety boundary

Do not add passwords, recovery codes, ID photos, billing/card/bank info, private fan/customer records, private creator records, payout settings, or platform recovery details to worker-facing pages or general SharePoint notes.

If sensitive proof exists, write only:

owner-only private record required

## current blocker

Worker and creator routes are not ready for invite traffic yet because:

- SharePoint Lists/forms are still draft-safe until admin consent/list creation is finished.
- Microsoft auth/privacy rules are mapped but not enforced for production worker/admin access yet.
- Planner Premium IDs, Power Automate IDs, and final preflight still need owner/admin verification.
