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.md and docs/PLUGIN-README-TEMPLATE.md.
  • New plugins require appropriate node:test coverage and a README following the repository template.
  • Preserve Cordis lifecycle and disposal semantics.
  • Do not use localStorage for 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 . or git add -A; stage only task-owned paths.
  • Run npm run check before declaring repository work complete. Run the relevant build validation when the task affects packaging.

plugins/PLUGIN_STANDARDS.md remains the authoritative plugin engineering specification.