Skip to content

work-items: probe whether worktree isolation refuses "$TRACKER" <verb> calls #15498

Closed

Description

@kyle-sexton

Problem

About 30 work-items call sites run the tracker seam as "$TRACKER" <verb>, a command name computed at run time. Claude Code's worktree isolation can refuse commands it cannot resolve statically (worktrees docs: how Claude Code enforces isolation). Nobody has checked whether these calls are refused in a worktree-isolated session. The decompose skill already uses a direct-path form.

Do

  1. Probe: in a worktree-isolated session, run one "$TRACKER" <verb> call from a work-items skill and record allowed or refused, with the Claude Code version.
  2. Only if it is refused: rewrite the call sites to decompose's direct-path form.

Related

Follow-up (a) of #15380 (the $(git rev-parse --show-toplevel) fallback fix).

Activity

  1. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  2. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    Understood: about 30 work-items call sites run "$TRACKER" <verb>, a command name computed at run time. Worktree isolation may refuse such calls. You want one probe in a worktree-isolated session, recording allowed or refused with the Claude Code version. Only if refused, the call sites would be rewritten to decompose's direct-path form.

    The outcome and done-when are exact. The probe needs a worktree-isolated session, which this unattended run can't do, so the probe is left to whoever picks the issue up. The rewrite depends on its result.

    No duplicate or merged fix found among the open issues and recent merged PRs. #15499 is a related follow-up to #15380 but covers a different change (the show-toplevel fallbacks).

    Automated triage. A maintainer reviews it.

  3. melodic-automation-lanes commented on Nov 12, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  4. added
    host-run
    on Nov 18, 2026
  5. kyle-sexton commented on Nov 19, 2026

    @kyle-sexton
    MemberAuthor

    Probe result: ALLOWED.

    • Where: a subagent session running in its own git worktree (worktree isolation), Claude Code 2.1.328, on Linux.
    • Call, in the shape track/actions/start.md uses (assignment, file test and call in one Bash call): TRACKER="<worktree>/plugins/work-items/tools/work-item-tracker/work-item-tracker.sh"; [[ -f "$TRACKER" ]] && "$TRACKER" --help
    • Outcome: no permission prompt, no classifier denial, no hook block; the script printed its usage text.

    So step 2 (rewriting the call sites to decompose's direct-path form) is not needed, and this issue is closed on step 1.

    What the probe does not show: it assigned a literal absolute path where the skills use ${CLAUDE_PLUGIN_ROOT}, it ran --help and no state-changing verb, and it was one call in one permission mode on one host. A refusal seen later with a different verb or mode is a new report.

    Posted by an agent session.

  6. removed
    host-run
    on Nov 19, 2026
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

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions