CLAUDE.mdA
CLAUDE.md from huiliyi37/tianshu-harness is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add huiliyi37/tianshu-harness/CLAUDE.md@git:20261026.f670653Pins git:20261026.f670653 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- huiliyi37/tianshu-harness
- Path
CLAUDE.md- Versions recorded
- 12
- Latest version
- git:20261026.f670653, committed Oct 26, 2026
- First version recorded
- Jul 29, 2026
- Size
- 22,802 bytes
- Repository stars
- 1,254
- 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
# 天枢 (Tianshu) / Rivet
Terminal coding agent optimized for DeepSeek V4 prefix cache. Node.js 24.x ≥24.22.1 or 26.x ≥26.12.1 (`engines` enforces patched lines) / TypeScript strict / 纯 ANSI 终端 UI(`src/tui/engine/`,零 React/Ink 渲染) / node:test。桌面端 `desktop/`(Tauri + React,闭源)与 VS Code/Cursor 插件 `vscode-extension/`(开源,随 sync 进公开仓)均经 `src/server/` sidecar 驱动同一内核。CLI 命令仍为 `rivet`。插件打包/发布见 `docs/VSCODE-EXTENSION-RELEASE.md`。
顶层索引与运行时排查:[`AGENTS.md`](./AGENTS.md)。架构总览:[`docs/architecture-overview.md`](./docs/architecture-overview.md)。
## Build & Test
```bash
npm install && npm run build
npm test # ~1,600 test files / ~19,000 cases(静态声明口径,2026-09-30 快照见 docs/engineering-metrics.md), node:test + node:assert/strict (runner: scripts/run-node-tests.ts,分批 spawn,末尾 tests 行只是最后一批)
npm run typecheck # 跨进程闸门:并发会话检查同一份源码时只跑一次,其余复用(秒回 = 命中缓存,不是没跑)
# 指纹 = git HEAD + 脏文件内容 hash;逃生口 typecheck:direct 或 RIVET_TYPECHECK_SHARE=0
```
## Architecture
```
main.ts → AgentLoop (agent/loop.ts)
├── RuntimeHookPipeline (agent/runtime-hooks.ts) ← TUI 2.x 核心
│ 纯分阶段执行器 + 错误隔离(任一 hook 抛错只走 onError,不中断 turn)
│ 5 阶段真实调用点(非概念,已钉在 loop 主路径):
…Read the whole file at its exact version.
How to install
mdr add huiliyi37/tianshu-harness/CLAUDE.md@sha256:e9fa694e49ee6101The line at the top of this page pins the label git:20261026.f670653, 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_6jz2hlwqb3ovyx3l)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 12 versions of this file, between Jul 29, 2026 and Oct 26, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261026.f670653 latest | 2026-10-26 | f670653 | 22,802 B | A | view · diff |
| git:20261023.978385c | 2026-10-23 | 978385c | 22,274 B | A | view · diff |
| git:20261008.4224a90 | 2026-10-08 | 4224a90 | 22,233 B | A | view · diff |
| git:20261007.b615c99 | 2026-10-07 | b615c99 | 22,158 B | A | view · diff |
| git:20261005.b60fe86 | 2026-10-05 | b60fe86 | 22,158 B | A | view · diff |
| git:20260927.1df9e6f | 2026-09-27 | 1df9e6f | 21,005 B | A | view · diff |
| git:20260912.b1d66e5 | 2026-09-12 | b1d66e5 | 17,418 B | A | view · diff |
| git:20260909.60a2332 | 2026-09-09 | 60a2332 | 16,812 B | A | view · diff |
| git:20260808.e1e944f | 2026-08-08 | e1e944f | 16,811 B | A | view · diff |
| git:20260803.76ef549 | 2026-08-03 | 76ef549 | 16,582 B | A | view · diff |
| git:20260731.100a4a6 | 2026-07-31 | 100a4a6 | 15,168 B | A | view · diff |
| git:20260729.b699c5b | 2026-07-29 | b699c5b | 15,012 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (22802 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
huiliyi37/tianshu-harness · 1,254 stars · license Apache-2.0 · pushed 2026-10-31 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6jz2hlwqb3ovyx3l GET https://markdownregistry.com/api/v1/resolve?ref=huiliyi37/tianshu-harness/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/e9fa694e49ee6101bc1e4ec3e69a95fbaf7de90bf598d7fe21b4fdf8c707b148
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 a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.
More from huiliyi37/tianshu-harness
Every file in huiliyi37/tianshu-harness