HarnessHookInput
Parameters and properties
Section titled “Parameters and properties”sandboxRequiredSandboxLeaseBorrowed sandbox of the turn; hooks may inspect the repository through it.signalRequiredAbortSignalTurn cancellation signal; asynchronous hooks should honor it.modelRequiredAgentModelNormalized model of the agent running the turn.stepRequirednumberCurrent step number; 0 during session-start.conversationOptionalstring | undefinedCurrent harness conversation identifier when captured.subagentIdOptionalstring | undefinedCurrent subagent run identifier, absent in the main loop.depthOptionalnumber | undefinedDelegation depth; zero for the main loop.

