@mutmutco/kilo-plugin 3.125.0 → 3.127.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/package.json +1 -1
- package/scripts/hook-run.mjs +11 -1
- package/skills/bootstrap/SKILL.md +2 -0
- package/skills/browser-automation/SKILL.md +2 -0
- package/skills/hotfix/SKILL.md +2 -0
- package/skills/mmi-doctor/SKILL.md +2 -0
- package/skills/onboard/SKILL.md +2 -0
- package/skills/rcand/SKILL.md +2 -0
- package/skills/release/SKILL.md +2 -0
- package/skills/resume/SKILL.md +2 -0
- package/skills/secrets/SKILL.md +2 -0
- package/skills/stage/SKILL.md +2 -0
- package/skills/worktree/SKILL.md +2 -0
package/package.json
CHANGED
package/scripts/hook-run.mjs
CHANGED
|
@@ -343,7 +343,7 @@ export async function runPolicyGate({ surface, gate: gateId, input = Buffer.allo
|
|
|
343
343
|
hookSurface(surface);
|
|
344
344
|
const root = pluginRoot(surface, env, here);
|
|
345
345
|
const target = join(root, 'scripts', gate.script);
|
|
346
|
-
const normalizedInput = normalizeInput(surface, gateId, input);
|
|
346
|
+
const normalizedInput = normalizeInput(surface, gateId, stripUtf8Bom(input));
|
|
347
347
|
const effectiveEnv = childEnv(surface, normalizedInput, env);
|
|
348
348
|
let result;
|
|
349
349
|
|
|
@@ -395,6 +395,16 @@ export async function runPolicyGate({ surface, gate: gateId, input = Buffer.allo
|
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
+
/** #4878: Cursor's Windows payload transport pipes the hook payload through PowerShell with
|
|
399
|
+
* `$OutputEncoding = [System.Text.Encoding]::UTF8` — the BOM-EMITTING encoder — so the JSON arrives
|
|
400
|
+
* prefixed with EF BB BF. JSON.parse refuses a BOM, every parse in this chain (normalizeInput,
|
|
401
|
+
* payloadMeta, the gate scripts) came back empty, and the fail-open no-payload arm (#2992) silently
|
|
402
|
+
* waved the call through. Stripped once at the gate entry so every consumer parses the same bytes. */
|
|
403
|
+
function stripUtf8Bom(input) {
|
|
404
|
+
const buffer = Buffer.from(input);
|
|
405
|
+
return buffer[0] === 0xef && buffer[1] === 0xbb && buffer[2] === 0xbf ? buffer.subarray(3) : buffer;
|
|
406
|
+
}
|
|
407
|
+
|
|
398
408
|
function readStdin() {
|
|
399
409
|
try {
|
|
400
410
|
return readFileSync(0);
|
|
@@ -3,6 +3,8 @@ name: bootstrap
|
|
|
3
3
|
description: Provision a repo into the org with board, registry, rules, and plugin setup.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:bootstrap` · Codex `$mmi:bootstrap` · jervcode/Kimi `/skill:bootstrap` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /bootstrap — provision a repo into the org
|
|
7
9
|
|
|
8
10
|
The one-time onboarding that turns a repo into a first-class org citizen. **Master-admin only, run from
|
|
@@ -3,6 +3,8 @@ name: browser-automation
|
|
|
3
3
|
description: Use DOM-first Playwright MCP for browser work.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:browser-automation` · Codex `$mmi:browser-automation` · jervcode/Kimi `/skill:browser-automation` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# Browser automation — DOM-first Playwright MCP
|
|
7
9
|
|
|
8
10
|
Org standard for agent browser work on Claude Code. **Playwright** is the engine; agents interact through **structure-first** MCP tools, not pixels-first defaults.
|
package/skills/hotfix/SKILL.md
CHANGED
|
@@ -3,6 +3,8 @@ name: hotfix
|
|
|
3
3
|
description: Promote an already-merged development fix to main and production through the gated Hub train.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:hotfix` · Codex `$mmi:hotfix` · jervcode/Kimi `/skill:hotfix` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /hotfix — promote a development fix to main + prod
|
|
7
9
|
|
|
8
10
|
A hotfix is promotion, not authoring. The fix must land on `development` through a normal issue,
|
|
@@ -3,6 +3,8 @@ name: mmi-doctor
|
|
|
3
3
|
description: One hygiene pass — mmi-cli doctor heals and cleans by default.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:mmi-doctor` · Codex `$mmi:mmi-doctor` · jervcode/Kimi `/skill:mmi-doctor` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /mmi-doctor — one hygiene pass
|
|
7
9
|
|
|
8
10
|
One command. Run it when a session opens messy or before a handoff.
|
package/skills/onboard/SKILL.md
CHANGED
|
@@ -3,6 +3,8 @@ name: onboard
|
|
|
3
3
|
description: Guided first session — readiness check, repo status, and the first command to run.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:onboard` · Codex `$mmi:onboard` · jervcode/Kimi `/skill:onboard` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /onboard — guided first session
|
|
7
9
|
|
|
8
10
|
For a developer's first session in a repo (or a fresh checkout): confirm the repo is wired into the org,
|
package/skills/rcand/SKILL.md
CHANGED
|
@@ -3,6 +3,8 @@ name: rcand
|
|
|
3
3
|
description: Promote development to a release-candidate branch.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:rcand` · Codex `$mmi:rcand` · jervcode/Kimi `/skill:rcand` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /rcand — promote development to release-candidate
|
|
7
9
|
|
|
8
10
|
Merge `development → rc`, tag `vX.Y.0-rc.N`, push (the GitHub authority gate), then dispatch the rc deploy
|
package/skills/release/SKILL.md
CHANGED
|
@@ -3,6 +3,8 @@ name: release
|
|
|
3
3
|
description: Ship rc or direct-track development to main and production.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:release` · Codex `$mmi:release` · jervcode/Kimi `/skill:release` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /release — ship to main + prod
|
|
7
9
|
|
|
8
10
|
Full-track repos ship **exactly what is on `rc`** (never pulls `development`): merge `rc → main`, tag
|
package/skills/resume/SKILL.md
CHANGED
|
@@ -3,6 +3,8 @@ name: resume
|
|
|
3
3
|
description: Open a session — self-check, repo status, and the next actionable board item in one pass.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:resume` · Codex `$mmi:resume` · jervcode/Kimi `/skill:resume` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /resume — start of session
|
|
7
9
|
|
|
8
10
|
One flow to re-anchor at the top of a session: is the toolchain sound, what does this repo/worktree look
|
package/skills/secrets/SKILL.md
CHANGED
|
@@ -3,6 +3,8 @@ name: secrets
|
|
|
3
3
|
description: Manage the full own-project vault and granted org-infra secret names.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:secrets` · Codex `$mmi:secrets` · jervcode/Kimi `/skill:secrets` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /secrets — two-tier project secrets
|
|
7
9
|
|
|
8
10
|
**Authority:** a project-admin self-serves their own product repo's full vault tree (`mmi-cli oracle org access
|
package/skills/stage/SKILL.md
CHANGED
|
@@ -3,6 +3,8 @@ name: stage
|
|
|
3
3
|
description: Run a local test stage, or a personal cloud dev stage with --live.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:stage` · Codex `$mmi:stage` · jervcode/Kimi `/skill:stage` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /stage — local test environment
|
|
7
9
|
|
|
8
10
|
A throwaway **local** environment to exercise the current branch — a dev server / local stack, plus
|
package/skills/worktree/SKILL.md
CHANGED
|
@@ -3,6 +3,8 @@ name: worktree
|
|
|
3
3
|
description: Orchestrate a worktree from create to landed PR, tied to board status.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**Host-native invocation:** Claude `/mmi:worktree` · Codex `$mmi:worktree` · jervcode/Kimi `/skill:worktree` · Kilo `skill` tool. A backticked `/name` in this doc names the matching workflow (this skill or a sibling), not a literal command.
|
|
7
|
+
|
|
6
8
|
# /worktree — create → work → land
|
|
7
9
|
|
|
8
10
|
Drive an item through an isolated worktree: cut it from latest `development`, claim the board item, do the
|