fn dedupe_skill_selections(
include_skills: &[BundleImportSkillSelection],
) -> Vec<&BundleImportSkillSelection>Expand description
The selections to import: the client-supplied include_skills has no length cap and no dedup
by source_dir, so an unbounded or repeated array could otherwise drive an unbounded number of
skill_upsert_unique_global writes regardless of how many skills the archive itself parsed to
(parsed.skills is already bounded by MAX_IMPORTED_SKILLS). First occurrence wins per source_dir,
then the list is capped at the same MAX_IMPORTED_SKILLS the parser enforces.