Skip to content

Commit b269ecd

Browse files
gtrrz-victorclaude
andcommitted
docs(e2e): correct isDroidStartupDialog detection comment
The comment claimed detection keyed off the dialog title and footer, but the code matches the title and the "exit without trusting" option label. Align the wording with what the function checks. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Entire-Checkpoint: 01KY77DKW5N5C2G0JCJXZJJXN0
1 parent daf7069 commit b269ecd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

e2e/agents/droid.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ func (d *Droid) StartSession(ctx context.Context, dir string) (Session, error) {
237237
// startup dialog (currently the "Trust this folder?" prompt) rather than the
238238
// interactive input box. The dialog renders its pre-selected option as
239239
// "> 1. Trust this folder", so the presence of ">" alone cannot distinguish it
240-
// from the real prompt — we key off the dialog title and footer instead.
240+
// from the real prompt — we key off the dialog title ("trust this folder") and
241+
// its "exit without trusting" option label instead.
241242
// Matching is case-insensitive to stay resilient to Droid re-casing its copy.
242243
func isDroidStartupDialog(content string) bool {
243244
lower := strings.ToLower(content)

0 commit comments

Comments
 (0)