crew-status · diff
git:20261106.31336c8 to git:20261106.6976e1c
32 added, 35 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
name: crew-status
- description: Rapport lecture seule de l'état crew — batchs actifs et zones, tâches en cours, tests IA non cochés, TODO non classées. Trigger — "/crew-status", "où en est le projet", "état des batchs".
+ description: Read-only report of the crew state — active batches and zones, tasks in progress, unticked AI tests, unclassified TODO. Also triggers on — "/crew-status", "où en est le projet", "état des batchs", "project status", "batch status".
---
- Lecture seule — ne modifie aucun fichier. Le calcul est fait par un script
- déterministe ; ce skill présente son résultat. Complète le hook `Stop`
- (sortie discrète en stderr) par une vue à la demande.
+ Read-only — modifies no file. The computation is done by a deterministic script;
+ this skill presents its result. Complements the `Stop` hook (discreet stderr
+ output) with an on-demand view.
- 1. Lancer (plugin : `scripts/crew_hook.py` du plugin ; clone manuel :
- `crew/crew_hook.py`) :
+ 1. Run (plugin: the plugin's `scripts/crew_hook.py`; manual clone:
+ `crew/crew_hook.py`):
```bash
ROOT="$(git rev-parse --show-toplevel)"; HOOK="${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/scripts}"; HOOK="${HOOK:-$ROOT/crew}/crew_hook.py"
CLAUDE_PROJECT_DIR="$ROOT" python "$HOOK" status
```
- 2. Rapporter, depuis le JSON :
- - `active_batches` + `zone` ; tout `zone_overlaps` = **invariant violé**,
- à signaler explicitement (batchs + chemins), pas juste à lister ;
- - `current` : ratio `done/total` par tâche ;
- - `paused` : tâches en attente de validation visuelle/dev — à signaler
- nommément, pas comptées comme du travail en cours normal ;
- - `tests_ia_unchecked` : fichiers avec cases non cochées (ce qui reste à
- valider) ;
- - `todo_orphans` : en `TODO/` mais absentes de `CLAUDE_BATCH.md` (ni
- batch, ni « À classer ») → proposer `/crew-new-task` / `manager` ;
- - `bootstrap_pending` vrai : lancer `python check_placeholders.py` et
- inclure son résultat (placeholders `<...>` = scaffold non initialisé →
- `/crew-init`) ;
- - **Garde-fou checklists jamais cochées** (suggestion seule) : lire la
- ligne `Niveau :` de `crew/CLAUDE_CONTEXT/TESTS_POLICY.md` (`grep`, sans
- lire le fichier). Uniquement si le niveau est `full`, ou si le fichier
- est absent ou illisible (comportement historique `full`) : si les
- `- [ ]` de `crew/TESTS/{IA,DEV}` (hors `TESTS_DONE`) dominent
- nettement les `- [x]` (totaux via `grep -rhF … | wc -l`), proposer
- « N cases jamais cochées : passer en `light` dans `TESTS_POLICY.md` ? ».
- Jamais en `light`/`none`, jamais de modification du fichier.
- - `orphan_worktrees` : worktree `*-batch-*` sur disque sans session qui le
- porte (crash, ou `/crew-close-task` jamais lancé) — le signaler pour
- nettoyage manuel (`git worktree remove` / `git branch -d` par
- l'utilisateur), **jamais** le supprimer soi-même (travail non commité
- possible).
+ 2. Report, from the JSON:
+ - `active_batches` + `zone`; any `zone_overlaps` = **violated invariant**, to
+ flag explicitly (batches + paths), not just list;
+ - `current`: `done/total` ratio per task;
+ - `paused`: tasks waiting for visual/dev validation — flag by name, not
+ counted as normal work in progress;
+ - `tests_ia_unchecked`: files with unticked boxes (what remains to validate);
+ - `todo_orphans`: in `TODO/` but absent from `CLAUDE_BATCH.md` (neither batch
+ nor `À classer`, the to-be-sorted section) → suggest `/crew-new-task` /
+ `manager`;
+ - `bootstrap_pending` true: run `python check_placeholders.py` and include its
+ result (`<...>` placeholders = scaffold not initialized → `/crew-init`);
+ - **Never-ticked checklists guard** (suggestion only): read the `Niveau :`
+ line of `crew/CLAUDE_CONTEXT/TESTS_POLICY.md` (`grep`, without reading the
+ file). Only if the level is `full`, or the file is missing or unreadable
+ (historical `full` behavior): if the `- [ ]` in `crew/TESTS/{IA,DEV}`
+ (excluding `TESTS_DONE`) clearly dominate the `- [x]` (totals via
+ `grep -rhF … | wc -l`), suggest "N boxes never ticked: switch to `light` in
+ `TESTS_POLICY.md`?". Never at `light`/`none`, never modify the file.
+ - `orphan_worktrees`: a `*-batch-*` worktree on disk with no session carrying
+ it (crash, or `/crew-close-task` never run) — flag it for manual cleanup
+ (`git worktree remove` / `git branch -d` by the user), **never** delete it
+ yourself (possible uncommitted work).
- ## Ce que ce skill ne fait pas
+ ## What this skill does not do
- - N'écrit, ne déplace, ne coche rien — pur reporting.
- - Ne remplace pas `/crew-new-task` / `/crew-close-task` pour agir.
+ - Writes, moves, ticks nothing — pure reporting.
+ - Does not replace `/crew-new-task` / `/crew-close-task` to act.