Expand description
Event context resolution: session ID, harness session ID, git context, and user identity.
These helpers are intentionally placed in the domain layer because the
EventContext type is defined here. The actual filesystem and process
operations use std directly (no external dependencies beyond uuid
which is available transitively).
Structs§
- GitContext
- Git-related context fields.
Functions§
- resolve_
context - Resolve the full
EventContextfor the current CLI invocation. - resolve_
git_ context - Resolve git context (branch, worktree, commit) from the current directory.
- resolve_
harness_ session_ id - Check environment variables for a harness session ID.
- resolve_
session_ id - Resolve (or create) the session ID.
- resolve_
user_ identity - Resolve the user identity for the
byfield.