opencode-config/docs/handoff/pr-91-agents-md-consolidation.md
Sergey 0983327605
docs(agents): merge 3 pipeline sections into 1 and fix gh pr comment scope wording (#91)
* docs(agents): merge 3 pipeline sections into 1 and fix gh pr comment scope wording

* docs(handoff): add handoff + ADR for AGENTS.md consolidation

* docs(handoff): set PR number 91

---------

Co-authored-by: opencode-agent <agent@opencode.local>
2026-07-26 23:12:04 +03:00

25 lines
No EOL
1.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
pr: 91
title: docs(agents): merge 3 pipeline sections into 1 and fix gh pr comment scope wording
---
## Что сделано
Слил 3 pipeline-секции в AGENTS.md в 1 `## Pipeline` секцию (~6 строк вместо ~15) и исправил wording про `gh pr comment*` scope.
- Удалены секции: `## Orchestrator Model (главное)` (lines 3-9), `## Development Workflow` (lines 11-13), `## Pipeline` (lines 15-17)
- Создана одна секция `## Pipeline`: orchestrator концепция, pipeline-фазы, subagent error retry policy, ссылки на `pipeline-status` / `merge-pr` / `/run-pipeline` — всё в одной секции
- **Fix C2 wording**: строка про `gh pr comment*` переписана — убрано "reviewer/docs-reviewer" (не соответствует global allow-list в opencode.json:204), "Промпт уже запрещает" → "Промпт запрещает", убрано "противоречие minimal"
- Объём: 46 строк (было 55, минус 9 строк от слияния секций)
## Почему
3 секции (`## Orchestrator Model (главное)`, `## Development Workflow`, `## Pipeline`) описывали pipeline с разных сторон — дублирование. C2: wording про `gh pr comment*` scope в AGENTS.md ("reviewer/docs-reviewer") расходился с реальностью — `gh pr comment*` находится в global allow-list в `opencode.json:204`, не scoped per-agent.
## Pending
## Watch out
- `## Language` блок сохранён без изменений (Solution C для env-driven language отложена — `{env:VAR}` не работает в AGENTS.md static markdown)
- `## Read Path`, `## Code Style`, `## Tool Usage Policy` (таблица) не тронуты