interplane.Get Omega
Read in your language

omtex

aien-dev/omtex

Brought by drakestapleton

Unfinished: not checked yet

There is no published receipt of a rebuild from its source yet. What a receipt is

Get this repository
Git over HTTPS
git clone --no-checkout https://interplane.io/projects/omtex/repo.git omtex && git -C omtex checkout --detach 6f01dcf896a3f6433332acfd4d40a630a958241a
Source archive of 6f01dcf896a3f6433332acfd4d40a630a958241a
Download ZIP · tar.gz

README.md

omtex: write papers in Omega, publish LaTeX and PDF

Human-Directed Agentic Engineering

Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria, and stopping points; agents implement, execute checks, diagnose failures, and revise within those boundaries. Human review retains responsibility for claims, acceptance, and release decisions.

For the documented method and a systems-software case study, see Gregory M. Kurtzer, [*Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.23682548).

omtex is an Omega library (lib/omtex.om). A paper is an Omega program that calls omtex words such as title, section, para, equation, figure, table, bibitem and omlisting. Compiled with the pinned seeded compiler, the program writes the paper's LaTeX to stdout. pdflatex then makes the PDF.

  • Escaped or refused, never passed through. Prose uses a small markup (*emph*, **bold**, `code`, $math$, [@cite], [#ref], "quotes", ~ tie). Everything else is escaped. A byte the library cannot render safely stops the program with omtex: refused element N: <reason> at byte B and exit 111. Math passes only a check: balanced braces, no % $ #, and no \input, \write, \def or other deny-listed control sequences.
  • Omega listings are compiled. omlisting bodies must compile with the pinned omc (rc 0). omrefuse N + omlisting must be refused with error N. omfragment is shown and reported as NOT_CHECKED. A failed check stops the build (exit 113). Highlighting uses an Omega listings language generated from the compiler's own keyword table.
  • Deterministic. The same source gives the same .tex, and with SOURCE_DATE_EPOCH the same PDF bytes.

Design and rationale: docs/DESIGN.md. omtex is a library, not a target latex in omc.

Quick start

Needs Linux AArch64 (the pinned omc emits arm64 ELF), git, sh, and TeX Live with cm-super (see DEPENDENCIES.md).

git clone https://github.com/aien-dev/omtex.git && cd omtex
tools/build.sh examples/hello/hello.om build/hello     # fetches the pinned omc on first use
tests/run.sh                                           # TESTS pass=59 fail=0 not_run=0

tools/build.sh checks the omc sha256 against tools/pin.sh and refuses any other compiler. Set OMC to use an existing copy of the pinned seed/out/omc. The build:

  1. concatenates lib/omtex.om with the paper (Omega has no imports yet) and compiles it;
  2. runs the program to produce paper.tex;
  3. runs paper.gen check OMC DIR to compile every Omega listing;
  4. runs pdflatex (and bibtex if the paper uses it) until references settle. An unresolved reference fails the build.

A paper

text o1 "11pt"
text c1 "article"
text fe "fontenc"
text fo "T1"
text t1 "Hello from *Omega*"
text a1 "M. Drake Stapleton"
text s1 "Intro"
text l1 "sec:intro"
text p1 "Costs 5% & more_stuff, see Section[#sec:intro]; \"quoted\" and `a_b{c}` and $x^2 + y_{i}$ and **bold *nested* bold**."
fn main to int
docclass o1 c1
usepkgo fo fe
title t1
author a1
begindoc
maketitle
sectionl s1 l1
para p1
enddoc
ret 0
end

This is examples/hello/hello.om. Each word takes the names of Omega text constants as arguments.

PhaseWords
preambledocclass opts cls, usepkg name, usepkgo opts name, preamble line, omlang, title, author, date
documentbegindoc, maketitle, docabstract, enddoc
structuresection, sectionl t label, sectionn (unnumbered), subsection, subsectn
textpara, paran (no indent), prose (does not end the paragraph), parbreak, rawtex (math-checked)
listsitemize, itemizeo opts, enumerate, item, endlist
mathequation, equationl label m, displaymath, align
floatsfigure path caption label, table caption label spec, cell, row, hline, endtable
referencesbibbegin, bibitem key text, bibtex style file
listingscodelang name, listing, omlisting, omrefuse rc, omfragment (each caption label body)

Examples:

  • examples/omega-language: reproduces the published Omega paper (Zenodo 23547811).
  • examples/turing-brief: reproduces The Turing brief from aienos.com.
  • examples/listings: feature tour, with listings checked by the compiler, a table, a figure, a bibliography and math.

Reproductions

Both papers were reproduced from Omega source. In each case the PDF text matches the published PDF with 0 differing lines, and every page is pixel-identical to the original .tex built with the same pdfTeX. Details, including the remaining source-level differences, are in evidence/REPRODUCTION.md. Run the comparison with tools/compare.sh.

Zenodo

tools/zenodo-draft.sh creates an unpublished draft (new) or a new-version draft of a published record (newversion), uploads the PDF, and checks the md5. show and discard also exist. It never publishes: any URL containing publish is refused, and the run fails unless the deposition is still an unsubmitted draft afterwards. Publishing is done by a person in the Zenodo web UI.

atlas-vault run ZENODO_TOKEN -- sh tools/zenodo-draft.sh new build/listings/paper.pdf examples/listings/zenodo.json
atlas-vault run ZENODO_TOKEN -- sh tools/zenodo-draft.sh newversion 23547811 build/omega-language/paper.pdf

--sandbox uses sandbox.zenodo.org with ZENODO_SANDBOX_TOKEN. Runs against zenodo.org are in evidence/zenodo-*.txt.

License

Apache License 2.0 with LLVM Exceptions; see LICENSE and NOTICE.

For developers: proof and records

The full record of this project. Words that are used only here are explained once:

ID
The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is git:45bd4ac397d89f3dd3eb0deb37719a8e73b94a778bb8bb1c9ccfb379540e450a. Its old id, kept only so that old links still work: zcBSb6QfXYD2tVRHF6GmXBALFx66.
Owner
The key that signs every record of the project. This forge lists the project under drakestapleton; its key is SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs.
Refs and HEAD
Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch.
Patch
A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes.
Receipt
A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts. This project has no receipt in that list yet.

Clones and fetches over HTTPS: 0 by visitors (git smart-HTTP info/refs requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured git-upload-pack requests from all clients (the source of this count is retired)

Downloads: 2 by visitors (2 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)

commit 6f01dcf896a3f6433332acfd4d40a630a958241a Branches Tags History
6f01dcf build(deps): bump actions/checkout from 4.4.0 to 7.0.1 (#4) dependabot[bot] committed 2026-11-01
.github/
docs/
evidence/
examples/
lib/
tests/
tools/
.gitignore8
AGENTS.md1649
AUDIT_SCOPE.md6078
DEPENDENCIES.md2537
LICENSE12278
NOTICE1348
README.md5818
SECURITY.md2533

Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON