Skip to main content

Module recover

Module recover 

Source
Expand description

memstead recover — bulk-fix accumulated parse-time drift.

Walks engine.load_warnings() for PARSED_RELATION_INVALID warnings, dispatches the remove_explicit_relation recovery on every writable-origin entry (one re-render per source entity), reports the read-only-origin entries as skipped. Per-entry failures keep the rest of the batch alive — the operator inspects the result for outcome: "failed" rows.

Output:

  • JSON (default with --json global): the raw ParseRecoveryReport shape — { entries: [...], commit_sha }.
  • Markdown: counts header + one bullet per entry with outcome / reason / id.

Structs§

Args
Apply parse-time-drift recovery actions across every writable mem. Read-only-origin warnings remain (out of scope) and are reported as skipped.

Functions§

run