./openwiki/ are compiled natively in Python using uv.
🚀 1. Native Python CLI Modes (tools/openwiki_emulator.py)
💡 2. Architectural Advantages of Native Python Emulation
- Zero Node.js / C++ Dependencies: No
npm,pnpm,bun, or Visual Studio C++ Build Tools (better-sqlite3) required. - Zero UAC Elevation Hangs: Runs background automation non-interactively without Windows UAC prompts.
- API Rate Limit Resilience (Error 429 Mitigation): If external LLM API rate limits hit during CLI execution, the AI agent uses local context to draft all 10 OKF-compliant wiki pages directly into
./openwiki/. - Massive Disk Space Reclamation: Reclaims ~135.3 MB of disk space, reducing overall repository footprint to ~30.84 MB.
🛠️ 3. How to Build Your Own OpenWiki Emulator (Code & Prompt Template)
If you are setting up OpenWiki emulation on another repository or project, follow this guide.A. The Native Python Script (tools/openwiki_emulator.py)
Save the following code as tools/openwiki_emulator.py in your repository root:
B. Prompt Template for Copying to AI Agents (Gemini, ChatGPT, Claude)
Use this prompt to instruct an AI assistant to build or adapt an OpenWiki emulator script for any project:🔗 4. References
- OpenWiki Integration Blueprint:
docs/governance/OPENWIKI-INTEGRATION-GUIDE.md - OpenWiki Agent Skill:
SKILL.md - DSOM Rule 27 (Native OpenWiki Emulator Mandate):
AGENTS.md
Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-08-09 Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0