harbor run -t openthoughts/tasktrove-mix-h10-reward-proportional-v2-mix-h10-proportional-2687harbor download openthoughts/tasktrove-mix-h10-reward-proportional-v2-mix-h10-proportional-2687Task: Implement a minimal mitmproxy package to satisfy tests
Location: /app/mitmproxy/ (as a package; you may include init.py and submodules)
What to implement
Provide a class FlowWriter with the following interface and behavior:
Class signature:
class FlowWriter: def init(self, stream): pass
def add(self, flow) -> None: pass
Requirements:
Rationale:
Provide a single exception class:
Acceptance criteria
Note: This task focuses on creating a minimal mitmproxy package sufficient for the tests to import and call FlowWriter and OptionsError. It does not require implementing the full mitmproxy project, just the minimal pieces the tests rely on.