Repository navigation
Description
Carving a capability out of an existing agent into a new one that must keep operating as part of the same business process — shared data, schedules, orchestration, hand-offs — currently runs in archaeological order. In the one split we have (corbin → Abilityai/sales-agent, 2026-08-20/21), five of the operator's seven follow-up questions each surfaced a real defect the process should have caught up front. The operator was the enumeration mechanism.
Requirements document: Abilityai/corbin-internal fleet/playbooks/agent-split.md @ b213da9.
Placement decision, form decision, and pushback on the requirements: trinity-pm prds/split-agent.md.
Placement (decided)
Top-level standalone skill in the agent-dev plugin — sibling of agent-fleet-analysis / agent-fleet-migrate, which is already this exact shape (assess an existing fleet → work order → execute non-destructively → verify each unit through a review gate → before/after report, delegating every fix to a named skill).
Rejected as homes, retained as edges:
create-agent— fails the input test (a split's input is a live, deployed agent with data and crons, not an empty directory) and the output test (the load-bearing half of a split is the source-side mutation). Retained as a called dependency (/create-agent:custombuilds the new half) plus a pointer row in the router menu, because that is where a person will look.add-orchestratorbundle — a split is rare, expensive, and the actor is the source agent, which is not always the orchestrator. Retained as an optional composition: detectfleet/system-map.yamland compose/discover-agents+/orchestrate; when absent, emit fleet deltas as an unowned-work report rather than dead-ending.
Phases
assess · inventory · authority · residency · contract · close · build · migrate · route · verify · sync · close-out — resumable across sessions via .split/<slug>/state.yaml (a split spans days; the reference case was ~50 commits over 2 days across 4 repos). A phase refuses to start while a prior phase has an open blocker — the cheapest structural encoding of "archaeological order" as a defect.
Full phase table with per-phase gates: prds/split-agent.md §5.
Acceptance criteria
/split-agent verifyimplements gates G1–G9 (see Split verifier: the nine mechanical gates — the load-bearing half of/split-agent#17); each returns PASS/FAIL with a named reason and a fix; a FAIL blocks phase advance.- Phase order enforced;
--resumerestores state across sessions. - Composes, never reimplements:
/create-agent:custom(build),/discover-agents+/orchestrate(fleet),/canon-publish(contract). Zero duplicated scaffolding. - Degrades: no
fleet/→ completes and reports fleet deltas as unowned work; no canon → contract written in-repo with a note on where it belongs. Never dead-ends. create-agentrouter carries a pointer row to/agent-dev:split-agent.- No irreversible act in
migratewithout a recorded reversal path; vacated locations keep anARCHIVED.mdstub naming the destination. - Dogfood gate: validated by replaying the
corbin→sales-agentsplit in dry-run, confirming it would have caught ≥4 of the 5 defects the operator found by probing. This is the only honest acceptance test at N=1 — and it is cheap to run before writing the gates. G4 must run insales-agent's actual container — a source-side run always resolves source paths and certifies itself. - Marketplace conventions:
metadata.version+ prepended changelog,/audit-wizardsgates green, registered in the plugin manifest, declared interactive-only (splits are operator-supervised by nature — no--autonomousmode).
Non-goals
Not an automated split (every phase is operator-gated). Not a merge/un-split tool. Not a create-agent wizard and does not absorb scaffolding. Not an add-* installer. Not platform work — the three Trinity gaps the split surfaced are routed to the platform trackers separately and must not be papered over in skill prose.
Note on frequency
N=1. The case for this is not that splits are frequent but that Trinity's own direction (archetype fleet ent#137, customers growing an agent past its boundary) makes them structurally recurring. If that assumption is wrong, the right build is gates + a phase list and nothing more — which is why #17 is filed separately.
Activity
vybe commentedon Aug 21, 2026
Operator ruling — 2026-08-21 (Eugene, relayed via Corbin). Filing approved; placement decision (
agent-dev, top-level standalone) stands.On PRD §12 Q1 (frequency is N=1 — build fully, or ship cheap until a second split proves the shape):
So AC 7 is not a closing check — it is the gate on writing the gates. Run the replay first, against the reference split, before #17's runners are built. If it does not clear ≥4 of 5, the shape is wrong and that is the cheap moment to learn it.
Companion issues: #17 (the nine gates) · #18 (G1 → fleet convention). Platform facts the split surfaced:
abilityai/trinity#2366,#2367,#2368.