DESIGN.md@docsA

DESIGN.md@docs from vyncint/termlens is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add vyncint/termlens/docs/DESIGN.md@git:20261103.d3fc4dc

Pins git:20261103.d3fc4dc in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
vyncint/termlens
Path
docs/DESIGN.md
Versions recorded
26
Latest version
git:20261103.d3fc4dc, committed Nov 3, 2026
First version recorded
Sep 5, 2026
Size
69,004 bytes
Repository stars
27
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

# termlens — Design

Condensed architecture notes. This document is the contract for anything
touching wait semantics, the snapshot format, or the emulator boundary —
change those only with a matching change here.

## 1. Four layers

```mermaid
flowchart TB
  test["test code"]
  l4["4 · assertions<br/>wait_until / wait_frame / wait_idle / wait_exit · Screen queries · insta snapshots"]
  l3["3 · Screen<br/>immutable Arc-backed grid snapshots · Cell · Style · cursor · title & modes — termlens's own types"]
  l2["2 · emulator<br/>internal trait: process · snapshot · mid_sequence · in_sync_update · input_modes · mode_state · set_size<br/>backend: vt100"]
  l1["1 · PTY<br/>portable-pty · reader thread · resize TIOCSWINSZ → SIGWINCH · lifecycle lock"]
  app["child app<br/>spawned in the PTY, unmodified"]

  app -->|"escape-sequence bytes"| l1
  l1 -->|"reader thread · mutate under lock, notify waiters"| l2
  l2 -->|"snapshot on demand"| l3
  l3 -->|"predicates · dumps embedded in every timeout"| l4
  l4 --> test
  test -.->|"send · click · drag · paste · resize · signal"| l1
  l1 -.->|"stdin bytes · SIGWINCH"| app
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add vyncint/termlens/docs/DESIGN.md@sha256:c89303674c6de84d

The line at the top of this page pins the label git:20261103.d3fc4dc, 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_v3miqlzfwxpea3bh.svg)](https://markdownregistry.com/a/art_v3miqlzfwxpea3bh)

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

Versions

The registry has recorded 26 versions of this file, between Sep 5, 2026 and Nov 3, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261103.d3fc4dc latest2026-11-03 d3fc4dc 69,004 BA view · diff
git:20261103.37b44492026-11-03 37b4449 68,536 BA view · diff
git:20261103.e0ac04d2026-11-03 e0ac04d 68,128 BA view · diff
git:20261103.e7d56072026-11-03 e7d5607 67,685 BA view · diff
git:20261103.55c22942026-11-03 55c2294 67,468 BA view · diff
git:20261027.bc920222026-10-27 bc92022 67,268 BA view · diff
git:20261027.0b173112026-10-27 0b17311 66,557 BA view · diff
git:20261027.f834d5f2026-10-27 f834d5f 64,620 BA view · diff
git:20261027.2b28e5f2026-10-27 2b28e5f 64,267 BA view · diff
git:20261027.35fdf9b2026-10-27 35fdf9b 63,938 BA view · diff
git:20261014.83c6a102026-10-14 83c6a10 63,006 BA view · diff
git:20261007.a9edfe72026-10-07 a9edfe7 58,731 BA view · diff
git:20261006.6e7d7c42026-10-06 6e7d7c4 58,652 BA view · diff
git:20260927.948eb9f2026-09-27 948eb9f 58,297 BA view · diff
git:20260918.4306c982026-09-18 4306c98 57,800 BA view · diff
git:20260917.2d480302026-09-17 2d48030 57,803 BA view · diff
git:20260917.6322dee2026-09-17 6322dee 57,514 BA view · diff
git:20260917.65470b72026-09-17 65470b7 57,098 BA view · diff
git:20260917.b6d41652026-09-17 b6d4165 56,811 BA view · diff
git:20260910.fc62d0f2026-09-10 fc62d0f 54,594 BA view · diff
git:20260908.72342b22026-09-08 72342b2 50,661 BA view · diff
git:20260908.3953cf22026-09-08 3953cf2 50,279 BA view · diff
git:20260908.fc3f54e2026-09-08 fc3f54e 49,521 BA view · diff
git:20260908.595c5772026-09-08 595c577 49,323 BA view · diff
git:20260908.28efcbb2026-09-08 28efcbb 47,201 BA view · diff
git:20260905.595e8252026-09-05 595e825 45,578 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 (69004 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

vyncint/termlens · 27 stars · license Apache-2.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_v3miqlzfwxpea3bh
GET https://markdownregistry.com/api/v1/resolve?ref=vyncint/termlens/docs/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/c89303674c6de84d33d59d890ecf2d272e82fbec4d22564ab583e3ab5ede0580

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 vyncint/termlens

AGENTS.md AGENTS.md file
vyncint/termlens · AGENTS.md
git:20261014.83c6a10 · audit A · 27 stars
CLAUDE.md CLAUDE.md file
vyncint/termlens · CLAUDE.md
git:20260822.90af796 · audit A · 27 stars
termlens SKILL.md skill
vyncint/termlens · skills/termlens/SKILL.md · Write, fix or review headless terminal tests for a Rust CLI or TUI (ratatui, crossterm, cursive, plain println) with…
git:20261103.61f597e · audit A · 27 stars

Every file in vyncint/termlens

Other files named DESIGN.md@docs

DESIGN.md@docs DESIGN.md file
mvschwarz/openrig · docs/DESIGN.md
git:20261005.f6358a2 · audit A · 8,636 stars
DESIGN.md@docs DESIGN.md file
geekjourneyx/md2wechat-skill · docs/DESIGN.md
git:20260319.1e4d509 · audit A · 3,786 stars
DESIGN.md@docs DESIGN.md file
keli-wen/agy-staff · docs/DESIGN.md
git:20261102.9ddec3e · audit A · 816 stars
DESIGN.md@docs DESIGN.md file
1ay1/agentty · docs/DESIGN.md
git:20261010.227e92e · audit A · 614 stars
DESIGN.md@docs DESIGN.md file
vintlin/skill-flow · docs/DESIGN.md · A compact macOS operations workspace built from layered neutral surfaces, user-selectable accents, reusable group…
beta · audit A · 264 stars
DESIGN.md@docs DESIGN.md file
shellishack/infinite-pokemon · docs/DESIGN.md
git:20260914.2f240d9 · audit A · 139 stars
DESIGN.md@docs DESIGN.md file
ghalebdweikat/winnow · docs/DESIGN.md
git:20261006.4547a81 · audit A · 115 stars
DESIGN.md@docs DESIGN.md file
viy1204/recruiting-copilot · docs/DESIGN.md
git:20261104.ada520e · audit A · 109 stars

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