TransEdge

Action Previews

Understand how TransEdge AI previews actions before applying changes.

Action previews are how TransEdge AI handles meaningful changes safely. Instead of silently mutating TransEdge data, an action capability returns a preview card for the user to review.

Preview-confirm-apply

The action flow is:

The user asks for an action.
A module action capability detects the intent.
The capability returns a structured preview.
The prompt renders a preview card.
The user applies or cancels the action.
TransEdge records the result as task steps.

Dedicated preview components

Modules can register custom preview components for specific action keys. These components can show compact forms, maps, validation messages, and action controls inside the AI prompt.

Terminal states

Completed, cancelled, and failed previews should be terminal. Once a preview is terminal, the UI should stop showing editable controls for that action.

Current example

Fleet-Ops registers a create-order preview component for fleet-ops.create_order.

Action preview copy should never say an action was completed until TransEdge has a confirmed apply result.

Action Previews | TransEdge