mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
Load a per-directory local overlay in addition to the base instruction file, matching the Claude Code AGENTS.local.md / CLAUDE.local.md convention for git-ignored personal guidance. - New config `localInstructionFileCandidates`, default `['AGENTS.local.md', 'CLAUDE.local.md']`; empty disables the overlay. The default lives in the plugin Config schema, so every front door (TUI/ACP/headless) reads .local. files consistently. - Per project directory the plugin loads the first-existing base candidate, then additively the first-existing local candidate, rendered after the base so it takes precedence within the byte budget. - Base and local tiers get distinct scope keys via a NUL sentinel (scopeKey/decodeScopeKey) so they never collide in the baseline map, pending window, or version cache. - The fixed user-global $DSH_HOME/AGENTS.md stays base-only. Docs: README (config, lifecycle, Known Limitations), regenerated config-catalog, and a new bilingual Agent Note cross-linked to the owning workspace-context note. 100% per-file coverage retained.
context/ — request-context extensions
Product plugins that add model-visible request context without defining a tool or service. workspace-context is included by the default dsh-agent-spine-demo bundle and can be disabled through bundle config; time-context is opt-in.
| Package | Role | ctx key |
|---|---|---|
time-context/ |
Durable per-step current time and elapsed-time context | (none) |
workspace-context/ |
AGENTS.md/CLAUDE.md workspace context loader |
(listens on agent/session-prefix + tools/post-execute) |
The workspace-context decision record explains its per-agent/session isolation and lifecycle split.