Module tool_result

Module tool_result 

Source
Expand description

Tool execution result with cryptographic verification

This module provides the ToolResult type which wraps tool output with a SHA-256 hash for Merkle tree integration.

§VEX Innovation

Every tool execution result is automatically hashed, enabling:

  • Cryptographic proof of tool execution
  • Merkle tree integration for audit trails
  • Tamper-evident logging

§Security Considerations

  • Hash includes timestamp to prevent replay attacks
  • Deterministic serialization ensures consistent hashing
  • Output is NOT sanitized here (responsibility of the tool)

Structs§

ToolResult
Result of a tool execution with cryptographic verification data.