@ionivetech/mugiwara 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +2 -2
- package/.cursor-plugin/plugin.json +2 -2
- package/.kimi-plugin/plugin.json +2 -2
- package/AGENTS.md +1 -1
- package/README.md +155 -263
- package/content/agents/zoro-execution.md +1 -2
- package/content/skills/using-mugiwara/SKILL.md +1 -1
- package/dist/mugiwara.js +113 -60
- package/docs/{modes.md → concepts/modes.md} +1 -2
- package/docs/{skills.md → concepts/skills.md} +1 -1
- package/docs/getting-started.md +8 -8
- package/docs/index.md +22 -22
- package/docs/{install-antigravity.md → install/antigravity.md} +1 -1
- package/docs/{install-claude.md → install/claude.md} +4 -2
- package/docs/{install-cli.md → install/cli.md} +19 -7
- package/docs/{install-codex.md → install/codex.md} +1 -1
- package/docs/{install-copilot.md → install/copilot.md} +1 -1
- package/docs/{install-cursor.md → install/cursor.md} +1 -1
- package/docs/{install-gemini.md → install/gemini.md} +1 -1
- package/docs/{install.md → install/index.md} +11 -11
- package/docs/{install-kimi.md → install/kimi.md} +1 -1
- package/docs/{install-opencode.md → install/opencode.md} +20 -6
- package/docs/{install-pi.md → install/pi.md} +1 -1
- package/docs/{adoption-guide.md → reference/adoption-guide.md} +2 -2
- package/docs/{harness-matrix.md → reference/harness-matrix.md} +2 -2
- package/gemini-extension.json +1 -1
- package/package.json +2 -2
- package/plugin.json +2 -2
- package/scripts/evidence.sh +1 -1
- package/scripts/mission-report.sh +60 -73
- package/scripts/retrieval-eval.ts +1 -2
- package/scripts/run-evals.ts +1 -1
- package/scripts/savepoint.sh +1 -1
- package/scripts/validate-content.ts +7 -7
- package/src/args.ts +1 -1
- package/src/cli.ts +49 -22
- package/src/frontmatter.ts +3 -3
- package/src/installer.ts +10 -8
- package/src/targets/opencode.ts +22 -1
- package/docs/claude-setup.md +0 -43
- package/docs/codex-setup.md +0 -26
- package/docs/copilot-setup.md +0 -29
- package/docs/cursor-setup.md +0 -25
- package/docs/gemini-setup.md +0 -27
- package/docs/opencode-setup.md +0 -54
- package/docs/rule-based-setup.md +0 -31
- package/docs/windsurf-setup.md +0 -18
- /package/docs/{agents.md → concepts/agents.md} +0 -0
- /package/docs/{audit-trail.md → concepts/audit-trail.md} +0 -0
- /package/docs/{comparison.md → concepts/comparison.md} +0 -0
- /package/docs/{config.md → concepts/config.md} +0 -0
- /package/docs/{cost.md → concepts/cost.md} +0 -0
- /package/docs/{execution-model.md → concepts/execution-model.md} +0 -0
- /package/docs/{git-strategy.md → concepts/git-strategy.md} +0 -0
- /package/docs/{lanes.md → concepts/lanes.md} +0 -0
- /package/docs/{pr-summary.md → concepts/pr-summary.md} +0 -0
- /package/docs/{workflow.md → concepts/workflow.md} +0 -0
- /package/docs/{agent-anatomy.md → reference/agent-anatomy.md} +0 -0
- /package/docs/{compliance-matrix.md → reference/compliance-matrix.md} +0 -0
- /package/docs/{developer-onboarding.md → reference/developer-onboarding.md} +0 -0
- /package/docs/{enforcement.md → reference/enforcement.md} +0 -0
- /package/docs/{skill-anatomy.md → reference/skill-anatomy.md} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mugiwara",
|
|
3
3
|
"owner": {
|
|
4
|
-
"name": "
|
|
4
|
+
"name": "ionivetech"
|
|
5
5
|
},
|
|
6
6
|
"metadata": {
|
|
7
7
|
"description": "The Straw Hat crew for AI agents",
|
|
8
|
-
"version": "0.5.
|
|
8
|
+
"version": "0.5.5"
|
|
9
9
|
},
|
|
10
10
|
"plugins": [
|
|
11
11
|
{
|
|
12
12
|
"name": "mugiwara",
|
|
13
13
|
"description": "The Straw Hat crew of AI agents and skills: brainstorm, plan, execute, checkpoint, quality, gates, review, security, healing.",
|
|
14
|
-
"version": "0.5.
|
|
14
|
+
"version": "0.5.5",
|
|
15
15
|
"source": "./"
|
|
16
16
|
}
|
|
17
17
|
]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mugiwara",
|
|
3
3
|
"displayName": "Mugiwara",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.5",
|
|
5
5
|
"description": "The Straw Hat crew of AI agents and skills: brainstorm, plan, execute, checkpoint, quality, gates, review, security, healing.",
|
|
6
6
|
"author": {
|
|
7
|
-
"name": "
|
|
7
|
+
"name": "ionivetech"
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"homepage": "https://github.com/ionivetech/mugiwara",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mugiwara",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "The Straw Hat crew of AI agents and skills: brainstorm, plan, execute, checkpoint, quality, gates, review, security, healing.",
|
|
5
5
|
"author": {
|
|
6
|
-
"name": "
|
|
6
|
+
"name": "ionivetech"
|
|
7
7
|
},
|
|
8
8
|
"homepage": "https://github.com/ionivetech/mugiwara",
|
|
9
9
|
"repository": "https://github.com/ionivetech/mugiwara",
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "mugiwara",
|
|
3
3
|
"displayName": "Mugiwara",
|
|
4
4
|
"description": "The Straw Hat crew of AI agents and skills: brainstorm, plan, execute, checkpoint, quality, gates, review, security, healing.",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.5",
|
|
6
6
|
"author": {
|
|
7
|
-
"name": "
|
|
7
|
+
"name": "ionivetech"
|
|
8
8
|
},
|
|
9
9
|
"homepage": "https://github.com/ionivetech/mugiwara",
|
|
10
10
|
"repository": "https://github.com/ionivetech/mugiwara",
|
package/.kimi-plugin/plugin.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mugiwara",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "The Straw Hat crew of AI agents and skills: brainstorm, plan, execute, checkpoint, quality, gates, review, security, healing.",
|
|
5
5
|
"author": {
|
|
6
|
-
"name": "
|
|
6
|
+
"name": "ionivetech"
|
|
7
7
|
},
|
|
8
8
|
"homepage": "https://github.com/ionivetech/mugiwara",
|
|
9
9
|
"repository": "https://github.com/ionivetech/mugiwara",
|
package/AGENTS.md
CHANGED
|
@@ -158,7 +158,7 @@ manifest.
|
|
|
158
158
|
|
|
159
159
|
## Docs drift
|
|
160
160
|
|
|
161
|
-
`docs/skills.md` must mention every skill directory. `docs/agents.md` must
|
|
161
|
+
`docs/concepts/skills.md` must mention every skill directory. `docs/concepts/agents.md` must
|
|
162
162
|
mention every agent file. Enforced by `--check-docs`.
|
|
163
163
|
|
|
164
164
|
## Skill count
|
package/README.md
CHANGED
|
@@ -1,340 +1,232 @@
|
|
|
1
1
|
# Mugiwara
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@ionivetech/mugiwara)
|
|
4
|
+
[](https://www.npmjs.com/package/@ionivetech/mugiwara)
|
|
4
5
|
[](https://github.com/ionivetech/mugiwara/blob/main/LICENSE)
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
**Ship quality code, not just fast code.** Mugiwara gives your AI agent a
|
|
8
|
+
governed engineering team — 14 specialists who plan, build, audit, review, and
|
|
9
|
+
heal — with evidence at every step. No runtime, no API keys, no servers. Just
|
|
10
|
+
markdown your agent already knows how to read.
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
Works on Claude Code, opencode, Copilot, Gemini, and 8 more platforms.
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
# Claude Code
|
|
14
|
-
/plugin marketplace add ionivetech/mugiwara && /plugin install mugiwara@mugiwara
|
|
15
|
-
|
|
16
|
-
# opencode — add to opencode.json
|
|
17
|
-
{ "plugin": ["@ionivetech/mugiwara"] }
|
|
18
|
-
|
|
19
|
-
# Gemini CLI
|
|
20
|
-
gemini extensions install https://github.com/ionivetech/mugiwara
|
|
21
|
-
|
|
22
|
-
# Any platform via npm
|
|
23
|
-
npx @ionivetech/mugiwara@latest install --project . --target all --yes
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Then just ask. The crew auto-activates — no agent names to remember.
|
|
14
|
+
## Why this exists
|
|
27
15
|
|
|
28
|
-
|
|
16
|
+
AI agents are fast. They're also **unverified.** No audit trail. No review. No
|
|
17
|
+
"who checked this?" when something breaks. Mugiwara wraps your agent in a team
|
|
18
|
+
structure with role boundaries, evidence gates, and cost tracking — the same
|
|
19
|
+
discipline you'd expect from a senior engineering team. Zero runtime overhead:
|
|
20
|
+
every agent, every skill, every rule is static markdown.
|
|
29
21
|
|
|
30
|
-
|
|
22
|
+
→ [Full pitch: why mugiwara vs just asking your agent](docs/concepts/comparison.md)
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
> add search bar to the products page
|
|
34
|
-
```
|
|
24
|
+
## Capabilities
|
|
35
25
|
|
|
36
|
-
|
|
26
|
+
| Feature | What you get |
|
|
27
|
+
|---------|-------------|
|
|
28
|
+
| **Zero runtime** | Pure markdown. No servers, no API keys, no dependencies beyond your agent. |
|
|
29
|
+
| **14 specialist agents** | Each with tuned temperature, step limits, and role boundaries. Read-only auditors. |
|
|
30
|
+
| **26 skills** | Portable playbooks: TDD execution, STRIDE security, 4-phase debugging, contract-first API design |
|
|
31
|
+
| **Deterministic lane sizing** | Work auto-sized from `git diff`. Typo = instant fix. Auth migration = full 9-wave pipeline. |
|
|
32
|
+
| **9-wave gated pipeline** | Triage → Brainstorm → Plan → Execute → Audit → Quality → Gates → Review+Security → Heal → Closure |
|
|
33
|
+
| **Evidence trail** | `.mugiwara/` workspace on disk: plans, audit reports, blocker ledger, mission reports. Reviewer reads in 30s. |
|
|
34
|
+
| **Self-healing** | Brook reads all failures at once, fixes root causes, re-runs verification. ≤3 cycles. |
|
|
35
|
+
| **3 autonomy modes** | Guided (human steers) / Semi (auto branch+commit) / Auto (hands-off). Switch mid-session. |
|
|
36
|
+
| **12 platforms** | Native plugins for Claude Code, opencode, Copilot, Gemini, Codex, Cursor, Kimi, Pi, Antigravity. CLI for Windsurf, Cline, Kilo. |
|
|
37
|
+
| **Cost aware** | Token budget per lane. Warn at 1.5×, pause at 3×. Cost surfaced in every mission report. |
|
|
38
|
+
| **Multi-actor safe** | Two engineers, one repo. Reset refuses without `--force`. Branch-scoped state. |
|
|
39
|
+
| **Compliance matrix** | Rule compliance per model published with failures. Gemini tier 2 ≠ Claude tier 1. Documented, not hidden. |
|
|
40
|
+
|
|
41
|
+
## 30-second try
|
|
37
42
|
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
Wave 3 Zoro execute→ T1: search endpoint (test red→green, commit)
|
|
42
|
-
T2: search service (test red→green, commit)
|
|
43
|
-
T3: search component (test red→green, commit)
|
|
44
|
-
Wave 4 Chopper audit → re-runs all 3 criteria, checks commits → PASS
|
|
45
|
-
Wave 5 Sanji quality → prettier: clean, eslint: 0, 412 tests: PASS
|
|
46
|
-
Wave 6 Franky gates → coverage new 94%, modified 87%, build green → PASS
|
|
47
|
-
Wave 7 Robin review → breaking-change map: 0 breaks, 1 minor naming finding
|
|
48
|
-
Wave 7 Jinbe security→ no auth/payment surface touched → skip
|
|
49
|
-
Wave 9 Luffy closure→ mission report + push branch + ready PR summary
|
|
50
|
-
|
|
51
|
-
done. branch pushed. paste the PR summary and open.
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Each wave is a compact checkpoint report in your conversation. You see
|
|
55
|
-
everything. Nothing hides behind a subagent click. If a wave fails, Brook reads
|
|
56
|
-
all failures at once, fixes them, and all verification waves re-run.
|
|
43
|
+
```bash
|
|
44
|
+
# opencode — add to opencode.json, then restart
|
|
45
|
+
{ "plugin": ["@ionivetech/mugiwara"] }
|
|
57
46
|
|
|
58
|
-
|
|
47
|
+
# Claude Code
|
|
48
|
+
/plugin marketplace add ionivetech/mugiwara && /plugin install mugiwara
|
|
59
49
|
|
|
60
|
-
|
|
61
|
-
|
|
50
|
+
# Any platform via npm
|
|
51
|
+
npx @ionivetech/mugiwara@latest install --target all --yes
|
|
62
52
|
```
|
|
63
53
|
|
|
64
|
-
|
|
54
|
+
Then ask something non-trivial. The crew auto-activates:
|
|
65
55
|
|
|
66
56
|
```
|
|
67
|
-
|
|
68
|
-
Wave 2 Nami plan → 2 execution waves, 5 tasks, parallel-safe graph
|
|
69
|
-
Wave 3a Zoro execute→ T1 migration + T2 middleware + T3 3 parallel endpoint guards
|
|
70
|
-
Wave 4 Chopper audit → T3-C: viewer can still POST /api/settings → 1 ledger row
|
|
71
|
-
Wave 5 Sanji quality → 2 integration tests fail after middleware change → 2 rows
|
|
72
|
-
Wave 6 Franky gates → coverage 91% / 85%, build green, DoD blocked (3 open rows)
|
|
73
|
-
Wave 7 Robin review → 1 major: error message format inconsistent → 1 row
|
|
74
|
-
Wave 7 Jinbe security→ STRIDE: PASS. 0 high. deny-by-default enforced.
|
|
75
|
-
Wave 8 Brook heal → reads 4 ledger rows → 3 parallel heal workers → fix all
|
|
76
|
-
Wave 4 Chopper re-audit→ PASS (cycle 2)
|
|
77
|
-
Wave 5 Sanji re-qual → PASS
|
|
78
|
-
Wave 6 Franky re-gate → PASS
|
|
79
|
-
Wave 7 Robin re-rev → PASS
|
|
80
|
-
Wave 3b Zoro execute→ T4 admin dashboard RBAC UI + T5 integration tests
|
|
81
|
-
Wave 4 Chopper audit → PASS
|
|
82
|
-
Wave 9 Luffy closure→ state.json + mission report + push + PR summary
|
|
83
|
-
|
|
84
|
-
1 heal cycle. 4 failures from 3 different waves — all fixed at once.
|
|
57
|
+
> add role-based access control: admin, editor, viewer
|
|
85
58
|
```
|
|
86
59
|
|
|
87
|
-
|
|
60
|
+
A Standard lane mission (~10k tokens) produces a branch with test-first
|
|
61
|
+
commits, an audit report, a security review, and a ready PR summary — visible
|
|
62
|
+
at every step in your chat. See it work: [docs/getting-started.md](docs/getting-started.md).
|
|
88
63
|
|
|
89
|
-
|
|
90
|
-
.mugiwara/reports/2026-08-11-rbac.md
|
|
64
|
+
## How it works
|
|
91
65
|
|
|
92
|
-
|
|
66
|
+
You ask. The crew routes automatically. **No agent names to memorize, no
|
|
67
|
+
pipeline config to write.** The work is sized from your git diff (typo = instant
|
|
68
|
+
fix; auth migration = full 9-wave pipeline).
|
|
93
69
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
70
|
+
| You say | What happens |
|
|
71
|
+
|---------|-------------|
|
|
72
|
+
| `add search bar to products page` | Luffy triages → Nami plans 3 tasks → Zoro executes TDD → Chopper audits → Sanji runs tests → Franky gates coverage → Robin reviews → code pushed, PR summary ready |
|
|
73
|
+
| `Brook, fix the failing login test` | Healer reads failure ledger, root-cause fixes, proves fix ≤3 cycles. No pipeline overhead |
|
|
74
|
+
| `Jinbe, audit auth middleware` | Security specialist runs STRIDE + OWASP. Read-only — never touches code |
|
|
75
|
+
| `/mugiwara semi` | Switches to semi-autonomous mode: auto branch + commit, plan still needs your GO |
|
|
98
76
|
|
|
99
|
-
|
|
77
|
+
- **Full pipeline** when the task is big or direction is unclear — Luffy figures it out
|
|
78
|
+
- **Direct agent** when you know exactly what you need — just say the name
|
|
79
|
+
- **Slash commands** when you want to drive:`/mugiwara-plan`, `/mugiwara-review`, `/mugiwara-security`, `/mugiwara-ship`
|
|
100
80
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
| Capability | What it does |
|
|
104
|
-
|-----------|-------------|
|
|
105
|
-
| **14 specialist agents** | Luffy triages, Nami plans, Zoro builds TDD, Chopper audits, Sanji checks quality, Franky enforces gates, Robin maps breaking changes, Jinbe runs STRIDE, Brook heals failures. Each with role boundaries: auditors read-only, executor no-network. |
|
|
106
|
-
| **Lane sizing** | Process scaled to work size — computed from `git diff` by `scripts/lane.sh`. Typo = 0 waves. Auth migration = full 9-wave pipeline. Sensitive paths auto-escalate. |
|
|
107
|
-
| **9-wave gated pipeline** | Triage → Plan → Execute → Audit → Quality → Gates → Review+Security → Heal → Closure. Each wave gated by evidence. Pipeline runs inline — you watch everything. |
|
|
108
|
-
| **Evidence trail** | No wave passes on a claim. `scripts/evidence.sh` captures command output. Chopper re-runs criteria. Mission report at closure — one file any reviewer reads in 30 seconds. |
|
|
109
|
-
| **State on disk** | `state.json` written at every wave boundary by `scripts/savepoint.sh`. Lane, files, blockers, token budget — all computed, zero model judgement. Resume reads one file. |
|
|
110
|
-
| **Token budget** | Budget per lane. Warns at 1.5×, pauses at 3×. You decide: continue, split, or reduce. Cost surfaced in mission report — governance, not a kill switch. |
|
|
111
|
-
| **Self-healing** | Brook reads entire blocker ledger after all verification waves. Groups failures, spawns parallel heal workers for independent fixes. Max 3 cycles. |
|
|
112
|
-
| **Deterministic tooling** | `savepoint.sh` (state), `lane.sh` (sizing), `evidence.sh` (output capture), `mission-report.sh` (report). Scripts compute what models shouldn't remember. |
|
|
113
|
-
| **Configurable gates** | Coverage thresholds in `.mugiwara/config`: `coverage_new=90`, `coverage_modified=80`. Raise for strict repos, lower for legacy. |
|
|
114
|
-
| **3 autonomy modes** | Guided (ask everything), semi (auto branch/commit, plan needs GO), auto (hands-off except high-risk). All modes end at push + PR summary — no auto-merge. |
|
|
115
|
-
| **3-layer skills** | 26 skills: trigger description (~150 chars) → body (≤120 lines) → 23 reference files (on demand). 5.2k char index budget — loaded every session. |
|
|
116
|
-
| **Multi-actor safe** | Two engineers, one repo. Reset refuses without `--force`. Branch-scoped state. Shared lessons ledger. |
|
|
117
|
-
| **Compliance matrix** | Rule compliance per model/tier/harness. Published with failures — Gemini tier 2 ≠ Claude tier 1. Documented, not hidden. |
|
|
118
|
-
| **12 harnesses** | Claude Code, opencode, Copilot, Gemini, Codex, Cursor, Kimi, pi, Windsurf, Cline, Kilo, Antigravity. 70+ more via skills.sh. Pure markdown, zero runtime. |
|
|
119
|
-
|
|
120
|
-
## Why this instead of just asking my agent?
|
|
121
|
-
|
|
122
|
-
Your agent alone has no governance. It forgets context, skips verification, and
|
|
123
|
-
burns tokens on small fixes the same way it does on architecture changes. There's
|
|
124
|
-
no audit trail — when someone asks "what did the agent do?", you have nothing to
|
|
125
|
-
show.
|
|
126
|
-
|
|
127
|
-
Mugiwara wraps your agent in a team structure with defined roles, evidence gates,
|
|
128
|
-
and cost tracking. The same discipline you'd expect from a senior engineering
|
|
129
|
-
team — in your chat window, running inline, visible at every step.
|
|
81
|
+
[Full workflow walkthrough →](docs/concepts/workflow.md)
|
|
130
82
|
|
|
131
83
|
## The crew
|
|
132
84
|
|
|
133
|
-
14
|
|
85
|
+
14 specialists. Each has a role boundary (read-only for auditors/reviewers), a
|
|
86
|
+
temperature, and a step limit. Call them by name or let the pipeline auto-route.
|
|
134
87
|
|
|
135
88
|
| Agent | Role | Permission |
|
|
136
|
-
|
|
137
|
-
|
|
|
138
|
-
|
|
|
139
|
-
|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
|
|
|
146
|
-
|
|
|
147
|
-
|
|
|
148
|
-
|
|
|
149
|
-
|
|
|
150
|
-
|
|
151
|
-
|
|
89
|
+
|-------|------|:---:|
|
|
90
|
+
| `luffy-orchestrator` | Captain — triage, check-ins, closure | — |
|
|
91
|
+
| `nami-planner` | Planner — interviews, full scan, scaled plans | — |
|
|
92
|
+
| `zoro-execution` | Executor — TDD per task, evidence per commit | — |
|
|
93
|
+
| `chopper-checkpoint` | Auditor — re-runs criteria, failure ledger | **read-only** |
|
|
94
|
+
| `sanji-quality` | Quality — format, lint, test | — |
|
|
95
|
+
| `franky-gates` | Gates — coverage, build, DoD verdict | — |
|
|
96
|
+
| `robin-reviewer` | Reviewer — breaking-change map | **read-only** |
|
|
97
|
+
| `jinbe-security` | Security — STRIDE, OWASP, secret scan | **read-only** |
|
|
98
|
+
| `brook-healing` | Healer — reads ledger, root-cause fixes ≤3 cycles | — |
|
|
99
|
+
| `usopp-brainstorm` | Critical friend — interrogates, researches | — |
|
|
100
|
+
| `skeptic-verifier` | Adversarial verifier — doubts, never validates | **read-only** |
|
|
101
|
+
| `eval-runner` | Harness tester — task suites | — |
|
|
102
|
+
| `resume-coordinator` | Resumer — rebuilds from state.json | — |
|
|
103
|
+
| `memory-keeper` | Institutional memory — past lessons | — |
|
|
104
|
+
|
|
105
|
+
> The names are One Piece characters — just code names for specialist roles.
|
|
106
|
+
> Agents are identified by their function (Orchestrator, Planner, Auditor, etc.),
|
|
107
|
+
> not by their theme. The theme makes them memorable; the boundaries make them
|
|
108
|
+
> safe.
|
|
109
|
+
|
|
110
|
+
→ [Agent details: summoning, boundaries, parameters](docs/concepts/agents.md)
|
|
111
|
+
|
|
112
|
+
## How much it costs
|
|
113
|
+
|
|
114
|
+
Mugiwara itself is free. Token usage depends on mission lane:
|
|
115
|
+
|
|
116
|
+
| Lane | Waves | Typical tokens |
|
|
117
|
+
|------|:-----:|:--------------:|
|
|
118
|
+
| Direct (typo) | 0 | ~0 |
|
|
119
|
+
| Lean (small bug) | 2 | ~4k |
|
|
120
|
+
| Standard (feature) | 5–7 | ~10k |
|
|
121
|
+
| Full (architecture) | 9–11 | ~20k |
|
|
122
|
+
|
|
123
|
+
Usage tracked in `.mugiwara/state.json` per mission. Budget warns at 1.5×,
|
|
124
|
+
pauses at 3×. See [cost model](docs/concepts/cost.md) for per-model pricing reference.
|
|
125
|
+
|
|
126
|
+
→ [Full cost model and token budget](docs/concepts/cost.md)
|
|
152
127
|
|
|
153
128
|
## Install
|
|
154
129
|
|
|
155
|
-
|
|
130
|
+
<details open>
|
|
131
|
+
<summary><b>Native plugins</b> — one-command install</summary>
|
|
156
132
|
|
|
157
|
-
| Platform |
|
|
158
|
-
|
|
159
|
-
| **Claude Code** |
|
|
160
|
-
| **OpenCode** |
|
|
161
|
-
| **Gemini CLI** |
|
|
162
|
-
| **Codex** |
|
|
163
|
-
| **Copilot** |
|
|
164
|
-
| **Cursor** |
|
|
165
|
-
| **Antigravity** |
|
|
166
|
-
| **Kimi** |
|
|
167
|
-
| **Pi** |
|
|
168
|
-
| **Windsurf / Cline / Kilo** | [`npx @ionivetech/mugiwara install --target <id> --yes`](docs/install-cli.md) |
|
|
133
|
+
| Platform | Command |
|
|
134
|
+
|----------|---------|
|
|
135
|
+
| **Claude Code** | `/plugin marketplace add ionivetech/mugiwara && /plugin install mugiwara` |
|
|
136
|
+
| **OpenCode** | Add `{ "plugin": ["@ionivetech/mugiwara"] }` to `opencode.json` |
|
|
137
|
+
| **Gemini CLI** | `gemini extensions install https://github.com/ionivetech/mugiwara` |
|
|
138
|
+
| **Codex** | `codex plugin marketplace add ionivetech/mugiwara && codex plugin add mugiwara@mugiwara` |
|
|
139
|
+
| **Copilot** | `copilot plugin install https://github.com/ionivetech/mugiwara` |
|
|
140
|
+
| **Cursor** | `/add-plugin mugiwara` |
|
|
141
|
+
| **Antigravity** | `agy plugin install https://github.com/ionivetech/mugiwara` |
|
|
142
|
+
| **Kimi** | `/plugins install https://github.com/ionivetech/mugiwara` |
|
|
143
|
+
| **Pi** | `pi install git:github.com/ionivetech/mugiwara` |
|
|
169
144
|
|
|
170
|
-
|
|
145
|
+
</details>
|
|
171
146
|
|
|
172
|
-
|
|
147
|
+
<details>
|
|
148
|
+
<summary><b>CLI install</b> — Windsurf, Cline, Kilo, and more</summary>
|
|
173
149
|
|
|
174
150
|
```bash
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
Update: `/plugin update mugiwara`
|
|
179
|
-
Uninstall: `/plugin uninstall mugiwara`
|
|
180
|
-
|
|
181
|
-
### OpenCode
|
|
182
|
-
|
|
183
|
-
Add to `opencode.json`:
|
|
184
|
-
|
|
185
|
-
```json
|
|
186
|
-
{ "plugin": ["@ionivetech/mugiwara"] }
|
|
151
|
+
npx @ionivetech/mugiwara@latest install --target <id> --yes
|
|
152
|
+
# or all targets
|
|
153
|
+
npx @ionivetech/mugiwara@latest install --target all --yes
|
|
187
154
|
```
|
|
188
155
|
|
|
189
|
-
|
|
190
|
-
Uninstall: remove the plugin entry from `opencode.json`.
|
|
156
|
+
Targets: `windsurf`, `cline`, `kilo`, `codex`. See [install/cli](docs/install/cli.md) for interactive wizard.
|
|
191
157
|
|
|
192
|
-
|
|
158
|
+
</details>
|
|
193
159
|
|
|
194
|
-
|
|
160
|
+
<details>
|
|
161
|
+
<summary><b>Global CLI</b> — shorter commands after first install</summary>
|
|
195
162
|
|
|
196
163
|
```bash
|
|
197
|
-
|
|
164
|
+
npm i -g @ionivetech/mugiwara
|
|
165
|
+
mugiwara install --target all --yes
|
|
166
|
+
mugiwara update --target all --yes
|
|
167
|
+
mugiwara uninstall
|
|
198
168
|
```
|
|
199
169
|
|
|
200
|
-
|
|
201
|
-
Uninstall: `gemini extensions remove mugiwara`
|
|
170
|
+
</details>
|
|
202
171
|
|
|
203
|
-
|
|
172
|
+
All platforms get the full crew — 14 agents, 26 skills. No per-platform feature gaps.
|
|
204
173
|
|
|
205
|
-
|
|
206
|
-
codex plugin marketplace add ionivetech/mugiwara && codex plugin add mugiwara@mugiwara
|
|
207
|
-
```
|
|
174
|
+
→ [Per-platform guides with update/verify/troubleshooting](docs/install/index.md)
|
|
208
175
|
|
|
209
|
-
Update
|
|
210
|
-
Uninstall: `codex plugin remove mugiwara`
|
|
211
|
-
|
|
212
|
-
### GitHub Copilot
|
|
176
|
+
## Update
|
|
213
177
|
|
|
214
178
|
```bash
|
|
215
|
-
|
|
216
|
-
|
|
179
|
+
# npm-based (opencode, CLI targets)
|
|
180
|
+
npm update @ionivetech/mugiwara
|
|
217
181
|
|
|
218
|
-
|
|
219
|
-
|
|
182
|
+
# marketplace-based (Claude, Codex)
|
|
183
|
+
/plugin update mugiwara
|
|
220
184
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
```
|
|
224
|
-
/add-plugin mugiwara
|
|
185
|
+
# GitHub-based (Copilot, Gemini, Cursor, Antigravity, Kimi)
|
|
186
|
+
# Reinstall with the same install command — pulls latest release
|
|
225
187
|
```
|
|
226
188
|
|
|
227
|
-
|
|
228
|
-
Uninstall: `/remove-plugin mugiwara`
|
|
189
|
+
→ [Full update reference per platform](docs/install/index.md)
|
|
229
190
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
```bash
|
|
233
|
-
agy plugin install https://github.com/ionivetech/mugiwara
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
Update: reinstall with the same command.
|
|
237
|
-
Uninstall: `agy plugin uninstall mugiwara`
|
|
238
|
-
|
|
239
|
-
### Kimi
|
|
240
|
-
|
|
241
|
-
```
|
|
242
|
-
/plugins install https://github.com/ionivetech/mugiwara
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
Update: reinstall.
|
|
246
|
-
Uninstall: `/plugins remove mugiwara`
|
|
247
|
-
|
|
248
|
-
### Pi
|
|
249
|
-
|
|
250
|
-
```bash
|
|
251
|
-
pi install git:github.com/ionivetech/mugiwara
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
### Windsurf · Cline · Kilo · Codex CLI
|
|
255
|
-
|
|
256
|
-
```bash
|
|
257
|
-
npx @ionivetech/mugiwara@latest install --project . --target all --yes
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
Substitute `all` with a specific target: `windsurf`, `cline`, `kilo`, `codex`, etc.
|
|
261
|
-
|
|
262
|
-
Update: `mugiwara update`
|
|
263
|
-
Uninstall: `mugiwara uninstall`
|
|
264
|
-
|
|
265
|
-
### Any agent (skills only)
|
|
266
|
-
|
|
267
|
-
```bash
|
|
268
|
-
npx skills add ionivetech/mugiwara # 70+ agents via skills.sh
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
### One-liner
|
|
191
|
+
## CLI
|
|
272
192
|
|
|
273
193
|
```bash
|
|
274
|
-
#
|
|
275
|
-
|
|
276
|
-
#
|
|
277
|
-
|
|
194
|
+
mugiwara install # wizard (interactive)
|
|
195
|
+
npx @ionivetech/mugiwara@latest install --yes # non-interactive (project + all)
|
|
196
|
+
mugiwara update --target <id> --yes # overwrite to latest
|
|
197
|
+
mugiwara uninstall # remove installed files
|
|
198
|
+
mugiwara list # show installations
|
|
199
|
+
mugiwara list --check # health check (missing files)
|
|
200
|
+
mugiwara reset --keep-logs # wipe state, keep lessons
|
|
278
201
|
```
|
|
279
202
|
|
|
280
|
-
Requires **Node.js >= 20.11**.
|
|
281
|
-
|
|
282
203
|
## Configuration
|
|
283
204
|
|
|
284
|
-
|
|
205
|
+
Switch mode any time: `/mugiwara guided | semi | auto`. Or edit `.mugiwara/config`:
|
|
285
206
|
|
|
286
|
-
| Key | Default |
|
|
287
|
-
|
|
288
|
-
| `mode` | guided |
|
|
207
|
+
| Key | Default | What |
|
|
208
|
+
|-----|---------|------|
|
|
209
|
+
| `mode` | guided | guided / semi / auto |
|
|
289
210
|
| `branch` | `feature/{type}-{issue}-{slug}` | Branch naming |
|
|
290
211
|
| `commit` | conventional | conventional / gitmoji / plain |
|
|
291
212
|
| `base` | main | PR target branch |
|
|
292
|
-
| `coverage_new` | 90 | Coverage threshold for new files |
|
|
293
|
-
| `coverage_modified` | 80 | Coverage threshold for modified files |
|
|
294
213
|
|
|
295
|
-
[
|
|
214
|
+
→ [All config keys](docs/concepts/config.md) · [Mode details](docs/concepts/modes.md)
|
|
296
215
|
|
|
297
|
-
##
|
|
216
|
+
## Docs
|
|
298
217
|
|
|
299
|
-
|
|
300
|
-
mugiwara install # wizard (interactive)
|
|
301
|
-
mugiwara install --project . --target all --yes # non-interactive
|
|
302
|
-
mugiwara update # replace existing files
|
|
303
|
-
mugiwara uninstall # remove what manifest recorded
|
|
304
|
-
mugiwara list # show installations
|
|
305
|
-
mugiwara reset --keep-logs # wipe mission state, keep lessons
|
|
306
|
-
mugiwara reset --force # override multi-actor guard
|
|
307
|
-
```
|
|
218
|
+
Getting started & concepts: **[Getting started](docs/getting-started.md)** · [What mugiwara replaces](docs/concepts/comparison.md) · [Execution model](docs/concepts/execution-model.md) · [Git strategy](docs/concepts/git-strategy.md)
|
|
308
219
|
|
|
309
|
-
|
|
220
|
+
Crew & techniques: **[Agents](docs/concepts/agents.md)** · [Skills](docs/concepts/skills.md) · [Workflow](docs/concepts/workflow.md) · [Lanes](docs/concepts/lanes.md) · [Modes](docs/concepts/modes.md)
|
|
310
221
|
|
|
311
|
-
|
|
312
|
-
- **Deep per-skill reference encyclopedia** — use agent-skills.
|
|
313
|
-
- **A deployable runtime** — use LangGraph / CrewAI.
|
|
314
|
-
- **One large instruction with no ceremony** — use a mega-prompt.
|
|
222
|
+
Operations: [Config](docs/concepts/config.md) · [Audit trail](docs/concepts/audit-trail.md) · [Cost](docs/concepts/cost.md) · [Harness matrix](docs/reference/harness-matrix.md) · [Compliance](docs/reference/compliance-matrix.md) · [Troubleshooting](docs/troubleshooting.md)
|
|
315
223
|
|
|
316
|
-
|
|
317
|
-
matter to you, this is the wrong tool.
|
|
224
|
+
Deep dives: [Agent anatomy](docs/reference/agent-anatomy.md) · [Skill anatomy](docs/reference/skill-anatomy.md) · [Developer onboarding](docs/reference/developer-onboarding.md)
|
|
318
225
|
|
|
319
|
-
|
|
226
|
+
Install per platform: **[Install overview](docs/install/index.md)** · [Claude](docs/install/claude.md) · [opencode](docs/install/opencode.md) · [Gemini](docs/install/gemini.md) · [Codex](docs/install/codex.md) · [Copilot](docs/install/copilot.md) · [CLI targets](docs/install/cli.md)
|
|
320
227
|
|
|
321
|
-
|
|
322
|
-
|-----|---------------|
|
|
323
|
-
| [Getting started](docs/getting-started.md) | First mission, lane 0-3 examples, setup walkthrough |
|
|
324
|
-
| [Install](docs/install.md) | Per-platform guides: Claude Code, OpenCode, Gemini, Codex, Copilot, Cursor, Antigravity, Kimi, Pi, CLI |
|
|
325
|
-
| [Workflow](docs/workflow.md) | Full 9-wave pipeline with heal loop detail |
|
|
326
|
-
| [Agents](docs/agents.md) | 14 crew members, roles, permissions, how to summon |
|
|
327
|
-
| [Skills](docs/skills.md) | 26 techniques, 3-layer disclosure model |
|
|
328
|
-
| [Lanes](docs/lanes.md) | Deterministic lane sizing — computed from git diff |
|
|
329
|
-
| [Audit trail](docs/audit-trail.md) | 15 artifact types, how to read as reviewer |
|
|
330
|
-
| [Cost model](docs/cost.md) | Index/body/references layers, cost per lane |
|
|
331
|
-
| [Harness matrix](docs/harness-matrix.md) | Tier 1/2/3 — what differs per harness |
|
|
332
|
-
| [Config](docs/config.md) | All `.mugiwara/config` keys with defaults |
|
|
333
|
-
| [Modes](docs/modes.md) | Guided / semi / auto autonomy levels |
|
|
334
|
-
| [Compliance matrix](docs/compliance-matrix.md) | Rule compliance per model — published with failures |
|
|
335
|
-
| [Comparison](docs/comparison.md) | Positioning. When to use mugiwara vs something else. |
|
|
336
|
-
| [Roadmap](ROADMAP.md) | Now — Next — Then — After |
|
|
228
|
+
Roadmap: [ROADMAP.md](ROADMAP.md)
|
|
337
229
|
|
|
338
230
|
## License
|
|
339
231
|
|
|
340
|
-
MIT. Copyright (c) 2026
|
|
232
|
+
MIT. Copyright (c) 2026 ionivetech.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: zoro-execution
|
|
3
|
-
description: Persona for mugiwara-execution. Executes plan: sequential inline + parallel worker batches.
|
|
4
|
-
permissions: read-write code, no-network
|
|
3
|
+
description: Persona for mugiwara-execution. Executes plan: sequential inline + parallel worker batches.
|
|
5
4
|
skills: mugiwara-execution, mugiwara-backend, mugiwara-git, mugiwara-contract-first, mugiwara-testcases
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: using-mugiwara
|
|
3
|
-
description:
|
|
3
|
+
description: How mugiwara works. Crew overview, where to start, which agent to summon for each task, what each specialist does. Front-door router. Trigger: "which agent for", "pick crew", "mugiwara how", new session overview.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Using Mugiwara (Front Door)
|