25 lines
522 B
Python
25 lines
522 B
Python
import subprocess
|
|
import sys
|
|
import os
|
|
|
|
def verify_phase_3():
|
|
print("Verifying Phase 3: Discussion & Context Structure Mutation...")
|
|
|
|
# Run the comprehensive simulation test
|
|
result = subprocess.run(
|
|
["uv", "run", "pytest", "tests/test_undo_redo_sim.py"],
|
|
capture_output=True,
|
|
text=True
|
|
)
|
|
|
|
if result.returncode == 0:
|
|
print("Phase 3 verification PASSED.")
|
|
else:
|
|
print("Phase 3 verification FAILED.")
|
|
print(result.stdout)
|
|
print(result.stderr)
|
|
sys.exit(1)
|
|
|
|
if __name__ == "__main__":
|
|
verify_phase_3()
|