Dependencies
mailhand is first-party seeded Omega (src/*.om, tests/*.om, tests/gen/*.om), plus one file copied
unchanged from omega-mv (vendor/omega-mv/om/sha256/sha256-om2.om, see NOTICE). At run time nothing
else executes: the program is one static AArch64 Linux executable that omc writes, and it makes system
calls only through Omega host words. It never starts another program, never opens a network
connection other than SMTP submission to a unix socket or 127.0.0.1 that the human configured, or
the IMAP and SMTP endpoints of the human's own accounts file ("Remote accounts" in the README), and
never fetches anything a mail names.
Source dependencies (DEPS)
Remote accounts use the omtls TLS 1.3 client (ot_tl_*, seeded Omega, OmegaTls); the fake mail servers
of the gate use its test TLS server and test certificates. Nothing of omtls is vendored here: DEPS
names each dependency by one commit (NAME RID COMMIT LIST), and build.sh builds tools/deps.om
(as build/depsgen) and runs it. It reads the files LIST names at COMMIT with git into
build/deps/NAME/ (lines =PATH of a list are fixtures, fetched but not compiled), skips the
SHA-256 unit that is byte-identical to vendor/omega-mv/om/sha256/sha256-om2.om, and writes
build/gen/<list> for src/UNITS and tests/srv/UNITS, where the line @omtls / @omtlssrv becomes
those files. Changing a line of DEPS is the only edit needed to move omtls.
Compiler (pinned)
| What | Pin |
|---|---|
| omc | seed/out/omc of omega-mv (Radicle rad:z6do9WDBhuSnvopDkgFdFr1yWA62) at the revision named in PIN, with the omc-sha256 named there |
PIN is the only file that states the pin. build.sh and the gate read it and refuse any other
compiler; the gate also fails when another tracked file restates either PIN value.
Build and check glue (not executed by mailhand)
| Tool | Use | Omega replacement |
|---|---|---|
/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) |
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 |