Автономный цикл Reviewer → Fixer для непрерывного улучшения качества
Адаптировано из Auto-Claude QA Loop для SENTINEL DevKit
Вместо ручного ping-pong между reviewer и developer, создаём автономный цикл:
┌─────────────┐ issues ┌─────────────┐
│ Reviewer │ ─────────────→ │ Fixer │
│ Agent │ │ Agent │
└─────────────┘ └─────────────┘
↑ │
│ fixed code │
└──────────────────────────────┘
{
"status": "NEEDS_FIX | APPROVED",
"issues": [
{
"id": "QA-001",
"severity": "HIGH | MEDIUM | LOW",
"file": "path/to/file.py",
"line": 42,
"type": "SPEC_VIOLATION | CODE_QUALITY | SECURITY",
"description": "Что не так",
"suggestion": "Как исправить"
}
],
"approved_aspects": ["tests", "documentation"]
}
digraph qa_fix_loop {
rankdir=LR;
node [shape=box, style=rounded];
code [label="New Code"];
review [label="Reviewer Agent"];
decision [shape=diamond, label="Issues?"];
fix [label="Fixer Agent"];
done [label="✅ Merged", style=filled, fillcolor=lightgreen];
code -> review;
review -> decision;
decision -> fix [label="Yes"];
decision -> done [label="No"];
fix -> review [label="re-review"];
}
if iteration > MAX_ITERATIONS:
escalate_to_human(
reason="QA loop exceeded max iterations",
issues=unresolved_issues
)
1. Engine code → Reviewer Agent
2. Reviewer checks:
- All payloads detected (Strike integration)
- Interface compliance
- Performance bounds
3. Issues → Fixer Agent
4. Loop until approved
1. C code → Reviewer Agent (специализированный)
2. Reviewer checks:
- Memory safety
- Protocol compliance
- Cross-platform compatibility
3. Issues → Fixer Agent
4. Loop until approved
Трекинг эффективности цикла:
❌ Бесконечный loop — всегда ставить max iterations ❌ Fixer игнорирует issues — проверять что ВСЕ issues адресованы ❌ Reviewer слишком строгий — избегать nitpicking на каждой итерации ❌ Нет эскалации — человек должен быть в loop для сложных cases
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer