Replace internal task tracking (TODO.md, FINDINGS.md) with structured documentation in docs/. Trim CLAUDE.md to agent instructions only. Co-Authored-By: Virgil <virgil@lethean.io>
Move heavyweight imports out of WASM build via //go:build !js tags: - register.go: encoding/json + text/template (codegen) - pipeline.go: go-i18n/reversal (grammar imprint) - layout.go: replace fmt.Sprintf with string concat Add cmd/codegen/ CLI as build-time replacement for in-browser registerComponents(). Reads slot JSON from stdin, writes WC bundle JS to stdout. Result: 2.90MB raw / 830KB gzip (was 6.04MB / 1.56MB). Makefile gate passes (limit 1MB gzip). Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Virgil <virgil@lethean.io>