AGENTS.md@packages/client/src/lib/gatewayA
AGENTS.md@packages/client/src/lib/gateway from blackbelttechnology/pi-agent-dashboard is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add blackbelttechnology/pi-agent-dashboard/packages/client/src/lib/gateway/AGENTS.md@git:20261019.254d85aPins git:20261019.254d85a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- blackbelttechnology/pi-agent-dashboard
- Path
packages/client/src/lib/gateway/AGENTS.md- Versions recorded
- 8
- Latest version
- git:20261019.254d85a, committed Oct 19, 2026
- First version recorded
- Jul 18, 2026
- Size
- 6,843 bytes
- Repository stars
- 341
- License
- MIT
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
# DOX — packages/client/src/lib/gateway
Files in this directory. One row per source file. See change: fold-oversized-agents-directories.
| File | Purpose |
|------|---------|
| `gateway-action.ts` | Pure config algebra for the "add gateway URL" action (D12/D13). Exports `validateGatewayDraft` (scheme drives eligibility: `http://` needs a trusted network and can be neither QR-paired nor OAuth; ≥1 auth mode mandatory), `buildGatewayAddPatch` (ONE patch carrying `publicBaseUrls` + `cors.allowedOrigins` + `auth.redirectBaseUrl` iff oauth + `trustedNetworks` iff trusted-network + the `gateways[]` provenance record — atomicity is structural), `buildGatewayRemovePatch` (reverts only recorded values STILL EQUAL in live config), `computeGatewayStatus` (read-only; trusted networks checked against the EFFECTIVE merge, top-level ∪ `auth.bypassHosts`), `buildGatewayFixPatch` (delta only, never re-runs add), `suggestMeshGatewayDraft(readiness, config)` (Add-editor defaults from first connected provider's non-empty `magicdns` URL not already a gateway/publicBaseUrl → `{url, authModes:["trusted-network"], cidr: exact mesh host}`; never the whole tailnet range — D12), plus the D9 offer layer…
…Read the whole file at its exact version.
How to install
mdr add blackbelttechnology/pi-agent-dashboard/packages/client/src/lib/gateway/AGENTS.md@sha256:25df720f66d4ffb9The line at the top of this page pins the label git:20261019.254d85a, 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_c5w77fdvi2bktj7k)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 8 versions of this file, between Jul 18, 2026 and Oct 19, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261019.254d85a latest | 2026-10-19 | 254d85a | 6,843 B | A | view · diff |
| git:20261019.acdfb76 | 2026-10-19 | acdfb76 | 5,877 B | A | view · diff |
| git:20261017.ecfa4fe | 2026-10-17 | ecfa4fe | 4,728 B | A | view · diff |
| git:20260928.3262e2b | 2026-09-28 | 3262e2b | 4,689 B | A | view · diff |
| git:20260820.cd99caa | 2026-08-20 | cd99caa | 3,738 B | A | view · diff |
| git:20260813.85c3bce | 2026-08-13 | 85c3bce | 1,980 B | A | view · diff |
| git:20260808.f219f4e | 2026-08-08 | f219f4e | 1,797 B | A | view · diff |
| git:20260718.c37a585 | 2026-07-18 | c37a585 | 999 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (6843 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
blackbelttechnology/pi-agent-dashboard · 341 stars · license MIT · pushed 2026-11-06 · branch develop
API
GET https://markdownregistry.com/api/v1/artifacts/art_c5w77fdvi2bktj7k GET https://markdownregistry.com/api/v1/resolve?ref=blackbelttechnology/pi-agent-dashboard/packages/client/src/lib/gateway/AGENTS.md GET https://markdownregistry.com/api/v1/blob/25df720f66d4ffb94d8cf83aad06f46030be38d6a8db344798b048f78c80e891
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.