Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Doing a bigger change plan-first, step by step card 5 of 6

When reality differs from the plan

builds on: Reviewing and editing a plan, Sizing and splitting tasks, Commit before every task: checkpoints, Verifying before you accept a change
At step 2 the agent writes: `◂ Agent: Some dates use another format, so I skip rows that don't parse.` That was not in the plan, and it silently drops data. Don't commit it. Throw the attempt away so your files go back to the step 1 commit, your last checkpoint. Then type: `▸ You: Update PLAN.md: handle both date formats, with a test for each. Show me the revised plan.` Review the new plan, commit it, then redo step 2.
Terms on this card
PLAN.md
An example name for a plain text (Markdown) file in your project that holds the numbered plan, so the plan lives outside the chat.
commit
A saved snapshot of your project in git, with a message, that you can return to later.
checkpoint
A commit (or a tool's snapshot) made before a task or after an accepted step, so you can return to that exact state.
test
A small piece of code that runs part of your program and checks the result matches what's expected, reporting pass or fail.
agent
An AI tool that doesn't just chat. It reads your project's files, edits them and runs commands to carry out a task you give it.
Learn this step by step on Bytewise
Lesson goal: Run a multi-step change by approving a plan, saving it to a file, executing one step at a time, and verifying and committing after each step. Re-plan when reality differs from the plan. · the whole lesson