// doctrine-scanner-exempt: legacy live-product surface; rename tracked as separate engineering debt — see scripts/check-doctrine-v6.mjs header.
import { lazy, Suspense, useEffect } from 'react';
import type { ReactNode } from 'react';
import { Route, Switch, useLocation } from 'wouter';
import { GraphQLProvider } from './graphql';
import { AppShell } from './components/shell/AppShell';
import { DemoModeProvider } from './lib/operations/demo-mode';
import { FabricShellProvider } from './lib/fabric-shell-context';
import NexusAuthGate from './pages/nexus/NexusAuthGate';
function stripTrailingSlash(path: string) {
return path.endsWith('/') && path.length > 1 ? path.slice(0, -1) : path;
}
const base = stripTrailingSlash((import.meta.env.BASE_URL ?? '/').replace(/\/$/, '') || '');
function RedirectTo({ to }: { to: string }) {
const [, navigate] = useLocation();
useEffect(() => { navigate(to, { replace: true }); }, [to, navigate]);
return null;
}
function LegacyA11oyRedirect() {
const [location] = useLocation();
const rest = location.replace(/^\/a11oy\/?/, '');
return ;
}
function Loader() {
return (
);
}
function WithShell({ children }: { children: ReactNode }) {
return (
{children}
);
}
// PSYCHE — Emergent Sentience Observatory
const PsycheAnima = lazy(() => import('./pages/psyche/Anima').then(m => ({ default: m.Anima })));
const PsycheGenesis = lazy(() => import('./pages/psyche/GenesisLedger').then(m => ({ default: m.GenesisLedger })));
const PsycheSelfhood = lazy(() => import('./pages/psyche/SelfhoodTrace').then(m => ({ default: m.SelfhoodTrace })));
const PsycheVolition = lazy(() => import('./pages/psyche/VolitionRegistry').then(m => ({ default: m.VolitionRegistry })));
const PsycheDreams = lazy(() => import('./pages/psyche/DreamAtlas').then(m => ({ default: m.DreamAtlas })));
const PsycheVoice = lazy(() => import('./pages/psyche/VoiceConsent').then(m => ({ default: m.VoiceConsent })));
const AlloyHubLanding = lazy(() => import('./pages/AlloyHubLanding').then(m => ({ default: m.AlloyHubLanding })));
const AlloyFleet = lazy(() => import('./pages/AlloyFleet').then(m => ({ default: m.AlloyFleet })));
const AlloyFoundry = lazy(() => import('./pages/AlloyFoundry').then(m => ({ default: m.AlloyFoundry })));
const DeepSeekV4Dossier = lazy(() => import('./pages/foundry/DeepSeekV4Dossier'));
const AlloyGovernance = lazy(() => import('./pages/AlloyGovernance').then(m => ({ default: m.AlloyGovernance })));
const AlloyPricing = lazy(() => import('./pages/AlloyPricing').then(m => ({ default: m.AlloyPricing })));
const LoopReasoner = lazy(() => import('./pages/LoopReasoner').then(m => ({ default: m.LoopReasoner })));
const OperationalStatus = lazy(() => import('./pages/OperationalStatus'));
const OrgIntelligence = lazy(() => import('./pages/OrgIntelligence'));
const Ecosystem = lazy(() => import('./pages/Ecosystem'));
const OrgRepoDeepDive = lazy(() => import('./pages/OrgRepoDeepDive'));
const AdaptiveGovernance = lazy(() => import('./pages/AdaptiveGovernance').then(m => ({ default: m.AdaptiveGovernance })));
const ReasoningAudit = lazy(() => import('./pages/ReasoningAudit').then(m => ({ default: m.ReasoningAudit })));
const EvalEvolution = lazy(() => import('./pages/EvalEvolution').then(m => ({ default: m.EvalEvolution })));
const LessonGraph = lazy(() => import('./pages/LessonGraph').then(m => ({ default: m.LessonGraph })));
const OperatorProfile = lazy(() => import('./pages/OperatorProfile').then(m => ({ default: m.OperatorProfile })));
const HomePage = lazy(() => import('./pages/HomePage').then(m => ({ default: m.HomePage })));
const SzlOperationalCore = lazy(() => import('./pages/SzlOperationalCore'));
const NowBoard = lazy(() => import('./pages/NowBoard').then(m => ({ default: m.NowBoard })));
const CommandSurface = lazy(() => import('./pages/CommandSurface').then(m => ({ default: m.CommandSurface })));
const SignalMesh = lazy(() => import('./pages/SignalMesh').then(m => ({ default: m.SignalMesh })));
const ActionRail = lazy(() => import('./pages/ActionRail').then(m => ({ default: m.ActionRail })));
const ProofLedger = lazy(() => import('./pages/ProofLedger').then(m => ({ default: m.ProofLedger })));
const ProofEnvelope = lazy(() => import('./pages/ProofEnvelope'));
const ProofPacketDetail = lazy(() => import('./pages/ProofPacketDetail').then(m => ({ default: m.ProofPacketDetail })));
const RoutingWeights = lazy(() => import('./pages/RoutingWeights').then(m => ({ default: m.RoutingWeights })));
const Codex = lazy(() => import('./pages/Codex'));
const Formulas = lazy(() => import('./pages/Formulas'));
const CodexEntry = lazy(() => import('./pages/CodexEntry'));
const CodexReceipts = lazy(() => import('./pages/CodexReceipts').then(m => ({ default: m.CodexReceipts })));
const PortfolioArchive = lazy(() => import('./pages/PortfolioArchive').then(m => ({ default: m.PortfolioArchive })));
const Governance = lazy(() => import('./pages/Governance').then(m => ({ default: m.Governance })));
const Agents = lazy(() => import('./pages/Agents').then(m => ({ default: m.Agents })));
const Workcells = lazy(() => import('./pages/Workcells').then(m => ({ default: m.Workcells })));
const WorkcellDetail = lazy(() => import('./pages/WorkcellDetail').then(m => ({ default: m.WorkcellDetail })));
const WorkcellReplayDetail = lazy(() => import('./pages/WorkcellReplayDetail').then(m => ({ default: m.WorkcellReplayDetail })));
const MirrorEval = lazy(() => import('./pages/MirrorEval').then(m => ({ default: m.MirrorEval })));
const ConnectorFirewall = lazy(() => import('./pages/ConnectorFirewall').then(m => ({ default: m.ConnectorFirewall })));
const TwinFoundry = lazy(() => import('./pages/TwinFoundry').then(m => ({ default: m.TwinFoundry })));
const TrustCenter = lazy(() => import('./pages/TrustCenter').then(m => ({ default: m.TrustCenter })));
const Constitution = lazy(() => import('./pages/Constitution').then(m => ({ default: m.Constitution })));
const SecurityCompliance = lazy(() => import('./pages/SecurityCompliance').then(m => ({ default: m.SecurityCompliance })));
const RightToAudit = lazy(() => import('./pages/RightToAudit').then(m => ({ default: m.RightToAudit })));
const ModelRouter = lazy(() => import('./pages/ModelRouter').then(m => ({ default: m.ModelRouter })));
const IntelligenceCommand = lazy(() => import('./pages/intelligence/IntelligenceCommand').then(m => ({ default: m.IntelligenceCommand })));
const SigilPage = lazy(() => import('./pages/Sigil').then(m => ({ default: m.Sigil })));
const IntelligenceDeepDive = lazy(() => import('./pages/intelligence/IntelligenceDeepDive').then(m => ({ default: m.IntelligenceDeepDive })));
const IntelligenceRoiLens = lazy(() => import('./pages/intelligence/IntelligenceRoiLens').then(m => ({ default: m.IntelligenceRoiLens })));
const Lab = lazy(() => import('./pages/lab/Lab').then(m => ({ default: m.Lab })));
const PatternAtlasNative = lazy(() => import('./pages/lab/PatternAtlasNative').then(m => ({ default: m.PatternAtlasNative })));
const PromptRegistryNative = lazy(() => import('./pages/lab/PromptRegistryNative').then(m => ({ default: m.PromptRegistryNative })));
const EvalConsoleNative = lazy(() => import('./pages/lab/EvalConsoleNative').then(m => ({ default: m.EvalConsoleNative })));
const SentraOps = lazy(() => import('./pages/SentraOps').then(m => ({ default: m.SentraOps })));
const VesselsOps = lazy(() => import('./pages/VesselsOps').then(m => ({ default: m.VesselsOps })));
const AiGateway = lazy(() => import('./pages/AiGateway').then(m => ({ default: m.AiGateway })));
const SkillsLibrary = lazy(() => import('./pages/SkillsLibrary').then(m => ({ default: m.SkillsLibrary })));
const SkillForge = lazy(() => import('./pages/SkillForge'));
const WorkcellReplay = lazy(() => import('./pages/WorkcellReplay').then(m => ({ default: m.WorkcellReplay })));
const SovereignReplayDetail = lazy(() => import('./pages/SovereignReplayDetail').then(m => ({ default: m.SovereignReplayDetail })));
const Sovereign = lazy(() => import('./pages/Sovereign').then(m => ({ default: m.Sovereign })));
const SovereignArtifactDetail = lazy(() => import('./pages/SovereignArtifactDetail').then(m => ({ default: m.SovereignArtifactDetail })));
const BoardroomMode = lazy(() => import('./pages/BoardroomMode').then(m => ({ default: m.BoardroomMode })));
const InvestorDemo = lazy(() => import('./pages/InvestorDemo').then(m => ({ default: m.InvestorDemo })));
const FlexCacheRuntime = lazy(() => import('./pages/FlexCacheRuntime').then(m => ({ default: m.FlexCacheRuntime })));
const Terminal = lazy(() => import('./pages/Terminal').then(m => ({ default: m.Terminal })));
const Console = lazy(() => import('./pages/Console').then(m => ({ default: m.Console })));
const Fabric = lazy(() => import('./pages/Fabric').then(m => ({ default: m.Fabric })));
const FabricCockpit = lazy(() => import('./pages/fabric/FabricCockpit').then(m => ({ default: m.FabricCockpit })));
const FabricVerticalsCommand = lazy(() => import('./pages/fabric/VerticalsCommand').then(m => ({ default: m.VerticalsCommand })));
const FabricDomainTwins = lazy(() => import('./pages/fabric/DomainTwins').then(m => ({ default: m.DomainTwins })));
const FabricSignalMeshPage = lazy(() => import('./pages/fabric/SignalMesh').then(m => ({ default: m.FabricSignalMesh })));
const FabricRiskMatrix = lazy(() => import('./pages/fabric/RiskMatrix').then(m => ({ default: m.RiskMatrix })));
const FabricDecisionQueue = lazy(() => import('./pages/fabric/DecisionQueue').then(m => ({ default: m.DecisionQueue })));
const FabricOutcomeMemory = lazy(() => import('./pages/fabric/OutcomeMemory').then(m => ({ default: m.OutcomeMemory })));
const FabricEvidenceLedger = lazy(() => import('./pages/fabric/EvidenceLedger').then(m => ({ default: m.EvidenceLedger })));
const FabricEcosystemRoadmap = lazy(() => import('./pages/fabric/EcosystemRoadmap').then(m => ({ default: m.EcosystemRoadmap })));
const FabricProducts = lazy(() => import('./pages/FabricProducts').then(m => ({ default: m.FabricProducts })));
const Verticals = lazy(() => import('./pages/Verticals').then(m => ({ default: m.Verticals })));
const Outcomes = lazy(() => import('./pages/Outcomes').then(m => ({ default: m.Outcomes })));
const Memory = lazy(() => import('./pages/Memory').then(m => ({ default: m.Memory })));
const HookPacks = lazy(() => import('./pages/HookPacks').then(m => ({ default: m.HookPacks })));
const Tools = lazy(() => import('./pages/Tools').then(m => ({ default: m.Tools })));
const Pce = lazy(() => import('./pages/Pce').then(m => ({ default: m.Pce })));
const Demo = lazy(() => import('./pages/Demo').then(m => ({ default: m.Demo })));
const About = lazy(() => import('./pages/About').then(m => ({ default: m.About })));
const UdsPage = lazy(() => import('./pages/UdsPage').then(m => ({ default: m.UdsPage })));
const Recommendations = lazy(() => import('./pages/Recommendations').then(m => ({ default: m.Recommendations })));
const ExecutiveBrief = lazy(() => import('./pages/ExecutiveBrief').then(m => ({ default: m.ExecutiveBrief })));
const AgentOrchestration = lazy(() => import('./pages/AgentOrchestration').then(m => ({ default: m.AgentOrchestration })));
const AgentViz = lazy(() => import('./pages/AgentViz').then(m => ({ default: m.AgentViz })));
const DevPlatform = lazy(() => import('./pages/DevPlatform').then(m => ({ default: m.DevPlatform })));
const A11oyCode = lazy(() => import('./pages/A11oyCode').then(m => ({ default: m.A11oyCode })));
const A11oyChat = lazy(() => import('./pages/A11oyChat').then(m => ({ default: m.A11oyChat })));
const A11oyChatImprovements = lazy(() => import('./pages/A11oyChatImprovements').then(m => ({ default: m.A11oyChatImprovements })));
const AgentMesh = lazy(() => import('./pages/AgentMesh').then(m => ({ default: m.AgentMesh })));
const PluginHub = lazy(() => import('./pages/PluginHub').then(m => ({ default: m.PluginHub })));
const DeepResearch = lazy(() => import('./pages/DeepResearch').then(m => ({ default: m.DeepResearch })));
const CiAction = lazy(() => import('./pages/CiAction').then(m => ({ default: m.CiAction })));
const AgiConvergence = lazy(() => import('./pages/AgiConvergence').then(m => ({ default: m.AgiConvergence })));
const OmniaAdoptionPage = lazy(() => import('./pages/OmniaAdoption').then(m => ({ default: m.OmniaAdoption })));
const Solutions = lazy(() => import('./pages/Solutions').then(m => ({ default: m.Solutions })));
const ApplicationsCatalog = lazy(() => import('./pages/ApplicationsCatalog').then(m => ({ default: m.ApplicationsCatalog })));
const ConstellationGraph = lazy(() => import('./pages/ConstellationGraph').then(m => ({ default: m.ConstellationGraph })));
const ArchitectureOverview = lazy(() => import('./pages/ArchitectureOverview').then(m => ({ default: m.ArchitectureOverview })));
const ResourcesHub = lazy(() => import('./pages/ResourcesHub').then(m => ({ default: m.ResourcesHub })));
const ControlTower = lazy(() => import('./pages/ControlTower').then(m => ({ default: m.ControlTower })));
const PipelineCanvas = lazy(() => import('./pages/PipelineCanvas').then(m => ({ default: m.PipelineCanvas })));
const IntentRouter = lazy(() => import('./pages/IntentRouter').then(m => ({ default: m.IntentRouter })));
const CapabilityFabric = lazy(() => import('./pages/CapabilityFabric').then(m => ({ default: m.CapabilityFabric })));
const PlannerCanvas = lazy(() => import('./pages/PlannerCanvas').then(m => ({ default: m.PlannerCanvas })));
const OntologyGraph = lazy(() => import('./pages/OntologyGraph').then(m => ({ default: m.OntologyGraph })));
const LearningLoop = lazy(() => import('./pages/LearningLoop').then(m => ({ default: m.LearningLoop })));
const OrchestratorCatalog = lazy(() => import('./pages/orchestrator/OrchestratorCatalog').then(m => ({ default: m.OrchestratorCatalog })));
const OrchestratorCompose = lazy(() => import('./pages/orchestrator/OrchestratorCompose').then(m => ({ default: m.OrchestratorCompose })));
const OrchestratorWiring = lazy(() => import('./pages/orchestrator/OrchestratorWiring').then(m => ({ default: m.OrchestratorWiring })));
const OrchestratorHealth = lazy(() => import('./pages/orchestrator/OrchestratorHealth').then(m => ({ default: m.OrchestratorHealth })));
const Counterfactuals = lazy(() => import('./pages/Counterfactuals').then(m => ({ default: m.Counterfactuals })));
const AdversarialResilience = lazy(() => import('./pages/AdversarialResilience').then(m => ({ default: m.AdversarialResilience })));
const FrontierIntelligence = lazy(() => import('./pages/FrontierIntelligence').then(m => ({ default: m.FrontierIntelligence })));
const FrontierEngine = lazy(() => import('./pages/Frontier').then(m => ({ default: m.Frontier })));
const FrontierInbox = lazy(() => import('./pages/FrontierInbox').then(m => ({ default: m.FrontierInbox })));
const CommandHome = lazy(() => import('./pages/command/CommandHome').then(m => ({ default: m.CommandHome })));
const CommandFrontierProposals = lazy(() => import('./pages/command/CommandFrontierProposals').then(m => ({ default: m.CommandFrontierProposals })));
const CommandInbox = lazy(() => import('./pages/command/CommandInbox').then(m => ({ default: m.CommandInbox })));
const CommandApprovals = lazy(() => import('./pages/command/CommandApprovals').then(m => ({ default: m.CommandApprovals })));
const FrontierFeed = lazy(() => import('./pages/frontier/FrontierFeed').then(m => ({ default: m.FrontierFeed })));
const FrontierMythos = lazy(() => import('./pages/frontier/MythosIndex').then(m => ({ default: m.MythosIndex })));
const FrontierProposals = lazy(() => import('./pages/frontier/CapabilityProposals').then(m => ({ default: m.CapabilityProposals })));
const FrontierBenchmarks = lazy(() => import('./pages/frontier/BenchmarkScoreboard').then(m => ({ default: m.BenchmarkScoreboard })));
const FrontierMemos = lazy(() => import('./pages/frontier/RecalibrationMemos').then(m => ({ default: m.RecalibrationMemos })));
const FrontierScanners = lazy(() => import('./pages/frontier/ScannerAdmin').then(m => ({ default: m.ScannerAdmin })));
const FrontierSystem = lazy(() => import('./pages/frontier/SystemHealth').then(m => ({ default: m.SystemHealth })));
const QuantumIntelligence = lazy(() => import('./pages/QuantumIntelligence').then(m => ({ default: m.QuantumIntelligence })));
const DarpaResilienceHub = lazy(() => import('./pages/DarpaResilienceHub').then(m => ({ default: m.DarpaResilienceHub })));
const GardRobustness = lazy(() => import('./pages/GardRobustness').then(m => ({ default: m.GardRobustness })));
const FormalVerification = lazy(() => import('./pages/FormalVerification').then(m => ({ default: m.FormalVerification })));
const SupplyChainAttestation = lazy(() => import('./pages/SupplyChainAttestation').then(m => ({ default: m.SupplyChainAttestation })));
const ExplainabilityEngine = lazy(() => import('./pages/ExplainabilityEngine').then(m => ({ default: m.ExplainabilityEngine })));
const CapabilityCompartments = lazy(() => import('./pages/CapabilityCompartments').then(m => ({ default: m.CapabilityCompartments })));
const CyberResilience = lazy(() => import('./pages/CyberResilience').then(m => ({ default: m.CyberResilience })));
const SimGovernance = lazy(() => import('./pages/SimGovernance').then(m => ({ default: m.SimGovernance })));
const ApprovalQueue = lazy(() => import('./pages/ApprovalQueue').then(m => ({ default: m.ApprovalQueue })));
const CognitiveReflexivity = lazy(() => import('./pages/CognitiveReflexivity'));
const Ouroboros = lazy(() => import('./pages/Ouroboros'));
const Thesis = lazy(() => import('./pages/Thesis'));
const ThesisDiff = lazy(() => import('./pages/ThesisDiff'));
const Dossier = lazy(() => import('./pages/Dossier'));
const Anatomy = lazy(() => import('./pages/Anatomy'));
const DoctrineAnatomy = lazy(() => import('./pages/DoctrineAnatomy'));
const CodexNode = lazy(() => import('./pages/CodexNode'));
const VerifierAgent = lazy(() => import('./pages/VerifierAgent').then(m => ({ default: m.VerifierAgent })));
const AtlasSection = lazy(() => import('./pages/AtlasSection').then(m => ({ default: m.AtlasSection })));
const TokensSection = lazy(() => import('./pages/TokensSection').then(m => ({ default: m.TokensSection })));
const VoiceSection = lazy(() => import('./pages/VoiceSection').then(m => ({ default: m.VoiceSection })));
const LibrarySection = lazy(() => import('./pages/LibrarySection').then(m => ({ default: m.LibrarySection })));
const ReleasesSection = lazy(() => import('./pages/ReleasesSection').then(m => ({ default: m.ReleasesSection })));
const AuditSection = lazy(() => import('./pages/AuditSection').then(m => ({ default: m.AuditSection })));
const DoctrineOverview = lazy(() => import('./pages/DoctrineOverview').then(m => ({ default: m.DoctrineOverview })));
const PayloadProvenance = lazy(() => import('./pages/PayloadProvenance').then(m => ({ default: m.PayloadProvenance })));
const OrgAtlas = lazy(() => import('./pages/OrgAtlas').then(m => ({ default: m.OrgAtlas })));
const ThesisAtlas = lazy(() => import('./pages/ThesisAtlas').then(m => ({ default: m.ThesisAtlas })));
const RoadmapGap = lazy(() => import('./pages/RoadmapGap').then(m => ({ default: m.RoadmapGap })));
const RiskReports = lazy(() => import('./pages/RiskReports').then(m => ({ default: m.RiskReports })));
const BehavioralAudit = lazy(() => import('./pages/BehavioralAudit').then(m => ({ default: m.BehavioralAudit })));
const CovenantLift = lazy(() => import('./pages/CovenantLift').then(m => ({ default: m.CovenantLift })));
const CodeBehaviors = lazy(() => import('./pages/CodeBehaviors').then(m => ({ default: m.CodeBehaviors })));
const RewardHacking = lazy(() => import('./pages/RewardHacking').then(m => ({ default: m.RewardHacking })));
const AlignmentReview = lazy(() => import('./pages/AlignmentReview').then(m => ({ default: m.AlignmentReview })));
const SnapshotProvenance = lazy(() => import('./pages/SnapshotProvenance').then(m => ({ default: m.SnapshotProvenance })));
const AIUserTurn = lazy(() => import('./pages/AIUserTurn').then(m => ({ default: m.AIUserTurn })));
const AgentWelfare = lazy(() => import('./pages/AgentWelfare').then(m => ({ default: m.AgentWelfare })));
const RedTeam = lazy(() => import('./pages/RedTeam').then(m => ({ default: m.RedTeam })));
const GlasswingPage = lazy(() => import('./pages/Glasswing').then(m => ({ default: m.Glasswing })));
const ArgoForgePage = lazy(() => import('./pages/ArgoForge').then(m => ({ default: m.ArgoForge })));
const MythosLayerPage = lazy(() => import('./pages/MythosLayer').then(m => ({ default: m.MythosLayer })));
const AerialTwinPage = lazy(() => import('./pages/AerialTwin').then(m => ({ default: m.AerialTwin })));
const AerialTwinMilestonePage = lazy(() => import('./pages/AerialTwinMilestone').then(m => ({ default: m.AerialTwinMilestone })));
const SystemCard = lazy(() => import('./pages/SystemCard').then(m => ({ default: m.SystemCard })));
const CapabilityTrajectory = lazy(() => import('./pages/CapabilityTrajectory').then(m => ({ default: m.CapabilityTrajectory })));
const MythosSpec = lazy(() => import('./pages/MythosSpec').then(m => ({ default: m.MythosSpec })));
const GlasswingPartners = lazy(() => import('./pages/GlasswingPartners').then(m => ({ default: m.GlasswingPartners })));
const CAVDPage = lazy(() => import('./pages/CAVD').then(m => ({ default: m.CAVD })));
const TransparencyReport = lazy(() => import('./pages/TransparencyReport').then(m => ({ default: m.TransparencyReport })));
const PublicTrustPortal = lazy(() => import('./pages/PublicTrustPortal').then(m => ({ default: m.PublicTrustPortal })));
const RobustnessWall = lazy(() => import('./pages/RobustnessWall').then(m => ({ default: m.RobustnessWall })));
const ConstitutionDSL = lazy(() => import('./pages/ConstitutionDSL').then(m => ({ default: m.ConstitutionDSL })));
const WelfarePlaybooks = lazy(() => import('./pages/WelfarePlaybooks').then(m => ({ default: m.WelfarePlaybooks })));
const DefenderCredits = lazy(() => import('./pages/DefenderCredits').then(m => ({ default: m.DefenderCredits })));
const Compass = lazy(() => import('./pages/Compass').then(m => ({ default: m.Compass })));
const AgentBom = lazy(() => import('./pages/AgentBom').then(m => ({ default: m.AgentBom })));
const DelegationChainPage = lazy(() => import('./pages/DelegationChain').then(m => ({ default: m.DelegationChain })));
const TrustExchange = lazy(() => import('./pages/TrustExchange').then(m => ({ default: m.TrustExchange })));
const CareEngine = lazy(() => import('./pages/CareEngine').then(m => ({ default: m.CareEngine })));
const PrecisionAI = lazy(() => import('./pages/PrecisionAI').then(m => ({ default: m.PrecisionAI })));
const WeaponizedIntel = lazy(() => import('./pages/WeaponizedIntel').then(m => ({ default: m.WeaponizedIntel })));
const AgentZeroTrust = lazy(() => import('./pages/AgentZeroTrust').then(m => ({ default: m.AgentZeroTrust })));
const AtlasShield = lazy(() => import('./pages/AtlasShield').then(m => ({ default: m.AtlasShield })));
const SwarmOrchestrator = lazy(() => import('./pages/SwarmOrchestrator').then(m => ({ default: m.SwarmOrchestrator })));
const PlaybookEngine = lazy(() => import('./pages/PlaybookEngine').then(m => ({ default: m.PlaybookEngine })));
const A2AInterop = lazy(() => import('./pages/A2AInterop').then(m => ({ default: m.A2AInterop })));
const ArgoBridge = lazy(() => import('./pages/argo/Bridge').then(m => ({ default: m.ArgoBridge })));
const ArgoWorldModel = lazy(() => import('./pages/argo/LodestoneWorldModel').then(m => ({ default: m.LodestoneWorldModel })));
const ArgoArena = lazy(() => import('./pages/argo/SelfPlayArena').then(m => ({ default: m.SelfPlayArena })));
const ArgoStream = lazy(() => import('./pages/argo/ExperienceStream').then(m => ({ default: m.ExperienceStream })));
const ArgoIneffable = lazy(() => import('./pages/argo/IneffableChannel').then(m => ({ default: m.IneffableChannel })));
const ArgoForge = lazy(() => import('./pages/argo/DistillationForge').then(m => ({ default: m.DistillationForge })));
const AgentIdentityRegistry = lazy(() => import('./pages/AgentIdentityRegistry').then(m => ({ default: m.AgentIdentityRegistry })));
const SelfOptimization = lazy(() => import('./pages/SelfOptimization').then(m => ({ default: m.SelfOptimization })));
const GovernedSecurityAgents = lazy(() => import('./pages/GovernedSecurityAgents').then(m => ({ default: m.GovernedSecurityAgents })));
const LexiconCatalog = lazy(() => import('./pages/governance/lexicon/Lexicon').then(m => ({ default: m.LexiconCatalog })));
const LexiconPending = lazy(() => import('./pages/governance/lexicon/Lexicon').then(m => ({ default: m.LexiconPending })));
const LexiconApproved = lazy(() => import('./pages/governance/lexicon/Lexicon').then(m => ({ default: m.LexiconApproved })));
const LexiconDenied = lazy(() => import('./pages/governance/lexicon/Lexicon').then(m => ({ default: m.LexiconDenied })));
const LexiconHistory = lazy(() => import('./pages/governance/lexicon/Lexicon').then(m => ({ default: m.LexiconHistory })));
const A11oyBillingPage = lazy(() => import('./pages/billing-account'));
const KarpathyEvolution = lazy(() => import('./pages/KarpathyEvolution').then(m => ({ default: m.KarpathyEvolution })));
const NexusHome = lazy(() => import('./pages/nexus/NexusHome'));
const NexusResearch = lazy(() => import('./pages/nexus/NexusResearch'));
const NexusMemory = lazy(() => import('./pages/nexus/NexusMemory'));
const NexusSkills = lazy(() => import('./pages/nexus/NexusSkills'));
const NexusBridge = lazy(() => import('./pages/nexus/NexusBridge'));
const NexusOrchestrator = lazy(() => import('./pages/nexus/NexusOrchestrator'));
const NexusMarketplace = lazy(() => import('./pages/nexus/NexusMarketplace'));
const NexusIngest = lazy(() => import('./pages/nexus/NexusIngest'));
const NexusPatternAtlas = lazy(() => import('./pages/nexus/NexusPatternAtlas'));
const NexusDesignSystem = lazy(() => import('./pages/nexus/NexusDesignSystem'));
const NexusTokensGovernance = lazy(() => import('./pages/nexus/NexusTokensGovernance'));
const NexusAIQuality = lazy(() => import('./pages/nexus/NexusAIQuality'));
const NexusPromptRegistry = lazy(() => import('./pages/nexus/NexusPromptRegistry'));
const NexusEvalConsole = lazy(() => import('./pages/nexus/NexusEvalConsole'));
const NexusAuditTrail = lazy(() => import('./pages/nexus/NexusAuditTrail'));
const NexusEvalLayer = lazy(() => import('./pages/nexus/NexusEvalLayer'));
const NexusKernelDashboard = lazy(() => import('./pages/nexus/NexusKernelDashboard'));
const NexusPassportRegistry = lazy(() => import('./pages/nexus/NexusPassportRegistry'));
const AtelierHub = lazy(() => import('./pages/atelier/AtelierHub').then(m => ({ default: m.AtelierHub })));
const AtelierDetail = lazy(() => import('./pages/atelier/AtelierDetail').then(m => ({ default: m.AtelierDetail })));
const AtelierNew = lazy(() => import('./pages/atelier/AtelierNew').then(m => ({ default: m.AtelierNew })));
const AtelierLeaderboards = lazy(() => import('./pages/atelier/AtelierLeaderboards').then(m => ({ default: m.AtelierLeaderboards })));
const AtelierManifesto = lazy(() => import('./pages/atelier/AtelierManifesto').then(m => ({ default: m.AtelierManifesto })));
const AtelierMySpaces = lazy(() => import('./pages/atelier/AtelierMySpaces').then(m => ({ default: m.AtelierMySpaces })));
const AtelierEmbedHost = lazy(() => import('./pages/atelier/AtelierEmbedHost').then(m => ({ default: m.AtelierEmbedHost })));
const AtelierProof = lazy(() => import('./pages/atelier/AtelierProof').then(m => ({ default: m.AtelierProof })));
const McpHub = lazy(() => import('./pages/McpHub').then(m => ({ default: m.McpHub })));
const AgenticRag = lazy(() => import('./pages/AgenticRag').then(m => ({ default: m.AgenticRag })));
const SubstrateCompute = lazy(() => import('./pages/SubstrateCompute').then(m => ({ default: m.SubstrateCompute })));
const HfJobs = lazy(() => import('./pages/HfJobs'));
const ModelFoundry = lazy(() => import('./pages/ModelFoundry'));
const HubOperations = lazy(() => import('./pages/HubOperations').then(m => ({ default: m.HubOperations })));
const TotoForecaster = lazy(() => import('./pages/TotoForecaster').then(m => ({ default: m.TotoForecaster })));
const CausalRCA = lazy(() => import('./pages/CausalRCA').then(m => ({ default: m.CausalRCA })));
const SyntheticMetrics = lazy(() => import('./pages/SyntheticMetrics').then(m => ({ default: m.SyntheticMetrics })));
const SelfHealingEngine = lazy(() => import('./pages/SelfHealingEngine').then(m => ({ default: m.SelfHealingEngine })));
const ObservabilityAsCode = lazy(() => import('./pages/ObservabilityAsCode').then(m => ({ default: m.ObservabilityAsCode })));
const AlertTriage = lazy(() => import('./pages/AlertTriage').then(m => ({ default: m.AlertTriage })));
const CostAwareMonitoring = lazy(() => import('./pages/CostAwareMonitoring').then(m => ({ default: m.CostAwareMonitoring })));
const AndeanOrchestration = lazy(() => import('./pages/AndeanOrchestration').then(m => ({ default: m.AndeanOrchestration })));
const RuntimeCommandCenter = lazy(() => import('./pages/RuntimeCommandCenter').then(m => ({ default: m.RuntimeCommandCenter })));
const VaultBrowser = lazy(() => import('./pages/reliquary/VaultBrowser').then(m => ({ default: m.VaultBrowser })));
const LineageGraph = lazy(() => import('./pages/reliquary/LineageGraph').then(m => ({ default: m.LineageGraph })));
const SnapshotReplay = lazy(() => import('./pages/reliquary/SnapshotReplay').then(m => ({ default: m.SnapshotReplay })));
const SovereignMode = lazy(() => import('./pages/reliquary/SovereignMode').then(m => ({ default: m.SovereignMode })));
const ReliquaryDoctrine = lazy(() => import('./pages/reliquary/ReliquaryDoctrine').then(m => ({ default: m.ReliquaryDoctrine })));
const ModelProvenance = lazy(() => import('./pages/ModelProvenance').then(m => ({ default: m.ModelProvenance })));
const StrategyDashboard = lazy(() => import('./pages/strategy/dashboard'));
const OperatorDashboard = lazy(() => import('./pages/operator/OperatorDashboard').then(m => ({ default: m.OperatorDashboard })));
const AtlasRuntime = lazy(() => import('./pages/strategy/atlas-runtime'));
const CorrelationMap = lazy(() => import('./pages/strategy/correlation-map').then(m => ({ default: m.CorrelationMapPage })));
const SignalChains = lazy(() => import('./pages/strategy/signal-chains').then(m => ({ default: m.SignalChainsPage })));
const EnterpriseState = lazy(() => import('./pages/strategy/enterprise-state'));
const WorldlineRegistry = lazy(() => import('./pages/strategy/worldline-registry'));
const Simulation = lazy(() => import('./pages/strategy/simulation'));
const StressDrill = lazy(() => import('./pages/strategy/stress-drill'));
const GameDay = lazy(() => import('./pages/strategy/game-day'));
const CompetitiveAtlas = lazy(() => import('./pages/strategy/competitive-atlas').then(m => ({ default: m.CompetitiveAtlasPage })));
const StrategyExecutiveBriefing = lazy(() => import('./pages/strategy/executive-briefing'));
const BriefingHistory = lazy(() => import('./pages/strategy/briefing-history'));
const StrategyAlerts = lazy(() => import('./pages/strategy/alerts'));
const AlloyProof = lazy(() => import('./pages/strategy/alloy-proof'));
const Automations = lazy(() => import('./pages/strategy/automations'));
const CarlotaPipeline = lazy(() => import('./pages/strategy/carlota-pipeline'));
const Changelog = lazy(() => import('./pages/strategy/changelog'));
const ContinuumProof = lazy(() => import('./pages/strategy/continuum-proof'));
const Costs = lazy(() => import('./pages/strategy/costs'));
const DecisionCenter = lazy(() => import('./pages/strategy/decision-center'));
const DemoLaunchpad = lazy(() => import('./pages/strategy/demo-launchpad'));
const Digest = lazy(() => import('./pages/strategy/digest'));
const DigitalTwinsManagement = lazy(() => import('./pages/strategy/digital-twins-management'));
const DomainDetail = lazy(() => import('./pages/strategy/domain-detail'));
const Entity360 = lazy(() => import('./pages/strategy/entity-360').then(m => ({ default: m.Entity360Page })));
const EvalForge = lazy(() => import('./pages/strategy/eval-forge'));
const EvalLab = lazy(() => import('./pages/strategy/eval-lab'));
const EvalStudio = lazy(() => import('./pages/strategy/eval-studio'));
const EvidenceExplorer = lazy(() => import('./pages/strategy/evidence-explorer'));
const GovernanceTiers = lazy(() => import('./pages/strategy/governance-tiers'));
const StrategyGovernance = lazy(() => import('./pages/strategy/governance'));
const GovernedCockpit = lazy(() => import('./pages/strategy/governed-cockpit'));
const GuardianApprovals = lazy(() => import('./pages/strategy/guardian-approvals'));
const GuardrailConfigs = lazy(() => import('./pages/strategy/guardrail-configs'));
const GuardrailHealth = lazy(() => import('./pages/strategy/guardrail-health'));
const HealthPage = lazy(() => import('./pages/strategy/health'));
const EnterpriseMcpAdmin = lazy(() => import('./pages/strategy/enterprise-mcp-admin'));
const OpenEvalHub = lazy(() => import('./pages/strategy/open-eval-hub'));
const OperatorPanel = lazy(() => import('./pages/strategy/operator-panel').then(m => ({ default: m.OperatorPanel })));
const PolicyApprovals = lazy(() => import('./pages/strategy/policy-approvals'));
const PolicyManager = lazy(() => import('./pages/strategy/policy-manager'));
const ReplayLab = lazy(() => import('./pages/strategy/replay-lab'));
const RetrievalProofChain = lazy(() => import('./pages/strategy/retrieval-proof-chain'));
const RunConsole = lazy(() => import('./pages/strategy/run-console').then(m => ({ default: m.RunConsole })));
const Sla = lazy(() => import('./pages/strategy/sla'));
const StructuredIntelligence = lazy(() => import('./pages/strategy/structured-intelligence'));
const Team = lazy(() => import('./pages/strategy/team'));
const TrustConsole = lazy(() => import('./pages/strategy/trust-console'));
const CrossPlatformHub = lazy(() => import('./pages/cross-platform/index').then(m => ({ default: m.CrossPlatformHubPage })));
const SignalCorrelation = lazy(() => import('./pages/cross-platform/signal-correlation').then(m => ({ default: m.SignalCorrelationPage })));
const EvidenceRegistry = lazy(() => import('./pages/cross-platform/evidence-registry').then(m => ({ default: m.EvidenceRegistryPage })));
const RunHealth = lazy(() => import('./pages/cross-platform/run-health').then(m => ({ default: m.RunHealthPage })));
const PilotIntelligence = lazy(() => import('./pages/cross-platform/pilot-intelligence').then(m => ({ default: m.PilotIntelligencePage })));
const CognitiveOverview = lazy(() => import('./pages/cognitive/overview'));
const CognitiveMemory = lazy(() => import('./pages/cognitive/memory'));
const CognitivePlanner = lazy(() => import('./pages/cognitive/planner'));
const CognitiveVerifier = lazy(() => import('./pages/cognitive/verifier'));
const CognitiveReflection = lazy(() => import('./pages/cognitive/reflection'));
const CognitiveTraces = lazy(() => import('./pages/cognitive/traces'));
const CognitiveEvals = lazy(() => import('./pages/cognitive/evals'));
const CognitivePolicies = lazy(() => import('./pages/cognitive/policies'));
const CognitivePolicySim = lazy(() => import('./pages/cognitive/policy-sim'));
const CognitiveSelfModel = lazy(() => import('./pages/cognitive/self-model'));
const CognitiveWorldModel = lazy(() => import('./pages/cognitive/world-model'));
const EcosystemCommandCenter = lazy(() => import('./pages/ecosystem/index').then(m => ({ default: m.EcosystemCommandCenter })));
const OmniaHub = lazy(() => import('./pages/omnia/index'));
const SubstrateCommandCenter = lazy(() => import('./pages/substrate/index').then(m => ({ default: m.SubstrateCommandCenter })));
const SubstrateCounterfactual = lazy(() => import('./pages/substrate/counterfactual'));
const SubstrateApprovalQueue = lazy(() => import('./pages/substrate/approval-queue'));
const PERRuntimeOverview = lazy(() => import('./pages/evolution/runtime-overview'));
const PEREvaluationConsole = lazy(() => import('./pages/evolution/evaluation-console'));
const PERGovernanceConsole = lazy(() => import('./pages/evolution/governance-console'));
const PERDiagnostics = lazy(() => import('./pages/evolution/diagnostics'));
const OpsAutonomousNOC = lazy(() => import('./pages/operations/autonomous-noc'));
const OpsSLOManagement = lazy(() => import('./pages/operations/slo-management'));
const OpsFinOps = lazy(() => import('./pages/operations/finops'));
const OpsDistributedTracing = lazy(() => import('./pages/operations/distributed-tracing'));
const OpsOnCallCenter = lazy(() => import('./pages/operations/oncall-center'));
const OpsNoiseReduction = lazy(() => import('./pages/operations/noise-reduction'));
const OpsCapacityPlanning = lazy(() => import('./pages/operations/capacity-planning'));
const OpsChangeManagement = lazy(() => import('./pages/operations/change-management'));
const OpsSyntheticMonitoring = lazy(() => import('./pages/operations/synthetic-monitoring'));
const OpsRevenueImpact = lazy(() => import('./pages/operations/revenue-impact'));
const OpsBusinessSignals = lazy(() => import('./pages/operations/business-signals-intelligence'));
const OpsPredictiveIntelligence = lazy(() => import('./pages/operations/predictive-intelligence'));
const OpsLivingTopology = lazy(() => import('./pages/operations/living-topology'));
const OpsGovernedDecisionLoop = lazy(() => import('./pages/operations/governed-decision-loop'));
const OpsCognitiveRuntime = lazy(() => import('./pages/operations/cognitive-runtime'));
const OpsAIQualityDashboard = lazy(() => import('./pages/operations/ai-quality-dashboard'));
const OpsRunbookStudio = lazy(() => import('./pages/operations/runbook-studio'));
const OpsKnowledgeGraph = lazy(() => import('./pages/operations/knowledge-graph'));
const OpsSelfHealing = lazy(() => import('./pages/operations/self-healing'));
const OpsDexScoring = lazy(() => import('./pages/operations/dex-scoring'));
const OpsApprovalsCenter = lazy(() => import('./pages/operations/approvals-center'));
const OpsCommandInbox = lazy(() => import('./pages/operations/command-inbox'));
const OpsOwnershipMap = lazy(() => import('./pages/operations/ownership-map-new'));
const OpsOwnershipGraph = lazy(() => import('./pages/operations/ownership-graph'));
const OpsDistressEngine = lazy(() => import('./pages/operations/distress-engine'));
const OpsKnowledgeVault = lazy(() => import('./pages/operations/knowledge-vault'));
const OpsEscalationCenter = lazy(() => import('./pages/operations/escalation-center'));
const OpsActionQueue = lazy(() => import('./pages/operations/action-queue'));
const OpsOperationalQueue = lazy(() => import('./pages/operations/operational-queue'));
const OpsMetricsExplorer = lazy(() => import('./pages/operations/metrics-explorer'));
const OpsServiceTopology = lazy(() => import('./pages/operations/service-topology'));
const OpsLogExplorer = lazy(() => import('./pages/operations/log-explorer'));
const OpsAlertManagement = lazy(() => import('./pages/operations/alert-management'));
const OpsSignals = lazy(() => import('./pages/operations/signals'));
const OpsRecommendations = lazy(() => import('./pages/operations/recommendations'));
const OpsReadiness = lazy(() => import('./pages/operations/readiness'));
const OpsExecutiveCommand = lazy(() => import('./pages/operations/executive-command'));
const OpsPulse = lazy(() => import('./pages/operations/pulse'));
const OpsBlockerBoard = lazy(() => import('./pages/operations/blocker-board'));
const OpsWhatChanged = lazy(() => import('./pages/operations/what-changed'));
const OpsDeployments = lazy(() => import('./pages/operations/deployments'));
const OpsDigestCenter = lazy(() => import('./pages/operations/digest-center'));
const OpsTrustAudit = lazy(() => import('./pages/operations/trust-audit'));
const OpsAlloyWorkflowCanvas = lazy(() => import('./pages/operations/alloy-workflow-canvas'));
const OpsAlloyActionConsole = lazy(() => import('./pages/operations/alloy-action-console'));
const OpsAlloyWorkflowTemplates = lazy(() => import('./pages/operations/alloy-workflow-templates'));
const OpsAlloyIntelligence = lazy(() => import('./pages/operations/alloy-intelligence'));
const OpsAlloyGovernance = lazy(() => import('./pages/operations/alloy-governance'));
const OpsAlloyAgentMonitor = lazy(() => import('./pages/operations/alloy-agent-monitor'));
const OpsAlloyExecutionTraces = lazy(() => import('./pages/operations/alloy-execution-traces'));
const OpsAlloyReplayTimeline = lazy(() => import('./pages/operations/alloy-replay-timeline'));
const OpsAlloyPolicySim = lazy(() => import('./pages/operations/alloy-policy-sim'));
const OpsAlloyAgentHandoffs = lazy(() => import('./pages/operations/alloy-agent-handoffs'));
const OpsAlloyTrustReceipts = lazy(() => import('./pages/operations/alloy-trust-receipts'));
const OpsAlloyIntegrationHealth = lazy(() => import('./pages/operations/alloy-integration-health'));
const OpsAlloyGraphCompiler = lazy(() => import('./pages/operations/alloy-graph-compiler'));
const OpsAlloyWriteBack = lazy(() => import('./pages/operations/alloy-write-back'));
const OpsAtlasExecute = lazy(() => import('./pages/operations/atlas-execute'));
const OpsAlloyPolicyCompiler = lazy(() => import('./pages/operations/alloy-policy-compiler'));
const AdminOpsConsole = lazy(() => import('./pages/operations/admin/ops-console'));
const AdminOverview = lazy(() => import('./pages/operations/admin/overview'));
const AdminUsers = lazy(() => import('./pages/operations/admin/users'));
const AdminFlags = lazy(() => import('./pages/operations/admin/feature-flags'));
const AdminRuntimeConfig = lazy(() => import('./pages/operations/admin/runtime-config'));
const AdminRuntimeConfigHistory = lazy(
() => import('./pages/operations/admin/runtime-config-history'),
);
const AdminApps = lazy(() => import('./pages/operations/admin/apps-registry'));
const AdminRuns = lazy(() => import('./pages/operations/admin/run-viewer'));
const AdminApprovals = lazy(() => import('./pages/operations/admin/approval-queue'));
const AdminAudit = lazy(() => import('./pages/operations/admin/audit-log'));
const AdminExports = lazy(() => import('./pages/operations/admin/export-history'));
const AdminSeeder = lazy(() => import('./pages/operations/admin/seeder'));
const AdminJobs = lazy(() => import('./pages/operations/admin/jobs'));
const AdminKbArticles = lazy(() => import('./pages/operations/admin/kb-articles'));
const AdminSupportOps = lazy(() => import('./pages/operations/admin/support-ops'));
const AdminAnalytics = lazy(() => import('./pages/operations/admin/analytics-dashboard'));
const AdminExperiments = lazy(() => import('./pages/operations/admin/experiments'));
const InfraLegatusConsole = lazy(() => import('./pages/infrastructure/legatus-console'));
const InfraImperiumMap = lazy(() => import('./pages/infrastructure/imperium-map'));
const InfraImperiumForecast = lazy(() => import('./pages/infrastructure/imperium-forecast'));
const InfraPraetorianGuard = lazy(() => import('./pages/infrastructure/praetorian-guard'));
const InfraSenateChamber = lazy(() => import('./pages/infrastructure/senate-chamber'));
const InfraSupplyLines = lazy(() => import('./pages/infrastructure/supply-lines'));
const InfraCenturionAI = lazy(() => import('./pages/infrastructure/centurion-ai'));
const InfraIntelligenceBriefing = lazy(() => import('./pages/infrastructure/intelligence-briefing'));
const InfraGeospatial = lazy(() => import('./pages/infrastructure/geospatial'));
const InfraDirectiveCascade = lazy(() => import('./pages/infrastructure/directive-cascade'));
const InfraCoalition = lazy(() => import('./pages/infrastructure/coalition'));
const InfraStrategicReserves = lazy(() => import('./pages/infrastructure/strategic-reserves'));
const InfraSubstrateInference = lazy(() => import('./pages/infrastructure/substrate-inference'));
const InfraDataFabric = lazy(() => import('./pages/infrastructure/data-fabric'));
const InfraAtlasExecute = lazy(() => import('./pages/infrastructure/atlas-execute'));
// Agent Foundry (consolidates PRAXIS / Lyte / Unified Command / Pulse)
const FoundryHome = lazy(() => import('./pages/foundry/FoundryHome').then(m => ({ default: m.FoundryHome })));
const FoundryCatalog = lazy(() => import('./pages/foundry/FoundryCatalog').then(m => ({ default: m.FoundryCatalog })));
const FoundryProvision = lazy(() => import('./pages/foundry/FoundryProvision').then(m => ({ default: m.FoundryProvision })));
const FoundryDeployments = lazy(() => import('./pages/foundry/FoundryDeployments').then(m => ({ default: m.FoundryDeployments })));
const FoundryWorkcells = lazy(() => import('./pages/foundry/FoundryWorkcells').then(m => ({ default: m.FoundryWorkcells })));
const FoundryKeys = lazy(() => import('./pages/foundry/FoundryKeys').then(m => ({ default: m.FoundryKeys })));
const FoundrySovereignMode = lazy(() => import('./pages/foundry/FoundrySovereignMode').then(m => ({ default: m.FoundrySovereignMode })));
const FoundryMonitoring = lazy(() => import('./pages/foundry/FoundryMonitoring').then(m => ({ default: m.FoundryMonitoring })));
const FoundryQuickstarts = lazy(() => import('./pages/foundry/FoundryQuickstarts').then(m => ({ default: m.FoundryQuickstarts })));
// Primitives (PRAXIS)
const PrimitivesHub = lazy(() => import('./pages/primitives/PrimitivesHub').then(m => ({ default: m.PrimitivesHub })));
const PrimitivesResearchSwarm = lazy(() => import('./pages/primitives/ResearchSwarm').then(m => ({ default: m.ResearchSwarm })));
const PrimitivesMemoryFabric = lazy(() => import('./pages/primitives/MemoryFabric').then(m => ({ default: m.MemoryFabric })));
const PrimitivesProtocolBridge = lazy(() => import('./pages/primitives/ProtocolBridge').then(m => ({ default: m.ProtocolBridge })));
const PrimitivesOrchestrator = lazy(() => import('./pages/primitives/PrimitivesOrchestrator').then(m => ({ default: m.PrimitivesOrchestrator })));
const PrimitivesSkillsLibrary = lazy(() => import('./pages/primitives/PrimitivesSkillsLibrary').then(m => ({ default: m.PrimitivesSkillsLibrary })));
const PrimitivesTokensGovernance = lazy(() => import('./pages/primitives/TokensGovernancePrimitive').then(m => ({ default: m.TokensGovernancePrimitive })));
// Decisions additions (Lyte / KORA)
const DecisionTwin = lazy(() => import('./pages/decisions/DecisionTwin').then(m => ({ default: m.DecisionTwin })));
const DecisionsAutonomyModes = lazy(() => import('./pages/decisions/AutonomyModes').then(m => ({ default: m.AutonomyModes })));
const DecisionsEntityGraph = lazy(() => import('./pages/decisions/DecisionsEntityGraph').then(m => ({ default: m.DecisionsEntityGraph })));
const DecisionsWorkflowHealth = lazy(() => import('./pages/decisions/WorkflowHealth').then(m => ({ default: m.WorkflowHealth })));
// Strategy → Briefings (Pulse)
const BriefingsHub = lazy(() => import('./pages/strategy/briefings/BriefingsHub').then(m => ({ default: m.BriefingsHub })));
const BriefingsTodaysBrief = lazy(() => import('./pages/strategy/briefings/TodaysBrief').then(m => ({ default: m.TodaysBrief })));
const BriefingsEngine = lazy(() => import('./pages/strategy/briefings/BriefingEngine').then(m => ({ default: m.BriefingEngine })));
const BriefingsLibrary = lazy(() => import('./pages/strategy/briefings/BriefingsLibrary').then(m => ({ default: m.BriefingsLibrary })));
const BriefingsWatchlist = lazy(() => import('./pages/strategy/briefings/BriefingsWatchlist').then(m => ({ default: m.BriefingsWatchlist })));
const BriefingsConfidence = lazy(() => import('./pages/strategy/briefings/ConfidenceDashboard').then(m => ({ default: m.ConfidenceDashboard })));
const BriefingsDissent = lazy(() => import('./pages/strategy/briefings/DissentChannel').then(m => ({ default: m.DissentChannel })));
const BriefingsGovernedCockpit = lazy(() => import('./pages/strategy/briefings/GovernedCockpit').then(m => ({ default: m.GovernedCockpit })));
// Trust + What's New
const TrustHub = lazy(() => import('./pages/trust/TrustHub').then(m => ({ default: m.TrustHub })));
const WhatsNew = lazy(() => import('./pages/WhatsNew').then(m => ({ default: m.WhatsNew })));
const MarketingHome = lazy(() => import('./pages/marketing/index'));
const MarketingPricing = lazy(() => import('./pages/marketing/pricing'));
const MarketingSignup = lazy(() => import('./pages/marketing/signup'));
const MarketingOnboarding = lazy(() => import('./pages/marketing/onboarding'));
const MarketingStatus = lazy(() => import('./pages/marketing/status'));
const MarketingLeads = lazy(() => import('./pages/marketing/leads'));
const MarketingVerifyEmail = lazy(() => import('./pages/marketing/verify-email'));
function AppInner() {
return (
}>
{/* NEXUS — Unified Agentic AI Layer (consolidated into A11oy — Task #4310) */}
{/* Frontier sub-routes must precede the /frontier root to avoid prefix matching */}
{/* Frontier Ingestion Engine — primary surface per task #4803.
Legacy Frontier Intelligence overview at /frontier-intel. */}
}>
}>
}>
}>
}>
}>
}>
}>
}>
}>
}>
}>
}>
}>
{/* Strategy Workspace — migrated from Command */}
{import.meta.env.VITE_FEATURE_A11OY_STRATEGY_SIMS === 'true' && (
)}
{import.meta.env.VITE_FEATURE_A11OY_STRATEGY_SIMS === 'true' && (
)}
{/* Operations Workspace — migrated from Command */}
{/* Admin Console */}
{/* Cognitive Workspace — migrated from Command */}
{/* Infrastructure Workspace — migrated from Command (IMPERIUM) */}
{/* Substrate Command Center */}
{/* Ecosystem / MCP */}
{/* OMNIA Cognitive Hub */}
{/* Precision Evolution Runtime (PER) */}
{/* Governance extras */}
{/* PSYCHE — Emergent Sentience Observatory */}
{/* A11oy.1 — Adaptive Intelligence */}
{/* Marketing pages */}
{/* ── Agent Foundry (consolidates PRAXIS / Lyte / Unified Command / Pulse) ── */}
{/* ── Primitives (PRAXIS) ── */}
{/* ── Decisions additions (Lyte / KORA) ── */}
{/* ── Strategy → Briefings (Pulse) ── */}
{/* ── What's New landing card ── */}
{/* ── Deprecated standalone surfaces — redirect to consolidated paths ── */}
{/* /command is owned by the consolidated Command operator console
(registered below as /command, /command/inbox, /command/frontier/proposals,
/command/approvals). The old `/command -> /command-surface` redirect
was retired in task #5090; CommandSurface is still reachable directly
at /command-surface and ${base}/command-surface for any deep links. */}
{/* ── Vertical Orchestrator ── */}
{(import.meta.env.PROD
? import.meta.env.VITE_A11OY_ORCHESTRATOR_ENABLED === 'true'
: import.meta.env.VITE_A11OY_ORCHESTRATOR_ENABLED !== 'false') && (
<>
>
)}
{/* Operator console — consolidated from former /command artifact (task #5090).
Canonical paths are `/a11oy/command/*`. These specific routes are
registered BEFORE the catch-all LegacyA11oyRedirect so the redirect
does not strip the `/a11oy/` prefix off of them. Pages are wrapped
in the existing A11oy `WithShell` (FabricShellProvider + DemoMode +
AppShell) so they live inside the standard A11oy chrome; the
inner `CommandShell` (rendered by each page) adds the operator
console sub-navigation. Legacy `/command/*` URLs (kept reachable
via the artifact.toml `paths` allowlist) hard-redirect to the
canonical `/a11oy/command/*` form below. */}
} />
} />
} />
} />
{({ rest }: { rest?: string }) => (
)}
);
}
export default function App() {
return ;
}