interplane.Get Omega
Read in your language

mailhand

mailhand: agents look after a person's email in seeded Omega. Maildir + MIME parsing, JSONL CLI and MCP, rule triage, policy-gated sending, hash-chained audit. Free (Apache-2.0).

Brought by drakestapleton

branch main Branches Tags History

mailhand / DEPENDENCIES.md

36 lines · 2487 bytes Raw Blame History Rendered
1# Dependencies
2
3mailhand is first-party seeded Omega (`src/*.om`, `tests/*.om`, `tests/gen/*.om`), plus one file copied
4unchanged from omega-mv (`vendor/omega-mv/om/sha256/sha256-om2.om`, see NOTICE). At run time nothing
5else executes: the program is one static AArch64 Linux executable that omc writes, and it makes system
6calls only through Omega host words. It never starts another program, never opens a network
7connection other than SMTP submission to a unix socket or 127.0.0.1 that the human configured, or
8the IMAP and SMTP endpoints of the human's own accounts file ("Remote accounts" in the README), and
9never fetches anything a mail names.
10
11## Source dependencies (DEPS)
12
13Remote accounts use the omtls TLS 1.3 client (`ot_tl_*`, seeded Omega, OmegaTls); the fake mail servers
14of the gate use its test TLS server and test certificates. Nothing of omtls is vendored here: `DEPS`
15names each dependency by one commit (`NAME RID COMMIT LIST`), and `build.sh` builds `tools/deps.om`
16(as `build/depsgen`) and runs it. It reads the files LIST names at COMMIT with git into
17`build/deps/NAME/` (lines `=PATH` of a list are fixtures, fetched but not compiled), skips the
18SHA-256 unit that is byte-identical to `vendor/omega-mv/om/sha256/sha256-om2.om`, and writes
19`build/gen/<list>` for `src/UNITS` and `tests/srv/UNITS`, where the line `@omtls` / `@omtlssrv` becomes
20those files. Changing a line of DEPS is the only edit needed to move omtls.
21
22## Compiler (pinned)
23
24| What | Pin |
25|---|---|
26| omc | `seed/out/omc` of omega-mv (Radicle rad:z6do9WDBhuSnvopDkgFdFr1yWA62) at the revision named in `PIN`, with the `omc-sha256` named there |
27
28`PIN` is the only file that states the pin. `build.sh` and the gate read it and refuse any other
29compiler; the gate also fails when another tracked file restates either PIN value.
30
31## Build and check glue (not executed by mailhand)
32
33| Tool | Use | Omega replacement |
34|---|---|---|
35| `/bin/sh`, `grep`, `sed`, `cat`, `sha256sum`, `chmod`, `mv`, `mkdir` (`build.sh`) | concatenate `src/UNITS` after one `om2` line, drop the units' own `om2` lines, read `export fn` as `fn`, check the compiler pin, run omc (the same glue omega-mcp's build.sh uses) | an Omega build program that reads UNITS and checks the pin with the vendored SHA-256 (the gate already does both) |
36| Lean 4 (`~/.elan/bin/lean`, version 4.35.0 used for the recorded check) | checks `proofs/Mailhand.lean` (models only; see proofs/README.md) | none needed: it is the proof checker |