Skip to content

Releases: Nunchakus888/dsh-turn-budget

dsh-turn-budget v0.1.0

Choose a tag to compare

@Nunchakus888 Nunchakus888 released this 14 Aug 03:53

First public release of a fail-closed per-turn resource governor for DeepSeek Harness.

Highlights

  • Limits model steps, root and nested tool executions, and provider-reported tokens per Agent turn.
  • Enforces step and token ceilings through agent/pre-step.
  • Denies excess tool bodies through tools/pre-execute while preserving a final model response opportunity.
  • Prevents duplicate token accounting across usage chunks and final assistant messages.
  • Resets allowances at turn boundaries.

Install

dsh plugin --profile web add dsh-turn-budget

Validated with six Agent Loop integration tests, TypeScript checks, publint, package inspection, CLI profile installation, and GitHub Actions on Node.js 22 and 24.

The accompanying DeepSeek Harness architecture proposal documents the downstream Session-event persistence gap discovered by this plugin.