Introduction¶
DSH’s @deepseek-ai/dsh-tool-todo only provides todo_write (full-list replacement) with no todo_read; the model almost never updates the task list while working and typically marks everything as completed only after all tasks are finished. The problem isn’t the UI, nor is it the model “refusing” to update — it’s simply that no mechanism enforces this behavior.
dsh-todo-discipline uses two official extension points to make the model actually write to the list during its work: a soft reminder checks before each request whether the list is stale, and a hard gate at the end of a turn forces the list to be aligned with the actual work done.
Plugin Overview¶
- Name:
dsh-todo-discipline - Maintainer: Rayzenchen
- Category: Workflow
- Current status: Deprecated (since DSH
0.2.3-alpha.2, the official timeline plugin@deepseek-ai/dsh-timelinehas taken over todo management, leaving this plugin with no target to act upon)
This plugin is only usable with DSH 0.2.2 or earlier. After installation, restart DSH for changes to take effect.
Core Features¶
1. Soft Reminder: Check List Staleness Before Each Request¶
- Location:
agent/pre-stepextension point - Trigger condition: ≥
reminderIntervaltool calls since the lasttodo_write(default: 3) - Behavior: Injects a brief notice before the model is about to send a request. It only states “how long it’s been” and does not repeat the list contents (the list is already in history as parameters; duplicating it would waste context)
Default reminder example:
Task list check-in: 6 tool calls since your last todo_write — update the list now to reflect what is finished.
- Repeats continuously: Once triggered, it keeps repeating (at 3, 6, 9, 12…); it does not “go permanently silent once the threshold is met”
- Silent by default when no list exists: If the list is
null, it stays quiet by default (remindWhenNoList: false); it reminds about “updating,” not “creating”
2. Hard Gate: Force List Alignment at Turn End¶
- Location:
agent/turn-stoppingextension point - Trigger condition: When the turn is about to close, if the list still has
pending/in_progressitems,agent.steer(...)is called to force the model to take one more step - Behavior: The model must either finish the work or use
todo_writeto make the list consistent with reality - Loop prevention: At most
maxTurnEndSteerstimes per turn (default: 1); once exhausted, the turn is allowed to close even if the list is still inconsistent
Installation¶
Install from GitHub (Settings → Plugins, enter the install spec):
github:Rayzenchen/dsh-todo-discipline
Configuration¶
Override defaults in cordis.patch.yml:
- id: dsh-todo-discipline
name: '@local/dsh-todo-discipline'
config:
reminderInterval: 5 # Higher = fewer reminders (saves context); lower = more frequent reminders
maxTurnEndSteers: 2 # Max times the gate can force a continuation per turn
| Field | Default | Description |
|---|---|---|
enabled |
true |
Master switch; when false, neither listener is registered |
reminderInterval |
3 |
Number of tool calls after the last list write before a reminder fires; re-fires every interval, never stops |
remindWhenNoList |
false |
Also remind when no list has been created yet (default off, since the pain point is “updating,” not “creating”) |
noListThreshold |
8 |
Initial trigger count when remindWhenNoList is true, and also the repeat interval thereafter |
gateOnTurnEnd |
true |
Enable the turn-end hard gate |
maxTurnEndSteers |
1 |
Max forced continuations per turn for the gate (0 = disable the gate) |
onlyRootAgents |
true |
Only applies to the root agent; skips sub-agents |
Usage Recommendations¶
Suitable Scenarios¶
- You need the model to continuously maintain a task list during long turns
- You don’t want all tasks to be marked complete in one batch only after everything is done
- You are using DSH
0.2.2or earlier
Caveats¶
- This plugin’s
importfield is intentionally empty because it depends on DSH’s internal structure, which is not exported as a package - Reminders enter the conversation history at roughly 20 tokens each; for very long turns, consider increasing
reminderInterval(4–6) - The hard gate costs an extra model call (at most
maxTurnEndSteerstimes per turn); disable it withgateOnTurnEnd: falseif needed - Configuration validation is fail-loud (unknown keys, type mismatches, and out-of-range values all report an issue and prevent activation)
Ecosystem Context¶
DSH’s philosophy is “everything is a plugin.” The community catalog is an independent site with no official affiliation to DeepSeek or High-Flyer.