Skip to main content

Module actor

Module actor 

Source
Expand description

The actor convention: who or what performed an action.

Fields that record an identity (generated.by, verified[].by, and sources[].author) share one convention:

FormMeaningExample
<producer>/<version>an agent or toolreference_agent/gemini-2.5-pro
human:<id>a personhuman:ahormati
process:<id>an automated processprocess:finance-nightly

The human: prefix is significant: trust tiers are derived from it, so Actor::is_human is the single place that decision is made.

Anything else parses as ActorKind::Other rather than an error. The spec itself writes author: team:ga4-docs, so other <scheme>:<id> forms do occur in practice; a consumer must keep them, not reject them.

Structs§

Actor
A parsed actor string, retaining the text exactly as written.

Enums§

ActorKind
The category an actor string falls into.