Context
The sequential Bun corpus frontier is js/third_party/express/express.text.test.ts at position 3964/4708, following HTTP listen integration in #221 and the shared encoded-body groundwork in #220. This contributes to #66.
Acceptance criteria
express.text()parses text/plain bodies, zero-length input, and duplicate middleware safely.- Default/content-type charsets include UTF-8 and KOI8-R, with structured 415 errors before verify callbacks.
- Length, numeric/string limits, identity/gzip/deflate decoding, and inflated-size errors reuse the shared byte pipeline.
- Type functions/arrays and verify callbacks preserve status, type, raw body, message, and stack semantics.
- The copied suite passes with existing todos and is pinned in the permanent third-party gate.