diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..5a7863c --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,14 @@ +# Copilot code review instructions + +Report only correctness, security, data-loss and permission problems. Skip style, naming, comment wording, formatting and test structure. Don't repeat a point that was already declined with a reason in the PR. If a finding wouldn't cause a bug or a leak, don't post it. Prefer one precise comment with the failing input over several general ones. + +## Security checklist + +Flag any of these: + +- Secrets or tokens in logs, error messages or commits. +- Text written by other people (mail, messages, web pages) reaching a model unwrapped. mcp-hub wraps it in ``. +- One account's data reaching another account (the agents dashboard is multi-account). +- Personal data (mail, messages, health) in logs or error messages. +- A new route or action with no permission check. +- Workflow changes that give a branch or fork access to secrets (`pull_request_target`, broader `permissions`, secrets passed to unreviewed code).