pub enum Opening {
FromJob,
Inherited,
WithPerson,
}Expand description
How the first user message opens: kernel’s, because run_started
records it (crates/kernel/Spec.lean §8-82-1).
How a run’s first user message opens.
Exhaustive, and the choice is made once by the city that wrote (or did not write) the job file. It is not a formatting preference: a session working from an assignment and a session talking with the person want different first words, and inferring which from an empty string would make the emptiness of a goal mean two things.
It lives here rather than beside the conversation that writes it
because run_started records it, and the ledger’s payloads are this
crate’s; runtime::conversation re-exports it.
Variants§
FromJob
Somebody wrote the task down; the job file’s text is in the prefix.
Inherited
Somebody wrote the task down for a mother, and a branch is rebuilding her conversation: her job file lives in her room, not in the branch’s prefix, so the task travels in the message.
WithPerson
Nobody did; the person is on the other side of this message.