Skip to content

hylo.manip.executor

Package: hylo-manip · Core contracts

executor

How the toolkit reaches the robot. The toolkit never touches an environment: an agent gives it an Executor (hylo-agents bridges it to the kernel, so every action still goes through the SafetyShield and into the trace).

Executor

Bases: Protocol

observation

observation() -> Observation

The latest observation (after the last executed step).

run

run(actions: ndarray) -> dict[str, Any]

Execute (T, action_dim) joint-position targets, one per control step, and block until done or the episode ended. Returns {"steps": executed, "ended": bool, "success": bool | None, "reason": str | None}.

status

status() -> dict[str, Any]

{"step": int, "max_steps": int, "instruction": str | None, "ended": bool}.