Skip to content

feat(autoresearch): prompt optimizer + API endpoints + M3 integration (#3200)#3206

Merged
mrveiss merged 2 commits intoDev_new_guifrom
issue-3200-optimizer-api
Apr 1, 2026
Merged

feat(autoresearch): prompt optimizer + API endpoints + M3 integration (#3200)#3206
mrveiss merged 2 commits intoDev_new_guifrom
issue-3200-optimizer-api

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 1, 2026

Summary

  • PromptOptimizer with LLM mutation → benchmark → scorer chain → keep/discard loop
  • PromptOptTarget, PromptVariant, OptimizationSession models
  • 10 new API endpoints: prompt optimizer (start/status/cancel/variants/score), approvals (list/decide), insights (list/search/synthesize)
  • Notification dispatch on approval request via NotificationService
  • Updated __init__.py with all M3 exports
  • Integration test: optimize → synthesize → query insights

Depends on: #3202 (Scorers) and #3203 (Knowledge Synthesizer) — both branches merged into this one

Closes #3200
Part of #2600 (AutoResearch M3)

Test plan

  • 16/16 tests pass (4 optimizer + 11 scorers + 1 integration)
  • Pre-existing test failures unchanged

🤖 Generated with Claude Code

mrveiss and others added 2 commits April 1, 2026 22:52
…ration (#3200)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…e averaging, log level (#3200)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mrveiss mrveiss force-pushed the issue-3200-optimizer-api branch from 6880feb to 2c59e02 Compare April 1, 2026 19:52
@mrveiss mrveiss merged commit af53fcf into Dev_new_gui Apr 1, 2026
1 check failed
@mrveiss mrveiss deleted the issue-3200-optimizer-api branch April 1, 2026 19:52
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