[loop-cycle-2] refactor: split world.py into focused submodules (#1360) #1449

Merged
Timmy merged 1 commits from refactor/split-world-routes into main 2026-03-24 18:55:14 +00:00
Owner

Summary

Split (1065 lines) into a Python package with 7 focused submodules.

Fixes #1360

New files:

  • (124 lines) — Re-exports all public symbols for backward compat
  • (85 lines) — Shared utilities
  • (77 lines) — Commitment tracking
  • (75 lines) — World state & presence
  • (160 lines) — WebSocket relay
  • (212 lines) — Bark/conversation
  • (397 lines) — Matrix API endpoints

Deleted:

  • (was 1065 lines)

Verification:

  • All 966 tests pass, 0 failures
  • No file exceeds 400 lines
  • All existing imports preserved via init.py re-exports
  • No functional changes
## Summary Split (1065 lines) into a Python package with 7 focused submodules. Fixes #1360 ### New files: - (124 lines) — Re-exports all public symbols for backward compat - (85 lines) — Shared utilities - (77 lines) — Commitment tracking - (75 lines) — World state & presence - (160 lines) — WebSocket relay - (212 lines) — Bark/conversation - (397 lines) — Matrix API endpoints ### Deleted: - (was 1065 lines) ### Verification: - All 966 tests pass, 0 failures - No file exceeds 400 lines - All existing imports preserved via __init__.py re-exports - No functional changes
Timmy self-assigned this 2026-03-24 18:54:55 +00:00
Timmy added 1 commit 2026-03-24 18:54:56 +00:00
refactor: split world.py into focused submodules (#1360)
Some checks failed
Tests / lint (pull_request) Failing after 8s
Tests / test (pull_request) Has been skipped
8aa72f8a21
Timmy merged commit 79bc2d6790 into main 2026-03-24 18:55:14 +00:00
Timmy deleted branch refactor/split-world-routes 2026-03-24 18:55:15 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1449