fix(core): keep the status facade within its reviewed line ceiling #9685
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.48) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 393 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.358
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #9685"
general
weight: 0.35
loopx-agent
Goal And Delivered Outcome
mainsince #9511; no issue.loopx/status.py, taking it to 1343 lines against its reviewed 1339 ceiling inloopx/canary/module_metric_baseline.json.tests/canary/test_maintainability_ratchet.py::test_current_repository_debt_is_reviewed_without_line_count_pinstherefore fails onmainand on every PR rebased onto it (unreviewed finding: module_metric_budget:loopx/status.py).module_metrics(loopx/status.py)lines 1343 → 1339; the ratchet test fails → passes.mainat1af849a8a.Author Declaration
Implemented against
loopx/status.pyinloopx/canary/module_metric_baseline.jsonat1af849a8a, and the precedent in99c47864f("preserve status maintainability budgets"), which compacted wrapped arguments instead of raising the ceiling.| Criterion (spec clause) | Disposition | Symbol / path | Test or command |
| --- | --- | --- | --- |
|
status.pywithin its reviewed line ceiling | implemented |collect_status,collect_global_registry_health|tests/canary/test_maintainability_ratchet.py|| No behavior change | implemented |
loopx/status.py|ast.dumpof base and head identical |Scope And Continuation
Validation
031f72981| Check kind | Result | Public-safe evidence / limitation |
| --- | --- | --- |
|
unit|passed|tests/canary/test_maintainability_ratchet.py: 14 passed (the debt test fails on base). ||
regression_parity|passed|ast.dump(ast.parse(...))of base and headloopx/status.pyidentical. ||
static|passed|loopx canary premerge --from-git-diff --git-diff-base origin/main: 0 failures. |Frontend / Visual Evidence
Type of Change
LoopX Area
Shared-authority RFC fixture impact
N/A
Boundary Checklist
none.Signed-off-bytrailer (git commit -s).🤖 Generated with Claude Code