Skip to main content

CREATOR_SESSION_PREFIX

Constant CREATOR_SESSION_PREFIX 

Source
pub const CREATOR_SESSION_PREFIX: &str = "creator:session=";
Expand description

Tag prefix carrying the short session id of the writer (issue #202).

Why: when a session UUID is already attached as a bare tag, the TUI activity panel cannot easily pick it out of the tag list. Emitting a dedicated creator:session=<first-8> tag puts the session shorthand in the same reserved namespace as the rest of the attribution data so the dashboard / TUI can render it without bespoke parsing. What: prefix string; the suffix is the first 8 hex characters of the originating UUID. Test: session_tag_from_tags_returns_first_uuid_short.