1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
use ;
/// Authorization decision result
///
/// Returned by policy evaluation methods to indicate whether
/// an action is allowed and why.
/// Authorization decision with metadata (simplified - no cryptographic proofs in open-core)
///
/// Note: Cryptographic Merkle proofs are a commercial feature available in p47h-pro.
/// This open-core version only provides basic authorization decisions.
/// Policy validation diagnostic result
///
/// Returned by `validate_policy_detailed` to provide structured error information
/// including line and column numbers for precise error reporting in code editors.
///
/// This enables IDE integrations (like VS Code) to highlight exact error locations
/// in policy TOML files, improving developer experience.