What you get
A meeting you mention to any agent, or that a mail confirms, is in your calendar, with where it came from written on the entry. A time that was only proposed is held as tentative and blocks nothing. An invitation is answered when you press.
Alex places entries. Tender, Vincent and Hearth read your calendar to do their own work, and write nothing to it.
What they will not do
| Invite anyone | An entry is placed for you alone. |
| Touch what they did not place | Alex moves or removes only the entries Alex put there. |
| Put back what you deleted | Delete an entry and it stays deleted. |
| Move a ticketed event | An appointment with a venue is never moved: a second ticket is a second entry. |
How it is built
A calendar is shared with other people, which makes it the easiest place for an agent to embarrass you: a double booking, an invitation sent to a client, an entry that keeps coming back after you removed it.
So each of those is ruled out in code. Nobody can be invited. An entry is placed once. An entry you delete stays deleted. And a time that was only suggested is held lightly, never placed as if it were agreed.
From a sentence to an entry
A time is heard: from you, from a mail, or from a ticket.
It travels to Alex as a typed message on the protocol
The words become a moment, in code.
An hour long unless said; more than a year away is refused ·
resolveWhenA day with no time, or a time only proposed, is held and not placed.
placeAppointmentIt is compared with what Alex has already placed.
The same person at the same time is already there; one nearby entry within a week is moved; more than one is held for you ·
decideArrivalThe entry is written to your calendar.
With no attendees, so no invitation can go out ·
createEventEach night Alex checks its entries are still there.
One you removed is marked as removed, and never placed again
Holds and invitations
Several proposed times become tentative holds.
Marked “Hold”, released when one is chosen
An invitation from someone else is shown on a card.
Answering waits for your press, and can never be raised
Your answer changes only your own line on the invitation.
No update is sent to the other guests
The parts
| Google Calendar API | Google’s official way to read and write a calendar. |
| aha-calendar | My shared library: the one place events are read and written, for every agent. |
| aha-time | My shared library that turns words about time into a moment. |
| AHA | The protocol that carries “there is an appointment” from whoever heard it to Alex. |
The words, in plain English
| Attendee | A person on a calendar entry. Adding one is what sends an invitation. |
| Tentative | An entry that shows in your calendar and blocks nothing. |
| Dedupe | Making sure the same thing is not entered twice. |
The code
/** Create an event. Never sets attendees — no invitations are ever sent. */
export async function createEvent(
One shared calendar library holds this for every agent. aha-calendar/src/calendar.ts
What is not finished
| Google Calendar only | No other calendar is connected. |
| Checking for removals | Once a night, so an entry you remove is noticed by the next morning. |
Learning from the lived experience
A calendar entry looks like the simplest data there is. It is two moments, a time zone and a title. Hand those to a model as they come and the model has to decide which moment you meant. Models are poor at exactly this, and confident about it.
Alex once described a flight as arriving at the time it took off. The entry carried both times, Alex had been handed both, and picked the wrong one.
Because of that, a calendar entry reaches a model only through one formatter, with both times labelled “begins” and “ends” in your own time, and no agent reads the entry as it comes. How it is built, above, has the rest, and BA673: departure read as landing is the full account.