cordis_inspect_query failures now carry InspectError codes for unknown
providers and methods, invalid input or output, a missing Client page or
registry disposal, the Client deadline, and Host provider failures
without their own HarnessError (INSPECT_FAILED, original error as
cause). Cancellation rethrows the signal's reason instead of a plain
cancellation message. tool-cordis reports a missing Agent or Loader as
ToolContextUnavailableError, malformed Config paging as ToolArgsError,
and an unknown entry id as INSPECT_TARGET_NOT_FOUND.
Tools a dynamic plugin defines through harness.defineTool now fail with
PluginToolError: PLUGIN_TOOL_FAILED for a thrown value, keeping its
message and any string code in the message, and
PLUGIN_TOOL_INVALID_RESULT for a non-JSON result. HarnessErrors and
failures after cancellation keep their identity.
Refs #7869