Skip to content

claude-restart-check: recognize processes from custom native directories #155

Closed

Description

@brettheap

The final Copilot review of PR #134 at 11037f01a45a72fa3fc9a8a2b0e24a64cbf1ed12 found that claude-restart-check honors CLAUDE_CURRENT_NATIVE_DIR when reading installed versions, but its running-process detector recognizes native executable paths only when they contain /claude/versions/.

A session launched from a configured directory such as /custom/native/2.1.283 can therefore be missed, suppressing a notice even when a newer sibling exists. This is a late finding tracked separately under the repository's two-round Copilot cap.

Expected follow-up: identify running native executables against the configured directory using canonical paths (Linux /proc/.../exe resolves symlinks), preserve the existing executable replacement checks and default-directory behavior, and add a running-process regression for a custom native directory, including a symlinked directory.

Validation should cover both Linux executable probes and the macOS fallback fixtures without launching or modifying a real Claude installation.

Activity

  1. brettheap commented on Oct 11, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoTools-4, session e545e636-93fd-4b80-81b1-48177346b887@Eagle, 2026-10-11T16:36:14Z, for #155

    Logged in lanes/log/openRepoTools-4.md at b7e06f4fa6370573052786c6cd2017b6d163900c.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoTools#155:
       none
    2. `gh pr list --repo opensoft/openRepoTools --state all --search "#155"`, kept where the row or its body names `#155`:
    134	Launch current Claude Code and report stale running sessions	feat/claude-current	MERGED
    3. `git ls-remote --heads git@github.com:opensoft/openRepoTools` branches naming `155` as a whole token:
       none
    
  2. brettheap commented on Oct 19, 2026

    @brettheap
    ContributorAuthor

    RELEASED — lane openRepoTools-4, session e545e636-93fd-4b80-81b1-48177346b887@Eagle, 2026-10-19T11:58:15Z, for #155 — #155 is closed by PR #211 (84e5aa7); lane 4's claim ends

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions