AGENTS.md@src/bernstein/adaptersA

AGENTS.md@src/bernstein/adapters 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/adapters/AGENTS.md@git:20261104.497e313

Pins git:20261104.497e313 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/adapters/AGENTS.md
Versions recorded
8
Latest version
git:20261104.497e313, committed Nov 4, 2026
First version recorded
Aug 5, 2026
Size
4,234 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

# CLI agent adapters

One adapter per upstream coding-agent CLI (claude, codex, gemini, aider, goose, 50+ more): a task prompt becomes a CLI invocation and results stream back. One module per tool. The subtree also holds the scanner contract, deep-research adapters, and ingest adapters for runtimes Bernstein did not schedule.

## Key files

| File | Purpose |
|---|---|
| `base.py` | Base adapter: spawn, timeout, and kill discipline; lineage write boundary |
| `registry.py` | `_ADAPTERS` name -> class map, plus adapters built from capability profiles |
| `_contract.py` | Loads the per-adapter YAML capability contracts and asserts them |
| `capability_profile.py`, `draft.py` | Declarative capability profiles; `draft.py` drafts one from probe evidence during onboarding |
| `admission.py`, `env_isolation.py` | Receipt-gated adapter admission; spawned-agent environment allowlisting and credential filtering |
| `use_cases.py`, `opencode.py` | Adapter use-case catalogue; OpenCode bare model IDs require one matching provider in the operator's JSONC config |
| `acp_channel.py` | ACP subprocess frame transport and bridge to the orchestrator event loop |
…

Read the whole file at its exact version.

How to install

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

The line at the top of this page pins the label git:20261104.497e313, 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_phjhec2fkd73ulsd.svg)](https://markdownregistry.com/a/art_phjhec2fkd73ulsd)

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

Versions

The registry has recorded 8 versions of this file, between Aug 5, 2026 and Nov 4, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261104.497e313 latest2026-11-04 497e313 4,234 BA view · diff
git:20261024.e4919782026-10-24 e491978 4,138 BA view · diff
git:20261016.000048b2026-10-16 000048b 3,636 BA view · diff
git:20260827.24421972026-08-27 2442197 2,309 BA view · diff
git:20260824.34090c62026-08-24 34090c6 2,213 BA view · diff
git:20260820.c0bc08e2026-08-20 c0bc08e 2,016 BA view · diff
git:20260812.d87020d2026-08-12 d87020d 1,978 BA view · diff
git:20260805.283a3662026-08-05 283a366 1,815 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 (4234 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_phjhec2fkd73ulsd
GET https://markdownregistry.com/api/v1/resolve?ref=sipyourdrink-ltd/bernstein/src/bernstein/adapters/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/bba84a53b6e8dedb37a1555181b8bcfa231d0f6e6427559d662de45adef5a753

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.