The things I build, and the lessons that break first.
blog.shirone.dev is where I write about the decisions, mistakes, and lessons learned from building desktop apps, AI-assisted dev tooling, and the small utilities that make them survive production. No tutorials — just honest field notes.
Green Is Not Evidence: How I Keep AI-Written Code Honest
AI agents write most of the code in the ERP I am building. Type safety and lint rules catch the typos. What they do not catch is a false claim. Here is the harness I built for that.
The archive
Swapping the Engine Mid-Flight: Shiranami 2 and a 186k-Line Merge
I rewrote the backend of my music player from Electron to Rust and Tauri on one long-lived branch, then merged 390 commits into master without users losing a single track. Here is the plan, the guardrails, and the Windows bugs no test caught.
Taming 12 Terminals: How I Stopped the UI from Freezing
Running 12 AI coding sessions at once means 12 terminals generating output simultaneously. Here is how I kept the UI responsive.
Building an Activity Feed Without Opening a Single Port
How I built a "currently watching" feed for my Discord community — and why I ditched the HTTP endpoint in favor of something already running.
I Put a Browser Inside Electron (and Rewrote It Twice)
The story of building an embedded browser for an anime tracking app — from native overlays to DOM elements, z-index nightmares, and why the "deprecated" approach won.
From if-statements to Plugins in 17 Days
How I extracted a hardcoded AI provider into a plugin architecture with 57 documented decisions, and why I chose bundled plugins over a marketplace.
7 Pitfalls I Predicted (and All 7 Happened)
I wrote a pitfall analysis before writing a single line of feature code. Every prediction materialized. Here is what I learned about research-driven development.
The AI Reports Its Own State: MCP as a Feedback Loop
Instead of parsing terminal output to figure out what an AI agent is doing, I gave it a tool to tell me. Here is how MCP creates a real-time feedback loop.
The asar Trap: When Your AI Agent Works in Dev but Dies in Production
Electron bundles everything into a readonly archive. AI SDKs need to spawn binaries. These two facts are incompatible, and the fix is weirder than you think.
Your Electron App Is Leaking Secrets (and How I Fixed It)
When you spawn a subprocess, it inherits every environment variable — including API keys, tokens, and passwords. Most apps do nothing about this.
Hello, World
The obligatory first post — why I started this blog, what to expect, and what I have been building lately.