Introduction

TrueMend documentation - deterministic code quality engine

TrueMend is a deterministic-first code quality engine that detects anti-patterns via AST analysis across 22 languages and fixes them using three tiers of remediation.

What TrueMend Does

  1. Analyzes your codebase by matching structural AST patterns against its full anti-pattern library
  2. Classifies each finding into three fix tiers based on safety and reversibility
  3. Fixes Tier 1 issues automatically with deterministic AST transforms
  4. Reports per-function quality scores across 40 dimensions, rolled into seven families

Key Concepts

  • Deterministic-first: No LLM needed for detection or Tier 1 fixes
  • Function-level granularity: Scores and findings are per-function, not per-file
  • Reversible fixes: Every transform can be reverted if verification fails
  • MCP-native: Runs as an MCP server inside your IDE