Context Vigilance
The why beneath the code
Specs, habits, and reflections that shape how augment-it gets built. Versioned context, intentionally legible.
specs
Calendars as Context — Every Meeting, Every Account, One Table
Who did I meet, when, about what, and what came of it? kay-os answers that by putting every meeting from every calendar next to the mail, in one table of events and one of the people in them.
Agent Workspace — Memory, Chat History, Compression, and Archive
kay-os should remember what it was asked, what it found, and what it decided, across every conversation and every device, the way a good chief of staff does. This is the stub for how.
Attachments as First-Class Mail — Find Any Document Ever Sent to Me, by Name, by Words, or by Meaning
Twenty years of decks, term sheets, contracts and invoices are already on disk and almost none of it is findable. This spec turns every attachment into something an agent can list, open, read, and search, without adding a single server.
Mail Connector for the Claude App — Search and Open My Mail From the Phone, Signed In as Me and Nobody Else
One custom connector in the Claude app lets Claude search the mail archive, read a message, and hand over an attachment, from any device. The login is the whole security story, so this spec settles it before any code.
reminders
explorations
Attachments, Search, and a Knowledge Graph — Getting What's Inside the Mail Without Building a Data Platform
Every attachment I've ever received is already on disk, sealed inside its email. The question is how to open them up for search, meaning-based recall, and a map of who sent what, without standing up five new services to do it.
Customizing Hermes Agent through API — Making a Hosted Hermes Mine
Hermes already speaks the same skill standard we do. The work is wiring our skills in, our accounts on, and its own skills back out where we can edit them.
Using Cloudflare Artifacts as Knowledge Graph — One Git Record Every Agent Can Reach
Hermes can pull from Cloudflare Artifacts: it's plain git. Artifacts isn't a graph itself, though. It's the record a graph is built from, with history, undo, and a repo per colony member.
issues
Backfill Runs Ended Before Writing Their Status
The first cloud backfill runs did their work but never said so: status.json stayed stale while the index quietly filled. The fix splits the backfill into short alarm-driven chunks that record themselves as they go.
Backfilled Mail Has No Conversation IDs
Only 221 of about 42,700 indexed messages carry a conversation ID: the ones the Worker synced itself. The backfill indexed everything else before reading the metadata that holds the ID, and never goes back.
The Recent Mail List Has No Previews
Asking for the latest mail returns senders and subjects with an empty preview. Previews only appear when there's a keyword to search for.
Search Ranks Passing Mentions Above Real Matches
A two-word search returned one email about the subject and three that mentioned it in passing. Search does require every word; it sorts newest first and shows one excerpt, so the real match was buried and the others looked wrong.
blueprints
Connecting a Google Workspace Mailbox — 2-Step Verification, IMAP, and an App Password
Two mailboxes are already connected, but the steps were never written down. This is the click-by-click playbook for the third, and for every one after it.
Mail Archive in Cloudflare R2 — How Every Inbox Gets Into the Bucket and Stays Current
The laptop pulled the whole history; a Cloudflare Worker keeps it current a few times a day. This is how to pick it up from any computer.
mirrors
plans
Plan C6 — Calendar Tools in the Connector
Ask Claude on the phone who you last met, what's on Thursday, or every meeting with a fund, and get an answer from the same connector that serves the mail. And when you ask, have it put the meeting on the calendar.
Plan C1 — A D1 Index With the Laptop's Tables
Give the sync Worker a database: the same messages and attachments tables the laptop has, in Cloudflare D1, ready for the Worker to fill.
Plan C2 — The Worker Indexes Each Message as It Stores It
Every email the sync Worker saves to R2 also lands in the D1 index, with its attachments sorted the same way the laptop sorts them.
Plan C3 — The Worker Backfills the Index From R2
Mail already in R2, from the laptop or from earlier Worker runs, gets indexed by the Worker itself, a batch at a time, with no laptop involved.
Plan C4 — A Remote MCP Connector for the Claude App
Let Claude on the phone search the archive, read a message, and open an attachment, through a login only Michael can pass.