AGENTS.md@src/loggingA
AGENTS.md@src/logging from evanzhang008/open-walnut is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add evanzhang008/open-walnut/src/logging/AGENTS.md@git:20261010.3c73735Pins git:20261010.3c73735 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- evanzhang008/open-walnut
- Path
src/logging/AGENTS.md- Versions recorded
- 6
- Latest version
- git:20261010.3c73735, committed Oct 10, 2026
- First version recorded
- Feb 9, 2026
- Size
- 5,538 bytes
- Repository stars
- 34
- 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
# Logging — Quick Reference
**Full implementation details: `.claude/skills/walnut-ops/SKILL.md`** (incident investigation
playbook, always-on sentinels, levels, redaction patterns, browser log persistence
architecture, investigation commands).
## Essentials
- `import { log } from '../logging/index.js'` → `log.<subsystem>.info('msg', { fields })`;
child loggers via `log.agent.child('loop')`. `initLogging()` once at startup.
- All lines pass `redactSensitiveText()` before hitting disk (API keys, AWS creds, bearer
tokens, PEM blocks, `password=`/`token=` values → `[REDACTED]`).
- Browser `console.log/warn/error` are persisted to the same disk log with
`subsystem: 'browser'` (`console.debug` is NOT — never rely on it). Investigate frontend
issues with `walnut logs -s browser` — the disk log survives page refresh.
- **A frozen event loop names its culprit** (`src/core/stall-recorder.ts`, on by default,
`WALNUT_STALL_RECORDER=0` turns it off, `WALNUT_STALL_PROFILE=0` keeps only the counters).
Every probe-late line of 1 s or more carries `hold`: the loop thread's own CPU against the hold
…Read the whole file at its exact version.
How to install
mdr add evanzhang008/open-walnut/src/logging/AGENTS.md@sha256:ed2c573cd7c6f6d6The line at the top of this page pins the label git:20261010.3c73735, 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_jpcx3n5ydgiaomkq)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Feb 9, 2026 and Oct 10, 2026, about one every 49 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261010.3c73735 latest | 2026-10-10 | 3c73735 | 5,538 B | A | view · diff |
| git:20261004.dae2303 | 2026-10-04 | dae2303 | 3,909 B | A | view · diff |
| git:20260821.22b34fe | 2026-08-21 | 22b34fe | 842 B | A | view · diff |
| git:20260713.a7b0546 | 2026-07-13 | a7b0546 | 792 B | A | view · diff |
| git:20260311.02fbfa4 | 2026-03-11 | 02fbfa4 | 4,320 B | A | view · diff |
| git:20260209.a8edc87 | 2026-02-09 | a8edc87 | 1,917 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (5538 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
evanzhang008/open-walnut · 34 stars · license MIT · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jpcx3n5ydgiaomkq GET https://markdownregistry.com/api/v1/resolve?ref=evanzhang008/open-walnut/src/logging/AGENTS.md GET https://markdownregistry.com/api/v1/blob/ed2c573cd7c6f6d6e20cd08a047550382d9780c56a805f24065767a4e8602899
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.