Skip to content

Improve Captain#48

Merged
DenysKuchma merged 8 commits into
mainfrom
feature/captain-browser-recovery
Jun 16, 2026
Merged

Improve Captain#48
DenysKuchma merged 8 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

@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.

Looks ok @DenysKuchma please resolv conflicts and merge it and release

@DenysKuchma DenysKuchma merged commit 68635bc into main Jun 16, 2026
2 checks passed
@DenysKuchma DenysKuchma deleted the feature/captain-browser-recovery branch June 16, 2026 10:20
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