harbor run -t openthoughts/tasktrove-exp-rle-github-issue-v3-5k-github-issue-2295harbor download openthoughts/tasktrove-exp-rle-github-issue-v3-5k-github-issue-2295Title: Implement imx.img API with enums and Cmd* classes (imx/img.py)
Description: Implement a self-contained module imx/img.py that provides enums and a suite of Cmd* classes used by the tests. The goal is to have concrete implementations for command construction, encoding/decoding (export/parse), internal state, and deterministic equality so all tests pass.
What to implement
Notes and guidance
Deliverable
Steps to Reproduce