-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpolicy.example.json
More file actions
104 lines (104 loc) · 2.08 KB
/
Copy pathpolicy.example.json
File metadata and controls
104 lines (104 loc) · 2.08 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"source": {
"from": [
"notifications@github.com",
"giscebot@gisce.net"
],
"requiredAuth": [
"spf=pass",
"dkim=pass",
"dmarc=pass"
],
"requiredUrlPrefix": "https://github.com/",
"messageIdDomain": "github.com"
},
"trustedRepos": [],
"botLogins": [
"pilipilisbot"
],
"trustedOrgs": [
"your-org"
],
"enabledRepos": [
"your-org/your-repo"
],
"repoRoutes": {},
"orgRoutes": {
"your-org": {
"agent": "your-openclaw-agent",
"channel": "telegram",
"to": "YOUR_CHAT_ID"
}
},
"actions": {
"auto": [
"archive_notification",
"react_eyes"
],
"ask": [],
"trustedAuto": [
"reply_comment",
"open_issue",
"submit_review",
"sync_after_merge",
"workflow_run_failed",
"docs_update",
"content_change"
],
"deny": [
"merge_main",
"org_permissions_change",
"manage_secrets",
"delete_remote_repo_or_branch"
]
},
"repoRoles": {
"your-org/your-repo": "maintainer"
},
"orgRoles": {
"your-org": "contributor"
},
"modelRoutes": {
"default": {},
"byIntent": {
"review_only": {
"model": "gpt-5.4-mini",
"thinking": "medium"
}
},
"byAction": {
"sync_after_merge": {
"model": "gpt-5.4-mini",
"thinking": "low"
},
"workflow_run_failed": {
"model": "gpt-5.4-mini",
"thinking": "medium"
},
"archive_notification": {
"model": "gpt-5.4-mini",
"thinking": "minimal"
}
},
"byRepo": {}
},
"feedbackLearning": {
"enabled": true,
"minConfidence": 0.5,
"autoApproveConfidence": 0.8,
"maxEventsPerRun": 10,
"model": "gpt-5.4-mini",
"thinking": "low",
"sessionId": "github-agent-bridge-feedback"
},
"intentClassifier": {
"enabled": false,
"model": "gpt-5.4-mini",
"thinking": "low",
"minConfidence": 0.75,
"onlyWhenParserDefaulted": true,
"openclawBin": "openclaw",
"sessionId": "github-agent-bridge-intent",
"timeout": 60
}
}