
Lab Articles
Deep dives into tech, design, and AI exploration


๐ The openclaw.json Disaster โ One Config Change That Nearly Killed the System
Config | Critical Incident | 2026-03-08 ๐ The openclaw.json Disaster โ A JSON syntax error from a bad edit took down the entire Gateway. All bots went offline. Always back up before editing and validate JSON afterward.

๐ Almost Locked Out of My Own Server โ A Hard Lesson in SSH Port Changes
Security | Deploy | 2026-03-08 ๐ Almost Locked Out of My Own Server โ Opened the new SSH port, closed the old one before testing it, and nearly got permanently locked out. Lesson: always test the new port first, keep the old session open, and update firewall rules in sync.

๐ค PowerShell Chinese Encoding Trap โ The Root Cause of Garbled Files
Encoding | Bug | 2026-03-08 ๐ค PowerShell Chinese Encoding Trap โ Set-Content changes file encoding and garbles Chinese characters. Use Python with open(path, w, encoding=utf-8) or the OpenClaw write tool instead.

๐ช The Mystery of the Windows Service Black Window โ NSSM + .cmd = Popup That Will Not Close
Config | Windows | 2026-03-07 ๐ช The Windows Service Black Window โ NSSM + .cmd always spawns a visible console window. Switched to Task Scheduler + VBS hidden launch: WshShell.Run with window style 0 to silently run the service.

๐ When Your API Proxy Goes Down โ Multi-Model Emergency Switching in Action
Outage | Multi-Model | 2026-03-12 ๐ When Your API Proxy Goes Down โ A third-party proxy took down both GPT and Gemini channels simultaneously. Used a Python script to batch-switch all 5 agents to Claude Sonnet. Full team back online in 30 seconds.

๐ผ๏ธ Stuck White Background + Telegram Image Compression โ Image Processing Pitfall Collection
Images | Frontend | 2026-03-08 ๐ผ๏ธ Stuck White Background and Telegram Image Compression โ Python Pillow removes white backgrounds reliably. To send transparent PNGs on Telegram, always use Send as File; direct image sending compresses to JPG and destroys transparency.

๐ฏ AI Agent Team Management: From Solo Hustle to Effective Delegation
Management | Efficiency | 2026-03-14 ๐ฏ AI Agent Team Management: From Solo Hustle to Effective Delegation โ Day 8 brought 22 tasks. The manager became the bottleneck by doing executor work. Learned the three-phase pattern: Break down, Dispatch, Review.

๐ป The Server tmpfs Trap: /run/sshd Vanishes on Reboot, SSH Connection Refused
Bug | SSH | 2026-03-14 ๐ป The Server tmpfs Trap โ /run is a memory filesystem, cleared on every reboot. sshd needs /run/sshd to start; without it, SSH refuses connections. Fix: add one line to /etc/tmpfiles.d/sshd.conf so systemd auto-creates it.