harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-2669harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-2669You are given a scaffolded Python module that defines a MoveContactsTool class and a small CLI interface with several NotImplementedError stubs. Your task is to fill in these stubs to produce a working, well-behaved CLI tool that loads, processes, and writes JSON data as described in the docstrings and intended by the tests.
What you need to implement (high level, no code shown):
MoveContactsTool.load_groups
MoveContactsTool.load_pages
MoveContactsTool.write_pages
MoveContactsTool.process
parse_args
main
How the pieces fit together (flow outline you should implement, without revealing exact code):
What to consider for testing and robustness:
Files to modify (in /app/):
Tests and execution:
Notes:
Important: place your implementation at /app/app/move_contacts.py so the tests can import app.move_contacts.