Version: v1.2.3 | Status: Active | Last Updated: March 2026
The logistics module consolidates orchestration, task management, and scheduling capabilities for coordinating workflows, jobs, and time-based execution.
- Clear separation between orchestration, task, and schedule concerns
- Each submodule is self-contained with well-defined interfaces
- Extensible architecture for adding new logistics capabilities
- Unified interfaces across submodules
- Consistent patterns for workflow, task, and schedule management
- Shared error handling and logging
- Orchestration: Complex workflow coordination with DAG execution
- Task: Backend-agnostic queue management with priority and retries
- Schedule: Advanced scheduling with cron patterns, recurring schedules, and timezone support
graph TD
Logistics[Logistics Module]
Orchestration[Orchestration Submodule]
Task[Task Submodule]
Schedule[Schedule Submodule]
Logistics --> Orchestration
Logistics --> Task
Logistics --> Schedule
Orchestration --> Project[Project Orchestration]
Task --> Queue[Queue Management]
Schedule --> Cron[Cron Scheduling]
Schedule --> Recurring[Recurring Schedules]
- Workflow Definition: Define tasks and dependencies via config/code
- Execution: Run tasks in correct topological order
- State Persistence: Allow recovery from crashes
- Enqueue/Dequeue: Add and remove jobs from queue
- Priority: Support priority-based queuing
- Retries: Automatic job retry on failure
- Monitoring: Queue statistics and job status
- Cron Patterns: Parse and execute cron-like schedules
- Recurring: Define daily, weekly, monthly schedules
- Timezone: Timezone-aware scheduling
- Integration: Work with task queue for job execution
logging_monitoring/- Logging and monitoringperformance/- Performance monitoring- Other Codomyrmex modules for workflow coordination
- Type hints for all functions
- PEP 8 compliance
- Comprehensive error handling
- ≥80% coverage
- Submodule-specific tests
- Integration tests
- README.md, AGENTS.md, SPEC.md for each submodule
- API specifications
- Usage examples
- Human Documentation: README.md
- Technical Documentation: AGENTS.md
- Parent: ../SPEC.md