General editorial guide prepared with AI assistance. Examples are hypothetical; implementation depends on project requirements and qualified review.
Decision and problem
An assistant can propose a request category or summarize content, but approving an invoice, deleting a record or sending an external message is a separate action requiring rules and authorization. Assign each action a risk level and owner.
Designing the solution
Use structured outputs validated by the server and preview consequences before execution when needed. Make retries safe and preserve operation IDs and decision logs. Restrict tools to specific functions; do not let the model bypass API boundaries.
Practical acceptance test
Test an incorrect suggestion rejected by a user, then an approved operation disconnected after persistence. The rejected proposal must not execute and the approved operation must not duplicate on retry.
