harbor run -t openthoughts/tasktrove-mix-h7-raw-volume-5k-v2-mix-h7-raw-volume-2630harbor download openthoughts/tasktrove-mix-h7-raw-volume-5k-v2-mix-h7-raw-volume-2630Task: Implement a Python CLI tool to run embedded shell doctests from a documentation file
Overview Build a command-line utility (docshtest) that reads a documentation file (RST-like) containing embedded shell doctests and executes them, comparing actual shell output to the documented expected output. The tool should report per-block results (success, ignored, or failure with a diff) and support various customization hooks described in the documentation.
Required functionality
Input and usage
Block extraction from the file
Command execution and output capture
Meta commands and conditional behavior
Output and reporting
Edge cases and compatibility
Deliverable