π docs/HUB-AND-SPOKE-MODEL.md (v2.0)
ποΈ The Hub-and-Spoke Collaboration Model
βFederated Intelligence. Centralised Strategy. Zero Conflict.β
1. Executive Overview
To enable multiple architects and developers to work within a single sovereign repository without triggering Git merge conflicts or βContext Leakage,β the DSOM Protocol employs the Hub-and-Spoke model. Theglobal/ directory serves as the Hub (Strategic High-level Vision), while the member/ directories serve as the Spokes (Tactical Individual Execution).
2. ποΈ Detailed Brain Structure Display
The.agents/brain/ directory is partitioned to ensure absolute isolation between technical roles and project management.
3. π€ The 3 Golden Rules (Workflow)
To ensure a smooth collaboration, all team members MUST adhere to these laws:Rule 1: Isolation (Conflict Prevention)
Members only edit files inside their own named folder (e.g.,member/hisham/*). Because Git tracks changes by file path, multiple members can commit simultaneously without merge conflicts.
Rule 2: The Daily Branch Ritual
Every member uses thetools/git-ritual.sh script to maintain Atomic Git Hygiene.
- Start of Day (SOD): Run
./tools/git-ritual.sh sod <username>. This creates a semantic personal branch (e.g.,member/hisham-20260127).- Lead Architect (T2): Also run
bash tools/sod-palace.sh # (Windows: .\tools\sod-palace.ps1)to pull, audit, and load the Palace Registry before starting.
- Lead Architect (T2): Also run
- Active Work: Commit all technical progress and brain updates specifically to this branch.
- End of Day (EOD): Run
./tools/git-ritual.sh eod. This merges the dayβs work intomainand pushes it to the sovereign repository.- Lead Architect (T2): Also run
bash tools/eod-palace.sh # (Windows: .\tools\eod-palace.ps1)to validate, palace-sync, and commit Palace updates atomically.
- Lead Architect (T2): Also run
Rule 3: The Synchronisation (Lead Architect Role)
As the Lead Architect, Haris periodically audits themember/*/walkthrough.md files.
- Summarise: Progress is pulled from Spokes into the
global/task-master.md. - Archive: Major technical milestones are recorded in the
HISTORY.mdLedger. - Coordinate: Use the
task-master.mdas the agenda for team sync meetings. - Palace Sync: Review the
palace_update_proposal_YYYY-MM-DD.mdgenerated byeod-palace.ymland update relevant closets inwings/to keep the spatial knowledge current.
4. π» Operational Commands
Visualise the Full State
To see the expanded tree including all member brains:Discovery (Post-Absence)
If returning after time away, check for team updates before starting work:walkthrough.md of other members to catch up on logic changes.
Author: Harisfazillah Jamel | Lead Architect Standard: UK English & DBP-Malay (Piawai) Protocol Version: DSOM v6.1 + Palace v1.0
π§ Pedagogical Logic: Why this format?
- Separation of Concerns: By including Hadi (Coordination) as a Spoke, we acknowledge that project management is as critical to the βBrainβ as technical code. This follows the ITIL 4 Service Value Chain.
- Operational Sovereignty: The 3 Golden Rules ensure that the project is not dependent on any one personβs memory; the repository is the memory.
- LDP Compliance: The clear structure and command examples follow the Linux Documentation Project standards for technical manuals.
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