DESIGN.md@crates/sakaiB
DESIGN.md@crates/sakai from i2y/ritsu is a DESIGN.md file: the design rules coding agents follow in that repo.
mdr add i2y/ritsu/crates/sakai/DESIGN.md@git:20261107.d281d9cPins git:20261107.d281d9c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 13 of 14 checks passed
- Kind
- DESIGN.md file
- Repository
- i2y/ritsu
- Path
crates/sakai/DESIGN.md- Versions recorded
- 15
- Latest version
- git:20261107.d281d9c, committed Nov 7, 2026
- First version recorded
- Oct 23, 2026
- Size
- 391,780 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
# sakai 設計文書 境界づけられたコンテキストと、そのあいだの関係を書く小さな言語。ファイルは `.ctx`、コマンドは `sakai`。どの成果物がどのコンテキストに属するか、境界を越える参照が宣言した関係と公表された言語を通っているか、腐敗防止層が上流の列挙のどの値も読み替えているか、同じ語が違う意味のまま境界を越えていないかを、一式の成果物(rulec・dandori・koyomi・chobo・geas・sekisho・kaname)、proto、コードの import に照らして確かめる。コードの import は、各言語の既存のツール(Python は import-linter、JavaScript と TypeScript は dependency-cruiser、Java は ArchUnit、Go は go-arch-lint)の設定にして、そのツールで確かめる。Rust のクレートの依存は、Cargo が言うものを sakai が確かめる(7.7)。Context Mapper の CML にも書き出す。 名前は境(さかい)から取った。 この文書は設計の段階(A)で書き、言語の芯と地図の検査を作った段階(B)と、例とコードの import の検査の設定と CML を作った段階(C の一部)で、作ったものに合わせて直した。C の段階のうち、一式の成果物を読むところ(PLAN の C.1〜C.5)は、一式の言語を一つの処理系(ritsu)にまとめると決まってから、子プロセスと JSON ではなく ritsu の口で作った(ritsu の D.8。4.1、4.7、12.2)。作ったもの(`.ctx` の構文、`check`、`api`、`explain`、`build`、`export cml`、診断)について貼った sakai の出力と、7 章のツールの出力は、どれも実際に出したもので、`tests/design.rs` が実物と同じかを確かめる。D の段階(ritsu の F.2)で、doc、例の README、`docs/`、README、スキルを作った(10 章、11 章、12.5)。doc のページと README に貼った出力も実際に出したもので、`tests/doc.rs` と `tests/docs.rs` が確かめる。一方、一式のツール(rulec 0.22.1、koyomi 0.1.0、chobo 0.1.0、geas 0.0.1、dandori 0.1.0)と外のツール(import-linter 2.15、dependency-cruiser 16.10.4、ArchUnit 1.5.1、go-arch-lint v1.19.0、depguard v2.2.1、Spring Modulith… …
Read the whole file at its exact version.
How to install
mdr add i2y/ritsu/crates/sakai/DESIGN.md@sha256:ecb67ed48eaa446aThe line at the top of this page pins the label git:20261107.d281d9c, 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_2on3tw73htkdnzyv)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 15 versions of this file, between Oct 23, 2026 and Nov 7, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261107.d281d9c latest | 2026-11-07 | d281d9c | 391,780 B | B | view · diff |
| git:20261105.96824a3 | 2026-11-05 | 96824a3 | 391,780 B | B | view · diff |
| git:20261105.fbcb5b7 | 2026-11-05 | fbcb5b7 | 391,780 B | B | view · diff |
| git:20261104.569f2ab | 2026-11-04 | 569f2ab | 391,780 B | B | view · diff |
| git:20261103.5190146 | 2026-11-03 | 5190146 | 391,780 B | B | view · diff |
| git:20261031.fbfaec0 | 2026-10-31 | fbfaec0 | 379,214 B | B | view · diff |
| git:20261031.76f9a81 | 2026-10-31 | 76f9a81 | 379,214 B | B | view · diff |
| git:20261031.d968c43 | 2026-10-31 | d968c43 | 377,476 B | B | view · diff |
| git:20261031.6ae18f1 | 2026-10-31 | 6ae18f1 | 377,467 B | B | view · diff |
| git:20261030.ebf5a2c | 2026-10-30 | ebf5a2c | 364,070 B | B | view · diff |
| git:20261029.1216bf8 | 2026-10-29 | 1216bf8 | 363,579 B | B | view · diff |
| git:20261029.60512e3 | 2026-10-29 | 60512e3 | 363,579 B | B | view · diff |
| git:20261028.8b06930 | 2026-10-28 | 8b06930 | 363,370 B | B | view · diff |
| git:20261027.ca99fdf | 2026-10-27 | ca99fdf | 355,138 B | B | view · diff |
| git:20261023.0e181f9 | 2026-10-23 | 0e181f9 | 348,290 B | B | view |
Audit of the latest version
- fail: Size between 200 bytes and 200 KB (391780 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
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
i2y/ritsu · 3 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2on3tw73htkdnzyv GET https://markdownregistry.com/api/v1/resolve?ref=i2y/ritsu/crates/sakai/DESIGN.md GET https://markdownregistry.com/api/v1/blob/ecb67ed48eaa446aa1af2a32d76307543dce7eeba1526aa501d5f43aa63cc1eb
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.