Skip to content

Autofix Engine Roadmap & Coverage Tracking

This document tracks the parity between the Circuit Validation Engine (the detector) and the Rust Autofix Engine (the repairman).

[DATA] Summary Status

  • Total Rules: 24
  • Autofixes Implemented: 11
  • Coverage: ~46%
  • Engine: Rust WASM (v2.0.0)

[OK] Implemented Autofixes

Rule IDDescriptionRepair PatternStatus
validateFloatingPinsDetects unconnected MCU inputsA* routing to GND/VCC[x]
validateLedFloatingPinsDetects floating LED pinsA* routing to GND/Board[x]
validateReversePolarityBackwards LED180° Transformation (Flip)[x]
validateDiodePolarityBackwards Diode180° Transformation (Flip)[x]
validateComponentLimitsLED over-current / No resistorResistor Injection + Wire Cut[x]
validateBuzzerResistorBuzzer over-current / No resistorResistor Injection + Wire Cut[x]
validateI2CPullupsMissing I2C resistorsDual 4.7k Resistor Injection[x]
validateRp2040VoltageInputs5V into 3.3V GPIOVoltage Divider Injection[x]
validateRailConflictsVCC-GND or 5V-3.3V tieError reporting (Hard Fix)[/]
validateShortCircuitsDirect VCC-GND shortsPath Removal suggestion[x]
potentiometer-floating-wiperUnconnected wiperAuto-route to Analog pin[x]

[PENDING] Pending / Future Improvements

Rule IDDescriptionProposed RepairPriority
validateLogicLevels5V MCU driving 3.3V deviceLevel Shifter Module InjectionHigh
validateDuplicateI2CAddressTwo devices on same addressAttribute auto-incrementMed
validatePowerDissipationResistor getting too hotAuto-replace with higher watt / ParallelLow
validateI2CDeviceWithoutMcuI2C device with no brainSuggest Arduino/Pico additionMed
validateSerialPinConflictPins 0/1 used during uploadMove wires to higher pinsLow
validateTotalPowerBudgetToo many components for USBSuggest Battery/External SupplyLow
validateThermalLimitsComponent temp > 75°CSuggest Heatsink additionLow
validateBatteryLifeHigh drain on batterySuggest larger Mah batteryLow
validateVoltageDropsRail saggingSuggest thicker wires (Visual)Low
validateDeadlocksblocking while(1) loopsCode injection (non-blocking)High
validateSignalIntegrityNoise from motorsDecoupling Capacitor InjectionMed
validateCrossComponentInteractionsMixed surge/sensitiveSeparation & Bypass CapsMed

[TOOL] Infrastructure Progress

  • [x] Rust Migration: 100% (Legacy AS Engine removed)
  • [x] A Pathfinding*: Optimized grid-based routing implemented.
  • [x] Unified Editor: applyProjectChangePlan centralized in projectUtils.js.
  • [x] JS/WASM Bridge: wasm-bindgen automated glue code.
  • [x] Validation Loop API: "Speak & Hear" automation protocol.
  • [ ] Multi-Layer Routing: Support for "Below board" wires.
  • [ ] Ghost Persistence: Save repair reasoning to diagram.json metadata.

Last Updated: May 2026

Released under the MIT License.