🤖 DSOM Multi-Agent Protocols (v6.1)
Entry Point 6: This document serves as the Subagent Swarm Entry Point. See START-HERE.md for the master onboarding roadmap.
"One Mind, Many Hands." - The DSOM Philosophy for Multi-Agent Collaboration.
1. 🏛️ The Agent Taxonomy
To maintain Sovereign Context, we categorize external AI agents into two valid tiers. Any agent not fitting these tiers is considered "Unverified" and must not write to the repository without explicit Human Audit.
Tier 1: The Co-Pilots (IDE Embedded)
These agents live inside the editor and have direct access to the active file buffer.
- Examples: GitHub Copilot, Google Antigravity, Cursor, Windsurf, Tabnine, Replit AI.
- Access Level:
Read/Write(Buffer only). - Context Source:
.cursorrules,.windsurfrules, or System Prompt injection.
Tier 2: The Autonomous Workers (Agentic Frameworks)
These agents operate independently, often tasked with entire feature implementations.
- Examples: Devin, AutoGen (Microsoft), CrewAI, Flatlogic.
- Access Level:
Read/Write(FileSystem). - Context Source:
sod_manifest_YYYY-MM-DD.txt(Must be explicitly fed the Start-of-Day manifest, which includes Section [14] Palace Registry).
2. 🔌 The Universal Injection Method (UIM)
Regardless of the agent, the DSOM Laws must be injected before the first prompt.
For Tier 1 (IDEs)
Create/Update the specific rule file (e.g., .cursorrules) in the root directory with this pointer:
# .cursorrules / .windsurfrules
YOU ARE A DSOM-COMPLIANT AGENT.
BEFORE ANSWERING, READ: docs/AI-MASTER-PROTOCOL.md
FOLLOW: docs/PERSONALIZATION.md
CRITICAL: DO NOT CREATE GLOBAL VARIABLES. ADHERE TO CLEAN ARCHITECTURE.
For Tier 2 (Autonomous)
You must perform the Handshake Ritual manually or via their API config:
- Ingest: Upload
sod_manifest_YYYY-MM-DD.txt(Generated byreanimate.shorbash tools/sod-palace.sh # (Windows: .\tools\sod-palace.ps1)). - Palace Walk: The agent must read
palace_registry.md(Section [14] of the manifest) and identify relevant Rooms before writing any code. - Prompt: "I am initialising the DSOM Protocol v6.1 + Palace v1.0. Acknowledge the architecture in the manifest. Walk the Palace Registry and identify the relevant Rooms for today's task. State 'Sovereign State Synchronised' when ready."
3. 🛡️ Agent-Specific Configuration Registry
A. Cursor & Windsurf (The Forked VS Codes)
These are the most DSOM-native compatible due to their "Context Awareness" features.
- Config File:
.cursorrules/.windsurfrules - Strategy: Point them to
@docs/AI-MASTER-PROTOCOL.mdand@docs/OPERATIONAL-GUIDE.md. - Templates:
- Cursor Template
- Windsurf Template
B. GitHub Copilot
- Config File:
.github/copilot-instructions.md(If supported) or top-of-file comments. - Strategy: Use the
// DSOM: [Instruction]comment syntax. - Template: Copilot Instructions
C. CrewAI & AutoGen
- Config File:
config/agents.yamlorscenarios.json. - Strategy: The "Role" definition must include: "You are a DSOM-Compliant engineer. Your memory is persisted in .agents/brain/."
- Template: Autonomous Manifest
D. Devin / Replit Agent
- Config File: Project Custom instructions /
.replit. - Strategy: Add the "Architectural Mantra" (from Personalization Block 6) to the environment's system prompt.
- Template: Autonomous Manifest
4. The "Zero-Hallucination" Rule for Agents
If an agent cannot read docs/AI-MASTER-PROTOCOL.md, it is forbidden from refactoring Architectural Layers (src/Domain, src/Application). It may only work on tools/ or tests/.
5. Palace Requirement for Agents (v1.0)
Any agent performing advisory, architectural, or code-generation tasks MUST also read palace_registry.md before starting. This ensures the agent knows:
- Which Wing and Rooms are relevant to the current task
- What prior decisions were made in those Rooms (via
closet.md) - Which discoveries are flagged as critical in
room_uncategorised/closet.md
If the Palace Registry is missing, the agent must flag this and request that the human run:
bash tools/palace-sync.sh --backfill
Last Updated: 2026-04-08 | Standard: DSOM For My AI Protocol v6.1 + Palace v1.0
Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-07-04 Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0