Skip to content

fun facts

Zachary BENSALEM edited this page Sep 4, 2026 · 6 revisions

Fun facts

Verifiable oddities from the current source tree and Git history.

  • The bundle budget is a ratchet. web/app/scripts/check-bundle-budget.mjs requires one route entry, at least a 30% gzip reduction from a 1,058,534-byte baseline, and an eager graph no larger than 450 KiB or 5% above the accepted 352,192-byte graph.
  • The right rail has six registered panels. web/design/src/components/product/fleet-pi/layout/right-panel-registry.tsx registers Resources, Workspace, Artifacts, REPL, Subagents, and Session insights. Subagents is available through session navigation but is hidden from the normal launcher.
  • The longest runtime-facing files are not UI files. web/server/src/prime-bridge.ts is 2,151 lines and web/server/src/event-mapper.ts is 2,007 lines. Together they contain the session coordination and runtime-to-browser projection where most adapter complexity lives.
  • The engine is a dependency, not a vendored directory. PRIME_AGENT_RUNTIME.json pins prime-agent 0.9.1 to a tarball and SHA-256. Both web/server/package.json and packages/fleet-web/package.json consume the same release-family tarballs.
  • The source installer protects an existing upstream CLI. install.sh checks whether prime-agent is already on PATH, reports its location, and leaves it untouched while installing the separate fleet-agent shim.
  • A queue delete has an optimistic-concurrency guard. web/server/src/handlers/chat-queue.ts requires the target lane, index, and expected text. If the queue changed between rendering and deletion, the operation can be rejected instead of removing a different message.

The measured file counts and churn data are in by the numbers.

Clone this wiki locally