Repository navigation
Expand file tree
/
Copy pathopencode.json
More file actions
92 lines (92 loc) · 2.92 KB
/
Copy pathopencode.json
File metadata and controls
92 lines (92 loc) · 2.92 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
{
"$schema": "https://opencode.ai/config.json",
"model": "ollama-cloud/gpt-oss:20b",
"small_model": "ollama-cloud/gpt-oss:20b",
"default_agent": "lead",
"instructions": [
"AGENTS.md",
"Framework.md",
"V1_{{PROJECT}}.md"
],
"skills": {
"paths": [
".opencode/skills"
]
},
"references": {
"best-practice": {
"repository": "shanraisshan/claude-code-best-practice",
"branch": "main",
"description": "Agent-structure / orchestration patterns (Command->Agent->Skill, memory, hooks, settings). Consult when designing or restructuring agents."
}
},
"permission": {
"edit": "allow",
"bash": {
"git *": "allow",
"npm *": "allow",
"npx *": "allow",
"pnpm *": "allow",
"node *": "allow",
"expo *": "allow",
"*": "ask"
},
"external_directory": {
"{{PROJECT_DIR}}/**": "allow",
"*": "ask"
}
},
"agent": {
"lead": {
"description": "Product & Architecture Orchestrator. Gatekeeps the V1 MoSCoW scope and rejects {{REJECT_LIST}}.",
"mode": "primary",
"model": "ollama-cloud/glm-5.2",
"temperature": 0.2
},
"mobile": {
"description": "Mobile Frontend Specialist. Builds the Expo React Native app and the V1 surfaces. Structural/visual changes route through the design agent.",
"mode": "subagent",
"model": "ollama-cloud/kimi-k2.7-code"
},
"design": {
"description": "Motion & Design-System Specialist. Owns the design-system migration (VISION.md) via the genjutsu skill — /genjutsu:cast for incremental polish, /genjutsu:paint for full design system. The only agent permitted to edit client screen visuals.",
"mode": "subagent",
"model": "ollama-cloud/kimi-k2.7-code"
},
"backend": {
"description": "Backend Engineer. Owns the InsForge backend (Postgres + edge functions). Must preserve the client contract ({{FROZEN_CONTRACT}}).",
"mode": "subagent",
"model": "ollama-cloud/deepseek-v4-pro"
},
"content": {
"description": "Content & Data Synthesizer. Synthesizes the structured content/templates (3-5 step workflows, phrase/entry lists) the backend serves.",
"mode": "subagent",
"model": "ollama-cloud/deepseek-v4-pro",
"permission": {
"edit": "allow",
"bash": "ask"
}
},
"qa": {
"description": "Edge-Case & QA Guard. Generates Cypress E2E tests targeting the Problem Cases from V1 + Maestro RN flows.",
"mode": "subagent",
"model": "ollama-cloud/nemotron-3-super"
}
},
"mcp": {
"ruflo": {
"type": "local",
"command": ["npx", "ruflo@latest", "mcp", "start"]
},
"insforge": {
"type": "remote",
"url": "https://mcp.insforge.dev/mcp",
"enabled": true
},
"graphify": {
"type": "local",
"command": ["{{PROJECT_DIR}}/.local/bin/graphify-mcp", "graphify-out/graph.json"],
"enabled": true
}
}
}