* 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>
20 lines
1.7 KiB
Markdown
20 lines
1.7 KiB
Markdown
---
|
||
pr: 128
|
||
title: fix(agents): enforce bug-discovery protocol across all subagent layers
|
||
---
|
||
|
||
## Что сделано
|
||
Усилён Bug Discovery Protocol в 4 слоях:
|
||
- AGENTS.md: секция "Bug Discovery Protocol" → "Bug Discovery Protocol (MANDATORY)" с нумерованным протоколом (load skill → follow protocol → do NOT fix → report to orchestrator) и явным списком применимых subagents (general, reviewer, docs-reviewer, memory-syncer).
|
||
- .opencode/skills/bug-discovery/SKILL.md: description расширена триггерами "заметил проблему", "code smell", "unexpected behavior not related to current task" + "MANDATORY for ALL subagents".
|
||
- .opencode/skills/run-pipeline/SKILL.md: в каждый из 5 templates (A-E) добавлена строка-reminder: "Если найдёшь баг вне scope — загрузи skill bug-discovery ... НЕ чини баг сам".
|
||
- .opencode/agents/reviewer.md, docs-reviewer.md, memory-syncer.md: в body каждого добавлена секция "## Bug Discovery" с обязательным протоколом.
|
||
|
||
## Почему
|
||
Bug-discovery protocol не срабатывал у subagents — одна строка в AGENTS.md была слишком слабым сигналом. Subagents не загружали skill `bug-discovery` при обнаружении багов вне scope. Усиление в 4 слоях (AGENTS.md → run-pipeline templates → agent bodies → SKILL description) обеспечивает множественные точки напоминания на разных уровнях вызова.
|
||
|
||
## Pending
|
||
—
|
||
|
||
## Watch out
|
||
—
|