Review AI-proposed changes
Separate graph proposals from approved non-graph actions and preserve uncertain outcomes.
ONF's built-in AI help distinguishes read-only assistance from an Executor that prepares reviewed changes. The reviewed Executor route does not grant unrestricted direct mutation simply because the connected agent can discover tool names.
Help and Executor#
Help reads saved context and can explain nodes, executions and explicit error reports. Focus actions prepare a question for the selected saved object; opening one does not send a turn automatically. The backend validates structural IDs and retrieves the relevant saved or retained historical context itself.
Executor uses a restricted MCP projection for the current request. It can read, use specifically supported graph previews and stage proposals. Direct mutation calls are denied in that projection. A separate manually configured administrative MCP client retains the existing trusted local/LAN authority; the review projection is not a universal user-account permission system.
Stage graph changes#
onf_stage_ai_graph_changes takes the active request's proposal identity/private grant, exact workflow ID, expected graph revision and operations. It builds and validates a separate draft without saving or running the workflow.
The UI shows the complete graph change set for review. Applying commits the graph atomically with current-revision checks. If the underlying workflow changes first, the proposal must be refreshed against the new graph; acceptance is not a licence to overwrite another editor's work.
Private proposal grants are capabilities supplied for that request. They must not appear in graph literals, code, documentation or user-facing transcripts. Public examples use placeholders and do not reproduce a real grant.
Approve non-graph actions separately#
onf_stage_ai_action proposes an exact non-graph tool name, arguments and clear summary. Staging does not run that action. Publishing a definition, changing durable values or starting a run can therefore require separate action review even when a graph proposal is also present.
An approved action records dispatch intent before one handler call. The system does not automatically repeat an action whose result becomes uncertain after disconnect or interruption. Inspect the actual target before deliberately proposing another attempt. onf_get_ai_proposal reads known outcomes and created IDs; a later agent turn can use those real identities instead of guessing.
Readiness and conversation recovery#
The reviewed feature has explicit deployment readiness/activation state. Configuration metadata is not proof that a provider can answer or that every installation has completed its review-gate setup. Read current help status and follow that installation's operating guidance; do not bypass readiness by weakening the gateway or MCP projection.
Requests are durable and asynchronous. Closing the panel does not cancel accepted work, and continued polling does not resend a turn. A pending request recovered after an interruption may become uncertain. Unlimited whole-turn duration in the current helper implementation does not remove bounded connection/cleanup steps, provider failures or the need for deliberate recovery.
See AI assistance for the interface and agent authority for the broader trusted-code model.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
docs/AI-HELP.mdserver/ai-mcp-policy.tsserver/ai-proposals.tsserver/ai-proposal-tools.tsserver/ai-help.ts