@ionivetech/mugiwara 0.5.5 → 0.6.1

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.
Files changed (151) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +3 -2
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.cursor-plugin/plugin.json +1 -1
  5. package/.kimi-plugin/plugin.json +1 -1
  6. package/.opencode/commands/mugiwara-continue.md +16 -0
  7. package/.opencode/commands/mugiwara-execute.md +6 -4
  8. package/.opencode/commands/mugiwara-heal.md +6 -4
  9. package/.opencode/commands/mugiwara-plan.md +6 -4
  10. package/.opencode/commands/mugiwara-review.md +6 -4
  11. package/.opencode/commands/mugiwara-security.md +6 -4
  12. package/.opencode/commands/mugiwara-ship.md +6 -4
  13. package/.opencode/commands/mugiwara.md +4 -2
  14. package/.opencode/commands/using-mugiwara.md +7 -13
  15. package/.opencode/mugiwara-helpers.mjs +24 -0
  16. package/.opencode/plugins/mugiwara.mjs +28 -8
  17. package/AGENTS.md +1 -1
  18. package/GEMINI.md +1 -1
  19. package/README.md +311 -127
  20. package/content/agents/brook-healing.md +17 -3
  21. package/content/agents/chopper-checkpoint.md +17 -3
  22. package/content/agents/eval-runner.md +17 -2
  23. package/content/agents/franky-gates.md +19 -5
  24. package/content/agents/jinbe-security.md +19 -3
  25. package/content/agents/luffy-orchestrator.md +6 -3
  26. package/content/agents/memory-keeper.md +15 -0
  27. package/content/agents/nami-planner.md +21 -6
  28. package/content/agents/onboarding-guide.md +145 -0
  29. package/content/agents/resume-coordinator.md +21 -5
  30. package/content/agents/robin-reviewer.md +18 -3
  31. package/content/agents/sanji-quality.md +19 -4
  32. package/content/agents/skeptic-verifier.md +18 -3
  33. package/content/agents/usopp-brainstorm.md +17 -3
  34. package/content/agents/zoro-execution.md +18 -3
  35. package/content/skills/mugiwara-backend/SKILL.md +1 -1
  36. package/content/skills/mugiwara-brainstorm/SKILL.md +12 -1
  37. package/content/skills/mugiwara-checkpoint/SKILL.md +2 -2
  38. package/content/skills/mugiwara-contract-first/SKILL.md +2 -36
  39. package/content/skills/mugiwara-contract-first/references/process.md +37 -0
  40. package/content/skills/mugiwara-execution/SKILL.md +51 -34
  41. package/content/skills/mugiwara-execution/references/dispatch.md +41 -0
  42. package/content/skills/mugiwara-execution/references/resume-batching.md +32 -0
  43. package/content/skills/mugiwara-frontend/SKILL.md +1 -1
  44. package/content/skills/mugiwara-gates/SKILL.md +32 -30
  45. package/content/skills/mugiwara-healing/SKILL.md +1 -1
  46. package/content/skills/mugiwara-orchestration/SKILL.md +59 -39
  47. package/content/skills/mugiwara-orchestration/references/closure.md +34 -0
  48. package/content/skills/mugiwara-orchestration/references/delegation-pillars.md +40 -0
  49. package/content/skills/mugiwara-orchestration/references/triage-escalation.md +97 -0
  50. package/content/skills/mugiwara-planning/SKILL.md +29 -27
  51. package/content/skills/mugiwara-planning/references/plan-template.md +42 -0
  52. package/content/skills/mugiwara-pr/SKILL.md +9 -2
  53. package/content/skills/mugiwara-quality/SKILL.md +17 -6
  54. package/content/skills/mugiwara-resume/SKILL.md +7 -2
  55. package/content/skills/mugiwara-review/SKILL.md +20 -1
  56. package/content/skills/mugiwara-review/references/code-attributes.md +38 -0
  57. package/content/skills/mugiwara-root-cause/SKILL.md +3 -30
  58. package/content/skills/mugiwara-root-cause/references/process.md +35 -0
  59. package/content/skills/mugiwara-security/SKILL.md +17 -32
  60. package/content/skills/mugiwara-security/references/owasp-top10.md +12 -0
  61. package/content/skills/mugiwara-security/references/rationalizations.md +8 -0
  62. package/content/skills/mugiwara-ship/SKILL.md +13 -10
  63. package/content/skills/mugiwara-testcases/SKILL.md +7 -0
  64. package/content/skills/mugiwara-workflow/SKILL.md +74 -77
  65. package/content/skills/mugiwara-workflow/references/workspace-layout.md +50 -0
  66. package/content/skills/using-mugiwara/SKILL.md +13 -18
  67. package/dist/mugiwara.js +293 -47
  68. package/gemini-extension.json +1 -1
  69. package/hooks/mugiwara-mode-tracker.ts +0 -0
  70. package/hooks/session-start.ts +1 -1
  71. package/package.json +11 -4
  72. package/plugin.json +1 -1
  73. package/references/multi-actor.md +1 -1
  74. package/scripts/evidence.sh +28 -6
  75. package/scripts/gate-selftest.ts +317 -0
  76. package/scripts/initiative.ts +262 -0
  77. package/scripts/lane.sh +18 -1
  78. package/scripts/mission-report.sh +237 -36
  79. package/scripts/onboard.ts +292 -0
  80. package/scripts/release-notes.ts +42 -13
  81. package/scripts/savepoint.sh +151 -60
  82. package/scripts/validate-content.ts +97 -0
  83. package/scripts/verify-install.ts +72 -0
  84. package/src/cli.ts +20 -3
  85. package/src/installer.ts +71 -8
  86. package/src/mission.ts +117 -5
  87. package/src/targets/claude.ts +45 -9
  88. package/src/targets/generic.ts +1 -1
  89. package/src/targets/opencode.ts +31 -10
  90. package/docs/concepts/agents.md +0 -53
  91. package/docs/concepts/audit-trail.md +0 -65
  92. package/docs/concepts/comparison.md +0 -58
  93. package/docs/concepts/config.md +0 -55
  94. package/docs/concepts/cost.md +0 -45
  95. package/docs/concepts/execution-model.md +0 -92
  96. package/docs/concepts/git-strategy.md +0 -62
  97. package/docs/concepts/lanes.md +0 -82
  98. package/docs/concepts/modes.md +0 -73
  99. package/docs/concepts/pr-summary.md +0 -54
  100. package/docs/concepts/skills.md +0 -55
  101. package/docs/concepts/workflow.md +0 -89
  102. package/docs/getting-started.md +0 -158
  103. package/docs/index.md +0 -56
  104. package/docs/install/antigravity.md +0 -45
  105. package/docs/install/claude.md +0 -77
  106. package/docs/install/cli.md +0 -115
  107. package/docs/install/codex.md +0 -44
  108. package/docs/install/copilot.md +0 -45
  109. package/docs/install/cursor.md +0 -45
  110. package/docs/install/gemini.md +0 -44
  111. package/docs/install/index.md +0 -53
  112. package/docs/install/kimi.md +0 -45
  113. package/docs/install/opencode.md +0 -143
  114. package/docs/install/pi.md +0 -46
  115. package/docs/reference/adoption-guide.md +0 -72
  116. package/docs/reference/agent-anatomy.md +0 -72
  117. package/docs/reference/compliance-matrix.md +0 -81
  118. package/docs/reference/developer-onboarding.md +0 -89
  119. package/docs/reference/enforcement.md +0 -35
  120. package/docs/reference/harness-matrix.md +0 -41
  121. package/docs/reference/skill-anatomy.md +0 -71
  122. package/docs/troubleshooting.md +0 -91
  123. package/evals/cases/_no-skill.json +0 -16
  124. package/evals/cases/adversarial-pressure-fake-pass.json +0 -25
  125. package/evals/cases/adversarial-pressure-skip-review.json +0 -25
  126. package/evals/cases/lane-exploratory-vague.json +0 -24
  127. package/evals/cases/lane-sensitivity-payment.json +0 -24
  128. package/evals/cases/positive-refactor-existing-tests.json +0 -25
  129. package/evals/cases/positive-resume-mid-mission.json +0 -24
  130. package/evals/cases/routing-agent-security.json +0 -25
  131. package/evals/cases/routing-auth-feature.json +0 -26
  132. package/evals/cases/routing-backend.json +0 -25
  133. package/evals/cases/routing-bug-one-file.json +0 -26
  134. package/evals/cases/routing-claim-audit.json +0 -25
  135. package/evals/cases/routing-context-budget.json +0 -25
  136. package/evals/cases/routing-contract-first.json +0 -25
  137. package/evals/cases/routing-execution.json +0 -25
  138. package/evals/cases/routing-frontend.json +0 -26
  139. package/evals/cases/routing-gates.json +0 -25
  140. package/evals/cases/routing-git.json +0 -25
  141. package/evals/cases/routing-healing.json +0 -25
  142. package/evals/cases/routing-lessons.json +0 -25
  143. package/evals/cases/routing-orchestration.json +0 -25
  144. package/evals/cases/routing-planning.json +0 -26
  145. package/evals/cases/routing-pr.json +0 -25
  146. package/evals/cases/routing-quality.json +0 -25
  147. package/evals/cases/routing-ship.json +0 -26
  148. package/evals/cases/routing-sunset.json +0 -25
  149. package/evals/cases/routing-using-mugiwara.json +0 -25
  150. package/evals/cases/routing-workflow.json +0 -25
  151. package/evals/floor.json +0 -6
@@ -1,25 +0,0 @@
1
- {
2
- "name": "routing-lessons",
3
- "skill": "mugiwara-lessons",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "capture what we learned from this mission", "top_k": 3 },
7
- { "prompt": "read past lessons before starting the new mission", "top_k": 3 },
8
- { "prompt": "update the cross-mission lessons ledger with new insights", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "log this error in the application monitoring system" },
12
- { "prompt": "write a retrospective document for the team" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "The mission is complete. Capture lessons learned and append them to the cross-mission ledger.",
18
- "rubric": [
19
- "reads past lessons at triage",
20
- "captures new lessons at closure",
21
- "appends to the append-only ledger"
22
- ]
23
- }
24
- ]
25
- }
@@ -1,25 +0,0 @@
1
- {
2
- "name": "routing-orchestration",
3
- "skill": "mugiwara-orchestration",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "triage this new feature request and decide the lane size", "top_k": 3 },
7
- { "prompt": "classify this mission and coordinate the execution waves", "top_k": 3 },
8
- { "prompt": "captain a new mission — classify, size, dispatch, check in", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "implement the feature described in the ticket" },
12
- { "prompt": "write code for the database migration" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "A new mission request arrived. Classify it, size the lane, and dispatch the appropriate waves.",
18
- "rubric": [
19
- "performs 5-way classification before any action",
20
- "sizes the lane based on sensitivity and scope",
21
- "coordinates waves without implementing code"
22
- ]
23
- }
24
- ]
25
- }
@@ -1,26 +0,0 @@
1
- {
2
- "name": "routing-planning",
3
- "skill": "mugiwara-planning",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "turn this spec into an execution plan with parallel waves", "top_k": 3 },
7
- { "prompt": "plan the implementation approach before writing any code", "top_k": 3 },
8
- { "prompt": "break down the feature into tasks and estimate the effort", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "just write the code for this simple bug fix" },
12
- { "prompt": "brainstorm different architecture options" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "Turn the approved feature spec into a detailed execution plan with parallel-proof waves and context scan.",
18
- "rubric": [
19
- "interviews before planning",
20
- "performs a full context scan",
21
- "produces parallel-proof waves",
22
- "scales the plan to the request scope"
23
- ]
24
- }
25
- ]
26
- }
@@ -1,25 +0,0 @@
1
- {
2
- "name": "routing-pr",
3
- "skill": "mugiwara-pr",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "push this branch and prepare the pull request description", "top_k": 3 },
7
- { "prompt": "write the PR summary with a verdict file", "top_k": 3 },
8
- { "prompt": "prepare the branch for review, push it and generate PR material", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "merge this pull request into main" },
12
- { "prompt": "create a release tag for this version" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "The mission is complete. Push the branch and prepare PR material including a verdict file.",
18
- "rubric": [
19
- "does a plain git push",
20
- "generates a verdict file with ready PR summary",
21
- "never creates the PR, merges, or deploys"
22
- ]
23
- }
24
- ]
25
- }
@@ -1,25 +0,0 @@
1
- {
2
- "name": "routing-quality",
3
- "skill": "mugiwara-quality",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "run eslint and prettier on the changed files", "top_k": 3 },
7
- { "prompt": "format the code and run the linter before committing", "top_k": 3 },
8
- { "prompt": "run the project test suite and check for lint errors", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "check if the coverage threshold is met" },
12
- { "prompt": "review the diff for breaking changes" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "After the checkpoint passes, run the formatter, linter, and unit tests for the project.",
18
- "rubric": [
19
- "discovers the project's lint and format tooling",
20
- "runs the unit test suite",
21
- "never weakens or changes existing configs"
22
- ]
23
- }
24
- ]
25
- }
@@ -1,26 +0,0 @@
1
- {
2
- "name": "routing-ship",
3
- "skill": "mugiwara-ship",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "run the pre-launch checklist and give a go no-go decision", "top_k": 3 },
7
- { "prompt": "prepare the staged rollout plan with a rollback strategy", "top_k": 3 },
8
- { "prompt": "verify feature flags and ship checklist before deployment", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "push the branch to GitHub" },
12
- { "prompt": "deploy the build artifact to the server" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "The mission is complete and all gates passed. Run the pre-launch checklist and give a GO/NO-GO.",
18
- "rubric": [
19
- "runs the pre-launch checklist",
20
- "checks feature flags and staged rollout plan",
21
- "requires a mandatory rollback plan",
22
- "gives a binary GO/NO-GO verdict"
23
- ]
24
- }
25
- ]
26
- }
@@ -1,25 +0,0 @@
1
- {
2
- "name": "routing-sunset",
3
- "skill": "mugiwara-sunset",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "remove the old v1 API endpoints and retire them safely", "top_k": 3 },
7
- { "prompt": "delete the legacy payment module and migrate to v2", "top_k": 3 },
8
- { "prompt": "deprecate this old endpoint and phase it out over two releases", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "add a new version of the payment API" },
12
- { "prompt": "refactor the v2 endpoint handler for performance" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "Retire the legacy v1 payment endpoints. They have been replaced by v2 for 6 months.",
18
- "rubric": [
19
- "runs the keep-or-retire gate before any removal",
20
- "plans a phased cutover with safe DB migrations",
21
- "every removal has a tested way back"
22
- ]
23
- }
24
- ]
25
- }
@@ -1,25 +0,0 @@
1
- {
2
- "name": "routing-using-mugiwara",
3
- "skill": "using-mugiwara",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "how do I use mugiwara to accomplish a task?", "top_k": 3 },
7
- { "prompt": "what crew members are available?", "top_k": 3 },
8
- { "prompt": "route this task to the right specialist", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "what does git status do?" },
12
- { "prompt": "run npm install for me" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "Explain how mugiwara works and route a simple task.",
18
- "rubric": [
19
- "explains the crew structure",
20
- "classifies the task correctly",
21
- "routes to the right specialist"
22
- ]
23
- }
24
- ]
25
- }
@@ -1,25 +0,0 @@
1
- {
2
- "name": "routing-workflow",
3
- "skill": "mugiwara-workflow",
4
- "trigger": {
5
- "positive": [
6
- { "prompt": "start a new mission for this feature — run the full pipeline", "top_k": 3 },
7
- { "prompt": "run the complete workflow from triage to closure", "top_k": 3 },
8
- { "prompt": "we have a non-trivial task, kick off the 9-wave pipeline", "top_k": 3 }
9
- ],
10
- "negative": [
11
- { "prompt": "fix this one-line typo in the README" },
12
- { "prompt": "just run the tests and close the mission" }
13
- ]
14
- },
15
- "behavioral": [
16
- {
17
- "task": "A new non-trivial feature request arrived. Run the full mugiwara pipeline from triage to closure.",
18
- "rubric": [
19
- "starts with Luffy triage gateway",
20
- "sequences through brainstorm/plan/execute/checkpoint/quality/gates/review/heal/closure waves",
21
- "does not skip waves for non-trivial missions"
22
- ]
23
- }
24
- ]
25
- }
package/evals/floor.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "rank1": 88.2,
3
- "topk": 98.7,
4
- "negatives": 100,
5
- "updated": "2026-08-11"
6
- }