Skip to content

Add Auto Research workflow and email settings#38

Merged
davidliuk merged 3 commits intomainfrom
fix/auto-research-stale-session
Mar 17, 2026
Merged

Add Auto Research workflow and email settings#38
davidliuk merged 3 commits intomainfrom
fix/auto-research-stale-session

Conversation

@bbsngg
Copy link
Copy Markdown
Contributor

@bbsngg bbsngg commented Mar 17, 2026

Summary

  • add one-click Auto Research execution from the project dashboard
  • require and manage Auto Research email settings from a dedicated Settings > Email page
  • persist Auto Research runs, expose status/start/cancel APIs, and send completion notifications
  • add session linking from the dashboard and recover stale interrupted runs so they do not stay stuck in running

What's Included

  • dashboard integration for starting Auto Research and opening the generated session
  • backend orchestration to execute TaskMaster prompts sequentially in Claude
  • eligibility checks for research brief, tasks, and required email configuration
  • database-backed run tracking for active and historical Auto Research executions
  • email notification configuration in the app instead of environment-only setup
  • stale session recovery so interrupted runs can be reconciled and cancelled cleanly

Problem

Users need a one-click way to execute the existing TaskMaster research flow from the project dashboard and receive a completion email. During testing, interrupted Auto Research sessions could also get stuck in running or cancelling, which prevented users from stopping them cleanly.

Fix

  • add the end-to-end Auto Research workflow across dashboard, settings, database, and backend orchestration
  • store notification email, sender email, and Resend API key in app settings with a dedicated Email settings page
  • persist run state and session IDs so the dashboard can reflect progress and link to the session
  • reconcile stale runs by checking whether the Claude session is still active and finalize zombie runs automatically

Verification

  • npm run typecheck
  • npm run build

@bbsngg bbsngg changed the title Fix stale Auto Research sessions that stay running forever Add Auto Research workflow and email settings Mar 17, 2026
@bbsngg bbsngg changed the base branch from feature/auto-research to main March 17, 2026 01:18
@liuyixin-louis
Copy link
Copy Markdown
Collaborator

tested the loop; others look good to me

@davidliuk davidliuk merged commit a9f3c88 into main Mar 17, 2026
1 check passed
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.

3 participants