Todos los comandos · evidence
pm history repair
Re-anchor a drifted item history chain (recompute hashes, reconcile with the on-disk item) and record an audit marker. Use --all to repair every drifted stream.
Re-anchor a drifted item history chain (recompute hashes, reconcile with the on-disk item) and record an audit marker. Use --all to repair every drifted stream.
Uso
pm history repair [options] [id]Argumentos
| <id> | Item id (omit with --all) | opcional |
|---|
Opciones
| --salvage-tail | Recover invalid tail; requires verified prefix | opcional |
|---|---|---|
| --all | Scan every stream for drift and repair each drifted stream in one audited pass | opcional |
| --dry-run | Preview the re-anchor impact without writing the history file | opcional |
| --normalize-provenance | Remove invalid provenance; return aggregate-only evidence | opcional |
| --author <value> | Mutation author | opcional |
| --message <value> | Audit history message for the repair marker entry | opcional |
| --force | Force ownership/lock override | opcional |
Ejemplos
pm history repair --help