session-closeoutlisted
Install: claude install-skill atretyak1985/swarmery
# Purpose
Closing artifacts are how finished work becomes visible: the dashboard reads
`SUMMARY.md`, and the retro/advisor loop ingests `phases/09-retrospective.md`
and the delegation ledger. A task closed without them is invisible work.
# What to write
1. **`{task-dir}/SUMMARY.md`** (canonical final report, ≤300 lines) — exactly
these seven sections: `## Результат`, `## Змінені файли`, `## Агенти`,
`## Сесії`, `## Відхилення від плану`, `## Скріншоти`, `## Follow-ups`.
Deviations compare actual agents/loops against ORCHESTRATION.md, not only
the plan; the screenshots section lists `{task-dir}/screenshots/` files
with captions or states "None captured". Format details:
`resources/summary-format.md`.
2. **`{task-dir}/phases/09-retrospective.md`** (≤150 lines) — for non-trivial
tasks. MUST use the machine-parsed headings: `## Lessons Learned` with
`### Lesson N: <title>` subsections each carrying a `**Action**: …` line,
and `## Process Improvements` (that exact heading — the ingester regexes
match it, not synonyms). Read `{task-dir}/logs/agents.md` (7-cell ledger)
first — its quality/mistakes cells are the evidence base. Format:
`resources/retrospective-format.md`.
3. **Archive** when every criterion is met:
`bash "${CLAUDE_PLUGIN_ROOT}/bin/agent-work.sh" complete {task-id}`. Never
archive with unmet criteria or a missing SUMMARY.md — escalate instead.
Honesty rule: outcome is `Success | Partial | Failed` as it actually was;
lessons