CLAUDE.mdA

CLAUDE.md from huiliyi37/tianshu-harness is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add huiliyi37/tianshu-harness/CLAUDE.md@git:20261026.f670653

Pins 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

The exact contents, by fingerprint
mdr add huiliyi37/tianshu-harness/CLAUDE.md@sha256:e9fa694e49ee6101

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6jz2hlwqb3ovyx3l.svg)](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.

versioncommittedcommitsizeaudit
git:20261026.f670653 latest2026-10-26 f670653 22,802 BA view · diff
git:20261023.978385c2026-10-23 978385c 22,274 BA view · diff
git:20261008.4224a902026-10-08 4224a90 22,233 BA view · diff
git:20261007.b615c992026-10-07 b615c99 22,158 BA view · diff
git:20261005.b60fe862026-10-05 b60fe86 22,158 BA view · diff
git:20260927.1df9e6f2026-09-27 1df9e6f 21,005 BA view · diff
git:20260912.b1d66e52026-09-12 b1d66e5 17,418 BA view · diff
git:20260909.60a23322026-09-09 60a2332 16,812 BA view · diff
git:20260808.e1e944f2026-08-08 e1e944f 16,811 BA view · diff
git:20260803.76ef5492026-08-03 76ef549 16,582 BA view · diff
git:20260731.100a4a62026-07-31 100a4a6 15,168 BA view · diff
git:20260729.b699c5b2026-07-29 b699c5b 15,012 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

AGENTS.md AGENTS.md file
huiliyi37/tianshu-harness · AGENTS.md
git:20261005.b60fe86 · audit A · 1,254 stars
agent-harness-testing SKILL.md skill
huiliyi37/tianshu-harness · docs/skills/optional/agent-harness-testing/SKILL.md · 在任意项目中执行开发任务时的测试方法论——包括测试能力探测、RED→GREEN 纪律、探针管理、环境模拟、测试策略选择。当面对 bugfix、功能开发、重构等需要验证的代码改动时使用。
git:20260917.bf456db · audit A · 1,254 stars
design-prototype SKILL.md skill
huiliyi37/tianshu-harness · plugins/design/skills/design-prototype/SKILL.md · Frontend UI prototype workflow — clarify intent, explore directions, preview across viewports, diff against references…
git:20260720.5237f6c · audit A · 1,254 stars
office-docx SKILL.md skill
huiliyi37/tianshu-harness · plugins/office-docx/skills/SKILL.md · 生成与读取 Word 文档(.docx)——报告、合同、交付文档、投标书;原生 docx 渲染,支持 heading/paragraph/table/code/list 内容块与居中标题
git:20260815.236a44b · audit A · 1,254 stars
office-excel SKILL.md skill
huiliyi37/tianshu-harness · plugins/office-excel/skills/SKILL.md · Excel 电子表格读写与编辑最佳实践 — 用 xlsx_read/xlsx_write/xlsx_edit 处理 .xlsx 时遵守的公式、数字格式与可维护性纪律
git:20260720.5237f6c · audit A · 1,254 stars
office-pdf SKILL.md skill
huiliyi37/tianshu-harness · plugins/office-pdf/skills/SKILL.md · 生成与读取 PDF 文档(报告、合同、交付文档)——原生 pdfkit 渲染,自动解析系统 CJK 字体支持中文,支持 heading/paragraph/table/code/list 内容块与页码页脚
git:20260720.5237f6c · audit A · 1,254 stars
office-ppt SKILL.md skill
huiliyi37/tianshu-harness · plugins/office-ppt/skills/SKILL.md · PowerPoint 演示文稿生成纪律 — 用 pptx_create/pptx_read 产出有设计感、零 AI 味的 .pptx(PPT、幻灯片、deck、演讲稿、汇报)
git:20260720.5237f6c · audit A · 1,254 stars
brainstorming SKILL.md skill
huiliyi37/tianshu-harness · runtime-assets/bundled-skills/brainstorming/SKILL.md · You MUST use this before any creative work - creating features, building components, adding functionality, or modifying…
git:20260909.60a2332 · audit A · 1,254 stars
visual-acceptance SKILL.md skill
huiliyi37/tianshu-harness · runtime-assets/bundled-skills/visual-acceptance/SKILL.md · UI/视觉改动交付前的终验方法论——多主题截图矩阵复现、像素真值判据链、CSS 层叠陷阱、布局漂移审查、before/after 存证。当视觉改动需要验收(而非实现)时使用:交付前最后一环,回答「看得见的部分真的对吗」。
git:20260803.76ef549 · audit A · 1,254 stars
DESIGN.md@website DESIGN.md file
huiliyi37/tianshu-harness · website/DESIGN.md
git:20260731.0dde176 · audit A · 1,254 stars

Every file in huiliyi37/tianshu-harness

Other files named CLAUDE.md

CLAUDE.md CLAUDE.md file
affaan-m/ecc · CLAUDE.md
git:20261020.9471ef4 · audit A · 293,827 stars
CLAUDE.md CLAUDE.md file
firecrawl/firecrawl · CLAUDE.md
git:20261008.5a75dca · audit A · 198,353 stars
CLAUDE.md CLAUDE.md file
garrytan/gstack · CLAUDE.md
git:20261027.c2e01e4 · audit A · 138,879 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261010.505ac30 · audit B · 116,476 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 112,362 stars
CLAUDE.md CLAUDE.md file
nexu-io/open-design · CLAUDE.md
git:20260430.9b57c22 · audit B · 105,776 stars
CLAUDE.md CLAUDE.md file
debpalash/voicestudio · CLAUDE.md
git:20261031.faa5294 · audit A · 98,663 stars
CLAUDE.md CLAUDE.md file
pbakaus/impeccable · CLAUDE.md
git:20261030.40f9c1e · audit A · 97,942 stars

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