* 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>
25 lines
No EOL
1.8 KiB
Markdown
25 lines
No EOL
1.8 KiB
Markdown
---
|
||
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` (таблица) не тронуты |