risk_evaluate_action
Evaluate proposed project mutations and return risk level, score, gate, and checklist to block unsafe autonomous agent actions before they execute.
Instructions
Evaluate action risk before an autonomous agent mutates the project.
Args: action: Natural-language action description target: Actor, asset, subsystem, file, or feature target operation_type: inspect/read/create/edit/delete/compile/save/build/etc. asset_paths: Optional affected Unreal asset paths destructive: True for deletion, overwrite, reset, or irreversible edits requires_compile: True when Blueprint/C++ compile or VM recompile is needed affects_runtime: True when gameplay behavior may change touches_source: True when C++/Python/plugin source files are involved estimated_scope: single_asset, multi_asset, folder, level, or project_wide mitigations: Existing safeguards such as checkpoint, journal, dry-run, tests
Returns: JSON string with risk level, score, recommended gate, reasons, and checklist.
KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: risk_evaluate_action(action="Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| target | No | ||
| asset_paths | No | ||
| destructive | No | ||
| mitigations | No | ||
| operation_type | No | unknown | |
| touches_source | No | ||
| affects_runtime | No | ||
| estimated_scope | No | single_asset | |
| requires_compile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |