Workflow & Automation

agent-loop-workflow

LeslieWylie/agent-loop-workflow · ★ 1

LeslieWylieCurated

A project-agnostic multi-agent collaboration protocol for the DeepSeek Harness: loop guards that stop runaway agent loops, a six-field handoff format, risk-tiered review routing, and a fixed verify→commit→push→review→close sequence. One skill instead of the same rules copy-pasted into every agent's instructions.

License
MIT
Added
2026-08-17
Maintenance
active
Install kind
github
Manifest details
Manifest status
Declared
Manifest path
package.json#dsh
Manifest checked
2026-08-19
Lifecycle scripts
None found

Static manifest checks report declarations only; they are not compatibility or security review.

安装

dsh plugin --profile web add github:LeslieWylie/agent-loop-workflow

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: en · Read Chinese README

Table of contents
  1. What is this
  2. Core Capabilities
  3. Install
  4. Design Principles
  5. License

简体中文

What is this

A project-agnostic multi-agent collaboration workflow skeleton. Any agent squad composed of DRI + reviewer + lead + ops can load it to get consistent workflow rules, without duplicating them across every agent's instructions.

Core Capabilities

Module Content
Role Topology DRI (doer), reviewer, lead (decision/routing), ops (automation) — four roles with clear responsibility boundaries
Loop Guard (6 invariants) Turn limit, progress stall detection, repeated error fuse, timeout warning, explicit exit gate, single authoritative writer
Standard Handoff Format 6-field handoff template: owner, goal, input, permitted writes, acceptance criteria, failure evidence
Risk-based Routing fast / standard / high lanes, routing to different reviewers based on change scope
Delivery Sequence verify → commit → push → Draft MR/PR → ready signal → in_review (fixed order)
Review→Close Protocol Automatic in_review dispatch, reviewer metadata, reject/retry, escalation
Anti-loop Protection Idempotent issue creation, state-change filtering, human-source-only new task trigger
Red Lines Secret isolation, token permission separation, destructive operation confirmation

Install

dsh plugin --profile web add "github:LeslieWylie/agent-loop-workflow"

After restart, load the skill in any session:

load agent-loop-workflow

Design Principles

  • Project-agnostic: Only defines collaboration flow rules. Project-specific knowledge goes in *-conventions / *-engineering / *-review-rules skills
  • Zero dependencies: No external services required, only the DSH skill loading mechanism
  • Forge-agnostic: the skill describes the collaboration flow only. Map its "issue" and "MR" onto whatever tracker and forge you already use — it names none.

License

MIT