df7a86f041
Root cause: terminal availability checks still imported minisweagent for the local backend even though local/singularity now use Hermes wrappers directly. In git worktrees, the local submodule path may also be an empty placeholder, so direct path insertion could miss the populated mini-swe-agent checkout. This change: - adds a helper to discover mini-swe-agent from the current checkout or the main checkout behind a worktree - uses that helper in terminal_tool and mini_swe_runner - stops requiring minisweagent for the local backend requirements check - adds regression tests and validates terminal/file tool resolution again