maintain-orchestrator-system
Maintain Orchestrator System
Keep an installed orchestrator agentic system current without losing what the repository deliberately changed. Maintenance works from the records Bootstrap left in the maintenance folder: answers.json (every decision), manifest.json (the kit version and the hash of every installed file) and baseline/ (the last installed copy of each customizable file).
It uses the installer of the sibling bootstrap-orchestrator-system skill: node <bootstrap skill>/scripts/install.mjs. The installed kit version is the first heading of that skill's CHANGELOG.md.
Run maintenance in a plain session, never inside one of the installed roles. Write nothing before the user approves the maintenance plan; in audit mode write nothing at all.
Modes
| Mode | When | What changes |
|---|---|---|
upgrade |
A newer Bootstrap kit is installed than the manifest's kit.version. |
The rendered files follow the new kit; the answers stay. |
evolve |
A decision changed: a client added or removed, sessions moved, a new tracker or integration, new validation commands. | The answers, then the rendered files. |
patch |
The user approved a fix to the installed runtime, usually a finding of improve-orchestrator-system. |
The named runtime files, recorded as kept customizations. |
audit |
The user wants to know where the installation stands. | Nothing. |
Load contracts/modes.md to detect the installation and settle the mode, and contracts/upgrade.md for the plan, the merge rules and the apply.