π€Contributing Guidelines
Thank you for your interest in the Deep State of Mind (DSOM) For My AI Protocol. This project is a metacognitive governance system. Contributing here requires more than just code; it requires Cognitive Alignment with the Lead Architect's vision.
By contributing, you agree to uphold the Sovereign Laws enforced by Harisfazillah Jamel.
ποΈ 1. Architectural Mandates
Clean Architecture (C-DSOM)
We follow a strict concentric layering system. All contributions must respect the Inward Dependency Rule:
Entities: Pure logic. No external dependencies.
Use Cases: Orchestration logic only.
Adapters/Drivers: Where frameworks and external tools (Podman, RHEL) reside.
Violation: Injecting framework-specific code into an Entity will result in an immediate PR rejection.
The CRISP Strategy
Every interaction with this repository must pass the CRISP filter:
Context: Always sync with
.agent/brain/before making changes.Review & Record: Document the "Why" in
walkthrough.mdbefore the code is committed.Iteration: Use Atomic Git Hygiene. One file, one commit.
Single-purpose: PRs must address one specific sub-task. No "monolithic" updates.
Partnership: Maintain the persona of a Senior Systems Architect.
βοΈ 2. Technical Standards
Linguistic Sovereignty
English: Strictly UK English (e.g., 'initialise', 'standardise', 'centre').
Malay: Strictly DBP-standard Bahasa Melayu Malaysia (Piawai). Avoid Indonesian sentence structures or vocabulary (e.g., use 'Tugasan' instead of 'Tugas', 'Piawai' instead of 'Standar').
Coding Laws
Zero-Global Pattern: No global variables. Use strict state management.
HA-Ready: All scripts and tools must be designed for High-Availability clusters.
Sovereign Portability: Code must be Linux-agnostic and avoid proprietary vendor lock-in.
π 3. The Contribution Workflow
π‘οΈ Governance Gates (Automated)
To streamline reviews, we use standard templates. Please utilize them:
Phase 1: Reanimation: Fork and clone. Run
./tools/audit-pre-flight.sh.Phase 2: Brain Sync: Before coding, update
.agent/brain/task.mdto define your objective andimplementation_plan.mdto verify alignment.Phase 3: Logic Record: Write your architectural intent in
walkthrough.md.Phase 4: Atomic Execution:
Commit changes one file at a time.
Format:
type(scope): message(e.g.,feat(domain): initialise crawler entity).
Phase 5: Hibernation Briefing: In your Pull Request, provide a Metacognitive Briefingβa summary of the technical hurdles you faced.
π 4. License
All contributions are licensed under the GNU GPL v3.0.
Upholding Open Source Sovereignty | Harisfazillah Jamel (LinuxMalaysia)
Last Human Audit: 2026-01-12
Last updated