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 Rendered 1 # Instructions for agents working in omnet 2 3 Read `README.md` (mission, bug classes, design rules) and `docs/design/` before any edit. 4 5 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. 6 7 Rules: 8 9 - **Omega only for shipped logic.** Anything that cannot be adapted from an existing component is 10 written in Omega (`.om`). Code in other languages exists only where the design document names it as 11 glue into an existing program, and that glue holds no protocol or security logic. Outside tools 12 (Python, Go, OpenSSL, ...) are test oracles or vector generators, never shipped. 13 - **Pinned compiler.** Build only with `tools/omc.sh`, the seed-born `omc` at the commit and digest in 14 `omega.pin`. Changing the pin is its own commit with a stated reason and a full `tools/test.sh` run. 15 - **Units.** `om//.om` holds functions only: no `fn main`, no globals, and every function 16 name carries the unit prefix. Each unit has `test/run.sh`, committed vectors with their source URL and 17 fetch date, and a mutant check. A mutant counts as detected only when the driver ran to completion 18 and at least one result differs from the expected one; a trap or a failure to run fails the suite. 19 - **Pool companions.** A unit that needs more working memory than a function may hold (local arrays 20 are capped at 4 MiB, and globals cannot be passed to functions) may add one `pool.om`. It 21 declares the global pool and the functions that touch it, and is included once by program-mode 22 callers. Everything that does not touch the pool stays in the global-free library. The first case 23 is `om/argon2/argon2pool.om`, which holds the 16 MiB Argon2 matrix. 24 - **Notices.** Third-party text that is copied or translated (RFC excerpts, vector files, upstream 25 code transcribed into a test oracle) ships with its upstream license or copyright notice next to 26 it, and is listed in the unit README's "Third-party material and notices" section. 27 - **Public repository.** The owner's public identity and name/email attribution are intentional. 28 Do not anonymize that attribution or rewrite history to remove it. Credentials and private 29 deployment details (hostnames, addresses, home-directory paths, private repositories) stay 30 outside this repository; other people's private information still requires permission. 31 - **Claims carry evidence.** Every number names its source: a command and its output, a vector file, 32 or the arithmetic. Verdicts are PASS, FAIL, NOT_RUN. Never claim constant-time behaviour, or the 33 absence of a vulnerability, without a check that shows it. 34 - **Commits.** Conventional style (`feat(blake2s): ...`). Push branches with an explicit refspec 35 (`git push origin HEAD:refs/heads/`). Agents do not add `Signed-off-by`.