Files
AIclinicalresearch/git-fix-lock.ps1
HaHafeng 440f75255e feat(rvw): Complete Phase 4-5 - Bug fixes and Word export
Summary:
- Fix methodology score display issue in task list (show score instead of 'warn')
- Add methodology_score field to database schema
- Fix report display when only methodology agent is selected
- Implement Word document export using docx library
- Update documentation to v3.0/v3.1

Backend changes:
- Add methodologyScore to Prisma schema and TaskSummary type
- Update reviewWorker to save methodologyScore
- Update getTaskList to return methodologyScore

Frontend changes:
- Install docx and file-saver libraries
- Implement handleExportReport with Word generation
- Fix activeTab auto-selection based on available data
- Add proper imports for docx components

Documentation:
- Update RVW module status to 90% (Phase 1-5 complete)
- Update system status document to v3.0

Tested: All review workflows verified, Word export functional
2026-01-10 22:52:15 +08:00

36 lines
584 B
PowerShell

# Fix Git lock file issue
# Remove stale lock file and retry commit
cd D:\MyCursor\AIclinicalresearch
Write-Host "Checking for Git lock file..." -ForegroundColor Yellow
$lockFile = ".git/index.lock"
if (Test-Path $lockFile) {
Write-Host "Found stale lock file. Removing..." -ForegroundColor Yellow
Remove-Item $lockFile -Force
Write-Host "Lock file removed successfully!" -ForegroundColor Green
} else {
Write-Host "No lock file found." -ForegroundColor Green
}
Write-Host ""
Write-Host "Now you can run git commands again." -ForegroundColor Cyan