Codebase cleanup · Thu 16 Oct 2026

Two repos, 41 PRs, one day,
nothing broken.

Frontend (blogfronend) and backend (backendcommon). Every merge was checked live before the next one.

Net lines removed

PRs merged

41
17 frontend · 24 backend

Real bugs found and fixed

11
surfaced by honest tests

Production incidents

0
all deploys verified live

Frontend

Backend

Where the lines went

Lines removed vs added, by kind of change. One shared scale.

RemovedAdded
Table view

The test gate stopped lying

Failing tests the CI gate lets through. The old gate hid most failures. Fixing it exposed 150, then the cleanup drove them to 1.

Known failing testsKnown failing blog test files
Table view

Two giant files, split

Lines in the main file, before → after. Routes identical, tests untouched.

Table view

Slowest frontend tests, faster

Seconds per test file, before → after. One flaky test fixed.

Table view

The day, merge by merge

Each dot is a merged PR (UTC). Size shows lines changed. Hover for details.

FrontendBackend
Table view

Bugs the cleanup uncovered

Found because tests started telling the truth, or by review. All fixed and live.

Guards added so it stays clean

Checks that now run on every PR.

Frontend typecheckFull-repo lint, 0 errorsVitest in 4 shards Knip: unused files and deps fail CIFeature map freshness Backend test gate, honest allowlistsRender service tests in the gate Assistant manifest drift testRead-only live QA tool

Left / waiting on you

  • #914 held on Amit's comment
  • Old compose stack on hold
  • Proxy retry for deploy 502s, needs approval
  • Backend Actions disabled on the repo
  • Support read-only grant needs a migration
  • Folder tidy + dead-code guards rest of wave 5
  • Unused routes remove after Oct 30 (logging now)