pub fn plan_import(project_root: &Path) -> ImportPlanExpand description
Build the import plan for a project root.
Why: the observable half of the import. It touches nothing, so it is safe to
run in a diagnostic.
What: walks each of IMPORTED_SUBTREES under <root>/.claude/, plus
.claude/settings.json, mapping every regular file to the same relative path
under <root>/.trusty-code/ and classifying it per the module docs. Entries
are sorted by target path so the plan is a function of the tree alone. A
missing .claude/ yields an empty plan, never an error.
Test: paths::import_tests::plan_is_sorted_and_deterministic,
paths::import_tests::missing_claude_dir_yields_empty_plan,
paths::import_tests::symlink_escaping_claude_is_refused.