pub fn seed_supervisor_session(
extra: &[String],
repo_root: &Path,
alt_settings: &[PathBuf],
) -> Vec<(PathBuf, PawError)>Expand description
Seeds the dev allowlist into every Claude settings target a supervisor session needs.
Targets:
<repo>/.claude/settings.json— always written (its parent<repo>/.claude/is created if absent).- each path in
alt_settings— a configured alternate settings file (resolved from[clis.<name>].settings_path). These are written only when their parent directory already exists; a target whose parent is absent is skipped, never created. The target set is config-driven — there is no hardcoded CLI name or path.
Each target is processed independently and failures are reported
individually via the returned Vec; callers (e.g.
cmd_supervisor) treat the per-target result as non-fatal and
log warnings to stderr while continuing session start. Returns
the empty vec on full success.