{"slug": "i-manage-my-whole-coding-agent-fleet-from-one-project", "title": "I manage my whole coding agent fleet from one project", "summary": "A developer consolidated a fleet of coding agents spanning six machines and three harnesses (Claude Code, Codex, and Antigravity) under a single control plane: one always-on Mac Mini, one T3 Code project, and one private Git repo that only the Mini can push to. The other five machines each hold a read-only clone with their own read-only deploy key, and a systemd timer runs a six-line sync script every 15 minutes that pulls with --ff-only and relinks configuration via a stdlib Python script called fleet-link, driven by a fleet.json manifest that assigns the 16 shared skills to every machine and the 4 control skills only to the Mini. The setup keeps skills, global rules, and hooks from drifting across hosts and harnesses, and replaces heavier tooling like Ansible or Puppet with a pull-only Git workflow.", "body_md": "# I manage my whole coding agent fleet from one project\n\nRunning coding agents across multiple VMs and three harnesses meant constant skill drift. Now one Mac Mini, one T3 Code project, and one pull-only Git repo run the whole fleet.\n\nAfter I [moved my coding agents onto my own VMs](https://ryanmccue.ca/writing/moving-my-coding-agents-around/) and started running multiple harnesses side by side (Claude Code, Codex, and Antigravity), keeping all of my skills and global rules in sync across machines and harnesses got really annoying. I would add a skill on one box, tweak a rule on another, and a week later every machine had drifted into its own version. On top of that, I had no easy way to sit down and review my own skills without digging through hidden folders on several machines.\n\nSo I decided something had to change and I set up a single control plane for the whole fleet. One always-on Mac Mini runs everything. One T3 Code project on that Mini operates the machines, and one Git repo keeps every skill, rule, and hook in sync across them.\n\n## One Git repo, every machine and harness\n\nThe sync mechanism is pretty simple, and that is intentional. I decided to keep it simple and lightweight, not put something like Ansible or Puppet behind it.\n\nAll of my shared skills, global rules, hooks, and machine definitions live in one private Git repo. The Mac Mini is the only machine that can push to it. The other five machines (three general workers, an isolated work VM, and a dedicated personal-assistant VM) each hold a read-only clone with their own read-only deploy key.\n\nEvery 15 minutes, a systemd timer on each worker runs a six-line sync script:\n\n``` bash\n#!/bin/sh\n# Pull the fleet repo and relink. Run on workers by fleet-sync.timer.\nset -eu\ncd \"$(dirname \"$0\")/..\"\ngit pull --ff-only --quiet\nexec ./bin/fleet-link\n```\n\n`fleet-link` is a small stdlib Python script with no external dependencies. It reads one manifest (`fleet.json`), checks which host it is running on, and wires up symlinks for Claude Code (`~/.claude`), Codex (`~/.codex`), and Antigravity (`~/.gemini/config` plus T3 Code's isolated provider folders). Anything it replaces gets backed up first, stale links into the repo get removed, and machine-local skills that aren't in the repo are left alone.\n\nWhen I want to add a skill, tighten a rule, or swap a model on my [council](https://ryanmccue.ca/writing/council-reviews-it-first/), I make one commit on the Mini and push. Within 15 minutes it is live across every machine and every harness. And just as useful for me, having every skill and rule in one repo makes it way easier to read through and audit them myself.\n\n## Per-machine and per-harness control in one place\n\nSyncing identical files across machines is helpful, but the part that has been really awesome is centrally controlling where specific machines and harnesses need to differ.\n\nOne `fleet.json` drives the whole split:\n\n```\n{\n  \"hosts\": {\n    \"mac-mini\": { \"groups\": [\"common\", \"control\"] },\n    \"worker-1\": { \"groups\": [\"common\"] },\n    \"worker-2\": { \"groups\": [\"common\"] },\n    \"work-vm\": { \"groups\": [\"common\"] },\n    \"assistant-vm\": { \"groups\": [\"common\"] }\n  },\n  \"claudeHooks\": [\n    { \"event\": \"PreToolUse\", \"matcher\": \"Bash\", \"script\": \"hooks/claude/bash-background\" },\n    { \"event\": \"PreToolUse\", \"matcher\": \"Bash\", \"script\": \"hooks/claude/secret-guard\" },\n    { \"event\": \"PreToolUse\", \"matcher\": \"Read|Grep\", \"script\": \"hooks/claude/secret-guard\" }\n  ],\n  \"antigravityHooks\": [\n    { \"name\": \"fleet-secret-guard\", \"event\": \"PreToolUse\", \"matcher\": \"run_command|read_file|view_file\", \"script\": \"hooks/claude/secret-guard\" },\n    { \"name\": \"fleet-t3-guard\", \"event\": \"PreToolUse\", \"matcher\": \"schedule|invoke_subagent|...\", \"script\": \"hooks/antigravity/t3-guard\" }\n  ]\n}\n```\n\nFrom that one repo, `fleet-link` layers three pieces together when it builds the setup for a machine:\n\n- **Skills by role.** The 16 shared skills (shipping, council loops, Boat sandboxes, reporting, PR reviews) go to every machine. The 4 control skills (Proxmox management, LXC update audits, Headscale onboarding, media pipeline checks) only land on the Mac Mini.\n- **Rules by host.** Every machine starts with the same base`AGENTS.md` , and specialized VMs get a short host file appended automatically. My work VM gets its read-only cloud access and repo-specific rules, and my personal-assistant VM gets its own workspace and credential boundaries, without making every general worker carry rules that don't apply to it.\n- **Overrides and hooks by harness.** Harnesses don't all work the same way. Claude Code gets a hook that moves long shell commands to the background and nudges heavy test suites to[Boat](https://ryanmccue.ca/writing/moving-my-coding-agents-around/) . Both Claude Code and Antigravity get a`secret-guard` hook that blocks printing credential files or dumping tokens. Antigravity also gets a small harness override file plus a guard hook so it uses T3 Code's delegation and scheduling tools instead of its own built-in ones, along with a check that warns if the combined rule file approaches Antigravity's 24 KB truncation limit.\n\nThe fleet docs follow the same split. Every agent reads a short `FLEET.md` with the machine table and routing rules, while setup history, renewal steps, and rollback notes live in a separate `FLEET-ops.md` that only gets opened when changing the fleet itself.\n\n## One operations room for audits, rollouts, and new machines\n\nThe Git repo handles config, and a single **Homelab** project in T3 Code on the Mac Mini is where I actually operate everything.\n\nBecause the Mini is linked to every worker in T3 Code with full access and can reach them over Tailscale SSH, one thread in that project can inspect or update the entire fleet. It has turned into the main place I go for four things:\n\n- **Auditing environments and agents.** This is where I run my[weekly session log sweeps](https://ryanmccue.ca/writing/review-my-agent-logs-every-week/) , check how individual council reviewers are scoring PRs across dozens of runs, measure reply lengths directly from each machine's T3 database, or even run a three-model council against the homelab architecture itself.\n- **Rolling out changes across every box.** Adding a new model to CLIProxy, swapping a council seat, wiring up a new harness, or rolling out a read-only CLI tool with per-host tokens and a matching`secret-guard` rule all happen from one thread. Out of ~80 threads I've started in that project over the past few weeks, 17 were kicked off from my phone.\n- **Building out new machines.** When I spin up a new VM (like a dedicated personal-assistant hub or a fresh worker from a golden Proxmox template), I don't set up its agent environment by hand anymore. I give it a read-only deploy key, add one entry to`fleet.json` and an optional host rules file, wire its Headscale ACL and T3 link, and within minutes it inherits all 16 shared skills, global rules, hooks, CLIProxy, and Boat.\n- **Keeping permissions tight.** Workers only pull read-only, homelab operations stay on the Mini, and work repos stay isolated on the work VM. Everything is managed from one place without turning every machine into an admin box.\n\n## Quiet upkeep, and the only catch\n\nHaving one always-on control project also gave me a natural home for scheduled maintenance.\n\nRight now the Homelab project runs a handful of scheduled T3 tasks in the background:\n\n- **Nightly throttled disk cleanup.** After parallel Go builds grew a 173 GB build cache on one worker and froze the VM for 15 minutes during cleanup, I added a nightly job that trims rebuildable caches and runs chunked`fstrim` across each worker one at a time at 3:30 AM.\n- **Twice-weekly Boat snapshot refreshes.** Rebuilds the pre-warmed cloud sandbox snapshots whenever lockfiles or setup scripts change, so heavy test suites still start fast.\n- **Link renewals and follow-up checks.** Scheduled runs to rotate the 30-day linked-environment tokens between machines, plus 24-hour read-only checks after I ship a skill or hook change to confirm it synced and didn't regress anything.\n\nThe nice part about running these inside T3 Code is that clean runs settle their own thread and stay out of my way, so I only get pinged when something actually needs me.\n\nHonestly, I haven't run into any real rough edges with this setup yet. The only catch is that tweaking skills and rules is so easy now that I adjust things constantly (nearly 150 commits to the fleet repo in under a month), which I guess is a pretty good problem to have.\n\nNow every machine stays in sync on its own, I can review all of my skills in one place, and changing how my whole fleet works is a single commit.", "url": "https://wpnews.pro/news/i-manage-my-whole-coding-agent-fleet-from-one-project", "canonical_source": "https://ryanmccue.ca/writing/manage-my-coding-agent-fleet-from-one-project/", "published_at": "2026-11-30 00:00:00+00:00", "updated_at": "2026-12-01 03:16:43.255082+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["Claude Code", "Codex", "Antigravity", "T3 Code", "Mac Mini", "Git", "Ansible", "Puppet"], "also_reported_by": [], "takeaway": "A pull-only Git repo synced by a 15-minute systemd timer and a stdlib Python relinker driven by one fleet.json manifest keeps skills, rules, and hooks identical across six machines and three harnesses while still letting per-host groups differ.", "recommendation": {"advice": "Keep shared agent skills, rules, and hooks in one push-restricted Git repo, give each worker a read-only clone and deploy key, and relink harness configs from a single manifest on a 15-minute timer instead of running Ansible or Puppet.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/i-manage-my-whole-coding-agent-fleet-from-one-project", "markdown": "https://wpnews.pro/news/i-manage-my-whole-coding-agent-fleet-from-one-project.md", "text": "https://wpnews.pro/news/i-manage-my-whole-coding-agent-fleet-from-one-project.txt", "jsonld": "https://wpnews.pro/news/i-manage-my-whole-coding-agent-fleet-from-one-project.jsonld"}}