Documentation
¶
Overview ¶
Package identity answers "who is acting" the same way for every caller — the CLI, the TUI, and the core gate — so a ticket is attributed and owned consistently no matter which one wrote to it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Current ¶
Current determines who is acting, preferring git's configured name so tickets are attributed the same way commits are. dir scopes the git lookup to a particular repository.
func Slug ¶
Slug reduces name to a string safe as a path component: lowercase, [a-z0-9-] only, with runs of anything else collapsed to a single dash and no leading or trailing dash. A name that reduces to nothing gets a non-empty fallback, since an empty path component would silently write to the parent directory.
Types ¶
This section is empty.