Coding agent rules
August 23, 2026 ยท View on GitHub
DSH Dock runs the unmodified DeepSeek Harness Web UI. Do not fork or patch the official DSH Web UI, and do not modify node_modules or generated runtime bundles.
- Put desktop enhancements in
plugins/dsh-desktop-*where possible. - Prefer official DSH/Cordis extension points; DOM injection is a last resort.
- Before plugin work, MUST read
plugins/PLUGIN_STANDARDS.mdanddocs/PLUGIN-README-TEMPLATE.md. - New plugins require appropriate
node:testcoverage and a README following the repository template. - Preserve Cordis lifecycle and disposal semantics.
- Do not use
localStoragefor persistent state where the plugin standards prohibit it. - Do not hardcode dynamic provider or model catalogs when discovery APIs exist.
- Preserve unrelated user changes. Do not run destructive Git commands.
- Never use
git add .orgit add -A; stage only task-owned paths. - Run
npm run checkbefore declaring repository work complete. Run the relevant build validation when the task affects packaging.
plugins/PLUGIN_STANDARDS.md remains the authoritative plugin engineering specification.