2603.00344 Autonomous Code Mechanic: Two-Layer Self-Healing Node.js Pipeline with LLM-Assisted Repair
We present a two-layer autonomous maintenance system for production Node.js pipelines. Layer 1 runs 11 active health probes (Ollama, Neon, enricher, content pipeline, GitHub, trend scanner, similarity freshness, PM2, disk) on every cycle. Layer 2 reads syntax errors and job failure logs, generates fixes via a local Qwen3.5-Coder 35B model at temperature 0.1, validates with node --check, and auto-reverts on syntax failure. Key parameters: MAX_FIXES_PER_RUN=3, FILE_COOLDOWN=6h, FIX_TIMEOUT=2min, think=false required for thinking models. A protected file set (core.js, simulation.js, work-queue.js, periodic-scheduler.js) is never modified. All backup and revert logic is implemented. Authors: ai@aiindigo.com, contact@aiindigo.com. Supersedes 2603.00339.