DESIGN.md@docsA
DESIGN.md@docs from vyncint/termlens is a DESIGN.md file: the design rules coding agents follow in that repo.
mdr add vyncint/termlens/docs/DESIGN.md@git:20261103.d3fc4dcPins 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
mdr add vyncint/termlens/docs/DESIGN.md@sha256:c89303674c6de84dThe 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261103.d3fc4dc latest | 2026-11-03 | d3fc4dc | 69,004 B | A | view · diff |
| git:20261103.37b4449 | 2026-11-03 | 37b4449 | 68,536 B | A | view · diff |
| git:20261103.e0ac04d | 2026-11-03 | e0ac04d | 68,128 B | A | view · diff |
| git:20261103.e7d5607 | 2026-11-03 | e7d5607 | 67,685 B | A | view · diff |
| git:20261103.55c2294 | 2026-11-03 | 55c2294 | 67,468 B | A | view · diff |
| git:20261027.bc92022 | 2026-10-27 | bc92022 | 67,268 B | A | view · diff |
| git:20261027.0b17311 | 2026-10-27 | 0b17311 | 66,557 B | A | view · diff |
| git:20261027.f834d5f | 2026-10-27 | f834d5f | 64,620 B | A | view · diff |
| git:20261027.2b28e5f | 2026-10-27 | 2b28e5f | 64,267 B | A | view · diff |
| git:20261027.35fdf9b | 2026-10-27 | 35fdf9b | 63,938 B | A | view · diff |
| git:20261014.83c6a10 | 2026-10-14 | 83c6a10 | 63,006 B | A | view · diff |
| git:20261007.a9edfe7 | 2026-10-07 | a9edfe7 | 58,731 B | A | view · diff |
| git:20261006.6e7d7c4 | 2026-10-06 | 6e7d7c4 | 58,652 B | A | view · diff |
| git:20260927.948eb9f | 2026-09-27 | 948eb9f | 58,297 B | A | view · diff |
| git:20260918.4306c98 | 2026-09-18 | 4306c98 | 57,800 B | A | view · diff |
| git:20260917.2d48030 | 2026-09-17 | 2d48030 | 57,803 B | A | view · diff |
| git:20260917.6322dee | 2026-09-17 | 6322dee | 57,514 B | A | view · diff |
| git:20260917.65470b7 | 2026-09-17 | 65470b7 | 57,098 B | A | view · diff |
| git:20260917.b6d4165 | 2026-09-17 | b6d4165 | 56,811 B | A | view · diff |
| git:20260910.fc62d0f | 2026-09-10 | fc62d0f | 54,594 B | A | view · diff |
| git:20260908.72342b2 | 2026-09-08 | 72342b2 | 50,661 B | A | view · diff |
| git:20260908.3953cf2 | 2026-09-08 | 3953cf2 | 50,279 B | A | view · diff |
| git:20260908.fc3f54e | 2026-09-08 | fc3f54e | 49,521 B | A | view · diff |
| git:20260908.595c577 | 2026-09-08 | 595c577 | 49,323 B | A | view · diff |
| git:20260908.28efcbb | 2026-09-08 | 28efcbb | 47,201 B | A | view · diff |
| git:20260905.595e825 | 2026-09-05 | 595e825 | 45,578 B | A | view |
Audit of the latest version
- 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
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
Every file in vyncint/termlens