dsh-deepread
AGENTS.md59 starsChanged 3 months agoMITView on GitHub
This repository is an out-of-tree plugin for DeepSeek Harness. Before changing plugin packaging, Cordis wiring, the browser client, or host-facing tests, read docs/deepseek-harness-integration.md.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- site/llms.txtllms.txt
- dsh-deepreadSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
If the upstream checkout contains a usable .codegraph/ index, use CodeGraph before text search.
- Distinctive: line 9
Do not edit the upstream checkout while working on this plugin unless the user explicitly requests an upstream change.
- Very specific: line 13
Keep these identities distinct: npm/client-module id dsh-deepread, Cordis plugin name and tool name deepread, and patch row id deepread.
- Distinctive: line 24
Do not describe a draft tag, npm version, or cross-host smoke as published or complete before the corresponding release work item is …
- Very specific: line 29
Keep Node inject, browser exports.inject, and package.json#dsh.client.inject conceptually separate.
- Very specific: line 35
After browser-source changes, run npm run build:client and commit the matching lib/client.js.
- Very specific: line 36
Run npm test for every behavior or packaging change.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md
This repository is an out-of-tree plugin for DeepSeek Harness. Before changing plugin packaging, Cordis wiring, the browser client, or host-facing tests, read docs/deepseek-harness-integration.md.
Upstream authority
- The local upstream checkout is
/Users/xiehuan/Desktop/project/deepseek-harness. Treat its documentation and current source as authoritative; do not infer Harness APIs from this plugin's compatibility shims. - If the upstream checkout contains a usable
.codegraph/index, use CodeGraph before text search. If CodeGraph reports that the index is unavailable, continue with upstream documentation and source. - Do not edit the upstream checkout while working on this plugin unless the user explicitly requests an upstream change.
Plugin identities and source files
- Keep these identities distinct: npm/client-module id
dsh-deepread, Cordis plugin name and tool namedeepread, and patch row iddeepread. src/index.tsandsrc/host/**/*.tsare the Node-half sources.src/client/**/*.tsare the browser-half sources.lib/types/**/*.js,lib/types/**/*.d.ts, andlib/client.jsare generated; never edit them directly.package.jsonownsdsh.bundle,dsh.client,dsh.skills, exports, dependencies, and packed files.cordis.patch.ymlonly mounts the Node half.package.json, the root package inpackage-lock.json,dsh-plugin.json, rootplugin.json,.claude-plugin/plugin.json, and.codex-plugin/plugin.jsonare real version sources and must stay identical. The current dsh-TUI minimum is0.8.1, using the Host-only Community Consensus v0.15 manifest.- The Web client is optional packaging: DeepSeek Harness Web loads
lib/client.js; Harness headless and dsh-TUI load the Host entry and skill without loading browser UI. .codex-plugin/,.claude-plugin/, and rootplugin.jsonare host metadata. They do not install or activate the DeepSeek Harness profile bundle.
Release documentation
docs/upgrade-and-rollback.mdowns the data-retention conditions and the supported0.5.4rollback procedure.- Versioned draft notes live under
docs/releases/; community catalog metadata lives indocs/community-listing-update.md. These files must be included bypackage.json#fileswhen README links expose them to installers. - Do not describe a draft tag, npm version, or cross-host smoke as published or complete before the corresponding release work item is actually run.
Harness lifecycle rules
- Register Node resources through
ctx.effect()or another disposer-returning Harness API. Register browser UI throughctx.slots.inject(..., () => ctx.slots.register(...))so late declarations, reload, and disposal stay aligned. - Keep Node
inject, browserexports.inject, andpackage.json#dsh.client.injectconceptually separate; the integration reference explains their different roles. webServer,storageDomain, andjobsare optional services discovered at their use sites. Keep the core Host tool activatable in stockheadlessand dsh-TUI compositions.- Consume
--dsw-alias-*semantic theme tokens. Do not add feature-owned light/dark selectors or new literal theme colors.
Verification
- After browser-source changes, run
npm run build:clientand commit the matchinglib/client.js. - Run
npm testfor every behavior or packaging change. Release/documentation changes must keeptest/release-docs-contract.mjsgreen, including its realnpm pack --dry-run --jsonfile-list check. - Manifest, profile, slot-lifecycle, or browser-loader changes also require an assembled test in a compatible local DeepSeek Harness Web profile; the repository tests alone only prove the plugin's local shims and bundle handoff.
- Preserve unrelated working-tree changes and do not modify profile installation state unless the user asks for installation or removal.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

