Skip to content

Clarify and protect immediate key and learning actions in the Cancel-based settings dialog #43

Closed

Description

@CompleteDotTech

Problem

Save key, Clear, and Reset learning persist immediately, while ordinary settings are drafts. Cancel, Escape, and backdrop dismissal discard ordinary settings but cannot undo those actions. The dialog does not explain this mixed persistence model, especially for learning reset.

Triage

  • Original finding: 4 of 11.
  • Priority: P2. Schedule as a normal correctness/feedback fix.
  • Classification: Confirmed behavior/source defect.
  • Inspected current main: 3c2bb240059b3e1bec9264f1e57fa885096c6bf9 (2026-10-01).

Evidence

Source-confirmed: these buttons call routing:setKey, routing:clearKey, and routing:reset directly, independently of the bottom Save. This is a transaction/wording defect; immediate credential actions may remain intentional.

Source: apps/desktop/src/renderer/components/SettingsDialog.tsx:149, apps/desktop/src/renderer/components/SettingsDialog.tsx:163, apps/desktop/src/renderer/components/SettingsDialog.tsx:228.

Acceptance criteria

  • Make the persistence model explicit: stage applicable changes until Apply, or clearly separate and label immediate actions.
  • Protect irreversible learning reset with an explicit confirmation or a supported undo; specify Cancel/Escape/backdrop semantics.
  • Verify credential operations do not expose secrets to renderer state, logs, fixtures, or screenshots; use fake storage in tests.

Coordination and validation

Related issues: #48 (finding 9), #50 (finding 11). These are coordination links, not hard blockers.

Recommended sequence: fix transport enforcement/setup invalidation and policy constraints first; coordinate draft testing/status and persistence semantics; then reorganize the UI and add advanced controls. Independent fixes may proceed without artificial dependencies.

Use offline fixtures/fake transports for automated checks. Coding turns remain CLI-only; do not launch live agents or weaken approval/sandbox behavior. Implementation PRs must use their own worktree, update docs/status.md as applicable, and run required build/unit/UI checks. This issue publishes scope and acceptance criteria; no production fix or live-provider verification is claimed.

Activity

  1. added a commit that references this issue on Oct 3, 2026
    d9414b5
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions