Ontology SDKAgent SDK
Avoid approving a reply after a new message
Your inbox can flag newer customer messages and guard draft approval against them.
A customer writes again while your team is reviewing a proposed reply. The draft can now tell the inbox whether that person has sent a newer message, and an approval can be guarded so it does not send an outdated answer.
Tell the coding agent you build with to show that newer-message signal in your inbox and, where appropriate, require an approval to stop if the customer has written since the draft was made. Your workspace decides when to use the guard or dismiss a stale draft; it is not applied automatically. If the chat's starting point cannot be established, a guarded approval refuses to send. A decided draft cannot be sent again.