| retrofit | Schema evolution CLI |
| retrofit data | Work with the data corpus |
| retrofit data capture | Capture a dump’s observed rows onto the data corpus |
| retrofit data check | Check data-corpus files against the data-file grammar |
| retrofit data list | List the data fold the emit verbs would apply |
| retrofit data repin | Re-point one corpus data file’s anchor-op at an opid you name |
| retrofit data retire | Withdraw a data chain by name, minting an empty floor at the head |
| retrofit data scaffold | Mint an empty data-corpus file carrying declared metadata axes |
| retrofit data witness | Witness reference-data records: bind their bytes to the oplog |
| retrofit drift | Reconcile an oplog with an out-of-band .sql |
| retrofit identify | Report which cut a pg_dump –schema-only is at, and how it has diverged |
| retrofit import | Import one or more .sql files into an oplog |
| retrofit init | Initialize a new retrofit project |
| retrofit migrate | Emit a one-way migration script between two cuts |
| retrofit op | Edit the oplog |
| retrofit op add | Append a new operator instance to the active oplog |
| retrofit op compact | Drop the oplog’s traces (tombstones, replaces=) to a bound |
| retrofit op info | Print an operator’s reference entry, or the whole catalog with –dump |
| retrofit op remove | Drop one or more unsealed ops from the oplog |
| retrofit op revise | Patch bound parameters on an unsealed op |
| retrofit op seal | Seal the unsealed tail of the oplog |
| retrofit op show | Render ops from the oplog |
| retrofit op truncate | Rewind the oplog to a checkpoint by removing a suffix of ops |
| retrofit op unseal | Demote the most-recent N Seal record(s), keeping their ops as unsealed tail |
| retrofit ops | Run bulk maintenance over the oplog |
| retrofit ops upgrade-sql-bodies | Upgrade LANGUAGE sql opaque function bodies to BEGIN ATOMIC |
| retrofit reconcile | Close concurrent forks in the oplog by rebasing onto a linear tail |
| retrofit schema | Manage registered schemas |
| retrofit schema create | Create a new oplog and register the schema |
| retrofit schema engine | Read or set a schema’s engine version (production pin + emit target) |
| retrofit schema form | Print or switch the oplog’s form line (merge or compact) |
| retrofit schema list | List registered schemas (name, path, engine version, default marker) |
| retrofit schema move | Move a schema’s oplog to another directory |
| retrofit schema ref-tables | Read or edit a schema’s reference-data capture policy |
| retrofit schema ref-tables add | Declare one or more tables as the schema’s reference data |
| retrofit schema ref-tables remove | Undeclare one or more of the schema’s reference-data tables |
| retrofit schema remove | Remove a registered schema (deletes the oplog file by default) |
| retrofit schema scope | Manage [directory_scope] entries |
| retrofit schema scope add | Add a [directory_scope] entry |
| retrofit schema scope remove | Remove a [directory_scope] entry |
| retrofit schema set-default | Set or clear default_schema in retrofit.toml |
| retrofit snapshot | Emit canonical DDL for the materialized schema |
| retrofit validate | Validate retrofit.toml, project layout, and the oplog |