-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
35 lines (35 loc) · 2.6 KB
/
Copy pathopencode.json
File metadata and controls
35 lines (35 loc) · 2.6 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
{
"$schema": "https://opencode.ai/config.json",
"instructions": [
"This configuration provides reusable OpenCode agents for autonomous feature development.",
"Use /feature <description> to start the full policy-constrained workflow.",
"For /feature and /loop work, the orchestrator proposes each next action to the orchestration_policy custom tool.",
"The orchestration model owns planning, decomposition, semantic risk assessment, validation strategy, replanning, and user communication.",
"The deterministic kernel owns approval records, stable task identity, budgets, permits, risk minimums, staged-candidate identity, and irreversible action authorization.",
"Use agent_loop only with a matching one-time policyPermit returned by orchestration_policy.",
"Use orchestration_commit for the final local commit; direct git commit is prohibited for the orchestrator.",
"Never use the built-in task tool for feature delegation because it bypasses policy, routing, failover, and budget enforcement.",
"Create one stable taskId per request and reuse it for policy, baseline, smoke, build, test, review, fix, escalation, and failover calls.",
"Treat BUDGET_EXCEEDED and terminal policy denials as final: stop delegated work and do not create a new task ID to bypass the limit.",
"On POLICY_NEEDS_EVIDENCE, gather or record concrete evidence, replan, ask the user, or select another legitimate action; never fabricate evidence.",
"The kernel may elevate the orchestrator's proposed risk level but must not lower it.",
"The delegated-worker budget does not include the parent orchestrator model's own conversation usage.",
"Do not edit .env, .env.*, credentials, secrets, tokens, or production data.",
"Do not push, merge, rewrite history, install dependencies, or run destructive shell commands.",
"Never print credentials, secrets, tokens, API keys, or private keys.",
"Agents should read the project's AGENTS.md for project-specific rules and commands.",
"Free-first routing and budget policy are configured in config/free-first-config.json.",
"Hybrid orchestration policy is configured in config/orchestration-policy.json.",
"Model capability and pricing metadata are in config/model-registry.json.",
"Role-based model pools are in config/free-first-pools.json.",
"Ollama is excluded from primary orchestration and final security review.",
"Ollama failure must not trigger paid fallback while suitable free cloud models remain."
],
"default_agent": "orchestrator",
"plugin": [
".opencode/plugins/agent-loop.js"
],
"permission": {
"webfetch": "allow"
}
}