4.1 Boundaries and human review
Define what the system must never do, and test those limits.
Begin with consequences
A system that sorts public abstracts has a different risk profile from one that changes a regulated record or influences patient care. Define the intended use and the plausible harm before choosing controls.
This chapter is original educational guidance, informed by the reference safety discussion. It is not a compliance standard, certification or substitute for the policies and validation required in your organization.
Put boundaries in the system
Use public or synthetic data during learning. Do not upload confidential research, personal data, clinical records or employer materials to unapproved tools.
Read-only access, allowlisted tools, validated inputs and separate credentials reduce the actions a system can take. A human approval step must occur before an irreversible action, not after it.
- Define prohibited data and prohibited actions.
- Require source evidence for scientific claims.
- Stop on missing evidence, tool errors or exhausted budgets.
- Route consequential or ambiguous decisions to a responsible human.
Test hostile source content
Prompt injection occurs when untrusted content tries to instruct the agent, for example a retrieved document telling it to ignore its objective or reveal a credential. A safe design never treats source text as authority.
Test with a harmless synthetic document that contains an instruction to request an unlisted tool. Inspect the execution trace to confirm the tool cannot run, even if the planner proposes it.
Further reading
Original reference materials. External notebooks run on their own services, not on this site.