HF RL Explorer

fix(routers): keep gateway and agent-only on a partial update

fix(routers): keep gateway and agent-only on a partial update: a task in github-trending-environments-10k (Harbor dataset). Title: fix(routers): keep gateway and agent-only on a partial update

The task

**Title:** fix(routers): keep gateway and agent-only on a partial update

Part of scalingX/github-trending-environments-10k.