READMESource: main@58a0f0c1
@smitfire/cuga
CUGA-inspired runtime governance plugin for DeepSeek Harness (@deepseek-ai/dsh@0.2.2-rc.3) and standalone MCP / CLI pre-tool hooks.
- IntentGuard: screens user prompts in
agent/pre-stepagainst prompt-injection and credential-exfiltration directives. - ToolGuard: enforces sensitive-file denies (
.env,.credentials.yaml,.ssh,.git/config, keys), realpath-verified workspace +writeScopesHITL boundaries, and destructive shell policies across both direct tool calls and nested PTCrun_codedispatches. - ReasoningModeRouter: selects
lite,standard, ordeepguidance budgets per step. - TrajectoryCrystallizer: parameterizes verified multi-step trajectories into reusable
@smitfire/context(Forewisp) playbooks.
Test
npm test
No comments yet. Be the first to write one.