deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
XZDYM/dsh-experience-flywheel
dsh-experience-flywheel · DSH 经验飞轮插件 — cross-session experience memory + dual-acceptance gates for DeepSeek Harness. Auto query/inject via agent/pre-step middleware; exit-1 gate scripts (plan-gate/close-gate/verify-claims).
PROJECT TOPICS
PROJECT README
Give your DeepSeek Harness agent a cross-session "muscle memory": it automatically queries past lessons before each step and injects hits, automatically verifies claimed file writes, and wraps deterministic exit-1 gate scripts (plan-gate / close-gate / verify-claims) as slash commands.
给 DeepSeek Harness agent 装上跨会话"经验肌肉记忆":每轮动手前自动查经验并注入命中, 写完文件自动校核"声称写了"是否真写了,并把确定性的 exit-1 闸门脚本 (plan-gate / close-gate / verify-claims)包成 slash 命令。
Status: v0.1.0 released — see DESIGN.md.
Pure-text LLM agents wake up fresh every session: yesterday's pitfalls, preferences,
decisions are gone. This plugin turns "learn from experience" from "hope the model
remembers" into server-side automation: the agent/pre-step middleware runs the
experience query every turn without the model choosing to, the same seam
dsh-repeat-tool-reminder already uses.
ctx.on("agent/pre-step") → auto query store, inject top-K hits as a system message.ctx.on("tools/post-execute") → after file-write tools, auto-run verify-claims.maxClaimsPerAgent (default 50), and pruned by
claimsTtlMs (default 24h), so long sessions never re-verify history forever. Claimed
paths are extracted by tool-name whitelist + path-shape checks (extractClaimedPaths),
so non-write tools (e.g. browser element refs) never trigger false-positive verifies.message.id (local
createUserMessage factory mirroring @deepseek-ai/dsh-llm), because DSH session
events of type user/message must satisfy assertMessageEventShape (data.message.id
required, dsh-session lib/index.js:1248) — bare messages corrupt the whole session log./flywheel-search /flywheel-remember /plan-gate /close-gate /verify wrap exit-1 scripts.OPENVIKING_URL to upgrade to vector retrieval.dsh plugin --profile web add github:<owner>/dsh-experience-flywheel
Then restart DSH web. GitHub topic: dsh-plugin.
No OpenViking hard-binding, no hardcoded paths, no personal rules. The kernel is the
flywheel protocol + gate contracts; your private AGENTS.md stays yours. An optional
examples/agents.md.fragment is provided for users who want to wire the protocol into their own instructions.
MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。