Skip to content

dsh-sdlc-flow-guard

Verified

@patwoodman/dsh-sdlc-flow-guard Β· v1.3.0 Β· MIT

Worker-side enforcement only: tools/pre-execute + fs/* deciders. Never installed into the lead profile.

Install

dsh plugin add @patwoodman/dsh-sdlc-flow-guard

Confirm the layer applied with dsh --profile default --dump-config β€” see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Readme

@patwoodman/dsh-sdlc-flow-guard β€” worker-side enforcement

The policy half of the worker sandbox: a tools/pre-execute waterfall and the fs/* write deciders. It denies writes outside the task contract's allowed paths, protects the orchestrator's own files (.sdlc/sdlc.db, locks, the task contract) and rejects forbidden command patterns (git push --force*, rm -rf /, git clean -fdx*, git reset --hard*, …).

It has no host service and no database access. The guard is policy, not a security boundary β€” the real controls are the sandbox root and the post-hoc git diff check.

Installed into worker profiles beside @patwoodman/dsh-sdlc-flow-tools, and into the boot probe for symmetry.

Install

dsh plugin --profile sdlc-worker add @patwoodman/dsh-sdlc-flow-guard @patwoodman/dsh-sdlc-flow-tools

Configuration

The patch declares the defaults (guardMode: deny, orchestratorPaths, protectedOrchestratorPaths, guardForbiddenPatterns). A profile-level id-targeted override replaces the row's whole config.

Requirements

  • @deepseek-ai/dsh >=0.2.0-rc.2 <0.3.0-0
  • Node.js β‰₯ 22.13

License

MIT