GJayun/dsh-goal-zcode-like ↗★ 0

dsh-goal-zcode-like

提供ZCode风格的长周期目标管理与验证面板 适合需要制定工作计划、跟踪多轮迭代进度的复杂任务。

套件
dsh-goal-zcode-like
相容性
待驗證
Cordis 依賴範圍
^4.0.1
版本
0.1.0
授權
MIT
最近更新
2026年9月22日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GJayun/dsh-goal-zcode-like

Usage

The goal is set with the built-in /goal: /goal starts round 1, /goal shows status, /goal pause|resume and /goal clear behave natively. From that point the plugin owns each round's ending, and automatic continuation stays paused until the model calls goal_verify. A richer status command can be registered by setting command to a name such as goalx, which adds /goalx status|verify.

ToolPurpose
goal_plan(items, iteration_title?)Record the work as concrete checklist items
goal_progress(item_id|title, status, notes?)Move one item through its lifecycle
goal_verify(achieved, evidence, next_step?, blocked?, blocked_reason?, checklist?, reasoning?)Close the round with a verdict
goal_status()Read the round ledger, grouped checklist, and per-round evidence

Configuration

- id: goal-zcode-like
  name: 'dsh-goal-zcode-like'
  config:
    command: ''                # empty = register nothing, coexisting with the built-in /goal
    stallLimit: 3              # stop after the same next_step repeats this often
    unverifiedRoundLimit: 2    # stop after this many rounds with no verdict
    autoVerify: true           # queue a verification pass when a round ends
    announceProtocol: true     # brief the model on the round contract at goal creation
    deferWhileBusy: true       # withhold the next round while handed-off work is in flight
    offerParallelWork: true    # hand the model that decision instead of assuming it waits
    offerOnApproval: true      # also offer the turn while waiting on a human decision
    maxParallelOffers: 3       # stop offering the turn after this many per deferral
    deferralTimeoutMs: 600000  # pause the goal when a deferral outlives this bound
    storagePath: ''            # override the ledger file location

offerOnApproval separates work from human decisions: a pending approval blocks the very turn that would do anything else, so it is treated as routable work only when enabled.