DESIGN.md@docs/dev/sota-conversation-coreA

DESIGN.md@docs/dev/sota-conversation-core from helixnow/deep-student is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add helixnow/deep-student/docs/dev/sota-conversation-core/DESIGN.md@git:20260910.3b6b6f5

Pins git:20260910.3b6b6f5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
helixnow/deep-student
Path
docs/dev/sota-conversation-core/DESIGN.md
Versions recorded
2
Latest version
git:20260910.3b6b6f5, committed Sep 10, 2026
First version recorded
Aug 29, 2026
Size
6,630 bytes
Repository stars
303
License
AGPL-3.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

# 优化方案(草案,第一轮后)

本文件在多轮调研收敛前保持草案。落地必须以子代理交叉验证后的证据为准。

## 原则

1. **协议按语义使用,而不是只做字段改名。**
   Chat Completions 仍是内部规范可以,但 Responses 出口要保留
   `previous_response_id`、output items、hosted tools、usage 细节。
2. **前缀只往后追加,不改已经发出去的头部。**
   tools / instructions 稳定段 / cache key 在会话内冻结。
3. **易变事实离开稳定前缀。**
   日期、检索、待办、刚更新的画像、技能正文,放到 user 尾部或独立 cache breakpoint。
4. **测量必须能看见命中。**
   每种协议的 cached tokens 字段都要解析;报告按协议/供应商拆分。
5. **禁止静默破坏隐私默认。**
   `store` 默认保持 false;链式 Responses 必须是用户/会话显式选择。

## 候选工作包(实现阶段再拆 PR)

### P0 观测与 cache key(按供应商分流)

- **所有 Responses 路径**:解析 `usage.input_tokens_details.cached_tokens`
  (以及 `output_tokens_details.reasoning_tokens`)。CC 路径继续读
  `prompt_tokens_details` / `prompt_cache_hit_tokens`。
- **OpenAI / Codex**:稳定 `prompt_cache_key` = 会话 id;禁止 `Uuid::new_v4()` 回落。
- **DeepSeek**:不要写 `prompt_cache_key` / `previous_response_id` / `store:true`
  (官方明确不支持,静默忽略)。唯一杠杆是前缀字节稳定。
- **DeepSeek 默认协议也要跑模型门控**:`api_protocol=None` 不得只靠注册表把未支持型号
  送进 Responses;`is_official_deepseek_config` 必须核对 base_url。
- **按 2026-08-23 官方文档放开 `deepseek-v4-pro`(及 vision-exp)的 Responses**,同步
  `effective_api_protocol_for_config`、前端 modelConverters、registry 备注与回归测试。
  v3 等未列名型号继续回落 CC。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add helixnow/deep-student/docs/dev/sota-conversation-core/DESIGN.md@sha256:11b2a00a87d93f19

The line at the top of this page pins the label git:20260910.3b6b6f5, 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_xxwnmfw7f73wlcez.svg)](https://markdownregistry.com/a/art_xxwnmfw7f73wlcez)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Aug 29, 2026 and Sep 10, 2026, about one every 12 days.

versioncommittedcommitsizeaudit
git:20260910.3b6b6f5 latest2026-09-10 3b6b6f5 6,630 BA view · diff
git:20260829.ccb5eb62026-08-29 ccb5eb6 6,491 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 (6630 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

helixnow/deep-student · 303 stars · license AGPL-3.0 · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xxwnmfw7f73wlcez
GET https://markdownregistry.com/api/v1/resolve?ref=helixnow/deep-student/docs/dev/sota-conversation-core/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/11b2a00a87d93f19f34525b79478c11a1f7bf0197e57c4a6c38a6dbcba70cf4e

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.

More from helixnow/deep-student

SPSS 论文分析 SKILL.md skill
helixnow/deep-student · .skills/spss-paper-analysis/SKILL.md · 面向论文与课题写作的 SPSS 统计分析工作流。适用于 `.sav`、`csv/xlsx`、SPSS 导出结果表或截图解读场景,帮助用户先确认研究问题、变量角色、分组方式与前提条件,再组织统计执行、结果解释和论文写作输出。重点覆盖描述统计、…
v1.0.0 · audit A · 303 stars
statistics-tools SKILL.md skill
helixnow/deep-student · .skills/statistics-tools/SKILL.md · SPSS 论文分析的统计执行工具组。为 `.sav`、`csv/xlsx` 等数据分析场景声明 MCP 统计后端接口,包括数据集检查、统计分析执行、结果解释与论文表格导出。适用于需要把统计执行能力按需注入到 DeepStudent…
v1.0.0 · audit A · 303 stars
DESIGN.md@docs/dev/acr DESIGN.md file
helixnow/deep-student · docs/dev/acr/DESIGN.md
git:20260808.f473a6d · audit A · 303 stars
card-coordinator SKILL.md skill
helixnow/deep-student · docs/research/anki-ai-native/agents/skills/card-coordinator/SKILL.md · 制卡编排协调者:固化「content-curator 策展 → chatanki_run 生成 → card-qa 质检 → batch_update 修正」多代理闭环,质检交接 documentId(qa…
v0.2.0 · audit A · 303 stars
card-outline SKILL.md skill
helixnow/deep-student · docs/research/anki-ai-native/agents/skills/card-outline/SKILL.md · 制卡大纲方法论:从学习材料抽取最小知识单元、决策卡型、切分粒度并排优先级,产出可直接喂给 chatanki_run 的结构化大纲
v0.1.0 · audit A · 303 stars
card-qa-checklist SKILL.md skill
helixnow/deep-student · docs/research/anki-ai-native/agents/skills/card-qa-checklist/SKILL.md · 卡片质检清单:重复(D1-D3)、粒度(G1-G4)、Cloze 规范(C1-C6)三类规则的判定标准、严重级别与补丁输出格式
v0.1.0 · audit A · 303 stars
deep-student-cloud-sync-e2e SKILL.md skill
helixnow/deep-student · dstu-test/skills/deep-student-cloud-sync-e2e/SKILL.md · Run real, UI-driven Deep Student cloud sync E2E tests. Use when Codex needs to validate WebDAV/cloud sync, backup…
git:20260630.3599d6c · audit A · 303 stars
deep-student-tauri-lab SKILL.md skill
helixnow/deep-student · dstu-test/skills/deep-student-tauri-lab/SKILL.md · Manage Deep Student Tauri desktop test instances through the repo-local tauri-lab CLI. Use when Codex needs to create…
git:20260711.4cc0dad · audit A · 303 stars

Every file in helixnow/deep-student

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