Skip to content

Commit 17cda56

Browse files
xiaoan17xiaoan17
andauthored
fix(canary): lower the stale collaboration_mcp module ceiling (#7646)
`loopx/canary/module_metric_baseline.json` records a reviewed ceiling for every module that exceeds the coarse 2000-line default. `loopx/collaboration_mcp.py` was recorded at 2058 lines, but two later changes moved that decision into the typed owner and the module now measures 1924 lines. The entry still claims an exception the module no longer needs, and `tests/canary/test_maintainability_ratchet.py:: test_current_repository_debt_is_reviewed_without_line_count_pins` fails on main: ``` assert 1924 > 2000 ``` The entry is removed rather than lowered: with the module back under the default limit, the default limits are the honest bound and no reviewed exception is required. The module's other metrics are 0 for both the `Any` and the `dict[str, Any]` counts, so the default limits hold on every metric. Validation: tests/canary/ 89 passed on main 2a23237, and examples/control_plane/control-plane-maintainability-ratchet-smoke.py is ok with unreviewed 0 and stale_exceptions 0. Signed-off-by: xiaoan17 <anbc1224@gmail.com> Co-authored-by: xiaoan17 <anbc1224@gmail.com>
1 parent 623146c commit 17cda56

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎loopx/canary/module_metric_baseline.json‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@
4646
"loopx/chat_store.py": {
4747
"lines": 2066
4848
},
49-
"loopx/collaboration_mcp.py": {
50-
"lines": 2058
51-
},
5249
"loopx/codex_cli_probe.py": {
5350
"any_count": 37,
5451
"dict_any_count": 0

0 commit comments

Comments
 (0)