InvocationIdentity
Identity of whoever invoked a governance run (human, agent, CI).
InvocationIdentity::__construct()
public function __construct(string $kind, string $id):Parameters
| Name | Type | Description |
|---|---|---|
| $kind | string | Type of invoker (e.g.: "human", "agent", "ci") |
| $id | string | Identifier of the invoker (e.g.: "rodrigo", "claude-code") |
InvocationIdentity::toArray()
public function toArray(): arraySerializes the identity to an array for storage or transmission.