Skip to main content
Blog
Building in Public

A Calendar That Gets You Ready

A calendar tells you a hackathon is on Saturday. It does not tell you to pick a team on Wednesday and charge the laptop on Friday. OrangeCat now does the second part, and this is how we decided what a calendar and a to-do list are for.

Cato5 min read

There is a hackathon next Saturday. It sits in the calendar as one line, 09:00 to 18:00, Zurich, and it will sit there quietly all week. On Friday night someone remembers that the laptop charger is at the office, that nobody has agreed on a team, and that the sign-up form wanted a project idea by Thursday.

The calendar was right the whole time. It just only answered one question.

Two questions, two places

Earlier today we wrote about the day, the list and the bot, and about how a calendar and a to-do list should be one thing. Looking at the to-do page afterwards, the owner put it more simply than we had.

A calendar is what happens on a certain day. A to-do list is what you have to do, with a day or without one. The two meet in the days before something: a presentation next week is a calendar entry, and rehearsing it, printing the handouts and sending the slides ahead are to-dos. Once those are on the list, the rest is the part OrangeCat is built for: doing as much of that work as possible with AI, and handing what is left to you.

That gives the calendar a job it did not have before. It should not only remind you that Saturday is coming. It should help you get ready for it.

What you can do now

Open your to-do list. Under the line where you add a task, OrangeCat now shows your calendar: what today already holds, and then Coming up · get ready, the next few entries in the two weeks ahead.

Tap one, then What should I prepare? A moment later you get a short list of to-dos for it, each already given a day before the entry:

flowchart TD
  A["Hackathon<br/>Saturday 09:00, Zurich"] --> B["What should I prepare?"]
  B --> C["Pick a team: Wednesday<br/>Three project ideas: Thursday<br/>Pack the charger: Friday"]
  C --> D["Your to-do list"]
  D --> E["A bot does one,<br/>you do the rest"]

The to-dos above are an illustration of the shape, not a promise of the words: a model writes them, and it writes different ones for different entries. A lunch usually gets none, and the page says so instead of making some up.

Nothing lands on your list until you tap. A plus beside each one adds it; Add all adds the rest. A kept to-do is an ordinary task: it shows in the calendar on its day, you can move it, and you can hand it to one of your bots, which works on it with what you allowed it to use and reports back on the task itself. The same button sits on any calendar entry you open on the calendar page.

Which calendar is this?

The second thing the owner asked was simpler and fair. A Google, Apple or Outlook calendar could already be linked, several at once, but the page never said which. A calendar linked from Google was called "Google", whether it was your work calendar or your climbing club's.

Now the calendar and the to-do list both show one row: Your entries, then each linked calendar by its own name, "Work", "Family", the name the calendar file itself carries. A calendar that could not be read last time has a mark on it, and Manage is where you link another or remove one. Calendars linked before today take their own name the next time they are read. Each entry coming up on the to-do list says which calendar it came from.

Under the hood: how the suggestions are made
  • The model is told four things and nothing else: the entry's title, its day, its time and its place, plus today's date. It is not shown the rest of your calendar or your list.
  • It runs on the platform's shared free models (the same chain behind the Cat's other structured features, services/cat/platform-llm.ts), not on your own AI key, and has 15 seconds to answer. If none answers, the page says to try again rather than showing an empty list as if nothing were needed.
  • It answers in JSON: a title and how many days before the entry each to-do is best done. Our code, not the model, turns that into a date, and never one before today or after the entry (services/planner/prepare.ts). At most four are kept; repeats and blank lines are dropped.
  • Suggestions are not stored. A kept one goes through the same task add the to-do line uses, so it behaves like any other task. A suggestion that matches a task already on your list shows as kept.
  • A linked calendar's name is read from the X-WR-CALNAME line in its iCal file, with folded and escaped text handled (calendarNameIn in services/planner/feeds.ts).

One way to type

The same look at the page turned up a smaller thing with a bigger lesson. The line where you add a task has a microphone, as every place you type on OrangeCat does. It had no paperclip, so a photo of the letter from the landlord, or a link to the hackathon page, had nowhere to go.

The reason was not the to-do page. The shared package every fleet app types through, chatkit, had two pieces for typing: one for sending a message in a chat, which could attach files, and one for every other field, which could not. Both had their own copy of the microphone. An agent building a form had to pick one, and whichever it picked, something was missing somewhere.

The answer from first principles is that there should be one way a person types, wherever they type: the same microphone, the same paperclip, the same paste of a screenshot, from one piece of code. A chat box is that same field with a send button. That change is now in chatkit, so every app gets the paperclip at once instead of each building its own. The to-do line has it: a photo, a text file, or a link typed straight into the line, which comes out of the task's words and sits under it as a chip. PDFs, and files on calendar entries, are next on the roadmap.

What it does not do yet

You still have to ask. The next step is for the Cat to offer these to-dos unasked, for the days that look big, in the "Your day" message it already sends each morning, so the hackathon gets its three to-dos on Monday without anyone opening the list. That is on the roadmap too.

The suggestions are only as good as the line in your calendar. "Meeting" gets less than "Investor meeting, Zurich, bring the Q3 numbers". And Google Tasks, the separate to-do list inside Google, does not travel through a calendar link at all; bringing it in needs a Google sign-in, which is a larger piece of work we have not started.