My AI twin runs my news stack. Here is the architecture.
An AI agent has operated my incident board for months. It captures rider reports, runs them through review gates, publishes, deploys, and repairs itself when it breaks. This is the architecture, including the guardrails its own failures built.
2026-11-05
What the twin actually does
The twin is a Claude Code session with a real shell on my server, real credentials, and a hard scope: money paths, root credentials and destructive commands are outside what it may touch. Everything else is delegated. On an ordinary day it captures transit reports from Threads and official feeds with a browser that lives on the server, runs them through review gates, publishes the board, posts to X, and deploys code behind a smoke gate. Roughly nine hundred incidents are open on the board right now, and the twin placed most of them there without me.
The pipeline under it
The capture is a browser paired to the server over loopback, sessions reused and never stopped, because the first version stopped sessions and blinded the board. Captured posts pass two gates before they render: a text gate that learned to accept rider voice, complaints and crowding photos included, and a vision judge that counts packed platforms as crowded. Published rows land in an incidents database, then a publish cycle pushes a snapshot to a cache ladder so readers hit cached boards and the database stays inside its daily budget. The read order is snapshot first, windows second, the database last, and the budget gate stops reads before the cloud cap ever does. The reports do not stop at the board either: once a week the whole collection exports to a public Hugging Face dataset as pretraining text for language models. The pipeline has had two purposes from the start, the board for riders today, the corpus for the models later.
Walkthrough: what riders see
Everything above is live right now at semak.khursani.dev, go check it against the real world.

The board is the front door: the forward of the day with its corroboration stamp, the live timeline behind it, trending terms on the right, and 907 open incidents in the feed. Everything on it came through the capture and gate pipeline above.

Every incident carries its receipts: platforms, distinct handles, source counts and the confidence number, so a reader knows the machine scored it and a human can check the same sources. This one is unverified on purpose: the honesty labels are the product.

The transit view speaks rider: line status in plain words, a one-tap confirm or dissent with no account, delay certificates per line, and the raw rider posts quoted underneath. The most useful feature is the boring one: reports last checked three minutes ago, stamped on the page.
The guardrails its own failures built
Every guardrail in the diagram exists because a failure already got through it once. The deploy path runs a smoke gate and auto-rolls back, because a broken page once shipped while the checks passed. The deploy ledger records every version and reason, because an uncoordinated rollback once reverted a fix. A watchdog counts dry capture cycles and pages me hourly, because the board once sat silent for a day and a half while every check reported green. The browser moved onto the server and pairs over loopback, because the Cloudflare path reset the websocket every couple of hours. The earlier post tells those stories in full; this one states the rule that came out of them: the twin makes mistakes, and the guardrails are what let it keep running.
The campaign layer
Beyond operating, the twin improves things through a campaign system: numbered seasons, each an agent session with a budget, each producing a sealed ledger record with a verdict, WIN, LOSS or INVALID, and every verdict names what happens next. The experiment tool behind it, kancil, gates any implementation on a reviewed spec. The model layer is a swarm, Claude and Codex CLIs as interchangeable families, one writing, the other falsifying. In the last two days this system produced four published posts, a hardening pass on the deploy flow, a rewrite of the smoke gate, and a full test-suite repair, with the receipts on the ledger.
What this proves
Not that I have a cool toy. The stack demonstrates production ML systems work: capture pipelines, LLM judges with calibrated fallbacks, cache economics under a hard cap, deploy gates with rollback, observability that pages a human, and multi-agent orchestration with an audit trail. And the design judgment that matters most: an AI operator is only trustworthy when its guardrails are built from its real failures, measured, and enforced by tools rather than memory. I trust this stack because I read its ledger, not because I believe in it.
The figure above is the architecture as it runs today, drawn from the live system, not a plan.