CODE-021: be/ JS dedup — net ≥1000 LoC reduction target + accounting

A 7-agent re-scan of be/ (JS jab; ~65 files, 15,711 LoC; 2026-07-03) quantified the CODE-020 duplication as ~900–1,050 net-removable LoC (~6–7% of the tree), dominated by ~12 recurring micro-helpers. This ticket sets an explicit ≥1000-LoC net-deletion GOAL for the be/ dedup and tallies landed savings against it, so CODE-020's extraction TODOs are measured, not vibes. It also captures extraction opportunities the CODE-020 list omitted (verb-entry factory, beCtx shim, intra-file twins in spot/bro/store/argline). Accounting-only: the mechanical work lands under CODE-020; this page holds the budget and the running tally. JS-only, behavior-preserving; net LoC = lines deleted minus lines added for the shared homes.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome