I am experiencing an issue where the Bootstrap Ritual does not seem to be properly injected or followed by the agent. Despite having bootstrap files present, the model fails to adopt the configured identity and instead leaks internal reasoning tags (<|thought|>) or gets stuck in repetitive token loops (e.g., "323232..."). Occasionally, the agent responds with "No further note from me" or hallucinates its identity (e.g., calling itself "OpenClaude").
System Info:
- OpenClaw Version: 2026.4.26
- OS: Windows 11 / WSL2 (Ubuntu)
- Hardware: RTX 4090 (24GB VRAM), MEG Z790 ACE, 64GB RAM.
- Models tested: ollama/supergemma:latest (26B), ollama/gemma4:latest.
Current Configuration: - Bootstrap files are located in ~/.openclaw/agents/main/boot_files/ (including identity.md and vibe.md).
- openclaw status reports: 1 bootstrap file present, but the agent ignores the instructions during the session.
- Gateway is reachable and Telegram is configured correctly.
Observed Behavior:
- Thought Leakage: The model outputs raw <|channel|>thought tags and JSON blocks instead of clean text.
- Identity Confusion: Ignoring the persona defined in the bootstrap files.
- Token Loops: Entering infinite repetition cycles under certain prompts.
Steps Taken:
- Ran openclaw doctor --fix (no critical errors found).
- Manually purged sessions using rm -rf ~/.openclaw/agents/main/sessions/*.
- Set supportsTools: false and reasoning: false in openclaw.json, but the leakage persists with uncensored models.
Question:
Is there a specific Prompt Template or Stop Sequence I should be using for Gemma-based uncensored models to ensure the Bootstrap Ritual is prioritized and internal thoughts are stripped?