Build log: Pearl Studio Pro

An AI content pipeline with one human in the loop

Four AI agents research, generate, schedule, and post content around the clock. Pearl Studio Pro is the one page that shows what the fleet is doing, replaces a text-message approval loop with a gallery picker, and keeps a single human approval in the loop.

Role
Architect & operator
Stack
React · Hono · SQLite · Server-sent events · systemd
Years
2026
Status
Running as a service, one operator
01 · Problem

Four tools, four tabs, and approvals by text message

The pipeline worked, but watching it meant four disconnected surfaces, and approving a batch meant typing replies into a chat. One page was the target.

02 · Registry

Everything that varies is data, not code

Agents, pipelines, tasks, actions, and platforms are declared descriptors. The server validates the whole registry at boot and refuses to start on an inconsistent one, cycle checks included.

03 · Realtime

Watchers for speed, reconciliation for truth

File watchers and server-sent events deliver millisecond updates; a 60-second reconciliation loop re-reads every state file and is the declared authority when they miss.

04 · Approval

One gallery, one gesture, one human gate

A picker shows every option per concept and auto-advances through the batch. Each decision is written atomically into the pipeline's own workspace, with the old text path kept as a fallback.

05 · Observability

An audit log, four charts, and a retention policy

Every action lands in a filterable audit log with CSV export; metrics cover cost, duration, success rate, and an error taxonomy; six retention policies run nightly.

06 · Process

Built in seven phases by a governed agent fleet

651 commits, 86 logged architecture decisions, and 2,601 automated tests, with more test code than product code and a human sign-off at each phase gate.

07 · Shipped

The result: 72 hours unattended, one approval per cycle

The pipeline ran three days unattended to pass its gate, and runs since on a 15-minute publishing cadence. The only human step is the approval.

20posts a day, one human gate
4AI agents supervised from one page
2,601automated tests
72hunattended-operation gate, passed

Bring the problem nobody's solved.

Start a project