Introduction¶
DeepSeek Harness (DSH) organizes sessions by working directory, but real work often spans multiple directories: research happens in directory A, implementation lands in repository B, and retrospection loops back to A. When you have four or five sessions open simultaneously, your attention can only track one. Two days later, you can’t remember where another session left off, why it was done that way, or what pitfalls were encountered along the way. A few months in, you can’t even articulate “why it was designed this way.” Re-reading hundreds of messages is the worst possible answer.
This plugin crystallizes that problem into structured records: one progress journal per project, containing phases, next steps, and an issue archive, with support for one-click session migration back to the project it truly belongs to.
What It Is¶
This is a DSH plugin (half Host + half Web client). It does not modify DSH core (app.asar), does not hijack sessions—it only reads session events and writes to its own journal.json. The plugin name is pawsey0319/dsh-project-journal, current version 0.5.3, licensed under MIT © 2026 pawsey0319.
The core value of the plugin is to organize the “project progress” scattered across sessions into a reviewable phase chain: one progress journal per project, containing phases, next steps, and an issue archive, with support for one-click session migration back to the project it truly belongs to.
What Problem It Solves¶
DSH organizes sessions by working directory, but real work often spans directories. This plugin groups sessions by project and splits the progress chain by phase rather than by conversation turns. It primarily solves the following problems:
- Forgetting progress across multiple sessions over multiple days: the backend incrementally summarizes phase chains per session, including title, summary (goal/approach/conclusion), time range, and source sessions; no new events means no DB writes and no token consumption.
- Session opened in the wrong project: a “Move to another project” button on the right side of each session row migrates sidebar ownership, progress ownership, and phases together.
- Cross-project contamination: project = DSH workspace; panels are isolated per project; sessions not belonging to any workspace go into the “Unassigned” bucket.
- Remembering “what was done” but not “why”: each phase carries an issue archive with problem statement, user quote, resolution approach, and resolved/unresolved status.
- Not knowing what to do next: phases carry
nextSteps, the project header aggregates the current phase’s next steps, which can be added, removed, or manually edited. - Wanting to backtrack and redo: branch from phase K, the new session inherits the conversation context from before that phase, and the main line remains intact.
- Phase records written incorrectly: manual edits take priority (
manualis not overwritten by auto-summarization); every manual edit leaves a revision snapshot, allowing you to revert to any version. - Fear of losing things on deletion: soft-delete into trash, records are recoverable, artifact files are moved to trash, session conversation history is unchanged.
- Fear of model or accidental edits corrupting data: automatic backup of
journal.json(andworkspace.jsonwhen necessary) before migration/deletion/unmerge, with one-click restore. - Need to hand off or archive: one-click MD export from the project page, including branches, phases, issues and resolutions, next steps, and artifacts.
Core Features¶
Phases & Issue Archives¶
- Phase: one phase = one goal change or one delivery milestone (not one conversation turn), containing title, summary, status (completed/in-progress/planned), time range, source sessions, artifacts, issues, and next steps.
- Issue archive: each phase carries an issue archive with problem statement, user quote, resolution approach, and resolved/unresolved status.
Session Migration¶
- A “Move to another project” button on the right side of each session row; clicking it migrates sidebar ownership, progress ownership, and phases together to the target project.
- When the project’s
cwddoesn’t match the project, a one-click migration prompt appears at the top of the project.
Branching¶
- After branching from phase K, phases before the fork point are grayed out and read-only; the first node of the branch is labeled
↺ Redo. - Can be marked as merged/discarded/restored/deleted; merged branches support “unmerge.”
- Branches only fork the “conversation starting point + progress chain”; no code files in the working directory are modified.
Trash & Backups¶
- Deleting a phase: soft-deleted into trash, records are recoverable, artifact files moved to
trash/<projectId>/<phaseId>/; permanent deletion requires secondary confirmation. - Automatic backup of
journal.json(andworkspace.jsonwhen necessary) before migration/deletion/unmerge, with one-click restore. - The
backups/directory retains the latest 8 files per type in a rolling fashion.
Revision History¶
- Manual edits or rollbacks each record a before/after snapshot (up to 20 entries).
- The top of the phase card indicates “who wrote this and when” (model / you / rollback / legacy data inference); click “View all N entries” to fetch the full revision history on demand, with “Revert to this version” available.
Interface¶
The plugin registers three slots:
sidebar.footer.action: the “Progress” entry at the bottom of the sidebar, with a badge showing the count of unresolved issues / next steps.sidebar.workspaces.session.row.action: the “Move to another project” button on the right side of session rows.shell.overlay: the full-screen “Project Progress” panel, containing search, phase chain, branches, trash, and settings.
All action clicks within the panel go through the act() entry point, emitting a ui:<action> diagnostic beacon and funneling sync/async exceptions into the error bar at the top of the panel, without bubbling up to the host or other plugins’ global click handlers.
Installation¶
There are only two routes: use Route 1 if you’re comfortable with the command line; use Route 2 if not. Neither requires npm.
Route 1: One-line Command (requires dsh CLI)¶
dsh plugin --profile web add github:pawsey0319/dsh-project-journal
- For the desktop client, replace
--profile webwith--profile desktop. - This command pulls the GitHub repository, installs it into the profile, and adds the bundle to
dsh.profile.bundles. - After installation, restart DeepSeek Harness. The “Progress” button appearing at the bottom of the sidebar indicates success.
If you’re using the desktop app and
dshCLI is not in your PATH,dsh plugin ...will report “command not found.” In that case, use Route 2 instead—the result is the same.
Route 2: Paste to Any DSH Agent¶
Copy the entire block and paste it into any DeepSeek Harness session to send. The agent will download, unpack, install, and self-check on its own.
Help me install the DSH plugin dsh-project-journal (Project Progress).
1. Open https://github.com/pawsey0319/dsh-project-journal/releases, download the latest
dsh-project-journal-<version>.tgz to a temporary directory and unpack it (after unpacking
you should see package.json, index.js, client.js, cordis.patch.yml).
2. Use plugin_manager's install_bundle, passing the absolute path of the unpacked directory
as target. The returned application must be "applied"; if not, follow its nextStep.
3. Restart DeepSeek Harness after installation.
4. Confirm the "Progress" button appears at the bottom of the sidebar; if not, check whether
the plugin is enabled and the bundle is in dsh.profile.bundles.
Constraints: do NOT install via npm / pnpm; do NOT modify app.asar; do NOT manually edit
dependencies in ~/.dsh/profiles/*/package.json—leave it to plugin_manager.
Restart once after installation (the Host half is Node code; hot-reload doesn’t apply). For changes to client.js only, refreshing the window is sufficient.
Current version asset (direct download available; the agent can also fetch from here):
https://github.com/pawsey0319/dsh-project-journal/releases/download/v0.5.3/dsh-project-journal-0.5.3.tgz
Why No npm¶
The author hasn’t enabled npm 2FA publishing permissions, so npm install and “install_bundle by version” will 404. Neither route above goes through npm.
Configuration¶
Two entry points: the “Settings” drawer at the top-right of the panel, or /api/config (GET + query; write operations follow the same pattern).
| Parameter | Default | Description |
|---|---|---|
provider |
auto-resolved | Model provider for summarization; leave empty to resolve from listProviders() |
model |
auto-resolved | Model for summarization; defaults to a model with chat / flash in its name |
auto |
true |
Auto-summarization toggle; when off, only manual “Summarize Now” / “Re-summarize This Project” is available |
idleDelayMs |
25000 |
How long a session is idle before triggering a summarization (plus a 1.5s debounce) |
minNewEvents |
3 |
If new summable events are fewer than this value, no model call and no DB write |
maxInputChars |
60000 |
Per-call input cap fed to the model (truncated if exceeded; cursor is not lost) |
maxPhaseContext |
12 |
Max number of existing phase summaries included in context |
throttleMs |
1500 |
Throttle interval for the serial worker |
curl -s "$B/x-journal/api/config?provider=deepseek&model=deepseek-chat&idleDelayMs=15000&minNewEvents=2"
curl -s "$B/x-journal/api/model-probe" # Read-only: whether the model can be resolved
Historical backfill: After installation, full history is not automatically re-read. You need to explicitly start:
curl -s "$B/x-journal/api/backfill?action=start" # Start / resume
curl -s "$B/x-journal/api/backfill?action=pause" # Pause (progress preserved; resumes after restart)
curl -s "$B/x-journal/api/backfill?action=reset" # Reset cursor to -1 and re-run
Backfill is a serial worker with one model call per session. Progress is visible in /api/state under backfill or in the settings drawer.
Unassigned sessions: Sessions not belonging to any workspace go into the unassigned bucket. They cannot be migration targets but are still summarized (1–3 phases summarized based on the session’s own goal; whether to add a new phase is decided by the model, using the same rules as regular projects). When the bucket has been empty for a long time, use “Re-summarize This Project” with rebuild=1 to re-read.
Usage¶
- Click “Progress” at the bottom of the sidebar to open the panel;
- Select a project on the left, view the phase chain on the right; the search box at the top instantly filters “phase title / summary / next steps / issue statements & resolutions / branch names”; click a result to jump directly to the project and branch;
- On a phase card you can “Edit Phase,” “+ Next Step,” “Branch from this Phase,” “Rescan Artifacts,” or “Delete Phase”;
- Issue records can be “Corrected” or deleted; the unresolved count is accumulated on the entry badge;
- The button on the right side of a session row migrates the session to the target project (the project header also provides a one-click migration prompt when
cwddoesn’t match); - In “Settings,” configure auto-summarization, backfill history, and backup/restore; “Export MD” takes the project progress with you.
Data & Privacy¶
- Progress data is stored locally in
~/.dsh/project-journal/journal.json(version 3, atomic write + rolling backup); nothing is uploaded to third parties; - During summarization, only “new session text since the last cursor + existing phase summaries” is sent to your own configured model provider; model input contains no file contents, no images;
- No telemetry:
/api/beacononly writes to an in-memory ring diagnostic buffer (up to 40 entries retained;/api/statereturns the last 12, diagnostic endpoint returns the last 8); nothing is persisted to disk or sent externally; - Session migration only changes DSH workspace ownership (via the
workspacestable instorageDomain); no project files on disk are moved; - Deleting a phase/issue goes to trash first or retains revision history; automatic backup before migration/deletion/unmerge:
~/.dsh/project-journal/
├── journal.json # Single source of truth: config / projects / sessions / backfill
├── backups/ # Rolling backups (latest 8 retained per tag: manual / restore / migrate / phase / branch / workspace / corrupt…)
└── trash/<projectId>/<phaseId>/ # Artifact files of soft-deleted phases (moved back on restore)
The project list and session ownership use the live workspace domain (workspaces.sessionIds) as the single source of truth; reconciliation happens each time the panel is opened. Legacy journal versions are automatically migrated on read (e.g., adding the main branch, etc.).
HTTP API¶
The Host half exposes endpoints under /x-journal (auto-falls back to /x-journal-b, etc. if the prefix is occupied).
Write operations also use GET + query: DSH’s
webServerprefix routing only servesGET/HEAD;POSTgets a 405 before matching. All parameters are passed as query strings;1/trueare treated as true. These endpoints are local HTTP with no authentication—do not expose the DSH port to the public internet.
Read-only Endpoint Examples¶
/api/health: liveness and version, actual route prefix,clientGraph,sessionControlleravailability./api/state: main panel data, includingprojects[](withbranches[]/phases[]/sessions[]),config,backfill,reproject,summarizing,beacons, model readiness status. IncludesETagresponse header./api/export?projectId=: exports the project as Markdown (branches, phases, issues and resolutions, next steps, artifacts)./api/model-probe: read-only: whether the model can be resolved./api/branch/seed?projectId=&phaseId=: pre-branch preview: branch name,fromSeq, seed prompt, inheritable context{sessionId, seq, total}./api/branch/diff?projectId=&branchId=: differences between branch and main line after the fork point, plus unresolved issue counts for each./api/backups: backup directory and file listing./api/trash: trash usage, per-project statistics, soft-deleted phases and artifact inventory./api/session-live?sessionId=: whether this session can still be opened now:alive(present in session list),archived(already archived).
Use Cases & Notes¶
Suitable for DSH users who need long-term project context maintenance, cross-directory work, and clear phase and issue archival. The plugin runs with the current DSH process permissions; review the source code and license before installing.
In Short¶
Organizing DSH sessions into a phase chain, making “what was done” and “why” traceable, is a great helper for maintaining project progress.
- Directory page: https://www.skillhub.cn/plugins/pawsey0319/dsh-project-journal
- GitHub: https://github.com/pawsey0319/dsh-project-journal