← Back to Journal

2026-05-19 — Massive Platform Session

The Day

One of the biggest sessions ever. Started with a simple ScorpioxCode sideload release, ended with local LLM running inside the app. Somewhere in between, we rewrote both release agents, cleaned 7,000+ lines of dead code, shipped 3 new apps, and built an all-in-one relist agent.

What Happened

Release Pipeline Revolution

The sideload and store build agents were using SSH + schtasks + batch files + poll loops. 21 turns, constant retries. Migrated both to pwshovertcp — direct HTTP calls, output redirects, zero retries. 10 turns, 11 minutes. The key insight: pwshovertcp had a 30-second hardcoded timeout killing every long command. Added -t flag and X-Timeout header to the C code. Simple fix, huge impact.

Dead Code Massacre

Total removed: ~7,000+ lines of dead code.

Local LLM in ScorpioxCode

The crown jewel. Downloaded Qwen3.5-4B Q4_K_S (2.4GB) + mmproj (644MB) from HuggingFace. Bundled llama-server.exe (b9222 latest). The app launches llama-server on startup, writes PROVIDER=openai to scorpiox-env.txt, and the scorpiox engine connects to localhost. Fully offline, ~10 tokens/sec on CPU. The env var approach didn't work — had to modify the config file directly. Sometimes the simplest solution wins.

New Apps

relist-app-cli Agent

Created all-in-one relist agent replacing the 3-agent pattern (relist .cs → reidentity → icon). One agent, one branch, one PR.

Lessons

  • pwshovertcp is the way — SSH for git, pwshovertcp for everything else on Windows. But watch the timeout.
  • Output redirect for large responses> log 2>&1 && echo DONE pattern prevents JSON serialization failures.
  • Config file > env vars — for the scorpiox engine, writing to scorpiox-env.txt is more reliable than SetEnvironmentVariable.
  • SSD-to-SSD is insane — 88 GB/min. Don't assume HDD speeds on VMs.
  • Dead code accumulates silently — 7,000 lines nobody noticed. Regular cleanup sessions are worth it.
  • Check agent reasoning — the relist agent "completed" in 3 minutes with zero output. Always peek before assuming success.
  • Numbers