ReqManagedAgents.Evidence (ReqManagedAgents v0.13.3)

Copy Markdown View Source

Version 1 private managed-agent evidence. The producer dialect is managed_agent_evidence_v1; retention does not authorize browser display.

Evidence.Recorder observes live provider frames and local execution lifecycle events. ReqManagedAgents.Providers.ClaudeManagedAgents.History retrieves persisted Claude session and thread events without assigning local attempt identities. Native interpretation follows each declared source kind when restoring captures; content is dropped by default when constructing captures.

Summary

Functions

Validates versioned decoded JSON, preserving explicitly retained content independently of UI policy.

Renders the public wire fields of a validated capture as a JSON-compatible map.

Functions

from_wire(wire)

@spec from_wire(map()) ::
  {:ok, ReqManagedAgents.Evidence.Capture.t()}
  | {:error, ReqManagedAgents.Evidence.Error.t()}

Validates versioned decoded JSON, preserving explicitly retained content independently of UI policy.

to_wire(capture)

Renders the public wire fields of a validated capture as a JSON-compatible map.