diff --git a/CLAUDE.global.md b/CLAUDE.global.md index c1975c6..f4eadeb 100644 --- a/CLAUDE.global.md +++ b/CLAUDE.global.md @@ -50,14 +50,14 @@ code" wins. Repo-specific instructions override both. Hacky fix → rebuild clean, no over-engineering. ## Session start -1. Read `.claude/tasks/TODO.md`. The banner's `memory digest` lists open - blockers and the last journal line: apply both before touching - anything; a `+N` line → read those entries in `blockers.md`. No - digest (foreign repo, memory mod off) → list the open blockers - yourself. +1. The banner's `memory digest` lists open blockers, the first unchecked TODO + items (`## Actionable`, else the file's first) and the last journal line: + apply them before touching anything; a `- open: +N` line → read those + entries in `blockers.md`. No digest (foreign repo, memory mod off) → read + `.claude/tasks/TODO.md` and list the open blockers yourself. 2. Read a registry (`.claude/memory/`: decisions, learnings, blockers, - journal, evals) when the task needs it; planning flows scan them per - `~/.claude/lib/analyze-before-plan.md`. + journal, evals) or `.claude/tasks/TODO.md` when the task needs it; + planning flows scan them per `~/.claude/lib/analyze-before-plan.md`. 3. Either missing → create it first (templates: `~/.claude/templates/memory/`). ## Workflow diff --git a/skills/capitalize/SKILL.md b/skills/capitalize/SKILL.md index 7b0e0d1..dbf0681 100644 --- a/skills/capitalize/SKILL.md +++ b/skills/capitalize/SKILL.md @@ -80,7 +80,7 @@ ls .claude/tasks/TODO.md 2>/dev/null reconcile volet (STEP 2B) on it: ```bash mkdir -p .claude/tasks - printf '# TODO\n\n## %s\n' "$(date +%Y-%m-%d)" > .claude/tasks/TODO.md + [ -f .claude/tasks/TODO.md ] || printf '# TODO\n\n## Actionable\n\n\n## %s\n' "$(date +%Y-%m-%d)" > .claude/tasks/TODO.md ``` ## STEP 1 — SCAN THE CONVERSATION @@ -372,7 +372,7 @@ CAPITALIZE COMPLETE — () Then the closing line — pick by the STEP 5C persist result (`` = `Context flushed` for pre-wipe, `Session closed` for ritual): -- **auto-persisted (push mode `auto`, finish rc 0 AND `ahead` = 0)** → `✅ + persisted to origin/develop (). Next session: TODO.md and the startup digest (open blockers, last journal line).` +- **auto-persisted (push mode `auto`, finish rc 0 AND `ahead` = 0)** → `✅ + persisted to origin/develop (). Next session: the startup digest (open blockers, actionable TODO, last journal line).` On the `--no-push` path ONLY read TWO facts first, each its own Bash call: `bash "$HOME/.claude/lib/gitflow.sh" push-mode` and `git rev-list --count origin/chore/..chore/ 2>/dev/null || echo unknown` (`branch_ahead`). `` below is the verb's word. The WORKING-branch and rc 3 paths have no `chore/` and never use the mode. diff --git a/skills/init-project/SKILL.md b/skills/init-project/SKILL.md index ec51f8a..b16d468 100644 --- a/skills/init-project/SKILL.md +++ b/skills/init-project/SKILL.md @@ -115,7 +115,7 @@ it (doctrine: registries + TODO exist from day one; STEP 10b appends to them): ```bash mkdir -p .claude/memory .claude/tasks cp -n ~/.claude/templates/memory/{decisions,learnings,blockers,evals,journal}.md .claude/memory/ -[ -f .claude/tasks/TODO.md ] || printf '# TODO\n\n## %s\n' "$(date +%Y-%m-%d)" > .claude/tasks/TODO.md +[ -f .claude/tasks/TODO.md ] || printf '# TODO\n\n## Actionable\n\n\n## %s\n' "$(date +%Y-%m-%d)" > .claude/tasks/TODO.md ``` Verify: `git init` + build passes. diff --git a/skills/onboard/SKILL.md b/skills/onboard/SKILL.md index 1b91edd..2d1360d 100644 --- a/skills/onboard/SKILL.md +++ b/skills/onboard/SKILL.md @@ -989,6 +989,9 @@ Format : ``` # TODO — onboard backlog () +## Actionable + + @@ -1028,7 +1031,7 @@ Format : | Audit SEO/GEO à re-lancer après corrections | `/seo` ou `/geo` | | Audit docs à re-sync après changement | `/doc` | -Ne PAS écraser `.claude/tasks/TODO.md` s'il contient déjà du contenu utilisateur : append avec un séparateur : +Sans contenu utilisateur (le stub de l'onboarder compte pour aucun) : écrire le format complet, bloc `## Actionable` inclus. Avec contenu utilisateur : ne PAS écraser, append avec un séparateur et SANS second `## Actionable` : ```