CLAUDE.mdA
CLAUDE.md from yixuansensei/we-need-ds is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add yixuansensei/we-need-ds/CLAUDE.md@git:20260914.4c276eaPins git:20260914.4c276ea in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- yixuansensei/we-need-ds
- Path
CLAUDE.md- Versions recorded
- 3
- Latest version
- git:20260914.4c276ea, committed Sep 14, 2026
- First version recorded
- Sep 7, 2026
- Size
- 5,759 bytes
- Repository stars
- 2
- License
- MIT
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
# CLAUDE.md — we-need-ds 开发规范
Claude Code / cc-haha 双宿主插件:在 DeepSeek-V4-Pro 系模型上动态模拟 DeepSeek Harness (DSH) 极简模式,稳定触发 "We need..." 深度思维链。完整工程史见 `docs/ENGINEERING_REPORT.md`(权威,先读)。
## 项目目的
不关闭任何 MCP,通过本地代理在"判定轮"把请求体裁剪成 DSH 官方极简形态(单行人格 + Bash/Edit 两件套),"执行轮"全量放行,从而在 Claude Code / cc-haha 中逼近 DSH 极简模式的效果。非目标模型(Claude/GPT/Gemini/Qwen 等)字节级原样透传。
## 架构速览
```
双轨分治:
cc-haha GUI 轨 → 单服务商接管 providers.json activeId 本体 → :20329
Claude Code CLI 轨 → hooks (SessionStart/UserPromptSubmit/SessionEnd) 驱动 → :20329
proxy.js 代理网关: 轮次判定 + DSH 塑形 + keyMap 路由 + 三道超时门 + 重试
lib/state.js 状态机: 接管/两段式释放/副本体系/文件锁/原子写/账本迁移
lib/ctl.js on/off/status/doctor/boot/restart
hooks/*.js 仅官方 CC 生效 (cc-haha sidecar 不执行插件 hooks)
skills/ cc-haha 下唯一可用的指令入口 (commands 斜杠指令在 cc-haha 不可用)
```
- 代理端口 `20329`,仅绑 `127.0.0.1`
- 账本 `~/.claude/we-need-ds/runtime-state.json`(跨插件版本持久化;插件目录内禁止写状态——`${CLAUDE_PLUGIN_ROOT}` 随更新变路径)
- 接管 = 本体 baseUrl→代理 + 建 `wnd-copy-<id>` 直连副本(逃生口兼冗余账本);释放 = 两段式(还原验证通过才删副本)
- 任何失败路径 → 立即还原直连防死锁;还原可逆,账本 enabled 时下条消息钩子自动重接管
## 常用命令
```bash
node test_full.js # 主测试套件,隔离运行 (tmp 目录 + 端口 21329),须全绿
node test_consume.js # 消费方视角请求形态测试
…Read the whole file at its exact version.
How to install
mdr add yixuansensei/we-need-ds/CLAUDE.md@sha256:9d58d78b208491dbThe line at the top of this page pins the label git:20260914.4c276ea, 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_jwsl2bslrfaawyvt)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 7, 2026 and Sep 14, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260914.4c276ea latest | 2026-09-14 | 4c276ea | 5,759 B | A | view · diff |
| git:20260907.386997e | 2026-09-07 | 386997e | 5,767 B | A | view · diff |
| git:20260907.a0241f7 | 2026-09-07 | a0241f7 | 5,673 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (5759 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
yixuansensei/we-need-ds · 2 stars · license MIT · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jwsl2bslrfaawyvt GET https://markdownregistry.com/api/v1/resolve?ref=yixuansensei/we-need-ds/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/9d58d78b208491db5d6c0f209da19fdf9747e8faa25d9e02a6b3da1e9f4c428f
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 yixuansensei/we-need-ds
Every file in yixuansensei/we-need-ds