From 01fa11b96f26fb2d6109810c5f036422420ab7a7 Mon Sep 17 00:00:00 2001 From: Hunter Bown Date: Sun, 3 May 2026 04:31:18 -0500 Subject: [PATCH] docs(changelog): note /sessions prune slash command in #406 entry Co-Authored-By: Claude Opus 4.7 (1M context) --- CHANGELOG.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b844424..57338c8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,11 +57,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **`docs/MEMORY.md`** — user-facing memory feature documentation. - **Competitive analysis doc** — `docs/COMPETITIVE_ANALYSIS.md` catalogues capability matrix vs OpenCode and Codex CLI. -- **Session-prune helper** (#406 phase-1) — - `SessionManager::prune_sessions_older_than(max_age)` with 5 unit - tests pinning the contract. Building block for the v0.8.9 - auto-archive design; currently unwired pending retention-policy - decisions. +- **Session prune helper + `/sessions prune `** (#406 phase-1) — + drops persisted sessions older than N days from + `~/.deepseek/sessions/`. Skips the checkpoint subdirectory and + compares against metadata `updated_at` (not fs mtime, which can + lie after an rsync). 10 total tests cover the helper's contract + and the slash-command dispatch surface. Phase 2 (boot-prune + + retention policy) stays v0.8.9 work. - **`deepseek doctor --json`** now surfaces a `memory` block (`enabled` / `path` / `file_present`) so operators can verify memory configuration without booting the TUI.