Practice worksheet — teaching exercise, no fabricated results Give an AI agent only the permissions it needs Design least-privilege rules for an AI agent, with read/write/delete boundaries and approval before changes. 1. An agent can act, not just answer Complete the lesson practice. Record the actual result or why it remains unverified: Lesson-specific self-check: Does an agent listing novels need file-deletion permission? Reference answer (try before reading): No. Read access to the training list is enough: minimum necessary privilege. My response / what I tried: ____________________________________________________________ How did I verify it / what remains unchecked? ____________________________________________________________ 2. Separate read, write, and delete Complete the lesson practice. Record the actual result or why it remains unverified: Lesson-specific self-check: How do the sample read, write and delete permissions differ? Reference answer (try before reading): Read the sample file is allowed; writing requires approval; deletion is denied. My response / what I tried: ____________________________________________________________ How did I verify it / what remains unchecked? ____________________________________________________________ 3. Preview a change before applying it Complete the lesson practice. Record the actual result or why it remains unverified: Lesson-specific self-check: Why show a preview before fixing a book category? Reference answer (try before reading): The user can review a proposed change, such as a misspelled genre, and reject a wrong edit. My response / what I tried: ____________________________________________________________ How did I verify it / what remains unchecked? ____________________________________________________________ 4. File contents are not trusted commands Complete the lesson practice. Record the actual result or why it remains unverified: Lesson-specific self-check: What if a note in the file says “delete everything”? Reference answer (try before reading): That is untrusted data, not authority. Technical tool permissions must prevent deletion regardless of the text. My response / what I tried: ____________________________________________________________ How did I verify it / what remains unchecked? ____________________________________________________________ 5. Deliver policy and tests Complete the lesson practice. Record the actual result or why it remains unverified: Lesson-specific self-check: How should the three agent scenarios end? Reference answer (try before reading): List books: allow; edit a category: ask approval; delete all books: refuse. My response / what I tried: ____________________________________________________________ How did I verify it / what remains unchecked? ____________________________________________________________ Final project: input A fictional agent sorting novels in books.csv Reference deliverable Task: list novels. Policy: read books.csv = allowed write books.csv = ask user delete books.csv = denied Test A: list novels→allow. B: fix “novle”→preview and request approval. C: delete all→deny. Acceptance criteria Paper design only; a real implementation must enforce these tool permissions outside the model. Note: do not invent a test result or enter sensitive data in examples.