Lesson 14 of 14 · 2 min
Sticky-note appendix
The seven things we wish we had known on day one.
Compressed for the wall above your monitor. The seven things we wish we had known on day one:
- The agent runs as a different user. Permission-set every Apex class.
- Stubs that return
'stub_response'poison the planner. Return real data or''/'false'. enabled_toolsin the trace is the truth about what the LLM sees.@outputs.Xis what the planner says Apex returned. Defend against it lying with descriptions, flag-based gates, and correlated checks.- The reserved Apex word
inwill silently break your loop. Useinp. if @variables.customer_id != ""is a dangerously loose gate. Any non-empty hallucination passes it. Gate on explicit flags from Apex.--use-live-actionsis mandatory when iterating against real backing logic. Without it, you are testing the LLM, not the system.