dsh-stack-guardian
v0.1.0-alpha.1
Published
stack-guardian for the DeepSeek Harness: one start-of-session line when the stack doctor reports WARN/FAIL.
Maintainers
Readme
dsh-stack-guardian
A DeepSeek Harness plugin for stack-guardian. At the start of a
session it runs stack-guardian doctor --json --quiet. When the report is WARN or FAIL it adds one short line to the
conversation, for example that a node is unreachable or a model is not loaded. When everything is OK it adds nothing.
Needs
- Node 20+
- the Python CLI on PATH:
pip install stack-guardian STACK_GUARDIAN_NODESset to your nodes file in the harness environment (see examples/nodes.json)
Install
npm install dsh-stack-guardianThen add the plugin to your harness configuration. Defaults: 5 s budget, injects on WARN and FAIL, at most 400 characters. A timeout or an unreadable report adds nothing, so a broken doctor never blocks a session.
MIT licensed.
