Skip to content

Turning down a sign-in stops work on that site and says so - #46

Merged
ahamsel merged 1 commit into
mainfrom
claude/sign-in-decline
Sep 28, 2026
Merged

ahamsel merged 1 commit into
mainfrom
claude/sign-in-decline

Conversation

@ahamsel

@ahamsel ahamsel commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Why

After #45, skipping a confirmation means "leave it undone and carry on". For a sign-in, carrying on doesn't make sense: nothing behind it can be reached. In practice, Jev wandered the sign-in page ("Forgot password", scrolling). The planner then retried the sign-in (auto-refused) before answering. That took 20–40s.

What changed

  • When the user skips a sign-in, fast mode stops working on that site at once. The handoff reason is "The user chose not to sign in to ."
  • The planner, including when a delegated Jev run stops this way, is told:
    • don't try again or work around it;
    • finish any part of the task that doesn't need that site;
    • answer right away: say what couldn't be done, and that the user can sign in in the tab (or allow it) and ask again.
  • The flight log says "skipped" instead of "cancelled" for a declined confirmation.

Results

Fixture sign-in page, pre-filled like a password manager, with the user skipping: 2.3s, one LLM call. The answer:

I was unable to check your next appointment because accessing your student portal requires signing in, which was declined. Please sign in directly in this tab (or allow the sign-in request when prompted), and then ask again.

  • npm test: 72/72, including a new test that a declined sign-in stops fast mode at once with nothing clicked.
  • The smoke cases sign_in_asks_first (now also requires the answer to mention signing in) and sign_in_allowed pass.

🤖 Generated with Claude Code

Skipping a sign-in confirmation made fast mode wander the sign-in page and the
planner retry the sign-in (auto-refused) before answering, 20-40s. Now fast
mode stops at once, the planner is told not to try again, to finish any part
of the task that doesn't need the site, and to answer: what couldn't be done
and that the user can sign in in the tab and ask again. 2.3s on the fixture.
The flight log says "skipped" rather than "cancelled".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ahamsel
ahamsel merged commit 12fc11a into main Sep 28, 2026
1 check passed
@ahamsel
ahamsel deleted the claude/sign-in-decline branch September 29, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant