Builds the current session's prompt context.
The last-command inputs the session cannot know.
The engine-known prompt facts.
Builds the current session's prompt context.