CI configuration and DevOps work has a maintenance burden that grows with the codebase: new services need pipeline configuration, dependency updates break builds, test flakiness requires investigation, and environment configuration drifts. This work is not glamorous, it is rarely prioritized, and it blocks everyone when it goes wrong.
The investigation pattern for CI failures is particularly time-consuming: a developer has to read logs, identify the failing step, reproduce locally, fix the configuration, push, and wait for CI to run again. On a complex pipeline, this loop takes longer than the fix itself.
An infrastructure agent is assigned CI and DevOps tickets, reads the CI logs via the gh CLI, and either fixes common failures or publishes a structured diagnosis to fabric.
agents:
- name: devops
role: infrastructure
model: claude-sonnet-4-6
subscribes_to: ticket_ready
The agent's prompt lives at .fleet/prompts/devops.md — Fleet resolves it by convention from the agent name, so there is no prompt: field in config. Note that Fleet does not publish CI status as a triggering event. CI status is read by the release gate (fleet release check) and by agents via the gh CLI; it does not by itself start an agent. Dispatch a DevOps agent by filing a ticket (or fleet task assign) so it can read the failure logs, classify the failure (flaky test, dependency conflict, environment issue), and fix it or escalate.