Skip to main content

global_against_startup_files

Function global_against_startup_files 

Source
fn global_against_startup_files(
    files: &[StartupFile],
    global: &[Entry],
) -> (Vec<Entry>, StartupCarry)
Expand description

Which current Global sections the CLI already got from a startup file: one AgentMux wrote that holds the section byte for byte. Returns the sections newer than the files (absent, or held in an older form, which the CLI never saw in its current form), and how much of the Global Memory the files carry. A foreign file doesn’t count, or the hook would drop current entries the agent never saw.