* fix(agents): strengthen bug-discovery protocol in AGENTS.md to MANDATORY * fix(skills): add bug-discovery triggers to run-pipeline templates A-E * fix(agents): add bug-discovery section to subagent bodies * fix(skill): strengthen bug-discovery description for semantic matching * docs(handoff): scaffold handoff and ADR for bug-discovery protocol * docs(handoff): set PR number --------- Co-authored-by: opencode-agent <agent@opencode.local>
923 B
923 B
| name | description |
|---|---|
| bug-discovery | Use when a bug is found outside the current task scope — MANDATORY for ALL subagents. Covers duplicate check, issue creation via create-issue tool, and continuation protocol. Also when user says "нашёл баг", "bug found", "создай issue для бага", "bug outside scope", "заметил проблему", "code smell", "unexpected behavior not related to current task". |
Bug Discovery Protocol
If a bug is found during work that is outside the scope of the current task:
- Check
gh issue listfor duplicates. - Create a GitHub issue via
create-issuetool (NOT rawgh issue create). - Title:
fix(scope): short descriptionin English. - Body:
## Контекст/## Задача/## Критерии приемки(in Russian). - Continue the current task. Do NOT fix the bug yourself.
- Report to orchestrator: "Created issue #N: ...".