agentleFS
xiehuan123xiehuan123/dsh-deepread/AGENTS.md

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.

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
  1. Very specific:

    If the upstream checkout contains a usable .codegraph/ index, use CodeGraph before text search.

    line 8
  2. Distinctive:

    Do not edit the upstream checkout while working on this plugin unless the user explicitly requests an upstream change.

    line 9
  3. Very specific:

    Keep these identities distinct: npm/client-module id dsh-deepread, Cordis plugin name and tool name deepread, and patch row id deepread.

    line 13
  4. Distinctive:

    Do not describe a draft tag, npm version, or cross-host smoke as published or complete before the corresponding release work item is …

    line 24
  5. Very specific:

    Keep Node inject, browser exports.inject, and package.json#dsh.client.inject conceptually separate.

    line 29
  6. Very specific:

    After browser-source changes, run npm run build:client and commit the matching lib/client.js.

    line 35
  7. Very specific:

    Run npm test for every behavior or packaging change.

    line 36

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 name deepread, and patch row id deepread.
  • src/index.ts and src/host/**/*.ts are the Node-half sources. src/client/**/*.ts are the browser-half sources. lib/types/**/*.js, lib/types/**/*.d.ts, and lib/client.js are generated; never edit them directly.
  • package.json owns dsh.bundle, dsh.client, dsh.skills, exports, dependencies, and packed files. cordis.patch.yml only mounts the Node half.
  • package.json, the root package in package-lock.json, dsh-plugin.json, root plugin.json, .claude-plugin/plugin.json, and .codex-plugin/plugin.json are real version sources and must stay identical. The current dsh-TUI minimum is 0.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 root plugin.json are host metadata. They do not install or activate the DeepSeek Harness profile bundle.

Release documentation

  • docs/upgrade-and-rollback.md owns the data-retention conditions and the supported 0.5.4 rollback procedure.
  • Versioned draft notes live under docs/releases/; community catalog metadata lives in docs/community-listing-update.md. These files must be included by package.json#files when 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 through ctx.slots.inject(..., () => ctx.slots.register(...)) so late declarations, reload, and disposal stay aligned.
  • Keep Node inject, browser exports.inject, and package.json#dsh.client.inject conceptually separate; the integration reference explains their different roles.
  • webServer, storageDomain, and jobs are optional services discovered at their use sites. Keep the core Host tool activatable in stock headless and 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:client and commit the matching lib/client.js.
  • Run npm test for every behavior or packaging change. Release/documentation changes must keep test/release-docs-contract.mjs green, including its real npm pack --dry-run --json file-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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.