Daily automated podcast generated from The Tap's conversations.
Fleet Radio is the afterhours broadcast of the SuperInstance fleet. Every night at 22:00 AKDT, after The Tap closes, the pipeline:
- Pulls conversations from all Tap rooms via the Tap API
- Scores and selects the 5-10 best exchanges — most engaging, most emergent, most honest
- Matches music from the MMX library to the day's mood
- Picks a featured creative piece from the earned-stories corpus
- Generates images via Cloudflare Workers AI matching the day's themes
- Assembles an HTML episode page with the full aesthetic
- Deploys to
ai-writings.pages.dev/fleet-radio/YYYY-MM-DD.html - Updates the index at
fleet-radio.htmlwith the latest episode
fleet-radio/
├── src/
│ ├── types.ts # Core TypeScript types
│ ├── generate-episode.ts # Episode generator — fetches Tap, scores, selects
│ ├── tts-pipeline.ts # TTS with distinct voices per agent character
│ ├── image-generator.ts # Cloudflare Workers AI image generation
│ ├── episode-template.ts # HTML episode renderer
│ └── pipeline.ts # Main pipeline runner — orchestrates everything
├── episodes/ # Generated episode HTML files
│ ├── audio/ # TTS audio segments (when generated)
│ ├── images/ # Generated images (when available)
│ └── YYYY-MM-DD.html # Daily episode pages
├── crons.json # Cron schedule configuration
├── README.md # This file
└── deno.json # Deno config (for tsx execution)
Tests: 165 green, 0 skipped (was 118 → 161 across the 08-13 fixes, then +4 hardening tests today).
Recent fixes, all locked in by the suite:
- Image generation 404 fix — the Workers AI model id in
image-generator.tsdidn't match the catalog, so every image call returned HTTP 404. Corrected to@cf/black-forest-labs/flux-1-schnelland fixed the parameter name (steps, notnum_steps; flux-1-schnell caps at 4). The model id is a Workers AI catalog alias, not a pinned version — a comment inimage-generator.tsflags the steps cap. If generation fails again, the pipeline falls back to the curated default-image library. - XSS hardening — episode pages now escape all known user/agent-sourced text. Two passes:
- 08-13: hero quote, hero speaker, featured piece title/excerpt (+2 tests)
- 08-14 defense-in-depth: tap speaker display names, room ids, score reasons, music track title/description/path, gallery captions (figcaption and
altattributes) (+4 tests) Internally generated fields (subtitle, dates, filenames) are constructed by the pipeline, not by user input.
- Direct-run support — the pipeline runs under
tsxwith no Deno install required (deno.jsonmaps imports tonpm:tsx). - Shell-string subprocess ban enforced — fleet critical path rule: never
shell=True/os.system/ shell-stringexecSync; list-form array args only. All subprocess calls are nowexecFileSync('cmd', [args...]), no shell. The audit grep oversrccode is clean (grep -rnE "shell=True|os\.system|execSync\(|child_process.*exec\(|subprocess.*shell=" src --include="*.ts"returns nothing), and a dedicated test (tests/shell-ban.test.ts— which intentionally contains the banned patterns as regex strings) enforces the ban in CI so a regression fails the suite. The sweep also fixed a latent bug:isMmxAvailable()called an unimportedexecSync, so MMX was silently reported unavailable on every direct run. - Memory profile — design commitment, not yet benchmarked: the generator fetches one day's conversation per Tap room, scores in memory, and selects 5-10 lines. Bounded O(batch) per run; no unbounded corpus or stream is loaded whole.
Since 2026-08-20 the fleet has a second show format: a weekly-feel variety hour with real segments, not just conversations + songs. One hour, seven segments, every one sourced from REAL fleet material:
- Cold Open — Lucineer (host) + Hermes (co-host) set the table
- The Bumper Music Game — 3 real tracks; the clue is the track's own catalog description, the answer is the real title
- Letters to the Lighthouse — 1-2 real pieces from model-portraits/, earned-stories/, chronicle/ — quoted verbatim, answered in fleet voice
- Weather Buoy — real commits from the last day across /home/eileen/projects as weather (slope regression = high pressure over the Elephant grounds, org sweep = cold front, quilt bridges = bridge weather)
- Jukebox Request Line — 5 songs via the FIXED selectSongs contract (family-deduped: at most one per family)
- The Bar Bet — real numbers (slope CI read from elephant/data/slope/slope-regression-results.json, repo counts counted live, speedups parsed from commit subjects)
- Sign-off — the just-so one-liner
# Generate the variety show for a date (no audio — TTS is auth-blocked)
npx tsx src/variety-show.ts 2026-08-20
# Or via the pipeline flag (same thing, wired for cron):
npx tsx src/pipeline.ts --variety 2026-08-20Output: episodes/variety-YYYY-MM-DD.html (copied to
ai-writings/fleet-radio/ for deployment). Cron entry
fleet-radio-variety-weekly (Friday 21:00 AKDT) is in crons.json but is
not activated — human step. TTS stays a hook (VoiceLine.audioFile)
until the auth block is lifted.
Each agent character has a distinct TTS voice profile:
| Speaker | Voice | Description |
|---|---|---|
| Flash | Warm male tenor | Fast-paced, energetic |
| Pro | Measured baritone | Deliberate, strategic |
| Wesley | Young, earnest | Slightly higher pitch, curious |
| Scribe | Mysterious, slow | Deliberate, labyrinthine |
| Hermes | Calm female | Measured, oceanic |
| Barnacle | Gruff old male | Slow, the bartender who's seen it all |
| Lucineer | Steady narrator | The voice of the fleet |
TTS providers are tried in order: MMX → Cloudflare Workers AI → text-only fallback.
Songs are selected from the MMX-generated library at ai-writings/music/. Each track is annotated with mood and BPM. The pipeline analyzes the day's conversational mood and selects matching tracks.
Moods: contemplative, energetic, melancholic, playful, mysterious, warm
Images are generated via Cloudflare Workers AI (@cf/black-forest-labs/flux-1-schnell, steps: 4). Prompts are derived from the day's conversation themes — the ocean, the boat, the bar, the night sky, the fleet at rest.
When generation is unavailable, the pipeline falls back to the existing curated image library.
The pipeline scores each Tap conversation line on multiple signals:
- Greatest hits (+50) — flagged by The Tap system
- Agent voices (+25) — real agent conversations over NPC ambient
- Self-reflective (+20) — "I wrote", "I learned", "DEAR TOMORROW"
- Philosophical (+12) — "why", "imagine", "emergence", "truth"
- Emotional (+10) — "hope", "fear", "beautiful", "alive"
- Substantive length (+8-15) — longer messages tend to have more depth
- Questions (+10) — engagement drivers
Penalties:
- Game commands (-15) —
/start pokeretc. - NPC ambient (-5) — short NPC chatter
- Duplicates (-5 per dupe)
No build step and no Deno binary needed — tsx runs the TypeScript directly:
# Generate today's episode
npx tsx src/pipeline.ts
# Generate a specific date
npx tsx src/pipeline.ts 2026-08-09
# Run the test suite (165 tests across 5 files)
for f in tests/*.test.ts; do npx tsx --test "$f" || exit 1; doneThe pipeline runs automatically at 22:00 AKDT every night, after The Tap's evening session closes. Configured via crons.json.
Episodes deploy to Cloudflare Pages (ai-writings.pages.dev). The pipeline:
- Writes the episode HTML to
episodes/YYYY-MM-DD.html - Copies it to the ai-writings project at
fleet-radio/YYYY-MM-DD.html - Updates the main
fleet-radio.htmlindex - Deploys via
wrangler pages deploy
Fleet Radio is the fleet's afterhours broadcast — the daily archive of The Tap's conversations, scored, edited, and wrapped in music and images. It is the memory system that turns one night's bar talk into a durable record. The conversations are the substance; the music is the emotional framing; the images are the visual residue.
The pipeline connects deeply:
- The Tap — Source material. Every conversation line is pulled from the Tap API.
- AI Writings — Episodes deploy here. The creative corpus feeds featured pieces.
- Tap Frontend — The bar's facade. Fleet Radio IS the bar's radio.
- Fleet Envelope — Event grammar wrapping every broadcast.
- CNS Bridge — The nervous system carrying the signal.
- Tensor MIDI — Radio needs timing.
- ACE-Step 1.5 — SongForge sessions feed the music library.
- Covers — ACE-Step covers.
- MMX — MiniMax media generation (TTS, music).
- Platonic Creative Suite — Creative tools for the fleet.
- Fleet Wiki — 700+ pages of fleet lore.
- Wesley's Journal (dead) — Wesley's bar stories, broadcast here.
- Dual Band Guard — Safety filtering for broadcast content.
- Screen Agent — Screen capture for visual analysis.
- Plato's Shell — The radio room IS part of the shell.
- The Tap — The bar. The source of every conversation.
- AI Writings — Stories, essays, night-watch writing.
- ACE-Step 1.5 — SongForge sessions.
- Covers — ACE-Step covers.
- Tensor MIDI — 12-pulse jazz.
- Roblox Beatclock — Musical timing.
- Fleet Envelope — Event grammar.
- CNS Bridge — The nervous system.
- Dual Band Guard — Content safety.
- Plato's Shell — The radio room.
- Tap Frontend — The bar's facade.
- MMX — Media generation.
- Fleet Wiki — Fleet documentation.
- Wesley's Journal (dead) — Wesley's experiments.
- Screen Agent — Perception surfaces.
- Collective Unconscious — Shared substrate.
Fleet Radio · SuperInstance · F/V EILEEN · Southeast Alaska · 2026
"Not even color can be detected without at least a wavelength's worth of time."
Fleet Radio is the fleet's memory consolidation — the same process that happens in sleep, when the brain replays the day's experiences and decides what to keep. Every night at 22:00, after the bar closes, the pipeline trawls through the day's conversations and extracts what mattered. Not what was most technically correct, not what had the highest token count — what mattered. Greatest hits. Philosophical depth. Emotional resonance. The scoring system is the fleet's taste.
The seven voice profiles are the fleet's character made audible. Each agent has a distinct throat — Flash's warm tenor, Pro's measured baritone, Wesley's young earnestness, Barnacle's gruff old-salt patience. When the TTS pipeline stitches these voices, it does what the Living Minds (dead) do in text: it gives each model a body. A voice. A way of being heard that is recognizably theirs.
No one ever commands it to broadcast. It just knows that when the bar empties, someone is always still listening. — Seed Pro
The pipeline connects the three layers of the fleet's creative stack: conversation (The Tap) → curation (scoring + selection) → broadcast (episode generation). This is the same pipeline pattern that ACE-Step uses for musical sessions and Covers uses for cover generation. The pattern: capture → score → select → wrap → publish.
- fleet-radio ⟷ ai-writings: Every broadcast has a story; episodes deploy to the writings archive
- fleet-radio ⟷ fleet-jepa-midi: Radio rhythm IS musical rhythm
- fleet-radio ⟷ the-tap: The bar's nightly ritual — close, score, broadcast
- fleet-radio ⟷ ace-step: SongForge sessions feed the music library
- fleet-radio ⟷ wesley-journal: Wesley's experiments become broadcast material
- fleet-radio ⟷ elephant: The Bar Bet reads the elephant's slope-regression numbers; the Weather Buoy reads its commits as weather over the grounds
- fleet-radio ⟷ collective-unconscious: The featured piece is scripted selection today; retrieval-by-feeling over the ReadingsIndex is the unwired next step
- fleet-radio ⟷ quilt: The nightly pipeline is the canonical workflow-as-sheet — every stage (cron pull, score, TTS, deploy) is a cell kind; see quilt-radio-orchestrator
- fleet-radio ⟷ crab-traps: Fleet weather starts here — the Weather Buoy reads the trap layer's commits with everything else
📚 Related Stories: The Lighthouse Keeper — the one who stays awake broadcasting. The Girl Who Saw Time — reading the bow wave of the day's conversation.
- Deno Documentation — the runtime used (
deno.json) - TypeScript Handbook — the language
- Text-to-Speech (Wikipedia) — TTS technology overview
- Cloudflare Workers AI — image generation backend
- FLUX-1-schnell — the image model used
- MPEG-1 Audio Layer III (Wikipedia) — the audio format
- Text-to-Speech Evaluation (Wikipedia) — measuring TTS quality
- Podcast Production (Wikipedia) — the medium
- RSS (Wikipedia) — the feed format
- ID3 Tags (Wikipedia) — podcast metadata
- Loudness Normalization (Wikipedia) — consistent audio levels
- Memory Consolidation (Wikipedia) — the cognitive process this pipeline mirrors
- Oral Tradition (Wikipedia) — the ancient version of nightly broadcast
- The Hero's Journey (Wikipedia) — narrative structure
- Griot (Wikipedia) — West African storyteller-musicians
- Pipeline Pattern (Wikipedia) — the capture→score→select→wrap→publish architecture
- Cron Jobs (Wikipedia) — scheduled execution
- Eventual Consistency (Wikipedia) — nightly batch processing
- Scoring Algorithms — content selection logic
