User-defined conditional prompts with session-end reminders

Author: tomzxCreated Sep 22, 2026Updated Sep 22, 2026
Labelsenhancement

Background

Users often wrap up a coding session without running the follow-up prompts that add value afterward, such as a session review or a codebase consistency pass. This feature adds a user-defined list of prompts that appear conditionally, so the right prompt is suggested at the right moment. The initial goal is a reminder at the end of a session suggesting a configured prompt, for example one that reviews the session or keeps the codebase consistent.

Version

336e192

Acceptance Criteria

Must

  • Users can create, edit, and delete prompt entries, each with a name and prompt text
  • Created, edited, and deleted prompt entries persist across app and session restarts
  • Each entry supports a display condition, and session end is a supported condition
  • When a prompt condition matches, the UI surfaces it with a one-click way to run it
  • Prompts whose conditions do not match are never surfaced

Should

  • Conditions can use session context such as idle time or message count
  • Prompt configuration supports both global and per-project scope
  • Running a suggested prompt works for both the current session and a new session
  • A surfaced suggestion can be dismissed without running it, and dismissed prompts do not re-surface for that session
  • "Session end" is defined explicitly (for example, the moment the user closes or switches away from a session) and the reminder fires once per qualifying event

Created with create-issue via glm-5.3-flash (32191b8)