Skip to content

Commit 4e01f3c

Browse files
committed
Minor rules update
1 parent df43b37 commit 4e01f3c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

rules.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,12 @@ CHANGE SESSION RULES (`NEWSESSION`, `NESTEDSESSION`, `APPLY`)
561561
If the failure must be surfaced to the user or integration,
562562
the assistant SHOULD use `applyMessage()`.
563563

564+
If `APPLY` fails because of a constraint, the changes
565+
remain unsaved in the current session, and any following
566+
`APPLY` in the same session will also fail until the
567+
offending data is fixed or the changes are discarded
568+
(for example with `CANCEL`).
569+
564570
9. The assistant SHOULD keep `NEWSESSION` blocks small
565571
and purpose-specific: isolate one unit of work,
566572
apply it if needed, and exit.

0 commit comments

Comments
 (0)