 Зарубин ФилиппandClaude Sonnet 4.6
|
cc947028c5
|
feat: Фаза 7 шаги 4-6 — session-review skill + postrun-report + quality-gate
Step 4: skills/agent-session-review/SKILL.md (dual-write root+chezmoi)
- 4 mandatory blocks: brief_md / agent_trace / self_reflection / most_important
- Karpathy method: synthesize on write, mandatory before deliver gate
Step 5: chezmoi/dot_agents/registry/scripts/athena-postrun-report.mjs
- Adapted from mnemazine-postrun-knowledge-report.mjs (520→~120 lines)
- Input: --results-json [{group_id, outcome, helps, next_action}]
- Output: --format md (default) | html | json
- Env: ATHENA_REPORTS, ATHENA_RUN_ID; zero hardcoded paths
Step 6: chezmoi/dot_agents/registry/scripts/athena-report-quality-gate.mjs
- Adapted from mnemazine-report-quality-gate.mjs (99→~110 lines)
- 5 rules: no-raw-ocr / no-local-paths / no-secrets / has-outcome / has-next-action
- Accepts .html and .md reports; exit 0=pass, 1=fail
Smoke: agent-contract.sh +4 checks (SKILL.md blocks, postrun synthetic,
gate positive PASS, gate negative FAIL). smoke green, shellcheck -S error 0.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-06-23 18:33:42 +03:00 |
|