~ / rigs / arunvrrma / gmdw-claude-code

arunvrrma/gmdw-claude-code

Governed Multi-Agent Delivery Workflow for Claude Code — a state machine with hook-enforced governance so delivery guarantees hold even when a model misbehaves.

↗ GitHub ★ 0 Apache-2.0 updated 1mo ago project Claude Code
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~1.6k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit arunvrrma/gmdw-claude-code/.claude ./rig-gmdw-claude-code  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ curl -fsSL --create-dirs -o .claude/agents/analyst-planner.md https://raw.githubusercontent.com/arunvrrma/gmdw-claude-code/main/.claude/agents/analyst-planner.md
$ curl -fsSL --create-dirs -o .claude/agents/implementor.md https://raw.githubusercontent.com/arunvrrma/gmdw-claude-code/main/.claude/agents/implementor.md
$ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/arunvrrma/gmdw-claude-code/main/.claude/agents/reviewer.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Agent|Task",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/pretooluse_gate.py\""
          }
        ]
      },
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/pretooluse_gate.py\""
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/pretooluse_gate.py\""
          }
        ]
      }
    ]
  }
}

Subagents (3)

analyst-planner
model: sonnet
GMDW Analyst-Planner. Investigates the repository, classifies the change, and writes the implementation plan — in one context, so the analysis never has to be re-ingested. Never writes production code
implementor
model: opus
GMDW Implementor. Implements the human-approved plan exactly — code, tests, documentation. Cannot change scope; deviations must be declared. Produces implementation_vN/ (manifest.md, diff.patch, test_
reviewer
model: sonnet
GMDW Reviewer. One pass covering both security and code quality, against the approved plan. Advisory — a human makes the accept/reject call. Never edits code. Produces review_vN.md.

Hooks (5)

eventmatcherruns
PreToolUseAgent|Taskpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/pretooluse_gate.py"
PreToolUseWrite|Edit|MultiEditpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/pretooluse_gate.py"
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/pretooluse_gate.py"
PostToolUseWrite|Edit|MultiEditpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/posttooluse_ledger.py"
SubagentStop*python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/subagentstop_validate.py"

Slash commands (1)

/gmdw

Similar rigs

copied ✓