Skip to content

WinUI skills: document winapp run --unique-identity for parallel worktrees #1320

Open

Description

Problem

When several agent sessions work on the same packaged WinUI app in parallel worktrees, each winapp run registers the same package identity, so one session's deploy overwrites another's and kills its running app. winapp run --unique-identity already solves this, but the WinUI agent skills don't tell agents about it:

  • plugins/winui/agent-plugin/skills/winui-dev-workflow/SKILL.md covers winapp run but never mentions --unique-identity.
  • plugins/winui/agent-plugin/skills/winui-ui-testing/SKILL.md says "there is no supported --unique-identity option". That sentence is in the sandbox section, but read on its own it tells agents the flag doesn't exist.

Repro

Four parallel Copilot sessions, each in its own worktree, built and ran the same FocusHost app with winapp run. Redeploys from one session repeatedly killed benchmark runs in the others. None of the agents used --unique-identity.

Suggested fix

  1. In winui-dev-workflow, add something like: "If other worktrees or sessions may run the same app, use winapp run --unique-identity."
  2. In winui-ui-testing, reword the line so it clearly applies to the shared sandbox guest only (or remove it if the flag works there too).

Activity

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