Skip to main content

roster_target

Function roster_target 

Source
pub fn roster_target(project_root: &Path) -> PathBuf
Expand description

<project>/.trusty-code/agents — the only directory this module writes.

Why: the write target is deliberately NOT crate::paths::agents_dir’s result, which may legitimately resolve into .claude/. The read path and the write path are different functions on purpose (#5426). What: crate::paths::native_child for AGENTS_DIRNAME. Test: roster_target_is_under_the_native_config_dir.