Files
ai-workflow-course/modules/07-worktrees-running-agents-in-parallel/lab/agent-a-prompt.md
T
2026-06-22 15:35:51 -04:00

16 lines
633 B
Markdown

# Agent A prompt — the `wipe` command
Paste this into the AI session you've pointed at the `tasks-app-wipe` worktree folder.
---
Add a `wipe` command to this task app that removes **all** tasks.
- 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.