How would you invoke the subagent? Can a HookResponse cause a subagent to be invoked, to perform analysis on the action taken and then inject that back into the main loop?
Or would the hook invoke another instance of claude code?
I just read through the hook docs and I’m a bit fuzzy on the bidirectionality of it.