The core mechanism of 'anchoring' (achieving desired reasoning chain) in dsh-anchored-standard, specifically the interplay of maxTokens, adapterDefaults, and tool schema.
Raw Developer Origin & Technical Request
GitHub Issue
Aug 15, 2026
# 概述
这是对 #6 与已合并的 #7 的后续独立验证,来自一组 Windows + rc.5 包环境、2026-08-15 官方端点的受控实验(45 个会话的首请求轨迹)。新增两点:#7 的 maxTokens 修复在本环境被 adapter 默认值覆盖而不生效;并且在相同的 256000 maxTokens 下,**首轮工具 schema 本身就能决定锚定是否成立**——minimal 的工具面 5/5 锚定,所有 standard 系工具面 11/11 失败。
# 环境与方法
- Windows 11;DSH profile 包 `0.1.0-rc.5`(CLI launcher 报告 `0.1.0-rc.6`);`deepseek-official` + `deepseek-v4-pro` + `reasoningEffort=max`;2026-08-15 官方端点。
- 通过 DSH Web API `session.create {agentPreset}` 创建空白会话,与 UI 会话走同一 preset 挂载路径。
- 首个任务相关 `assistant/message` 落盘后立即 `session.cancel`,只统计**第一个模型请求**的 reasoning(与 modeltest 轨迹文档同口径:完成态 assistant message、大小写不敏感、词边界匹配)。
- 题面 A:`evaluator/trigger_probe` 的英文探针原文;题面 B:Project2 `CANDIDATE_PROMPT.md` 正文块;题面 C:中文任务「理解一遍这个项目」。
- 全部会话已归档;只发布聚合统计,完整 reasoning 不公开。
# 一、合并 #7 后:maxTokens 修复在 rc.5 包上未生效
| 题面 | n | 首行 | we | let me |
|---|---|---|---|---|
| 英文探针 | 5 | 5/5 "The user wants me…" | 0.2 | 2.6 |
| Project2 中文块 | 3 | 3/3 "Let me start by…" | 0.0 | 3.0 |
首个 `request/header` 的证据(两组一致):
```
config.maxTokens = 256000
adapterDefaults.maxTokens = true
```
即 #7 注入的 `bootstrapMaxTokens: 1024` 被 `llm.prepareCall` 的 adapter 默认值覆盖,没有进入实际请求。同一版本里,**pre-step 剥离部分是生效的**:把 cwd 指向带 `CLAUDE.md` + 技能目录的仓库时,首请求的 user 消息中已无 `agent-instructions` / `skill-catalog` 注入。
# 二、新的因果证据:256000 下,工具 schema 本身决定锚定
以下所有行共享同一 system prompt(`You are a helpful software engineer assistant.`)、同一 `maxTokens=256000`(adapter 默认)、同一英文探针题面和同一 cwd,只改首请求工具目录:
| 首请求工具 | 来源 | n | 首行 | we | let me |
|---|---|---|---|---|---|
| bash(...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from xiaobright/dsh-anchored-standard.
Frequently Asked Questions
Market intelligence mapped to The core mechanism of 'anchoring' (achieving desired reasoning chain) in dsh-anchored-standard, specifically the interplay of maxTokens, adapterDefaults, and tool schema..
What is the technical positioning of The core mechanism of 'anchoring' (achieving desired reasoning chain) in dsh-anchored-standard, specifically the interplay of maxTokens, adapterDefaults, and tool schema.?
What is the general sentiment around The core mechanism of 'anchoring' (achieving desired reasoning chain) in dsh-anchored-standard, specifically the interplay of maxTokens, adapterDefaults, and tool schema.?
What are the foundational technologies related to The core mechanism of 'anchoring' (achieving desired reasoning chain) in dsh-anchored-standard, specifically the interplay of maxTokens, adapterDefaults, and tool schema.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like we and let me by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics