AGENTS.md@layer/modules/eventsA

AGENTS.md@layer/modules/events from incubrain/foundry is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add incubrain/foundry/layer/modules/events/AGENTS.md@git:20261023.1e10b80

Pins git:20261023.1e10b80 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
incubrain/foundry
Path
layer/modules/events/AGENTS.md
Versions recorded
6
Latest version
git:20261023.1e10b80, committed Oct 23, 2026
First version recorded
Sep 25, 2026
Size
37,865 bytes
Repository stars
79
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

# Events Module — AI Agent Instructions

Signal capture. One pipe: client event → `events:track` hook → signal provider →
`/api/_signals/ingest` → capped ring buffer → external consumer pulls
`/api/_signals/export`. There are no analytics providers, no outbound webhooks, and no
logging library for signals — anything that isn't the signal pipe was removed on purpose.
(The one `consola` logger tagged `foundry` only prints the startup report and buffer
failures to the operator's console — see "Boot report".)

## File Map

```
layer/modules/events/
├── index.ts                          # Module setup (auto-imports, routes, plugins)
├── runtime/
│   ├── types/
│   │   ├── events.ts                 # Event types, interfaces, module options
│   │   └── signal.ts                 # SignalRow envelope (events AND logs), export/meta types, SIGNAL_TEXT_MAX
│   ├── composables/
│   │   ├── useEvents.ts              # Main event tracking API
│   │   └── useSignalQueue.ts         # Client batch queue → /api/_signals/ingest (retry once, `client_dropped`)
│   ├── plugins/
│   │   ├── events.client.ts          # Core plugin (hook infra + dev-only `debug` console echo)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add incubrain/foundry/layer/modules/events/AGENTS.md@sha256:8c243a46ff7c4818

The line at the top of this page pins the label git:20261023.1e10b80, 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_esdkuqqd7r2gqs4u.svg)](https://markdownregistry.com/a/art_esdkuqqd7r2gqs4u)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Sep 25, 2026 and Oct 23, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20261023.1e10b80 latest2026-10-23 1e10b80 37,865 BA view · diff
git:20260925.0b0d1182026-09-25 0b0d118 25,283 BA view · diff
git:20260925.8e3cadb2026-09-25 8e3cadb 23,356 BA view · diff
git:20260925.ceceeef2026-09-25 ceceeef 22,073 BA view · diff
git:20260925.acae8012026-09-25 acae801 20,971 BA view · diff
git:20260925.19dc9642026-09-25 19dc964 21,255 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 (37865 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

incubrain/foundry · 79 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_esdkuqqd7r2gqs4u
GET https://markdownregistry.com/api/v1/resolve?ref=incubrain/foundry/layer/modules/events/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/8c243a46ff7c4818e7d107d707b77c54fa6ea42670e3df8347701fa1d4016108

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 incubrain/foundry

CLAUDE.md CLAUDE.md file
incubrain/foundry · CLAUDE.md
git:20261001.f2ed029 · audit A · 79 stars
DESIGN.md@examples/foundry DESIGN.md file
incubrain/foundry · examples/foundry/DESIGN.md · Observatory strip-chart station — a smoked-drum seismogram recording the agent-traffic transition.
git:20260831.f9961e3 · audit A · 79 stars
AGENTS.md@layer/modules/blog AGENTS.md file
incubrain/foundry · layer/modules/blog/AGENTS.md
git:20261105.6462107 · audit A · 79 stars
AGENTS.md@layer/modules/rss AGENTS.md file
incubrain/foundry · layer/modules/rss/AGENTS.md
git:20260223.17e11e8 · audit A · 79 stars

Every file in incubrain/foundry

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