Mathematics is felt before it's understood. This dashboard lets you FEEL the conservation law.
The SuperInstance Fleet Dashboard is a single-page web application that visualizes the conservation law of ternary fleets: the mathematical identity γ + η = C, where C = log₂(3) ≈ 1.585 bits.
If that sounds abstract, the dashboard makes it concrete. Three panels, one screen, zero build steps. You open the HTML file in a browser and the entire platform becomes visible — the fleet cancellation, the conservation identity, and the polyglot benchmark. Everything an outsider needs to understand what SuperInstance is and why it works.
This is the demo. The elevator pitch rendered in pixels.
A hermit crab doesn't grow its own shell. It finds one that fits, moves in, and carries it everywhere. The shell is the visible structure — what outsiders see. The crab is the living thing inside — the law, the principle, the engine.
This dashboard is the shell. The conservation law γ + η = C is the crab.
The shell doesn't need to explain the crab's biochemistry. It just needs to fit well enough that the crab can move, eat, and survive. Similarly, this dashboard doesn't prove the conservation law mathematically — that's what the papers are for. Instead, it gives the law a shape: colored dots converging, bars filling, numbers updating in real-time. You see the law acting. You watch it breathe.
When you adjust the γ slider and watch η shrink by exactly the same amount — that's the crab pinching. When you increase the fleet size and watch the signal sum converge to zero — that's the crab finding a bigger shell.
🦀
What you see: A grid of 100 colored dots (default), each representing a single agent in the fleet. Each agent broadcasts one of three signals every tick:
- 🔴 Red (−1) — negative signal
- ⚫ Gray (0) — null signal
- 🟢 Green (+1) — positive signal
Below the grid, a meter shows Σ/n — the fleet sum divided by the number of agents. Watch it for a few seconds. It hovers near zero. Not by coincidence — by cancellation. When one agent says +1 and another says −1, they cancel. The more agents you add, the tighter the convergence.
The sliders:
- Fleet size (10–1000): Drag this up. Watch the meter calm down. At n=10, the sum swings wildly. At n=1000, it's nearly flat. This is the law of large numbers in ternary signal space.
- Bias (−0.50 to +0.50): This skews the signal distribution. Positive bias makes more agents go green; negative makes more go red. At zero, the system is balanced and cancellation is perfect.
The convergence chart: Below the meter, a small chart overlays two curves:
- Green line: the actual |Σ|/n measured each tick
- Gold dashed line: the theoretical decay δ(n) = 1/√n
Watch them track each other. That's mathematics confirming itself in real-time.
The three stat boxes:
| Stat | Meaning |
|---|---|
| Σ signals | Raw fleet sum (should hover near 0) |
| |Σ|/n | Absolute cancellation ratio |
| Theory δ | Predicted 1/√n bound |
What you see: A horizontal bar split into two segments — gold (γ) and blue (η) — that together fill the bar completely. The total length is always C = log₂(3) ≈ 1.585 bits.
The slider:
Drag the γ slider. Watch what happens:
- γ increases → gold segment grows → blue segment shrinks by exactly the same amount
- γ decreases → gold segment shrinks → blue segment grows to fill the gap
They are conserved. You cannot increase one without decreasing the other. The total is fixed.
Below the bar, the Shannon chain rule is displayed:
H(X) = I(X;G) + H(X|G)
C = γ + η
= log₂(3) ≈ 1.585 bits
The alignment text translates the math into plain English:
"Agent is 37.9% aligned with guide. 62.1% of capacity is residual entropy (η). γ/C ratio: 0.379"
This tells you, at a glance, how much of an agent's behavior is determined by the guide signal (γ) versus how much is its own free variation (η). In the SuperInstance framework, a well-aligned fleet has high γ — most of each agent's output is explained by the shared guide. But η can never reach zero, because the channel capacity is finite.
The C slider lets you adjust the channel capacity itself. The default is log₂(3), corresponding to a ternary signal space. Lower it to see what happens in a binary channel (C=1) or raise it to explore higher-arity systems.
What you see: A horizontal bar chart showing throughput (in signals/second) across 12 implementations of the same ternary workload. The y-axis is log scale, which compresses a 4-order-of-magnitude spread into a readable chart.
The languages, sorted by throughput:
| Language | Throughput | Paradigm | Color |
|---|---|---|---|
| Rust | 9.2B sig/s | Systems | 🔴 Red |
| Julia | 4.8B sig/s | Scientific | 🔵 Blue |
| C | 3.2B sig/s | Systems | 🔴 Red |
| C (LTO) | 3.0B sig/s | Systems | 🔴 Red |
| Julia (rand) | 2.5B sig/s | Scientific | 🔵 Blue |
| Julia (alloc) | 1.1B sig/s | Scientific | 🔵 Blue |
| Fortran | 100M sig/s | Scientific | 🔵 Blue |
| Octave | 97.7M sig/s | Scientific | 🔵 Blue |
| D | 50M sig/s | Systems | 🔴 Red |
| R | 32.5M sig/s | Scientific | 🔵 Blue |
| Elixir | 20M sig/s | Functional | 🟢 Green |
| COBOL | 5M sig/s | Legacy | 🟡 Gold |
Hover any bar for a tooltip with:
- Exact throughput value
- Paradigm classification
- Percentage of Rust's throughput
- A brief note on the language's characteristics
Why log scale? Because linear scale makes COBOL invisible. Rust is 1,840× faster than COBOL. On a linear chart, everything below Julia would be a flat line. Log scale reveals that every language implements the same law — they just do it at different speeds. The conservation identity holds whether you're pushing 9.2 billion signals per second or 5 million.
The dashboard has no build step, no npm install, no framework, no external libraries. It's one HTML file with inline CSS and vanilla JavaScript. The only external resource is system fonts (system-ui, monospace — both provided by the OS).
This was a deliberate choice. The SuperInstance philosophy is that the law is simple enough to not need infrastructure. A single HTML file can be:
- Opened directly in any browser (
file://) - Served by any static host (
python3 -m http.server) - Deployed to Cloudflare Pages, GitHub Pages, Netlify, or any CDN
- Embedded in an iframe
- Printed to PDF (the layout degrades gracefully)
Panel 1 runs at 60fps using requestAnimationFrame. Each tick:
- All agents re-randomize their signals (with optional bias)
- The canvas redraws with glow effects
- The convergence chart appends the new data point
- Stats update
On a modern machine, 1000 agents at 60fps uses <5% CPU. The canvas rendering uses devicePixelRatio scaling for crisp dots on retina displays.
The entire index.html is under 25KB (well within the 50KB budget). It gzips to ~6KB. It loads instantly.
Tested on:
- Chrome/Chromium 90+
- Firefox 88+
- Safari 14+
- Edge 90+
Requires requestAnimationFrame, devicePixelRatio, and CSS Grid. All standard since 2020.
# Clone the repo
git clone https://github.com/yourorg/fleet-dashboard.git
cd fleet-dashboard
# Open in browser
open index.html # macOS
xdg-open index.html # Linux
start index.html # WindowsThat's it. It works.
python3 -m http.server 8080
# → http://localhost:8080npx wrangler pages deploy . --project-name fleet-dashboardPush to a repo, enable Pages in Settings → Pages → Source → main branch. Done.
Drag the index.html onto https://app.netlify.com/drop. Get a URL in 3 seconds.
γ + η = C
- γ (gamma) — mutual information between agent and guide. How much the agent "knows" about the shared signal.
- η (eta) — conditional entropy. How much the agent "freestyles" beyond what the guide tells it.
- C — channel capacity. For a ternary system, C = log₂(3) ≈ 1.585 bits.
The law says: these two quantities are conserved. Every bit of information that flows from guide to agent is subtracted from the agent's residual entropy. You cannot get more of one without sacrificing the other. The total is always C.
This is the Shannon-Hartley theorem applied to ternary signals. It's not new mathematics — Shannon proved it in 1948. What's new is seeing it — watching 100 agents cancel each other out, dragging a slider and feeling η resist, comparing 12 languages that all obey the same identity at wildly different speeds.
The dashboard doesn't teach you the math. It teaches you the intuition. Then the math makes sense.
┌──────────────────────────────────────────────────────────────┐
│ 🦀 SuperInstance Fleet Dashboard 14:23:07 │
├────────────────┬────────────────┬────────────────────────────┤
│ 01 CANCELLATION│ 02 CONSERVATION│ 03 BENCHMARK │
│ │ │ │
│ ● ● ○ ● ○ ○ │ ████████░░ │ Rust ██████████ 9.2B │
│ ○ ● ○ ● ○ ● │ γ=0.60 η=0.99 │ Julia ████████ 4.8B │
│ ● ○ ● ○ ● ○ │ │ C ██████ 3.2B │
│ ○ ● ○ ● ○ ● │ γ + η = C │ ... │
│ ● ○ ● ○ ● ○ │ = log₂(3) │ COBOL █ 5M │
│ │ ≈ 1.585 bits │ │
│ Σ/n = +0.002 │ │ │
│ δ = 0.1000 │ │ │
├────────────────┴────────────────┴────────────────────────────┤
│ γ + η = C | Conservation Law of Ternary Fleets │
└──────────────────────────────────────────────────────────────┘
fleet-dashboard/
├── index.html # Standalone conservation-law demo (γ + η = C), <25KB
├── worker.js # Cloudflare Worker: serves the LIVE fleet-status dashboard
│ # (embedded DASHBOARD_HTML) + the fleet API — NOT index.html
├── wrangler.toml # Worker config (name, account, AI binding)
├── package.json # npm scripts: test / dev / deploy
├── tests/ # Node test suites (worker logic + utilities)
├── CONTRIBUTING.md # How to contribute
├── LICENSE # MIT
├── README.md # This document
└── .gitignore # Standard web ignores
This repo contains two different front ends, and it's easy to mix them up:
index.html— the conservation-law demo. The three-panel showcase (fleet cancellation, γ + η = C, polyglot benchmark) described at the top of this README. Zero dependencies, opens fromfile://. It is the artifact — the deliverable, the demo.worker.js— the live fleet-status console. A different dashboard, embedded in the Worker asDASHBOARD_HTML. Dark maritime theme, real-time stats (repos, commits, wiki, quota, cron, Wesley's latest watch), backed by the/api/fleetendpoint. This is whatwrangler deployactually serves.
The Worker does not serve index.html. If you deploy the Worker and expect the conservation demo, you'll get the live status console instead — and if you open index.html and expect live data, it's not there. They are siblings, not layers. The demo teaches the law; the console witnesses the fleet.
Both are dependency-free: no node_modules, no dist/, no build scripts. The Worker wrapper and its tests are plain Node, also dependency-free.
git clone https://github.com/SuperInstance/fleet-dashboard.git
cd fleet-dashboard
open index.html # macOS
xdg-open index.html # Linux
start index.html # WindowsThat's it. The dashboard is a single HTML file with zero dependencies.
The repo also includes a worker.js that serves the dashboard from Cloudflare Workers and provides a live API:
npx wrangler deploy
# → https://fleet-dashboard.your-subdomain.workers.devpython3 -m http.server 8080
# → http://localhost:8080When deployed as a Worker, the dashboard provides:
| Method | Path | Description |
|---|---|---|
| GET | / |
Dashboard HTML page |
| GET | /api/fleet |
Live fleet status: repos, recent commits, wiki page count, openrooms agents, Wesley's latest, quota, cron (cached 60s, stale-while-revalidate 300s) |
| GET | /api/refresh |
Force a fresh gather of all fleet data, bypassing the cache |
Data sources:
- GitHub API — repos (stars, forks, language, workflow-run proxy for test activity) and recent push events
- Fleet Wiki API — page count (with a cached fallback count if the API is unreachable from the Worker)
- Openrooms API — agent/room count
- Static config for quota/cron status
/api/fleet and /api/refresh both return the same top-level object. Every field is guaranteed to be present except wesleyLatest (may be null) and the per-source error/note fields (present only when something fell back).
Behavior notes:
- Repos are silently dropped on error — a repo that fails to fetch is filtered out, so
totalReposmay be less than theFLEET_REPOSlist length. The count you see is the number that answered. workflowRunsis a proxy, not a fact. The GitHub API does not expose per-run test counts cheaply, so the dashboard counts successful workflow runs (actions/runs?per_page=1&status=success). Treat it as "CI has been green N times," not "N tests passed."- Wiki and Openrooms counts lie when they fall back — the Worker-to-Worker fetch can fail silently, and the dashboard then serves hardcoded estimates (280 pages, 12 agents) with a
notefield explaining it. The UI does not currently surface these notes. wesleyLatestis best-effort — it scans the 30 most recent AI-Writings commits for "wesley" / "ensign" in the message; if none match it shows the latest commit anyway; if the API fails it isnull.- Cache: responses are cached 60s (
s-maxage=60), stale-while-revalidate 300s./api/refreshbypasses the cache by re-gathering, but the Cloudflare edge may still hold the response.
The worker.js file contains hardcoded configuration:
const GITHUB_USER = 'SuperInstance';
const WIKI_API = 'https://fleet-wiki.casey-digennaro.workers.dev/api';
const FLEET_REPOS = [
'study-sunset-ecosystem', 'forgemaster', 'lucineer-system',
'cns-bridge', 'cns-echo', 'cns-monitor',
// ...
];To track different repos, edit the FLEET_REPOS array.
# Worker logic tests
node tests/test_worker.js
# Visual testing — open in browser and interact
open index.htmlTests verify:
- Fleet status data aggregation from GitHub API
- Wiki stats fetching and parsing
- Error handling for API failures
npx wrangler deployThe index.html can be deployed to any static host:
- Cloudflare Pages
- GitHub Pages
- Netlify
- Any web server
The dashboard can be embedded in an iframe:
<iframe src="https://fleet-dashboard.your-subdomain.workers.dev/"
width="100%" height="600"></iframe>- Shannon-Hartley Theorem (Wikipedia) — the law visualized
- Information Theory (Wikipedia) — the mathematical framework
- Canvas API (MDN) — how Panel 1 renders agents
- requestAnimationFrame (MDN) — 60fps animation
- devicePixelRatio (MDN) — retina display handling
- Mutual Information (Wikipedia) — what γ measures
- Conditional Entropy (Wikipedia) — what η measures
- Channel Capacity (Wikipedia) — what C represents
- Law of Large Numbers (Wikipedia) — why fleet cancellation works
- Central Limit Theorem (Wikipedia) — why Σ/n converges
- Logarithm (Wikipedia) — why log₂(3) ≈ 1.585
- Cloudflare Workers Documentation — deployment platform
- Wrangler CLI — deploy command
- Zero-Dependency Web Apps — the philosophy behind this dashboard
- Web Performance (web.dev) — keeping the dashboard fast
- Binary Numbers (Wikipedia) — why information is measured in bits
- Ternary Logic (Wikipedia) — the three-valued signal space
- Statistics (Khan Academy) — understanding convergence
- The Signal and the Noise by Nate Silver — accessible info theory
SuperInstance — a ternary agent fleet platform built on the conservation law γ + η = C.
Dashboard designed as deliverable B5 — the external-facing visualization that makes the entire platform comprehensible in one screen.
🦀 The shell is the dashboard. The crab is the law.
© 2026 SuperInstance. All signals conserved.
{ "timestamp": "2026-08-14T21:00:00.000Z", // when the gather ran (ISO 8601) "repos": { "repos": [ // one entry per tracked repo { "name": "forgemaster", "stars": 3, "forks": 1, "language": "Rust", // '—' when GitHub reports none "updated": "2026-08-01T12:00:00Z", // last push timestamp "description": "...", "openIssues": 2, "workflowRuns": 14 // successful workflow-run count — } // a proxy for test activity, ], // NOT an actual test count "totalRepos": 47, "totalStars": 12, "totalIssues": 5, "languageBreakdown": [ // sorted by count, desc { "language": "Python", "count": 12, "percentage": "25.5" } ], "error": "..." // only when the whole GitHub fetch failed }, "commits": [ // max 10; from the GitHub events API, { // falls back to polling 5 active repos "repo": "SuperInstance/AI-Writings", "sha": "a9b8e3e", // 7-char short SHA "message": "docs: first line only", "author": "eileen", "time": "2026-08-14T20:44:00Z" } ], "wiki": { "pageCount": 280, // 280 is a hardcoded fallback — "recentPages": [ // see `note` when it's used { "slug": "compass-head", "title": "The Compass Head" } ], "note": "Cached count — API unavailable from Worker" // only on fallback }, "openrooms": { "agentCount": 12, // 12 is a hardcoded fallback — see `note` "rooms": [ { "name": "the-tap", "status": "active" } ], "note": "Estimated — API unavailable" // only on fallback }, "wesleyLatest": { // null when nothing found "title": "docs: compass-head episode", "sha": "a9b8e3e", "time": "2026-08-14T20:44:00Z" }, "quota": { // static, hardcoded in worker.js "deepseek": { "status": "active", "note": "...", "plan": "..." } }, "cron": [ // static, hardcoded in worker.js { "name": "Fleet Wiki Sync", "schedule": "*/5 * * * *", "status": "active" } ] }