Stream lifecycle, publish/ack, consumer delivery, retention policy, API endpoints, cluster formation, and leader failover tests ported from Go nats-server reference. 1006 total tests passing.