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

@dsh-ext/trajectory-anchor

Self-contained DeepSeek Harness bundle: first-round trajectory anchoring, EWMA trajectory scoring, adaptive drift rollback, anchorGate promotion gating, bootstrap context suppression, trajectory-log export, and Layer-4 training-data aggregation. Zero community-plugin dependencies. 适合需要优化Agent执行轨迹、防止漂移并进行数据聚合的开发者。

패키지
@dsh-ext/trajectory-anchor
호환성
미검증
Cordis peer 범위
*
버전
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