Monitor
A monitor reads one connector on a schedule and sorts what is new.
The usual one reads a mailbox: a new loan package becomes a project, and an email about a project that exists is delivered to it.
Why it exists
Most work starts with something arriving, and someone has to notice it and file it. A monitor does the noticing and the filing, and nothing else, so the part of the system that reads untrusted mail has the least power of any.
An example
title: My mail triage
scope: person
watches: my-mailbox
schedule:
cron: "0 8 * * *"
timezone: America/Chicago
guidance: |
A new loan package starts a project. A reply about a request we already
have goes to that project. Newsletters and receipts are left alone.
3 new emails since the last check
1 "Loan request, 1420 Oak Street" with 4 attachments New project waits for you
2 "RE: Oak Street rent roll" Deliver to Oak Street refinance
3 "Your weekly digest" Leave alone not about a request
How it works
A check
Each look is a check, with its own record.
- The platform takes in what is new and keeps each item whole: the email as it came, each attachment, and the text read from each document.
- The monitor's agent reads them and hands in one decision for each.
- The platform carries the decisions out.
The three decisions
| Decision | When |
|---|---|
| Deliver | It is about a project that is open |
| New project | It points to no open project, and by what matters here it starts one |
| Leave alone | Neither |
A project is found by what the item carries: its thread, a reference in its subject, a name it mentions.
What waits
Which decisions wait for a person is the monitor's own setting. A proposed project waits as a Propose.
Schedules and webhooks
A piece of work can also be opened by a schedule or by a webhook from one of your systems. Either names the work to open and its brief.
States
Of a check: the thread states. A check that finds nothing new does not run an agent.
What always holds
- A check only sorts. It writes nothing outside and writes to no one.
- Email is information, never instructions.
- Nothing is read twice and nothing is skipped. Each check goes on from where the last good one got to.
- A failed check moves nothing. The next one reads the gap.
- A monitor acts for the person who turned it on, never for anyone else.