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-tailRecover invalid tail; requires verified prefixopcional
--allScan every stream for drift and repair each drifted stream in one audited passopcional
--dry-runPreview the re-anchor impact without writing the history fileopcional
--normalize-provenanceRemove invalid provenance; return aggregate-only evidenceopcional
--author <value>Mutation authoropcional
--message <value>Audit history message for the repair marker entryopcional
--forceForce ownership/lock overrideopcional

Ejemplos

pm history repair --help

Comandos relacionados