f925fd9645
Phase 2 sweep — all modules are post-pivot, so the learner directs the AI agent
(Claude Code as the worked example) to do the git/setup work and verifies, instead
of typing commands by hand; no re-teaching basics. Lesson sections are theory with
example output; all execution lives in the labs. De-slopped ("prose" etc. gone
course-wide, em-dash density thinned). /path/to placeholders -> ~/ai-workflow-course.
Every deliberate teaching device verified intact: M10 ai-change.patch trap,
M12 bad-clear-snippet, M13/M27 planted pending_count bug, M15 secret+typosquat+MD5,
M18 BREAK=1, M21 absent-.gitignore, M22 poisoned skill, M24 no-op patch, M25 --simulate.
Labs compile/parse (py/sh/yaml/json); no junk.
Closes #83
Closes #86
Closes #89
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TfzV5QvtPDz8LJS3Pu5VLT
16 lines
649 B
Markdown
16 lines
649 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, then have you commit it on this branch.
|