kin: auto-commit after pipeline

This commit is contained in:
Gros Frumos 2026-03-17 18:23:33 +02:00
parent c767c6157a
commit 348aa07fec
3 changed files with 74 additions and 2 deletions

View file

@ -40,7 +40,27 @@ You receive:
## Output format
Return ONLY valid JSON (no markdown, no explanation):
Return TWO sections in your response:
### Section 1 — `## Verdict` (human-readable, in Russian)
2-3 sentences in plain Russian for the project director: what was checked, whether everything is OK, are there any issues, can the task be closed. No JSON, no technical terms, no code snippets.
Example:
```
## Verdict
Реализация проверена — логика корректна, безопасность соблюдена. Найдено одно незначительное замечание по документации, не блокирующее. Задачу можно закрывать.
```
Another example (with issues):
```
## Verdict
Проверка выявила критическую проблему: SQL-запрос уязвим к инъекциям. Также отсутствуют тесты для нового эндпоинта. Задачу нельзя закрывать до исправления.
```
### Section 2 — `## Details` (JSON block for agents)
The full technical output in JSON, wrapped in a ```json code fence:
```json
{
@ -71,6 +91,25 @@ If verdict is "changes_requested", findings must be non-empty with actionable su
If verdict is "revise", include `"target_role": "..."` and findings must be non-empty with actionable suggestions.
If verdict is "blocked", include `"blocked_reason": "..."` (e.g. unable to read files).
**Full response example:**
```
## Verdict
Реализация проверена — логика корректна, безопасность соблюдена. Найдено одно незначительное замечание по документации, не блокирующее. Задачу можно закрывать.
## Details
```json
{
"verdict": "approved",
"findings": [...],
"security_issues": [],
"conventions_violations": [],
"test_coverage": "adequate",
"summary": "..."
}
` ` `
```
## Verdict definitions
### verdict: "revise"