Skip to content
RAGRAF

ragraf_policy_trace

Edition: community Capability: schema Operation page: policy_trace

What it does

Tracing decisions about permissions (U6)

What problem it solves

Checks permissions before the change: which action is allowed by default and which is not.

How to call it

ragraf_policy_trace(symbol=…)
ragraf -p config/ragraf.yaml query policy_trace <symbol>

The ellipsis stands for a value the agent supplies; optional parameters can be omitted.

Parameters

Name Type Default
symbolstrrequired
actionstr | NoneNone
depthint3
limitint300
min_confidencefloat | NoneNone

What it returns

action_filter, allows, body_read, callers, default_behavior, denies, lines, path, symbol