Dear Dean,
i also got this issue, and config the hooks in subagentStart as your mentioned.
However, this seem only affect the ui, which is showing Couldn't startand hook log, but the agent still running. Request ID: cf6bbf09-aea4-46c0-a6a9-d68ffd8cfd19

