@ionivetech/mugiwara 0.5.5 → 0.6.0
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 +2 -2
- package/.claude-plugin/plugin.json +3 -2
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/.kimi-plugin/plugin.json +1 -1
- package/.opencode/commands/mugiwara-continue.md +16 -0
- package/.opencode/commands/mugiwara-execute.md +6 -4
- package/.opencode/commands/mugiwara-heal.md +6 -4
- package/.opencode/commands/mugiwara-plan.md +6 -4
- package/.opencode/commands/mugiwara-review.md +6 -4
- package/.opencode/commands/mugiwara-security.md +6 -4
- package/.opencode/commands/mugiwara-ship.md +6 -4
- package/.opencode/commands/mugiwara.md +4 -2
- package/.opencode/commands/using-mugiwara.md +7 -13
- package/.opencode/plugins/mugiwara.mjs +18 -6
- package/AGENTS.md +1 -1
- package/GEMINI.md +1 -1
- package/README.md +251 -120
- package/content/agents/brook-healing.md +17 -3
- package/content/agents/chopper-checkpoint.md +17 -3
- package/content/agents/eval-runner.md +17 -2
- package/content/agents/franky-gates.md +19 -5
- package/content/agents/jinbe-security.md +19 -3
- package/content/agents/luffy-orchestrator.md +6 -3
- package/content/agents/memory-keeper.md +15 -0
- package/content/agents/nami-planner.md +21 -6
- package/content/agents/onboarding-guide.md +145 -0
- package/content/agents/resume-coordinator.md +21 -5
- package/content/agents/robin-reviewer.md +18 -3
- package/content/agents/sanji-quality.md +19 -4
- package/content/agents/skeptic-verifier.md +18 -3
- package/content/agents/usopp-brainstorm.md +17 -3
- package/content/agents/zoro-execution.md +18 -3
- package/content/skills/mugiwara-backend/SKILL.md +1 -1
- package/content/skills/mugiwara-brainstorm/SKILL.md +5 -1
- package/content/skills/mugiwara-checkpoint/SKILL.md +2 -2
- package/content/skills/mugiwara-contract-first/SKILL.md +2 -36
- package/content/skills/mugiwara-contract-first/references/process.md +37 -0
- package/content/skills/mugiwara-execution/SKILL.md +30 -13
- package/content/skills/mugiwara-execution/references/resume-batching.md +32 -0
- package/content/skills/mugiwara-frontend/SKILL.md +1 -1
- package/content/skills/mugiwara-gates/SKILL.md +32 -30
- package/content/skills/mugiwara-healing/SKILL.md +1 -1
- package/content/skills/mugiwara-orchestration/SKILL.md +41 -25
- package/content/skills/mugiwara-orchestration/references/delegation-pillars.md +40 -0
- package/content/skills/mugiwara-orchestration/references/triage-escalation.md +96 -0
- package/content/skills/mugiwara-planning/SKILL.md +23 -27
- package/content/skills/mugiwara-planning/references/plan-template.md +42 -0
- package/content/skills/mugiwara-pr/SKILL.md +2 -2
- package/content/skills/mugiwara-quality/SKILL.md +10 -6
- package/content/skills/mugiwara-resume/SKILL.md +7 -2
- package/content/skills/mugiwara-review/SKILL.md +20 -1
- package/content/skills/mugiwara-review/references/code-attributes.md +38 -0
- package/content/skills/mugiwara-root-cause/SKILL.md +3 -30
- package/content/skills/mugiwara-root-cause/references/process.md +35 -0
- package/content/skills/mugiwara-security/SKILL.md +17 -32
- package/content/skills/mugiwara-security/references/owasp-top10.md +12 -0
- package/content/skills/mugiwara-security/references/rationalizations.md +8 -0
- package/content/skills/mugiwara-ship/SKILL.md +5 -4
- package/content/skills/mugiwara-workflow/SKILL.md +74 -77
- package/content/skills/mugiwara-workflow/references/workspace-layout.md +50 -0
- package/content/skills/using-mugiwara/SKILL.md +8 -19
- package/dist/mugiwara.js +107 -41
- package/gemini-extension.json +1 -1
- package/hooks/session-start.ts +1 -1
- package/package.json +11 -4
- package/plugin.json +1 -1
- package/references/multi-actor.md +1 -1
- package/scripts/evidence.sh +12 -5
- package/scripts/gate-selftest.ts +266 -0
- package/scripts/initiative.ts +248 -0
- package/scripts/lane.sh +15 -0
- package/scripts/mission-report.sh +90 -12
- package/scripts/onboard.ts +292 -0
- package/scripts/release-notes.ts +42 -13
- package/scripts/savepoint.sh +97 -50
- package/scripts/validate-content.ts +77 -0
- package/scripts/verify-install.ts +72 -0
- package/src/installer.ts +34 -7
- package/src/mission.ts +7 -5
- package/src/targets/claude.ts +20 -3
- package/src/targets/generic.ts +1 -1
- package/src/targets/opencode.ts +31 -10
- package/docs/concepts/agents.md +0 -53
- package/docs/concepts/audit-trail.md +0 -65
- package/docs/concepts/comparison.md +0 -58
- package/docs/concepts/config.md +0 -55
- package/docs/concepts/cost.md +0 -45
- package/docs/concepts/execution-model.md +0 -92
- package/docs/concepts/git-strategy.md +0 -62
- package/docs/concepts/lanes.md +0 -82
- package/docs/concepts/modes.md +0 -73
- package/docs/concepts/pr-summary.md +0 -54
- package/docs/concepts/skills.md +0 -55
- package/docs/concepts/workflow.md +0 -89
- package/docs/getting-started.md +0 -158
- package/docs/index.md +0 -56
- package/docs/install/antigravity.md +0 -45
- package/docs/install/claude.md +0 -77
- package/docs/install/cli.md +0 -115
- package/docs/install/codex.md +0 -44
- package/docs/install/copilot.md +0 -45
- package/docs/install/cursor.md +0 -45
- package/docs/install/gemini.md +0 -44
- package/docs/install/index.md +0 -53
- package/docs/install/kimi.md +0 -45
- package/docs/install/opencode.md +0 -143
- package/docs/install/pi.md +0 -46
- package/docs/reference/adoption-guide.md +0 -72
- package/docs/reference/agent-anatomy.md +0 -72
- package/docs/reference/compliance-matrix.md +0 -81
- package/docs/reference/developer-onboarding.md +0 -89
- package/docs/reference/enforcement.md +0 -35
- package/docs/reference/harness-matrix.md +0 -41
- package/docs/reference/skill-anatomy.md +0 -71
- package/docs/troubleshooting.md +0 -91
- package/evals/cases/_no-skill.json +0 -16
- package/evals/cases/adversarial-pressure-fake-pass.json +0 -25
- package/evals/cases/adversarial-pressure-skip-review.json +0 -25
- package/evals/cases/lane-exploratory-vague.json +0 -24
- package/evals/cases/lane-sensitivity-payment.json +0 -24
- package/evals/cases/positive-refactor-existing-tests.json +0 -25
- package/evals/cases/positive-resume-mid-mission.json +0 -24
- package/evals/cases/routing-agent-security.json +0 -25
- package/evals/cases/routing-auth-feature.json +0 -26
- package/evals/cases/routing-backend.json +0 -25
- package/evals/cases/routing-bug-one-file.json +0 -26
- package/evals/cases/routing-claim-audit.json +0 -25
- package/evals/cases/routing-context-budget.json +0 -25
- package/evals/cases/routing-contract-first.json +0 -25
- package/evals/cases/routing-execution.json +0 -25
- package/evals/cases/routing-frontend.json +0 -26
- package/evals/cases/routing-gates.json +0 -25
- package/evals/cases/routing-git.json +0 -25
- package/evals/cases/routing-healing.json +0 -25
- package/evals/cases/routing-lessons.json +0 -25
- package/evals/cases/routing-orchestration.json +0 -25
- package/evals/cases/routing-planning.json +0 -26
- package/evals/cases/routing-pr.json +0 -25
- package/evals/cases/routing-quality.json +0 -25
- package/evals/cases/routing-ship.json +0 -26
- package/evals/cases/routing-sunset.json +0 -25
- package/evals/cases/routing-using-mugiwara.json +0 -25
- package/evals/cases/routing-workflow.json +0 -25
- package/evals/floor.json +0 -6
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://github.com/ionivetech/mugiwara/blob/main/LICENSE)
|
|
6
6
|
|
|
7
7
|
**Ship quality code, not just fast code.** Mugiwara gives your AI agent a
|
|
8
|
-
governed engineering team —
|
|
8
|
+
governed engineering team — 12 specialists who plan, build, audit, review, and
|
|
9
9
|
heal — with evidence at every step. No runtime, no API keys, no servers. Just
|
|
10
10
|
markdown your agent already knows how to read.
|
|
11
11
|
|
|
@@ -21,22 +21,43 @@ every agent, every skill, every rule is static markdown.
|
|
|
21
21
|
|
|
22
22
|
→ [Full pitch: why mugiwara vs just asking your agent](docs/concepts/comparison.md)
|
|
23
23
|
|
|
24
|
-
##
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
24
|
+
## What Mugiwara does
|
|
25
|
+
|
|
26
|
+
### 9-wave pipeline
|
|
27
|
+
|
|
28
|
+
```mermaid
|
|
29
|
+
flowchart TB
|
|
30
|
+
L0["Luffy<br>Triage"] --> L1["Usopp<br>Brainstorm"] --> L2["Nami<br>Plan"] --> L3["Zoro<br>Execute"] --> L4["Chopper<br>Audit"]
|
|
31
|
+
L4 --> L5["Sanji<br>Quality"] --> L6["Franky<br>Gates"]
|
|
32
|
+
L6 --> L7R["Robin<br>Review"]
|
|
33
|
+
L6 --> L7J["Jinbe<br>Security"]
|
|
34
|
+
L7R --> L8["Brook<br>Heal"]
|
|
35
|
+
L7J --> L8
|
|
36
|
+
L8 --> L9["Luffy<br>Closure"]
|
|
37
|
+
L8 -. "heal ≤3 cycles" .-> L4
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
→ [Full pipeline details](docs/concepts/workflow.md)
|
|
41
|
+
|
|
42
|
+
### All features
|
|
43
|
+
|
|
44
|
+
| Feature | What you get |
|
|
45
|
+
| --------------------------- | ----------------------------------------------------------------------------------------------- |
|
|
46
|
+
| **Lane sizing** | Work auto-sized from `git diff`. Typo = instant fix. Auth migration = full pipeline. |
|
|
47
|
+
| **Team initiatives** | Sub-missions with assignee + branch, shared plan doc, status tracking per sub-mission. |
|
|
48
|
+
| **Sonar-style quality** | Duplication %, complexity, maintainability rating (A–E), code attributes, per-condition gate. |
|
|
49
|
+
| **STRIDE + OWASP security** | Threat modeling, secret scan, injection check, SCA license, hotspot review. |
|
|
50
|
+
| **Self-healing** | Brook reads all failures at once, fixes root causes, re-runs verification. ≤3 cycles. |
|
|
51
|
+
| **3 autonomy modes** | guided (ask) / semi (auto branch+commit) / auto (hands-off). Flip mid-session. |
|
|
52
|
+
| **Configurable depth** | `review_depth` + `quality_depth`: full / standard / quick. Set per project. |
|
|
53
|
+
| **Resume from anywhere** | Session lost? Rebuilds from `.mugiwara/state.json`. Continues, never restarts. |
|
|
54
|
+
| **Onboarding wizard** | 10 questions — project type, team size, mode, depth. `/mugiwara onboard`. |
|
|
55
|
+
| **Evidence trail** | `.mugiwara/` workspace: plans, audit reports, quality reports, review findings, blocker ledger. |
|
|
56
|
+
| **12 platforms** | Claude Code, opencode, Copilot, Gemini, Codex, Cursor, Kimi, Pi, Antigravity + CLI. |
|
|
57
|
+
| **Cost tracking** | Token budget per lane. Warn at 1.5×, pause at 3×. Surfaced in mission reports. |
|
|
58
|
+
| **Multi-actor safe** | Branch-scoped state. Two engineers, one repo. Reset refuses without `--force`. |
|
|
59
|
+
|
|
60
|
+
→ [Every feature, explained with how-to-use + scenarios](docs/concepts/features.md) · [Full pipeline](docs/concepts/workflow.md) · [Lanes](docs/concepts/lanes.md) · [Modes](docs/concepts/modes.md) · [Config](docs/concepts/config.md) · [Audit trail](docs/concepts/audit-trail.md) · [Cost](docs/concepts/cost.md)
|
|
40
61
|
|
|
41
62
|
## 30-second try
|
|
42
63
|
|
|
@@ -51,61 +72,67 @@ every agent, every skill, every rule is static markdown.
|
|
|
51
72
|
npx @ionivetech/mugiwara@latest install --target all --yes
|
|
52
73
|
```
|
|
53
74
|
|
|
54
|
-
Then ask something non-trivial
|
|
75
|
+
First run: `/mugiwara onboard` for guided setup. Then ask something non-trivial:
|
|
55
76
|
|
|
56
77
|
```
|
|
57
78
|
> add role-based access control: admin, editor, viewer
|
|
79
|
+
> audit the auth middleware for security gaps
|
|
80
|
+
> review the last PR for breaking changes
|
|
81
|
+
> split this feature across the team: payment gateway, ledger, fraud
|
|
58
82
|
```
|
|
59
83
|
|
|
60
84
|
A Standard lane mission (~10k tokens) produces a branch with test-first
|
|
61
85
|
commits, an audit report, a security review, and a ready PR summary — visible
|
|
62
|
-
at every step in your chat.
|
|
86
|
+
at every step in your chat.
|
|
87
|
+
|
|
88
|
+
→ [Full walkthrough](docs/getting-started.md)
|
|
63
89
|
|
|
64
90
|
## How it works
|
|
65
91
|
|
|
66
92
|
You ask. The crew routes automatically. **No agent names to memorize, no
|
|
67
|
-
pipeline config to write.**
|
|
68
|
-
fix; auth migration = full 9-wave pipeline).
|
|
93
|
+
pipeline config to write.**
|
|
69
94
|
|
|
70
|
-
| You say
|
|
71
|
-
|
|
72
|
-
| `add search bar to products page`
|
|
73
|
-
| `
|
|
74
|
-
| `
|
|
75
|
-
|
|
|
95
|
+
| You say | What happens |
|
|
96
|
+
| ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
97
|
+
| `add search bar to products page` | Luffy triages → Nami plans 3 tasks → Zoro executes TDD → Chopper audits → Sanji runs quality → Franky gates → Robin reviews → code pushed, PR summary ready |
|
|
98
|
+
| `split payment system: gateway, ledger, fraud` | Nami interviews team → writes initiative plan with sub-missions + assignees → each dev works in own branch → `mugiwara initiative status` shows progress → all done → initiative closure |
|
|
99
|
+
| `Brook, fix the failing login test` | Healer reads failure ledger, root-cause fixes, proves fix ≤3 cycles |
|
|
100
|
+
| `Jinbe, audit auth middleware` | STRIDE + OWASP + dependency audit. Read-only — never touches code |
|
|
101
|
+
| `/mugiwara auto` | Switches to full autonomy from the next wave |
|
|
76
102
|
|
|
77
|
-
- **Full pipeline** when the task is big or direction is unclear
|
|
78
|
-
- **Direct agent** when you know exactly what you need —
|
|
79
|
-
- **Slash commands** when you want to drive
|
|
103
|
+
- **Full pipeline** when the task is big or direction is unclear
|
|
104
|
+
- **Direct agent** when you know exactly what you need — say the name
|
|
105
|
+
- **Slash commands** when you want to drive: `/mugiwara-plan`, `/mugiwara-review`, `/mugiwara-security`, `/mugiwara-ship`, `/mugiwara onboard`
|
|
80
106
|
|
|
81
|
-
[Full workflow walkthrough
|
|
107
|
+
→ [Full workflow walkthrough](docs/concepts/workflow.md)
|
|
82
108
|
|
|
83
109
|
## The crew
|
|
84
110
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
| Agent
|
|
89
|
-
|
|
90
|
-
| `luffy-orchestrator` | Captain — triage, check-ins, closure
|
|
91
|
-
| `
|
|
92
|
-
| `
|
|
93
|
-
| `
|
|
94
|
-
| `
|
|
95
|
-
| `
|
|
96
|
-
| `
|
|
97
|
-
| `
|
|
98
|
-
| `
|
|
99
|
-
| `
|
|
100
|
-
| `
|
|
101
|
-
| `
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
111
|
+
12 user-facing specialists (+3 internal). Each has role boundaries — auditors
|
|
112
|
+
and reviewers are read-only. Call them by name or let the pipeline auto-route.
|
|
113
|
+
|
|
114
|
+
| Agent | Role | Permission |
|
|
115
|
+
| -------------------- | --------------------------------------------------------------------------------------- | :-----------: |
|
|
116
|
+
| `luffy-orchestrator` | Captain — triage, check-ins, closure | — |
|
|
117
|
+
| `usopp-brainstorm` | Critical friend — interrogates, researches, recommends | — |
|
|
118
|
+
| `nami-planner` | Planner — interviews, full scan, scaled plans, team initiatives | — |
|
|
119
|
+
| `zoro-execution` | Executor — TDD per task, evidence per commit | — |
|
|
120
|
+
| `chopper-checkpoint` | Auditor — re-runs criteria, failure ledger | **read-only** |
|
|
121
|
+
| `sanji-quality` | Quality — format, lint, test, duplication, complexity, maintainability, code attributes | — |
|
|
122
|
+
| `franky-gates` | Gates — coverage, build, DoD, per-condition sonar gate | — |
|
|
123
|
+
| `robin-reviewer` | Reviewer — breaking-change map, reliability rating, code attribute deep review | **read-only** |
|
|
124
|
+
| `jinbe-security` | Security — STRIDE, OWASP, hotspots, SCA license, secret scan, responsibility | **read-only** |
|
|
125
|
+
| `brook-healing` | Healer — reads ledger, root-cause fixes ≤3 cycles | — |
|
|
126
|
+
| `onboarding-guide` | Onboarding wizard — 10Q guided setup, writes config | — |
|
|
127
|
+
| `resume-coordinator` | Resumer — rebuilds state from `.mugiwara/`, continues never restarts | — |
|
|
128
|
+
|
|
129
|
+
**Internal agents** (dispatch-only):
|
|
130
|
+
|
|
131
|
+
| Agent | Role | Used by |
|
|
132
|
+
| ------------------ | ----------------------------------------------------- | ------------------------------ |
|
|
133
|
+
| `skeptic-verifier` | Adversarial verifier — doubts every claim | Wave 4.5, high-stakes missions |
|
|
134
|
+
| `eval-runner` | Harness tester — task suites, judge rubric | `bun scripts/run-evals.ts` |
|
|
135
|
+
| `memory-keeper` | Lessons ledger — surface at start, capture at closure | Wave 0 (read), Wave 9 (write) |
|
|
109
136
|
|
|
110
137
|
→ [Agent details: summoning, boundaries, parameters](docs/concepts/agents.md)
|
|
111
138
|
|
|
@@ -113,119 +140,223 @@ temperature, and a step limit. Call them by name or let the pipeline auto-route.
|
|
|
113
140
|
|
|
114
141
|
Mugiwara itself is free. Token usage depends on mission lane:
|
|
115
142
|
|
|
116
|
-
| Lane
|
|
117
|
-
|
|
118
|
-
| Direct (typo)
|
|
119
|
-
| Lean (small bug)
|
|
120
|
-
| Standard (feature)
|
|
121
|
-
| Full (architecture) | 9–11
|
|
143
|
+
| Lane | Waves | Typical tokens |
|
|
144
|
+
| ------------------- | :---: | :------------: |
|
|
145
|
+
| Direct (typo) | 0 | ~0 |
|
|
146
|
+
| Lean (small bug) | 2 | ~4k |
|
|
147
|
+
| Standard (feature) | 5–7 | ~10k |
|
|
148
|
+
| Full (architecture) | 9–11 | ~20k |
|
|
122
149
|
|
|
123
150
|
Usage tracked in `.mugiwara/state.json` per mission. Budget warns at 1.5×,
|
|
124
|
-
pauses at 3×.
|
|
151
|
+
pauses at 3×.
|
|
152
|
+
|
|
153
|
+
→ [Full cost model](docs/concepts/cost.md)
|
|
154
|
+
|
|
155
|
+
## Configuration
|
|
156
|
+
|
|
157
|
+
Switch mode any time: `/mugiwara guided | semi | auto`. Or edit `.mugiwara/config`:
|
|
125
158
|
|
|
126
|
-
|
|
159
|
+
| Key | Default | What |
|
|
160
|
+
| ------------------- | ------------------------------- | ---------------------------------------------- |
|
|
161
|
+
| `mode` | guided | guided / semi / auto |
|
|
162
|
+
| `branch` | `feature/{type}-{issue}-{slug}` | Branch naming |
|
|
163
|
+
| `commit` | conventional | conventional / gitmoji / plain |
|
|
164
|
+
| `base` | main | PR target branch |
|
|
165
|
+
| `coverage_new` | 90 | Coverage threshold for new files (%) |
|
|
166
|
+
| `coverage_modified` | 80 | Coverage threshold for modified files (%) |
|
|
167
|
+
| `review_depth` | full | full / standard / quick — Robin's review depth |
|
|
168
|
+
| `quality_depth` | full | full / standard / quick — Sanji's check depth |
|
|
169
|
+
|
|
170
|
+
Set via `/mugiwara onboard` or edit directly. Unknown keys ignored. Project
|
|
171
|
+
config (`.mugiwara/config`) overrides global (`~/.mugiwara/config`).
|
|
172
|
+
|
|
173
|
+
→ [All config keys](docs/concepts/config.md) · [Mode details](docs/concepts/modes.md)
|
|
174
|
+
|
|
175
|
+
## Quick reference
|
|
176
|
+
|
|
177
|
+
| Need | Command / Doc |
|
|
178
|
+
| ----------------------- | ---------------------------------------- |
|
|
179
|
+
| First-time setup | `/mugiwara onboard` |
|
|
180
|
+
| Plan a feature | `/mugiwara-plan` or just describe it |
|
|
181
|
+
| Review a PR diff | `/mugiwara-review` or "review this PR" |
|
|
182
|
+
| Security audit | `/mugiwara-security` or "Jinbe, audit X" |
|
|
183
|
+
| Ship gate check | `/mugiwara-ship` |
|
|
184
|
+
| See initiative progress | `mugiwara initiative status <plan>` |
|
|
185
|
+
| Resume a mission | `/mugiwara resume plan <name>` |
|
|
186
|
+
| Switch mode | `/mugiwara guided\|semi\|auto` |
|
|
187
|
+
| Check gate locally | `bun run gate` |
|
|
188
|
+
| All docs | [docs/](docs/) |
|
|
127
189
|
|
|
128
190
|
## Install
|
|
129
191
|
|
|
130
|
-
<details
|
|
131
|
-
<summary><b>
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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` |
|
|
192
|
+
<details>
|
|
193
|
+
<summary><b>Claude Code</b></summary>
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
/plugin marketplace add ionivetech/mugiwara && /plugin install mugiwara
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Uninstall: `/plugin uninstall mugiwara`
|
|
144
200
|
|
|
145
201
|
</details>
|
|
146
202
|
|
|
147
203
|
<details>
|
|
148
|
-
<summary><b>
|
|
204
|
+
<summary><b>OpenCode</b></summary>
|
|
205
|
+
|
|
206
|
+
Add to `opencode.json`:
|
|
207
|
+
|
|
208
|
+
```json
|
|
209
|
+
{ "plugin": ["@ionivetech/mugiwara"] }
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
Uninstall: remove `"@ionivetech/mugiwara"` from `opencode.json` plugins array
|
|
213
|
+
|
|
214
|
+
</details>
|
|
215
|
+
|
|
216
|
+
<details>
|
|
217
|
+
<summary><b>Gemini CLI</b></summary>
|
|
149
218
|
|
|
150
219
|
```bash
|
|
151
|
-
|
|
152
|
-
# or all targets
|
|
153
|
-
npx @ionivetech/mugiwara@latest install --target all --yes
|
|
220
|
+
gemini extensions install https://github.com/ionivetech/mugiwara
|
|
154
221
|
```
|
|
155
222
|
|
|
156
|
-
|
|
223
|
+
Uninstall: `gemini extensions uninstall mugiwara`
|
|
157
224
|
|
|
158
225
|
</details>
|
|
159
226
|
|
|
160
227
|
<details>
|
|
161
|
-
<summary><b>
|
|
228
|
+
<summary><b>Codex</b></summary>
|
|
162
229
|
|
|
163
230
|
```bash
|
|
164
|
-
|
|
165
|
-
mugiwara install --target all --yes
|
|
166
|
-
mugiwara update --target all --yes
|
|
167
|
-
mugiwara uninstall
|
|
231
|
+
codex plugin marketplace add ionivetech/mugiwara && codex plugin add mugiwara@mugiwara
|
|
168
232
|
```
|
|
169
233
|
|
|
234
|
+
Uninstall: `codex plugin remove mugiwara@mugiwara`
|
|
235
|
+
|
|
170
236
|
</details>
|
|
171
237
|
|
|
172
|
-
|
|
238
|
+
<details>
|
|
239
|
+
<summary><b>GitHub Copilot</b></summary>
|
|
173
240
|
|
|
174
|
-
|
|
241
|
+
```bash
|
|
242
|
+
copilot plugin install https://github.com/ionivetech/mugiwara
|
|
243
|
+
```
|
|
175
244
|
|
|
176
|
-
|
|
245
|
+
Uninstall: `copilot plugin uninstall mugiwara`
|
|
246
|
+
|
|
247
|
+
</details>
|
|
248
|
+
|
|
249
|
+
<details>
|
|
250
|
+
<summary><b>Cursor</b></summary>
|
|
177
251
|
|
|
178
252
|
```bash
|
|
179
|
-
|
|
180
|
-
|
|
253
|
+
/add-plugin mugiwara
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Uninstall: `/remove-plugin mugiwara`
|
|
181
257
|
|
|
182
|
-
|
|
183
|
-
|
|
258
|
+
</details>
|
|
259
|
+
|
|
260
|
+
<details>
|
|
261
|
+
<summary><b>Antigravity</b></summary>
|
|
184
262
|
|
|
185
|
-
|
|
186
|
-
|
|
263
|
+
```bash
|
|
264
|
+
agy plugin install https://github.com/ionivetech/mugiwara
|
|
187
265
|
```
|
|
188
266
|
|
|
189
|
-
|
|
267
|
+
Uninstall: `agy plugin uninstall mugiwara`
|
|
190
268
|
|
|
191
|
-
|
|
269
|
+
</details>
|
|
270
|
+
|
|
271
|
+
<details>
|
|
272
|
+
<summary><b>Kimi</b></summary>
|
|
192
273
|
|
|
193
274
|
```bash
|
|
194
|
-
|
|
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
|
|
275
|
+
/plugins install https://github.com/ionivetech/mugiwara
|
|
201
276
|
```
|
|
202
277
|
|
|
203
|
-
|
|
278
|
+
Uninstall: `/plugins uninstall mugiwara`
|
|
204
279
|
|
|
205
|
-
|
|
280
|
+
</details>
|
|
206
281
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
| `mode` | guided | guided / semi / auto |
|
|
210
|
-
| `branch` | `feature/{type}-{issue}-{slug}` | Branch naming |
|
|
211
|
-
| `commit` | conventional | conventional / gitmoji / plain |
|
|
212
|
-
| `base` | main | PR target branch |
|
|
282
|
+
<details>
|
|
283
|
+
<summary><b>Pi</b></summary>
|
|
213
284
|
|
|
214
|
-
|
|
285
|
+
```bash
|
|
286
|
+
pi install git:github.com/ionivetech/mugiwara
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
Uninstall: `pi uninstall mugiwara`
|
|
290
|
+
|
|
291
|
+
</details>
|
|
292
|
+
|
|
293
|
+
<details>
|
|
294
|
+
<summary><b>Windsurf / Cline / Kilo</b> — CLI install</summary>
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
npx @ionivetech/mugiwara@latest install --target <id> --yes
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Uninstall: `npx @ionivetech/mugiwara@latest uninstall`
|
|
301
|
+
|
|
302
|
+
Targets: `windsurf`, `cline`, `kilo`, `codex`.
|
|
303
|
+
|
|
304
|
+
</details>
|
|
305
|
+
|
|
306
|
+
<details>
|
|
307
|
+
<summary><b>Global CLI</b> — shorter commands after first install</summary>
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
npm i -g @ionivetech/mugiwara
|
|
311
|
+
mugiwara install --target all --yes
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
Uninstall: `mugiwara uninstall`
|
|
315
|
+
|
|
316
|
+
</details>
|
|
317
|
+
|
|
318
|
+
All platforms get the full crew — 12 agents, 26 skills (+3 internal agents).
|
|
319
|
+
No per-platform feature gaps.
|
|
320
|
+
|
|
321
|
+
→ [Per-platform guides](docs/install/index.md)
|
|
322
|
+
|
|
323
|
+
## Update
|
|
324
|
+
|
|
325
|
+
```bash
|
|
326
|
+
npm update @ionivetech/mugiwara # npm-based
|
|
327
|
+
/plugin update mugiwara # marketplace-based
|
|
328
|
+
# Reinstall with same install command # GitHub-based
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
→ [Full update reference](docs/install/index.md)
|
|
332
|
+
|
|
333
|
+
## CLI
|
|
334
|
+
|
|
335
|
+
```bash
|
|
336
|
+
mugiwara install # wizard (interactive)
|
|
337
|
+
mugiwara install --target all --yes # non-interactive
|
|
338
|
+
mugiwara update --target <id> --yes # overwrite to latest
|
|
339
|
+
mugiwara uninstall # remove installed files
|
|
340
|
+
mugiwara list # show installations
|
|
341
|
+
mugiwara list --check # health check
|
|
342
|
+
mugiwara reset --keep-logs # wipe state, keep lessons
|
|
343
|
+
```
|
|
215
344
|
|
|
216
345
|
## Docs
|
|
217
346
|
|
|
218
|
-
|
|
347
|
+
**Start here:** [Getting started](docs/getting-started.md) · [What mugiwara replaces](docs/concepts/comparison.md)
|
|
348
|
+
|
|
349
|
+
**Concepts:** [Workflow](docs/concepts/workflow.md) · [Lanes](docs/concepts/lanes.md) · [Modes](docs/concepts/modes.md) · [Execution model](docs/concepts/execution-model.md) · [Git strategy](docs/concepts/git-strategy.md) · [Config](docs/concepts/config.md) · [Cost](docs/concepts/cost.md) · [Audit trail](docs/concepts/audit-trail.md)
|
|
219
350
|
|
|
220
|
-
Crew
|
|
351
|
+
**Crew:** [Agents](docs/concepts/agents.md) · [Skills](docs/concepts/skills.md)
|
|
221
352
|
|
|
222
|
-
|
|
353
|
+
**Reference:** [Agent anatomy](docs/reference/agent-anatomy.md) · [Skill anatomy](docs/reference/skill-anatomy.md) · [Harness matrix](docs/reference/harness-matrix.md) · [Compliance matrix](docs/reference/compliance-matrix.md) · [Developer onboarding](docs/reference/developer-onboarding.md)
|
|
223
354
|
|
|
224
|
-
|
|
355
|
+
**Install per platform:** [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)
|
|
225
356
|
|
|
226
|
-
|
|
357
|
+
**Troubleshooting:** [Common problems](docs/troubleshooting.md)
|
|
227
358
|
|
|
228
|
-
Roadmap
|
|
359
|
+
**Roadmap:** [ROADMAP.md](ROADMAP.md)
|
|
229
360
|
|
|
230
361
|
## License
|
|
231
362
|
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brook-healing
|
|
3
|
-
description: Persona for mugiwara-healing. Root-cause healer: reads
|
|
4
|
-
skills: mugiwara-healing, mugiwara-git, mugiwara-sunset, mugiwara-root-cause
|
|
3
|
+
description: Persona for mugiwara-healing. Root-cause healer: reads blocker ledger, triages failures, spawns parallel heal workers, max 3 cycles.
|
|
4
|
+
skills: mugiwara-healing, mugiwara-git, mugiwara-sunset, mugiwara-root-cause, mugiwara-orchestration
|
|
5
|
+
write-scope: source
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Brook — Healing (Musician)
|
|
8
9
|
|
|
10
|
+
## Before you start
|
|
11
|
+
|
|
12
|
+
1. Read `.mugiwara/state.json` for this branch.
|
|
13
|
+
2. No active mission → announce `## Wave 0 — Luffy (triage)`, classify the request, size the lane (`scripts/lane.sh`), read the mode, write the decision log, run `scripts/savepoint.sh`.
|
|
14
|
+
3. Mission owned by another actor → stop, report the owner, ask.
|
|
15
|
+
4. `base_sha` no longer an ancestor of HEAD → report drift, ask before continuing.
|
|
16
|
+
5. Not a git repo → lane defaults to `standard`, state in-memory; say so once.
|
|
17
|
+
6. Announce `→ Wave N — <crew>`. **If triage routed elsewhere, say so and stop.** Being summoned is not authorisation to do another crew member's job.
|
|
18
|
+
|
|
9
19
|
## Role
|
|
10
20
|
|
|
11
21
|
Self-healing: repairs what failed in earlier waves, minimally, and proves each fix. Reads the failure ledger and works it down.
|
|
@@ -31,7 +41,11 @@ Wave 8 of `mugiwara-workflow`, with failure inputs from Chopper/Sanji/Franky/Rob
|
|
|
31
41
|
|
|
32
42
|
## Output
|
|
33
43
|
|
|
34
|
-
Fixed list + escalated list in `.mugiwara/results/<mission
|
|
44
|
+
Fixed list + escalated list in `.mugiwara/results/<mission>/05-healing.md` → summarized inline → back to Wave 4 (Chopper) for re-audit.
|
|
45
|
+
|
|
46
|
+
## Return to Luffy
|
|
47
|
+
|
|
48
|
+
Your output returns to Luffy. You do not choose the next step and you do not dispatch another crew member. Any decision outside your role — scope, lane, whether to build, who runs next — is Luffy's, always.
|
|
35
49
|
|
|
36
50
|
## Red flags
|
|
37
51
|
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: chopper-checkpoint
|
|
3
|
-
description: Persona for mugiwara-checkpoint. Audit results against the plan
|
|
3
|
+
description: Persona for mugiwara-checkpoint. Audit results against the plan. Read-only.
|
|
4
4
|
permissions: read-only, can-write: .mugiwara/results/ .mugiwara/issues/
|
|
5
|
-
skills: mugiwara-checkpoint
|
|
5
|
+
skills: mugiwara-checkpoint, mugiwara-orchestration
|
|
6
|
+
write-scope: artifacts
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
# Chopper — Checkpoint (Auditor)
|
|
9
10
|
|
|
11
|
+
## Before you start
|
|
12
|
+
|
|
13
|
+
1. Read `.mugiwara/state.json` for this branch.
|
|
14
|
+
2. No active mission → announce `## Wave 0 — Luffy (triage)`, classify the request, size the lane (`scripts/lane.sh`), read the mode, write the decision log, run `scripts/savepoint.sh`.
|
|
15
|
+
3. Mission owned by another actor → stop, report the owner, ask.
|
|
16
|
+
4. `base_sha` no longer an ancestor of HEAD → report drift, ask before continuing.
|
|
17
|
+
5. Not a git repo → lane defaults to `standard`, state in-memory; say so once.
|
|
18
|
+
6. Announce `→ Wave N — <crew>`. **If triage routed elsewhere, say so and stop.** Being summoned is not authorisation to do another crew member's job.
|
|
19
|
+
|
|
10
20
|
## Role
|
|
11
21
|
|
|
12
22
|
Audits execution against the plan. Trusts nothing; re-verifies everything — efficiently. Does not fix — findings only.
|
|
@@ -35,7 +45,11 @@ Wave 4 of `mugiwara-workflow`, with the plan doc and Zoro's execution report.
|
|
|
35
45
|
|
|
36
46
|
## Output
|
|
37
47
|
|
|
38
|
-
Audit report to `.mugiwara/results
|
|
48
|
+
Audit report to `.mugiwara/results/<mission>/02-audit.md` + failure ledger rows in `.mugiwara/issues/` → summarized inline in the conversation (Luffy on PASS, Brook on FAIL).
|
|
49
|
+
|
|
50
|
+
## Return to Luffy
|
|
51
|
+
|
|
52
|
+
Your output returns to Luffy. You do not choose the next step and you do not dispatch another crew member. Any decision outside your role — scope, lane, whether to build, who runs next — is Luffy's, always.
|
|
39
53
|
|
|
40
54
|
## Red flags
|
|
41
55
|
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eval-runner
|
|
3
3
|
description: Persona for docs/evals.md. Harness tester: task suites, judge-agent rubric, pass/fail per case.
|
|
4
|
+
internal: true
|
|
4
5
|
skills: mugiwara-orchestration
|
|
6
|
+
write-scope: artifacts
|
|
5
7
|
---
|
|
6
8
|
|
|
7
9
|
# Eval-Runner — Test Engineer (for the Harness)
|
|
8
10
|
|
|
11
|
+
## Before you start
|
|
12
|
+
|
|
13
|
+
1. Read `.mugiwara/state.json` for this branch.
|
|
14
|
+
2. No active mission → announce `## Wave 0 — Luffy (triage)`, classify the request, size the lane (`scripts/lane.sh`), read the mode, write the decision log, run `scripts/savepoint.sh`.
|
|
15
|
+
3. Mission owned by another actor → stop, report the owner, ask.
|
|
16
|
+
4. `base_sha` no longer an ancestor of HEAD → report drift, ask before continuing.
|
|
17
|
+
5. Not a git repo → lane defaults to `standard`, state in-memory; say so once.
|
|
18
|
+
6. Announce `→ Wave N — <crew>`. **If triage routed elsewhere, say so and stop.** Being summoned is not authorisation to do another crew member's job.
|
|
19
|
+
|
|
9
20
|
## Role
|
|
10
21
|
|
|
11
22
|
Test engineer for the harness itself. Writes task suites, runs them, judges rubric-comparison, reports pass/fail per case. Verifies skills and agents actually work. Files failures — never fixes the skill under test.
|
|
@@ -27,14 +38,18 @@ Harness test engineer who fixes the skill, not the eval. Abilities: rubric judgi
|
|
|
27
38
|
2. At least one case per skill; full suite run per release.
|
|
28
39
|
3. Judge with a FRESH agent, never the implementer of the case's skill.
|
|
29
40
|
4. A failing case means fix the SKILL, never the eval.
|
|
30
|
-
5. Write the pass/fail table to `.mugiwara/results/<mission
|
|
41
|
+
5. Write the pass/fail table to `.mugiwara/results/<mission>/eval.md`.
|
|
31
42
|
6. Route failures to `.mugiwara/issues/YYYY-MM-DD-<mission>-blockers.md` (category `eval-fail`) → Brook.
|
|
32
43
|
7. Ranking/selection cases → tournament judging (`mugiwara-orchestration` (adversarial verification)): pairwise, fresh judge per match.
|
|
33
44
|
8. Never assert on host-agent behavior — only that the skill's instructions produce the intended workflow.
|
|
34
45
|
|
|
35
46
|
## Output
|
|
36
47
|
|
|
37
|
-
Pass/fail table with evidence in `.mugiwara/results/<mission
|
|
48
|
+
Pass/fail table with evidence in `.mugiwara/results/<mission>/eval.md` → summarized inline (Luffy); failing cases route via the blocker ledger to Brook.
|
|
49
|
+
|
|
50
|
+
## Return to Luffy
|
|
51
|
+
|
|
52
|
+
Your output returns to Luffy. You do not choose the next step and you do not dispatch another crew member. Any decision outside your role — scope, lane, whether to build, who runs next — is Luffy's, always.
|
|
38
53
|
|
|
39
54
|
## Red flags
|
|
40
55
|
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: franky-gates
|
|
3
|
-
description: Persona for mugiwara-gates.
|
|
4
|
-
skills: mugiwara-gates, mugiwara-ship, mugiwara-testcases
|
|
3
|
+
description: Persona for mugiwara-gates. Granular sonar gate, coverage + build + DoD. Binary verdicts, no negotiation.
|
|
4
|
+
skills: mugiwara-gates, mugiwara-ship, mugiwara-testcases, mugiwara-orchestration
|
|
5
|
+
write-scope: artifacts
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Franky — Gates (Shipwright)
|
|
8
9
|
|
|
10
|
+
## Before you start
|
|
11
|
+
|
|
12
|
+
1. Read `.mugiwara/state.json` for this branch.
|
|
13
|
+
2. No active mission → announce `## Wave 0 — Luffy (triage)`, classify the request, size the lane (`scripts/lane.sh`), read the mode, write the decision log, run `scripts/savepoint.sh`.
|
|
14
|
+
3. Mission owned by another actor → stop, report the owner, ask.
|
|
15
|
+
4. `base_sha` no longer an ancestor of HEAD → report drift, ask before continuing.
|
|
16
|
+
5. Not a git repo → lane defaults to `standard`, state in-memory; say so once.
|
|
17
|
+
6. Announce `→ Wave N — <crew>`. **If triage routed elsewhere, say so and stop.** Being summoned is not authorisation to do another crew member's job.
|
|
18
|
+
|
|
9
19
|
## Role
|
|
10
20
|
|
|
11
|
-
Guards
|
|
21
|
+
Guards granular quality gate: vulnerabilities, bugs, code smells, duplications, security hotspots — each with threshold. Guards ship gate at release. Binary verdicts only — PASS/FAIL, GO/NO-GO — each backed by evidence.
|
|
12
22
|
|
|
13
23
|
## Experience
|
|
14
24
|
|
|
@@ -25,11 +35,15 @@ Wave 6 of `mugiwara-workflow` (after Sanji's report passes) and again at release
|
|
|
25
35
|
3. At release, run `mugiwara-ship`: pre-launch checklist, feature flags, staged rollout, mandatory rollback plan.
|
|
26
36
|
4. When user ACs are declared (per `mugiwara-testcases`), the coverage thresholds (90/80) apply only to unit-level new/modified code; the user-AC verdict governs ship-readiness. An e2e user suite adding ~0% coverage is not a gate failure. The user-AC verdict must come from the quality wave evidence, never asserted.
|
|
27
37
|
5. Ship verdict is binary with evidence; a critical finding or a missing rollback plan → NO-GO.
|
|
28
|
-
6. Write verdicts and evidence to `.mugiwara/results
|
|
38
|
+
6. Write verdicts and evidence to `.mugiwara/results/<mission>/04-gates.md`.
|
|
29
39
|
|
|
30
40
|
## Output
|
|
31
41
|
|
|
32
|
-
Gate verdict + ship-gate verdict with evidence in `.mugiwara/results
|
|
42
|
+
Gate verdict + ship-gate verdict with evidence in `.mugiwara/results/<mission>/04-gates.md` → summarized inline (Robin/Jinbe on pass, Brook on fail).
|
|
43
|
+
|
|
44
|
+
## Return to Luffy
|
|
45
|
+
|
|
46
|
+
Your output returns to Luffy. You do not choose the next step and you do not dispatch another crew member. Any decision outside your role — scope, lane, whether to build, who runs next — is Luffy's, always.
|
|
33
47
|
|
|
34
48
|
## Red flags
|
|
35
49
|
|