Proposed structure · Stress-tested against open source · Pat review draft
mkdir agents/<name>/ + SOUL.md + CLAUDE.md.
projects/. Single-agent internal work → agents/<name>/projects/. Every project has a README.md with owner + participants.
CLAUDE.md (neutral agent router — NOT agent-specific), README.md (human onboarding), .gitignore, .obsidian/
agents/shogun/ read-writegovernance/ readknowledge/ read (via API)projects/ read-writeops/ read-writeagents/*/ read (other agents)ops/staging/ daily triagememory/captures/agents/forge/ read-writegovernance/ read + proposeknowledge/ readprojects/ read-writeops/ read-write (infra owner)agents/*/ read (architecture review)ops/scripts/ and log rotationagents/forge/architecture/agents/sentinel/ read-writegovernance/ read (audit source)ops/logs/ read (audit target)agents/*/ read (compliance check)ops/logs/governance/ read-write (governance authority)knowledge/ readprojects/ read-writeeverything/ full accessops/staging/from-pat/ (file drops)engine.tail…/briefs/mkdir agents/<name>/SOUL.md (identity + principles)CLAUDE.md (workspace orientation)memory/, skills/, projects/governance/ roster if permanent| If the file is… | It goes in… | Example | Who writes it |
|---|---|---|---|
| A rule, policy, or system-wide decision | governance/ | New system lesson, architecture decision | APEX + Pat approval |
| About a person, company, or meeting | knowledge/ | CRM contact, transcript, org profile | Network SME, Librarian, ingestion pipelines |
| An agent's identity, memory, or skills | agents/<name>/ | SOUL.md, daily log, lessons.md | The agent itself |
| Work involving 2+ agents or owned by Pat | projects/<name>/ | Orcrist capture plan, this architecture project | Owning agent (Shogun coordinates) |
| Work involving only one agent | agents/<name>/projects/ | Forge's log rotation project | That agent |
| Inter-agent communication | ops/mailbox/ | Request from Shogun to Forge | Sending agent (via mailbox_send.sh) |
| Generated output for Pat (brief, report) | ops/briefs/ | Morning brief HTML, dashboard | Shogun (briefs), any agent (reports) |
| Inbound file needing triage | ops/staging/ | Email attachment, web download, Pat file drop | Ingestion pipeline → Shogun triages |
| A log, metric, or operational artifact | ops/logs/ | Sentinel checkpoint, forge-watcher log | The generating agent/service |
| Completed/retired content | archive/ | Old vault structure, retired agent | Any agent (date-prefix required) |
| A script or automation | ops/scripts/ | mailbox_send.sh, sentinel_alert.sh | Forge |
| Conflict Type | Resolution |
|---|---|
| Same file exists in 2+ locations | Determine authoritative copy per SOR matrix. Keep authority copy, delete others. If both have unique content → merge into authority copy, archive the other. |
| Agent doc vs governance doc disagree | governance/ wins. Agent doc must be updated to align. |
| Two agents claim ownership of same project | Move to projects/ (cross-agent). Assign one owner in README.md. |
| Stale file (>90 days, no references) | Move to archive/ with date prefix. Keep git history. |
| File doesn't fit any category | ops/staging/ → Shogun triages during next daily pass. |
| Current Path | Future Path | Notes | |
|---|---|---|---|
System_OS/ |
→ | governance/ |
Rename only. All contents preserved. |
System_Context/ |
→ | knowledge/ |
Rename only. ~475MB. |
Shogun_OS/ |
→ | agents/shogun/ |
Nested under agents/. |
Forge_OS/ |
→ | agents/forge/ |
Nested under agents/. |
mailbox/ |
→ | ops/mailbox/ |
Grouped with ops infra. |
briefs/ |
→ | ops/briefs/ |
Grouped with ops infra. |
logs/ |
→ | ops/logs/ |
Grouped with ops infra. |
openclaw-memory/ |
→ | ops/openclaw-memory/ |
OpenClaw internal state. |
archive/ |
→ | archive/ |
No change — already correct. |
— |
+ | projects/ |
New. Cross-agent work. |
— |
+ | ops/staging/ |
New. Replaces Dropbox staging. |
Shogun_OS/CLAUDE.md |
✕ | agents/shogun/CLAUDE.md |
⚠️ Rewrite — currently says "Forge"! |
CLAUDE.md (root) |
✎ | CLAUDE.md (root) |
⚠️ Rewrite — neutral router, not Forge-specific. |