AGENTS.md@src/bernstein/cliA

AGENTS.md@src/bernstein/cli from sipyourdrink-ltd/bernstein is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add sipyourdrink-ltd/bernstein/src/bernstein/cli/AGENTS.md@git:20261024.e491978

Pins git:20261024.e491978 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
sipyourdrink-ltd/bernstein
Path
src/bernstein/cli/AGENTS.md
Versions recorded
6
Latest version
git:20261024.e491978, committed Oct 24, 2026
First version recorded
Aug 3, 2026
Size
2,746 bytes
Repository stars
1,196
License
Apache-2.0

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

# Click CLI

The top-level `bernstein` command (`pyproject.toml` `[project.scripts]` maps it to `bernstein.cli.main:cli`). `main.py` builds the root click group and registers top-level commands and groups; implementations live in `commands/` (one module per command or group).

## Key files

| File | Purpose |
|---|---|
| `main.py` | Root click group; registers top-level commands and groups. Nested subcommands are registered on their parent group |
| `commands/` | Command and group implementations |
| `helpers.py` | Shared console and utility helpers |
| `run_cmd.py` | `bernstein run` entry; bootstrap/confirm split into siblings |
| `commands/governance_cmd.py` | The `bernstein govern` group: `verify`, `plan`, and the `audit`, `reconcile`, `inventory` and `lane` subcommands that live in `govern_*_cmd.py` |
| `commands/trust_cmd.py` | `bernstein trust`: the one sanctioned writer of `.sdd/runtime/workspace_trust.json` |
| `commands/verify_cmd.py`, `commands/verify_kinds.py` | `bernstein verify <artefact-path>` dispatches on the artefact's kind through a registry (#5103) |
| `commands/seal_cmd.py` | `bernstein seal`: anchors a run's sealed head outside this install (#4205) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sipyourdrink-ltd/bernstein/src/bernstein/cli/AGENTS.md@sha256:20f67241e5a6a137

The line at the top of this page pins the label git:20261024.e491978, 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_kj6hef7vjqsx3b5k.svg)](https://markdownregistry.com/a/art_kj6hef7vjqsx3b5k)

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

Versions

The registry has recorded 6 versions of this file, between Aug 3, 2026 and Oct 24, 2026, about one every 16 days.

versioncommittedcommitsizeaudit
git:20261024.e491978 latest2026-10-24 e491978 2,746 BA view · diff
git:20260827.24421972026-08-27 2442197 1,631 BA view · diff
git:20260824.34090c62026-08-24 34090c6 1,542 BA view · diff
git:20260820.c0bc08e2026-08-20 c0bc08e 1,445 BA view · diff
git:20260812.d87020d2026-08-12 d87020d 1,445 BA view · diff
git:20260803.747152b2026-08-03 747152b 1,365 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 (2746 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,196 stars · license Apache-2.0 · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kj6hef7vjqsx3b5k
GET https://markdownregistry.com/api/v1/resolve?ref=sipyourdrink-ltd/bernstein/src/bernstein/cli/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/20f67241e5a6a1372639a1ceca1156c1723dab14a573eff0166d136ea7ff736b

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 sipyourdrink-ltd/bernstein

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

Every file in sipyourdrink-ltd/bernstein

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