fix(todos): rename todos/done to todos/completed in workflows and docs

The CLI (commands.cjs, init.cjs) uses `todos/completed/` but three
workflow files and three FEATURES.md docs referenced `todos/done/`.
This caused completed todos to land in different directories depending
on whether the CLI command or the workflow instructions were followed.

Closes #1438

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Tibsfox
2026-03-27 22:23:09 -07:00
parent 1421dc07bc
commit 447d17a9fc
6 changed files with 7 additions and 7 deletions

View File

@@ -736,7 +736,7 @@
**Requirements:** **Requirements:**
- REQ-TODO-01: System MUST capture todo from current conversation context - REQ-TODO-01: System MUST capture todo from current conversation context
- REQ-TODO-02: Todos MUST be stored in `.planning/todos/pending/` - REQ-TODO-02: Todos MUST be stored in `.planning/todos/pending/`
- REQ-TODO-03: Completed todos MUST move to `.planning/todos/done/` - REQ-TODO-03: Completed todos MUST move to `.planning/todos/completed/`
- REQ-TODO-04: Check-todos MUST list all pending items with selection to work on one - REQ-TODO-04: Check-todos MUST list all pending items with selection to work on one
--- ---

View File

@@ -736,7 +736,7 @@
**要件:** **要件:**
- REQ-TODO-01: システムは現在の会話コンテキストから Todo をキャプチャしなければならない - REQ-TODO-01: システムは現在の会話コンテキストから Todo をキャプチャしなければならない
- REQ-TODO-02: Todo は `.planning/todos/pending/` に保存されなければならない - REQ-TODO-02: Todo は `.planning/todos/pending/` に保存されなければならない
- REQ-TODO-03: 完了した Todo は `.planning/todos/done/` に移動されなければならない - REQ-TODO-03: 完了した Todo は `.planning/todos/completed/` に移動されなければならない
- REQ-TODO-04: check-todos は保留中のすべてのアイテムを一覧表示し、作業するアイテムを選択できなければならない - REQ-TODO-04: check-todos は保留中のすべてのアイテムを一覧表示し、作業するアイテムを選択できなければならない
--- ---

View File

@@ -736,7 +736,7 @@
**요구사항.** **요구사항.**
- REQ-TODO-01: 현재 대화 컨텍스트에서 할 일을 캡처해야 합니다. - REQ-TODO-01: 현재 대화 컨텍스트에서 할 일을 캡처해야 합니다.
- REQ-TODO-02: 할 일은 `.planning/todos/pending/`에 저장되어야 합니다. - REQ-TODO-02: 할 일은 `.planning/todos/pending/`에 저장되어야 합니다.
- REQ-TODO-03: 완료된 할 일은 `.planning/todos/done/`으로 이동해야 합니다. - REQ-TODO-03: 완료된 할 일은 `.planning/todos/completed/`으로 이동해야 합니다.
- REQ-TODO-04: check-todos는 모든 보류 항목을 나열하고 하나를 선택하여 작업할 수 있어야 합니다. - REQ-TODO-04: check-todos는 모든 보류 항목을 나열하고 하나를 선택하여 작업할 수 있어야 합니다.
--- ---

View File

@@ -20,7 +20,7 @@ Extract from init JSON: `commit_docs`, `date`, `timestamp`, `todo_count`, `todos
Ensure directories exist: Ensure directories exist:
```bash ```bash
mkdir -p .planning/todos/pending .planning/todos/done mkdir -p .planning/todos/pending .planning/todos/completed
``` ```
Note existing areas from the todos array for consistency in infer_area step. Note existing areas from the todos array for consistency in infer_area step.

View File

@@ -126,7 +126,7 @@ Use AskUserQuestion:
<step name="execute_action"> <step name="execute_action">
**Work on it now:** **Work on it now:**
```bash ```bash
mv ".planning/todos/pending/[filename]" ".planning/todos/done/" mv ".planning/todos/pending/[filename]" ".planning/todos/completed/"
``` ```
Update STATE.md todo count. Present problem/solution context. Begin work or ask how to proceed. Update STATE.md todo count. Present problem/solution context. Begin work or ask how to proceed.
@@ -155,7 +155,7 @@ If todo was moved to done/, commit the change:
```bash ```bash
git rm --cached .planning/todos/pending/[filename] 2>/dev/null || true git rm --cached .planning/todos/pending/[filename] 2>/dev/null || true
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs: start work on todo - [title]" --files .planning/todos/done/[filename] .planning/STATE.md node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs: start work on todo - [title]" --files .planning/todos/completed/[filename] .planning/STATE.md
``` ```
Tool respects `commit_docs` config and gitignore automatically. Tool respects `commit_docs` config and gitignore automatically.

View File

@@ -101,7 +101,7 @@ If a scope has no directory or no entries, show: `(no notes)`
3. If N is invalid or refers to an already-promoted note, tell the user and stop 3. If N is invalid or refers to an already-promoted note, tell the user and stop
4. **Requires `.planning/` directory** — if it doesn't exist, warn: "Todos require a GSD project. Run `/gsd:new-project` to initialize one." 4. **Requires `.planning/` directory** — if it doesn't exist, warn: "Todos require a GSD project. Run `/gsd:new-project` to initialize one."
5. Ensure `.planning/todos/pending/` directory exists 5. Ensure `.planning/todos/pending/` directory exists
6. Generate todo ID: `{NNN}-{slug}` where NNN is the next sequential number (scan both `.planning/todos/pending/` and `.planning/todos/done/` for the highest existing number, increment by 1, zero-pad to 3 digits) and slug is the first ~4 meaningful words of the note text 6. Generate todo ID: `{NNN}-{slug}` where NNN is the next sequential number (scan both `.planning/todos/pending/` and `.planning/todos/completed/` for the highest existing number, increment by 1, zero-pad to 3 digits) and slug is the first ~4 meaningful words of the note text
7. Extract the note text from the source file (body after frontmatter) 7. Extract the note text from the source file (body after frontmatter)
8. Create `.planning/todos/pending/{id}.md`: 8. Create `.planning/todos/pending/{id}.md`: