One ledger entry (phoenix_kit_project_work_entries, chain V4): effort
spent on a project (optionally a specific assignment) by an ACTOR that
can be a human (user / staff_person) or an ai_agent — the
boss's unified work ledger. kind fixes the amount's unit:
"time"— minutes"tokens"— token count"cost"— cents
Append-only by convention (corrections are new entries; there is no
update path in PhoenixKitProjects.Ledger). actor_uuid is FK-less —
AI agents aren't users, and the activity log is the audit trail.
Summary
Types
@type t() :: %PhoenixKitProjects.Schemas.WorkEntry{ __meta__: term(), actor_kind: term(), actor_uuid: term(), amount: term(), assignment_uuid: term(), billable: term(), ended_at: term(), inserted_at: term(), kind: term(), metadata: term(), note: term(), project_uuid: term(), source: term(), started_at: term(), updated_at: term(), uuid: term() }