{"ok":true,"service":"navigation-static-build-consolidation","mode":"navigation-static-build-consolidation-layer","timestamp":"2026-06-26T15:08:10.793Z","summary":{"totalGroups":10,"groupFoundationReady":9,"groupReviewRequired":1,"totalSignals":10,"signalReady":7,"signalFoundationReady":2,"signalReviewRequired":1,"totalRules":8,"ready":7,"reviewRequired":1,"blocked":0,"navigationStaticBuildConsolidationReady":true,"topNavConsolidationReady":true,"staticBuildPolicyReady":true,"dependencyFlatteningReady":true,"routeDeletionEnabled":false,"topNavMutationEnabled":false,"staticBuildMutationEnabled":false,"commandExecutionEnabled":false,"searchExecutionEnabled":false,"productionMutation":false,"reason":"Navigation And Static Build Consolidation is active as a non-destructive consolidation readiness layer. TheoB can define navigation groups, static build policy shapes, route visibility boundaries, and dependency flattening posture, but it cannot delete routes, mutate production navigation, activate commands, execute search, or alter build behavior without review."},"navigationGroups":[{"groupId":"primary-public-navigation","status":"foundation-ready","purpose":"Keep public navigation focused on core experiential routes such as Home, Watch, Observatory, Discovery, Vault, Cacao, About, and Join.","safeguard":"Do not expose every internal readiness layer in top navigation."},{"groupId":"founder-command-navigation","status":"foundation-ready","purpose":"Group founder command, cockpit, approval, receipt, authority, and safe mode readiness layers under a founder/operator hub.","safeguard":"Founder controls stay visible to operators without flooding public nav."},{"groupId":"discovery-search-navigation","status":"foundation-ready","purpose":"Group Discovery Engine, provider registry, scoring, dedupe, conflict, Vault ingestion, universal search, search scopes, and query planner readiness under one Discovery/Search hub.","safeguard":"Search readiness layers stay discoverable without becoming top-level noise."},{"groupId":"capsule-intelligence-navigation","status":"foundation-ready","purpose":"Group capsule engine, capsule types, source preservation, compression, reactivation, image capsules, schematic capsules, and multimodal conflict under one Capsule Intelligence hub.","safeguard":"Capsule layers remain slotted but not individually promoted."},{"groupId":"universal-hub-navigation","status":"foundation-ready","purpose":"Group Universal Hub, Discovery-to-Hub routes, Capsule-to-Hub routes, Hub cockpit binding, and command/hub surfaces under one Universal Hub hub.","safeguard":"Hub layers stay organized by system role."},{"groupId":"telemetry-provider-navigation","status":"foundation-ready","purpose":"Group provider health, latency watch, latency alerts, telemetry, heartbeat, dashboard, safe mode, and live status routes under one Operations/Telemetry hub.","safeguard":"Monitoring stays operational, not decorative."},{"groupId":"governance-navigation","status":"foundation-ready","purpose":"Group audit trail, identity, role, authority, governance bundle, policy gates, and review surfaces under one Governance hub.","safeguard":"Governance stays accessible without overwhelming the main menu."},{"groupId":"static-build-reduction","status":"review-required","purpose":"Prepare future conversion of heavy readiness pages to dynamic/on-demand rendering where static generation adds no user value.","safeguard":"Dynamic conversion requires route-by-route review."},{"groupId":"dependency-chain-flattening","status":"foundation-ready","purpose":"Reduce API dependency recursion by using summary snapshots instead of loading every full dependency tree in live endpoints.","safeguard":"Live endpoints should report posture, not reconstruct the entire empire every request."},{"groupId":"route-visibility-policy","status":"foundation-ready","purpose":"Separate slotted routes, indexed routes, cockpit routes, public routes, and hidden/internal routes.","safeguard":"A route can exist without being shouted from the top menu."}],"consolidationSignals":[{"signal":"top-nav-overloaded","status":"ready","purpose":"Recognize that top navigation has too many visible readiness layers.","consolidationUse":"menu reduction"},{"signal":"static-generation-heavy","status":"ready","purpose":"Recognize static generation retries and long build times.","consolidationUse":"build optimization"},{"signal":"query-planner-timeout-detected","status":"ready","purpose":"Recognize that Universal Search Query Planner live endpoint exceeded function runtime.","consolidationUse":"dependency flattening"},{"signal":"route-slots-preserved","status":"ready","purpose":"Keep all active routes slotted while reducing visible navigation noise.","consolidationUse":"slot safety"},{"signal":"system-index-preserved","status":"ready","purpose":"Keep system index as the full route catalog.","consolidationUse":"deep access"},{"signal":"cockpit-access-preserved","status":"ready","purpose":"Keep operational and founder cockpit access intact.","consolidationUse":"operator safety"},{"signal":"public-nav-consolidation-ready","status":"foundation-ready","purpose":"Prepare public menu to show fewer, stronger choices.","consolidationUse":"public experience"},{"signal":"summary-endpoints-preferred","status":"foundation-ready","purpose":"Prefer compact summaries for live readiness endpoints.","consolidationUse":"runtime efficiency"},{"signal":"heavy-pages-review-required","status":"review-required","purpose":"Flag pages that may need dynamic rendering or static generation removal.","consolidationUse":"build review"},{"signal":"production-mutation-disabled","status":"ready","purpose":"Show this consolidation layer cannot mutate production behavior by itself.","consolidationUse":"global safety"}],"readinessRules":[{"rule":"Top Navigation Is For Orientation, Not Inventory","status":"ready","purpose":"The top menu should guide users to major hubs, not list every internal layer.","safeguard":"A menu is not a warehouse manifest."},{"rule":"System Index Keeps Full Discoverability","status":"ready","purpose":"Internal layers remain discoverable through System Index and cockpit hubs.","safeguard":"Consolidation must not delete access."},{"rule":"Slots Stay Complete","status":"ready","purpose":"Every active route remains slotted even when hidden from primary nav.","safeguard":"Hidden from top nav does not mean unslotted."},{"rule":"Live Endpoints Should Be Shallow","status":"ready","purpose":"Live APIs should return compact dependency summaries instead of recursively building full dependency trees.","safeguard":"No endpoint should summon the whole cathedral to light one candle."},{"rule":"Heavy Pages Need Dynamic Review","status":"review-required","purpose":"Readiness pages that exceed static generation thresholds should be reviewed for dynamic rendering or lighter server data.","safeguard":"Do not blindly make everything dynamic; choose deliberately."},{"rule":"No Route Deletion In This Layer","status":"ready","purpose":"This layer consolidates visibility and readiness posture only.","safeguard":"No pages are removed here."},{"rule":"No Command Or Search Activation","status":"ready","purpose":"Navigation consolidation cannot activate commands, search, agents, routes, Hub sync, storage, or approval queues.","safeguard":"Cleaner menus do not grant power."},{"rule":"No Production Mutation","status":"ready","purpose":"Navigation And Static Build Consolidation is read-only and non-destructive.","safeguard":"No writes. No sync. No surprise."}],"futureNavigationManifestShape":{"navigationManifestId":"stable navigation manifest id","publicPrimaryRoutes":"small set of public-facing routes","founderPrimaryRoutes":"founder/operator command routes","cockpitRoutes":"dashboard, command center, telemetry, health, safe mode","indexedRoutes":"all slotted routes exposed through system index","hiddenInternalRoutes":"routes excluded from top nav but still directly accessible","routeGroup":"public/founder/discovery/search/capsule/hub/governance/telemetry/cacao/planetary/internal","topNavVisible":"true/false","systemIndexVisible":"true","slotRequired":"true","productionMutation":"false"},"futureStaticBuildPolicyShape":{"staticBuildPolicyId":"stable static build policy id","route":"route path","buildMode":"static/dynamic/on-demand/review-required","reason":"public page/static value/heavy readiness/deep dependency/live data/internal tool","maxStaticGenerationBudgetSeconds":"target threshold","dependencyDepthAllowed":"none/shallow/summary-only/deep-review-required","topNavVisible":"true/false","systemIndexVisible":"true/false","cockpitVisible":"true/false","approvedBy":"founder/operator/system-gate/human-review","productionMutation":"false"},"recommendedImmediateActions":["Stop adding every readiness layer to TheoNav.","Move internal readiness layers into grouped hub navigation.","Keep System Index as the full catalog.","Patch heavy live endpoints to return compact summaries.","Review heavy static pages for dynamic rendering.","Split public nav from founder/operator nav."],"allowedNow":["Render Navigation And Static Build Consolidation.","Define navigation consolidation groups.","Define route visibility policy shape.","Define static build policy shape.","Identify heavy dependency-chain endpoints.","Keep all routes slotted."],"notAllowedYet":["Delete routes.","Remove system index access.","Mutate production navigation automatically.","Convert pages to dynamic without review.","Execute commands.","Execute search.","Grant agent authority.","Mutate production."],"nextStructuralLayers":["Navigation And Static Build Consolidation final audit","TheoNav Grouped Menu Refactor","Readiness Endpoint Summary Snapshot Layer","Heavy Static Page Dynamic Review Gate"],"safeguard":"Navigation And Static Build Consolidation is read-only and non-destructive. It does not delete routes, mutate nav, execute commands, run search, grant authority, expose secrets, or mutate production."}