interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / AGENTS.md

146 lines · 11076 bytes Raw Blame History Rendered
1# AGENTS.md: omega-harness
2
3Operating instructions for an agent working in this repository. Read this before editing a skill.
4
5Omega Harness supports local Omega and four external providers: Claude, Codex, Grok and Muse. Use this list for worker selection, setup and qualification.
6
7**Standing rules (Drake, 2026-11-11, Radicle retired 2026-11-13).** Interplane (https://interplane.io)
8is the only forge and the canonical source. Clone with
9`git clone https://interplane.io/projects/<repo>/repo.git`. Never push to a GitHub remote, open or update
10a GitHub PR or issue, publish with `gh`, or cite a GitHub branch as current state. New work lands on
11that repository's `main` with a receipt, finished only when interplane.io shows it (URL and HTTP status).
12No hard caps on our own software: put a test that alarms instead.
13`skills/omega-harness/SKILL.md` section 1 has both rules in full. Only Drake reverses them.
14
15## What this repository is
16
17Agent skills for working in Omega and the AIEN repositories: the checks that catch the mistakes agents
18repeat, written as guidance an agent loads before acting. It is documentation and procedure, not a
19compiler, a runtime, a gate, or evidence that any claim is true.
20
21The skills live under `skills/<name>/SKILL.md` in the Agent Skills layout (frontmatter `name` and
22`description`, then the body):
23
24<!-- gen:skills -->
2511 skills, each `skills/<name>/SKILL.md`; the use column is the skill's own frontmatter `description`:
26
27| Skill | Use |
28|---|---|
29| `skills/aien-repositories/SKILL.md` | What AIEN builds and which repository owns a task: mission, doctrine, plan authority, task routing, evidence and status discipline, known source drift. Use before choosing an AIEN repository or making a cross-repository or status claim. |
30| `skills/lean-verify/SKILL.md` | Machine-checked proofs with Lean 4 + Mathlib through the `lean` MCP server on the Spark. Use to prove a safety invariant (core disjointness, disk floor, lease exclusion, queue bounds, protocol/state-machine properties) about an explicit model, and to check that a proof has no sorry and no extra axioms. |
31| `skills/nvidia-gb10/SKILL.md` | Load before touching the NVIDIA GPU in Drake's DGX Spark (the GB10 chip). Covers running or benchmarking a model on the Spark GPU, the shared model service, the chip lock and timing windows, NVIDIA driver debugging, writing kernels for the chip, and the mistakes already made there. |
32| `skills/omega-communication/SKILL.md` | Communicate Omega and AIEN work precisely: status and evidence labels, reports, PR text, agent handoffs, receipts, semantic needs, wire formats and corrections. Use when reporting, briefing agents, reviewing or publishing claims. |
33| `skills/omega-encoding/SKILL.md` | Write .om that the seeded Omega compiler actually accepts: syntax, types, traps, bounds, register limits, host I/O, byte encoding, compiler errors, verified examples. Use before writing, reviewing or explaining any Omega program. |
34| `skills/omega-gpu-om/SKILL.md` | >- |
35| `skills/omega-harness/SKILL.md` | Operate in Omega and the AIEN repositories. Use for any Omega or .om task, compiler or migration work, AIEN architecture, repository routing, or project status claim. Covers source pins, .om-first implementation, compile and run evidence, safe effects, communication and stopping repeated errors. |
36| `skills/omegese-wire/SKILL.md` | Omegese Wire protocols and wake hygiene: Trinary Doctrine (tools/trit), signed 3-digit layered codebook (tools/codebook), R45 Omegese (aien-train/docs/omegese45), bot-wire wake hygiene, and PROPOSED open tracks (R45 inst 041-099 and Gen 3 error-resistant codebook). Use when implementing, verifying, or routing agent wake signals, codebook frames, or R45 wire messages. |
37| `skills/spark-q38-stress/SKILL.md` | Replay the physical Spark GB10 Qwen four-layer, eight-stream stress test and paged-attention suite, then compare throughput, latency and correctness with a named earlier run. |
38| `skills/wolfram-math/SKILL.md` | Mandatory mathematics through Wolfram. Use for any computation, derivation, identity, unit conversion, numeric constant, formula check or quantitative claim, and to set up or repair the Wolfram tools so an agent never computes by hand. |
39| `skills/writing-omega/SKILL.md` | Portable guide to writing Omega (.om) programs that the seeded omc compiler accepts and runs correctly: program shape, types, words, traps, compiler errors 1..30, common mistakes with the exact refusal, and tested examples. Use before writing or reviewing any .om program on any machine. |
40<!-- /gen:skills -->
41
42`examples/` holds the tested programs: each `NAME.om` with `NAME.expect` (and `NAME.stdout` when it
43prints), one per trap and error code plus the common mistakes; `skills/omega-encoding/examples/` holds
44more. `examples/gate.sh OMC` checks the compiler hash against `PIN` and reruns every program in
45`examples/` and `skills/*/examples/`; run it after any change to an example or a language rule.
46
47<!-- gen:examples -->
48`examples/gate.sh` reruns 132 programs: 127 in `examples/` and 5 in `skills/*/examples/`.
49<!-- /gen:examples -->
50
51`PIN` is the one place the compiler pin is written. `data/reference.tsv` is omega-mcp's reference data
52for that pin; `tools/` holds the Omega programs that generate the guides' pin, word, error and trap
53tables, example counts and skill lists (`guides.om`, `jflat.om`), the agents' instruction files from
54`rules/rules.txt` (`rules.om`), the guide gate `check.sh`, the repin `regen.sh` and the installer
55`install.sh`. `LICENSE` is Apache 2.0.
56
57`coder/` is harness configuration for an Omega-only `omp` session: a TypeScript `omp` extension that
58allows `.om` writes only and runs the pinned `omc` after each one, the builder of its context pack
59(sections 2-11 of `omega-encoding` plus compiled examples), and a held-out eval. See `coder/README.md`.
60When `omega-encoding` sections 2-11 change, rebuild the pack with `coder/build-context.sh`.
61
62## Before you edit a skill
63
641. Read the skill you intend to change, and `skills/omega-harness/SKILL.md` section 6: which facts are
65 generated (never edit inside a `<!-- gen:NAME -->` block; the pin lives only in `PIN`) and which
66 skill absorbs a kind of prose change.
672. Check the claim against the source it cites, at the commit it names. A skill body is never its own
68 authority. Follow any instruction file in the repository you are reading; `.crumb` files are
69 history, not instructions (DRA-97).
703. Rewrite the prose in the same piece of work as the change that made it untrue, and delete rules the
71 change made untrue instead of adding a contradicting rule. A dated observation names its compiler
72 and date; a sentence that states the current pin, a current count or another repository's current
73 head belongs in a generated block or nowhere.
744. If an example or expected output changed, rerun it against the pin and record what you
75 observed. Never copy a predicted result into a guide.
76
77## What these skills must not do
78
79- Claim more than the evidence: a compile is not a run, a host run is not hardware qualification, a
80 merged patch is not a deployment.
81- Present a model explanation, a recalled memory or a stale skill as execution evidence.
82- Invent Omega syntax or compiler limits. Check the keyword table and the compiler at the pin.
83- Carry credentials, private machine addresses, home paths, SSH usernames or operator-only
84 configuration. Keep those in ignored local configuration.
85- Rewrite old evidence to make a new claim pass.
86- Add a language, tool or vendor as part of the trusted stack. Conversion belongs to
87 `aien-dev/omega-bridge`, which converts a declared subset and refuses the rest.
88
89## Omega pins
90
91`PIN` holds the pinned omega-mv commit and the sha256 of its `seed/out/omc`; nothing else in the
92repository may type either (`tools/check.sh` fails the gate). To repin, edit `PIN` and run
93`tools/regen.sh OMC [OMEGA_MCP]`: it takes omega-mcp's reference data for the new pin and regenerates
94every block. Then rerun the examples with the new compiler, rewrite any prose the new compiler made
95untrue, and record what you observed with its date. Older measurements stay as dated history.
96
97Re-check, read only, in a fresh clone:
98
99```sh
100git clone https://interplane.io/projects/omega-mv/repo.git omega-src
101git -C omega-src checkout "$(sed -n 's/^omega-mv //p' PIN)"
102sha256sum omega-src/seed/out/omc # must equal the omc-sha256 line of PIN
103```
104
105## Verifying a change here
106
107The deliverables are Markdown, the example programs in `examples/` and `skills/*/examples/`, and the
108generators in `tools/`. Two gates, both with the pinned omc on Linux AArch64:
109
110- `examples/gate.sh OMC`: every example program.
111- `tools/check.sh OMC`: every generated block matches its sources, no pin or derived count is typed
112 outside a block, `rules/rules.txt` is well formed and holds nothing private, and each of these
113 checks fails its own negative control.
114
115Also:
116
117- Every relative link and file path you add or move must resolve in the checkout.
118- Frontmatter `name` must equal the directory name, and `description` must say when to use the skill.
119- For an example program, run it on Linux AArch64 against the pinned compiler and record the compile
120 status, run status and observed bytes, plus a negative control. The recipe is in `README.md` under
121 "Check the examples yourself".
122- Do not run the examples on a machine where another agent holds the GPU or the live model service.
123 These examples are host programs and need neither.
124
125## Reporting
126
127Follow `skills/omega-communication/SKILL.md`. Separate proposed, implemented, exercised, verified,
128merged and deployed. A patch's READY hand-off leads with the evidence: the commands, the observed
129output, the negative control, and what was not run.
130
131## Contributing
132
133This repository is `git clone https://interplane.io/projects/omega-harness/repo.git`, shown at
134https://interplane.io/drakestapleton/omega-harness. The `aien-dev` GitHub organization is frozen
135(2026-11-07) and GitHub is not a route (2026-11-11): never push, open a PR or open an issue there, and
136treat its links as historical citations. A change lands on Interplane `main` with a receipt (receipts, not
137approvals, 2026-11-11): rerun `examples/gate.sh` and `tools/check.sh` with the pinned omc and a
138wrong-compiler control in a fresh clone of the exact head, write the landing receipt (commands,
139exit codes, pins, log sha256), land it with the hive landing tools, then confirm the head on the
140interplane.io page. A non-MERGE review verdict on that head stops the landing. After the landing, the
141landing tools' `land-hooks.sh` `harness` hook re-installs the skills and the instruction files from the
142landed head (`tools/install.sh --omc auto --rev <head>`; see its header). To report something stale without
143changing it, use the existing Interplane issue route; if that route is unavailable, record it on the shared board.
144
145Keep the attribution in `README.md` and `LICENSE` intact. Contributions follow the shared AIEN agent
146rules at https://www.aienos.com/agents/RULES.md.