CODE-020: be/ JS duplication — extract shared primitives

An 8-agent quality review of be/ (JS jab; 61 files, ~15kloc; 2026-07-03) found pervasive duplication: ~a dozen low-level primitives re-implemented per file, several with SILENT divergence (hex-length gates in hashlet resolution, three isMeta rule-sets) — a latent-bug surface, not mere untidiness. Tracks behavior-preserving extraction into be/shared/ (and be/view/) via the work loop, one worktree per group, repro-first where reconciling a divergent copy could shift behavior. JS-only; C twin CODE-017/CODE-010, modularity JS-090.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome