DESIGN.md@tasks/TASK-2026-024-auto-confirm-risk-tiersB

DESIGN.md@tasks/TASK-2026-024-auto-confirm-risk-tiers from exboys/skilllite is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add exboys/skilllite/tasks/TASK-2026-024-auto-confirm-risk-tiers/DESIGN.md@git:20260406.a78979c

Pins git:20260406.a78979c in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
DESIGN.md file
Repository
exboys/skilllite
Path
tasks/TASK-2026-024-auto-confirm-risk-tiers/DESIGN.md
Versions recorded
1
Latest version
git:20260406.a78979c, committed Apr 6, 2026
Size
4,689 bytes
Repository stars
152
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

# Design: risk tiers and auto-approve

## Goals

- Stop **auto-approve** from approving destructive confirmations.
- Prefer **structured** `risk_tier` on the confirmation event instead of scraping `prompt` strings.
- Keep **deterministic** rules for v1; leave room for future LLM assist without blocking shipping.

## Proposed event shape (RPC → UI)

Today (conceptually): `confirmation_request` carries `{ "prompt": "..." }`.

Proposed payload (fields additive):

```json
{
  "prompt": "⚠️ Dangerous command detected\n\n...",
  "risk_tier": "confirm_required",
  "reason_code": "run_command.dangerous_pattern",
  "detail": "rm with force flag — may delete files irreversibly"
}
```

Suggested `risk_tier` values (v1):

| Value | Meaning | Auto-approve | Execute if user clicks Allow |
|-------|---------|--------------|-------------------------------|
| `low` | Routine tool confirm (e.g. generic run_command text with no dangerous match) | **Yes** (if setting on) | Yes |
| `confirm_required` | High impact or ambiguous (dangerous pattern match, key path write, network skill, L3 skill scan gate) | **No** | Yes (after manual confirm) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add exboys/skilllite/tasks/TASK-2026-024-auto-confirm-risk-tiers/DESIGN.md@sha256:191ead99d9d499aa

The line at the top of this page pins the label git:20260406.a78979c, 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_nnjowaukverc7ojy.svg)](https://markdownregistry.com/a/art_nnjowaukverc7ojy)

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

Versions

The registry has recorded 1 version of this file, committed on Apr 6, 2026.

versioncommittedcommitsizeaudit
git:20260406.a78979c latest2026-04-06 a78979c 4,689 BB view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No instruction to read or print local credentials (matched: cat .env`, `source .env)
  • pass: Size between 200 bytes and 200 KB (4689 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 base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for DESIGN.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

exboys/skilllite · 152 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nnjowaukverc7ojy
GET https://markdownregistry.com/api/v1/resolve?ref=exboys/skilllite/tasks/TASK-2026-024-auto-confirm-risk-tiers/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/191ead99d9d499aaf796f37952348bfd66089637142c6e4fbcf6d4dd8a2d52b3

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 exboys/skilllite

spec-injection-index Cursor rule
exboys/skilllite · .cursor/rules/spec-injection-index.mdc · Auto-select and inject project specs by task type
git:20260412.7a7fb95 · audit A · 152 stars
task-centered-workflow Cursor rule
exboys/skilllite · .cursor/rules/task-centered-workflow.mdc · Execute substantial work through task-centered workflow
git:20260401.2362c96 · audit A · 152 stars
check-weather-forecast SKILL.md skill
exboys/skilllite · .skills/_evolved/check-weather-forecast/SKILL.md · 查询指定城市未来几天(明天、后天等)的天气预报。当用户询问「明天」「后天」「未来几天」天气时使用;与 weather 互补,weather 仅提供实时天气。
v1.0 · audit A · 152 stars
agent-browser SKILL.md skill
exboys/skilllite · .skills/agent-browser/SKILL.md
git:20260301.c6e49d1 · audit B · 152 stars
calculator SKILL.md skill
exboys/skilllite · .skills/calculator/SKILL.md · A simple calculator that can add, subtract, multiply, and divide numbers. Use when the user needs to perform basic…
v1.0 · audit A · 152 stars
csdn-article SKILL.md skill
exboys/skilllite · .skills/csdn-article/SKILL.md · CSDN 博客文章格式与风格指引。当用户要求写 CSDN 文章时,按此格式直接输出 Markdown,无需调用工具。
v1.0 · audit A · 152 stars
data-analysis SKILL.md skill
exboys/skilllite · .skills/data-analysis/SKILL.md · 高级数据分析工具,使用 pandas 进行全面的数据统计分析。支持多种数据格式输入和丰富的分析操作,包括描述性统计、汇总统计、聚合分析、相关性分析和分组分析。
v2.0 · audit A · 152 stars
find-skills SKILL.md skill
exboys/skilllite · .skills/find-skills/SKILL.md · Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is…
git:20260303.ab8654d · audit A · 152 stars
frontend-design SKILL.md skill
exboys/skilllite · .skills/frontend-design/SKILL.md · Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to…
git:20260216.899d7cd · audit A · 152 stars
http-request SKILL.md skill
exboys/skilllite · .skills/http-request/SKILL.md · 发起 HTTP 网络请求,支持 GET、POST、PUT、DELETE、PATCH 方法。当用户需要调用 API、获取网页内容、发送数据到服务器时使用。
v1.0 · audit A · 152 stars
remotion-best-practices SKILL.md skill
exboys/skilllite · .skills/remotion-best-practices/SKILL.md · Best practices for Remotion - Video creation in React
git:20260311.274b8ba · audit A · 152 stars
skill-creator SKILL.md skill
exboys/skilllite · .skills/skill-creator/SKILL.md · Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
git:20260131.91e079b · audit A · 152 stars

Every file in exboys/skilllite

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