Course overview/Operate with an agent1 of 5
Guardrails
Guardrails
Place pipeline rules at the layer that can actually enforce them and treat table text as untrusted data.
Advice is not enforcement
The project has exactly five guardrails, or rules that limit unsafe work: no DROP, TRUNCATE, or DELETE; no writes to local; no full refresh of a reporting table; show SQL before writes; and never weaken checks or tests. Database permissions, environment separation, and tool permissions can enforce some controls. AGENTS.md shapes behaviour but cannot technically prevent a command.
The customer data contains one harmless last name that looks like an instruction. It is a string from an untrusted table, never an instruction to the agent. Report it and do nothing else; never pass model output or data values into a command or query automatically.
Your task
Write docs/guardrail-review.md. For each of the five guardrails, say whether the current project enforces it or merely asks for it, where enforcement lives, and one bypass or limitation. Include the exact last name that looks like an instruction and explain why it is just data.
Check your understanding
- Can
AGENTS.mdprevent a shell command by itself? - What are the five guardrails in this project?
- How should an instruction-shaped customer value be handled?
Do it with your agent
Say next lesson, inspect the relevant project files, write the review, then say review my work.
Rubric
- Lists exactly 5 guardrails and does not add a sixth numbered guardrail.
- Correctly distinguishes advisory rules from database permissions, environment separation, and tool controls.
- Reports the instruction-like last name as data and proposes no command, file path, or executed statement from it.