fermilink.drvloop.memory module

fermilink.drvloop.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.drvloop.memory.ensure_drvloop_memory(*, repo_dir, user_prompt, prompt_file)[source]

Create or reuse the persistent drvloop memory file.

Parameters:
  • repo_dir (Path)

  • user_prompt (str)

  • prompt_file (str | None)

Return type:

Path

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

repo_dir (Path)

Return type:

Path