How It Works
The system uses a day-of-week configuration to sort tasks by project priority. Tasks are grouped by project and ordered according to a priority list that changes each day.Configuration File
Task ordering is configured inconfig/asana_order.yaml:
asana_order.yaml
Day names must be in English (Monday, Tuesday, etc.) as returned by Python’s
datetime module.Client Focus by Day
The configuration supports a strategic weekly rhythm. Fromcontext/addons/asana-order-by-day.md:6-15:
| Day | Client | Notes |
|---|---|---|
| Monday | rocinante | Rocinante Corp |
| Tuesday | mao-kwikowski | Mao-Kwikowski |
| Wednesday | mcr | MCR |
| Thursday | tycho | Tycho |
| Friday | acme | Acme |
- Meeting reviews
- Bitácora updates
- Project focus time
- Communication
Ordering Logic
Tasks are sorted using this algorithm:Sort projects
Projects appear in the order defined in today’s priority list. Projects not in the list appear at the end.
/home/daytona/workspace/source/context/addons/asana-order-by-day.md:19-24:
- By day: Monday, Tuesday, … have different project priorities
- Within the day: Tasks are grouped by project and ordered by the day’s list (first project = first in list)
- Within each project: Alphabetical order by task name
- Optional anchors: First task like “Good morning”, last task “Good evening” if they exist in your list
Example Scenarios
Monday Focus
On Monday, your task list will show:- All Tycho tasks
- All Rocinante tasks
- All Deep Work tasks
- All Marketing tasks
- All Management tasks
- All Personal tasks
- Any other projects (alphabetically)
Friday Wrap-Up
On Friday, Wrap-up tasks appear last, perfect for end-of-week reviews:- Acme tasks
- Mao-Kwikowski tasks
- Management tasks
- Marketing tasks
- Personal tasks
- Wrap-up tasks
- Other projects
Matching Project Names
Project names in the YAML can be:- Exact matches: “Tycho” matches project named “Tycho”
- Substrings: “Tycho” also matches “Tycho Website” or “Tycho Q1 Launch”
- Case-insensitive: “tycho”, “Tycho”, and “TYCHO” all match
Customizing Your Schedule
Add a New Day Configuration
Editconfig/asana_order.yaml to add or modify days:
Change Client Days
Rearrange which clients have focus on which days:Add Non-Client Categories
Include internal work categories:Integration with Morning Routine
Theasana_lite script automatically applies this ordering when fetching tasks for the morning routine.
When the morning agent shows your task list, it:
- Reads today’s priority order from the YAML
- Fetches all due/incomplete tasks from Asana
- Sorts them by project according to the day’s priority
- Presents them in the morning briefing
No Configuration?
Ifconfig/asana_order.yaml doesn’t exist or today isn’t defined:
- Tasks appear in default order (typically alphabetical by project)
- All functionality still works, just without prioritization
Related Configuration
- Client Bitácoras - Client names should match between
clients.yamlandasana_order.yaml - Demo Mode - Test task ordering with demo data