* feat(create-pr): enforce Watch out and Pending headings * test(create-pr): cover Watch out and Pending headings * docs(handoff): add handoff and ADR for PR #207 --------- Co-authored-by: opencode-agent <agent@opencode.local>
16 lines
No EOL
1.1 KiB
Markdown
16 lines
No EOL
1.1 KiB
Markdown
---
|
||
pr: 207
|
||
title: feat(create-pr): enforce Watch out and Pending headings in PR body
|
||
---
|
||
|
||
## Что сделано
|
||
Расширена валидация PR body в create-pr.ts с 2 heading'ов до 4 — добавлены обязательные `## Watch out` и `## Pending`. Обновлены RULES string, execute() validation, description. Добавлены тесты в test_create_pr_tool.py (3 теста) и test_create_pr_tool.ts (3 теста).
|
||
|
||
## Почему
|
||
Pipeline migration убирает DOCS phase — handoff файлы удаляются, PR body становится единственным source of truth. Нужно чтобы PR body содержал всю информацию ранее жившую в handoff (включая Watch out и Pending).
|
||
|
||
## Pending
|
||
Удаление handoff файлов и обновление pipeline-status.py — отдельный issue (out of scope).
|
||
|
||
## Watch out
|
||
`## Watch out: —` (em-dash) валиден если нет gotchas. `## Pending: —` валиден если нет follow-ups. Validation = substring check (body.includes), не regex. PR title validation не трогать. |