Um, that does sound kind of like a roguelike
Was it more of an action game, or stealth, or puzzle?
Any specifics about the graphic style, pixel art or just sort of "standard" graphics?
It sounds kinda like Replikator:
https://purmalis.itch.io/replicator
But that one doesn't seem like it's actually gotten a final release yet, so probably not it.
Maybe Heat Signature?
Heat Signature is a game from the developers of Gunpoint where you break into spaceships, make terrible mistakes, and think of clever ways out of them. You take a mission, fly to the target ship, sneak inside, and make clever use of your gadgets to distract, ambush and take out the crew.
store.steampowered.com