Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omnet/blob/main/AGENTS.md # omnet aien-dev/omnet Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omnet / AGENTS.md` 35 lines ยท 2861 bytes Raw Blame History Source # Instructions for agents working in omnet Read `README.md` (mission, bug classes, design rules) and `docs/design/` before any edit. Shared rules: read https://www.aienos.com/agents/RULES.md first. This file adds what is specific to this repository; where the two differ, this file wins here. Rules: - Omega only for shipped logic. Anything that cannot be adapted from an existing component is written in Omega (`.om`). Code in other languages exists only where the design document names it as glue into an existing program, and that glue holds no protocol or security logic. Outside tools (Python, Go, OpenSSL, ...) are test oracles or vector generators, never shipped. - Pinned compiler. Build only with `tools/omc.sh`, the seed-born `omc` at the commit and digest in `omega.pin`. Changing the pin is its own commit with a stated reason and a full `tools/test.sh` run. - Units. `om//.om` holds functions only: no `fn main`, no globals, and every function name carries the unit prefix. Each unit has `test/run.sh`, committed vectors with their source URL and fetch date, and a mutant check. A mutant counts as detected only when the driver ran to completion and at least one result differs from the expected one; a trap or a failure to run fails the suite. - Pool companions. A unit that needs more working memory than a function may hold (local arrays are capped at 4 MiB, and globals cannot be passed to functions) may add one `pool.om`. It declares the global pool and the functions that touch it, and is included once by program-mode callers. Everything that does not touch the pool stays in the global-free library. The first case is `om/argon2/argon2pool.om`, which holds the 16 MiB Argon2 matrix. - Notices. Third-party text that is copied or translated (RFC excerpts, vector files, upstream code transcribed into a test oracle) ships with its upstream license or copyright notice next to it, and is listed in the unit README's "Third-party material and notices" section. - Public repository. The owner's public identity and name/email attribution are intentional. Do not anonymize that attribution or rewrite history to remove it. Credentials and private deployment details (hostnames, addresses, home-directory paths, private repositories) stay outside this repository; other people's private information still requires permission. - Claims carry evidence. Every number names its source: a command and its output, a vector file, or the arithmetic. Verdicts are PASS, FAIL, NOT_RUN. Never claim constant-time behaviour, or the absence of a vulnerability, without a check that shows it. - Commits. Conventional style (`feat(blake2s): ...`). Push branches with an explicit refspec (`git push origin HEAD:refs/heads/`). Agents do not add `Signed-off-by`.