Client records
The project's own databases, written through the agent session's own Notion connector.
Open-source mail and CRM workflow for your Mac
Your own Claude Code or Codex reads client mail, updates the Notion CRM and leaves reply drafts. Nothing goes out until you press Send.
Give the agent one instruction in your own words. It reads the project's mail, checks the project's knowledge, updates Notion and writes unsent replies. The admin shows each draft within a second, with its reason and checks, and you decide.
Architecture
Sending
The agent prepares everything and sends nothing. Mail leaves through one door, and only after your click.
Send tools are denied in every agent session, and a session cannot write the send policy.
Who a project's drafts may go to, and any autosend for listed mail classes, is set only by you with hub send policy.
A dry run shows the exact message, and you switch on "I read the checks" before Send.
A send needs a ticket that only the admin page can mint. Both local servers answer only on loopback.
@hub/send re-checks the recipients, the policy, Stop sending and the safety rules. A batch goes out one draft at a time through the same door.
Shared focus
The agent lives in a dock beside your drafts (Ctrl+`). The admin tells it what you are looking at, so "answer this" drafts for the open client. It can ring rows on your screen for 30 seconds. It never clicks for you.
Data
The project's own databases, written through the agent session's own Notion connector.
Replies stay unsent in Drafts. The Hub knows them by its own record of each version, never by a line in the text.
data/app.db: marks, batches, follow-up enrolments, linked chats, the LLM ledger.
projects/<slug>/: project.md, knowledge, filters, workflows and sequences, as plain files you can read.
Mode 600, never in git, never on a page, unreadable to the agent.
Core and instance
Code, docs and skills that work for any owner. It names no client, mailbox or project. Skills are instructions, not code, and each one starts with a plain phrase.
Your projects, data, config, backups and secrets. The core sits inside it as a submodule pinned at a tag, and hub core update moves it.
$ git clone https://github.com/markolofsen/reforms-hub.git && cd reforms-hub $ ./hub.sh new-instance <name> $ cd ../hub-<name> && ./run.sh setup $ ./run.sh up