Update routing to keep GameForge management local on aethex.dev
Modify `App.tsx` to retain local routing for `/dashboard/gameforge` and `/gameforge/manage/*` while redirecting public GameForge routes to `aethex.foundation`. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 3d76e971-6dc7-43ad-844f-58f19cac4148 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/aPpJgbb Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
4f12e4e671
commit
0ba8ee370f
2 changed files with 42 additions and 13 deletions
|
|
@ -203,10 +203,14 @@ const App = () => (
|
||||||
path="/dashboard/labs"
|
path="/dashboard/labs"
|
||||||
element={<ExternalRedirect to="https://aethex.studio/dashboard" />}
|
element={<ExternalRedirect to="https://aethex.studio/dashboard" />}
|
||||||
/>
|
/>
|
||||||
{/* GameForge Dashboard redirects to Foundation (Non-Profit Program) */}
|
{/* GameForge Dashboard stays local on aethex.dev (Management Hub per Axiom Model) */}
|
||||||
<Route
|
<Route
|
||||||
path="/dashboard/gameforge"
|
path="/dashboard/gameforge"
|
||||||
element={<ExternalRedirect to="https://aethex.foundation/gameforge/dashboard" />}
|
element={
|
||||||
|
<RequireAccess>
|
||||||
|
<GameForgeDashboard />
|
||||||
|
</RequireAccess>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
{/* Dev-Link dashboard redirects to Nexus dashboard */}
|
{/* Dev-Link dashboard redirects to Nexus dashboard */}
|
||||||
<Route
|
<Route
|
||||||
|
|
@ -354,7 +358,25 @@ const App = () => (
|
||||||
<Route path="/labs" element={<ExternalRedirect to="https://aethex.studio" />} />
|
<Route path="/labs" element={<ExternalRedirect to="https://aethex.studio" />} />
|
||||||
<Route path="/labs/*" element={<ExternalRedirect to="https://aethex.studio" />} />
|
<Route path="/labs/*" element={<ExternalRedirect to="https://aethex.studio" />} />
|
||||||
|
|
||||||
{/* GameForge redirects to aethex.foundation/gameforge (Non-Profit Program - Axiom Model) */}
|
{/* GameForge Management routes stay local on aethex.dev (Axiom Model - Write/Control) */}
|
||||||
|
<Route
|
||||||
|
path="/gameforge/manage"
|
||||||
|
element={
|
||||||
|
<RequireAccess>
|
||||||
|
<GameForgeDashboard />
|
||||||
|
</RequireAccess>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
<Route
|
||||||
|
path="/gameforge/manage/*"
|
||||||
|
element={
|
||||||
|
<RequireAccess>
|
||||||
|
<GameForgeDashboard />
|
||||||
|
</RequireAccess>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* GameForge public routes redirect to aethex.foundation/gameforge (Axiom Model - Read-Only Showcase) */}
|
||||||
<Route path="/gameforge" element={<ExternalRedirect to="https://aethex.foundation/gameforge" />} />
|
<Route path="/gameforge" element={<ExternalRedirect to="https://aethex.foundation/gameforge" />} />
|
||||||
<Route path="/gameforge/*" element={<ExternalRedirect to="https://aethex.foundation/gameforge" />} />
|
<Route path="/gameforge/*" element={<ExternalRedirect to="https://aethex.foundation/gameforge" />} />
|
||||||
|
|
||||||
|
|
|
||||||
27
replit.md
27
replit.md
|
|
@ -35,17 +35,24 @@ Domain architecture is centralized around `aethex.foundation` as the Identity Au
|
||||||
## Axiom Model Routing (Legal Entity Separation)
|
## Axiom Model Routing (Legal Entity Separation)
|
||||||
The monolith (`aethex.dev`) implements split routing to enforce legal separation between For-Profit and Non-Profit arms:
|
The monolith (`aethex.dev`) implements split routing to enforce legal separation between For-Profit and Non-Profit arms:
|
||||||
|
|
||||||
| Route | Destination | Legal Entity | Action |
|
| Route | Destination | Legal Entity | Action | Purpose |
|
||||||
|-------|-------------|--------------|--------|
|
|-------|-------------|--------------|--------|---------|
|
||||||
| `/foundation/*` | `https://aethex.foundation` | Non-Profit (Guardian) | **Redirect** |
|
| `/foundation/*` | `https://aethex.foundation` | Non-Profit (Guardian) | **Redirect** | Public showcase |
|
||||||
| `/gameforge/*` | `https://aethex.foundation/gameforge` | Non-Profit (Program) | **Redirect** |
|
| `/gameforge` | `https://aethex.foundation/gameforge` | Non-Profit (Program) | **Redirect** | Public showcase (GET/Read-Only) |
|
||||||
| `/dashboard/gameforge` | `https://aethex.foundation/gameforge/dashboard` | Non-Profit | **Redirect** |
|
| `/gameforge/*` (public) | `https://aethex.foundation/gameforge` | Non-Profit (Program) | **Redirect** | Browse/apply |
|
||||||
| `/labs/*` | `https://aethex.studio` | For-Profit (Skunkworks) | **Redirect** |
|
| `/dashboard/gameforge` | stays on `aethex.dev` | For-Profit (Management) | **Local** | Management Hub (POST/PUT/DELETE) |
|
||||||
| `/dashboard/labs` | `https://aethex.studio/dashboard` | For-Profit (Skunkworks) | **Redirect** |
|
| `/gameforge/manage/*` | stays on `aethex.dev` | For-Profit (Management) | **Local** | Management routes |
|
||||||
| `/nexus/*` | stays on `aethex.dev` | For-Profit (Monetization) | Local |
|
| `/labs/*` | `https://aethex.studio` | For-Profit (Skunkworks) | **Redirect** | R&D |
|
||||||
| `/corp/*` | stays on `aethex.dev` | For-Profit (Services) | Local |
|
| `/dashboard/labs` | `https://aethex.studio/dashboard` | For-Profit (Skunkworks) | **Redirect** | Labs dashboard |
|
||||||
|
| `/nexus/*` | stays on `aethex.dev` | For-Profit (Monetization) | **Local** | Marketplace |
|
||||||
|
| `/corp/*` | stays on `aethex.dev` | For-Profit (Services) | **Local** | Services |
|
||||||
|
|
||||||
This ensures the Foundation's user-facing URLs display `aethex.foundation` in the browser, demonstrating operational independence per the Axiom Model.
|
### GameForge Routing Mandate
|
||||||
|
Per the Axiom Model, GameForge routes are split by ownership/function:
|
||||||
|
- **aethex.foundation/gameforge** = The Mission (Public Showcase) - GET only, read-only
|
||||||
|
- **aethex.dev/gameforge** = The Money (Management Hub) - POST, PUT, DELETE operations
|
||||||
|
|
||||||
|
This ensures the Foundation's user-facing URLs display `aethex.foundation` in the browser for public content, while management operations remain on the for-profit platform.
|
||||||
|
|
||||||
## NEXUS Core Architecture (Universal Data Layer)
|
## NEXUS Core Architecture (Universal Data Layer)
|
||||||
The NEXUS Core serves as the Single Source of Truth for all talent/contract metadata, supporting AZ Tax Commission reporting and legal entity separation.
|
The NEXUS Core serves as the Single Source of Truth for all talent/contract metadata, supporting AZ Tax Commission reporting and legal entity separation.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue