--- id: "987721b8-e70a-46b5-b5db-af8537e5d064" number: 162 title: "Slash commands foundation for custom CLI" status: "closed" priority: "high" sprint: null links: [] agentRefs: [{"agentId":"fe887179-933f-47d4-960f-c3b06827f86c","role":"assigned"}] attachments: [] createdBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} updatedBy: {"kind":"agent","agent_id":"1ff94b51-3e17-4a39-8543-7715d1ff0f80"} createdAt: 1786017501892 updatedAt: 1786020774315 version: 6 --- Foundation ticket for the custom CLI slash-command system. Build a command registry/execution model for agent-local IdeA commands exposed to the custom CLI, starting with native commands such as `/help` and `/clean`. Product decision: `/clean` clears the current conversation/session view; do not introduce a separate `/reset` command unless it gains a clearly distinct product meaning. Must provide a stable contract to list commands, filter them by prefix, expose metadata needed by UI (name, short description, availability, whether confirmation is required), and execute a selected command. Goal: frontend should consume one unified command source, regardless of whether commands are native IdeA commands or future plugin-provided commands.