lakehouse/mcp-server/dashboard.html
root 4a2bfce6e0 Week simulation + live dashboard + self-orientation + verification
Week simulation engine: 5 business days, 4-8 contracts per day,
3 rotating staffers with handoffs between days. Runs hybrid search
per contract via the gateway. 28 contracts, 108/108 filled (100%),
5 emergencies, 4 handoffs, 3.2s total.

Dashboard at :3700/ — dark theme, shows:
  - Contract cards sorted by priority with match status
  - Day navigation across the work week
  - Week summary stats (fill rate, emergencies, handoffs)
  - Live alerts (erratic/silent workers)
  - Playbook entries
  - Real-time service health + VRAM

Self-orientation (/context) + verification (/verify) endpoints so
any agent can understand the system and fact-check claims without
human intermediary.

Accessible on LAN at http://192.168.1.177:3700

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 00:45:46 -05:00

34 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lakehouse Staffing Co-Pilot</title>
<link rel="stylesheet" href="dashboard.css">
</head>
<body>
<div class="header">
<h1>Lakehouse Staffing Co-Pilot</h1>
<div class="status">
<span><span class="dot green" id="svc-gw"></span>Gateway</span>
<span><span class="dot green" id="svc-lh"></span>Lakehouse</span>
<span id="vram-display">VRAM: loading...</span>
<button class="refresh-btn" onclick="refresh()">Refresh</button>
<button class="refresh-btn" onclick="runWeek()">Run Week Sim</button>
</div>
</div>
<div class="grid">
<div>
<div class="card"><h2>Contracts</h2><div class="day-nav" id="day-nav"></div><div id="contracts">Click Run Week Sim to start</div></div>
<div class="card" style="margin-top:16px"><h2>Week Summary</h2><div id="week-stats"></div></div>
</div>
<div>
<div class="card"><h2>Alerts</h2><div id="alerts"></div></div>
<div class="card" style="margin-top:16px"><h2>Playbooks</h2><div id="playbooks"></div></div>
<div class="card" style="margin-top:16px"><h2>Live Log</h2><div class="log" id="log"></div></div>
</div>
</div>
<script type="module" src="dashboard.ts"></script>
</body>
</html>