Frontier: js/web/streams/streams.test.js at corpus position 4183, copied unchanged from ~/Code/bun.
Current result: 0 passed / 1 failed / 1 unsupported. The first failure is TransformStream: undefined is not an object (evaluating this.encoder.encode), showing that transformer methods lose their receiver. A later async pipeline path is still classified unsupported.
Scope:
- Preserve transformer
start,transform, andflushreceiver identity and lifecycle ordering. - Port readable/writable pipeline behavior used by the full copied file, including async settlement and errors.
- Add structured operation/phase/cause/stack diagnostics at transform boundaries without replacing user-thrown identity where the platform contract requires it.
- Add permanent regressions, run the exact corpus file and full Zig build, then update #66 with exact counts.