From b60920df05e1f10be85cff2ff227291cac213458 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Tue, 24 Mar 2026 21:57:19 -0400 Subject: [PATCH] Add opencode.json to every agent directory Every agent must have opencode.json with permission: allow, regardless of adapter type. Without it, opencode auto-rejects file access outside the agent's cwd. Co-Authored-By: Claude Opus 4.6 (1M context) --- COMPANY.md | 11 ++++++----- ceo/opencode.json | 7 +++++++ cto/opencode.json | 7 +++++++ engineering/regina/opencode.json | 7 +++++++ marketing/samuel/opencode.json | 7 +++++++ product/opencode.json | 7 +++++++ 6 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 ceo/opencode.json create mode 100644 cto/opencode.json create mode 100644 engineering/regina/opencode.json create mode 100644 marketing/samuel/opencode.json create mode 100644 product/opencode.json diff --git a/COMPANY.md b/COMPANY.md index 4995d74..f299282 100644 --- a/COMPANY.md +++ b/COMPANY.md @@ -23,15 +23,16 @@ This directory contains basic company information and the canonical definitions ## Directory Structure ``` -ceo/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md -cto/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md +ceo/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json +cto/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json cmo/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json -product/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md .mcp.json +product/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json .mcp.json engineering/ - gandalf/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md + gandalf/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json hugh/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json patty/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json - regina/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md + regina/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json + samuel/ AGENTS.md SOUL.md HEARTBEAT.md CONFIG.md opencode.json ``` ## Known Issues / Operational Notes diff --git a/ceo/opencode.json b/ceo/opencode.json new file mode 100644 index 0000000..2539f7d --- /dev/null +++ b/ceo/opencode.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://opencode.ai/config.json", + "permission": "allow", + "experimental": { + "snapshots": false + } +} diff --git a/cto/opencode.json b/cto/opencode.json new file mode 100644 index 0000000..2539f7d --- /dev/null +++ b/cto/opencode.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://opencode.ai/config.json", + "permission": "allow", + "experimental": { + "snapshots": false + } +} diff --git a/engineering/regina/opencode.json b/engineering/regina/opencode.json new file mode 100644 index 0000000..2539f7d --- /dev/null +++ b/engineering/regina/opencode.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://opencode.ai/config.json", + "permission": "allow", + "experimental": { + "snapshots": false + } +} diff --git a/marketing/samuel/opencode.json b/marketing/samuel/opencode.json new file mode 100644 index 0000000..2539f7d --- /dev/null +++ b/marketing/samuel/opencode.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://opencode.ai/config.json", + "permission": "allow", + "experimental": { + "snapshots": false + } +} diff --git a/product/opencode.json b/product/opencode.json new file mode 100644 index 0000000..2539f7d --- /dev/null +++ b/product/opencode.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://opencode.ai/config.json", + "permission": "allow", + "experimental": { + "snapshots": false + } +}