OpenCode uses hot reloading to manage plugin catalog modifications. Rather than plugins directly mutating a shared catalog, each plugin provides a transformation function that OpenCode applies in sequence, preventing ordering bugs and state inconsistencies.
Long-horizon AI coding work fails due to ephemeral context and unreliable self-reports rather than coding inability. The Chief of Staff pattern addresses this by separating orchestration (one coordinating session) from execution (separate worker sessions), storing state in durable external systems, and verifying all agent claims through re-execution rather than trusting reports.