chore(agent): add computer-use-mcp agent governance (#1737)

Co-authored-by-agent: Antigravity <antigravity@gemini.com>
This commit is contained in:
刘梓恒
2026-04-27 15:31:02 +08:00
committed by GitHub
parent f92e670dd9
commit 51bff3ed73
3 changed files with 131 additions and 1 deletions
+49
View File
@@ -0,0 +1,49 @@
---
name: AI task
about: Narrow task suitable for Codex, Copilot, or another coding agent
title: "[AI task]: "
labels: ai-copilot-ok, ai-small
assignees: ""
---
## Task
One narrow task.
## Allowed scope
- Files/directories: `<path>`
## Forbidden scope
- Do not touch package files or lockfiles unless explicitly required.
- Do not touch unrelated services, docs, or agent configuration.
- Do not touch security-sensitive logic unless this issue is specifically about that boundary.
- Do not broaden into architecture cleanup.
## Expected behavior
Describe the expected behavior or evidence target.
## Validation
Run the narrowest relevant command first:
```bash
pnpm -F <package-name> exec vitest run <path/to/test>
```
If runtime contracts changed, also run:
```bash
pnpm -F <package-name> typecheck
```
## Output required
- Files changed
- Commands run
- Exit codes
- Relevant pass/fail output
- Remaining risks
- Keep / revert / split recommendation
+30
View File
@@ -0,0 +1,30 @@
# Copilot repository instructions
This is the `moeru-ai/airi` pnpm monorepo. Prefer the smallest safe change and keep every task inside its stated scope.
## General rules
- Follow the root `AGENTS.md` instructions.
- Do not modify unrelated files.
- Do not mix documentation, agent configuration, and runtime logic changes in one patch.
- Do not change package files, lockfiles, or workspace configuration unless the task explicitly requires it.
- Preserve existing test style and helpers.
- Do not claim tests passed unless you actually ran them.
- Report exact commands, exit codes, and relevant pass/fail output.
## Validation
- Use package-scoped pnpm commands where possible.
- Run the narrowest relevant test first.
- Run typecheck if runtime contracts or exported types changed.
- Run affected package tests if shared logic changed.
- Run `git diff --check` before finalizing when possible.
## Output format
1. Confirmed facts
2. Files changed
3. Commands run
4. Test results
5. Remaining risks
6. Keep / revert / split recommendation