ggfgfgf-on/dsh-trajectory-anchor ↗★ 1

@dsh-ext/trajectory-anchor

提供轨迹锚定、评分回滚等自主运行优化工具 适合需要优化Agent执行轨迹、防止漂移并进行数据聚合的开发者。

套件
@dsh-ext/trajectory-anchor
相容性
待驗證
Cordis 依賴範圍
*
版本
0.4.0
授權
MIT
最近更新
2026年9月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ggfgfgf-on/dsh-trajectory-anchor

Key configuration (cordis.patch.yml)

KeyDefaultMeaning
bootstrapTools[bash, str_replace_editor, pwsh]intersected with the tools the agent scope can actually see; on Windows the bash row is usually disabled
bootstrapMaxTokensnull (uncapped)opt-in: capping the first response below its real size truncates the opening plan and kills the turn (community issue #85, reproduced locally); when enabled, the cap is explicitly stripped on promotion (seed-inheritance trap)
gateEnabledtrueanchorGate promotion gating
maxBootstrapSteps5gate fallback
suppressContextOnBootstraptrueagent-scope context suppression during bootstrap
lexicon / ratioWeightsmonitor-calibratedweighted lexicon scoring (we/let's/we'll/"we need"/our vs "let me"; neutral i will/i'll/i need/check/verify)
specMax / reactMin0.2 / 0.5persona_ratio band boundaries (spec/mixed/react)
baselineMinSamples / rollbackPercentile10 / 25baseline-relative drift: rollback only fires when the current ratio's percentile within the session's own history is < 25
rollbackEnabledtruecalibrated rollback switch (safe to enable under baseline-relative semantics)
leanDenyPatterns61 entriesdrift-rollback deny set (* prefix wildcards)
rewardAnnotatordefaultLayer-4 process reward; pluggable extension point