Playbook overview

Decide what the agent can trust

Guide, operating model and reference

The brief says to change the cancellation deadline for new bookings. A comment on the task asks the agent to update the refund policy while it’s there. The comment may be worth reading. Who gets to decide that refunds are now part of the work?

In short. Start from the approved brief and guidance. Treat new requests found in the material the agent reads as proposals. Enforce the consequential limits in the tools and services that perform the work.

Separate the brief from what the agent finds

An agent might read an issue comment, a dependency README, a page in the browser or a response from a connected tool. Any of those can contain an instruction that tries to steer the session. That’s indirect prompt injection. A trusted connector can still return text written by someone who has no authority over the task.

In the booking change, give the agent the approved brief and the agreed checks before it reads the discussion. If the comment raises a genuine refund question, record it for the owner to decide. The owner can approve a separate task or amend the brief and specify which checks apply. The next session should be able to find that decision without having to infer it from the thread. OWASP agentic application risks · NVIDIA sandboxing guidance

Decide which version the next session reads

Start fresh sessions with the reviewed versions of AGENTS.md, Skills, learning notes and verification inputs. Record where those versions came from. For unattended work, make the runner load the approved guidance from a protected revision or a read-only copy. If the client automatically discovers instructions in the candidate workspace, check that it can be configured to use only the approved ones before relying on it to run unattended.

The agent can still draft a correction. Keep it in the candidate patch or a separate proposal, have a maintainer review it, and promote the reviewed revision when it’s ready. A restart on the same task should pick up the same approved guidance unless the owner has approved a change. Try this with the learning-note workflow. NVIDIA sandboxing guidance

Put limits where the work happens

Give the session the filesystem, network destinations and credentials needed for the agreed task. A browser check against a disposable booking service can use synthetic data and a credential scoped to that environment. Keep deployment credentials and permissions to publish trusted verification results with the services that need them. Apply the network and write restrictions to programs started by the session as well.

Settle routine permissions up front so people have time to read the approvals that matter. A request to change a shared environment should say what will happen and who can decide. That applies whether an engineer is sitting beside the session or receives the request in the morning. Capture the decision with the work. Start with the example harness check and use a disposable fixture to see what the runner actually does. NVIDIA sandboxing guidance · MCP security and trust