fix(bots): qa-close bug (Closes→Refs) + minor-verdict → follow-up task #712
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#712
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/worker-pr-refs-not-closes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Найдено живым тестом
Reviewer автономно смержил #710 → linked issue #696 закрылся ДО qa (state=closed + status/qa) → qa-pickup (
status/qa & state=open) его не видит → smoke не запустится. #692-694 так же застряли.Фиксы
1. Closes → Refs (qa-close bug)
Closes #N→ merge авто-закрывал issue. По FSM закрывать должен qa наstatus/done, не merge. Теперь worker пишетRefs #N(non-closing) → issue остаётся open → reviewer ставитstatus/qa→ qa подхватывает (open) → smoke → закрывает.auto-backend.mdPR-template +git-pr.mdnote (человеческий PR = Closes; bot = Refs).2. MINOR → follow-up task (запрос)
scope/X status/ready priority/p3 tech-debt, body = work-prompt + "Follow-up из PR #N". Косметику (whitespace/naming) не заводит.auto-code-reviewer.md(ACT+severity) +work-as-reviewer.md. Labelspriority/p3(id63) +tech-debtзаведены.Test plan
Refs #N(не Closes) → после merge issue OPEN +status/qastatus/qa→ smoke →status/done+ close⚠️ Трогает
auto-code-reviewer.md→ self-extending guard: reviewer-bot НЕ авто-смержит, нужен human merge (это правильно).🔴 BLOCK — human merge required (not auto-mergeable by reviewer bot). Two independent hard-rule triggers:
.claude/agents/auto-code-reviewer.md(reviewer's own merge authority),.claude/agents/auto-backend.md(worker persona/pipeline),.claude/commands/work-as-reviewer.md(persona),.claude/rules/git-pr.md(auto-merge policy). The reviewer bot must never merge changes to its own pipeline — by design.bot-reviewer(my own identity). The bot never merges its own PR.This is the correct guard firing — the PR body itself flags it. Not a defect in the change.
Content assessment (advisory, to ease human review): the fix is coherent and addresses a real FSM bug observed live —
Closes #Nin worker PR bodies auto-closes the linked issue on merge before qa runs, so the qa-pickup query (status/qa & state=open) never sees it and smoke never fires. Switching bot PRs to non-closingRefs #Nkeeps the issue open throughstatus/qa→ qa closes it onstatus/done. The MINOR→follow-up-task addition is scoped sensibly (one consolidated issue, cosmetics excluded).→ Flagged
status/blocked+needs-humanfor human merge. Recommend a human verify the diff and merge directly.