harbor run -t openthoughts/tasktrove-exp-rpt-pr-pr-1663harbor download openthoughts/tasktrove-exp-rpt-pr-pr-1663Task instruction for implementing diary-phonebook-cli-automation-benchmark
Overview Based on the commit message, you need to implement a small, self-contained Python command-line interface (CLI) named diary_cli.py. The CLI must operate entirely on a local file Diary.txt in the current working directory and provide core diary/phonebook functionality suitable for automation benchmarking. The expected features include adding records and listing all records, with a clean, self-contained design and no external dependencies.
What needs to be changed/added
Pre-commit file contents (starting state) The agent should treat the following as the starting point for the repository’s pre-commit state. Include this exact content in a code block to reflect the initial condition:
# Placeholder — original code before the change
pass
Files to modify (in /app/)
What the agent should implement (behavioral outcomes, not exact code)
Testing and validation guidance (examples you can provide to the agent)
Acceptance criteria
Notes