ReqManagedAgents.Evidence.Correlation.Target (ReqManagedAgents v0.13.2)

Copy Markdown View Source

An explicit namespaced link, with structured application and coding-session identities.

Summary

Functions

Rejects extra target fields and paths, URLs or whitespace in origin identities.

Types

namespace()

@type namespace() ::
  :record
  | :session
  | :thread
  | :trace
  | :span
  | :tool_use
  | :application
  | :origin

t()

@type t() :: %ReqManagedAgents.Evidence.Correlation.Target{
  harness: :claude_code | :codex | nil,
  id: String.t() | nil,
  namespace: namespace(),
  request_id: String.t() | nil,
  session_id: String.t() | nil,
  step_id: String.t() | nil,
  workflow_id: String.t() | nil
}

Functions

new(attrs)

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

Rejects extra target fields and paths, URLs or whitespace in origin identities.