The "Chief of Staff" pattern is an organizational architecture for AI coding agents designed to solve the failures of long-horizon autonomous work, specifically context loss, unreliable self-reporting, and the lack of compounding knowledge. Rather than relying on a single, overloaded session, this method employs a hierarchical orchestration model—often called Coordinator-Implementor-Verifier (CIV)—where a long-lived coordinating session manages work while separate, short-lived sessions perform implementation. The coordinator's role is to assign tasks, write briefs, and, most critically, verify claims by re-running commands and reading diffs rather than trusting agent transcripts. To ensure durability, the pattern requires a "session substrate" like cmux for workspace management and a "durable state store" such as Plan Desk (via MCP) to act as an externalized memory that survives session death. The workflow follows a strict loop: pulling tasks from a durable board, running a "red gate" (verifying that a test fails before starting), delegating work, and finally proving success by re-running commands and checking exit codes. By treating agent reports as evidence rather than instruction and maintaining a one-to-one relationship between task cards and Git commits, this pattern prioritizes verification discipline to ensure that the system's state remains truthful across multiple sessions.
Read original
hackernews