@@ -7,6 +7,117 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.10.0] - 2025-12-19
11+
12+ ### Strategic Direction
13+
14+ - ** AI Sensor Model Pivot** (Specs 262-266)
15+ - Debtmap now positions itself as an "AI sensor" - providing accurate identification, quantified severity, and structural context to AI agents (Claude, Copilot, Cursor) that have semantic understanding
16+ - Planned removal of template-based recommendations in favor of context window suggestions
17+ - Key insight: Static analysis can accurately tell you WHERE problems are and HOW SEVERE they are; let AI determine HOW to fix them
18+
19+ ### Added
20+
21+ - ** Score Calculation Transparency** (Spec 260, 261)
22+ - New Score Breakdown detail page (Page 2) in TUI showing exact calculation steps
23+ - Explicit display of each scoring component: complexity, coverage, dependencies, contextual risk
24+ - Shows specific adjustments and their contributions to final score
25+ - Removed score clamping for more accurate representation
26+ - Removed ` Score0To100 ` and ` Score0To1 ` wrapper types in favor of direct values
27+
28+ - ** Function-Level Git History Analysis** (Spec 195)
29+ - Git blame integration for accurate contributor count per function
30+ - Function-level churn and authorship metrics
31+ - Continuous scoring for git history risk contribution
32+
33+ - ** God Object Detection Improvements**
34+ - ** Method Complexity Weighting** (Spec 211) - Methods weighted by their individual complexity contribution
35+ - ** Accessor and Boilerplate Detection** (Spec 209) - Identifies and discounts simple accessor methods
36+ - ** Pure Function Method Weighting** (Spec 213) - Pure methods contribute less to god object score
37+ - ** Functional Decomposition Recognition** (Spec 215) - Recognizes intentional functional decomposition patterns
38+ - ** Trait-Mandated Method Detection** (Spec 217) - Methods required by trait implementations weighted differently
39+ - ** Test Code Exclusion** (Spec 214) - Test code excluded from LOC metrics
40+ - ** Cohesion Gate** (Spec 206) - Low cohesion now required before flagging as god object
41+ - ** Per-Struct LOC Fix** (Spec 207) - Accurate LOC calculation for individual structs
42+
43+ - ** Entropy Type Consolidation** (Spec 218)
44+ - Unified entropy analysis types across the codebase
45+ - Improved entropy data propagation through god object analysis pipeline
46+
47+ - ** Observability Improvements**
48+ - ** Panic Hook with Crash Reports** (Spec 207) - Structured crash reports for debugging
49+ - ** Structured Tracing with Spans** (Spec 208) - Comprehensive tracing throughout analysis
50+ - ** Rayon Parallel Span Propagation** (Spec 209) - Tracing spans properly propagate through parallel code
51+ - ** SourceMap Overflow Prevention** (Spec 210) - Prevents crashes on large codebases
52+
53+ - ** Output Quality Improvements**
54+ - ** Output Invariant Testing** (Spec 230) - Schema validation for all output formats
55+ - ** Debt Item Deduplication** (Spec 231) - Eliminates duplicate items in output
56+ - ** Anti-Pattern Details** (Spec 197) - Exposed in JSON and TUI
57+ - ** Cohesion Metrics** (Spec 198) - Exposed in output for transparency
58+
59+ ### Changed
60+
61+ - ** Unified Extraction Architecture** (Specs 211-214)
62+ - Single-pass parsing for Rust files via ` UnifiedFileExtractor `
63+ - Extraction adapters for consistent data transformation
64+ - Eliminated redundant AST traversals
65+ - Complete file parsing migration to unified extractor (Spec 204)
66+ - Consolidated god object detection to extraction adapter (Spec 212)
67+
68+ - ** God Object Default Role**
69+ - Changed default role classification from ` Orchestrator ` to ` PureLogic `
70+ - More accurate default assumption for unclassified structs
71+
72+ - ** Scoring Improvements**
73+ - Isolated components now contribute zero dependency risk
74+ - Continuous (non-stepped) scoring for git history risk
75+ - Removed redundant god object warning from score breakdown
76+ - Fixed double-counted god_mult in calculation steps
77+
78+ ### Performance
79+
80+ - ** Parallel Debt Item Scoring** (Spec 196)
81+ - Rayon-based parallel scoring for debt items
82+ - Significant speedup on large codebases
83+
84+ - ** File Line Count Caching** (Spec 195)
85+ - Per-file line count caching eliminates redundant file reads
86+
87+ - ** Shared Context Detection**
88+ - ContextDetector shared across parallel metric processing
89+ - Eliminated redundant file I/O in Phase 3 analysis
90+
91+ ### Internal (Refactoring)
92+
93+ - ** God Object Remediation**
94+ - Split ` ResultsApp ` into focused modules (navigation, rendering, state)
95+ - Decomposed ` unified.rs ` god module into focused submodules
96+ - Split ` analyze.rs ` command into focused modules
97+ - Split ` validate.rs ` into focused modules
98+ - Split ` cfg_builder.rs ` into focused modules
99+ - Extracted clustering module from god object analysis
100+ - Decomposed ` evidence_calculator ` into focused modules
101+ - Split ` effects.rs ` into focused modules
102+ - Split ` trait_registry.rs ` into focused modules
103+ - Split ` module_structure.rs ` into focused modules
104+ - Unified TUI copy with rendering via shared builders
105+
106+ - ** Nesting Calculation Consolidation** (Specs 201-203)
107+ - Single source of truth for nesting depth calculation
108+ - Comprehensive test coverage for nesting scenarios
109+ - Fixed else-if chain nesting calculation (Spec 198)
110+
111+ - ** God Object Extraction Adapter Rewrite** (Spec 197)
112+ - Complete rewrite of extraction adapter for cleaner architecture
113+
114+ ### Fixed
115+
116+ - TUI progress updates throughout all analysis stages
117+ - Correct calculation steps displayed for god objects vs functions
118+ - Detailed calculation steps shown for god objects in TUI
119+ - Dampened cyclomatic calculation using correct input
120+
10121## [ 0.9.2] - 2025-12-13
11122
12123### Added
0 commit comments