message-box Cursor ruleA
message-box from zifeo/lade is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add zifeo/lade/.cursor/rules/message-box.mdc@git:20260925.2e99d05Pins git:20260925.2e99d05 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- zifeo/lade
- Path
.cursor/rules/message-box.mdc- Versions recorded
- 4
- Latest version
- git:20260925.2e99d05, committed Sep 25, 2026
- First version recorded
- Jun 12, 2026
- Size
- 1,546 bytes
- Repository stars
- 135
- License
- MPL-2.0
MessageBox is for attention. Command results use Report.
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
# stderr: box for attention, report for results
Never use `eprintln!` from command code. User-facing stderr goes through
`message_box`.
- **`MessageBox`** when the user must notice: errors, warnings, disclaimers,
pre-exec / pre-tool access failures, a new Lade release. The bordered
box is the point.
- **`Report`** for the result of a verb (`lade setup`, `lade update`,
`lade teardown`, `lade hook enable`, add/remove, upgrade already
current). Bold headings and colour when the terminal allows it. No
border.
`UiMode` / `is_interactive()` gates prompts, countdowns, and sleeps. It
must never suppress a `MessageBox`.
```rust
// ❌ BAD — setup success in a box
MessageBox::new().info().line("pre-exec this shell").print_stderr();
// ✅ GOOD — command result
Report::new().heading("pre-exec this shell").dim("Wraps commands you type.").print();
// ✅ GOOD — attention (pre-exec failure, or a new Lade release)
MessageBox::new().error().paragraph(e.to_string()).print_stderr();
```
Do not box `lade setup` / `lade update` success. After that report, if a
newer Lade binary is available, emit a `MessageBox` (`upgrade::nudge_if_available`).
…Read the whole file at its exact version.
How to install
mdr add zifeo/lade/.cursor/rules/message-box.mdc@sha256:b798cd7fb34721b1The line at the top of this page pins the label git:20260925.2e99d05, 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_eow7hf2br22bxz6q)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 12, 2026 and Sep 25, 2026, about one every 35 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260925.2e99d05 latest | 2026-09-25 | 2e99d05 | 1,546 B | A | view · diff |
| git:20260820.912dbe8 | 2026-08-20 | 912dbe8 | 1,455 B | A | view · diff |
| git:20260705.4ace042 | 2026-07-05 | 4ace042 | 1,427 B | A | view · diff |
| git:20260612.cec73b5 | 2026-06-12 | cec73b5 | 1,422 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1546 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
zifeo/lade · 135 stars · license MPL-2.0 · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_eow7hf2br22bxz6q GET https://markdownregistry.com/api/v1/resolve?ref=zifeo/lade/.cursor/rules/message-box.mdc GET https://markdownregistry.com/api/v1/blob/b798cd7fb34721b144562ff3a8f00bed5d4336ea59b776152ba05e6bed8bc209
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: Cursor rules vs AGENTS.md · which agent file does what.