DeepSeek Harness plugin

dsh-goal-scaffold

Long-task gatekeeper for DeepSeek Harness: detects one-shot mammoth requests, asks whether to plan first, and scaffolds plan.md + a capped goal before the agent starts

Jump to install

Source facts

Repository
zriyox/dsh-goal-scaffold
Latest update
Aug 15, 2026
Category
Workflow & Automation
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/zriyox/dsh-goal-scaffold
Plugin: dsh-goal-scaffold
Author: zriyox

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-goal-scaffold

English | 中文

What it does, in one sentence: when you drop a huge one-liner like "build me a complete task management system", this plugin asks you "want to plan it first?" — before the agent burns twenty minutes improvising.

Without it, a mammoth one-sentence request goes straight to work: no plan, no acceptance criteria, and nobody can tell whether it's drifting. With goal-scaffold installed, the first such message in a session gets a gentle interception:

you send a big vague task
  → a three-option prompt pops up:
      ① Plan first (Recommended)  ② Just start  ③ Don't ask again this session
  → pick ①: your request goes through, and the agent is told to first write
    plan.md (a checklist where every item has a verifiable acceptance
    criterion), create a goal with a round cap, show you the plan — then
    execute item by item, ticking boxes as it goes

You stay the boss of one click; the agent does the disciplined rest. Pairs with dsh-verify-judge, which makes the final "done" require passing tests.

Install

dsh plugin --profile web add github:zriyox/dsh-goal-scaffold
# or a local checkout:
dsh plugin --profile web add /absolute/path/to/dsh-goal-scaffold

Behavior notes

  • Asks at most once per session. "Don't ask again" silences it; so does any answer, until a new session.
  • Headless-safe: where no user-questions channel exists (e.g. the headless profile), every message passes through untouched — nothing blocks, nothing errors.
  • Human messages only: goal-driver continuations, plugin injections, and tool artifacts never trigger detection.
  • Fail-open on dismissal: if you dismiss the question to type something else, your original message proceeds as-is.

Configuration

- id: goal-scaffold
  config:
    enabled: true          # master switch
    minLength: 80          # minimum message length that participates in detection
    extraSignals: ['迁移']  # extra case-insensitive scope phrases

Development

pnpm install
pnpm run build   # tsc → lib/

License

[MIT](LICENSE)