harbor run -t openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-2064harbor download openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-2064Title: Implement a root-only activate subcommand for a ZFS pool with persistent storage path configurable via IOCAGE_ACTIVE_POOL_FILE
Body: I’m building a small iocage-like system in Python and want a root-only CLI command to activate a ZFS pool and persist the active pool to a known storage location that tests (via a zfs fixture) read to reflect the active pool.
What I need to implement (concrete requirements)
Project structure (Python, standard library only)
Behavior and tests alignment
Edge cases
Deliverables
Example usage
Code skeleton (for reference)
storage.py
cli.py
If you have a minimal, working implementation (or pointers to a clean pattern that satisfies the above criteria), I’d appreciate an example you’ve used that passes these acceptance tests.