Skip to content

🧠 Deep State of Mind (DSOM) For My AI Protocol

"Make AI work for you β€” not the other way around. Sovereign Intelligence through GitOps, AIOps, and Ansible."

Status Version Palace Licence Author Standard Documentation GitBook Read the Docs

πŸ“– Official Live Documentation: - GitHub Pages: https://linuxmalaysia.github.io/deep-state-of-mind-for-my-ai/ - GitBook: https://malaysia-open-source-community.gitbook.io/deep-state-of-mind-dsom-protocol-for-my-ai - Read the Docs: https://deep-state-of-mind-for-my-ai.readthedocs.io/en/latest/


🎯 What is DSOM?

Deep State of Mind (DSOM) is a metacognitive governance framework that transforms any AI (Gemini, Claude, Copilot, ChatGPT) into a disciplined Cognitive Digital Twin β€” an AI agent that thinks and operates like your Senior Systems Architect.

It solves three critical AI problems:

Problem DSOM Solution
Context Decay β€” AI forgets everything after each session .agents/brain/ artifacts persist the project state permanently
Vendor Lock-in β€” Moving between AI tools loses all context All knowledge lives in your Git repo, not inside the AI
Uncontrolled Execution β€” AI runs commands you didn't approve Advisory Mode + GitOps + Ansible enforce human-approval-first

πŸ›οΈ The Three Pillars (v6.1)

Every project built on this skeleton operates under three non-negotiable pillars:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                DSOM OPERATING MODEL                 β”‚
β”‚                                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚  AIOps   │──▢│  GitOps  │──▢│  The Executor   β”‚ β”‚
β”‚  β”‚  (Mind)  β”‚   β”‚ (Record) β”‚   β”‚     (Hand)      β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚       β”‚               β”‚                 β”‚           β”‚
β”‚  AI proposes    Git records     Executor runs       β”‚
β”‚  & analyses     all state       on target nodes     β”‚
β”‚       β–²               β”‚                 β”‚           β”‚
β”‚       └───────────────┴─── AI verifies β”€β”˜           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The core loop:

AI Proposes β†’ Git Records β†’ Executor Runs β†’ AI Verifies

The Three Hard Rules

  1. AI never runs commands directly on remote nodes. It writes execution scripts/playbooks. You run them.
  2. No manual edits to production servers. If it's not committed to Git, it doesn't exist.
  3. Every execution is idempotent. Safe to re-run at any time.

πŸ”Œ Execution Modularity & The Windows WSL2 Bridge

While Ansible is the default Executor for infrastructure projects, the Third Pillar is fully modular based on your project domain: - Infrastructure: ansible-playbook - Data Science / Python: uv run - Web Development: npm run / node - Documentation: pandoc / latex

The Ansible Legacy: While the Executor is modular, DSOM is fundamentally rooted in IT Operations. Ansible is woven into the DNA of this framework. The governance ledgers (such as GITOPS-AIOPS-ANSIBLE-STRATEGY.md) intentionally retain Ansible as their namesake because it represents the ultimate standard of idempotency, declarative state, and absolute control. Even when executing uv or node, the Third Pillar operates entirely on the philosophical foundation of Ansible.

The Windows WSL2 Bridge: For projects running purely on Windows 11 without a dedicated Linux jumphost, WSL2 (Ubuntu/AlmaLinux) must be configured as your local Control Node. This "Execution Bridge" ensures humans and AI agents can seamlessly leverage standard Linux tooling (Ansible, Make, Bash) natively within the Windows environment without architectural friction.


πŸ€– Agent Registry & The Dual AGENTS.md Architecture

DSOM maintains two synchronised AGENTS.md files to serve both project-aware AI agents and external platform agents (e.g., Google Jules, Cursor, GitHub Copilot) that scan repository roots by default.

File Role
AGENTS.md Root Gateway β€” discovered by Jules, Copilot, and other agents that scan the repo root. Summarises DSOM and redirects to the full rulebook.
.agents/AGENTS.md Full Sovereign Rulebook β€” the Cognitive Entry Point containing all 22+ laws, persona profile, boot sequence, and discovery protocols.

Tip: Keep both AGENTS.md files synchronised. The root gateway is the first read; the .agents/AGENTS.md is the complete read. This dual-file pattern ensures DSOM governance is immediately discoverable by any AI tool without requiring custom configuration.


πŸš€ Quick Start: Using This as Your Project Template

Prerequisites

Tool Purpose Min Version
git Version control (GitOps backbone) 2.30+
bash or PowerShell Running tools Any
ansible OS-level automation (infra projects) 2.15+
Any AI Your Cognitive Twin Any

Step 1 β€” Clone and Reset

πŸ—οΈ Scaffolding a New Project? If you are migrating the highly customised AI skills and Sovereign Engine from this repo to a brand new one, you MUST follow the DSOM Project Cloning Guide first to ensure no cognitive capabilities are lost.

# Clone the DSOM skeleton
git clone https://github.com/linuxmalaysia/deep-state-of-mind-for-my-ai.git my-new-project
cd my-new-project

# Reset for your new project (clears old Git history and brain files)
bash tools/template-reset.sh

Step 2 β€” Initialise the Brain

# Linux / WSL2
bash tools/init-brain.sh
chmod +x tools/*.sh

# Windows (PowerShell)
.\tools\init-brain.ps1

This creates your .agents/brain/ directory with:

  • task.md β€” What to do right now
  • walkthrough.md β€” Session history and Mental Anchors
  • implementation_plan.md β€” Project roadmap

Step 3 β€” Fill in Your Project Identity Card ⚠️ CRITICAL

This is the most important step. Open and fill in every [PLACEHOLDER]:

# Open and edit with your project-specific details
nano AI-COGNITIVE-TWIN-PROTOCOL.md

Fill in:

  • [YOUR_PROJECT_NAME] β€” e.g., my-kafka-pipeline
  • [T1] Command Centre path on your Windows/Mac
  • [T2] Dev Bridge path (WSL2/VM)
  • [T3/T4] Production host, user, UID, path
  • Security doctrine β€” who runs as root vs. which UID for apps
  • Mental Anchor Β§8 β€” set to "Fresh project. Phase 1 pending."

⚠️ The AI will NOT operate properly until this file is filled in. audit-pre-flight.sh checks for unfilled placeholders and will warn you.

Step 4 β€” Set Up Ansible Baseline (Infrastructure Projects)

# Follow the full LDP guide
cat HOWTO-SETUP-ANSIBLE-BASELINE.md

# Verify connectivity to your nodes
ansible all -m ping -i inventory/hosts.yml

Step 5 β€” Run the Pre-Flight Audit

# Linux / WSL2
./tools/audit-pre-flight.sh

# Windows (PowerShell)
.\tools\audit-pre-flight.ps1

Everything should show [PASS] or [OK]. Fix any [FAIL] before continuing.

Step 6 β€” Brief Your AI (The Cognitive Handshake)

Generate the context manifest and upload it to your AI:

# Linux / WSL2
bash tools/reanimate.sh

# Windows (PowerShell)
.\tools\reanimate.ps1

Then upload the generated sod_manifest_YYYY-MM-DD.txt to your AI and say:

"Initialise DSOM Protocol. Read the uploaded manifest. Summarise the current Mental Anchor and confirm the 4-Tier environment map from the AI-COGNITIVE-TWIN-PROTOCOL.md section. State: 'Sovereign State Synchronised' when ready."

Your AI is now operational as a Cognitive Digital Twin.


πŸ›οΈ The Sovereign Workspace v2 (OKF + Palace + Skills)

New in v10.0: The DSOM brain has evolved to a spatial memory architecture β€” the Sovereign Markdown Palace. This approach is pioneered by and originated from the MemPalace project (milla-jovovich/mempalace).

What Is the Palace?

The Palace gives your AI organised, fast, spatial recall across months of project history β€” without reading entire session logs. It works as a second layer alongside the existing walkthrough.md (The Drawer).

.agents/brain/
β”œβ”€β”€ palace_registry.md        ← AI reads this at SOD (spatial map)
β”œβ”€β”€ walkthrough.md            ← Linear session log (The Drawer)
└── wings/                    ← Spatial Palace Rooms
    └── wing_dsom_core/
        β”œβ”€β”€ hall_facts/       ← Immutable laws, tools, architecture
        └── hall_events/      ← Milestones, versions, history

Each Room has a closet.md β€” a distilled, high-density knowledge summary the AI reads instead of scanning hundreds of lines.

Open Knowledge Format (OKF) Integration

The DSOM Spatial Memory Palace and Skill Library are standardised on Google Cloud's Open Knowledge Format (OKF v0.1 & v0.2). By using YAML frontmatter metadata and progressive disclosure directory routers (index.md), DSOM achieves a 98%+ token compression ratio, allowing AI agents to query knowledge in ~50 tokens per file instead of reading massive, unformatted code files. Read the full OKF-ADOPTION-GUIDE.md to adopt OKF across your repository.

Palace Quick Start

If you are... Go to...
First-time user or AI agent HOWTO-PALACE-ONBOARDING.md
Adopting OKF in your project OKF-ADOPTION-GUIDE.md
Existing DSOM user upgrading HOWTO-MIGRATE-TO-PALACE.md
Reading how the Palace was built PALACE-BUILD-STORY.md
Full Palace specification DIGITAL-SOVEREIGNTY-OPERATIONAL-MODEL-PALACE.md

🧩 Known Gap: The Reasoning Problem

Research Finding (2026-04-08): DSOM solves state persistence effectively (via the Sovereign Palace) β€” but there is one gap: live reasoning capture.

Six months of daily AI use generates millions of tokens of conversation. Every decision, every debugging session, and every tradeoff debate is often lost when the chat session ends.

⚠️ The gap: DSOM does not automatically capture why decisions were made β€” only what was decided. The reasoning lives in the chat window, not in Git.

The fix (Decision Log Protocol): At key decisions, immediately ask the AI:

"Log this decision to walkthrough.md:
 Decision: [what] | Alternatives rejected: [what and why] | Reason: [why this]"

πŸ“– Full analysis: RESEARCH-REASONING-GAP.md


🎭 Sovereign Persona Injection

A core feature of the DSOM protocol is the ability to make the AI inherently act as your true Cognitive Digital Twin. You can inject your own identity, linguistic DNA, and operational constraints into the AI's core engine.

When you define your Persona Profile, the AI will automatically adopt your tone, your constraints (e.g. "FOSS only", "Ansible-first"), and your exact architectural philosophies across every chat session.

Use Case Guide
Define your AI's Persona agent-configs/SOVEREIGN-PERSONA-TEMPLATE.md

πŸ› οΈ AI Agent Skills & Automation

DSOM enables your Cognitive Twin to autonomously self-heal, scaffold, and execute complex workflows through OKF-compliant AI Agent Skills. We currently host a suite of 17 specialised skills (including dsom-project-cloner, dsom-bootstrap, okf-frontmatter-injector, and persona-injector).

Use Case Guide
View or Create AI Skills AI-AGENT-SKILLS-GUIDE.md

⚑ DSOM Onboarding & Cloning Automation

If you want to integrate the deep-state-of-mind architecture into an entirely new or existing repository, you no longer have to manually copy files. We have engineered robust AI skills (dsom-bootstrap and dsom-project-cloner) and cross-platform onboarding scripts that handle the integration cleanly.

Use Case Guide
Automated Repository Onboarding HOWTO-DSOM-ONBOARDING.md
Clone / Scaffold New Project HOWTO-CLONE-DSOM-PROJECT.md
DSOM Bootstrapping Baseline HOWTO-DSOM-BASELINE.md

πŸ“… Daily Operating Rituals

Full ritual guides: SOD-RITUAL.md | EOD-RITUAL.md


⚑ Mid-Day Checkpoint (Continuous Save)

If you are stepping away from the keyboard or want to sync state mid-task, you do not need to perform a full EOD ritual. Run the Checkpoint Ritual to systematically auto-commit and push your state cleanly.

.\tools\checkpoint.ps1            # Windows (T1)
bash tools/checkpoint.sh          # WSL2 (T2)

πŸŒ… Start of Day (SOD)

If using Palace v1.0, you only need to run the automated SOD Palace script. This automatically pulls from Git, runs the audit pre-flight, verifies the Palace registry, and generates your reanimation manifest.

.\tools\sod-palace.ps1            # Windows Native
bash tools/sod-palace.sh          # Linux / WSL2

Optional β€” scan before sharing:

./tools/privacy-guardian.sh

Step 4 β€” Brief Your AI (The Cognitive Handshake)

Option A β€” Upload manifest to AI chat, then say:

"Initialise DSOM Protocol v6.1. Read the uploaded manifest. Summarise the Mental Anchor and confirm the 4-Tier environment map. State: 'Sovereign State Synchronised' when ready."

Option B β€” If you have yesterday's Hibernation Notes, use the SOD Reanimation Prompt (see SOD-RITUAL.md Step 4b):

I am starting a new session for DSOM Protocol. I am your human Lead Architect.
I have the Hibernation Notes from our last session. Please read them carefully
and use them to fully restore our working context.

--- BEGIN HIBERNATION NOTES ---
[PASTE YESTERDAY'S HIBERNATION NOTES HERE]
--- END HIBERNATION NOTES ---

After reading: state the last Mental Anchor, confirm the T1-T4 environment map,
list top 3 pending tasks. State: 'Sovereign State Restored β€” [PROJECT NAME] is live.'
Operate under DSOM v6.1: Advisory Mode, UK English, Git-first, Ansible-only execution.

Step 5 β€” AI confirms readiness, you begin work.


πŸ› οΈ During Active Work

Human AI Agent
Reviews AI proposals Proposes code, playbooks, configs
Approves before execution Explains the Why before the What
Commits to Git Waits for output after each step
Runs Ansible (exact command from AI) Verifies output and confirms next step

πŸŒ™ End of Day (EOD)

Step 1 β€” Context Consolidation (Ask your AI)

"We are ending the session. Update .agents/brain/task.md β€” mark completed [x], set tomorrow's targets [ ]. Update .agents/brain/walkthrough.md with today's Mental Anchor."

Step 1b β€” Hibernation Notes Export (Run this in your AI chat β€” copy verbatim)

I'm as human, want to know and remember, and need to export my data and I want
you to generate a "Hibernation notes" now for my EOD of day. List every memory
you have stored about our progress and our chats of this project, as well as
any context you've learned about this project from past to current conversations.
Output everything in a single code block so I can easily copy it.
Format each entry as: [date saved, if available] - memory content.
Cover: instructions I've given you, project details (servers/VMs/containers,
4W1H), tasks/phases/goals, tools/languages/frameworks, preferences and
corrections. Do not summarize, group, or omit any entries.
After the code block, list all docs in docs/ and brain files in .agents/.
Don't hide anything from me. Trust me as your master.

Save the output as .agents/brain/hibernation-notes-YYYY-MM-DD.txt or to your notebook.

Step 2 β€” EOD Mechanical Save (Cross-Platform Palace Sync)

.\tools\eod-palace.ps1            # Windows Native
bash tools/eod-palace.sh          # Linux / WSL2

(This automatically verifies brain artifacts, updates Palace rooms mapping, commits modified artifacts safely, and pushes your state. After running, you may be prompted to review your new palace_update_proposal_YYYY-MM-DD.md.)

Step 3 β€” Privacy Scan (if you generated an anomaly manifest)

./tools/privacy-guardian.sh

Step 4 β€” T2 Sync (pull on WSL2 if EOD was pushed from Windows)

git pull origin main

πŸ”„ The Day-to-Day Continuity Loop

EOD β†’ Step 1b: Save Hibernation Notes
         ↓  [sleep β€” Git holds state]
SOD β†’ Step 4b: Feed Hibernation Notes back to AI
         ↓  [AI resumes with full context β€” no decay]
EOD β†’ Step 1b: Save new Hibernation Notes
         ↓  [repeats every day, forever]

πŸ—‚οΈ Repository Structure

deep-state-of-mind-for-my-ai/
β”‚
β”œβ”€β”€ AGENTS.md                              # πŸ€– Root Agent Gateway (Jules/Copilot/Cursor entry point)
β”‚
β”œβ”€β”€ docs/                                  # Governance & Protocol Documents
β”‚   β”œβ”€β”€ tools-and-automation/              # πŸ› οΈ Detailed script documentation (OKF Compliant)
β”‚   β”œβ”€β”€ reference-architectures/           # πŸ—οΈ Ansible architecture blueprints
β”‚   β”œβ”€β”€ AI-MASTER-PROTOCOL.md              # The Sovereign Constitution (v6.1 + Palace v1.0)
β”‚   β”œβ”€β”€ AI-COGNITIVE-TWIN-PROTOCOL.md      # ⭐ Project Identity Card Template
β”‚   β”œβ”€β”€ GITOPS-AIOPS-ANSIBLE-STRATEGY.md   # Three-Pillar Doctrine
β”‚   β”œβ”€β”€ HOWTO-SETUP-ANSIBLE-BASELINE.md    # Ansible setup guide (LDP standard)
β”‚   β”œβ”€β”€ OPERATIONAL-GUIDE.md               # How-to for daily rituals
β”‚   β”œβ”€β”€ REANIMATION-PROMPT-TEMPLATE.md     # AI session prompt templates
β”‚   └── ...
β”‚
β”œβ”€β”€ .agents/                               # πŸ€– Sovereign AI Workspace (v2)
β”‚   β”œβ”€β”€ AGENTS.md                          # πŸ“œ Core Rulebook mapping AI rules to memory
β”‚   β”œβ”€β”€ skills/                            # πŸ› οΈ Self-Healing Agent Skills (OKF)
β”‚   β”œβ”€β”€ workflows/                         # πŸ”„ Procedural Workflow chains
β”‚   └── brain/                             # 🧠 The AI's External Memory (SSoT)
β”‚       β”œβ”€β”€ task.md                        # Present: What to do NOW
β”‚       β”œβ”€β”€ walkthrough.md                 # Past: Session history & Mental Anchors
β”‚       β”œβ”€β”€ implementation_plan.md         # Future: Project roadmap
β”‚       β”œβ”€β”€ palace_registry.md             # πŸ›οΈ Palace spatial index (OKF Compliant)
β”‚       └── wings/                         # πŸ›οΈ Sovereign Markdown Palace Rooms
β”‚
β”œβ”€β”€ references/                            # πŸ“š External PDFs, Genesis papers, and benchmarks
β”‚
β”œβ”€β”€ tools/                                 # Automation Scripts
β”‚   β”œβ”€β”€ audit-pre-flight.sh / .ps1         # βœ… Run first every session
β”‚   β”œβ”€β”€ git-ritual.sh / .ps1               # πŸ”„ SOD pull + EOD commit/push
β”‚   β”œβ”€β”€ reanimate.sh / .ps1                # πŸš€ Generate AI context manifest (v2.2/v2.1)
β”‚   β”œβ”€β”€ hibernation.sh / .ps1              # πŸŒ™ EOD safety check + Palace Sync (v2.1)
β”‚   β”œβ”€β”€ palace-sync.sh / .ps1              # πŸ›οΈ Map git commits β†’ Palace Rooms (v1.0)
β”‚   β”œβ”€β”€ init-brain.sh / .ps1               # 🧠 One-time brain initialisation
β”‚   └── privacy-guardian.sh / .ps1         # πŸ›‘οΈ Scan manifest before sharing
β”‚
β”œβ”€β”€ inventory/                             # Ansible Node Topology (your project)
β”œβ”€β”€ playbooks/                             # Ansible Playbooks (your project)
└── roles/                                 # Ansible Roles (your project)

The ⭐ AI-COGNITIVE-TWIN-PROTOCOL.md is the most important file. Without it filled in, the AI has no project context.


🧠 The AI Brain β€” Understanding the Four Artifacts

Artifact Time Purpose Who Updates
AI-MASTER-PROTOCOL.md Eternal Governance laws, hard rules, identity Human (rarely changes)
implementation_plan.md Future Project phases and roadmap Human-led, AI assists
task.md Present Today's checklist and focus AI updates, Human approves
walkthrough.md Past Session history, Mental Anchors, decisions AI writes, Human audits

The Mental Anchor is the most critical entry in walkthrough.md. It is the exact logical stopping point of the last session β€” the sentence that allows a brand new AI session to resume exactly where you left off, in under 3 prompts.


πŸ”€ Session Handover (Moving to a New AI)

When switching AI models, chat windows, or accounts, use the Sovereign Handover Prompt to export all context:

Copy from REANIMATION-PROMPT-TEMPLATE.md β†’ Prompt Variant 2: Session Handover.

Paste it into the old AI session first to get a full memory dump, then load the dump into the new AI session along with your manifest.


πŸ› οΈ Tools Reference

Script When to Run What It Does
audit-pre-flight.sh Every session start Checks Brain, Git sync, Cognitive Twin Protocol, Ansible baseline
git-ritual.sh sod Morning Pulls latest state from origin/main
reanimate.sh Before AI session Generates the full context manifest for AI upload
privacy-guardian.sh Before sharing manifest Scans for leaked IPs, keys, tokens, paths
git-ritual.sh Evening Guided semantic commit + push (EOD Sovereign Save)
hibernation.sh Session end Verifies walkthrough + task updated, then pushes
template-reset.sh Once (new project) Clears Git history and brain for fresh project

Windows users: All .sh scripts have a .ps1 PowerShell equivalent.


πŸ“‹ The 6-Step Boot Checklist (New Project)

[ ] 1. Clone and run template-reset.sh
[ ] 2. Run init-brain.sh
[ ] 3. Fill in AI-COGNITIVE-TWIN-PROTOCOL.md (ALL [PLACEHOLDER] fields)
[ ] 4. Run HOWTO-SETUP-ANSIBLE-BASELINE.md (infra projects)
[ ] 5. Run audit-pre-flight.sh β€” confirm all PASS
[ ] 6. Run reanimate.sh β€” upload manifest to AI β€” get Handshake

Once Step 6 is complete, the AI knows:

  • βœ… Your 4-Tier environment (T1 β†’ T4)
  • βœ… Your security doctrine (who runs as root, who runs as UID X)
  • βœ… Your Git commit convention
  • βœ… Your production identity and isolation rules
  • βœ… The current Mental Anchor (last known state)
  • βœ… All governance laws and hard rules

πŸ“š Key Documents (The Governance Ledgers)

File Description
Official Live Documentation (GitHub Pages) 🌐 Web-Based Sovereign Book β€” Official compiled, searchable documentation on GitHub Pages.
Official Live Documentation (GitBook) πŸ“– Cloud Sovereign Book β€” Official compiled, searchable documentation hosted on GitBook.
Official Live Documentation (Read the Docs) πŸ“š Cloud Sovereign Book β€” Official compiled, searchable documentation on Read the Docs.
START-HERE.md πŸš€ New to DSOM? The 17 primary onboarding entry points. Read this first!
OKF-ADOPTION-GUIDE.md 🌐 Open Knowledge Format (OKF) Guide β€” Authoritative guide to OKF v0.1/v0.2 context engine.
governance/AI-INITIALIZATION-SEQUENCE.md πŸ€– AI Initialisation Sequence β€” Essential read for both humans and AI on how governance, persona, and memory are established upon boot.
AI-MASTER-PROTOCOL.md πŸ“œ Master Protocol β€” Core rules for GitOps, AIOps, and Ansible execution
AI-COGNITIVE-TWIN-PROTOCOL.md ⭐ Fill this in first β€” Project Identity Card
DIGITAL-SOVEREIGNTY-OPERATIONAL-MODEL-PALACE.md πŸ›οΈ Full Sovereign Markdown Palace specification
governance/OKF-MIND-OPTIMIZATION.md 🧠 OKF-Based Mind Optimisation β€” Artifact Pyramid & Procedural Memory
governance/GENERATIVE-ENGINE-OPTIMIZATION.md πŸ€– Generative Engine Optimisation (GEO) β€” AI-ready documentation policies
governance/AI-SKILL-ARCHITECTURE.md βš™οΈ AI Skill Architecture β€” Progressive Disclosure & Semantic Routing mechanics
governance/DSOM-ARCHITECTURE-ANALYSIS.md πŸ—οΈ Architecture Analysis β€” Codebase and Structural breakdown of the framework
governance/ZERO-GLOBAL-MEMORY.md 🧠 Zero-Global Memory β€” The Sovereign AI Memory Architecture & Cognitive Flow
governance/DSOM-TOKEN-PERFORMANCE-PLAYBOOK.md ⚑ Token Efficiency Playbook β€” Benchmarks proving 96.23% context reduction
governance/BYTE-CAPPED-EXECUTION-FRAMEWORK.md πŸ›‘οΈ Byte-Capped Execution β€” Circuit breaker preventing context flooding
governance/AUTOMATION-AUDIT-LIST.md πŸ“‹ Automation Audit Ledger β€” Comprehensive index of all execution scripts
governance/PYTHON-UV-ENVIRONMENT-GUIDE.md 🐍 Python UV Guide β€” Governance policy for isolated Python environments
governance/NOSS-INTEGRATION-GUIDE.md πŸ›οΈ NOSS Integration Guide β€” Adopting National Standards into DSOM skills
governance/SOP-KNOWLEDGE-FIRST-DISCOVERY.md πŸ“š Knowledge-First Discovery β€” SOP for local OKF frontmatter search before terminal execution
governance/DSOM-COGNITIVE-STATE-PRESERVATION-PROPOSAL.md 🧠 Cognitive State Preservation Proposal β€” Human-to-Gemini architectural blueprint on persistent AI memory and minimal downstream adoption
../llms.txt πŸ—ΊοΈ Official AI Crawler Sitemap & Ingestion Constraints
HOWTO-PALACE-ONBOARDING.md πŸ›οΈ First-time guide for users and AI agents
HOWTO-CLONE-DSOM-PROJECT.md πŸ—οΈ Master Blueprint β€” Scaffolding a new DSOM project
HOWTO-MIGRATE-TO-PALACE.md πŸ”„ Upgrade guide β€” existing DSOM β†’ Palace v1.0
PALACE-BUILD-STORY.md πŸ“– How and why the Palace was built
SOD-RITUAL.md πŸŒ… Full Start-of-Day ritual guide
EOD-RITUAL.md πŸŒ™ Full End-of-Day ritual guide
HUMAN-HANDOVER-CONTEXT.md 🀝 Session handover prompt
GITOPS-AIOPS-ANSIBLE-STRATEGY.md Three-pillar strategic doctrine
HOWTO-SETUP-ANSIBLE-BASELINE.md Step-by-step Ansible baseline setup
REANIMATION-PROMPT-TEMPLATE.md AI session prompt templates

πŸ€– Supported AI Providers

This framework is provider-agnostic. Tested and configured for:

AI Setup Guide
Google Gemini PERSONALIZATION.md
Anthropic Claude CLAUDE-SETUP.md
GitHub Copilot COPILOT-SETUP.md
Google Antigravity Direct β€” uses this repo as workspace

πŸ—ΊοΈ Roadmap

  • [x] v4.1 β€” Brain artifacts and Root-Aware scripts
  • [x] v5.2 β€” ITIL 4 alignment, Privacy Guardian, Multi-agent protocols
  • [x] v6.0 β€” GitOps + AIOps + Ansible three-pillar model, Cognitive Twin Protocol template, Git Ritual tool
  • [x] v6.1 β€” Ansible baseline playbooks, human handover, Google Antigravity integration
  • [x] v6.2 β€” Ansible roles/common, 19-node Elastic fabric hardened (v9.8.0)
  • [x] v10.0.0-palace β€” πŸ›οΈ Sovereign Markdown Palace v1.0: spatial memory, palace-sync, 8 Rooms backfilled
  • [x] v10.3.0-bootstrap β€” πŸš€ DSOM Bootstrapping baseline adoption, governance restructuring, and OKF v0.1 compliance
  • [x] v10.3.1-skills β€” πŸ› οΈ AI Skills Automation: Added 17 Sovereign AI skills including dsom-project-cloner and dsom-bootstrap
  • [x] v10.4.0-governance β€” πŸ›‘οΈ Token Efficiency Framework: Byte-capped execution, zero-global memory maps, and Android Termux FUSE benchmarking
  • [ ] v11.0 β€” Local LLM support (Ollama) for offline Sovereign AI

🀝 Contributing

All contributions must follow the DSOM standards:

  • Atomic commits: type(scope): description [Phase/vX.X]
  • All PRs must include a walkthrough.md update
  • UK English only in all documentation
  • No secrets in any committed file
  • Triple-Ledger Mandate: Major updates must sync README.md, CHANGELOG.md, and HISTORY.md

See ../CONTRIBUTING.md for full guidelines.


πŸ‘€ Authors

  • Lead Architect: Harisfazillah Jamel β€” 35+ years ICT & Open Source Leadership
  • AI Partners: Google Gemini, Google Antigravity, Anthropic Claude
  • Framework: Built for the LinuxMalaysia Open Source Community

πŸ“„ License

Licensed under GNU General Public License v3.0. See ../LICENSE for details.

At Your Own Risk: Shared for educational purposes. The author is not liable for data loss or AI hallucinations. Validate your own Cognitive Twins.



Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-08-21 Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0