Skip to main content

Module identity

Module identity 

Source
Expand description

Identity resolution for Joy CLI operations.

Resolves the acting user’s identity from:

  1. Active session (if one exists for any member)
  2. git config user.email (fallback for projects without auth)

AI members authenticate via joy auth --token, which creates a session. There is no self-declared identity override.

Structs§

Identity
The resolved identity of the acting user.

Functions§

has_ai_members
Check whether the project has any AI members.
resolve_identity
Resolve the acting identity for the current operation.