tui: add /validate subcommand with high‑risk web validation

- Add /validate slash command
- Plan + execute validations (Playwright MCP preference, curl, python)
- Pre‑validation account setup: auto‑register or manual fallback (opens login)
- Persist credentials in context/validation/credentials.json (usernames logged)
- Update bugs.md and report with validation results + transcript

Also adds Playwright tool support, inline python execution, and UI logs.
This commit is contained in:
kh.ai
2025-11-01 11:19:40 -07:00
parent ae5150c37a
commit 883a108624
6 changed files with 716 additions and 4 deletions

View File

@@ -132,6 +132,13 @@ pub(crate) enum AppEvent {
responder: oneshot::Sender<bool>,
},
/// Prompt the user to register at least two accounts and paste credentials.
/// The responder receives `Some(raw_input)` when the user submits text, or `None` if dismissed.
OpenRegistrationPrompt {
url: Option<String>,
responder: oneshot::Sender<Option<String>>,
},
/// Notify that the security review scope has been resolved to specific paths.
SecurityReviewScopeResolved {
paths: Vec<String>,