Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 1.92 KB

File metadata and controls

57 lines (46 loc) · 1.92 KB

Commit Message: Legacy Hub Removal

Title

refactor: Remove deprecated aetherra_hub_server.py shim and enforcement

Body

Remove deprecated monolithic hub server shim after successful migration
to modular blueprint-based implementation (aetherra_hub.compat).

**Files Deleted:**
- aetherra_hub_server.py (16-line shim with DeprecationWarning)
- tests/integration/test_hub_compat_parity.py (shim API test)
- tools/precommit_block_legacy_hub.py (import enforcement hook)
- docs/DEPRECATION_TRACKER_LEGACY_HUB.md (migration tracker)
- diff_clean.py (legacy hub diff comparison tool)

**Code Updated:**
- tools/quality_gates.py: Removed legacy hub import enforcement
- tools/quick_type_fix.py: Removed from priority file list
- aetherra_os_launcher.py: Removed from noisy logger list
- CHANGELOG.md: Moved from "Deprecations" to "Removed" section
- CONTRIBUTING.md: Updated deprecation lifecycle notes

**Migration Status:**
✅ All production code uses aetherra_hub.compat module
✅ OS launcher imports from aetherra_hub.compat (not shim)
✅ Zero direct imports of deprecated file found
✅ Documentation references are historical only

**Risk Assessment:**
No breaking changes - all functionality preserved in aetherra_hub module.
External scripts calling `python aetherra_hub_server.py` will fail with
clear "file not found" error and obvious fix.

Closes: Legacy hub deprecation tracking (completed migration)

Verification Commands

# Verify file deleted
Test-Path aetherra_hub_server.py  # Should return False

# Verify no imports remain
git grep "import aetherra_hub_server" -- "*.py"
git grep "from aetherra_hub_server" -- "*.py"

# Verify OS launcher uses new module
git grep "from aetherra_hub.compat import" aetherra_os_launcher.py

Related Documentation

  • aetherra_hub/compat.py - Replacement compatibility layer
  • aetherra_hub/app.py - Modular blueprint-based hub
  • README.md - Updated hub startup instructions