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.

Install it, pinned
mdr add z80dev/lemon/apps/lemon_gateway/AGENTS.md@git:20260927.6027bc7

Pins 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

The exact contents, by fingerprint
mdr add z80dev/lemon/apps/lemon_gateway/AGENTS.md@sha256:70959f5ef454bdfa

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_klaefofzfkicz3vs.svg)](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.

versioncommittedcommitsizeaudit
git:20260927.6027bc7 latest2026-09-27 6027bc7 4,313 BA view · diff
git:20260927.e328ad12026-09-27 e328ad1 11,902 BA view · diff
git:20260902.b3e2df52026-09-02 b3e2df5 11,859 BA view · diff
git:20260902.8374a562026-09-02 8374a56 11,781 BA view · diff
git:20260902.26a853b2026-09-02 26a853b 11,647 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from z80dev/lemon

discord-client SKILL.md skill
z80dev/lemon · .claude/skills/discord-client/SKILL.md · Interact with Discord via a bot: read channels, send messages, list guilds/channels, upload files, manage threads. Uses…
git:20260227.db92fa9 · audit A · 133 stars
telegram-gateway-debug-loop SKILL.md skill
z80dev/lemon · .claude/skills/telegram-gateway-debug-loop/SKILL.md · Debug and stress-test lemon gateway behavior by acting as both sides of Telegram conversations: run lemon-gateway with…
git:20260222.f3bbc65 · audit B · 133 stars
verify-lemon SKILL.md skill
z80dev/lemon · .claude/skills/verify-lemon/SKILL.md · Verify lemon features against a running (or disposable) instance using the cheapest sufficient tier: DIRECT (attach/RPC…
git:20260927.d6d05b6 · audit A · 133 stars
AGENTS.md AGENTS.md file
z80dev/lemon · AGENTS.md
git:20261022.1fbe0d2 · audit A · 133 stars
AGENTS.md@apps/coding_agent AGENTS.md file
z80dev/lemon · apps/coding_agent/AGENTS.md
git:20261015.04ef782 · audit A · 133 stars
AGENTS.md@apps/coding_agent/priv/templates/workspace AGENTS.md file
z80dev/lemon · apps/coding_agent/priv/templates/workspace/AGENTS.md
git:20260927.c9fe4ce · audit A · 133 stars
AGENTS.md@apps/lemon_agent AGENTS.md file
z80dev/lemon · apps/lemon_agent/AGENTS.md
git:20261016.915ee85 · audit A · 133 stars
AGENTS.md@apps/lemon_ai AGENTS.md file
z80dev/lemon · apps/lemon_ai/AGENTS.md
git:20260927.6027bc7 · audit A · 133 stars
AGENTS.md@apps/lemon_automation AGENTS.md file
z80dev/lemon · apps/lemon_automation/AGENTS.md
git:20261022.051acb1 · audit A · 133 stars
AGENTS.md@apps/lemon_channels AGENTS.md file
z80dev/lemon · apps/lemon_channels/AGENTS.md
git:20261016.30dc4cb · audit A · 133 stars
AGENTS.md@apps/lemon_computer_use AGENTS.md file
z80dev/lemon · apps/lemon_computer_use/AGENTS.md
git:20261016.83cf30c · audit A · 133 stars
AGENTS.md@apps/lemon_control_plane AGENTS.md file
z80dev/lemon · apps/lemon_control_plane/AGENTS.md
git:20260927.6027bc7 · audit A · 133 stars

Every file in z80dev/lemon

Browse by kind, by grade A, or by owner.