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

@dsh-ext/trajectory-anchor

Self-contained DeepSeek Harness bundle: first-round trajectory anchoring (assembly-derived bootstrap tool surface + Minimal persona + context suppression), per-step trajectory scoring with an append-only audit log, and two informational behavioral reminders (L1 pullback, L2' confirm-reanchor). Zero community-plugin dependencies. 适合需要限制首轮工具、精简上下文并审计智能体行为的安全任务。

패키지
@dsh-ext/trajectory-anchor
호환성
미검증
Cordis peer 범위
*
버전
0.5.2
라이선스
MIT
최근 업데이트
2026. 10. 16.

설치

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

Configuration (21 keys, all optional)

Fresh install needs zero configuration; every key has a default and unknown keys are loudly warned and ignored.

KeyDefaultMeaning
anchorEnabledtrueEnable first-round anchoring
bootstrapTools['bash','str_replace_editor','pwsh']First-round tool allow-list (intersected with what the agent sees)
bootstrapMaxTokensnullOptional first-round maxTokens cap (null = no cap)
bootstrapPersona'You are a helpful software engineer assistant.'First-round persona
gateEnabledtruePromotion gate on (lexical anchor-gate)
maxBootstrapSteps5Step-cap fallback for promotion
suppressContextOnBootstraptrueSuppress runtime context during bootstrap
suppressSkillCatalogtrueSuppress the skill catalog during bootstrap
suppressedSources['skill-catalog']Message-source kinds suppressed during bootstrap
lexiconbuilt-inScoring dictionary (positive/negative/neutral buckets)
lexiconPathnullOptional JSON file to replace the dictionary
pullbackEnabledfalseL1 informational pullback (measure first)
pullbackMaxPerSession3L1 reminders per session
pullbackControlRate0Fraction of triggers deliberately not spoken (control arm)
reanchorOnConfirmfalseL2' confirm-reanchor
reanchorConfirmControlRate0Control arm for L2'
pullbackOutcomePathnullOutcome JSONL path (default: audit dir)
exportTrajectoryLogstrueWrite per-agent trajectory JSONL
logDir.dsh-trajectory-logsAudit directory
auditChunkEvents400Audit buffer threshold (events)
auditChunkBytes262144Audit buffer threshold (bytes)