Mission Control: The God-Tier Observer
Mission Control (served on port :9999) is the centralized administrative and observability hub for the dLANDiscord Assistant ecosystem. It provides a real-time "God-Mode" view into agent reasoning, infrastructure health, and system evolution.
Core Philosophical Goal
Mission Control was built to solve the "Black Box" problem of autonomous agents. It allows human operators to:
- Observe: Watch the "Chain of Thought" (CoT) in real-time as agents reason through tasks.
- Audit: Review historical sessions, tool failures, and token costs.
- Intervene: Manage the task scheduler, approve dynamically created tools, and promotion evolved playbooks.
Key Dashboard Tabs
| Tab | Feature | Backend Handler | Description |
|---|---|---|---|
| NOC | Infrastructure Intelligence | mcStatusHandler |
Real-time stream of NOC alerts and debounced infrastructure events. |
| Radar | System Health Nodes | mcTelemetryHandler |
Visual representation of distributed nodes and their current uptime/latency. |
| Servers | Fortress Telemetry | mcServersHandler |
Deep dive into Proxmox containers, cPanel stats, and Pelican game nodes. |
| Timeline | Reasoning Stream | mcTimelineHandler |
SSE-powered live feed of agent <thought> blocks and tool observations. |
| Taskboard | Kanban Management | mcTasksHandler |
Collaborative task tracking for both human and AI workers. |
| Scheduler | Proactive Jobs | mcSchedulerHandler |
Management interface for the SQLite-backed cron and one-off task runner. |
| MrTool | Tool Approval | mcMrToolPendingHandler |
Staging area for dynamically created tools awaiting MasterAdmin approval. |
| Playbooks | Self-Evolution | mcPlaybooksHandler |
Interface for promoting discovered patterns into deterministic workflows. |
| Office | Virtual Space | mcOfficeUIHandler |
2D visualization of the Business Hive agents moving through virtual rooms. |
| Den Shell | Live Terminal | mcNikkiShellHandler |
Interactive shell access to Nikki's den — live command execution with real-time output. Added July 2026 (commit 03bdd6d9). |
The Chain-of-Thought (CoT) Engine
The most technically significant part of Mission Control is the real-time reasoning stream.
- Implementation:
mission_control_cot.jsandmcTimelineHandler. - Mechanism: The
Plannerbroadcasts its internal monologue via theMissionControlHub. - Fallback: As seen in commit
3e6eba8b, if the observability database is unavailable, the UI automatically falls back to streaming directly from the.jsonlsession log files inassistant/logs/.
Observability and Analytics
MC tracks more than just text; it tracks the economics of the system:
- Cost Tracking: Real-time spending analysis per user and per provider (via OpenRouter metrics).
- Tool Performance: Tracks success rates and average latency for every tool in the registry.
- Provider Health: Visualizes error rates (429s, timeouts) to justify model switching decisions.
- Load Bar: Visual progress indicator for long-running operations (den shell commands, playbook executions). Added July 2026.
- Company Comments: Threaded comment system on Business Hive company entries for collaborative notes. Added July 2026.
Security and RBAC
Access to port :9999 is restricted:
- Middleware: Uses
AssistantMiddlewareto verify the user's role. - Privilege Level: Most tabs (MrTool, Scheduler, Files) require the
RoleMasterAdminto view or modify. - Sandboxed Previews: Log and file previews are sanitized to prevent XSS.
Guidance for AI Agents
- Dashboard Awareness: If a task fails repeatedly, remind the user they can check the "Timeline" tab in Mission Control for a detailed technical breakdown of the error.
- Playbook Promotion: After completing a complex task successfully, suggest the user check the "Playbooks" tab to see if the system has abstracted the plan for future use.