Skip to content

Close three review notes on the relay's Windows-lane profile start #16638

Description

@kyle-sexton

Problem

#16631 added the Windows-lane route to "Start in the target's plugin profile" in plugins/fleet/skills/reach/reference/relay.md. Its reviewers left three points that did not block the merge:

  1. A prompt that is itself an option. In the background form the prompt is one quoted argument with nothing before it. A prompt whose whole text is an option (for example --dangerously-skip-permissions) could be read by claude.exe as a flag. Source: the security lane's review of head 81dec1cb, "Considered and dropped".
  2. The prompt file can be left behind. Only the refused-launch branch and the final start remove relay-prompt-<name>.txt. If an earlier statement fails (the plugin list or the JSON parse), the file stays in the lane's folder. Source: pr-verify note on relay.md:148.
  3. No grader for the background form. plugins/fleet/evals/reach-start-in-profile-windows/case.yaml has no grader that fails when the background form is wrong; it was checked by hand. Source: pr-verify note.

pr-verify also noted that the argv walk starts at index 1 and assumes argv[0] is env. That holds today: plugins/plugin-profiles/scripts/profiles.mjs builds argv as ["env", "-u", …, "-u", …, "claude"] on every launch path. No change is asked for it.

Done when

  • A background start whose prompt begins with - cannot be read as an option, shown on a Windows lane with a harmless flag and no agent started; or the section says why it cannot happen, with the proof.
  • The prompt file is removed on every path the script can exit by, or the section says which path leaves it and why that is accepted.
  • A grader in reach-start-in-profile-windows fails an answer that passes the background prompt outside the quoting function, with a pass and a fail sample.

Related

Activity

  1. added
    host-run
    on Nov 16, 2026
  2. added
    needs-triage
    on Nov 16, 2026
  3. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor

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

    I read this as three follow-ups to #16631 in the Windows-lane profile start section of relay.md:

    1. Make sure a background prompt that begins with - can't be read as an option, or document why it can't.
    2. Remove the prompt file on every exit path, or document which path leaves it behind and why that's accepted.
    3. Add a grader to reach-start-in-profile-windows that fails when the background prompt is passed outside the quoting function, with a pass sample and a fail sample.

    Scope and done-when are exact, and the argv walk is explicitly out of scope. Proving the first item needs a run on a Windows lane, which this run can't do; that is already routed by the host-run label.

    I found no open duplicate and no merged pull request that already covers these points. Related: #16605, #16631, #16428.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triage
    on Nov 16, 2026
  5. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

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