You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fd9f982
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,13 @@ Do not mix platform-specific implementation patterns:
32
32
33
33
## Agent API Coverage
34
34
35
-
- Treat agent access as part of every new or changed user-facing capability on both platforms. In the same change, expose its meaningful actions and state through Agent Control so agents can use it autonomously without relying on UI interaction.
36
-
- Add or update commands and schemas in `shared/automation/commands.json`, then implement and advertise them in the macOS and Windows automation handlers wherever the feature exists. Do not invent cross-platform feature parity: an unsupported platform must return `not_supported` and must not advertise the command.
37
-
- Ensure the shared CLI and MCP server expose the capability with the correct schema. Update relevant Skills, `docs/agent-integration.md`, and examples when workflows change; test the contract, platform behavior, errors, and CLI/MCP exposure as appropriate.
35
+
- Do not assume that every new or changed app capability belongs in Agent Control or the Agent CLI. First evaluate whether agent access is safe, meaningful, and likely to help an autonomous agent; consider security, least-privilege scopes, approvals, OS permissions, platform support, and whether UI-only configuration is intentional.
36
+
- If the value or safety is ambiguous, ask the user whether to add Agent API coverage instead of silently exposing or omitting it. This is especially important for destructive, purchase, account, or permission-sensitive actions.
37
+
- When Agent API coverage is explicitly requested or clearly warranted, add or update commands and schemas in `shared/automation/commands.json`, then implement and advertise them in the macOS and Windows automation handlers wherever the feature exists. Do not invent cross-platform feature parity: an unsupported platform must return `not_supported` and must not advertise the command.
38
+
- Ensure the shared CLI and MCP server expose the capability with the correct schema only when it belongs in the Agent API. Update relevant Skills, `docs/agent-integration.md`, and examples when workflows change; test the contract, platform behavior, errors, and CLI/MCP exposure as appropriate.
38
39
- Preserve opt-in Agent Control, pairing, least-privilege scopes, sensitive-action approvals, audit logging, path restrictions, OS permissions, and Pro/Store requirements. Never bypass these protections to make a feature autonomous.
39
-
- If a capability cannot be safely or meaningfully exposed, explain the limitation and get user direction rather than silently omitting agent support.
40
+
- If a capability cannot be safely or meaningfully exposed, explain the limitation and get user direction rather than silently omitting or bypassing agent support.
41
+
- If the Agent CLI, MCP server, plugin, or shared automation contract changes, update `agent/CHANGELOG.md` under `## Unreleased` with the user-visible CLI/plugin/MCP/contract change.
40
42
41
43
## Build and Validate
42
44
@@ -96,7 +98,8 @@ dotnet test windows/tests/TinyClips.Core.Tests/TinyClips.Core.Tests.csproj -c De
96
98
- Update changelog for the affected platform:
97
99
- root [CHANGELOG.md](../CHANGELOG.md) for mac/shared changes
98
100
-[windows/CHANGELOG.md](../windows/CHANGELOG.md) for Windows app changes
101
+
-[agent/CHANGELOG.md](../agent/CHANGELOG.md) for Agent CLI, MCP, plugin, or shared automation contract changes
99
102
- Preserve accessibility quality gates:
100
103
- mac: VoiceOver + keyboard for affected flows
101
104
- windows: keyboard navigation and accessible names for new/changed controls
102
-
-Confirm new and changed capabilities have agent API coverage, tests, and relevant documentation on each supported platform.
105
+
-For any new or changed capability, decide whether Agent API coverage is warranted. Confirm it when added, ask the user when ambiguous, and document intentional UI-only or unsupported behavior.
awaitrun("git",["-c",`user.name=${authorName}`,"-c",`user.email=${authorEmail}`,"commit","-m",`Bump agent version for ${input.tag}\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>`],{cwd: checkout});
awaitrun("git",["-c",`user.name=${authorName}`,"-c",`user.email=${authorEmail}`,"commit","-m",`Bump agent version for ${input.tag}\n\nCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>`],{cwd: checkout});
0 commit comments