Complete

Stage 5 of the canonical coding workflow — write summary.md and transition to COMPLETE. Gated by verify.json (Gate V1/V3).

chainlesschain 51b9df3 2 files · 3.9 KB Updated

File contents

Complete Skill

Fifth and final step of the canonical coding workflow. Writes summary.md through SessionStateManager.markComplete(), which enforces:

  • Gate V1verify.json must exist
  • Gate V3verify.status must be "passed"

A session cannot self-declare completion; only a passing verify record can authorize the terminal COMPLETE stage.

Usage

$complete

Inputs (params)

  • sessionId (string, optional) — workflow session id
  • summary (string, optional) — free-form completion notes. If omitted, a default body is generated from the session id.

Output

Writes .chainlesschain/sessions/<id>/summary.md and transitions the session stage to complete.

Gates

  • Refuses if verify.json is missing.
  • Refuses if verify.status !== "passed" (use $verify → fix-loop).

chainlesschain/chainlesschain/tree/main/desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/complete commit 51b9df3e51

Frequently asked questions

npx skillmds@latest add chainlesschain/complete