Running-example consistency: paths, tasks.json, command collisions (#7,#10,#11) (#57)

Co-authored-by: claude <claude@jpaul.io>
Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #57.
This commit is contained in:
2026-06-22 15:35:51 -04:00
committed by Claude (agent)
parent 848ad14e3c
commit 06b9f8f308
14 changed files with 192 additions and 136 deletions
@@ -1,15 +1,15 @@
# Agent A prompt — the `clear` command
# Agent A prompt — the `wipe` command
Paste this into the AI session you've pointed at the `tasks-app-clear` worktree folder.
Paste this into the AI session you've pointed at the `tasks-app-wipe` worktree folder.
---
Add a `clear` command to this task app that removes **all** tasks.
Add a `wipe` command to this task app that removes **all** tasks.
- Put the deletion logic on `TaskList` in `tasks.py` (a `clear()` method that empties the list),
and wire a `clear` command into the dispatch in `cli.py` that calls it and saves.
- Running `python cli.py clear` should empty the list and print a short confirmation like
`cleared all tasks`.
- After `clear`, `python cli.py list` should print `(no tasks yet)`.
- Put the deletion logic on `TaskList` in `tasks.py` (a `wipe()` method that empties the list),
and wire a `wipe` command into the dispatch in `cli.py` that calls it and saves.
- Running `python cli.py wipe` should empty the list and print a short confirmation like
`wiped all tasks`.
- After `wipe`, `python cli.py list` should print `(no tasks yet)`.
Make the change, then stop — I'll review the diff and commit it myself.