Repository navigation
feat: the front door — the console URL opens the staff admin (LX3) - #21
Merged
Merged
Conversation
The Lumen console Worker (web-console-next) becomes a small redirect Worker: every old path, its OAuth callback (/auth/callback -> /auth/lumen/callback) included, answers 308 to its place in the same environment's CMS, and only on its own hosts. Its Next.js UI and tests are removed. Ported from sourceplane/lumen-payload#25 (PX4) without its root redirect: the CMS root stays the academy's catalogue. - intent.yaml's stage and prod product URLs are the CMS root (the academy; staff reach /admin there or through the old console URL) - billing-worker's checkout return (POLAR_SUCCESS_URL) is the CMS billing page; the parked custom domain targets the CMS Worker - the admin carries the product's name and mark (Logo, Icon, "— Multi Tenant Saas 2" titles), the staff sign-in too - the console's deploy smoke checks the 308 into the CMS and that the console URL lands on the Lumen sign-in; its redirect tests run in its build - docs: the console's README and docs rewritten as the redirect Worker; CMS architecture and overview; the parked domain's README; epic status Orun-Task: LX-4 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG
ruehowl
marked this pull request as ready for review
October 28, 2026 22:17
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.
LX3 of
multi-tenant-saas-2-console(task LX-4). Ported from sourceplane/lumen-payload#25 (PX4), without its root redirect: the CMS root stays the academy's catalogue.What changes
apps/web-console-nextbecomes a small redirect Worker. Every old console path answers 308 to its place in the same environment's CMS, and only on its own hosts (/→/admin,/login→/admin/login,/account→/admin/account,/orgs/<slug>/settings/billing→/admin/organization/billing,/auth/callback→/auth/lumen/callback, query kept). Its Next.js UI, tests and the leftovers the LMS's console had of its own (artifact pin, Next/OpenNext configs, web manifest,src/lib, the app-config test) are removed.intent.yaml's stage and prod URLs are the CMS root (the academy).execution.stateis untouched.POLAR_SUCCESS_URLis the CMS billing page.workerNamePrefixmulti-tenant-saas-2-cms,dependsOn: cms).Verified locally
tests/web-console-next/src/redirect.test.ts).tests/cms: 214 passing. The console builds (tsc).mainafter LX2 (feat(cms): the Lumen account and billing pages in the Payload admin (LX2) #20). The tree is identical to the verified commit.After merge
On stage and prod, read-only:
/auth/callbackanswer 308 into the CMS;Generated by Claude Code