Your escape room project has a committed brief that says what the tool must do, what it mustn’t do, and how you’ll know it’s done. It doesn’t say how to build the tool, such as which files it has, what a room looks like in the code, or how tests run. An agent asked to start building will choose all of that in its first few steps.
In this lesson, you’ll ask your agent for a plan before any code exists, and you’ll read it the way a reviewer would. You’ll check each choice against the brief, ask what the agent assumed, and settle the expensive decisions while changing them still costs a sentence. Start by reading a plan that an agent wrote for this same brief.
Read a Plan Before You Approve It
A plan is the agent’s proposal for the work before it writes code: the choices the work depends on, the steps in order, how each step will be checked, and the assumptions it made where the brief was silent. A plan pays off because of timing. Changing the file layout in a plan means editing a line, but after ten files exist, it means a rewrite.
Here’s part of a plan from a recorded session. In December 2026, Codex CLI 0.167 read the brief from the Write the Project Brief lesson and both sample rooms in its Plan mode, then proposed this:
## Implementation
- Provide `node check-room.js rooms/<filename>.json`.
- Validate the existing JSON structure before checking it:
room and puzzle names, unique puzzle IDs, string arrays for
`needs` and `unlocks`, and nonnegative numeric
`estimateMinutes`. Report malformed files as input errors,
separate from unfinished rooms.
- Begin with an empty inventory. Repeatedly solve any
unsolved puzzle whose needs are all present, adding its
unlocks to the inventory. Stop when a full pass solves
nothing.
- Report success only when every puzzle is solved.
Otherwise, list every unsolved puzzle by name and ID, with
its currently unavailable needs. Distinguish needs that no
puzzle unlocks from needs produced only by unreachable
puzzles.
- Use exit codes `0` for finishable, `1` for unfinished, and
`2` for invalid input or file errors.
- Add brief usage documentation. Never modify room files or
calculate a difficulty score.
## Test plan
Use Node's built-in test runner to cover:
- Both supplied rooms, including both unreachable puzzles.
- Requirements using all needs, branching paths, and
persistent items.
The parts left out are more test cases and four open questions, so judge what you see here. It’s clear, it follows the brief’s definition of “finished”, and it repeats the rule about difficulty. Before you read on, decide whether you’d approve it as it is, and note any lines you’d question:
Each line reads as settled, but the brief doesn’t support some of them:
- A new rule for room files: The validation step rejects repeated puzzle IDs and estimates that aren’t numbers of zero or more. The brief never set those rules, yet the designers’ files would have to follow them.
- Extras nobody asked for: Exit codes, explanations of each missing need, and usage documentation. Each might be useful, but it’s a choice to make on purpose.
- A guess about the users: The brief puts the tool in a terminal for designers who don’t write code, but never says what they type. The command is the agent’s pick.
Then there’s what the plan doesn’t say, here or in the parts left out. It never specifies whether to use ES modules (import and export) or CommonJS (require()), where the files go, or what a room looks like in the code. The agent would settle those silently in the first file.
If you’d approve it, you’re not alone. A plan states the agent’s guesses as confidently as what the brief asked for, so a plan can read well and still go beyond the brief. Read it as a reviewer would, and for each step, ask which line of docs/brief.md requires it. A step with no answer is a guess to keep, cut, or ask about.
Ask Your Agent for Your Own Plan
Your agent’s plan will differ, so get yours and check its choices against the brief. First, run git status in escape-room-builder. Apart from your agent’s settings folder, it should show nothing to commit. Commit any brief changes, so you can see afterward whether the session touched anything.
Start a new session rather than resuming the interview, so the plan starts from the committed docs/brief.md, not the interview’s chat. Standing instructions or memory may still load, but the brief is what you agreed on.
Both agents have a plan mode that keeps the session to reading and proposing. Open the version for your agent, checked in December 2026 against Claude Code 2.1’s documentation and with Codex CLI 0.172: