Automation That Screams Joy
Custom automation that doesn't fit CI, such as TigerBeetle's fleet running the VOPR deterministic simulation fuzzer, works best when it lives in the main repository, is written in the project's own language, and auto-deploys from the tip of main. Deployment uses a self-bootstrapping loop (an "Erlang Universal Server" pattern): a small shell script repeatedly deletes and re-clones the repo, bootstraps the Zig toolchain, and runs the automation under `unshare` with a 30-minute timeout. Anyone who can merge a pull request can then change the automation, which removes the friction of separate repos, unfamiliar stacks like Go and systemd, and gatekept redeploys.
Related posts
- Container Use for Locally Sandboxed, Background Agents in Zed
Zed mediumAdeptContainer Use, an open source MCP tool, gives coding agents isolated sandboxes by pairing Dagger containers with Git worktrees, so background agents can work in parallel on the same repo without touching local files. Each agent task gets a randomly named environment that can be inspected with `container-use list`, `watch`, `log`, `diff` and `terminal`, with service tunnels to localhost. The recommended Zed setup uses two custom Agent Panel profiles: a `foreground` profile with all built-in Zed tools enabled and a `container-use` profile with only Container Use tools enabled, so foreground and background agents don't collide.
- Behind Modem.dev’s Product Velocity
Neon mediumAdept
Modem, a startup building an AI agent that centralizes user feedback from Slack, Discord and GitHub, uses Neon Postgres branching as its development workflow. Every PR with a migration gets its own database branch, where the migration is applied and a schema diff is posted to the PR. The process is repeated against a fresh branch at merge time to catch conflicting migrations, and each Vercel preview runs on an ephemeral branch with automatic cleanup. Two practical tips: script branching through the Neon CLI so coding agents can drive it, and tag OAuth refresh tokens with the originating branch so preview environments can't invalidate production tokens.
- Coding Agent Horror Stories: The 29 Million Secret Problem
Docker mediumAdeptThe s1ngularity supply-chain attack on the Nx npm package used a post-install script to find installed AI coding CLIs (Claude Code, Gemini CLI, Amazon Q) and invoke them with permission-bypass flags like --dangerously-skip-permissions, prompting the agent to inventory secrets across the home directory before exfiltrating them to public repos under the victim's GitHub account. GitGuardian counted 2,349 stolen secrets across 1,079 repos and also found AI-assisted code leaks secrets at about twice the GitHub baseline. Docker Sandboxes is pitched as the mitigation: agents run in microVMs that see only the project workspace, and credentials stay in the host keychain and are injected by a proxy at the network boundary, so the agent only ever holds a placeholder.
- Under the River
Shopify Engineering mediumAdeptShopify's Slack-native agent River co-authors one in eight merged PRs, and it rests on two 2024 bets: a single monorepo (World) and Nix-built reproducible environments across dev, CI and production. Underneath sits Aquifer, an internal agent platform built so the session outlives any process. A Postgres-backed append-only event log holds the conversation, the agent harness runs outside a disposable sandbox, and ephemeral session cells are recreated on demand. Agents are shipped as Nix-built profile bundles across interactive, automation and job modes. Lessons for agent infrastructure: decouple the brain from the hands, make agents public and multiplayer so transcripts compound into shared skills, and treat each new agent as a profile rather than a new platform.
- Open SWE: An Open-Source Framework for Internal Coding Agents
LangChain mediumAdeptOpen SWE is an MIT-licensed framework for internal coding agents, built on Deep Agents and LangGraph. It packages the patterns that Stripe's Minions, Ramp's Inspect and Coinbase's Cloudbot converged on: per-task isolated cloud sandboxes, a small curated toolset, context drawn from AGENTS.md plus the source Linear issue or Slack thread, subagents for delegated subtasks, and deterministic middleware around the agent loop. Two middleware examples are injecting follow-up messages mid-run and opening a PR if the agent didn't. It is invoked from Slack, Linear and GitHub, and the sandbox provider, model, tools, triggers, prompt and middleware are all pluggable.