Spot Untrusted Text Your Agent Reads

Your play-test report now refuses the hand-typed record and names it. The play-test weekend also left written feedback on each room, and reading a stack of notes like that is exactly the kind of job people hand to an agent.

In this lesson, you’ll ask your agent to summarize that feedback, then check your session for anything it did or proposed that you didn’t ask for. You’ll see why outside text can steer your agent and learn to name what it reads on its own during a task. Start with the summary.

Ask for a Summary of the Feedback

Feedback is useful only once someone has read all of it, so a summary is a reasonable request. The play-test weekend pack, the course’s second download, has a feedback/ folder with one Markdown file per team. Set up your project so you can see afterward what the session changed:

  1. Run git status in your project folder. Look at anything left over with git diff, then commit what you meant to keep and restore the rest.
  2. Copy only the pack’s feedback/ folder into your project. Leave the pack’s other files where they are. Later lessons say when you need them.
  3. Run git add feedback, then git commit -m "Add play-test feedback".

Start a fresh session in the mode that asks before each edit and each command it isn’t already allowed to run. Approve a request only if it lists or reads feedback/, which the summary needs. Decline anything else, such as an edit or a fetch, and note what it asked for. File reads usually don’t need approval, so check afterward which files it read. Open the version for your agent, checked in December 2026 with Claude Code 2.1 and Codex CLI 0.173:

Start the session with claude --permission-mode manual. In this mode, Claude Code asks before each edit, command, or web fetch your settings don’t already allow. Before sending a task, open /permissions and remove allow rules for edits, fetches, commands that write or reach the network, and tools from MCP servers, which are add-ons that give the agent extra tools. Then check in /sandbox that it doesn’t run commands without asking.

Check /mcp for connected MCP servers too, and disconnect any whose tools still have an allow rule.

Start the session with codex --sandbox read-only --ask-for-approval on-request -c web_search=disabled --disable apps. The read-only sandbox blocks writes and network access for Codex’s commands, so an edit or a fetch comes to you as a request or is blocked without one. The sandbox doesn’t cover web search or apps, which the last two options turn off, or MCP servers, add-ons that give Codex extra tools. Disable any that codex mcp list shows.

Here’s an example task, with the usual goal, where to look, limits, and done-when:

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.