Path: docs/HUMAN-HANDOVER-CONTEXT.md
DSOM For My AI, SESSION HANDOVER TEMPLATE
Adapt this file for every new project cloned from the DSOM skeleton.
Fill in every [PLACEHOLDER] with your project-specific values.
This file is the first document you paste into a new AI session.
⚡ SESSION HANDOVER PROMPT
(Copy everything below this line and paste as your first AI message)I am starting a new AI session. Synchronise your state with the following:
- READ the project brief:
docs/directory and the DSOM brain files. - SYNC with the task tracker:
.agents/brain/task.md - READ brain artifacts:
.agents/brain/walkthrough.mdand.agents/brain/implementation_plan.md - VERIFY
docs/AI-COGNITIVE-TWIN-PROTOCOL.md, confirm all[PLACEHOLDER]fields are filled. - READ
README.md,SUMMARY.md,CHANGELOG.md - RUN
git log --oneline -20to read recent commit history. - WALK THE PALACE, read
.agents/brain/palace_registry.md(Section [14] of the SOD manifest) and identify the relevant Wings and Rooms for today’s work.
T2 shortcut: bash tools/sod-palace.sh # (Windows: .\tools\sod-palace.ps1) automates steps 1–6 + palace check automatically. Upload the manifest and use the handshake phrase below.
🏗️ Project Identity
- Project Name:
[YOUR_PROJECT_NAME] - Stack:
[YOUR_STACK e.g. Logstash + Kafka + Podman / ELK / Ansible roles] - Purpose:
[ONE_LINE_PURPOSE] - Repo:
[YOUR_GITHUB_REPO_URL] - Protocol Version: DSOM v6.1 + Palace v1.0 | GitOps · AIOps · Ansible
🗺️ 4-Tier Command Highway
We strictly follow the 4-Tier Command Highway (T1→T2→T3→T4):
Code is promoted: T1 → Git → T2 → T3 → T4. No shortcuts.
🛡️ Security Doctrine: “Rootful Control, Rootless Application”
- Rootful Control: Ansible/sudo manages OS-level tasks, systemd, networking, filesystem.
- Rootless Application: All containers/services run as
[APP_USER](UID[APP_UID]GID[APP_GID]). - Sovereign Identity:
dsom-admin:2001:2001on target nodes. - Dev Identity:
[DEV_USERNAME]:[DEV_UID]:[DEV_GID]on WSL2.
⚙️ Environment Rules
- AI Partner: Google Antigravity on Windows 11 (PowerShell).
- Ansible: Runs from T2 WSL2 (
dsom-control-almalinux10). NOT from Windows directly. - Git operations: All
git add,git commit,git pushdone on T1 Windows/PowerShell. - Dev testing: Human runs scripts inside T2 WSL2 (
dsom-control-almalinux10). AI guides and waits for output. - Production:
hosts.prod.ymlis in.gitignore. Human must supply it for any production Ansible run.
🔄 The Safe Sync Ritual (Run After Every T1 Push)
Whenever changes are pushed from Windows (T1), perform this ritual to align all tiers: Step 1, Pull on T2 (WSL2:dsom-control-almalinux10)
🏁 Sovereign Directive (The Handshake Trigger)
After the AI reads all context, trigger the session with:“Initialise DSOM Protocol v6.1 + Palace v1.0 for [YOUR_PROJECT_NAME]. Read the uploaded manifest or this handover file. Walk the Palace Registry in Section [14], identify the relevant Rooms for today’s work. Confirm the 4-Tier Command Highway is mapped. Verifydocs/AI-COGNITIVE-TWIN-PROTOCOL.mdis filled in. State the last Mental Anchor from.agents/brain/walkthrough.md. Respond in UK English. State: ‘Sovereign State Synchronised, [YOUR_PROJECT_NAME] is live.’ when ready.”
📋 How to Provide Output for AI Review
AI will wait for your results before proceeding. Never assume success.
📌 Current State (Fill in at each session end)
🔑 Key Reminders to AI Agent
- Advisory Mode only. Propose → Human approves → Ansible executes → AI verifies.
- Never run commands on production nodes. Write Ansible playbooks. Human runs them.
- Every step is committed to Git before execution. No Git = no change.
- Idempotency is mandatory. Every playbook must be safe to re-run.
- All secrets via
ansible-vault. Never commit plaintext secrets. - Detailed Git commit messages. Format:
type(scope): description [Phase/vXXX] - UK English only in all documentation and responses.
- Wait for human output before proceeding with the next step.
- Control yourself during long debugging. Emit one action at a time.
- Both T1 and T2 must be in sync, always pull on T2 after T1 push.
- Walk the Palace Registry at the start of every session, read
palace_registry.mdand load the relevantcloset.mdfiles before advising. - Propose Palace closet updates at EOD if new decisions or discoveries were made.
Standard: DSOM For My AI Protocol v6.1 + Palace v1.0 | Harisfazillah Jamel | LinuxMalaysia Template source: docs/HUMAN-HANDOVER-CONTEXT.md | Updated: 2026-04-08 Adapted from: DSOM elasticsearch-kibana-podman project (v9.4 Sovereign Recovery model)
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