dsh-prolong-memory
PRO-LONG-style programmatic memory for DeepSeek Harness: appends every session event to a per-workspace log.txt that the agent retrieves with grep/python. Built-in write probe, /prolong status command and permission-deny counter. 适合希望 agent 跨会话回忆历史工作的用户;挂载后自动记录,可用 /prolong status 查看状态。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗Usage
Once mounted, no interaction is needed — every session in the profile gets a log.txt in its workspace, starting with a write-probe section. Ask the agent anything about earlier work ("what exact command failed back then?") and the prompt section steers it to grep the log.
Check plugin health at any time:
/prolong status
prolong-memory status
log file: log.txt (per-session workspace)
window: full
session 9f3c…
path: /work/demo/log.txt
writable=yes sections=128 lastSeq=341
denied tool calls referencing the log: 0
Configuration (cordis.yml / patch overlay)
| field | default | meaning |
|---|---|---|
logFile | log.txt | log file name inside the workspace (path traversal rejected; misconfiguration fails loud) |
logWindow | 0 | 0 = keep everything; N>0 = keep last N sections; -1 = disable entirely (no-log ablation) |
promptOrder | 150 | system-prompt section ordering |
registerPrompt / registerCommand | true | toggle the prompt section / the status command independently |
denyKeep | 20 | denied-call records kept for the status report |
Temporary debugging without touching the profile: dsh --profile web --patch ./overlay.yml.