[loop-cycle-3] refactor: split app.py into schedulers.py and startup.py (#1363) #1455
Reference in New Issue
Block a user
Delete Branch "refactor/split-app-py"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Splits
src/dashboard/app.py(780 lines) into focused modules:dashboard/schedulers.py(278 lines) — background scheduler coroutines (briefing, thinking, hermes, loop QA, presence watcher, chat integrations)dashboard/startup.py(205 lines) — lifecycle management (startup init, pruning, shutdown cleanup, lifespan context manager)dashboard/app.py(343 lines) — thin entry point: app creation, middleware, router registration, route handlersChanges
_SYNTHESIZED_STATEand_presence_watcherCloses #1363