Skip to content

Retire the flow-authoring gate; agent-permissions owns it (1.5.2) - #53

Merged
pallaoro merged 2 commits into
mainfrom
retire-authoring-gate
Sep 6, 2026
Merged

pallaoro merged 2 commits into
mainfrom
retire-authoring-gate

Conversation

@pallaoro

@pallaoro pallaoro commented Sep 6, 2026

Copy link
Copy Markdown
Member

flow_create / flow_edit / flow_publish / flow_delete are now gated by @clawnify/agent-permissions 0.6.0 (always-ask, companion PR in that repo). This plugin's own gate for them was registered through registerHook, which OpenClaw 2026.9.1 no longer dispatches for before_tool_call: it prompted on 2026.7.1 and silently did not on 2026.9.1, and with both gates live a 2026.7.1 box prompted twice per write.

Only the flow_run gate stays (operator opt-in, skippable for unattended sessions). approval.gateMutations is accepted and ignored so existing configs still validate.

Tests updated: authoring tools are asserted un-gated here under every config; flow_run and read-only behaviour unchanged. 171 tests pass; build clean; MUTATION_VERBS is gone from the bundle.

Fleet: boxes pull main and build (docs/internal/fleet-update.md, "Updating ClawFlow Plugin"); roll after the authority is installed on the box, one drained restart for both.

…1.5.2)

flow_create / flow_edit / flow_publish / flow_delete are gated by
@clawnify/agent-permissions 0.6.0, the one permission authority on the
box. This plugin's own gate for them was registered through registerHook,
which OpenClaw 2026.9.1 no longer dispatches for before_tool_call, so it
prompted on 2026.7.1 and silently did not on 2026.9.1; and with both gates
live a 2026.7.1 box prompted twice per write.

Only the flow_run gate stays: it is the operator's opt-in, skippable for
unattended sessions. approval.gateMutations is accepted and ignored so
existing configs still validate.
Main's 1.6.0 extended the same registerHook gate to flow_trigger's
mutating actions. That coverage moves to @clawnify/agent-permissions
0.6.0 with the authoring tools, so this plugin gates flow_run only.
@pallaoro
pallaoro merged commit da4905c into main Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant