Learn · Agentic architecture & orchestration · CCAR-F task 1.4

Enforcement and handoff

Prompts are probabilistic, code is deterministic. Put must-never-break rules in code, and hand off with a summary that stands alone.

Key ideas

Worked example: A prerequisite gate inside the tool

The rule lives in code the model can't talk its way around. The prompt still says "verify first", so the model usually does; the code guarantees it.

Exam traps

Official docs

Practise CCAR-F questions · Next lesson: Hooks for tool calls