How do I list every operation a files:write key may call?
Filter the contract by access class and scope:
curl -s https://app.usetalewright.com/v1/openapi.json | jq -r '
.paths | to_entries[] | .key as $path | .value | to_entries[]
| select(.value["x-access"].class == "delegated")
| select(.value["x-access"].scope | IN("any", "files:read", "files:write"))
| "\(.key | ascii_upcase) \($path) \(.value["x-capability"])"'