Session: enforce startup sequence on bare reset greeting

This commit is contained in:
Vignesh Natarajan
2026-02-20 20:38:42 -08:00
parent 7417c36268
commit cd6bbe8cea
5 changed files with 6 additions and 1 deletions

View File

@@ -229,6 +229,7 @@ export async function runGreetingPromptForBareNewOrReset(params: {
expect(getRunEmbeddedPiAgentMock()).toHaveBeenCalledOnce();
const prompt = getRunEmbeddedPiAgentMock().mock.calls[0]?.[0]?.prompt ?? "";
expect(prompt).toContain("A new session was started via /new or /reset");
expect(prompt).toContain("Execute your Session Startup sequence now");
}
export function installTriggerHandlingE2eTestHooks() {