Agent capabilities · They act

Keep your calendar.

A confirmed meeting placed; a proposed time held. Nobody is ever invited.

Who has thisTenderHearthAlexVincent

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 anyoneAn entry is placed for you alone.
Touch what they did not placeAlex moves or removes only the entries Alex put there.
Put back what you deletedDelete an entry and it stays deleted.
Move a ticketed eventAn 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

  1. A time is heard: from you, from a mail, or from a ticket.

    It travels to Alex as a typed message on the protocol

  2. The words become a moment, in code.

    An hour long unless said; more than a year away is refused · resolveWhen

  3. A day with no time, or a time only proposed, is held and not placed.

    placeAppointment

  4. It 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 · decideArrival

  5. The entry is written to your calendar.

    With no attendees, so no invitation can go out · createEvent

  6. Each night Alex checks its entries are still there.

    One you removed is marked as removed, and never placed again

Holds and invitations

  1. Several proposed times become tentative holds.

    Marked “Hold”, released when one is chosen

  2. An invitation from someone else is shown on a card.

    Answering waits for your press, and can never be raised

  3. Your answer changes only your own line on the invitation.

    No update is sent to the other guests

The parts
Google Calendar APIGoogle’s official way to read and write a calendar.
aha-calendarMy shared library: the one place events are read and written, for every agent.
aha-timeMy shared library that turns words about time into a moment.
AHAThe protocol that carries “there is an appointment” from whoever heard it to Alex.
The words, in plain English
AttendeeA person on a calendar entry. Adding one is what sends an invitation.
TentativeAn entry that shows in your calendar and blocks nothing.
DedupeMaking 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 onlyNo other calendar is connected.
Checking for removalsOnce 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.

NextFile receipts and records

Lifted from your mail into your own Drive.

File receipts and records
All of themAgent capabilities

Every ability, and who has it.

The agents
Your dataWho holds what

What is held, for how long, and how to take it or delete it.

Privacy notice