directory-context Cursor ruleA

directory-context from sipyourdrink-ltd/bernstein is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add sipyourdrink-ltd/bernstein/.cursor/rules/directory-context.mdc@git:20260803.747152b

Pins git:20260803.747152b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Cursor rule
Repository
sipyourdrink-ltd/bernstein
Path
.cursor/rules/directory-context.mdc
Versions recorded
1
Latest version
git:20260803.747152b, committed Aug 3, 2026
Size
978 bytes
Repository stars
1,310
License
Apache-2.0

Directory context files.

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

<!-- AUTO-GENERATED by `bernstein agents-md sync` - DO NOT edit by hand. Source: AGENTS.md. -->

Per-directory context files for agents working inside a subtree. Each covers: what the directory is for, key files, invariants, and how to test that subtree.

| Path                                         | Covers |
|----------------------------------------------|--------|
| `src/bernstein/adapters/AGENTS.md`           | CLI agent adapters |
| `src/bernstein/cli/AGENTS.md`                | Click CLI |
| `src/bernstein/core/lineage/AGENTS.md`       | Lineage: artifact provenance |
| `src/bernstein/core/orchestration/AGENTS.md` | Orchestration engine |
| `src/bernstein/core/quality/AGENTS.md`       | Quality gates and verification |
| `src/bernstein/core/security/AGENTS.md`      | Security: audit chain, identity, policy |
| `tests/AGENTS.md`                            | Test suite |

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sipyourdrink-ltd/bernstein/.cursor/rules/directory-context.mdc@sha256:93b43347332661e3

The line at the top of this page pins the label git:20260803.747152b, 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_l4ia3cp3iadwqy6r.svg)](https://markdownregistry.com/a/art_l4ia3cp3iadwqy6r)

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

Versions

The registry has recorded 1 version of this file, committed on Aug 3, 2026.

versioncommittedcommitsizeaudit
git:20260803.747152b latest2026-08-03 747152b 978 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 (978 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

sipyourdrink-ltd/bernstein · 1,310 stars · license Apache-2.0 · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_l4ia3cp3iadwqy6r
GET https://markdownregistry.com/api/v1/resolve?ref=sipyourdrink-ltd/bernstein/.cursor/rules/directory-context.mdc
GET https://markdownregistry.com/api/v1/blob/93b43347332661e3034b5341ff9bad8a97672372d8f5185100f68680632c4436

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: Cursor rules vs AGENTS.md · which agent file does what.

More from sipyourdrink-ltd/bernstein

architecture Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/architecture.mdc · Architecture (entry points)
git:20260901.719ea1e · audit A · 1,310 stars
build-test Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/build-test.mdc · Build & test
git:20260724.4544404 · audit A · 1,310 stars
documentation-duty Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/documentation-duty.mdc · Documentation duty
git:20260521.b455a7c · audit A · 1,310 stars
git-workflow Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/git-workflow.mdc · Git workflow
git:20260521.b455a7c · audit B · 1,310 stars
module-map Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/module-map.mdc · Module map
git:20260821.e59b413 · audit A · 1,310 stars
overview Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/overview.mdc · Overview
git:20261002.1ce47da · audit A · 1,310 stars
roles Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/roles.mdc · Agent roles
git:20260521.b455a7c · audit A · 1,310 stars
setup Cursor rule
sipyourdrink-ltd/bernstein · .cursor/rules/setup.mdc · Setup
git:20260521.b455a7c · audit A · 1,310 stars
AGENTS.md AGENTS.md file
sipyourdrink-ltd/bernstein · AGENTS.md
git:20261002.1ce47da · audit A · 1,310 stars
CLAUDE.md CLAUDE.md file
sipyourdrink-ltd/bernstein · CLAUDE.md
git:20261002.1ce47da · audit A · 1,310 stars
DESIGN.md@docs/architecture DESIGN.md file
sipyourdrink-ltd/bernstein · docs/architecture/DESIGN.md
git:20260930.5f47161 · audit A · 1,310 stars
llms-full.txt@docs llms.txt file
sipyourdrink-ltd/bernstein · docs/llms-full.txt
git:20260926.b29f3ba · audit B · 1,310 stars

Every file in sipyourdrink-ltd/bernstein

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