Skip to content

Phase 1: Core Auto-Scheduling Engine #75

@positonic

Description

@positonic

Overview

Implement Motion-like task auto-scheduling with AI-powered slot finding, ETA tracking, and task chunking.

Features

  • Auto-scheduling fields on Action model
  • ETA tracking fields
  • Task chunking fields
  • TaskSchedule model for custom work schedules
  • RecurringTask model foundation
  • Task dependencies
  • AutoSchedulingService with core algorithm
  • ETA badge on task cards
  • Task form UI with auto-scheduling toggles

API Endpoints

  • scheduling.autoScheduleTask - Schedule a single task
  • scheduling.rescheduleAll - Re-run scheduling for all tasks
  • scheduling.calculateETA - Calculate days ahead/behind
  • scheduling.updateAllETAs - Batch update ETAs
  • scheduling.checkDeadlineConflicts - Detect at-risk tasks
  • taskSchedule.* - CRUD for custom schedules

Files Changed

  • prisma/schema.prisma
  • src/server/services/AutoSchedulingService.ts
  • src/server/api/routers/scheduling.ts
  • src/server/api/routers/taskSchedule.ts
  • src/app/_components/ActionItem.tsx
  • src/app/_components/ActionModalForm.tsx

Part of Epic: Motion-like Smart Task Scheduling

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions