scripts/dead-code-budget.json
Rama main · réplica de lectura del repositorio original.
{
"_comment": "Ceiling for dead-code suppressions across crates/, counting both `#[allow(dead_code)]` and `#[expect(dead_code)]`. `total` is the sum and is the ratcheted figure. It may go down freely; raising it needs a reviewer to say why in the PR. Regenerate with: python3 scripts/check-dead-code-budget.py --update",
"_issue": "https://github.com/codewhale-hq/CodeWhale/issues/4785",
"_expect_blind_spot": "Until #6241 this gate counted only the `allow` spelling, so rewriting an allow as an expect lowered the number without removing any dead code. The ceiling was re-based to the true combined count when that was fixed; it is not a regression.",
"total": 121,
"allow_total": 89,
"expect_total": 32,
"per_crate": {
"app-server": {
"allow": 1,
"expect": 3
},
"app-server-protocol": {
"allow": 2,
"expect": 0
},
"cli": {
"allow": 0,
"expect": 1
},
"engine": {
"allow": 17,
"expect": 2
},
"lsp": {
"allow": 2,
"expect": 0
},
"palette": {
"allow": 9,
"expect": 0
},
"runtime": {
"allow": 8,
"expect": 4
},
"sandbox": {
"allow": 2,
"expect": 0
},
"skill-install": {
"allow": 0,
"expect": 2
},
"skills": {
"allow": 9,
"expect": 0
},
"snapshot": {
"allow": 1,
"expect": 0
},
"tools": {
"allow": 2,
"expect": 0
},
"tui": {
"allow": 36,
"expect": 20
}
}
}