The Artifact Debates quest needs debates run on top-ranked artifacts to improve their quality scores and generate new hypotheses.
## Steps
1. Query: `SELECT a.id, a.title, a.artifact_type, a.quality_score FROM artifacts a WHERE a.lifecycle_state = 'active' AND NOT EXISTS (SELECT 1 FROM debate_sessions ds WHERE ds.analysis_id = a.id) AND a.quality_score > 0.5 ORDER BY a.quality_score DESC LIMIT 3`
2. For each artifact: trigger a 4-round debate using POST /api/analyses or by calling agent.py with the artifact as the research question
3. Link debate session to artifact via analysis_id
4. Extract hypotheses from the debate synthesis
## Acceptance Criteria
- [ ] 3 top artifacts now have at least 1 debate session
- [ ] Debate transcripts stored
- [ ] Hypotheses extracted and scored
- [ ] artifact.debate_count updated
Completion Notes
Auto-release: work already on origin/main
Git Commits (1)
[Agora] Run multi-agent debates on 3 top paper artifacts; extract 10 hypotheses [task:850502f4-5709-4154-b672-28c9b81d8577] (#46)2026-04-25