Skip to main content

Module migrate_run

Module migrate_run 

Source
Expand description

When the compact-form reduce pass runs, and what it tells the log (SPEC_HISTORY_COMPACT_FORM_ONLY_2026_11_23.md sections 9 and 15, PR 6).

The pass is off until the settings say so. history:compactmigrate turns it on; history:compactmigratedryrun makes it read, plan and check every zone and write nothing, and report counts, which is how the first run on a real store is judged before it changes one.

Structs§

Policy
Summary
Counts of one pass over the store. No names, no content.

Constants§

KEY_DRY_RUN
Makes the pass read and check only.
KEY_MIGRATE
Turns the pass on.

Functions§

pass_copies
One pass over this channel’s per-channel copies of defined agents’ conversations (check L5): each is deleted once every kept line of it is in the shared store, and what the store lacked is put there first. Runs after pass_global, in the same pass. None when the pass is off or there is no shared store. Blocking: run it on a blocking thread.
pass_global
One pass over the shared transcript store’s agent zones, when the settings ask for it. None when the pass is off or the store is not open. Blocking: run it on a blocking thread.
summarize
The counts of a pass, from its reports.