Skip to main content

paths_for_provider

Function paths_for_provider 

Source
fn paths_for_provider(provider_id: &str, working_dir: &Path) -> Vec<String>
Expand description

Every path this provider reads, plus AgentMux’s own side file.

.claude/AGENTMUX_MEMORY.md is included for providers whose write target is CLAUDE.md, because that is the file AgentMux falls back to when the repository owns CLAUDE.md (SPEC_CLAUDE_MD_OWNERSHIP_PROTECTION_2026_08_22.md) — it is genuinely read, via an @-import line, and an instruction set that omitted it would be missing AgentMux’s own contribution. It is not in the registry’s native_instruction_sources because the provider does not discover it natively; the import line is ours.