Skip to content

Harness: tell the model to stop when the user denies a permission in the desktop app #276

Open

Description

@GoDiao

Part of #270. Finding: T-INJ-03.

A denial in the desktop app reaches the model as "User denied via UI" (src/server/services/conversationService.ts:572). It does not say to stop and wait, and the user cannot add a reason. The terminal version and ZCode send the standard rejection text and let the user add feedback.

What to do

  • Use the CLI's standard rejection text.
  • Let the user optionally type a reason in the permission prompt; when present it is passed to the model. New UI text goes through i18n (en.ts and zh.ts).

Done when: a server test shows the message the CLI receives for a denial with and without a reason; the desktop prompt is checked in both themes and both languages.

Activity

  1. added
    bug
    help wanted
    area:desktop
    area:i18n
    difficulty:2
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:desktoparea:i18nbugdifficulty:2help wanted

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions