mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
feat: Implement dynamic test-fix execution phase with adaptive task generation
- Added Phase 2: Test-Cycle Execution documentation outlining the process for dynamic test-fix execution, including agent roles, core responsibilities, intelligent strategy engine, and progressive testing. - Introduced new PowerShell scripts for analyzing TypeScript errors, focusing on error categorization and reporting. - Created end-to-end tests for the Help Page, ensuring content visibility, documentation navigation, internationalization support, and accessibility compliance.
This commit is contained in:
28
ccw/frontend/analyze-errors2.ps1
Normal file
28
ccw/frontend/analyze-errors2.ps1
Normal file
@@ -0,0 +1,28 @@
|
||||
Set-Location 'D:\Claude_dms3\ccw\frontend'
|
||||
$output = npx tsc --noEmit 2>&1
|
||||
$errorLines = $output | Select-String 'error TS'
|
||||
|
||||
Write-Host "=== NON-TS6133/TS1149/TS6196/TS6192 ERRORS (real issues) ==="
|
||||
$real = $errorLines | Where-Object { $_.Line -notmatch 'TS6133' -and $_.Line -notmatch 'TS1149' -and $_.Line -notmatch 'TS6196' -and $_.Line -notmatch 'TS6192' }
|
||||
Write-Host "Count: $($real.Count)"
|
||||
Write-Host ""
|
||||
|
||||
Write-Host "=== GROUPED BY FILE ==="
|
||||
$real | ForEach-Object {
|
||||
($_.Line -split '\(')[0]
|
||||
} | Group-Object | Sort-Object Count -Descending | Format-Table Name, Count -AutoSize
|
||||
|
||||
Write-Host "`n=== ROUTER.TSX ERRORS ==="
|
||||
$errorLines | Where-Object { $_.Line -match 'src/router\.tsx' } | ForEach-Object { $_.Line }
|
||||
|
||||
Write-Host "`n=== STORES/INDEX.TS ERRORS ==="
|
||||
$errorLines | Where-Object { $_.Line -match 'src/stores/index\.ts' } | ForEach-Object { $_.Line }
|
||||
|
||||
Write-Host "`n=== TYPES/INDEX.TS ERRORS ==="
|
||||
$errorLines | Where-Object { $_.Line -match 'src/types/index\.ts' } | ForEach-Object { $_.Line }
|
||||
|
||||
Write-Host "`n=== SHARED/INDEX.TS ERRORS ==="
|
||||
$errorLines | Where-Object { $_.Line -match 'src/components/shared/index\.ts' } | ForEach-Object { $_.Line }
|
||||
|
||||
Write-Host "`n=== HOOKS/INDEX.TS ERRORS ==="
|
||||
$errorLines | Where-Object { $_.Line -match 'src/hooks/index\.ts' } | ForEach-Object { $_.Line }
|
||||
Reference in New Issue
Block a user