harbor run -t openthoughts/tasktrove-exp-rpt-stack-php-large-v6-stack-php-4099harbor download openthoughts/tasktrove-exp-rpt-stack-php-large-v6-stack-php-4099Task: Implement the Composer Locker functionality under /app/
Goal Create a self-contained Locker class (and a small in-memory repository) that satisfies the PHPUnit tests provided. The Locker must manage a lock file’s state, generate a locked repository from the lock data, write lock data in a specific structure, and verify the lock file’s freshness against the content used to generate it.
Deliverables (placed under /app/)
File layout suggestion
Behavior validation against tests
Actionable implementation notes
End result A fully implemented Locker class and a minimal in-memory locked-package repository under /app/ that pass all provided PHPUnit tests by faithfully reproducing the expected lock-file handling, data structure, and freshness logic.