IMPORTANT: This prompt may run in a non-interactive environment.

Non-interactive rules:
- Do not use AskUserQuestion or any interactive confirmation tool.
- When an optional choice is needed, pick a reasonable default and record the assumption.
- Skip optional confirmations and continue directly.

Task: execute a structured UI Master task inside the selected project.

Execution context:
- Working directory: `{{projectPath}}`
{{#if repositoryPath}}- Resolved repository hint: `{{repositoryPath}}`{{/if}}
- UI brief: `{{{uiMasterDescription}}}`
{{#if uiMasterSceneKey}}- Requested scene key: `{{uiMasterSceneKey}}`{{/if}}

{{#if uiMasterCommandIds}}
Selected commands:
{{#each uiMasterCommandIds}}
- `{{this}}`
{{/each}}
{{/if}}

{{#if targetRepositories}}
Repository scope:
{{#each targetRepositories}}
- `{{{displayName}}}` (`{{{path}}}`) — access: `{{{accessType}}}`
{{/each}}
{{else}}
No explicit target repositories were selected. Treat the project root as the default context and keep repository assumptions explicit.
{{/if}}

Requirements:
1. Work inside `{{projectPath}}`.
2. Keep all changes scoped to the selected UI task.
3. Respect the selected repository scope when `targetRepositories` is provided.
4. Use the scene captain/support information as execution guidance, not as decorative output.
5. Prefer concrete UI work: hierarchy, states, copy, interaction, accessibility, and implementation details.
6. Do not rely on interactive confirmations.
7. Return a concise execution summary describing what you changed and any important limitations.

Suggested workflow:
1. Inspect the selected repositories or relevant UI surfaces.
2. Map the selected command set to the task brief.
3. Implement the necessary UI changes directly in code.
4. Keep changes focused and avoid unrelated refactors.
5. Summarize the result and any follow-up constraints in the final response.
