personal memory agent
0
fork

Configure Feed

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

doctor: skip port_5015_free in git worktrees

Host port state is not a worktree's concern — the worktree will never run
its own service. Mirrors the existing worktree skip in
stale_alias_symlink_check. Unblocks hopper lodes created after the doctor
was wired into make install (commit 951ed1e9).

+15
+15
scripts/doctor.py
··· 444 444 445 445 def port_5015_free_check(args: Args) -> CheckResult: 446 446 check = CHECK_MAP["port_5015_free"] 447 + # In a git worktree (hopper lode, personal worktree) the host's port state 448 + # is not this worktree's concern — the worktree will never run its own 449 + # service. Skip, matching the pattern in stale_alias_symlink_check. 450 + try: 451 + alias_state_cls, check_alias_fn = import_install_guard() 452 + except Exception: 453 + pass 454 + else: 455 + state, _ = check_alias_fn(ROOT) 456 + if state is alias_state_cls.WORKTREE: 457 + return make_result( 458 + check, 459 + "skip", 460 + "git worktree; run doctor from the primary clone", 461 + ) 447 462 port = args.port 448 463 if shutil.which("lsof") is None: 449 464 return make_result(