@ionivetech/mugiwara 0.6.5 → 0.6.6
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 +2 -3
- package/.codex-plugin/plugin.json +1 -2
- package/.cursor-plugin/plugin.json +1 -2
- package/.kimi-plugin/plugin.json +1 -2
- package/.opencode/commands/mugiwara-continue.md +44 -31
- package/.opencode/commands/mugiwara-execute.md +1 -1
- package/.opencode/commands/mugiwara-heal.md +1 -1
- package/.opencode/commands/mugiwara-onboard.md +8 -9
- package/.opencode/commands/mugiwara-plan.md +1 -1
- package/.opencode/commands/mugiwara-review.md +1 -1
- package/.opencode/commands/mugiwara-security.md +1 -1
- package/.opencode/commands/mugiwara-ship.md +1 -1
- package/.opencode/commands/mugiwara.md +2 -2
- package/.opencode/plugins/mugiwara.mjs +1 -2
- package/AGENTS.md +1 -2
- package/README.md +33 -31
- package/content/agents/brook-healing.md +5 -8
- package/content/agents/chopper-checkpoint.md +8 -11
- package/content/agents/eval-runner.md +2 -5
- package/content/agents/franky-gates.md +4 -7
- package/content/agents/jinbe-security.md +4 -7
- package/content/agents/luffy-orchestrator.md +13 -13
- package/content/agents/memory-keeper.md +5 -8
- package/content/agents/nami-planner.md +4 -7
- package/content/agents/resume-coordinator.md +7 -10
- package/content/agents/robin-reviewer.md +6 -9
- package/content/agents/sanji-quality.md +7 -10
- package/content/agents/skeptic-verifier.md +5 -8
- package/content/agents/usopp-brainstorm.md +3 -6
- package/content/agents/zoro-execution.md +7 -10
- package/content/skills/mugiwara-backend/SKILL.md +2 -0
- package/content/skills/mugiwara-checkpoint/SKILL.md +13 -11
- package/content/skills/mugiwara-checkpoint/references/ledger-format.md +4 -4
- package/content/skills/mugiwara-context-budget/SKILL.md +5 -3
- package/content/skills/mugiwara-contract-first/SKILL.md +2 -0
- package/content/skills/mugiwara-execution/SKILL.md +20 -20
- package/content/skills/mugiwara-execution/references/dispatch.md +2 -2
- package/content/skills/mugiwara-execution/references/resume-batching.md +1 -1
- package/content/skills/mugiwara-frontend/SKILL.md +2 -4
- package/content/skills/mugiwara-gates/SKILL.md +8 -7
- package/content/skills/mugiwara-git/SKILL.md +7 -2
- package/content/skills/mugiwara-healing/SKILL.md +6 -4
- package/content/skills/mugiwara-healing/references/workers.md +2 -2
- package/content/skills/mugiwara-orchestration/SKILL.md +26 -24
- package/content/skills/mugiwara-orchestration/references/check-ins.md +16 -15
- package/content/skills/mugiwara-orchestration/references/closure.md +5 -5
- package/content/skills/mugiwara-orchestration/references/output-contract.md +9 -9
- package/content/skills/mugiwara-orchestration/references/triage-escalation.md +22 -22
- package/content/skills/mugiwara-planning/SKILL.md +3 -1
- package/content/skills/mugiwara-planning/references/plan-template.md +2 -2
- package/content/skills/mugiwara-pr/SKILL.md +6 -6
- package/content/skills/mugiwara-pr/references/verdict-format.md +3 -3
- package/content/skills/mugiwara-quality/SKILL.md +7 -7
- package/content/skills/mugiwara-resume/SKILL.md +18 -20
- package/content/skills/mugiwara-review/SKILL.md +5 -1
- package/content/skills/mugiwara-review/references/five-axis-worksheet.md +1 -1
- package/content/skills/mugiwara-root-cause/SKILL.md +2 -0
- package/content/skills/mugiwara-security/SKILL.md +5 -1
- package/content/skills/mugiwara-ship/SKILL.md +1 -1
- package/content/skills/mugiwara-ship/references/cleanup.md +1 -1
- package/content/skills/mugiwara-testcases/SKILL.md +5 -3
- package/content/skills/mugiwara-workflow/SKILL.md +27 -27
- package/content/skills/mugiwara-workflow/references/workspace-layout.md +15 -15
- package/content/skills/using-mugiwara/SKILL.md +5 -5
- package/dist/mugiwara.js +808 -33
- package/gemini-extension.json +1 -1
- package/hooks/auto-savepoint.js +106 -0
- package/hooks/auto-savepoint.ts +102 -0
- package/hooks/engagement-marker.js +59 -0
- package/hooks/engagement-marker.ts +97 -0
- package/hooks/hooks.json +41 -2
- package/hooks/mugiwara-mode-tracker.js +79 -0
- package/hooks/pipeline-guard.js +182 -0
- package/hooks/pipeline-guard.ts +267 -0
- package/hooks/session-start.js +106 -0
- package/hooks/session-start.ts +44 -32
- package/package.json +7 -3
- package/plugin.json +1 -1
- package/references/agent-protocol.md +15 -0
- package/references/complexity.md +54 -0
- package/references/definition-of-done.md +1 -1
- package/references/multi-actor.md +5 -5
- package/references/skill-versioning.md +1 -1
- package/references/token-budget.md +30 -8
- package/references/wave-banners.md +16 -16
- package/scripts/build-hooks.ts +56 -0
- package/scripts/conformance.ts +17 -0
- package/scripts/coverage-gate.ts +179 -0
- package/scripts/install.ps1 +5 -4
- package/scripts/install.sh +4 -4
- package/scripts/lane.sh +6 -2
- package/scripts/lib/patterns.sh +84 -0
- package/scripts/mission-report.sh +12 -11
- package/scripts/savepoint.sh +141 -37
- package/scripts/verify-install.ts +154 -44
- package/src/args.ts +1 -1
- package/src/cli.ts +217 -0
- package/src/continue.ts +243 -0
- package/src/installer.ts +39 -0
- package/src/onboard.ts +207 -0
- package/src/run.ts +82 -0
- package/src/targets/claude.ts +140 -2
- package/src/targets/copilot.ts +20 -1
- package/src/targets/generic.ts +9 -4
- package/src/targets/opencode.ts +0 -1
- package/content/agents/onboarding-guide.md +0 -124
- package/content/skills/mugiwara-security/references/owasp-mapping.md +0 -30
- package/scripts/onboard.ts +0 -266
- package/scripts/probe.ts +0 -40
|
@@ -11,35 +11,35 @@ mission artifact in any other language is a defect, not a style choice.
|
|
|
11
11
|
```
|
|
12
12
|
.mugiwara/
|
|
13
13
|
├── config → runtime mode config (gitignored; project overrides global)
|
|
14
|
-
├── state/<mission>/ → computed mission state per (mission, member): state.json (solo) or <member>.json (
|
|
14
|
+
├── state/<mission>/ → computed mission state per (mission, member): state.json (solo) or <member>.json (mugiwara savepoint)
|
|
15
15
|
├── continue/<mission>/ → machine-written resume point per (mission, member): state.json (solo) or <member>.json
|
|
16
16
|
├── spec/ → brainstorm output: YYYY-MM-DD-<mission>.md
|
|
17
|
-
├── plans/ → plan doc: YYYY-MM-DD-<mission>.md — CLEAN, Nami-only, source of truth from
|
|
18
|
-
├── results/ → per-mission folder: results/<mission>/ holds every
|
|
17
|
+
├── plans/ → plan doc: YYYY-MM-DD-<mission>.md — CLEAN, Nami-only, source of truth from Flow 2
|
|
18
|
+
├── results/ → per-mission folder: results/<mission>/ holds every flow-stage artifact
|
|
19
19
|
│ └── <mission>/
|
|
20
|
-
│ ├── 01-execution.md →
|
|
21
|
-
│ ├── 02-audit.md →
|
|
22
|
-
│ ├── 03-quality.md →
|
|
23
|
-
│ ├── 04-gates.md →
|
|
24
|
-
│ ├── 05-healing.md →
|
|
25
|
-
│ ├── 06-closure.md →
|
|
26
|
-
│ ├── 07-pr-verdict.md →
|
|
20
|
+
│ ├── 01-execution.md → flow stage 3: task table + evidence
|
|
21
|
+
│ ├── 02-audit.md → flow stage 4: checkpoint report
|
|
22
|
+
│ ├── 03-quality.md → flow stage 5: quality report
|
|
23
|
+
│ ├── 04-gates.md → flow stage 6: gate verdict
|
|
24
|
+
│ ├── 05-healing.md → flow 8: healing report (only when heal ran)
|
|
25
|
+
│ ├── 06-closure.md → flow stage 9: closure summary (KEEP at cleanup)
|
|
26
|
+
│ ├── 07-pr-verdict.md → flow stage 9: PR material (KEEP at cleanup)
|
|
27
27
|
│ └── todos.md → execution checkbox list
|
|
28
|
-
├── reports/ → mission report (aggregate): YYYY-MM-DD-<mission>.md — one-file summary of all
|
|
28
|
+
├── reports/ → mission report (aggregate): YYYY-MM-DD-<mission>.md — one-file summary of all flow stages
|
|
29
29
|
├── review/ → review + security findings
|
|
30
30
|
├── issues/ → blocker log: YYYY-MM-DD-<mission>-blockers.md
|
|
31
31
|
└── logs/ → Luffy's decision + check-in log: YYYY-MM-DD-<mission>.md (deleted at cleanup)
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Naming rule: every artifact inside `results/<mission>/` uses the SAME mission
|
|
35
|
-
name, no date prefix — the folder is the grouping, numbered by
|
|
35
|
+
name, no date prefix — the folder is the grouping, numbered by flow-stage order
|
|
36
36
|
(`01-`, `02-`, …). Unnumbered support files may sit alongside the numbered
|
|
37
37
|
ones (`todos.md`, `resume.md`, `eval.md`, evidence logs) and are not part of
|
|
38
|
-
the
|
|
38
|
+
the flow-stages table. `reports/` and `logs/` and `plans/` files carry the
|
|
39
39
|
`YYYY-MM-DD-` date prefix because they are cross-mission folders; `results/`
|
|
40
40
|
does not, because each mission owns its folder.
|
|
41
41
|
|
|
42
|
-
The plan doc stays clean: it holds ONLY the execution plan (
|
|
42
|
+
The plan doc stays clean: it holds ONLY the execution plan (flow stages, tasks,
|
|
43
43
|
criteria, risks). Who did what, route decisions, and check-in verdicts go to
|
|
44
44
|
`logs/`; the closure report goes to `results/<mission>/06-closure.md`. Nothing
|
|
45
45
|
non-plan pollutes the plan doc.
|
|
@@ -47,7 +47,7 @@ non-plan pollutes the plan doc.
|
|
|
47
47
|
The owning agent creates the folder it needs on first write. No mission
|
|
48
48
|
artifacts go outside `.mugiwara/`.
|
|
49
49
|
|
|
50
|
-
## Cleanup (
|
|
50
|
+
## Cleanup (Flow 9)
|
|
51
51
|
|
|
52
52
|
Step results are evidence — KEEP every file in `results/<mission>/`
|
|
53
53
|
(`01-execution.md` through `05-healing.md`, `todos.md`, `06-closure.md`,
|
|
@@ -14,12 +14,12 @@ Mugiwara is a governed engineering team in your coding agent. 12 specialists —
|
|
|
14
14
|
|
|
15
15
|
1. `mugiwara-orchestration` auto-loads as gatekeeper for every task — classify, route, check-in, close.
|
|
16
16
|
2. The pipeline: Luffy triage → Usopp brainstorm → Nami plan → Zoro execute → Chopper audit → Sanji quality → Franky gates → Robin/Jinbe review → Brook heal → Luffy closure.
|
|
17
|
-
3. Every
|
|
18
|
-
4. Evidence over claims — no
|
|
19
|
-
5. Autonomy modes: `/mugiwara guided|semi|auto`. Flip applies next
|
|
17
|
+
3. Every flow stage runs inline in the main thread. Subagents only for [PARALLEL] task batches.
|
|
18
|
+
4. Evidence over claims — no flow stage passes on assertion. Checks must be re-run.
|
|
19
|
+
5. Autonomy modes: `/mugiwara guided|semi|auto`. Flip applies next flow stage.
|
|
20
20
|
6. Workspace: `.mugiwara/` at repo root — plans, results, issues, logs, state.
|
|
21
21
|
7. The main thread embodies the active role — it is never "plain Claude"
|
|
22
|
-
mid-mission. Shortcuts skip
|
|
22
|
+
mid-mission. Shortcuts skip flow stages, never roles. Write-scope in each agent's
|
|
23
23
|
frontmatter: artifacts agents delegate source edits to Zoro, never attempt
|
|
24
24
|
them.
|
|
25
25
|
|
|
@@ -42,7 +42,7 @@ Mugiwara is a governed engineering team in your coding agent. 12 specialists —
|
|
|
42
42
|
For task routing and classification, `mugiwara-orchestration` auto-loads as gatekeeper.
|
|
43
43
|
This skill is documentation — load manually with `/using-mugiwara` or similar trigger phrases.
|
|
44
44
|
Full pipeline: see skills/mugiwara-workflow.
|
|
45
|
-
First time? Run
|
|
45
|
+
First time? Run `mugiwara onboard` in your terminal for guided setup (zero-LLM wizard, writes `.mugiwara/config`).
|
|
46
46
|
|
|
47
47
|
## Red flags
|
|
48
48
|
|