docs/EOD-RITUAL.md
“Rest is not the end unless the memory is lost. To hibernate is to prepare for rebirth.” Standard: DSOM For My AI Protocol v6.1 + Palace v1.0 | GitOps · AIOps · Ansible
🏛️ 1. The Philosophy of Hibernation
The End-of-Day (EOD) is the Sovereign Save, the critical point where the day’s work is crystallised, committed to Git, and preserved so that the next session can begin without loss. The EOD is where the GitOps loop closes:🔄 2. The EOD Workflow, Step by Step
🧠 Step 1, Context Consolidation (AI → Human Review)
Before running any tools, ask the AI to help prepare the brain artifacts: Ask the AI:“We are ending the session. UpdateAI will produce:.agents/brain/task.md, mark all completed items[x], set tomorrow’s SOD targets as[ ]. Then update.agents/brain/walkthrough.mdwith today’s Mental Anchor. What did we accomplish and where exactly do we resume tomorrow?”
- Updated
task.md, reflects today’s completions and tomorrow’s first actions - Updated
walkthrough.md, new Session Anchor entry with:- Accomplished: What was done today (the What)
- Why: The architectural reasoning (the Why)
- Mental Anchor: One sentence, exact state and where to resume
- Does the Mental Anchor describe the exact stopping point?
- Are tomorrow’s SOD tasks clear?
- Is nothing left vague?
� Step 1b, Hibernation Notes Export (Human Memory Backup)
Run this prompt in your AI session before closing the chat. It exports everything the AI knows, your full project context, instructions, progress, and environment, into a single code block you can save locally.[!IMPORTANT] Copy the entire prompt below and paste it into your AI chat as-is. Do not paraphrase it.Copy this prompt verbatim:
- Copy the entire code block
- Save it as
.agents/brain/hibernation-notes-YYYY-MM-DD.txt - Or paste into your physical/digital notebook as an offline backup
reanimate.sh.
�💤 Step 2, Hibernation Safety Check (T1 or T2)
Run the hibernation script, it checks for dirty state before you sleep:Note (v2.1):What it checks:hibernation.shandhibernation.ps1now automatically runpalace-sync.sh/.ps1as Step 7: Palace Spatial Reflection, generating the update proposal without a separate command.
- ✅
task.mdhas been updated today - ✅
walkthrough.mdhas a new Session Anchor - ✅ No uncommitted changes in
docs/orsrc/ - ✅ No dangling Ansible playbook outputs uncommitted
- ⚠️ Displays tomorrow’s SOD targets clearly
- ✅ Palace Spatial Reflection,
palace-sync.shruns and generatespalace_update_proposal_YYYY-MM-DD.md
🏛️ Step 2a, [RECOMMENDED] Ansible Palace EOD (T2: Linux/WSL2 Only)
If you are on T2, use this instead of Steps 2–5. It runs all checks, palace sync, selective staging, commit, and push in a single command.
Skip palace-sync if already run by hibernation.sh:
- Review
palace_update_proposal_YYYY-MM-DD.mdwith your AI - Update relevant closets in
.agents/brain/wings/ - Commit closet updates:
git add .agents/brain/ && git commit -m "chore(palace): update closets"
T1 (Windows): Steps 2–5 remain manual. hibernation.ps1 v2.1 handles palace-sync automatically.
🔐 Step 3, Privacy Scan (Before Sharing Any Manifest)
If you generated asod_manifest_YYYY-MM-DD.txt today, scan it before sharing:
🔄 Step 4, Sovereign Save: EOD Git Ritual (T1: Windows PowerShell)
Commit all changes with a structured, semantic commit message:- Shows current Git status and last 5 commits
- You select commit type:
feat,fix,docs,chore,refactor,ci - You provide scope, description, and optional Phase/version tag
- Builds commit message:
type(scope): description [Phase/vX.X] - Confirms before committing and pushing
git log. Meaningful messages = better context recovery next SOD.
🔃 Step 5, T2 Sync (WSL2 Pull After T1 Push)
After pushing from T1, ensure T2 is synchronised:📌 Step 6, Set Tomorrow’s Mental Anchor (Human Action)
Before closing your terminal, write this in your physical notebook or digital notes:✅ 3. EOD Completion Checklist
🛑 4. EOD Stop Conditions (INCOMPLETE States)
The EOD is INCOMPLETE until all STOP CONDITIONS are resolved.
🧠 5. The Mental Anchor, Standard Format
Everywalkthrough.md Session Anchor must follow this format:
🔗 6. Related Documents
Standard: DSOM For My AI Protocol v6.1 + Palace v1.0 | Harisfazillah Jamel | LinuxMalaysia This is the baseline EOD 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