-
Notifications
You must be signed in to change notification settings - Fork 0
fun facts
Trivia verified against the repo at main (HEAD 94c724c1e, 4556 commits, first commit 2025-08-09). Every claim below is traceable to a file path or a git command.
A note on naming before the facts: the repo is Qredence/fleet-prime-agent, the installed command and npm package are both called prime-agent, and the dev launcher for the web stack is a standalone bash script named fleet-prime (it launches the web frontend + backend bridge, not the TUI; the TUI is launched by prime-agent.sh).
packages/coding-agent/examples/extensions/doom-overlay/ is an extension that plays DOOM as an overlay inside the TUI at 35 FPS. The engine is WebAssembly: doom-overlay/doom/build/doom.wasm with a generated doom.js loader, driven by doom-engine.ts and rendered by doom-component.ts into the same Container overlay system as every other dialog. wad-finder.ts downloads the ~4 MB shareware WAD on first run, and /doom-overlay starts the game. It lives under examples/ to prove the overlay system can sustain real-time rendering.
assets/brand/prime-butterfly.svg (with a black variant) is the logo of the original pi project, and it still ships: packages/coding-agent/src/themes/prime-logo.ts renders it in the TUI theme, and every package README links it as the project mark. The repo has been in the tree since the first commit (2025-08-09) and never gained a replacement logo.
Every pi package ships under the npm scope @earendil-works (@earendil-works/pi-tui, @earendil-works/pi-coding-agent, and so on). It appears in the dependency lists of packages/{agent,ai,coding-agent,tui}/package.json and web/server/package.json, and is imported by roughly 158 source files across the repo. Earendil is the mariner from Tolkien's The Silmarillion who sails the sky bearing the Morning Star. Caveat: the repo never documents this connection, the scope was inherited when the pi packages migrated upstream in commit 3e5ad67e0 ("chore: migrate pi packages to earendil works scope"), so the Tolkien link is an inference from the name, not something stated in-tree.
packages/agent/src/agent.ts was added in the repository's first commit (a74c5da11, 2025-08-09) and is still actively edited, last touched 2026-08-05. It has survived the monorepo splits (tui, ai, coding-agent), the package rename to @earendil-works/pi-agent-core, and a year of session-runtime work.
find packages web -name "*.ts" (excluding node_modules and dist) counts 374,422 lines across the TypeScript tree. The single largest file is packages/ai/src/models.generated.ts at 20,577 lines, generated by packages/ai/scripts/generate-models.ts and, per the repo's rules, never hand-edited. The largest hand-written source file is packages/coding-agent/src/core/agent-session.ts at 11,210 lines; the largest test is packages/coding-agent/test/daemon-mode.test.ts at 9,910 lines.
Against that scale, grep -rn "TODO\|FIXME\|HACK" across packages/*/src, web/*/src, and prime-agent-runtime/src finds exactly four markers, all in the kernel/IPython plumbing, and two of them punting on the same future: "reconsider whether the persistent kernel is needed once RLM-1 weights land." A ~375k-line TypeScript codebase with four TODOs and no FIXMEs or HACKs.