惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
V
Visual Studio Blog
雷峰网
雷峰网
J
Java Code Geeks
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog RSS Feed
C
Check Point Blog
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
V2EX
D
Docker
IT之家
IT之家
博客园 - 聂微东
腾讯CDC
U
Unit 42
Microsoft Security Blog
Microsoft Security Blog
The Cloudflare Blog

Hacker News: Front Page

SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Ancient DNA reveals pervasive directional selection across West Eurasia [pdf] AI cybersecurity is not proof of work Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. A Better Ludum Dare; Or, How to Ruin a Legacy GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent Codex Hacked a Samsung TV
GitHub - mupt-ai/dari-docs: optimize your documentation t...
byhong03 · 2026-05-21 · via Hacker News: Front Page

Make your docs so good even the dumbest agent can ship.

dari-docs is a CLI for testing whether your documentation is clear enough for agents to use. It sends your docs to simulated developer agents, asks them to complete real tasks, reports where they get stuck, and can generate proposed docs edits from that feedback.

Use it to turn documentation quality from “seems understandable” into “an agent can actually complete the task.”

Why dari-docs?

Good docs used to mean “a developer can eventually figure this out.” That is no longer enough.

When the reader is an agent, ambiguity becomes measurable. Inconsistent terminology, hidden assumptions, scattered context, and missing setup steps all increase the chance that the agent fails the task or wastes context trying to infer what the docs meant.

dari-docs gives you a repeatable feedback loop for agent-readable documentation: define the task, run simulated users, inspect failures, and optionally pull back edited docs.

What it does

  • Tests docs with simulated developers — agents attempt concrete tasks using only the docs you provide.
  • Finds task-blocking ambiguity — reports missing context, unclear setup, inconsistent terms, and places where the agent had to guess.
  • Generates proposed fixesoptimize turns tester feedback into edited documentation you can review locally.
  • Runs managed or self-managed — use the hosted dari.dev Docs service, or run against agents in your own dari.dev org.
  • Uses normal agent projects — the tester and editor are just folders of prompts, skills, setup scripts, and a dari.yml manifest.

Install

Install the latest dari-docs binary with the install script, then verify the CLI is available:

curl -fsSL https://raw.githubusercontent.com/mupt-ai/dari-docs/main/install.sh | bash
dari-docs --help

Quickstart

Managed mode uses the hosted dari.dev Docs service and a separate dari.dev Docs credit balance. New accounts start with five dollars worth of free credits.

From your docs repo:

dari-docs auth login

Run a docs check:

dari-docs check . \
  --managed \
  --task "Install the SDK and make a first API call"

The command submits a managed run and prints the run ID. To wait for completion in the same command, add --wait.

Generate proposed docs edits:

dari-docs optimize . \
  --managed \
  --wait \
  --task "Install the SDK and make a first API call"

With --wait, edited files are downloaded into .dari-docs/updated/ without changing your repo. Review that folder and copy changes into your repo when ready.

How it works

  1. You point dari-docs at a docs directory and give it one or more tasks.
  2. The CLI bundles your docs and submits a run to hosted Dari Docs tester/editor agents.
  3. Tester agents try to complete the task and report where the docs blocked progress.
  4. Use dari-docs runs wait, dari-docs runs download, or pass --wait to collect local run artifacts.
  5. If you run optimize, an editor agent proposes documentation changes.
  6. Proposed edits can be downloaded to .dari-docs/updated/ for review.

The simulated users are plain dari.dev agents. Managed mode uses the hosted Dari Docs tester and editor agents automatically. If you want to customize the agent prompts, skills, setup scripts, or dari.yml, use self-managed mode.

Managed vs self-managed

Mode Use when Requires
Managed You want the fastest setup and hosted execution. dari-docs auth login
Self-managed You want runs in your own dari.dev org. A dari.dev API key and deployed agents

Most users should start with managed mode.

Documentation