docs/SOD-RITUAL.md
“To lose context is to lose the project. To reanimate is to remember.” Standard: DSOM For My AI Protocol v6.1 + Palace v1.0 | GitOps · AIOps · Ansible
🏛️ 1. The Philosophy of Reanimation
The Start-of-Day (SOD) is not just a technical boot sequence, it is a Cognitive Handshake between the Lead Architect (Human) and the Cognitive Digital Twin (AI). Since AI has amnesia between sessions, the SOD Ritual transfers the Deep State of Mind, the full context, history, architectural intent, environment map, and security doctrine, from the repository’s permanent storage (.agents/brain/) back into the AI’s active working memory.
The Three-Pillar Loop always starts with SOD:
🗺️ 2. Environment Map (Fill in per project)
Before starting, know your tiers:🔄 3. The SOD Workflow, Step by Step
⚡ Step 1, Git Sync (T1: Windows PowerShell)
Pull the latest state from the remote before doing anything:🏛️ Step 1a, [RECOMMENDED] Ansible Palace SOD (T2: Linux/WSL2 Only)
If you are on T2, use this instead of Steps 1–3. It runs git pull, audit, palace check, and reanimate in a single command.
After it completes, Manual Handshake (Step 4 still applies):
- Upload the printed manifest file path to your AI
- Say: “Initialise DSOM Protocol v6.1 + Palace v1.0. Read the manifest. Walk the Palace Registry in Section [14]. State: ‘Sovereign State Synchronised’ when ready.”
T1 (Windows): Steps 1–3 remain manual. Use reanimate.ps1 which includes Section [14] Palace Registry natively.
🔍 Step 2, Intelligence Audit (T1 or T2)
Run the pre-flight audit to verify the physical workspace is ready:- ✅ Brain artifacts exist (
task.md,walkthrough.md) - ✅ Git is in sync with
origin/main - ✅ Language/environment detected
- ✅
docs/AI-COGNITIVE-TWIN-PROTOCOL.md, no unfilled[PLACEHOLDER]values - ✅ Ansible baseline,
ansible.cfg,inventory/hosts.yml
[FAIL], fix it before proceeding. Do not reanimate a broken state.
🚀 Step 3, Generate Reanimation Manifest (T1 or T2)
Generate the full context manifest for AI upload:
Run privacy scan before sharing:
🤝 Step 4, The Cognitive Handshake (Human → AI)
Upload the generatedsod_manifest_YYYY-MM-DD.txt to your AI chat.
Option A, Reanimate from manifest file (Palace-aware):
“Initialise DSOM Protocol v6.1 + Palace v1.0. Read the uploaded manifest. Walk the Palace Registry in Section [14], identify relevant Rooms for today’s work. Summarise the current Mental Anchor fromOption B, Use the Human Handover Context (for new sessions):.agents/brain/walkthrough.md. Confirm the 4-Tier environment map fromAI-COGNITIVE-TWIN-PROTOCOL.md. State: ‘Sovereign State Synchronised’ when ready.”
Copy the prompt from docs/HUMAN-HANDOVER-CONTEXT.md and paste as your first message. Fill in the Current State section before sending.
Option C, Feed Yesterday’s Hibernation Notes (EOD → SOD Continuity):
Use this when you saved a Hibernation Notes block from last night’s EOD Step 1b. This is the fastest and most precise reanimation method, no tool required.
📥 Step 4b, SOD Reanimation Prompt (Feed Yesterday’s Hibernation Notes)
This is the mirror prompt to the EOD Step 1b Hibernation Notes Export. It feeds everything saved last night directly back to the AI at the start of today, creating a day-to-day continuity loop that both humans and AI agents can rely on.
[!IMPORTANT]
Copy the prompt below verbatim. Then paste your Hibernation Notes block (saved from last night’s EOD) immediately after the [PASTE HIBERNATION NOTES BLOCK HERE] placeholder.
Copy this prompt verbatim:
- AI reads the Hibernation Notes block and reconstructs full context
- AI confirms the Mental Anchor, the exact last stopping point
- AI confirms the environment map, which tier you are on
- AI lists today’s pending tasks
- You begin active work immediately, no cold start, no repeated explanations
.agents/brain/hibernation-notes-YYYY-MM-DD.txt(if you saved it)- Or the code block you copied to your notebook/notes app
🧠 Step 5, What the AI Must Know After SOD
The SOD is COMPLETE only when the AI can confirm all of the following:🛑 4. SOD Stop Conditions (FAILED States)
The SOD is FAILED if the AI:
If the SOD fails, do not proceed. Re-run from Step 2.
✅ 5. SOD Completion Checklist
🔗 6. Related Documents
Standard: DSOM For My AI Protocol v6.1 + Palace v1.0 | Harisfazillah Jamel | LinuxMalaysia This is the baseline SOD template for all projects built on this skeleton. Last Updated: 2026-04-08 | Version: 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