An optional filtered layer produced valid Chrome JSON from a real terminal run. Threaded enter/exit events supported total and nested self-time summaries. A flush guard finished the file on normal exit. Supplying an already-open private writer avoided the builder file helper panic path.
- What worked
- The layer composed with an existing subscriber without a separate exporter service.