dsh-batch-pipeline: batch task pipeline — progress, resume after restart, budget circuit-breaker, product checks #1553
Culeot
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What it is
dsh-batch-pipeline is a batch-task plugin for DeepSeek Harness. Batch work has one shared pain point: a single session cannot finish it — 50 essays, interrupted at #30, session restarted, progress gone. This plugin handles four things: progress, resume, budget, and product checks. It is a ledger, not a worker — the agent or a script does the work; the plugin records where you are, how much it cost, and whether the product passed.
Four capabilities
batch.json, persisted across sessions. You always know which item you are on.batch_resume takeover=trueand picks up from the last pointer. No restarting from scratch.Why it works this way
batch_reportwith the item index; the plugin verifies it against the pointer and rejects mismatches. The ledger cannot be derailed by model hallucination.batch_finish.costModel='none'for download/script-heavy batches: progress only, no budget accounting — don't charge fake LLM cost to non-LLM work.How it differs from official todo/goal
Official todo/goal/plan are all session-scoped (their READMEs say same-session) — gone on restart. Batch work is by definition "work one session cannot finish", so this plugin is a cross-session ledger. todo is a sticky note; batch is the pipeline ledger.
Tools (6)
batch_createcreate ·batch_statusprogress ·batch_reportreport done ·batch_pause/batch_resumepause / takeover ·batch_finisharchiveQuality
35 unit tests green; headless real-machine verification includes cross-session handoff (two independent sessions completing a 3-item task); six fixes driven by real usage (protocol wording, claim tolerance, binary assertions, costModel, lossless JSON, granularity guidance).
Install
Restart DSH; six
batch_*tools appear. Prerequisite: the storage trio in the profile (web profile ships with it).All reactions