You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The file-size check undercounts: src/courses.rs is 1,667 lines and passes #297
scripts/file-size-lint.sh stops counting at the first #[cfg(test)] at the start of a line. src/courses.rs:567 has one on a single test-only helper, so the check sees 566 lines. Counting the way scripts/panic-check.sh does (stop only when mod follows) gives 1,667, over the 1,500 limit in CLAUDE.md.
It also undercounts src/auth.rs (counts 63 of 629), src/i18n.rs (56 of 565), src/arrange.rs (376 of 778) and about ten others.
scripts/file-size-baseline.txt is stale the other way: it allows src/content.rs 2,187 (now 1,555), src/ai.rs 1,570 (now 1,517) and src/sprint.rs 1,508 (now 1,473), so content.rs could grow by 630 lines unseen.
PR 1: use the panic-check rule in the size check and run --update.
PR 2: split src/courses.rs along its seams:
the registry and cache (Courses, Cache, BuiltinCourse, lines 39-466)
course rows and state (468-627, 941-1062)
undo, redo and AI-run storage (628-940)
files and quotas (1063-1260)
check and record (1262-1376)
projects (1378-1493)
starter files and drafts (1495-1669)
src/content.rs (1,555), src/ai.rs (1,517) and src/sprint.rs (1,473) are next in line once the baseline no longer hides them.
From the code review of 24 November 2026. Line numbers are as of 0.5.0 (2547b36).
Activity