What this does though is make that visible. If someone partakes in that bad practice, then the secrets are already sitting in the transcripts on their laptop - this just moves them somewhere shared and permanent. Maybe that's enough to discourage the practice, idk. Still, not strictly your problem, but an interesting one nonetheless.
I'd love a middle layer that preserves enough state to resume and debug while aggressively quarantining obvious secret classes and high-risk blobs. Right now the tradeoff is basically perfect replayability versus shareability, and it feels like there should be a useful middle ground there.