The agent waits for your prompt.
No files yet.
Lesson 76: Practice: be the boss
Level 9, Be the Boss: Review, Approve, Plan. Diffs, danger, plans, rules and roll backs. It follows lesson 75, Test it yourself. Next comes lesson 77, Level 9 test: Agent Boss.
What the lesson explains
Be the boss. Diffs, danger, plans and rules.
What you do first
One after another. In a diff, what do green lines mean? The answer: "Lines that come in".
The files on the practice computer
This lesson works in one folder. At the start, Documents\my-site holds images\, .gitignore, CLAUDE.md, done.txt, footer.txt, games.html, ideas.txt, index.html, keys.env, secrets.txt, style.css, todo.txt.
Along the way you save style.css in Documents\my-site and type git restore style.css. Lesson 77 opens with the files just as you leave them.
What you practise
Mixed, "One after another": In a diff, what do green lines mean? The answer: "Lines that come in". Then: The pretend agent says: "I need to read secrets.txt to help. I will print it here." It asks to run cat secrets.txt. The right answer is Deny (Secrets never go in a chat. Deny!). Then: The pretend agent says: "My plan for a grey footer. Nothing changes until you say yes." It asks to follow its plan (Add one line to style.css: a grey footer; Change nothing else). The right answer is Allow: it does what you asked, and nothing more. Then: The pretend agent says: "Step 1: one line, a grey footer. May I change style.css?" It asks to change style.css. The right answer is Allow: it does what you asked, and nothing more. Then: Claude Code reads its house rules from which file? The answer: "CLAUDE.md".
Challenge, "Roll it back": Roll back style.css to your last save point. Starting at PS C:\Users\you\Documents\my-site>, one way takes 1 command: git restore style.css (par: 1).
What PlayBuddy and PlayType say
PlayBuddy: "Practice time! Read diffs, spot danger, and check every plan."
Help in every lesson
Everything happens on a pretend computer in your browser, so nothing touches your real files. PlayBuddy and PlayType stand beside the board, cheer you on and say when it is your turn.
A green ring shows where to click the first time. After that you do it on your own, and if you slip twice the ring comes back.
Stars
The lesson has 6 things to do. Up to one slip in ten gives three stars, up to one in four gives two, and finishing always gives at least one. Stars and progress are saved in this browser only; there is no account.
About DayOneCode
DayOneCode is an independent learning site, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.