Agentic.Workspace.Identity
(agentic v0.2.2)
Copy Markdown
Workspace identity file detection and status.
Determines workspace identity status: fresh (no files), partial (some), or established (all present). Used by ContextAssembler for prompt assembly.
Summary
Functions
The list of all workspace files.
Check the identity status of a workspace.
The list of core identity files that trigger onboarding.
Read all workspace files, returning a map of filename to content.
Types
Functions
The list of all workspace files.
@spec check(String.t() | Agentic.Storage.Context.t()) :: %{ status: status(), present: [String.t()], missing: [String.t()] }
Check the identity status of a workspace.
Returns a map with:
:status—:fresh(no identity files),:partial(some), or:established(all three):present— list of existing identity files:missing— list of missing identity files
The list of core identity files that trigger onboarding.
@spec read_all_files(String.t() | Agentic.Storage.Context.t()) :: %{ required(String.t()) => String.t() | nil }
Read all workspace files, returning a map of filename to content.
Missing files have nil as their value.