mirror of
https://github.com/Ar9av/obsidian-wiki.git
synced 2026-09-14 20:36:34 +08:00
7620af79ff
Windows agent installs can contain directory junctions, and standard accounts often cannot create new symbolic links. Detect link-like entries safely, remove junctions without traversing their targets, fall back to copied skills only for WinError 1314, and make status output tolerant of GBK consoles. Constraint: Windows users may lack Developer Mode or Create symbolic links privilege Rejected: Require elevation or Developer Mode | blocks standard Windows accounts Confidence: high Scope-risk: moderate Reversibility: clean Directive: Keep --copy as the explicit deterministic mode; only WinError 1314 may trigger automatic fallback Tested: pytest -q tests/test_cli_install.py tests/test_ast_extractor.py tests/test_cache.py tests/test_graph_analysis.py tests/test_graphrag.py (196 passed); py_compile; actual obsidian-wiki setup with the target vault (exit 0) Not-tested: Full suite still has unrelated Windows doctor/environment failures Related: #186 #187 #188 Co-authored-by: Chen Li <george_lichne@163.com>
3.6 KiB
3.6 KiB