ycr40/dsh-prolong-memory ↗★ 1

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 查看状态。

パッケージ
dsh-prolong-memory
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/20

インストール

検証済み 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)

fielddefaultmeaning
logFilelog.txtlog file name inside the workspace (path traversal rejected; misconfiguration fails loud)
logWindow00 = keep everything; N>0 = keep last N sections; -1 = disable entirely (no-log ablation)
promptOrder150system-prompt section ordering
registerPrompt / registerCommandtruetoggle the prompt section / the status command independently
denyKeep20denied-call records kept for the status report

Temporary debugging without touching the profile: dsh --profile web --patch ./overlay.yml.