chore(claude): harden autonomous multi-agent prompts (Path B) #662

Merged
lekss361 merged 1 commit from chore/autonomous-prompts-pathb into main 2026-05-29 13:41:37 +00:00

1 commit

Author SHA1 Message Date
lekss361
f36da624fe chore(claude): harden autonomous multi-agent prompts (Path B)
Fix structural causes of autonomous-window underperformance vs single-window
orchestration — persona prompts were thin pointers that deferred conventions
to unread files and dead-ended every imperfect PR into human review.

- Inline-load conventions: каждый work-тик MANDATORY-читает полный
  backend/frontend-engineer.md + rules (был optional pointer, который cost-rule
  отучал читать). Cost-saving "не строй контекст" сужен до idle-тиков явно.
- Auto-fix loop: reviewer FIX -> status/needs-fix (assignee остаётся worker),
  worker сам подхватывает свой PR и пушит fixup в ту же ветку. blocked+needs-human
  зарезервирован под BLOCK (security/data-loss) или 3x fix-fail (+ fix-attempt cap).
  QA feature_regression -> needs-fix аналогично. FSM-таблица обновлена.
- Fat issue template: auto-analyst делает mandatory code archeology (Grep/Read)
  и пишет Files/сигнатуры/Acceptance/Risk (формат tech-analyst) — issue это
  единственный канал к worker'у.
- Model resolution doc: model: frontmatter мёртв в standalone /loop-окне
  (модель = модель окна); reviewer-окно запускать в Opus 4.8 осознанно.
- Drift fix: stale-claim cleanup помечен implemented (cron stale-claims.yml в
  проде, #610-612); отмечен gap pause-bots vs cleanup.

Новый label status/needs-fix создать в Forgejo до первого запуска auto-fix loop.
2026-05-29 16:38:23 +03:00