policy_trace
Edition: community ragraf_policy_trace
Tracing decisions about permissions (U6)
Parameters
| Name | Type | Default |
|---|---|---|
| symbol | str | required |
| action | str | None | None |
| depth | int | 3 |
| limit | int | 300 |
| min_confidence | float | None | None |
Call example
ragraf -p config/ragraf.yaml query policy_trace <symbol>
Angle brackets mark a required parameter; defaults may be omitted.
What it returns
action_filter, allows, body_read, callers, default_behavior, denies, lines, path, symbol
When it refuses
An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.