@allthingsclaude/blueprints 0.3.0-beta.15 → 0.3.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -486,12 +486,12 @@ Would you like me to:
|
|
|
486
486
|
### 10. Update Active Plan Tracker
|
|
487
487
|
|
|
488
488
|
If an active plan exists, update `{{STATE_FILE}}` to reflect the current status:
|
|
489
|
-
- **Always READ existing STATE.md first** to preserve
|
|
489
|
+
- **Always READ existing STATE.md first** to preserve `## Overview` table and `## Plans` sections
|
|
490
490
|
- Update the header fields: `**Phase**`, `**Status**`, `**Updated**`
|
|
491
|
-
- Update task statuses in the
|
|
491
|
+
- Update task statuses in the task tables under `## Plans` (`⏳` → `✅` for completed tasks)
|
|
492
492
|
- Update phase status emoji in phase headers (`⏳` → `🚧` → `✅`)
|
|
493
|
-
- Update the Progress column in
|
|
494
|
-
- If all plan phases are complete, set `**Active**` to `None
|
|
493
|
+
- Update the Progress column in `## Overview` table (e.g., `12/18 tasks`)
|
|
494
|
+
- If all plan phases are complete, set `**Active**` to `None`, `**File**` and `**Phase**` to `—`, and update the plan's status to `✅ Complete` in the `## Overview` table
|
|
495
495
|
|
|
496
496
|
## Final Checks
|
|
497
497
|
|
|
@@ -157,13 +157,13 @@ Ready to commit this phase before moving to Phase 2? (yes/no/review)
|
|
|
157
157
|
```
|
|
158
158
|
|
|
159
159
|
5. **Update STATE.md** after phase completion:
|
|
160
|
-
- **Always READ existing STATE.md first** to preserve
|
|
160
|
+
- **Always READ existing STATE.md first** to preserve `## Overview` table and `## Plans` sections
|
|
161
161
|
- Update the `**Phase**` field in the header to the next phase number
|
|
162
162
|
- Update the `**Status**` field if needed (keep `🚧 In Progress` during work, set `✅ Complete` when all phases done)
|
|
163
163
|
- Update the `**Updated**` timestamp
|
|
164
|
-
- Mark completed tasks as `✅` in the
|
|
164
|
+
- Mark completed tasks as `✅` in the task tables under `## Plans`
|
|
165
165
|
- Update phase status emoji in phase headers (`⏳` → `🚧` → `✅`)
|
|
166
|
-
- Update the Progress column in
|
|
166
|
+
- Update the Progress column in `## Overview` table
|
|
167
167
|
|
|
168
168
|
### 6. Handle Blockers
|
|
169
169
|
|
package/content/agents/plan.md
CHANGED
|
@@ -329,10 +329,10 @@ Examples (assuming 2 plans already exist — `PLAN_00_INITIAL.md` and `PLAN_01_A
|
|
|
329
329
|
mkdir -p $(dirname {{STATE_FILE}})
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
Write to `{{STATE_FILE}}` using this **exact format
|
|
332
|
+
Write to `{{STATE_FILE}}` using this **exact format**. This format MUST be followed precisely — other agents parse the header fields and the structure.
|
|
333
333
|
|
|
334
334
|
```markdown
|
|
335
|
-
#
|
|
335
|
+
# State
|
|
336
336
|
|
|
337
337
|
**Active**: {NN}_{NAME}
|
|
338
338
|
**File**: {{PLANS_DIR}}/PLAN_{NN}_{NAME}.md
|
|
@@ -342,7 +342,7 @@ Write to `{{STATE_FILE}}` using this **exact format** (other agents parse the he
|
|
|
342
342
|
|
|
343
343
|
---
|
|
344
344
|
|
|
345
|
-
##
|
|
345
|
+
## Overview
|
|
346
346
|
|
|
347
347
|
| # | Plan | File | Status | Progress |
|
|
348
348
|
|---|------|------|--------|----------|
|
|
@@ -350,16 +350,18 @@ Write to `{{STATE_FILE}}` using this **exact format** (other agents parse the he
|
|
|
350
350
|
|
|
351
351
|
---
|
|
352
352
|
|
|
353
|
-
##
|
|
353
|
+
## Plans
|
|
354
|
+
|
|
355
|
+
### PLAN_{NN}_{NAME}
|
|
354
356
|
|
|
355
|
-
|
|
357
|
+
#### Phase 1: {Phase Name} 🚧
|
|
356
358
|
|
|
357
359
|
| Task | Status |
|
|
358
360
|
|------|--------|
|
|
359
361
|
| {Task 1 from plan} | ⏳ |
|
|
360
362
|
| {Task 2 from plan} | ⏳ |
|
|
361
363
|
|
|
362
|
-
|
|
364
|
+
#### Phase 2: {Phase Name} ⏳
|
|
363
365
|
|
|
364
366
|
| Task | Status |
|
|
365
367
|
|------|--------|
|
|
@@ -369,12 +371,24 @@ Write to `{{STATE_FILE}}` using this **exact format** (other agents parse the he
|
|
|
369
371
|
[Continue for all phases...]
|
|
370
372
|
```
|
|
371
373
|
|
|
372
|
-
**
|
|
374
|
+
**When no plan is active** (all complete or none started), use `—` for empty fields:
|
|
375
|
+
```markdown
|
|
376
|
+
**Active**: None
|
|
377
|
+
**File**: —
|
|
378
|
+
**Phase**: —
|
|
379
|
+
**Status**: ✅ Complete
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
**If previous plans already exist in STATE.md**, read the existing STATE.md first and:
|
|
383
|
+
- **Append** the new plan row to the Overview table
|
|
384
|
+
- **Append** the new plan's phase/task sections under `## Plans`
|
|
385
|
+
- **Update** the header fields (`Active`, `File`, `Phase`, `Status`, `Updated`) to point to the new plan
|
|
386
|
+
- **Never remove or rewrite** existing plan sections — only append and update statuses
|
|
373
387
|
|
|
374
388
|
**STATE.md contract** — all agents MUST preserve these parseable header fields:
|
|
375
389
|
- **Active** — the currently active plan identifier (`{NN}_{NAME}`) or `None`
|
|
376
|
-
- **File** — path to the active plan document
|
|
377
|
-
- **Phase** — current phase number of the active plan
|
|
390
|
+
- **File** — path to the active plan document, or `—` if none active
|
|
391
|
+
- **Phase** — current phase number of the active plan, or `—` if none active
|
|
378
392
|
- **Status** — one of: `🚧 In Progress`, `⏸️ Paused`, `✅ Complete`
|
|
379
393
|
- **Updated** — ISO timestamp of last update (e.g., `2025-01-15T14:30:00Z`)
|
|
380
394
|
|
package/content/commands/auto.md
CHANGED
|
@@ -65,7 +65,7 @@ Read `{{STATE_FILE}}`. If it contains an active plan (status is `In Progress` or
|
|
|
65
65
|
|
|
66
66
|
If a plan name was provided, find the matching plan file in `{{PLANS_DIR}}/` (match by name portion, e.g., `AUTH` matches `PLAN_01_AUTH.md`):
|
|
67
67
|
- Load that plan
|
|
68
|
-
- **STATE UPDATE**: Update `{{STATE_FILE}}` to activate this plan. Read the existing STATE.md first to preserve the
|
|
68
|
+
- **STATE UPDATE**: Update `{{STATE_FILE}}` to activate this plan. Read the existing STATE.md first to preserve the `## Overview` table and `## Plans` sections. Update the header fields:
|
|
69
69
|
```markdown
|
|
70
70
|
**Active**: {NN}_{NAME}
|
|
71
71
|
**File**: {{PLANS_DIR}}/PLAN_{NN}_{NAME}.md
|
|
@@ -73,7 +73,7 @@ If a plan name was provided, find the matching plan file in `{{PLANS_DIR}}/` (ma
|
|
|
73
73
|
**Status**: 🚧 In Progress
|
|
74
74
|
**Updated**: [ISO timestamp]
|
|
75
75
|
```
|
|
76
|
-
- Update the plan's status in the
|
|
76
|
+
- Update the plan's status in the Overview table to `🚧 In Progress`
|
|
77
77
|
- Skip to **Step 3** (branch) then **Step 4** (execute)
|
|
78
78
|
|
|
79
79
|
#### 1c. No Active Work — Enter Brainstorm
|
|
@@ -192,9 +192,9 @@ Present the blockers to the user and ask how to proceed. Do NOT continue until b
|
|
|
192
192
|
- Increment `**Phase**` to the next phase number
|
|
193
193
|
- Keep `**Status**` as `🚧 In Progress`
|
|
194
194
|
- Update `**Updated**` timestamp
|
|
195
|
-
- Mark completed tasks as `✅` in the
|
|
195
|
+
- Mark completed tasks as `✅` in the task tables under `## Plans`
|
|
196
196
|
- Update completed phase headers from `🚧` to `✅`
|
|
197
|
-
- Update the Progress column in the
|
|
197
|
+
- Update the Progress column in the Overview table
|
|
198
198
|
|
|
199
199
|
#### 4d. Continue to Next Phase
|
|
200
200
|
|
|
@@ -257,11 +257,11 @@ Review security report:
|
|
|
257
257
|
### Step 6: Report
|
|
258
258
|
|
|
259
259
|
**STATE UPDATE**: Before reporting, read and update `{{STATE_FILE}}` to reflect final status:
|
|
260
|
-
- If all phases and validation passed: set `**Active**` to `None`, update plan's status to `✅ Complete` in
|
|
260
|
+
- If all phases and validation passed: set `**Active**` to `None`, update plan's status to `✅ Complete` in Overview table, set `**Status**: ✅ Complete`
|
|
261
261
|
- If partially complete (blockers, user stopped): keep `**Active**` pointing to the plan, set `**Status**: ⏸️ Paused`
|
|
262
262
|
- Update `**Phase**` to the last completed phase number
|
|
263
263
|
- Update `**Updated**` timestamp
|
|
264
|
-
- Update all task statuses in the
|
|
264
|
+
- Update all task statuses in the task tables under `## Plans` to reflect final state
|
|
265
265
|
|
|
266
266
|
After everything is done (or stopped), provide a final summary:
|
|
267
267
|
|
|
@@ -342,7 +342,7 @@ Auto mode commits **early and often** using the commit agent (`subagent_type="co
|
|
|
342
342
|
|
|
343
343
|
**STATE.md header fields** (always keep these parseable at the top):
|
|
344
344
|
```markdown
|
|
345
|
-
#
|
|
345
|
+
# State
|
|
346
346
|
|
|
347
347
|
**Active**: {NN}_{NAME}
|
|
348
348
|
**File**: {{PLANS_DIR}}/PLAN_{NN}_{NAME}.md
|
|
@@ -352,16 +352,16 @@ Auto mode commits **early and often** using the commit agent (`subagent_type="co
|
|
|
352
352
|
```
|
|
353
353
|
|
|
354
354
|
**When updating STATE.md**:
|
|
355
|
-
- Always READ existing STATE.md first to preserve
|
|
355
|
+
- Always READ existing STATE.md first to preserve `## Overview` table and `## Plans` sections
|
|
356
356
|
- Update the header fields (Active, File, Phase, Status, Updated)
|
|
357
|
-
- Update the active plan's status in
|
|
358
|
-
- Update task statuses (`⏳` → `🚧` → `✅`) in the
|
|
357
|
+
- Update the active plan's status in `## Overview` table
|
|
358
|
+
- Update task statuses (`⏳` → `🚧` → `✅`) in the task tables under `## Plans`
|
|
359
359
|
- Update phase status emoji in phase headers (`⏳` → `🚧` → `✅`)
|
|
360
|
-
- Update the Progress column in
|
|
360
|
+
- Update the Progress column in `## Overview` table (e.g., `5/18 tasks`)
|
|
361
361
|
|
|
362
362
|
**When all work on a plan is done**:
|
|
363
363
|
- Set `**Active**` to `None` (or the next plan if one exists)
|
|
364
|
-
- Update the plan's status in the
|
|
364
|
+
- Update the plan's status in the Overview table to `✅ Complete`
|
|
365
365
|
- Mark all tasks as `✅` in the plan's task tables
|
|
366
366
|
- Set `**Status**` to `✅ Complete`
|
|
367
367
|
|
package/package.json
CHANGED