Docs / Operations Operate
Upgrades
Upgrading the binary, the storage format and cached compilation output.
- Read the newest devlogs and RFC status for changes that affect your workspace.
- Build the new binary; keep the old one until you have verified.
- Run
ekos doctorandekos config validate— unknown config sections are rejected. - Run the pipeline. The build fingerprint includes the pipeline's logic version, so changed analyzers reprocess automatically; no manual
.ekoswipe is needed. - If a read-only client (MCP server) reports "search index schema is stale", run
ekos ledger repaironce.
Storage format migration
| From | To | Command |
|---|---|---|
| SQLite v1 | v2 compact | ekos ledger migrate |
| SQLite | fact engine (v3) | ekos ledger migrate --v3 |
An existing SQLite workspace is never migrated automatically. Migrate a copy first and compare ekos status before and after.
Cached output
A CompilerPass skipped as cached uses its version and inputs. If an upgrade changes a pass without bumping its version, clear with ekos clean and rebuild.