mirror of
https://github.com/safishamsi/graphify.git
synced 2026-07-14 11:27:10 +00:00
7cb5e86fc1
graphify extract <path> --out R is documented to send all output to R/graphify-out/, but the AST and semantic extraction caches were still anchored at the scanned project (cache_root=target / root=target). That re-created a graphify-out/ directory inside the project the user explicitly asked to keep clean. Anchor both caches at out_root instead. With --out unset, out_root equals target, so existing in-project behavior is unchanged. Adds test_extract_out_keeps_project_root_clean: runs extract from a project root with --out pointing elsewhere and asserts the artifacts land under --out while the project directory stays byte-identical.