mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 11:38:13 +01:00
app/projects was 79 files and half of all app code -- an e-government
platform with a whitepaper, open-law, open-vote, open-pay, a transparency
portal and agency/employee directories. app/solutions was another 7 routes.
Nothing linked to either. lib/routes.ts declared PROJECTS: '/projects' and
no file imported it; there were zero inbound hrefs from any nav, footer or
page. But both were statically generated on every build and served publicly,
so they cost a build slot and an audit read each time while no visitor could
reach them.
Also removed, dead once those trees went (verified: no remaining importers):
components/governance/, components/SolutionLayout.tsx,
components/navigation/NextSection.tsx, lib/governance/,
types/governance.ts, data/solutions.json
app/ drops from 26,821 to 13,101 lines. 68 routes remain, all reachable.
Deliberately NOT removed: /personal and its bot templates. That surface is
linked from the homepage and the footer and it works, so removing it is a
product decision rather than cleanup.
Recovering any of this is one command:
git checkout f70fc612 -- app/projects app/solutions components/governance
verify: format, lint, typecheck, 240 tests, build -- all green.
Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>