~ / rigs / komoroko / loose-rein-kit

komoroko/loose-rein-kit

Human-on-the-Loop development harness: frozen requirement claims, blind actual-behaviour review, and human-confirmed gate approval as an installable CLI

↗ GitHub ★ 0 Apache-2.0 updated 1mo ago project Claude CodeCodexGemini CLI
share on X
ARCHETYPE
Skill Collector
Ten-plus skills loaded on demand. A procedural-knowledge library.
CONTEXT TAX · EVERY TURN
~9.1k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 20/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit komoroko/loose-rein-kit/.claude ./rig-loose-rein-kit  # 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.

$ npx degit komoroko/loose-rein-kit/.agents/skills/design .claude/skills/design
$ npx degit komoroko/loose-rein-kit/.agents/skills/onboard .claude/skills/onboard
$ npx degit komoroko/loose-rein-kit/.agents/skills/req .claude/skills/req
$ npx degit komoroko/loose-rein-kit/.agents/skills/revise .claude/skills/revise
$ npx degit komoroko/loose-rein-kit/.agents/skills/status .claude/skills/status
$ npx degit komoroko/loose-rein-kit/.agents/skills/tasks .claude/skills/tasks
$ npx degit komoroko/loose-rein-kit/.agents/skills/verify .claude/skills/verify
$ npx degit komoroko/loose-rein-kit/.gemini/skills/adversarial-reviewer .claude/skills/adversarial-reviewer
$ npx degit komoroko/loose-rein-kit/.gemini/skills/architect .claude/skills/architect
$ npx degit komoroko/loose-rein-kit/.gemini/skills/implementer .claude/skills/implementer
$ npx degit komoroko/loose-rein-kit/.gemini/skills/requirements-analyst .claude/skills/requirements-analyst
$ curl -fsSL --create-dirs -o .claude/agents/adversarial-reviewer.md https://raw.githubusercontent.com/komoroko/loose-rein-kit/main/.claude/agents/adversarial-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/architect.md https://raw.githubusercontent.com/komoroko/loose-rein-kit/main/.claude/agents/architect.md
$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/komoroko/loose-rein-kit/main/.claude/agents/implementer.md
$ curl -fsSL --create-dirs -o .claude/agents/requirements-analyst.md https://raw.githubusercontent.com/komoroko/loose-rein-kit/main/.claude/agents/requirements-analyst.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": "Write|Edit|MultiEdit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "rein guard"
          }
        ]
      }
    ]
  }
}

Skills (11)

Subagents (4)

adversarial-reviewerIndependent red-team critique of the mandate's material before it is approved. Attacks for counterexamples, ambiguities, hidden assumptions, and plan defects; report-only. Delegated from /req, /design
architectIn charge of the design phase. Builds an implementation approach from approved requirements and presents important technical choices as "options with trade-offs". Delegated from /design.
implementerImplements a single task ticket (T-NNN), writes unit/integration tests that satisfy its acceptance criteria, and gets them green. Delegated one task at a time from the /build loop.
requirements-analystA sounding board for the requirements phase. Structures "what we want to achieve" from the product vision and points out gaps, ambiguities, and contradictions. Delegated from /req.

Hooks (2)

eventmatcherruns
SessionStart*test -f .rein/state.yaml && echo '--- Loose Rein: what changed since you last looked ---' && rein start || true
PreToolUseWrite|Edit|MultiEdit|NotebookEditrein guard

Slash commands (8)

/build/design/onboard/req/revise/status/tasks/verify

Permissions

deny (0)
—
ask (0)
—
allow (30)
Read
Grep
Glob
Bash(cat .rein/config.yaml:*)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(git branch:*)
Bash(git rev-parse:*)
Bash(git add:*)
Bash(git commit:*)
Bash(git merge --ff-only:*)
Bash(git merge --no-ff:*)
Bash(git worktree:*)
Bash(ls:*)
Bash(rein start:*)
Bash(rein next:*)
Bash(rein dag:*)
Bash(rein build:*)
Bash(rein doctor:*)
Bash(rein events:*)
Bash(rein revise:*)
Bash(rein issue-sync:*)
Bash(rein sync --check:*)
Bash(make test:*)
Bash(make check:*)
Bash(python -m pytest:*)
Bash(make audit:*)
Bash(uv run pytest:*)

Similar rigs

copied ✓