Commit fc32108
committed
feat(core): slim MCP payloads, fix stale analysis drift, and relicense code to MPL-2.0
- slim MCP summary and finding payloads: summary inventory now returns counts, `metrics` is summary-only, `metrics_detail` exposes the full dump, list/check envelopes expose `base_uri`, and summary/normal finding views drop repeated location `uri` and `priority_factors`
- fix stale analysis drift by bumping cache schema to `2.3`, invalidating stale per-file cache entries after semantic analysis changes, and documenting the new cache compatibility rule
- fix AST normalization side effects that corrupted downstream cohesion metrics and remove duplicated branch logic without changing canonical report schema
- refresh the repository baseline and health snapshot after the analysis fix (`81 -> 85`) and update MCP/docs/tests to lock the new behavior
- relicense repository code to `MPL-2.0`, keep documentation under `MIT`, update package metadata and user-facing license notes, add Mozilla file notices to Python sources, and add directory-level MPL notices for golden fixtures without changing fixture contents1 parent c8086c7 commit fc32108
168 files changed
Lines changed: 1940 additions & 303 deletions
File tree
- .github/actions/codeclone
- benchmarks
- codeclone
- _html_report
- _sections
- domain
- metrics
- report
- docs
- book
- appendix
- scripts
- tests
- fixtures
- golden_project
- golden_v2
- clone_metrics_cycle/pkg
- pyproject_defaults/pkg
- test_only_usage/pkg
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
3 | 13 | | |
4 | 14 | | |
5 | 15 | | |
| |||
11 | 21 | | |
12 | 22 | | |
13 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
14 | 36 | | |
15 | 37 | | |
16 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| 57 | + | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| |||
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | | - | |
77 | | - | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
101 | | - | |
| 104 | + | |
102 | 105 | | |
103 | | - | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
134 | 177 | | |
135 | 178 | | |
136 | 179 | | |
137 | 180 | | |
138 | 181 | | |
139 | 182 | | |
| 183 | + | |
140 | 184 | | |
141 | 185 | | |
142 | 186 | | |
| |||
148 | 192 | | |
149 | 193 | | |
150 | 194 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
154 | 208 | | |
155 | 209 | | |
156 | 210 | | |
157 | 211 | | |
158 | 212 | | |
159 | 213 | | |
160 | | - | |
| 214 | + | |
161 | 215 | | |
162 | 216 | | |
163 | 217 | | |
| |||
182 | 236 | | |
183 | 237 | | |
184 | 238 | | |
185 | | - | |
186 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
0 commit comments