retrofit data reanchor
Re-anchor corpus records onto the op that now holds their place.
retrofit data reanchor moves a record whose anchor-op is retired (revised or
removed) onto the op that replaced it, and a reference record a release left
out of range onto the newest Seal line. A witness moves with its record and is
stale until retrofit data witness. --dry-run prints would reanchor: and writes
nothing; --as=json emits one record per line.
Synopsis
Usage:
retrofit data reanchor [<file> ...] [flags]
Options
Flags:
--data-root <path> root <path> that overrides the schema's `data_root`
--dry-run rehearse the re-anchor without writing
-h, --help help for reanchor
--help-all show extended help (vocabulary, semantics, caveats)
Global options
Global Flags:
--as string output mode: text | json (default "text")
-C, --chdir string treat <dir> as the working directory for the entire run
--config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)
-f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)
--no-consolidate render every advisory occurrence instead of collapsing repeats
-q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)
-v, --verbose reveal info-tier advisories on stderr
Docs: https://docs.retrofit.sh/current/commands/retrofit-data-reanchor/