job3: A1+A2+A8 init-project — remove broken graphify light pass, --out flag, step count

- A1: delete STEP 5d (graphify --mode quick doesn't exist in the CLI; the
  command always failed, masked by `|| true` — STEP 10's full pass already
  covers the graph)
- A2: STEP 10 full-pass build flag --output -> --out
- A8: pipeline is 12 steps (STEP 0-11), not 11; header template unchanged
  (N/11 correctly denotes the max index of a 0-indexed 12-step sequence)
This commit is contained in:
Bastien Chanot
2026-07-06 16:53:11 +02:00
parent f7d9a10d67
commit 95883a0fd1
+3 -13
View File
@@ -15,14 +15,14 @@ $ARGUMENTS
## PROGRESS PROTOCOL ## PROGRESS PROTOCOL
Every STEP must announce itself with a header BEFORE its work block, so the Every STEP must announce itself with a header BEFORE its work block, so the
user always sees where they are in the 11-step pipeline: user always sees where they are in the 12-step pipeline (STEP 0–11):
``` ```
━━━ STEP <N>/11 — <TITLE> ━━━ (~<estimated minutes>) ━━━ STEP <N>/11 — <TITLE> ━━━ (~<estimated minutes>)
why: <one sentence — what's at risk if this step is skipped> why: <one sentence — what's at risk if this step is skipped>
``` ```
Long-running steps (5 SCAFFOLD, 5d GRAPHIFY, 8 IMPLEMENT) must print a 1-line Long-running steps (5 SCAFFOLD, 8 IMPLEMENT) must print a 1-line
liveness ping every ~30 s of agent work — `… still working: <last action>` — liveness ping every ~30 s of agent work — `… still working: <last action>` —
so the user does not assume Claude has hung. so the user does not assume Claude has hung.
@@ -105,16 +105,6 @@ If `fast-libs` signal was detected in STEP 0 (Next.js, React 18+, Prisma, Supaba
4. Print: `📚 ctx7 docs pre-fetched for: <libs>. Cache at .ctx7-cache/` 4. Print: `📚 ctx7 docs pre-fetched for: <libs>. Cache at .ctx7-cache/`
If `ctx7` not installed or no fast-libs → skip silently. If `ctx7` not installed or no fast-libs → skip silently.
## STEP 5d — GRAPHIFY SCAFFOLD (light pass)
If `graphify` CLI is installed AND complexity >= 30%:
1. Run light graphify on the scaffold:
```bash
graphify . --output graphify-out --mode quick 2>/dev/null || true
```
2. Add `graphify-out/` to `.gitignore` if not already present.
3. Print: `🔗 Scaffold graph generated at graphify-out/`
If `graphify` not installed or complexity < 30% → skip silently.
## STEP 5e — ANIMATION LIB (auto-install) ## STEP 5e — ANIMATION LIB (auto-install)
Install `motion` (ex-`framer-motion`, rebranded Nov 2024) when the stack supports it. Install `motion` (ex-`framer-motion`, rebranded Nov 2024) when the stack supports it.
The scaffold has just been validated by the user, so install proceeds silently. The scaffold has just been validated by the user, so install proceeds silently.
@@ -183,7 +173,7 @@ finishing-a-development-branch", stop and return.
If `graphify` CLI is installed AND complexity >= 30%: If `graphify` CLI is installed AND complexity >= 30%:
1. Run full graphify on the implemented project: 1. Run full graphify on the implemented project:
```bash ```bash
graphify . --output graphify-out 2>/dev/null || true graphify . --out graphify-out 2>/dev/null || true
``` ```
2. Print: `🔗 Full project graph updated at graphify-out/` 2. Print: `🔗 Full project graph updated at graphify-out/`
If `graphify` not installed or complexity < 30% → skip silently. If `graphify` not installed or complexity < 30% → skip silently.