Skip to main content

next_forged_prompt_id

Function next_forged_prompt_id 

Source
pub fn next_forged_prompt_id() -> String
Expand description

Generate a new prompt id for a prompt forge’s own machinery dispatches: a chase nudge, a browser warning, a kick, an auto-continue.

The distinct prefix is a marker, not decoration. The id is the only fact about the sender the CLI carries into the transcript - as a row’s uuid, or the source_uuid of its queued attachment - so a view keys on the prefix to draw the machinery’s words as a work row rather than as the reader’s own, and a reloaded row draws what the live one did. The CLI treats ids as opaque, so the prefix has no wire-protocol effect.