-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgithub-handoff.json
More file actions
74 lines (74 loc) · 2.15 KB
/
Copy pathgithub-handoff.json
File metadata and controls
74 lines (74 loc) · 2.15 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
{
"version": "0.2.3",
"mode": "audit-only",
"parserPolicy": {
"inspectEverySegment": true,
"inspectScriptBodies": true,
"rejectUnknownExecutables": true,
"rejectShellWrappers": true,
"rejectHeredocs": true,
"rejectRedirection": true,
"providerSpecificNpx": true,
"authenticatedCurlRequiresApproval": true,
"boundedReadsRequired": true,
"allowedComposition": "read-only"
},
"allowedFamilies": [
{
"name": "local-git-handoff-inspection",
"executables": ["git"],
"argumentPolicy": {
"strategy": "exact",
"allowedPatterns": [
"status --short --branch",
"rev-parse --show-toplevel",
"rev-parse --abbrev-ref HEAD",
"rev-parse HEAD",
"log -1 --format=%s",
"tag --points-at HEAD",
"remote"
],
"deniedPatterns": [
"remote URL printing, commits, pushes, tags, branch changes, pull requests, releases, and GitHub API calls"
]
},
"constraints": [
"Inspect local Git metadata only.",
"Do not print remote URLs.",
"Do not mutate Git state."
]
},
{
"name": "github-handoff-renderer",
"executables": ["node", "coding-agent-skills"],
"argumentPolicy": {
"strategy": "exact",
"allowedPatterns": [
"node scripts/render-github-handoff.mjs <project-root>; coding-agent-skills github-handoff <project-root>"
],
"deniedPatterns": [
"PR creation, release creation, GitHub API mutation, token reads, secret-file reads, commits, pushes, and tags"
]
},
"constraints": [
"The renderer must remain audit-only.",
"Do not read tokens, print remote URLs, create pull requests, commit, push, or tag."
]
}
],
"restrictedCategories": [
"file-write",
"package-install",
"deployment",
"git-mutation",
"unrestricted-scan",
"secret-read",
"process-mutation",
"service-mutation",
"migration-apply",
"privileged-api"
],
"approvalExceptions": [
"No approval exception may turn github-handoff into a GitHub mutation workflow."
]
}