Redesign landing/dashboard, add glimmung test-slot chart #20

Merged
nelsong6 merged 1 commit from claude/trusting-euclid-d44da3 into main 2026-05-15 22:56:30 -07:00
nelsong6 commented 2026-05-15 22:51:39 -07:00 (Migrated from github.com)

Summary

  • Voight-Kampff design handoff from claude.ai/design landed in src/server.ts — signed-out card with rotating empathy prompt, signed-in dashboard (provenance / prior interrogations / authorized modules / decoded+raw claims), off-world ticker footer, pyramid corner mark, live UTC clock, JWKS kid surfaced in the topbar.
  • Adds k8s/issue/ chart + wildcard cert/listener for *.auth.dev.romaine.life so glimmung's native test-slot reconciler can install per-slot deployments.
  • TEST_MODE env flag: slot deployments render fixture data (Rachael Tyrell, role=admin, 4 granted apps) so an operator can cruise the UI without a dev DB or dev OAuth backend. auth.ts / db/client.ts have escapes so imports don't throw on missing prod env.
  • auth.ts trustedOrigins / crossSubDomainCookies.domain now env-configurable (TRUSTED_ORIGINS, COOKIE_DOMAIN) so slots scope cookies to auth.dev.romaine.life instead of .romaine.life. Prod list adds glimmung.romaine.life + *.glimmung.dev.romaine.life.
  • ONBOARDING.md covers the glimmung project registration + slot provisioning.

Test plan

  • npm run build clean
  • helm lint k8s/ clean
  • helm lint k8s/issue/ --set image.tag=test --set hostname=auth-slot-1.auth.dev.romaine.life clean
  • Sync prod chart to non-prod cluster — verify auth.romaine.life still renders the new landing/dashboard end-to-end (real Microsoft sign-in flow)
  • Verify wildcard cert + XListenerSet reconcile for *.auth.dev.romaine.life
  • Register auth as a glimmung project per ONBOARDING.md, provision 1 test slot
  • On auth-slot-1.auth.dev.romaine.life: signed-out → Sign in with Microsoft → signed-in dashboard renders fixture user → Tyrell Console → /admin fixture list → End interview → back to signed-out
  • Confirm slot cookie Domain=auth.dev.romaine.life (not .romaine.life)

Notes

  • Branch is currently 4 commits behind main (chore image bumps); rebase before merge.
  • Real auth on a test slot is intentionally out of scope. If/when that's wanted, ONBOARDING.md documents the additional dev Entra app + dev CNPG + schema-push steps required.

🤖 Generated with Claude Code

## Summary - Voight-Kampff design handoff from [claude.ai/design](https://api.anthropic.com/v1/design/h/TEqgCL7Ere_j_jZ0b-KuwQ?open_file=Voight-Kampff+Auth.html) landed in `src/server.ts` — signed-out card with rotating empathy prompt, signed-in dashboard (provenance / prior interrogations / authorized modules / decoded+raw claims), off-world ticker footer, pyramid corner mark, live UTC clock, JWKS kid surfaced in the topbar. - Adds `k8s/issue/` chart + wildcard cert/listener for `*.auth.dev.romaine.life` so glimmung's native test-slot reconciler can install per-slot deployments. - `TEST_MODE` env flag: slot deployments render fixture data (Rachael Tyrell, role=admin, 4 granted apps) so an operator can cruise the UI without a dev DB or dev OAuth backend. `auth.ts` / `db/client.ts` have escapes so imports don't throw on missing prod env. - `auth.ts` `trustedOrigins` / `crossSubDomainCookies.domain` now env-configurable (`TRUSTED_ORIGINS`, `COOKIE_DOMAIN`) so slots scope cookies to `auth.dev.romaine.life` instead of `.romaine.life`. Prod list adds `glimmung.romaine.life` + `*.glimmung.dev.romaine.life`. - [`ONBOARDING.md`](ONBOARDING.md) covers the glimmung project registration + slot provisioning. ## Test plan - [x] `npm run build` clean - [x] `helm lint k8s/` clean - [x] `helm lint k8s/issue/ --set image.tag=test --set hostname=auth-slot-1.auth.dev.romaine.life` clean - [ ] Sync prod chart to non-prod cluster — verify `auth.romaine.life` still renders the new landing/dashboard end-to-end (real Microsoft sign-in flow) - [ ] Verify wildcard cert + XListenerSet reconcile for `*.auth.dev.romaine.life` - [ ] Register `auth` as a glimmung project per ONBOARDING.md, provision 1 test slot - [ ] On `auth-slot-1.auth.dev.romaine.life`: signed-out → Sign in with Microsoft → signed-in dashboard renders fixture user → Tyrell Console → /admin fixture list → End interview → back to signed-out - [ ] Confirm slot cookie `Domain=auth.dev.romaine.life` (not `.romaine.life`) ## Notes - Branch is currently 4 commits behind main (chore image bumps); rebase before merge. - Real auth on a test slot is intentionally out of scope. If/when that's wanted, ONBOARDING.md documents the additional dev Entra app + dev CNPG + schema-push steps required. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.