Spaces:
Paused

miracle / core /tasks.py
dushyantsingh0
Claude Sonnet 4.6
refactor: replace ARQ+Redis stream with direct async SSE for Nexus chat
2e01964
Raw History Blame Contribute Delete
930 Bytes
"""
Background task definitions for Arq worker. (Refactored to domain-specific modules)
"""
# Re-exporting for backward compatibility
from tasks.system import (
get_task_pool, check_cron_lock, check_job_latch, enqueue_task,
monitor_sla_thresholds, record_system_heartbeat, nexus_pulse_check,
purge_stale_semantic_cache, record_workflow_step_task,
recover_nexus_history
)
from tasks.ai import (
auto_summarize_ticket, crystallize_memory, summarize_thread_title, index_kb_article,
generate_ticket_embedding, vectorize_nexus_interaction,
generate_global_insight, generate_workspace_insights,
process_kb_import_task, ai_dynamic_nudge_pulse,
refresh_active_workspace_insights
)
from tasks.notifications import send_triple_notification, notify_mentions
from tasks.analytics import harvest_expertise_task, generate_nightly_personnel_analytics
from tasks.remediation import execute_remediation_hook