personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(observer-install): skip pipx pkg check when pipx is on PATH

Linux dry-run preflight reported pipx as both ✓ tool and ✗ system-package when pipx was installed outside the distro's package manager (e.g. via uv or pip). Tool detection is the canonical source of truth — short-circuit the rpm/dpkg check for pipx-equivalent package names when 'command -v pipx' succeeds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+7
+7
observe/observer_install/linux.py
··· 318 318 ] 319 319 320 320 321 + _PIPX_PACKAGE_NAMES = {"pipx", "python3-pipx"} 322 + 323 + 321 324 def _check_packages(distro: str) -> list[tuple[str, bool]]: 322 325 packages, _install_command, query_method = DISTRO_PACKAGES[distro] 326 + pipx_on_path = run_probe(["sh", "-c", "command -v pipx"]).returncode == 0 323 327 result = [] 324 328 for package in packages: 329 + if package in _PIPX_PACKAGE_NAMES and pipx_on_path: 330 + result.append((package, True)) 331 + continue 325 332 if query_method == "dpkg": 326 333 cmd = ["dpkg", "-s", package] 327 334 elif query_method == "pacman":