DESIGN.md@crates/dandoriC

DESIGN.md@crates/dandori from i2y/ritsu is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add i2y/ritsu/crates/dandori/DESIGN.md@git:20261104.62ba97a

Pins git:20261104.62ba97a in mdr.lock. Pin the fingerprint instead.

Audit grade
C, 12 of 14 checks passed
Kind
DESIGN.md file
Repository
i2y/ritsu
Path
crates/dandori/DESIGN.md
Versions recorded
13
Latest version
git:20261104.62ba97a, committed Nov 4, 2026
First version recorded
Oct 27, 2026
Size
796,216 bytes
Repository stars
3
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

# dandori 設計文書

業務ルールを呼ぶワークフローのための、型の付いた小さな言語。書いたものを走らせる前に検査し、AWS Step Functions(ASL)、Temporal(TypeScript、Python、Go)、AWS Lambda durable functions(TypeScript)、Argo Workflows(WorkflowTemplate の YAML)、pydantic-graph(Python)へコンパイルする。判断そのものは rulec の規則に書き、dandori はそれを ritsu の規則の口(rulec が答える)を通して読む。期日は koyomi の日付のファイルに、在庫や残高は chobo の帳簿に書き、dandori はそれぞれ ritsu の日付の口と帳簿の口を通して読む(1.16)。

名前は段取り(手順を前もって組むこと)から取った。ファイルの拡張子は `.flow`。

## 0. 全体像

```
.flow ── 構文解析 ── 名前と型の解決(規則・日付のファイル・帳簿は ritsu の口から読む)── 型を付けた構文木
                                                                     ├── 流れに沿った検査(案件の状態、代入、網羅、出口)
                                                                     ├── 参照インタプリタ ── シナリオの自動生成
                                                                     ├── 図(`dandori doc`):Mermaid を入れた Markdown と、実行を光らせる HTML
                                                                     ├── Step Functions(ASL、JSONata)と Lambda をつなぐコード
                                                                     ├── Temporal(TypeScript、Python、Go)と、タスクと規則のアクティビティ
                                                                     ├── Lambda durable functions(TypeScript)と、規則を呼ぶ Lambda
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add i2y/ritsu/crates/dandori/DESIGN.md@sha256:f014cdb5a9c920a8

The line at the top of this page pins the label git:20261104.62ba97a, 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_43sjotiv6r2ruwlf.svg)](https://markdownregistry.com/a/art_43sjotiv6r2ruwlf)

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

Versions

The registry has recorded 13 versions of this file, between Oct 27, 2026 and Nov 4, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261104.62ba97a latest2026-11-04 62ba97a 796,216 BC view · diff
git:20261104.66978cf2026-11-04 66978cf 791,262 BC view · diff
git:20261104.a3ba1ec2026-11-04 a3ba1ec 790,346 BC view · diff
git:20261104.a508c0b2026-11-04 a508c0b 792,921 BC view · diff
git:20261104.b8132682026-11-04 b813268 796,450 BC view · diff
git:20261101.f9486202026-11-01 f948620 760,746 BC view · diff
git:20261031.e0bec7c2026-10-31 e0bec7c 758,715 BC view · diff
git:20261031.76f9a812026-10-31 76f9a81 705,425 BC view · diff
git:20261030.77e84d42026-10-30 77e84d4 703,954 BC view · diff
git:20261029.abe398d2026-10-29 abe398d 693,325 BC view · diff
git:20261029.13942172026-10-29 1394217 692,593 BC view · diff
git:20261028.e3fe6f22026-10-28 e3fe6f2 669,413 BC view · diff
git:20261027.ec3eac12026-10-27 ec3eac1 630,835 BC view

Audit of the latest version

C  12 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: Size between 200 bytes and 200 KB (796216 bytes)
  • fail: No link to a raw IP address (matched: http://127.0.0.1:11434)
  • 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 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

i2y/ritsu · 3 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_43sjotiv6r2ruwlf
GET https://markdownregistry.com/api/v1/resolve?ref=i2y/ritsu/crates/dandori/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/f014cdb5a9c920a81d20d6469c894ef72534f38b9e177147dfe646b5cf56dfa7

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 i2y/ritsu

DESIGN.md DESIGN.md file
i2y/ritsu · DESIGN.md
git:20261107.d281d9c · audit F · 3 stars
DESIGN.md@crates/chobo DESIGN.md file
i2y/ritsu · crates/chobo/DESIGN.md
git:20261106.2acffb3 · audit B · 3 stars
DESIGN.md@crates/geas DESIGN.md file
i2y/ritsu · crates/geas/DESIGN.md
git:20261031.76f9a81 · audit B · 3 stars
DESIGN.md@crates/kaname DESIGN.md file
i2y/ritsu · crates/kaname/DESIGN.md
git:20261107.d281d9c · audit B · 3 stars
DESIGN.md@crates/koyomi DESIGN.md file
i2y/ritsu · crates/koyomi/DESIGN.md
git:20261107.d281d9c · audit B · 3 stars
AGENTS.md@crates/rulec AGENTS.md file
i2y/ritsu · crates/rulec/AGENTS.md
git:20261103.7af3d08 · audit A · 3 stars
DESIGN.md@crates/rulec DESIGN.md file
i2y/ritsu · crates/rulec/DESIGN.md
git:20261106.947564f · audit C · 3 stars
DESIGN.md@crates/sakai DESIGN.md file
i2y/ritsu · crates/sakai/DESIGN.md
git:20261107.d281d9c · audit B · 3 stars
DESIGN.md@crates/sekisho DESIGN.md file
i2y/ritsu · crates/sekisho/DESIGN.md
git:20261103.558b890 · audit C · 3 stars
DESIGN.md@crates/yuen DESIGN.md file
i2y/ritsu · crates/yuen/DESIGN.md
git:20261105.54d3620 · audit B · 3 stars
chobo SKILL.md skill
i2y/ritsu · skills/chobo/SKILL.md · Write, check and build chobo books (`.book` files), a small language for the things counted and moved between accounts…
git:20261104.5b400fc · audit A · 3 stars
dandori SKILL.md skill
i2y/ritsu · skills/dandori/SKILL.md · Write, check and build dandori workflows (`.flow` files), typed workflows that call APIs, rules, agents, decision…
git:20261104.5b400fc · audit A · 3 stars

Every file in i2y/ritsu

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