dsh-j-space
Automatic J-Space cognition suite for DeepSeek Harness (dsh): a zero-config dsh-plugin that adds structured working state, checkpoints, and verify-before-ship discipline to every agent session.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wxxb789/dsh-j-space说明文档
阅读完整 README ↗Usage
Everyday work
There is nothing to invoke. Once the profile is restarted, every session starts each step with J-Space already in context, so describe the task exactly as you did before.
What changes is how the agent works, not how you talk to it:
- it keeps a small explicit working set instead of carrying every detail forward;
- it maintains
Goal / Core / Verified / Open / Nexton long tasks and refreshes it at seams; - it treats “done” as a claim that needs a check, and reports which check it ran.
Verify that it is active
dsh --profile web --dump-config
The dump should show the bundle layer and a dsh-j-space row with autoActivate: true.
[!TIP] Behaviorally, a fresh session started after the restart is the reliable place to look: the first step already reflects the J-Space frame.
Re-enter deliberately
/j-space
Type it in the session input when you want an explicit reset — after a long detour, after compaction, or when taking over someone else's session. The skill is human-invocable only: the model cannot call it, and it adds no catalog entry and no tool schema. If the same step already carries automatic activation, the manual invocation wins and no second copy is appended.
Match the pass to the task
You do not choose the pass; the agent selects the lightest one it can still check, using the operating model table. You can still say so directly — “keep this fast”, “treat this as loop work” — when you know more about the task than its first turn shows.
Long-running work
For loop work the agent may keep a durable ledger under .jspace/ in the task workspace through the optional local controller. Add .jspace/ to the repository ignore rules if you do not want it tracked; deleting the directory removes only J-Space working state.
PTC / Code Mode
Select the PTC agent preset when starting the session. Activation is identical to Standard mode, and DSH keeps ownership of run_code, the generated tools.* SDK, and tool execution policy. See PTC / Code Mode inheritance.
Turn automatic activation off
To keep the skill installed but require an explicit /j-space, set autoActivate: false as shown under Configuration, then restart the profile.
Configuration
Automatic activation is enabled by the bundle:
- insert:
- id: dsh-j-space
name: dsh-j-space
config:
autoActivate: true
To keep the skill installed but require manual /j-space activation, override the row in the profile's cordis.patch.yml:
- id: dsh-j-space
config:
autoActivate: false
Restart the profile after changing configuration.