AGENTS.md@apps/lemon_gatewayA
AGENTS.md@apps/lemon_gateway from z80dev/lemon is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add z80dev/lemon/apps/lemon_gateway/AGENTS.md@git:20260927.6027bc7Pins git:20260927.6027bc7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- z80dev/lemon
- Path
apps/lemon_gateway/AGENTS.md- Versions recorded
- 5
- Latest version
- git:20260927.6027bc7, committed Sep 27, 2026
- First version recorded
- Sep 2, 2026
- Size
- 4,313 bytes
- Repository stars
- 133
- License
- a license file GitHub does not identify
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# LemonGateway contributor guide
Gateway owns execution slots, launch isolation, native run lifecycle, cancellation
and resume. Router owns collect/follow-up/steer/interrupt semantics. Channels owns
messaging adapters; gateway-native SMS/voice/webhook ingress remains opt-in through
`:gateway_ingress_enabled`. See [README](README.md).
## Executor and lifecycle
- Gateway has one configured singleton executor, `CodingAgent.Executor`, validated
by `LemonGateway.Executor`. Native runs carry fixed `engine: "lemon"` provenance;
subagent identity never selects or replaces gateway execution.
- Do not restore engine registries, selectable/custom engines, vendor CLI runners
or engine-selection config. Add model providers in `lemon_ai`, native tools in
`coding_agent`, and delegation through the existing `task`/`agent` tools.
- The public submission boundary is
`LemonGateway.Runtime.submit_execution(%LemonCore.ExecutionCommand{})`.
Gateway constructs its private `ExecutionRequest`; consumers do not.
- `Scheduler` grants slots for the router-supplied conversation key.
`ThreadWorker` only launches runs; `EngineLock` is defense-in-depth isolation,
not a second product queue.
…Read the whole file at its exact version.
How to install
mdr add z80dev/lemon/apps/lemon_gateway/AGENTS.md@sha256:70959f5ef454bdfaThe line at the top of this page pins the label git:20260927.6027bc7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_klaefofzfkicz3vs)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 2, 2026 and Sep 27, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260927.6027bc7 latest | 2026-09-27 | 6027bc7 | 4,313 B | A | view · diff |
| git:20260927.e328ad1 | 2026-09-27 | e328ad1 | 11,902 B | A | view · diff |
| git:20260902.b3e2df5 | 2026-09-02 | b3e2df5 | 11,859 B | A | view · diff |
| git:20260902.8374a56 | 2026-09-02 | 8374a56 | 11,781 B | A | view · diff |
| git:20260902.26a853b | 2026-09-02 | 26a853b | 11,647 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (4313 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
z80dev/lemon · 133 stars · license a license file GitHub does not identify · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_klaefofzfkicz3vs GET https://markdownregistry.com/api/v1/resolve?ref=z80dev/lemon/apps/lemon_gateway/AGENTS.md GET https://markdownregistry.com/api/v1/blob/70959f5ef454bdfae024f1e75fae1439c6c8568bd867a2157f6ff51c8b97740e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.