What grows: the doctor's growth group (sizes, versions, retention, submissions, KV, unused media, disk) with thresholds, expired mail-service nonces swept, opt-in forms.submissionRetentionDays, docs

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 14:48:35 +01:00
co-authored by Claude Opus 5.5
parent 6b16b9f933
commit 8991867e01
21 changed files with 729 additions and 7 deletions
+5
View File
@@ -7,9 +7,13 @@
*/
export { DOCTOR_USAGE, expandSites, parseDoctorArgs, runDoctorCli } from '../modules/doctor/cli.js'
export { formatDriftTable, formatReport } from '../modules/doctor/format.js'
// What grows (docs/performance.md → "What grows"): the deep collector, the rules and their thresholds
export { collectGrowth } from '../modules/doctor/growth.js'
export type { GrowthStatus } from '../modules/doctor/growth.js'
export { bareHost, createDoctorContext, loadDoctorConfig, parseEnvFile, readAuditSkips } from '../modules/doctor/project.js'
export type { DoctorContext } from '../modules/doctor/project.js'
export { planSkills } from '../modules/doctor/rules/agents.js'
export { folderBytes, GROWTH_DEFAULTS, growthRules } from '../modules/doctor/rules/growth.js'
export { DEFAULT_SRC_ALLOW, findFrontend } from '../modules/doctor/rules/layout.js'
export type { FrontendLayout } from '../modules/doctor/rules/layout.js'
export { createLiveFetcher } from '../modules/doctor/rules/live.js'
@@ -30,6 +34,7 @@ export type {
DoctorStatus,
RuleFinding,
} from '../modules/doctor/types.js'
export type { GrowthThresholds } from '../modules/doctor/types.js'
// Performance budgets (docs/performance.md): the defaults, a project's own on top, and the check the gate runs
export { IMAGE_RULES, overBudget, PERF_BUDGETS, perfBudgets, SERVER_BUDGET } from '../modules/performance/budgets.js'
export type { PerfBudget, PerfMeasurement, PerfProfile, ServerBudget } from '../modules/performance/budgets.js'