fermilink.exploop.memory module

fermilink.exploop.memory.append_to_memory_section(memory_path, *, heading, lines)[source]

Append lines to a markdown section, creating it when absent.

Parameters:
  • memory_path (Path)

  • heading (str)

  • lines (list[str])

Return type:

None

fermilink.exploop.memory.ensure_exploop_memory(*, repo_dir, user_prompt, prompt_file)[source]

Create or reuse the persistent exploop memory file.

Parameters:
  • repo_dir (Path)

  • user_prompt (str)

  • prompt_file (str | None)

Return type:

Path

fermilink.exploop.memory.memory_path_for(repo_dir)[source]
Parameters:

repo_dir (Path)

Return type:

Path