guiding-thought
Manifest validWhen a conclusion is about to freeze into a root cause, exclusion, or world, puts the guiding thought into this turn. No prompts, no tool blocks.
Guiding thought
A DeepSeek Harness Host plugin. When a task is about to freeze a decision — for example, a root cause, conclusion, chosen path, or exclusion — it puts the guiding thought into this turn so later facts can overturn it. It looks for decision questions and combinations of a decision subject with a commitment signal; ordinary reading, searching, and detail work are left alone.
The thought is a method rather than a technical recipe: separate facts, goals, constraints, and unknowns; treat judgments as falsifiable hypotheses; identify the major contradiction; choose verification actions with expected results and stop conditions; and revise the route when practice disagrees.
This is a soft intervention at a decision boundary. It only puts the thought in the current turn when a lexical signal is detected; it does not stop a tool, rerun an investigation, choose a diagnostic method, or guarantee that a bug will be fixed. The model may still ignore the notice, and a conclusion written without a detectable signal may pass through.
It does not add prompts, ask the user, deny tools, or register tool guards. There is no configuration; unloading the plugin removes the listeners.
Requires DeepSeek Harness 0.2.2-rc.3 (desktop profile).
Install
Package name: @local/guiding-thought. Not published to npm.
Any DeepSeek Harness profile
- Plugins → Add plugin
- Paste
https://github.com/tdsjff0513/guiding-thought - Restart if the manager asks
After awesome-dsh-plugin lists it, search Guiding thought / 指导思想 in dshmarket.
Local directory
- Plugins → Add plugin
- Choose this checkout
- Restart if the manager asks
Do not copy files into $DSH_HOME or edit the profile package.json by hand.
Test
node --test tests/*.test.js
Layout
| Path | Role |
|---|---|
index.js | Host apply() — agent/created, agent/pre-step, tools/post-execute |
thought.js | Thought text and createThoughtMessage |
major-direction.js | Detect decision and commitment signals |
inject-this-turn.js | Append into this turn; additionalContexts on tool results |
cordis.patch.yml | Bundle patch |
locale/ | Plugin Manager title and description |
docs/design.md | Design |
docs/plan.md | Implementation plan |
Comments
Loading…
Similar plugins
by JiewiW
思考锚点:从模型上一段思考中提取已确立结论,在工具结果后注入,减少重复推导;并可识别打转与伪工具调用
★ 0
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add dsh-cot-anchorA philosopher's way of thinking made executable: dialectics and practice-testing to govern hallucination and long-session drift, so done is a verifiable fact rather than a claim.
★ 0
dsh plugin --profile web add dsh-outer-brainby uigdwunm
Groups each DSH Web turn's thinking, tool calls and context into an expandable process box that shows the latest two items by default, while keeping user dialogue, interactive questions and final answ
★ 1
MIT
TypeScript
Sep 14, 2026
dsh plugin --profile web add dsh-process-foldIngestion-time tool-output curation: keeps error and warning lines plus head and tail, spills the full text to disk with a pointer the model can read back; covers every text tool, small results pass t
★ 0
↓ 68/wk
dsh plugin --profile web add dsh-funnelby cayan0x
Auto-fold context/system messages in DSH conversation — collapse think blocks, tool calls, and tool results into grouped expandable bars.
★ 0
MIT
JavaScript
Aug 29, 2026
dsh plugin --profile web add dsh-fold-contextby Saretheya
Keep conclusions alive across context compaction: the model writes a task checkpoint and the plugin re-injects it into the system prompt's first node — the span compaction never touches, so it survive
★ 0
MIT
JavaScript
Nov 2, 2026
dsh plugin --profile web add dsh-cairn