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. 8. 20.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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.