DESIGN.md@src/lib/reasoningA

DESIGN.md@src/lib/reasoning from fiorastudio/buddy is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add fiorastudio/buddy/src/lib/reasoning/DESIGN.md@git:20260622.3979f4b

Pins git:20260622.3979f4b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
fiorastudio/buddy
Path
src/lib/reasoning/DESIGN.md
Versions recorded
4
Latest version
git:20260622.3979f4b, committed Jun 22, 2026
First version recorded
Apr 23, 2026
Size
24,391 bytes
Repository stars
119
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

# Reasoning Layer — Design Notes

This folder contains buddy's guard-mode reasoning layer: a light port of
[slimemold](https://github.com/justinstimatze/slimemold) that gives buddy
the ability to notice structural patterns in a coding conversation —
load-bearing assumptions, unchallenged chains, grounded premises — and
surface them in character through the pet personality.

This document explains the design decisions the code itself doesn't
obviously justify. Read it before changing algorithms, prompts, or
thresholds.

## Core principle: sycophancy as a tool

Guard mode is built on a deliberate inversion of LLM sycophancy.

Sycophancy works on users because warmth feels validating. It's a failure
mode because the warmth isn't tied to truth — "great question!" validates
no matter what the question was. Guard mode takes the same linguistic warmth
and points it at structural reasoning facts. The pet is warm (that's
buddy's default state, carried by the species voice + NEVER constraints
ported from effigy-lite) and in guard mode that warmth lands on concrete
observations about the reasoning graph:

- "That 'we need auth' assumption is holding up three things — worth
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fiorastudio/buddy/src/lib/reasoning/DESIGN.md@sha256:9b5395ac91e6d7a4

The line at the top of this page pins the label git:20260622.3979f4b, 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_aj3q35w6j7vc6i4w.svg)](https://markdownregistry.com/a/art_aj3q35w6j7vc6i4w)

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

Versions

The registry has recorded 4 versions of this file, between Apr 23, 2026 and Jun 22, 2026, about one every 20 days.

versioncommittedcommitsizeaudit
git:20260622.3979f4b latest2026-06-22 3979f4b 24,391 BA view · diff
git:20260429.06aca742026-04-29 06aca74 14,499 BA view · diff
git:20260427.a2ef7452026-04-27 a2ef745 14,539 BA view · diff
git:20260423.175e1122026-04-23 175e112 14,452 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 (24391 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

fiorastudio/buddy · 119 stars · license MIT · pushed 2026-11-07 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_aj3q35w6j7vc6i4w
GET https://markdownregistry.com/api/v1/resolve?ref=fiorastudio/buddy/src/lib/reasoning/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/9b5395ac91e6d7a482de4578099f54149cdb2bfd115566b63a81e7eeec525687

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: what DESIGN.md is and how agents use it · which agent file does what.

More from fiorastudio/buddy

buddy SKILL.md skill
fiorastudio/buddy · .claude-plugin/skills/buddy/SKILL.md
git:20260505.408ba91 · audit C · 119 stars
buddy-graph SKILL.md skill
fiorastudio/buddy · .codex/skills/buddy-graph/SKILL.md · Generate and open an interactive visualization of Buddy guard-mode reasoning data using Buddy's local CLI command. Use…
git:20260513.c2602ee · audit A · 119 stars

Every file in fiorastudio/buddy

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