Skip to content

v3.1-dev: AI-Audited Terminal UI Overhaul

Choose a tag to compare

@Rezurmas Rezurmas released this 11 Jun 21:58

🧠 Multi-Agent AI Audit + Claude-Style Terminal UI

16 AI agents analyzed, fixed, and enhanced this script across 3 rounds.

🔧 Bug Fixes (CRITICAL → LOW)

  • DWORD overflow: NetworkThrottlingIndex ([int]-1)4294967295 (0xFFFFFFFF)
  • IPv6 detection regex tightened (was matching MACs and port numbers)
  • Polish regex patterns anchored (false-positive substring matches)
  • Backup validation: aborts optimization if backup creation fails
  • Restore-FromBackup crash guards: index bounds, JSON parse safety, adapter name from JSON
  • Pre-Win8.1 graceful exit instead of Get-NetAdapter crash
  • All exit calls → return (dot-source safe, no longer kills console)
  • Dot-source guard wrapped around entire main execution
  • .bat: input validation, stale env vars, admin check, CRLF docs, -All warning

🎨 Claude Code-Style Terminal UI

  • ANSI truecolor Unicode banner: rounded box ╭─╮ + gradient text
  • 6-frame spinner animation (·✻✽✶✳✢) at every optimization phase
  • Unicode status symbols: ● OK, ○ applying, ◆ warning, ● error, ✦ tip
  • Progress bars: ████░░░░ 75% during multi-adapter optimization
  • Mode-aware ASCII art: ⚡Throughput / 💎LowLatency / ⚖Balanced
  • Gradient text: per-character RGB interpolation (orange → gold)
  • Unicode box sections: ╭── PHASE 1 ──╮ instead of ASCII +===+
  • Pulse-dot animation during MTU binary search (~30s phase)

🆕 New NIC Vendor Patterns (16 added)

Intel ITR/Interrupt Throttle Rate, Killer GameFast/Stream Detect, Realtek Idle Power Saving/PCIe, Broadcom VMQ/SR-IOV, Gigabit Master Slave — all mode-specific

📦 What's New

  • CHANGELOG.md (178 lines)
  • .gitattributes (CRLF enforcement for .bat/.ps1)
  • Updated README (compatibility, line count, one-liner fix)
  • LICENSE year: 2025-2026
  • 1733 lines (+279 from v3.0), 114-line .bat

⚠️ Dev Test Release

This is a development test release — 16 autonomous AI agents modified this code.
Thoroughly tested on Linux (dry-run analysis), but not yet tested on live Windows.
Please test on real hardware before production use.