Description: ChallengeMode generates expected ciphertext via runCipher('encrypt', ...) and silently logs errors; the user sees a generic error string in the ciphertext area but there’s no explicit retry action.
Files: components/challenge/ChallengeMode.tsx, lib/hooks/useCipherWorker.ts
Proposed enhancement: Add a “Retry” button when ciphertext generation fails; reset loading/error state and re-run encryption for the same question. Optionally add exponential backoff and only allow retry up to N times per question.
Description: ChallengeMode generates expected ciphertext via runCipher('encrypt', ...) and silently logs errors; the user sees a generic error string in the ciphertext area but there’s no explicit retry action.
Files: components/challenge/ChallengeMode.tsx, lib/hooks/useCipherWorker.ts
Proposed enhancement: Add a “Retry” button when ciphertext generation fails; reset loading/error state and re-run encryption for the same question. Optionally add exponential backoff and only allow retry up to N times per question.