Skip to content

Commit 4889de3

Browse files
committed
chore(changeset): Clause-② arm for the automation dryRun widening
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kYk6G1CvandwWbbhe
1 parent 7425632 commit 4889de3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/33661-automation-dry-run.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
feat(automation): `IAutomationService.dryRun` runs an unpublished flow definition once, unarmed, as a named user
1010

11-
Clause-②: yes
11+
Clause-②: yes (widening) — `AutomationEngine.dryRun` admits a `runAs: 'system'` self-triggered draft for the named user (ruling B); `@objectstack/core` exports the shared flow-start rules (`aiAccountElevatedStartRefusal`, `requiredPermissionsStartRefusal`, `requiredPermissionsRefusal`, `missingCapabilities`, `isAiServiceAccount`, `AI_ACCOUNT_ELEVATED_START_REFUSAL`, `FlowStartPermissionRefusal`); plugin-security's registered `security` service serves `canWriteObject`
1212
Metadata-protocol: none
1313

1414
The automation service now implements `dryRun(definition, { userId, record, … })`, the method the `IAutomationService` contract declares. A dry run admits the definition by the checks `registerFlow` asks, then by the rules that admit a start by name, and then runs it once against the supplied record as the named user. It registers nothing and arms no trigger, and it writes, sends and pauses nothing:

0 commit comments

Comments
 (0)