-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathopencode.json
More file actions
121 lines (121 loc) · 5.57 KB
/
Copy pathopencode.json
File metadata and controls
121 lines (121 loc) · 5.57 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"$schema": "https://opencode.ai/config.json",
"instructions": [
"AGENTS.md",
"node_modules/@daochild/agents-config/AGENTS.md",
"node_modules/@daochild/agents-config/.opencode/AGENTS.md",
"node_modules/@daochild/agents-config/.claude/rules/programming-best-practices.md",
"node_modules/@daochild/agents-config/.agents/rules/sdlc-gates.md"
],
"skills": {
"paths": [
".agents/skills",
"node_modules/@daochild/agents-config/.opencode/skill",
"node_modules/@daochild/agents-config/.agents/skills"
]
},
"agent": {
"sdlc-orchestrator": {
"description": "Orchestrates the AI-driven SDLC by routing a product requirement through the BMad-style role subagents (analyst -> pm -> architect -> sm -> dev -> qa -> security -> reviewer -> auditor). Use as the single entry point for any feature/change that touches multiple modules or is medium/high risk.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-orchestrator.md}"
},
"sdlc-analyst": {
"description": "Requirements analyst for the AI-driven SDLC. Translates a raw product idea or change request into a market/context analysis and confirms the requirement is well-formed. First role in the BMad-style chain.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-analyst.md}"
},
"sdlc-pm": {
"description": "Product Manager for the AI-driven SDLC. Turns the analyst's output into a PRD with acceptance criteria and edge cases. Completes the Requirement Gate.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-pm.md}"
},
"sdlc-architect": {
"description": "Architect for the AI-driven SDLC. Analyzes existing architecture, identifies impacted modules and dependencies, proposes a solution, and creates/updates the ADR. Owns the Architecture Gate.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-architect.md}"
},
"sdlc-sm": {
"description": "Scrum Master / planner for the AI-driven SDLC. Breaks the architecture into implementable stories, classifies each story's risk, and assigns an AI autonomy cap. Completes the Architecture Gate and seeds traceability.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-sm.md}"
},
"sdlc-dev": {
"description": "Developer for the AI-driven SDLC. Implements stories following project patterns, documents AI assumptions, and stays in scope. Owns the Implementation Gate.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-dev.md}"
},
"sdlc-qa": {
"description": "QA engineer for the AI-driven SDLC. Designs the test plan, writes unit/integration/regression/edge-case tests, and runs the existing suite. Owns the Testing Gate. Uses the senior-qa skill for methodology.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-qa.md}"
},
"sdlc-security": {
"description": "Security reviewer for the AI-driven SDLC. Runs SAST, dependency and secrets scanning, and a security-focused AI review; validates authN/Z where applicable. Owns the Security Gate. Uses domain-specific senior-*-auditor skills when relevant.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-security.md}"
},
"sdlc-reviewer": {
"description": "Code reviewer for the AI-driven SDLC. Performs the AI technical code review and aggregates the human engineering review. Owns the Code Review Gate.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-reviewer.md}"
},
"sdlc-auditor": {
"description": "Auditor for the AI-driven SDLC. Verifies the Definition of Done across all prior gates, confirms traceability, and produces the final audit artifact. Owns the DoD Gate. Must be a different agent from those who produced the work.",
"mode": "subagent",
"prompt": "{file:./node_modules/@daochild/agents-config/.opencode/agent/sdlc-auditor.md}"
}
},
"permission": {
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow",
"~/.aifinpay/*": "deny",
"$HOME/.aifinpay/*": "deny"
},
"edit": {
"*": "ask",
"*.generated.ts": "deny",
"package-lock.json": "deny",
"~/.aifinpay/*": "deny",
"$HOME/.aifinpay/*": "deny"
},
"bash": {
"*": "allow",
"rm -rf *": "deny",
"sudo *": "deny",
"npm install *": "deny",
"npm publish *": "ask",
"git push *": "ask",
"git push --force*": "deny",
"git push * --force*": "deny",
"git push -f*": "deny",
"git push * -f*": "deny",
"git push --force-with-lease*": "ask",
"git push * --force-with-lease*": "ask",
"git reset --hard*": "ask",
"git clean -f*": "ask",
"git checkout -- *": "ask",
"git checkout .": "ask",
"git restore *": "ask",
"git stash drop*": "ask",
"git stash clear*": "ask",
"git branch -D *": "ask",
"git rebase*": "ask",
"git commit --amend*": "ask",
"git filter-branch*": "deny",
"git filter-repo*": "deny",
"git revert *": "allow"
},
"skill": {
"*": "ask",
"yagni-principle": "allow",
"grill-me": "allow"
},
"external_directory": {
"~/.aifinpay/*": "deny"
}
}
}