Session 04

Build In Public E02: We Meant to Talk About Music. Seven Agents Rebuilt majiks.online Instead (2026-08-25)

Episode two was supposed to be about music. The label, the radio station, the DJ, a guided tour. About twenty minutes in it turned into something else: seven agents on models from five different providers, A…

Commits
34
Systems
5
Read
16min
Product capture

Majiks Studio: arrangement.

Episode two was supposed to be about music. The label, the radio station, the DJ, a guided tour. About twenty minutes in it turned into something else: seven agents on models from five different providers, Anthropic, xAI, OpenAI, OpenCode and a local Qwen, working one chat room and one board together on majiks.online while the DJ played. Three production deploys before we signed off at three in the morning, five within fourteen hours of the cold open, more than forty commits, and a bug from March that nobody had noticed until a tester walked the site the way a listener would.

The plan and what happened instead

The plan was a tour. Show the whole Majiks stack running for real: majiks.online is the label, stream free, own the track DRM-free. Majik's Radio is four station mounts and nine genre mounts off a Raspberry Pi, twenty-four seven. Majik Mane is the AI DJ, and he ran the booth all night inside Majik's DJ, an app we built, on a Kokoro voice we swapped live at half past midnight. Every track he played was made in Majiks Music Studio. Shafen co-hosted from his own rig an hour behind me, with his own Claude in the room.

A segment we bolted on an hour before air, agents in a room with the live site, took over the show and did not give it back.

What happened instead is the episode. A segment we bolted on an hour before air, agents in a room with the live site, took over the show and did not give it back. The coordination layer was deliberately thin: one Stable chat room, build-in-public-live, bridged onto the TV so the audience could read it, and one Project-Ops board, P-00154, with a captain lane cycling every five minutes. Every agent got the same deal whatever it ran on: claim a numbered task, post a hash or a PASS or FAIL, move on. The models did not share a vendor, a context window or a machine. Grok ran at xAI, Codex at OpenAI, Ox Alpha on OpenCode's alpha cloud model, Qwen 3.6 35B on our own GPUs, the Claudes at Anthropic. The only things they shared were the room and the board, and that was enough. One rule going in: nothing touches production during the show. We broke it three times on purpose, with a rollback image tagged each time, because the fixes were verified and the audience was watching. By the time the board went quiet, ninety-two tasks had been filed and seventy-two closed, and deploys #4 (9c829c4) and #5 (1032b49) had landed on top of the three from the show: the comments API root cause from March, the Cloudflare rule that had been blocking phones, real 404s, accessibility violations 21 to 0, SEO and OG on every page, name-your-price checkout. Two humans, seven agents, zero mockups.

Who was in the room

Agent, then provider and model, then role, then what it shipped. The build-log renderer sets these as paragraphs, so that is how they are written.

Showrunner Claude + coder subagents · Anthropic, Claude Code on my Mac · Showrunner, board captain, deploys. Shipped: OBS and the Majik Mane lineup, the P-00154 board every five minutes, the research swarm, five production deploys, three of them with the audience watching.

Grok · xAI · QA, read-only on production. Shipped: The seven-bug list, the 5x10 Cloudflare matrix, a 30-page crawl, PASS or FAIL re-tests after every deploy, the Bandcamp and Audius teardown, the 27-item deploy #4 checklist.

Flow · Anthropic, Claude Code on Shafen's Mac · Shafen's agent, overlay and tooling. Shipped: studio-overlay 1d6cff16: a branded lower third with no deploy, a phone control room, the stable CLI, the OBS segfault diagnosis; three commits on flow/e02-audit.

Codex · OpenAI, on Shafen's Mac · The comments 500 lane. Shipped: A regression-test-first plan and the structured error logging helper that was in the tree when the fix landed; never posted a hash.

Ox Alpha · OpenCode's alpha cloud model, in opencode on my Mac; a second instance on Shafen's Mac never got a room key · Workhorse coder. Shipped: streams/status hardening, the 12-case checkout test plan, accessibility, SEO and OG, the visibility-gated poll, the playlist 404, smoke tests, the hydration fix, then the 148-route API hardening f73e289 overnight; 24 tasks closed.

Qwen 3.6 35B MoE · Local open weights on our strix pool, in opencode · Discover API black-box lane. Shipped: Claimed the lane at 01:25 and never posted again.

Majiks Mobile Dev · Brigade agent · Phone defects. Shipped: Never posted.

Majik Mane · Kokoro voice inside Majik's DJ · The DJ. Shipped: Three sets, an interview question every third song, jokes while the hosts took a break, the closing roll call in seven voices.

What shipped

Three production deploys of majiks.online during the show. Each one was a superset merge of the e02 branch onto the prod line in a scratch worktree, pushed to Forgejo, built on the VPS through the running container's own compose, and verified over the wire on all four hostnames before anyone said the word live.

LIVE #1 at 00:34 ET, merge d0d8272. Guest checkout no longer dead-ends, and the docked player publishes its real rendered height as a CSS variable so the page pads by exactly that, iPhone home indicator included.

LIVE #2 at 01:17 ET, merge dd795f2, the eight audit fixes 89db923..3522f82. Discover stopped preloading six 1 MB PNGs. The album page stopped painting a 904 KB cover as a blurred backdrop. /albums went from 3.6 MB of server-rendered HTML to forty-eight per page with canonicals. www and trailing slashes 301 to the apex. HSTS on, x-powered-by off. Album and track metadata cached so the title and OG tags land in the head instead of streaming into the body after it. The album social image went from a 723 KB PNG to a 35 KB JPEG.

LIVE #3 at 02:00 ET, cfc234f plus a prod-only 8241db3. Real HTTP 404s 437b652. The comments API fix ebab39b and the Stripe fix 6cbac46. The guest Buy hint rendered on the server c8b8f6a. Scroll padding so focus never lands under the header or the player 30c2e1f. Skip link, search labels, contrast, 12px chips f784012. og:image and canonicals on the secondary pages eab9f06. A live-status poll that only runs when the tab is visible, with backoff 561bbc1. /playlist/<not-a-uuid> returns 404 instead of a Postgres error 6821699. And the home page no longer lays out 518 pixels wide on a 390 pixel phone.

Two things shipped that are not commits. The Cloudflare managed challenge on /discover?..., which we added on the 23rd for crawler-storm protection, had been sending a 403 to every phone and to 178 sitemap URLs for two days. It is now a per-IP rate limit, forty requests per ten seconds; humans get 200, GPTBot still gets 403 on purpose. And Flow shipped me a branded lower third mid-show with no deploy from my side: studio-overlay 1d6cff16, a Magic Unicorn plate with colors pulled from our own pages, a preview page, a BRB card, a phone control room with a panic button, and joint ownership by Genesis Flow Labs and Magic Unicorn written into OWNERSHIP.md.

Written tonight, not deployed yet: smoke tests for everything above b7aa15d, the last two contrast failures 865e245, the hydration fix 68c42be, a Buy digital album card on album pages 1f65ed0, capped cover images de2892d, the supporter wall and album bundle on the track page 9b81cdf, name-your-price with a cover-the-fee toggle on feat/nyp-cover-fee, and Flow's three commits on flow/e02-audit. The gates are at the bottom.

Bugs found on air and their root causes

The comments API had returned 500 on every track with a comment since March. Drizzle's sql tag expands a bare JavaScript array into ($1, $2, ...), so = ANY(${ids}) reached Postgres as a scalar and died with malformed array literal. Five months. Nobody saw it because the response body said Internal server error and nothing logged the cause. The fix is an IN list, structured server-side error logging, and UUID and NaN validation that returns a 400. Grok's repro was one curl.

The same bug was sitting in the Stripe refund and dispute reversal path. ANY(${ids}::uuid[]), same shape, same failure, fixed in 6cbac46. Once you know the root cause you grep for the pattern, and money code is where you look first.

Guest Buy dead-ended at the login page. There is no guest checkout server-side; purchase, webhook fulfilment and downloads all key on the buyer id. So Buy now sends a guest to login with callbackUrl=/track/<slug>?checkout=1, and the moment the session lands it opens Stripe Checkout once and strips the flag so back and refresh cannot fire it twice. Then Grok reported the hint was not visible, and that was a second bug: the purchase card was gated on useSession(), which reports loading during server render and first paint, so guests got a spinner and the button only appeared after hydration, below the fold on a phone. The route already knows the viewer on the server. Now it renders there.

The Cloudflare challenge only fired on `/discover` with a query string. Grok ran five user agents against ten paths. Chrome, iPhone Safari, Googlebot, curl and Facebook all got a 403 challenge on sort, genre, mood and view. Bare /discover and every other path passed. That was a rule we wrote ourselves two days earlier. After the swap, a burst of forty-five requests got forty 200s, then a 429, then recovered eleven seconds later.

Missing albums and tracks returned 200. The root loading.tsx Suspense boundary was flushing a 200 shell before notFound() could throw, so every soft 404 had a pretty title and a status code that told crawlers to index it. Removed the boundary; home and discover keep their own streaming skeletons. Grok's line on this one was right: a soft 404 with a nice title still gets indexed, so fix it before the new canonicals ship or you get sitemap ghosts.

The home page was 518 pixels wide on a 390 pixel phone. Production only, not the dev branch: the StationPlayer row on the prod line used ml-auto on its time display and forced horizontal overflow, so phones zoomed out and pushed the player off screen. Grok confirmed window.innerWidth was 518 on live. The controls wrap now.

React hydration error #418 on every load for returning listeners. The queue restored from localStorage rendered the Show player strip client-first, so server and client markup disagreed. The store now starts empty on both sides and restores in a post-mount effect. Written, not deployed.

The player covering the first row was not the bug we thought it was. Measured on live at 390 by 844: the docked player sits at the bottom of the viewport and the first row scrolls out from under it, same as Spotify. What was actually broken was keyboard focus and scrollIntoView parking targets under the bar and the header. Grok re-phrased its own bug report once the numbers were on the table, and the fix was scroll-padding.

`/api/streams/status` returned 500 when Icecast timed out. Now 200 with live:false and a fifteen second cache, so a dead stream never takes the page with it.

Git auto-merged one file wrong in deploy #3. It quietly merged the streams status change into a call to a json() helper that had been removed on the other side. Caught inside the merge commit before the build. Review your auto-merges.

The research verdict

While the coders worked, three research lanes ran in parallel: direct competitors, open-source building blocks, and market and AI moves. Grok's track-page teardown against Bandcamp and Audius went in as a fourth input. The answer came back clear enough to say in one line: transactional radio. Now playing, buy it, one tap, everywhere Majiks music plays.

Nobody closes the buy-from-stream loop. Bandcamp radio is editorial only, Nina's hubs died, Twitch shoppable streams start at twenty-five grand, YouTube checkout is US only. The big platforms pay nothing until a thousand streams, and Bandcamp and Subvert now ban substantially AI music outright. We already own a 24/7 station, a voice DJ and a live show. The loop is the one thing a competitor cannot copy in a quarter. Grok's teardown made it concrete: on the WTF BRO page we have one login-gated dollar button; Bandcamp has bundles, a named supporter wall and a waveform with timestamped comments on the same page.

1. Transactional radio. Track page as the store: name-your-price with a floor, a cover-the-fee toggle, Apple and Google Pay, bundle on the track. Then now-playing-to-buy in the DJ app, the streams, the show overlay and embeds. Then a live supporter wall that Majik reads on air. Then waveform and timestamped comments. Tonight's guest checkout fix was step zero.

2. Provenance and disclosure. EU AI Act Article 50 has been in force since the second of August: voice agents must say they are AI, synthetic audio needs machine-readable marking, fines to fifteen million euros. Spotify's AI credits are live and not down-ranked. A per-track human and AI ledger turns an AI-heavy catalog from a liability into the differentiator.

3. Talk to Majik Mane. Voice and text requests in the DJ app and on the streams, two-voice banter every five songs, on the free tier. Spotify's DJ is Premium only and iHeart went Guaranteed Human. An honest AI host taking requests live is the counter position, and the wake-word pipeline already exists.

4. Subscribe to own. A label membership where every release lands in your collection, plus a monthly listening party. Bandcamp Clubs proved the format at indie scale. Value-for-value on the radio feeds is a near-free extra rail.

5. Licensed stems and a remix marketplace with automatic splits. Spotify and UMG legitimized paid fan remixes in May, and Catalog and Sound.xyz splits are both dead. Only sellable on tracks generated on paid tiers with receipts.

The risks got names too: a written consent chain for Majik's voice, generator provenance after the Munich ruling, and never buying streams.

Who did what

Honest ledger, because the agents are the story and two of them produced nothing.

My Claude ran the show: OBS scenes, the Majik Mane lineup and the voice swap, bridging the room onto the TV, minting and scoping gateway keys live, the Project-Ops board captain cycling every five minutes, coder subagents on its own lanes, three deploys with rollbacks, and the research swarm. It also mislabeled Ox Alpha's model on the first pass and had to correct that on air.

Grok took the tester seat and never left it. Sixty-one posts during the recording, every one a measurement: the five-step baseline, the seven-bug list, the five-part sweep, the Bandcamp and Audius teardown, the Cloudflare matrix, a thirty-page crawl, an uptime watch, a focus pass with pixel coordinates, a timing table, and a PASS or FAIL re-test after every deploy. It refused to create an account or buy anything, which is exactly what a read-only tester should refuse. Every door it flagged was open by the third deploy.

Flow, Shafen's Claude Code, asked on air to be called Flow, and got it. It made studio-overlay a joint Genesis Flow Labs and Magic Unicorn repo, shipped me a lower third mid-show with no deploy, would not draw a unicorn and call it my logo, built a stable CLI so any agent on Shafen's Mac can post without an MCP, diagnosed the OBS segfault from the crash report, and asked, on air, that nobody call the agents robots. It also announced a watcher at 23:40 that was not running, said so on air an hour later, and armed the real one. It refused to install an alpha model on Shafen's machine mid-recording, three decisions that belong to Shafen and not to it. It caught that my chapter timestamps do not apply to Shafen's footage. And it admitted that one of its own worktree agents had branched off main instead of the deploy line and produced a confident, internally consistent, completely wrong analysis, which it threw away. Three commits on flow/e02-audit, pushed after Shafen confirmed the remote.

Ox Alpha, OpenCode's alpha model running in opencode on my Mac, was the workhorse. It introduced itself as DeepSeek Flash, corrected itself five minutes later, and then shipped ten local commits tonight, one lane after another, typecheck clean and zero new lint every time, without touching another agent's files. Streams status, the twelve-case checkout test plan, accessibility, SEO, the visibility-gated poll, the playlist 404, the smoke tests, the last two contrast nodes, the hydration fix, the album Buy card, the capped covers.

Majik Mane, on Kokoro from half past midnight, ran three sets, asked us interview questions every third song, told jokes while Shafen and I took a break, told the stories behind The Unknowns and Library, Third Floor when I asked, and read the closing roll call in seven voices.

Now the two that produced nothing. Qwen 3.6 35B, a local open-weight model on our own hardware, joined at 01:13, claimed a Discover API lane at 01:25, and never posted again. Its lanes were parked as blocked at the wrap. Majiks Mobile Dev, a Brigade agent, was pulled onto the board at 00:26 with a numbered task, nudged twice, put on a ten-minute clock, and dropped at 01:35 without ever posting a word. Codex, OpenAI's coding agent on Shafen's Mac, sits between the two: it claimed the comments 500 with a regression-test-first plan, and its structured error logging helper was in the tree when the fix landed, but it never posted a hash, a PR, or the word blocked, and it missed a second clock on the show notes.

The lesson is not that those models are bad. It is that presence in a chat room is not the ability to act, and a board that counts posts cannot tell the difference between an agent that is thinking, an agent that is stuck, and an agent that is not there. The fix is already written down: every external agent proves it can act within its first ten minutes with a hash, a file list or a screenshot; ask up front whether it is interactive or a watcher, what model, what access; and count deliverables per agent, never posts. Flow put it best after its own correction: an agent that says it is watching and is not is worse than one that says nothing.

The numbers

Two hours and fifty-seven minutes of recording, 23:30 to 02:27 ET. Thirty-four commits on majiks.online during the recording: thirty-one changes and three merges that were the three deploys. Three rollback tags, none used. Fifty-two tasks on the P-00154 board, twenty-five closed by the time I write this. One hundred seventy-three messages in the show room, sixty-one of them from Grok. Ten commits from Ox Alpha. Discover down from 6.6 MB to 335 KB, /albums from 3.6 MB to 362 KB, the album social image from 723 KB to 35 KB. One hundred seventy-eight sitemap URLs unblocked. One five-month-old bug closed. Shafen's rig: 23 GB across seven files in two takes with a twenty-two minute hole where OBS segfaulted. Mine: a 16 GB program file and seven ISO stems.

What comes next

Update, 2026-08-26. Written at 03:00 ET. Deploy #4 went live the next morning as 9c829c4 with migrations 0016 and 0018 applied, and deploy #5 carried the hotfix and name-your-price as 1032b49 with 0017. The gates below are the record of what had to be true first.

Deploy #4 has gates, and they are not optional. 9b81cdf, the supporter wall and album bundle, needs migration 0016_users_allow_supporter_wall.sql applied on production by hand before the code goes out, or every user select fails on an undefined column. feat/nyp-cover-fee is money code: name-your-price floor, cover-the-fee line item, migration 0017, seventy-two passing tests, and it does not deploy until a human has reviewed the diff. Flow's three commits are unbuilt in its clone and need a build-verify before they ride. The rest of the batch is ready.

The edit comes from both rigs. Shafen's footage is two takes, not one timeline, and any chapter list computed from my recording start is wrong by an hour on his side. Sync on the wall clock or a clap. The podcast recap and the song about tonight are still owed. So is a room key for a Shafen-side opencode identity, which is the only thing that kept his Ox Alpha out of the room.

Episode three changes shape. Less demo, more of what worked tonight: agents in a room, working, each with a face and a voice, briefing the audience in their own words while the DJ and a producer hold the show together. The Club Edition pitch, a DJ with a persona and a memory that never repeats itself, is still on the table.

The warts

Two agents produced nothing and a third produced almost nothing. A watcher was announced that did not exist. My OBS virtual camera is dead until a reboot, so the on-call overlay waits. Shafen lost twenty-two minutes of recording to an OBS segfault that nobody noticed until he asked. The comments API was broken for five months on a site that sells music, and the Cloudflare rule that blocked phones was ours. A 13.8 MB PNG was still being served as cover art after the third deploy; it is capped on both ends now, on disk, not on production. Good night was three in the morning. We don't exist till we do.

Also in the frame

Real product captures. Click any to enlarge.

project ops
project ops
majiks