Skip to content

Commit 4304259

Browse files
committed
chore(scenarios): changeset for the confirm-first lock wording
Claude-Session: https://claude.ai/code/session_016WV4cypybwgoxE3ZMZy8kt Co-authored-by: Claude <noreply@anthropic.com>
1 parent aca00a4 commit 4304259

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/scenarios': patch
3+
---
4+
5+
Clause-②: no
6+
Metadata-protocol: none
7+
8+
feat(scenarios): the build prompt's confirm-first line asks the build to lock the change a gated action makes
9+
10+
A confirm-gated agent action (`ai.requiresConfirmation`) guards its own door only; the gate is not widened to the raw data door, so an agent that met the gate could still write the target state with a plain record update. The build contract's line for each confirm-first action now also asks the build to lock that change: when the action changes fields of its row, those fields are made not editable for each person who runs it, at the stage the action acts on (a field permission `when` in their permission set), and the action writes them elevated, so the same people's other changes to those fields still land. An action that deletes its row locks nothing, and its people keep their delete right. Lines for actions that are not confirm-gated are unchanged.

0 commit comments

Comments
 (0)