Files
fidelity-ai-workspace/opencode.json

83 lines
2.2 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"default_agent": "fidelity",
"share": "manual",
"snapshot": false,
"watcher": {
"ignore": [
".git/**",
"archives/**",
".opencode/node_modules/**",
"scripts/*/generated/**",
"project-knowledge/attachments/**"
]
},
"mcp": {
"obsidian": {
"type": "local",
"command": ["/opt/homebrew/bin/uvx", "mcp-obsidian"],
"enabled": true,
"timeout": 15000,
"environment": {
"OBSIDIAN_API_KEY": "{env:OBSIDIAN_API_KEY}",
"OBSIDIAN_HOST": "127.0.0.1",
"OBSIDIAN_PORT": "27124"
}
}
},
"permission": {
"*": "ask",
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow"
},
"edit": {
"*": "allow",
".git/*": "deny"
},
"glob": "allow",
"grep": "allow",
"list": "allow",
"lsp": "allow",
"task": "allow",
"question": "allow",
"skill": "allow",
"todoread": "allow",
"todowrite": "allow",
"bash": {
"*": "allow",
"rm *": "deny",
"sudo *": "deny",
"git reset *": "deny",
"git clean *": "deny",
"git push *": "deny",
"git commit *": "ask",
"git checkout *": "ask"
},
"webfetch": "ask",
"websearch": "ask",
"codesearch": "ask",
"external_directory": "ask",
"doom_loop": "ask"
},
"instructions": [
"./profiles/fidelity/profile.md",
"./agent-memory/behavior/agent-behavior.md",
"./agent-memory/behavior/learning-sessions.md",
"./agent-memory/memory/promotion-rules.md",
"./agent-memory/integrations/technical-verification.md",
"./agent-memory/workflows/ai-to-ai-prompting.md",
"./project-knowledge/00-start/start-here.md",
"./project-knowledge/01-current/current-work.md",
"./project-knowledge/01-current/work-items.md",
"./project-knowledge/03-context/project.md",
"./project-knowledge/03-context/process/communication.md",
"./project-knowledge/03-context/ios/index.md",
"./project-knowledge/03-context/ios/project-swift-guidance.md",
"./project-knowledge/04-people/manager.md",
"./project-knowledge/04-people/index.md"
]
}