2026-03 mar - rework python installer and cli discovery#
2026-03-15 - Sunday#
Moved installer execution out of the packaged CLI and tightened source-root resolution behavior.
Change summary#
Removed
install-toolfromdotfilesCLI and introduced repo-only installer entrypoint atpython/scripts/install_tool.py.Added installer library orchestration in
python/scripts/install_tool_lib.pywith branch/worktree safety checks, dev install isolation, and dirty custom-path isolation.Updated docs command execution in
python/src/dotfiles/main.pyto usesys.executable -m sphinxand related module invocations so installed entrypoints anduv runflows resolve tooling from the active interpreter.Updated docs build output paths in
python/src/dotfiles/main.pyandpython/src/dotfiles/publish.pyto targetdocs/_build/htmlconsistently so publish uses a stable HTML directory.Updated source discovery logging in
python/src/dotfiles/paths.pyto include the config file path when reading[paths].git_root.Added runtime package ancestry as a higher-priority source-root strategy in
python/src/dotfiles/paths.pysouv run --project python dotfilesresolves the active checkout before configured canonical fallback.Updated CLI help snapshot generation in
python/src/dotfiles/sphinxext/help_generator.pyto invoke help viapython -m dotfiles.mainwhile preserving displayeddotfiles ...commands.