Before reporting a task as finished, run the following commands from the repository root:
npm run formatnpm run lintnpm run typechecknpm run testnpm run buildnode scripts/start.js --profile-load synthetic --prompt "write me a haiku"
Ensure each command succeeds (exit code 0). If any command fails, resolve the issues and rerun the sequence.