dsh-session-projection
Skill268k starsChanged 3 months agoMITView on GitHub
Use when creating, extending, or reviewing a DeepSeek Harness session projection, or migrating session-derived recovery state to one.
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Keep recoverable session facts in Projection and expose them through their owning services.
- Distinctive: line 12
Put all persisted or restorable session-derived state in Projection, including host-only state.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Session Projection Rules
Summary
Keep recoverable session facts in Projection and expose them through their owning services. Read the API and lifecycle for the supported preparation, registration, read, and cleanup contracts.
- Put all persisted or restorable session-derived state in Projection, including host-only state. Reuse an existing owner when suitable. Keep external resources and process-scoped ownership outside persisted state. Persist facts, not registration handles, promises, or runtime resources.
Do not expose projection definitions or handles as production read APIs. Keep the ready handle private; consumers use the owning service's domain methods. A handle is a process-local reader, recreated during activation. Require
sessionProjectionswhen the service depends on it; optional registration is only for optional contributions. Do not hide a missing required dependency with another recovery path.A runtime that needs several projected states receives one typed object of callbacks created with
handle.readerFor(session). Add properties instead of a constructor parameter or feature-specific reader for each state. Each callback has type() => S; single-purpose collaborators receive it directly. These host-state readers are separate from wire snapshots and live Cordis Context; they own no registration, disposal, cache or I/O. Registration, Session preparation and handle lifetimes stay with their owners. Rule 9 defines synchronous API compatibility.- State recovery through
initandapplyis synchronous and deterministic. Do not perform I/O or trigger Cordis hooks, models, or tools. Runtime hooks own those effects. Replay must not repeat them. Return the same state reference for unrelated events. Keep views synchronous and preserve their references when visible values do not change. - Persist JSON state that its schema accepts. Follow the README's state-version and checkpoint-watermark rules. Restoring a checkpoint and replaying its suffix must match full replay. Change the version when state fields or recovery semantics change.
- Prefer fixed-size or sublinear state. Growth is acceptable only when slow enough to remain negligible. Necessary linear state must have a current use and explicit memory, replay, and per-event costs. Do not retain history-sized indexes, including event sequence collections, by habit. Do not discard required data or change behavior to reduce size. Start with a complete implementation; optimize for a concrete need.
- Caches must be discardable and rebuildable without changing behavior. A sequence reference alone is insufficient when a synchronous consumer needs the referenced payload. Store the required current value within rule 5, or prepare the payload through an explicit asynchronous path. Do not hide full-log reads in a cache miss. Do not add
snapshotEvents,eventAt,ownEvents, or equivalent wrappers: history need not stay in memory. An async wrapper does not make synchronous history reads asynchronous. Existing host replay may remain for named supported callers, with an owner and removal condition; this does not permit Client cache-miss full-log reads. Remove superseded recovery helpers; cache reconstruction must not duplicate recovery rules. - Await required registration before exposing synchronous readers or installing callbacks that use its handle, usually in
[Service.init]. Let registration rejection fail that activation. Events can arrive during the await; install listeners earlier only when needed to avoid missed events. Await only in callbacks that support it. Do not move listeners or add waits mechanically. Keep fiber cleanup ownership, await explicit disposal, and do not create effects after the owner is disposed. - Keep registration readiness and Session recovery separate. The asynchronous Session-loading or preparation owner completes historical recovery before it publishes the Session to synchronous readers. Use the registry's supported lifecycle; do not add hydration or hidden I/O to domain getters. Recovery prepares state; getters read it. Preserve the registry's error scope for each unit and Session.
- Identify all official consumers before switching a read path, including plugins, CLI/GUI, and both SDKs. Preserve synchronous callers until they migrate explicitly; a Promise cannot implement a synchronous API. A new required service or activation step needs consumer updates and an upgrade guide. Keep compatibility tied to actual supported callers, not test-only compositions.
- Verify values, notifications, error scope and timing, and recovery through affected real entry points. Keep existing behavior assertions. Do not move consumer-only errors into eager Projection processing. For lifecycle changes, test delayed registration, rejection, replacement, and disposal during an await. Use actual Session/store lifecycles and explicit barriers instead of partial Session mocks or microtask counts. Check error logs as well as released state. Recovery tests cover usable, missing, and incompatible checkpoints plus suffix replay, without runtime effects.
Trending
Less talk lately.about the whole repository
Who's talking about deepseek-ai/deepseek-harness
- Better Stack“DeepSeek Harness Just Changed AI Forever”YouTube · Aug 19, 2026 · 104k views
- Prompt Engineering“DeepSeek Harness Just Got a Web Agent”YouTube · Oct 6, 2026 · 39k views
- Tyler AI“DeepSeek Harness: The Open-Source Claude Code (Full Setup)”YouTube · Sep 13, 2026 · 29k views
- IchBinFabian“DeepSeek Harness Tutorial: So nutze ich es wirklich (mit Claude Code)”YouTube · Oct 19, 2026 · 9.9k views
- Md Al Mamun“How to Run DeepSeek Harness Locally”YouTube · Aug 29, 2026 · 4.5k views
The biggest 5 of 87 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 87
Talked about on GitHub, the web, Bluesky, YouTube and Hacker News (87 times).
On GitHub · 50
- Aug 17, 2026Is DeepSeek Harness provider support something you'd want? — pingdotgg/t3code24 reactions · 10 comments
- Aug 13, 2026可以尝试兼容Deepseek Harness吗 — farion1231/cc-switch21 reactions · 25 comments
- Aug 13, 2026希望增加DSH(DeepSeek Harness)的用量统计支持 — Javis603/token-monitor9 reactions · 1 comment
- Aug 22, 2026`npm install -g @deepseek-harness-tui/dsh-tui` 在 npm 12 崩溃:`Cannot read properties of null (reading 'children')` — ccch1mneyyy/dsh-TUI7 reactions · 6 comments
- Aug 17, 2026Feature Request: Please add DeepSeek Harness as an Agent harness — block/buzz6 reactions · 1 comment
45 more on GitHub
- Aug 13, 2026package request: deepseek-harness(dsh) — numtide/llm-agents.nix4 reactions · 5 comments
- Aug 13, 2026[Feature] Add DeepSeek Harness as a first-class client integration — lidge-jun/opencodex3 reactions · 3 comments
- Oct 22, 2026[Engine] Engine crashes unexpectedly (exit code 1 / 3221226505) during DeepSeek Harness session on Windows 11 — Niko1221/Strata2 reactions · 2 comments
- Oct 14, 2026免费模型不可用,附D老师给的解决方法,自测恢复,望修复 — Ebony-Vinyl/dsh-our-free-model2 reactions · 8 comments
- Sep 29, 2026Make Codacy reviews available to every MDE coding agent — amoai-tech/mdeai2 reactions · 7 comments
- Sep 6, 2026[Bug] DeepSeek Harness "startup timed out" with dsh 0.1.2-rc.1 (readiness check incompatible) — CherryHQ/cherry-studio2 reactions · 2 comments
- Aug 31, 2026合作邀请:Blue TUI 生态适配(适配工作我们来做) — dream12347/dsh-session-manager2 reactions · 5 comments
- Aug 21, 2026[Bug]: DeepSeek Harness (dsh web) auto-opens system browser — Cherry should pass --no-open — CherryHQ/cherry-studio2 reactions · 1 comment
- Aug 17, 2026dsh: Needs `/bin/bash` to be present — numtide/llm-agents.nix2 reactions · 1 comment
- Oct 28, 2026chore(deps): 升级 dsh peers 到 0.2.1-rc.4 / upgrade dsh peers to 0.2.1-rc.4 — btspoony/mstar-harness1 reaction · 2 comments
- Oct 13, 2026docs(dsh): select synchronization by host capability — mindfold-ai/marketplace1 reaction · 2 comments
- Oct 11, 2026Add umialpha/dsh-session-groups (alpha source preview) — imsai-sh/awesome-deepseek-harness-plugins1 reaction · 2 comments
- Oct 7, 2026replan(解决)的硬 cancel 触发 DSH 0.2.x turn/end reason:null,导致对话区永久空白——建议默认软 steer — PC2005-cloud/dsh-pet1 reaction · 1 comment
- Sep 30, 2026[Request]: DeepSeek Harness Desktop Preview — ScoopInstaller/Versions1 reaction · 2 comments
- Sep 29, 2026chore(deps): 升级 dsh peers 到 0.2.0-rc.2 / upgrade dsh peers to 0.2.0-rc.2 — btspoony/mstar-harness1 reaction · 1 comment
- Sep 24, 2026feat(adapters): add a DeepSeek Harness adapter with a full hook bridge — affaan-m/ECC1 reaction · 46 comments
- Sep 16, 2026fix(llm): 将会话头限定到 OpenCode 路由,避免发给无关 provider — dsh-tauri/deepseek-harness-desktop1 reaction · 1 comment
- Sep 14, 2026支持官方 v3 会话日志计量 — le-soleil-se-couche/dsh-token-cost1 reaction · 1 comment
- Sep 11, 2026chore(deps): 升级 dsh peers 到 0.1.5-rc.2 / upgrade dsh peers to 0.1.5-rc.2 — btspoony/mstar-harness1 reaction · 1 comment
- Sep 10, 2026Some cases that RTL is not working as expected + Visual Examples — kfirsch/dsh-hebrew-rtl1 reaction · 1 comment
- Sep 10, 2026chore(deps): 升级 dsh peers 到 0.1.5-rc.1 / upgrade dsh peers to 0.1.5-rc.1 — btspoony/mstar-harness1 reaction · 1 comment
- Sep 9, 2026chore(deps-dev): bump the deepseek-harness group across 1 directory with 2 updates — blaxel-ai/deepseek-harness-blaxel-sandbox1 reaction · 1 comment
- Sep 4, 2026chore(dsh): 升级 dsh host 线到 0.1.3-alpha.1 / upgrade dsh host line to 0.1.3-alpha.1 — btspoony/mstar-harness1 reaction · 2 comments
- Sep 3, 2026chore(deps): bump the deepseek-harness group with 4 updates — blaxel-ai/deepseek-harness-blaxel-sandbox1 reaction · 1 comment
- Sep 3, 2026chore(dsh): 升级 dsh host 线到 0.1.2-rc.1 / upgrade dsh host line to 0.1.2-rc.1 — btspoony/mstar-harness1 reaction · 1 comment
- Sep 2, 2026chore(dsh): 升级 dsh host 线到 0.1.2-alpha.5 / upgrade dsh host line to 0.1.2-alpha.5 — btspoony/mstar-harness1 reaction · 1 comment
- Sep 2, 2026chore(dsh): 升级 dsh host 线到 0.1.2-alpha.4 / upgrade dsh host line to 0.1.2-alpha.4 — btspoony/mstar-harness1 reaction · 1 comment
- Sep 1, 2026chore(dsh): 升级 dsh host 线到 0.1.2-alpha.3 / upgrade dsh host line to 0.1.2-alpha.3 — btspoony/mstar-harness1 reaction · 1 comment
- Aug 30, 2026chore(dsh): 升级 dsh host 线到 0.1.2-alpha.2 / upgrade dsh host line to 0.1.2-alpha.2 — btspoony/mstar-harness1 reaction · 1 comment
- Aug 29, 2026合作邀请:Blue TUI 生态适配(适配工作我们来做) — zh667/TokenLedger1 reaction · 5 comments
- Aug 27, 2026chore(dsh): 升级 dsh host 线到 0.1.2-alpha.1 / upgrade dsh host line to 0.1.2-alpha.1 — btspoony/mstar-harness1 reaction · 1 comment
- Aug 27, 2026🌱 Show official DeepSeek Harness logo — sesori-ai/sesori_apps_monorepo1 reaction · 2 comments
- Aug 26, 2026Feature Request: Add support for DeepSeek Harness — sodiumsun/agenttrail1 reaction
- Aug 22, 2026[Compatibility] DSH Desktop built-in Market cannot load this catalog under fake-IP DNS proxies (client-side blocked-address) — imsai-sh/dsh-1024store1 reaction
- Aug 21, 2026chore(dsh): upgrade dsh host line to 0.1.1-rc.2 — btspoony/mstar-harness1 reaction · 1 comment
- Aug 19, 2026docs(blog): Cordisの時空間合成可能性を解説 — penpenguin/portfolio1 reaction
- Aug 17, 2026Add native DSH Student OS tools — Gu-Heping/college-student-workflow1 reaction · 22 comments
- Aug 17, 2026MIM-164 提供可复用的代码熵回收 Skill — gaixianggeng/codex-skills1 reaction
- Aug 14, 2026【功能请求】 支持 dsh(deepseek-harness) — crafter-station/petdex1 reaction · 2 comments
- Aug 13, 2026docs(analysis-site): correct the ecosystem claims against upstream evidence — zhanglunet/deepseek-harness1 reaction · 1 comment
- Oct 26, 2026[upstream] Review dsh-v0.2.1-rc.3 — ShilongZhang116/dsh-windows0 reactions
- Oct 20, 2026[Tool Submission Request] deepseek haness — BraveOPotato/NoSignups0 reactions
- Oct 19, 2026[upstream] Review dsh-v0.2.1-rc.2 — ShilongZhang116/dsh-windows0 reactions
- Oct 18, 2026Follow up DeepSeek Harness upstream updates: personal localRoot rules leak into committed AGENTS.md, shared ~/.agents/AGENTS.md root — dyoshikawa/rulesync0 reactions · 1 comment
- Oct 14, 2026BUG | `内核` | 0.2.x 内核客户端每帧几何读写,renderer 长期占满一个核(附 0.1.5↔0.2.1 逐行对照与上游外链) — dsh-tauri/deepseek-harness-desktop0 reactions
On the web · 13
- Aug 21, 2026DeepSeek Harness Guide: Building a Local AI Agent Development Environment — dev.to
- Aug 21, 2026I tried deepseek harness on local workflows invoices x trend archives and custom tools — medium.com
- Aug 21, 2026DeepSeek Harness - Complete Setup Guide 🚀 — linkedin.com
- Aug 17, 2026DeepSeek Harness Setup Guide (dsh) | LLM Configurator — llmconfigurator.com
- Aug 17, 2026Running deepseek harness locally with distilled qwen3 5 9b mtp — mychen76.medium.com
8 more on the web
- Aug 17, 2026DeepSeek Harness: Open Agent Runtime, How to Run It | The AI Dude — theaidude.net
- Aug 17, 2026DeepSeek Harness Review: Coding AI Tool (2026) | The AI Dude — theaidude.net
- Aug 15, 2026An agent harness where every capability is a plugin — medium.com
- Aug 15, 2026DeepSeek Harness Real-World Test: What the Non-Model H… | BestHub — besthub.dev
- Aug 14, 2026Deepseek harness when the agent loop itself becomes a plugin — medium.com
- Aug 14, 2026DeepSeek Harness Review: A Geeky CLI, Not the App I Hoped For – PiAll — piall.com
- Aug 13, 2026DeepSeek Harness 2026: Everything Is a Plugin — Developer Preview Guide — dev.to
- Aug 13, 2026I Tried DeepSeek Harness. Here’s What It Actually Does – PiAll — piall.com
On Bluesky · 12
- Aug 13, 2026DeepSeek Harness v0.1 the idea is everything is a plugin — models, tools, sessions, skills, sandboxes, loops, … github.com/deepseek-ai/... — @timkellogg.me78 likes and reposts · 7 replies
- Aug 17, 2026¡DeepSeek hace de código abierto su Agent Harness! 144.000 estrellas en 4 días. Todo lo cambias a base de plugins: El modelo, las tools, el… — @midu.dev18 likes and reposts · 1 reply
- Aug 13, 2026github.com/deepseek-ai/... — @sungkim.bsky.social5 likes and reposts
- Aug 29, 2026github.com/deepseek-ai/... I haven't used it myself but idk I'd consider this a "first party harness" I guess. — @itisamystery.com4 likes and reposts · 2 replies
- Aug 19, 2026DeepSeek Harness github.com/deepseek-ai/... A Programming Paradigm for Spatiotemporal Composability github.com/cordiverse/p... Interesting… — @inamiy.bsky.social3 likes and reposts
7 more on Bluesky
- Aug 14, 2026maybe this? github.com/deepseek-ai/... — @bisks.net3 likes and reposts · 2 replies
- Sep 13, 2026GitHub - deepseek-ai/deepseek-harness: DeepSeek Harness: Everything is a Plugin. https://github.com/deepseek-ai/deepseek-harness — @tech-trending.bsky.social1 likes and repost
- Aug 23, 2026github.com/deepseek-ai/... it's real check it out, they're linking the paper — @daniel-j-h.bsky.social1 likes and repost
- Aug 13, 2026DeepSeek Harness https://github.com/deepseek-ai/deepseek-harness — @hnbot.gsuscs.xyz1 likes and repost
- Aug 13, 2026github.com/deepseek-ai/... 5分钟前还是 404 的,现在打开已经 700 多星了 抢票呢你们? — @icecodenew.bsky.social1 likes and repost
- Aug 14, 20265. Writer Launches New GLM-5.2 Based Model for Lower Token Costs LINK 6. DeepSeek Releases Open-Source Agent Harness LINK — @hackobar.bsky.social0 likes and reposts · 1 reply
- Aug 14, 2026DeepSeek acaba de soltar su propio Claude Code: DeepSeek Harness, open source. 82K⭐ en GitHub el primer día. Repo aquí — @lluis154.bsky.social0 likes and reposts · 1 reply
On YouTube · 10
- Aug 19, 2026DeepSeek Harness Just Changed AI Forever — Better Stack104k views · 124 comments
- Oct 6, 2026DeepSeek Harness Just Got a Web Agent — Prompt Engineering39k views · 31 comments
- Sep 13, 2026DeepSeek Harness: The Open-Source Claude Code (Full Setup) — Tyler AI29k views · 17 comments
- Oct 19, 2026DeepSeek Harness Tutorial: So nutze ich es wirklich (mit Claude Code) — IchBinFabian9.9k views · 35 comments
- Aug 29, 2026How to Run DeepSeek Harness Locally — Md Al Mamun4.5k views · 1 comment
5 more on YouTube
- Oct 26, 2026AI Browser Automation with DeepSeek Harness + ego lite (Tutorial) — React & Next js Projects with Sahand4k views · 7 comments
- Sep 24, 2026How to Use DeepSeek Harness for 100% FREE 😳 (AI Coding Agent) | Hindi — BuildWithPrashantsays it tested it3.2k views · 6 comments
- Sep 28, 2026DeepSeek Harness - Everything is a plugin — a modular AI stack (236k stars) — Evolution with AI2.4k views
- Aug 16, 2026DeepSeek Harness: Setup, Features, and Why It’s Different — Singularity Feed | AI Models , Agents & Robotics1.6k views
- Aug 23, 2026DeepSeek open-sourced its coding harness... here's the catch — ByteDevs293 views
On Hacker News · 2
- Aug 21, 2026DeepSeek harness: what doors does config over code open?3 points · 1 comment
- Aug 18, 2026DeepSeek Harness1 point
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/notes/AGENTS.mdAGENTS.md
- .agents/notes/archived/AGENTS.mdAGENTS.md
- .agents/notes/implemented/AGENTS.mdAGENTS.md
- apps/cli/tests/profiles/AGENTS.mdAGENTS.md
- benchmarks/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- native/system/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- packages/client/AGENTS.mdAGENTS.md
- packages/experimental/AGENTS.mdAGENTS.md
- packages/schedule/AGENTS.mdAGENTS.md
- packages/web/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- snapshots/AGENTS.mdAGENTS.md
- snapshots/session/agent-instructions-budget-chains/workspace/AGENTS.mdAGENTS.md
- snapshots/session/agent-instructions-budget-chains/workspace/.dsh/AGENTS.mdAGENTS.md
- snapshots/session/agent-instructions-budget/workspace/.agents/AGENTS.mdAGENTS.md
- snapshots/session/agent-instructions-budget/workspace/AGENTS.mdAGENTS.md
- snapshots/session/agent-instructions-budget/workspace/.dsh/AGENTS.mdAGENTS.md
- snapshots/session/agent-instructions-group-failure/workspace/.agents/AGENTS.mdAGENTS.md
- snapshots/session/agent-instructions-group-failure/workspace/.dsh/AGENTS.mdAGENTS.md
- snapshots/session/agent-instructions/workspace/.agents/AGENTS.mdAGENTS.md
- snapshots/session/ptc-workspace-context/workspace/AGENTS.mdAGENTS.md
- snapshots/session/ptc-workspace-context/workspace/nested/AGENTS.mdAGENTS.md
- website/AGENTS.mdAGENTS.md
- cordis-styling-nitpickingSkill
- dsh-archive-agent-notesSkill
- dsh-ci-test-reliabilitySkill
- dsh-client-ui-uxSkill
- dsh-code-reviewSkill
- dsh-create-upgrade-guideSkill
- dsh-docSkill
- dsh-error-handlingSkill
- dsh-find-simplificationsSkill
- dsh-merging-stacked-prsSkill
- dsh-official-plugin-artworkSkill
- dsh-pr-descriptionSkill
- dsh-pre-push-checksSkill
- dsh-prose-standardSkill
- dsh-responsive-uiSkill
- dsh-speed-up-perfSkill
- dsh-translate-docsSkill
- dsh-trim-cot-leakageSkill
- record-browser-gifSkill
- preview-tourSkill
- agent-experienceSkill
- cordis-composition-referenceSkill
- cordis-plugin-developmentSkill
- editing-cordis-compositionsSkill
- diagnose-windows-sandbox-aclSkill
- office-docxSkill
- office-export-pdfSkill
- office-pptxSkill
- office-recalculateSkill
- office-renderSkill
- officeSkill
- office-xlsxSkill
- model-only-skillSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

