Skip to content

Commit da262a6

Browse files
Jammy2211claude
authored andcommitted
ship skills: lifecycle record --apply now owns index refresh + active.md prune
PyAutoMind@aba2ce5 folded the active.md section prune into lifecycle.py record --apply (the index refresh was already folded in by Mind PR #97). Drop the now-redundant separate 'index --apply' and 'drop the active.md entry' instructions — the forgotten manual active.md edit is what turned every Mind push red 2026-07-28→30. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent d63600f commit da262a6

4 files changed

Lines changed: 10 additions & 12 deletions

File tree

skills/ship_library/reference.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,10 @@ optional session notes), then record completion — the dated record **is** the
140140
ledger (issues #71/#81; the monolithic `complete.md` was retired 2026-07-16):
141141
- **Draft the rich completion body** to a temp file — `## <slug>`, `issue`,
142142
`completed: <date>`, `library-pr:`, then the summary/traps/notes bullets.
143-
- **Write the record** (folds + removes the `active/` prompt):
143+
- **Write the record** — one step: it folds + removes the `active/` prompt,
144+
refreshes `complete/index.md`, and prunes the task's `active.md` section
145+
(all the state `lifecycle.py check` drift-checks):
144146
`python3 PyAutoMind/scripts/lifecycle.py record <slug> --date <completed> --from-file <tmp> --prompt <active-filename> --apply`
145-
- **Regenerate the index:** `python3 PyAutoMind/scripts/lifecycle.py index --apply`
146-
- **Drop the task's `active.md` entry** (`lifecycle.py check` flags a finished
147-
slug still present in `active.md`).
148147

149148
Then push Mind with
150149
`prompt_sync_push "prompt: ship <task-name> (#<issue>) → complete"`.

skills/ship_library/ship_library.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ Analyse downstream workspace impact and present data-driven options — see
9696
`library-shipped, workspace-pending`, add `library-pr:`, push Mind.
9797
- **(iii)** no workspace impact → run `/smoke_test` (with `activate.sh` sourced).
9898
On pass, offer to merge the library PR, post a "Shipped" comment, write the
99-
dated completion record (`lifecycle.py record`) and drop the `active.md`
100-
entry, push Mind. On fail, report and suggest `/start_workspace`
99+
dated completion record (`lifecycle.py record` — also refreshes the index
100+
and prunes the `active.md` entry), push Mind. On fail, report and suggest `/start_workspace`
101101
(likely option ii); do not merge, do not clean up `active.md`.
102102

103103
Comment templates and Mind-state transitions are in [`reference.md`](reference.md)

skills/ship_workspace/reference.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,12 @@ SHIP_EOF
111111
- summary: <what landed, gotchas, follow-ups>
112112
```
113113

114-
**Write the record** (folds + removes the `active/` prompt), regenerate the
115-
index, and drop the task's `active.md` entry (`lifecycle.py check` flags a
116-
finished slug still present there):
114+
**Write the record** — one step: it folds + removes the `active/` prompt,
115+
refreshes `complete/index.md`, and prunes the task's `active.md` section
116+
(all the state `lifecycle.py check` drift-checks):
117117

118118
```bash
119119
python3 PyAutoMind/scripts/lifecycle.py record <slug> --date <YYYY-MM-DD> --from-file <tmp> --prompt <active-filename> --apply
120-
python3 PyAutoMind/scripts/lifecycle.py index --apply
121120
```
122121

123122
Push Mind: `prompt_sync_push "prompt: ship <task-name> (#<issue>) → complete"`.

skills/ship_workspace/ship_workspace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ See [`reference.md`](reference.md) → "Library-first merge gate".
9292
### 6. Complete the issue + Mind state
9393

9494
Detect the issue, generate a session summary, post a "Shipped" comment, write
95-
the dated completion record (`lifecycle.py record`), drop the `active.md`
96-
entry, and push Mind. Templates in
95+
the dated completion record (`lifecycle.py record` — also refreshes the index
96+
and prunes the `active.md` entry), and push Mind. Templates in
9797
[`reference.md`](reference.md) → "Issue completion + Mind state".
9898

9999
## Notes

0 commit comments

Comments
 (0)