Skip to content

Schema: actor_identity

The acting principal, with optional agent/factory framing. ``principal_id`` is the stable principal (a person account, an agent identity, a service, a factory role) — the *server* resolves it to the authenticated principal at ingestion; this field is producer-side attribution only. ``display_name`` is mutable presentation, never identity: renames change it, identity does not (LW-01).

A shared building block of the event model.

Generated from src/spec_kitty_events/schemas/actor_identity.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Listed on the Shared event-model types hub.

Diagram

ActorIdentityStructure of the JSON Schema ActorIdentity.$defs   $idspec-kitty-events/actor_identity$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionThe acting principal, with optional agent/factory framing. ``principal_id`` is the stable principal (a person account, an agent identity, a service, a factory role) — the *server* resolves it to the authenticated principal at ingestion; this field is producer-side attribution only. ``display_name`` is mutable presentation, never identity: renames change it, identity does not (LW-01).properties   required   titleActorIdentitytypeobjectAgentProfileRef   FactoryAttemptRef   additionalProperties☐ falsedescriptionThe agent profile a principal acted through — distinct from the principal itself (LW-01: principal, agent profile, session, and factory attempt are four different identities, never collapsed into one). Valid for every ``principal_kind``: they are independent identity dimensions, not exclusive modes — a factory worker retains both its profile/harness identity and its job/attempt attribution, and a human may act through an agent profile. Only ``principal_kind='agent'`` *requires* one (a bare agent principal is ambiguous).properties   required   titleAgentProfileReftypeobjectharness   model   profile_id   maxLength32pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$titleHarnesstypestringanyOf   default␀titleModel      maxLength64pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$typestringtypenullanyOf   default␀titleProfile Id      maxLength128pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$typestringtypenullharnessadditionalProperties☐ falsedescriptionThe factory job/attempt an observation was produced under (planning #2270 binds these into continuous missions). Distinct from the session and the principal: one attempt may span sessions and one session may outlive several attempts.properties   required   titleFactoryAttemptReftypeobjectattempt_id   job_ref   maxLength128minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$titleAttempt IdtypestringanyOf   default␀titleJob Ref      maxLength240pattern^[A-Za-z0-9][A-Za-z0-9._@+/-]{0,239}$typestringtypenullattempt_idagent_profile   display_name   factory_attempt   principal_id   principal_kind   anyOf   default␀      $ref#/$defs/AgentProfileReftypenullanyOf   default␀titleDisplay Name      maxLength128minLength1typestringtypenullanyOf   default␀      $ref#/$defs/FactoryAttemptReftypenullmaxLength128minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$titlePrincipal Idtypestringenum   titlePrincipal Kindtypestringhumanagentservicefactoryprincipal_kindprincipal_id
Structure of the JSON Schema ActorIdentity.

Properties

  • agent_profile (AgentProfileRef | null)
  • display_name (string | null)
  • factory_attempt (FactoryAttemptRef | null)
  • principal_id (string, required)
  • principal_kind (enum: human, agent, service, factory, required)

AgentProfileRef

The agent profile a principal acted through — distinct from the principal itself (LW-01: principal, agent profile, session, and factory attempt are four different identities, never collapsed into one). Valid for every ``principal_kind``: they are independent identity dimensions, not exclusive modes — a factory worker retains both its profile/harness identity and its job/attempt attribution, and a human may act through an agent profile. Only ``principal_kind='agent'`` *requires* one (a bare agent principal is ambiguous).

  • harness (string, required)
  • model (string | null)
  • profile_id (string | null)

FactoryAttemptRef

The factory job/attempt an observation was produced under (planning #2270 binds these into continuous missions). Distinct from the session and the principal: one attempt may span sessions and one session may outlive several attempts.

  • attempt_id (string, required)
  • job_ref (string | null)

Source

Schema file: schemas/actor_identity.schema.json