harbor run -t openthoughts/tasktrove-exp-rpt-stack-dockerfile-v2-stack-dockerfile-0429harbor download openthoughts/tasktrove-exp-rpt-stack-dockerfile-v2-stack-dockerfile-0429Task: Build a PHP CLI Notes Manager with JSON persistence
Overview Create a self-contained PHP CLI application that manages a collection of notes. The app should store notes in a JSON file and expose a small command-line interface with subcommands to add, list, view, update, and delete notes. The project must live under /app/ and use the PHP runtime available in the container. It should demonstrate robust input validation, proper error reporting via JSON on stdout, and safe concurrent access to the storage file.
What to implement
Supported commands (invoked as: php app.php [options])
Input validation and error handling
What to place in /app/
Usage examples (to include in README)
Acceptance criteria
Notes