microduck_rl
microduck_rl: seguridad entre simulación y robot
Activos, checkpoints, telemetría, control y recuperación.

Qué aprenderás
- Map environment, simulator, and runner
- Run a reproducible simulation
- Identify sim-to-real gates
Antes de empezar
- Basic Git and command-line usage
- Comfort reading a project README
You can explain the project, run its documented first step, and decide what to verify before adopting it.
Conclusiones clave
- Simulation credentials and hardware controls are different trust zones.
- Watchdogs and stops must be independent.
- Telemetry and checkpoints need retention and incident plans.
Protect assets and data
El entrenamiento no accede al hardware por defecto; separa redes, limita actuadores y usa watchdog y parada independientes.
Use the pinned source evidence, record versions and assumptions, and ask a qualified reviewer to validate the result before adopting it.
Constrain actions
Training code should not reach hardware by default. Separate simulation, export, and control networks; require allow-listed interfaces, actuator limits, watchdogs, and operator approval for trials.
Recover
Monitor divergence, crashes, runaway actions, disk growth, and stale checkpoints. Rehearse stop, revoke, quarantine, restore, and deletion with an independent emergency stop.
Use the pinned source evidence, record versions and assumptions, and ask a qualified reviewer to validate the result before adopting it.
Cómo elegir
| Criterio | Opción A | Opción B |
|---|---|---|
| Best when | You need predictable behavior and easy auditing | You need adaptive optimization and have reliable telemetry |
| Main risk | May leave performance on the table | Can become difficult to explain or debug |
Pasos de implementación
- 1
Inventory assets, interfaces, credentials, and owners.
- 2
Isolate simulation and hardware networks.
- 3
Gate export/control with limits and approvals.
- 4
Monitor, stop, quarantine, and restore.
Ejemplo para copiar
simulation worker -> bounded policy
export -> reviewed adapter + limits
control link -> watchdog + emergency stop
incident -> stop/revoke/quarantine/restorePreguntas frecuentes
Can a policy process own the emergency stop?
No. Use an independent, qualified stop mechanism controlled by the robot safety system/operator.
Should checkpoints be public?
Only after reviewing asset licenses, telemetry privacy, and potential misuse.
Fuentes
- microduck_rl repositoryFuente verificada 2026-08-31