Skip to content

Release Notes v10.4.0

Toprak Ahmet Aydoğmuş edited this page Nov 30, 2026 · 1 revision

Repository source: docs/release_notes_v10.4.0.md
Snapshot of the source document; follow the repository link for the current version.


T-Zero v10.4.0 Master Edition: The 10,000+ Line Autonomous PC-Fixer & Codebase Doctor

Release Date: November 2026
License: 100% Free & Open Source (MIT)
Cost: Exactly $0.00 (Zero Paid APIs, Zero Cloud Tokens, Pure Local AST)
Security Certification: 100% Zero-Leak Certified | CWE / OWASP Top 10 Guard
Live Benchmark: https://tzero-indol.vercel.app


Executive Milestone Summary

T-Zero v10.4.0 marks an unprecedented milestone in developer tooling:

  • 10,615 Lines Monolithic Single-File Masterpiece (tzero_pc_fixer.py): A fully unified, zero-dependency, self-healing operating system and codebase doctor.
  • 33 Modular Self-Healing Sub-Engines (tzero_fixer/): 11,400+ lines of specialized diagnostic, repair, and orchestration packages.
  • 100% Automated Test Suite Passing (340/340 Tests Green): Complete regression verification across AST parsers, polyglot linters, MCP omni-tools, and synthetic workspace rollback transactions.

1. Encyclopedic PC & Codebase Doctor Capabilities

A. Operating System, Registry, & File Lock Healer

  • NTFS LongPaths Policies: Detects and alerts on Windows 260-character MAX_PATH limitations (LongPathsEnabled in registry) and Developer Mode configurations.
  • Environment PATH Hygiene: Scans PATH for dead shims, duplicate directory entries, and missing developer CLI toolchains (python, git, pip, npm, cargo, docker, go, bun).
  • POSIX & SSH Permission Enforcement: Automatically restores strict security permissions (0700 on ~/.ssh, 0600 on private key pairs).
  • Stale Lockfile & Bytecode Sanitization: Automatically unlocks git operations blocked by crashed processes (.git/index.lock) and wipes orphaned .pyc and __pycache__ bloat.

B. Surgical AST Syntax & Modernization Healer

  • Delimiter Restoration: Auto-detects and inserts missing colons on function and class definitions (def compute(x) ➔ def compute(x):).
  • Python 2 to 3 Migration: Automatically converts legacy Python 2 print statements (print "hello" ➔ print("hello")).
  • Invisible Artifact Stripper: Automatically strips UTF-8 Byte Order Marks (BOM \xef\xbb\xbf) and zero-width spaces (\u200b, \ufeff) that corrupt AST interpreters.
  • PEP 585 & PEP 604 Modernization: Surgically migrates deprecated typing.List, typing.Dict, typing.Optional to modern generic syntax (list[str], dict[str, int], int | None).

C. Import Graph Analyzer & Tarjan SCC Cycle Breaker

  • Circular Dependency Resolution: Builds workspace-wide import graphs and applies Tarjan's Strongly Connected Components (SCC) algorithm to detect and break module dependency cycles.
  • Standard Library Symbol Auto-Injector: Resolves missing stdlib symbols (sys, os, re, json, pathlib, typing, dataclasses, time) without external internet dependencies.

D. Polyglot Schema, OpenAPI, & Configuration Healer

  • Pure Zero-Dependency JSON Schema Validator: Validates Draft-07 / 2020-12 schemas (types, required fields, enums, numeric bounds, regex patterns).
  • OpenAPI 3.0 / 3.1 REST API Linter: Verifies specification versions, info blocks, route handlers, and enforces global uniqueness of operationId identifiers.
  • Multi-Language .editorconfig Healer: Enforces cross-editor standards (spaces, tabs, UTF-8, LF line endings) across Python, JavaScript, TypeScript, Markdown, YAML, and Makefiles.

E. 100% Zero-Leak Security Guard & CWE Database

  • 30+ CWE Rule Definitions: Deep taxonomic coverage including CWE-89 (SQLi), CWE-78 (Command Injection), CWE-79 (XSS), CWE-22 (Path Traversal), CWE-798 (Hardcoded Keys), CWE-502 (Insecure Deserialization), CWE-918 (SSRF), CWE-287 (Improper Authentication), and CWE-862 (Missing Authorization / IDOR).
  • OWASP Top 10 Mappings: Direct bidirectional cross-referencing to OWASP categories (A01:2021 through A10:2021).
  • Shannon Entropy Key Detection: Heuristic detection of high-entropy cryptographic strings, AWS keys, Stripe secrets, and OpenAI/Anthropic tokens.

F. Offline CVE Dependency Vulnerability Auditor

  • Offline Advisory Database: Audits requirements.txt and package.json for known vulnerable packages without internet access.
  • Surgical Version Auto-Upgrader: Replaces insecure dependencies (requests<2.31.0, flask<2.2.5, urllib3<1.26.18) with patched stable releases.

G. Smart Micro-Patch Recommender & Transactional Rollback

  • Unified Diff Generation: Emits standard GNU unified diff hunks (--- a/, +++ b/) ready for git apply.
  • Blast Radius Scoring (0–100): Calculates downstream impact on importing modules before modifications occur.
  • Atomic Rollback Transactions: Backs up every file before touching disk; any failure triggers an instantaneous atomic rollback of all files.

CLI Usage & Quickstart

# 1. Run Complete Workspace Health Diagnosis
python tzero_pc_fixer.py

# 2. Preview Autonomous Repairs (Dry-Run Mode)
python tzero_pc_fixer.py --dry-run

# 3. Execute Autonomous Self-Healing
python tzero_pc_fixer.py --heal

# 4. Export Machine-Readable Reports (JSON, SARIF 2.1.0, JUnit XML)
python tzero_pc_fixer.py --format sarif --out security_report.sarif
python tzero_pc_fixer.py --format junit --out test_results.xml

Distribution Packages

Install or integrate T-Zero v10.4.0:

  • PyPI Wheel: pip install dist/tzero_mcp-10.4.0-py3-none-any.whl
  • Homebrew: brew install installers/brew/tzero.rb
  • Scoop: scoop install installers/scoop/tzero.json
  • Winget: winget install -m installers/winget/tzero.yaml
  • VS Code / Cursor: tzero-vscode-10.4.0.vsix

Clone this wiki locally