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
name: Tangled Open Policy
description: >
Open admission — no restriction on who may bid or fulfill. Evaluates the open policy via deno-typescript-shared and
memoizes the verdict in the policy engine's JSON-object cache.
inputs:
self-did:
description: DID running this evaluation (the evaluator's own DID)
required: true
rfp:
description: 'JSON RFP record {uri,cid,value?} present at this stage'
default: ""
bid:
description: 'JSON bid record {uri,cid,value?} present at this stage'
default: ""
accept:
description: 'JSON accept record {uri,cid,value?} present at this stage'
default: ""
policy-args:
description: JSON policy arguments
default: ""
cache-key:
description: Explicit cache key override
default: ""
mode:
description: 'Policy lane: full (records + work) or scope (trust-only hot path / checkScope)'
default: "full"
counterparty-did:
description: DID of the other side (required in scope mode)
default: ""
outputs:
allow:
description: Policy verdict (true/false)
violations:
description: JSON array of policy violations
cache-key:
description: Cache key the verdict is memoized under
runs:
using: node20
main: dist/index.js