One ask policy; mandated executors exempt from the delegation rule; skill plan satisfies the planning rule; journal line exempt from the approval gate; chore = maintenance without new behaviour; small fix on develop = bugfix; BDR-068 written as the one auto-finish exception; deploy routes to /deploy. Skills and agents follow: hotfix types by base + skips the design gate on trivial; capitalize/close create missing registries; commit-change asks the branch type; doc/seo/web-validate/refactor branch through the aiguillage; tour reports BREAKING fixes as needs-decision and runs doc-syncer two-mode; client-handover applies audit bundles from its main loop behind one gate; init-project/onboard use the 200-file graphify signal and bootstrap memory; release-candidate gates the tag push only; push wording aligned with the BDR-095 hooks; stale pointers fixed (§ Language, .gsd/ROADMAP.md, handover script path, design-gate lists).
43 lines
1.8 KiB
Markdown
43 lines
1.8 KiB
Markdown
---
|
|
name: close
|
|
description: |
|
|
End-of-session ritual — flush what was decided, learned, and blocked into
|
|
`.claude/memory/`, reconcile `.claude/tasks/TODO.md`, and log a journal line.
|
|
Alias for `/capitalize --ritual`: same dedup + TODO-reconcile + approval-gate
|
|
pipeline, plus the explicit 3-question reflection. NOT registry curation
|
|
(that is /prune-memory).
|
|
Triggers: "close", "end session", "ferme la session", "session close",
|
|
"checkpoint memory", "what did we learn", "retro rapide", "fin de journée".
|
|
argument-hint: "[--no-push] (runs capitalize in ritual mode; --no-push holds memory on chore/<name>: pushed to origin by the hooks, NOT merged (finish skipped), merge when ready; default = auto-finish into develop)"
|
|
allowed-tools:
|
|
- Read
|
|
- Edit
|
|
- Write
|
|
- Bash
|
|
- Grep
|
|
- Glob
|
|
- AskUserQuestion
|
|
---
|
|
|
|
# /close — Session-close ritual (alias)
|
|
|
|
`/close` is an alias for **`/capitalize --ritual`**. All logic lives in the
|
|
**capitalize** skill — nothing is duplicated here.
|
|
|
|
Invoke the `capitalize` skill now and run it in **ritual mode**: the full
|
|
pipeline (STEP 0 precheck → STEP 1 auto-scan → STEP 2 dedup → STEP 2B TODO
|
|
reconcile → STEP 3 approval gate → STEP 4 write → STEP 5 journal → STEP 5B
|
|
memory commit → STEP 5C auto-persist: finish + push, BDR-068 — pass
|
|
`--no-push` through to hold the chore branch instead → STEP 6 handoff),
|
|
PLUS STEP 1B's explicit 3-question reflection (what did you decide / learn
|
|
/ block).
|
|
|
|
Ritual answers are deduped like any other candidate — a dup is dropped and its
|
|
existing ID shown, not re-logged. This is the upgrade over the legacy `/close`,
|
|
which wrote ritual answers fresh with no dedup.
|
|
|
|
The gitflow aiguillage (branch to `chore/*` on a protected base before writing)
|
|
runs inside `capitalize` — not duplicated here.
|
|
|
|
→ Use the Skill tool to launch `capitalize` with argument `--ritual`.
|