test(mutation): мутант бюджета входа автора превышает бюджет сам (#680)

После волны 3 маршрут автора — 5,4 тыс. слов из 12 тыс.: мутант
`entry-cost-author-route-over-budget` добавлял 2 000 слов и оставался
зелёным. Теперь патч сам больше бюджета (12 001 слово), и свидетель краснеет
независимо от длины остального маршрута.

Issue: #680
User-Visible: no
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018qZfe7YS4rqEMKoVeS3GKd
This commit is contained in:
Claude
2026-09-27 22:33:04 +03:00
parent 4bc3e9baa6
commit fdde46541e
+3 -2
View File
@@ -10094,11 +10094,12 @@ const MUTANT_DEFINITIONS = [
id: 'entry-cost-author-route-over-budget',
guard: 'node --test --test-name-pattern="#634 entry-cost: вход автора" test/entry-cost.test.mjs',
because: 'AC1 #634: the author entry route stays within 12 000 words; a digest that grows '
+ 'back into the canon must redden the measurement, not the next audit',
+ 'back into the canon must redden the measurement, not the next audit. The patch alone '
+ 'exceeds the budget (#680 halved the route, and 2 000 extra words stayed green)',
patches: [{
file: 'docs/process/AUTHOR.md',
find: '## Запрещено\n',
replace: `## Запрещено\n\n${'слово '.repeat(2000)}\n`,
replace: `## Запрещено\n\n${'слово '.repeat(12001)}\n`,
}],
},
{