PtcRunner.Kernel.InspectionSnapshot (PtcRunner v0.15.0)

Copy Markdown View Source

Owner-bound admitted view of sealed private inspection evidence.

Admission pins each selected .ptcins file, validates every frame and its paired trace semantics, confirms the complete evidence seal, and publishes a capability only after bounded ETS indexes are complete. The owner retains one reader handle per admitted artifact plus derived metadata; evidence payload bytes stay on disk and are read lazily for returned query items.

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

t()

@opaque t()

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

info(snapshot)

@spec info(t()) :: {:ok, map()} | {:error, atom()}

query(snapshot, operation, arguments)

@spec query(t(), PtcRunner.Kernel.InspectionQuery.operation(), map()) ::
  {:ok, map()} | {:error, atom()}

stop(snapshot)

@spec stop(term()) :: :ok