feat(rvw,asl): RVW V3.0 smart review + ASL deep research history + stability
RVW module (V3.0 Smart Review Enhancement): - Add LLM data validation via PromptService (RVW_DATA_VALIDATION) - Add ClinicalAssessmentSkill with FINER-based evaluation (RVW_CLINICAL) - Remove all numeric scores from UI (editorial, methodology, overall) - Implement partial_completed status with Promise.allSettled - Add error_details JSON field to ReviewTask for granular failure info - Fix overallStatus logic: warning status now counts as success - Restructure ForensicsReport: per-table LLM results, remove top-level block - Refactor ClinicalReport: structured collapsible sections - Increase all skill timeouts to 300s for long manuscripts (20+ pages) - Increase DataForensics LLM timeout to 180s, pg-boss to 15min - Executor default fallback timeout 30s -> 60s ASL module: - Add deep research history with sidebar accordion UI - Implement waterfall flow for historical task display - Upgrade Unifuncs DeepSearch API from S2 to S3 with fallback - Add ASL_SR module seed for admin configurability - Fix new search button inconsistency Docs: - Update RVW module status to V3.0 - Update deployment changelist - Add 0305 deployment summary DB Migration: - Add error_details JSONB column to rvw_schema.review_tasks Tested: All 4 review modules verified, partial completion working Made-with: Cursor
This commit is contained in:
@@ -105,15 +105,15 @@ export function validateAgentSelection(agents: string[]): void {
|
||||
throw new Error('请至少选择一个智能体');
|
||||
}
|
||||
|
||||
const validAgents = ['editorial', 'methodology'];
|
||||
const validAgents = ['editorial', 'methodology', 'clinical'];
|
||||
for (const agent of agents) {
|
||||
if (!validAgents.includes(agent)) {
|
||||
throw new Error(`无效的智能体类型: ${agent}`);
|
||||
}
|
||||
}
|
||||
|
||||
if (agents.length > 2) {
|
||||
throw new Error('最多只能选择2个智能体');
|
||||
if (agents.length > 3) {
|
||||
throw new Error('最多只能选择3个智能体');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user