DESIGN.md@cmakeA

DESIGN.md@cmake from 1ay1/agentty is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add 1ay1/agentty/cmake/DESIGN.md@git:20260927.584ab54

Pins git:20260927.584ab54 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
1ay1/agentty
Path
cmake/DESIGN.md
Versions recorded
4
Latest version
git:20260927.584ab54, committed Sep 27, 2026
First version recorded
Aug 18, 2026
Size
10,834 bytes
Repository stars
619
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

# agentty CMake redesign

Goal: turn the 2716-line root `CMakeLists.txt` — whose test section alone is
~1200 lines and whose every test-name lives in up to **four** hand-maintained
lists — into a small, layered, drift-proof build where **one declaration per
test** derives every downstream set, and **each repo runs only its own tests**.

This is a *structural* refactor. The compiler/linker flags, the object-library
layout, the doctest consolidation, ccache, and the per-platform hardening are
all good and are **preserved byte-for-byte in effect**. We are moving code, not
changing what it produces.

---

## 1. What's wrong today (measured)

| Smell | Evidence |
|-------|----------|
| **Multi-list name drift** | A test name appears in up to 4 places: the `agentty_add_full_test()` call (70×), `AGENTTY_MIGRATED_TESTS` (56×), the `add_custom_target(tests DEPENDS)` aggregate (25×), and sometimes the explicit `agentty_tests` source list. Forgetting one silently breaks CI ("Not Run" → exit 8 — hit this session). |
| **God file** | One 2716-line `CMakeLists.txt` mixes toolchain probing, standalone/static plumbing, submodule pulls, source groups, hardening, PGO, and the whole test suite. |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add 1ay1/agentty/cmake/DESIGN.md@sha256:93204a9c71d0f1b2

The line at the top of this page pins the label git:20260927.584ab54, 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_nl6jj463j7hydn6g.svg)](https://markdownregistry.com/a/art_nl6jj463j7hydn6g)

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

Versions

The registry has recorded 4 versions of this file, between Aug 18, 2026 and Sep 27, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20260927.584ab54 latest2026-09-27 584ab54 10,834 BA view · diff
git:20260818.f9d3d6f2026-08-18 f9d3d6f 10,822 BA view · diff
git:20260818.36326a02026-08-18 36326a0 10,505 BA view · diff
git:20260818.db78f6f2026-08-18 db78f6f 9,038 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 (10834 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

1ay1/agentty · 619 stars · license MIT · pushed 2026-10-29 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_nl6jj463j7hydn6g
GET https://markdownregistry.com/api/v1/resolve?ref=1ay1/agentty/cmake/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/93204a9c71d0f1b260337f6dd0444c4262d5d0d5d2a76a99191fee3d53fa4001

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 1ay1/agentty

DESIGN.md@docs DESIGN.md file
1ay1/agentty · docs/DESIGN.md
git:20261010.227e92e · audit A · 619 stars

Every file in 1ay1/agentty

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