mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
The test 'labels the default DSH home as ~/.dsh when HOME points at the configured default' mocks node:os to return a temporary home directory and expects discoverBaselineInstructionFiles to fall back to the default ~/.dsh path. However, when DSH_HOME is externally set (e.g. in the DSH agent environment), resolveDshHome(undefined) reads that external value instead of falling back to defaultDshHome(), causing the test to look for AGENTS.md in the wrong directory and return an empty result. Stub DSH_HOME to undefined so the test controls the full resolution path.
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.