Skip to content

Improve Captain#48

Open
DenysKuchma wants to merge 7 commits into
mainfrom
feature/captain-browser-recovery
Open

Improve Captain#48
DenysKuchma wants to merge 7 commits into
mainfrom
feature/captain-browser-recovery

Conversation

@DenysKuchma

@DenysKuchma DenysKuchma commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • adds Captain recovery handling for fatal browser/page errors during test execution
  • restores interrupted test runs by reopening the browser/page and continuing from the last known URL
  • improves Pilot completion review using successful assertion evidence
  • makes screencast cleanup tolerate closed browser/page contexts
  • adds Captain idle/web/test/heal mode support and browser status/recovery tools
  • documents updated Captain capabilities

#32

@DenysKuchma DenysKuchma requested a review from DavertMik June 3, 2026 17:30
Comment thread src/ai/tester.ts
Comment thread src/ai/tester.ts Outdated
Comment thread src/ai/captain/idle-mode.ts
Comment thread src/ai/captain/idle-mode.ts Outdated
Comment thread src/ai/captain/idle-mode.ts Outdated
Comment thread src/ai/captain/idle-mode.ts Outdated
Comment thread src/ai/captain/idle-mode.ts Outdated
Comment thread src/ai/captain/idle-mode.ts Outdated
Comment thread src/ai/tester.ts Outdated
Comment thread src/ai/pilot.ts Outdated
@DenysKuchma DenysKuchma requested a review from DavertMik June 5, 2026 18:57

@DavertMik DavertMik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If regexing the solution looks like a good option

It is always NOT

you should not explicilty list current names of commands

Comment thread src/ai/captain.ts Outdated
Comment thread src/ai/captain.ts Outdated

@DavertMik DavertMik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recovering MUST NOT HAPPEN in tester
researcher also interactis with web page!
it also must be recovered!

Comment thread src/ai/tester.ts Outdated
Comment thread src/ai/tester.ts Outdated
Comment thread src/ai/tester.ts Outdated
Comment thread src/ai/tester.ts Outdated
Comment thread src/ai/tester.ts Outdated
@DenysKuchma DenysKuchma requested a review from DavertMik June 9, 2026 14:12
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.

2 participants