CLAUDE.mdA

CLAUDE.md from yixuansensei/we-need-ds is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add yixuansensei/we-need-ds/CLAUDE.md@git:20260914.4c276ea

Pins 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

The exact contents, by fingerprint
mdr add yixuansensei/we-need-ds/CLAUDE.md@sha256:9d58d78b208491db

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

Badge

mdr badge

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

versioncommittedcommitsizeaudit
git:20260914.4c276ea latest2026-09-14 4c276ea 5,759 BA view · diff
git:20260907.386997e2026-09-07 386997e 5,767 BA view · diff
git:20260907.a0241f72026-09-07 a0241f7 5,673 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 (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

GitHub

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

doctor SKILL.md skill
yixuansensei/we-need-ds · skills/doctor/SKILL.md · 深度体检:排查代理端口、9router 连通性与环境配置
git:20260831.2666371 · audit B · 2 stars
list SKILL.md skill
yixuansensei/we-need-ds · skills/list/SKILL.md · 列出全部 provider 及接管建议(含 DS 模型标注、当前默认、代理状态)
git:20260907.0f60943 · audit A · 2 stars
off SKILL.md skill
yixuansensei/we-need-ds · skills/off/SKILL.md · 手动关闭 we-need-ds 拦截并安全还原端点
git:20260831.2666371 · audit B · 2 stars
on SKILL.md skill
yixuansensei/we-need-ds · skills/on/SKILL.md · 手动开启 we-need-ds 拦截环境(可选择要接管的 provider)
git:20260907.0f60943 · audit A · 2 stars
restart SKILL.md skill
yixuansensei/we-need-ds · skills/restart/SKILL.md · 优雅重启 we-need-ds 代理 daemon(换新进程、清理卡死连接、按账本重新接管)
git:20260904.365aca3 · audit A · 2 stars
status SKILL.md skill
yixuansensei/we-need-ds · skills/status/SKILL.md · 查看 we-need-ds 代理运行状态与拦截开关
git:20260831.2666371 · audit B · 2 stars
test SKILL.md skill
yixuansensei/we-need-ds · skills/test/SKILL.md · 运行两阶段裁切逻辑自测试套件
git:20260831.2666371 · audit B · 2 stars
we-need-ds SKILL.md skill
yixuansensei/we-need-ds · skills/we-need-ds/SKILL.md · 默认主入口:以 We need 满血思维链运行任务
git:20260907.0f60943 · audit A · 2 stars

Every file in yixuansensei/we-need-ds

Other files named CLAUDE.md

CLAUDE.md CLAUDE.md file
affaan-m/ecc · CLAUDE.md
git:20261020.9471ef4 · audit A · 299,696 stars
CLAUDE.md CLAUDE.md file
firecrawl/firecrawl · CLAUDE.md
git:20261008.5a75dca · audit A · 199,595 stars
CLAUDE.md CLAUDE.md file
garrytan/gstack · CLAUDE.md
git:20261107.ef99eb5 · audit A · 140,694 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261106.af560e1 · audit B · 118,366 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 113,383 stars
CLAUDE.md CLAUDE.md file
nexu-io/open-design · CLAUDE.md
git:20260430.9b57c22 · audit B · 106,541 stars
CLAUDE.md CLAUDE.md file
pbakaus/impeccable · CLAUDE.md
git:20261105.71dfd50 · audit A · 106,186 stars
CLAUDE.md CLAUDE.md file
debpalash/voicestudio · CLAUDE.md
git:20261104.c2998f6 · audit A · 102,675 stars

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