The algorithm

It spells COMPOSED.

No magic. No model weights. Eight phases that always run in the same order — and the whole method is hidden in the name.

C

Collect the calendar

Events inside your working hours become immovable busy blocks. Out-of-hours events are ignored.
O

Obtain the tasks

Load tasks with their fields: title, duration, deadline, priority.
M

Measure each task

Measure each task's slack — how much room it has between when it can start and when it's due. Less room means more urgent.
P

Prioritize

Sort by deadline, soonest first. Ties broken by slack (tightest window wins), then priority, then age. ASAP tasks jump the queue.
O

Open the slots

Walk forward through your working hours and subtract calendar busy blocks.
S

Slot each task

Drop each task into the earliest slot that fits, then shrink the slot. Placed tasks never move.
E

Echo the overflow

Tasks that won't fit are surfaced loudly — never silently dropped.
D

Deliver the plan

Return the schedule, the overflow list, and any reminders. Same inputs always return the same result.

The honest part

It's a mnemonic, not magic. No per-task explanations, no model weights — just arithmetic you can re-run by hand. Same inputs, same plan, every time.

Try it in your head

Same inputs. Run it again. Same plan.

3 tasks

Buy tickets
20mtoday
Project proposal
60mtomorrow
Read report
45min 3 days
COMPOSED

Your plan

09:00Buy tickets
09:20Project proposal
10:20Read report

same inputs → same plan, every run