# Implementation Plan: Test Regression Verification (test_regression_verification_20260307)

> **Reference:** [Spec](./spec.md)

## Phase 1: Test Discovery
Focus: Find all test files

- [x] Task 1.1: List all test files
    - Run: `pytest --collect-only`
    - Document test count: 481 tests collected

## Phase 2: Run Tests
Focus: Execute full test suite

- [x] Task 2.1: Run unit tests (models, conductor)
- [x] Task 2.2: Run GUI tests
- [x] Task 2.3: Run integration tests

## Phase 3: Analyze Results
Focus: Review test outcomes

- [x] Task 3.1: Document pass/fail counts
  - Total: 466 tests
  - Passed: 454
  - Failed: 2 (Performance thresholds)
  - Skipped/Deselected: 11

- [x] Task 3.2: Identify any failures
  - tests/test_gui2_performance.py::test_performance_benchmarking
  - tests/test_gui2_performance.py::test_performance_baseline_check

- [x] Task 3.3: Determine if regressions or pre-existing
  - test_visual_mma_components: test pollution failing assertions
  - test_mma_exec_tests: import paths not configured correctly from `conductor/tests/`
  - test_gui2_performance: API hook debugging causing thread stalls

## Phase 4: Fix Failures (if any)
Focus: Resolve test issues

- [x] Task 4.1: Fix regressions from recent changes
  - Removed hook-server debug prints to restore performance loops
  - Re-enabled profiling during tests to isolate frame issues

- [x] Task 4.2: Document pre-existing failures
  - conductor/tests/test_mma_exec.py failed due to broken sys.path configuration. Addressed locally during discovery.

## Phase 5: Verification
Focus: Confirm 0 regressions

- [x] Task 5.1: Re-run tests after fixes
- [x] Task 5.2: Final verification
