@bonesofspring/ai-rules 0.2.80 → 0.2.84
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/CHANGELOG.md +50 -0
- package/bin/lib/merged-config.js +49 -0
- package/bin/lib/seed-ai-local-team.js +2 -0
- package/bin/mavis-install.js +53 -3
- package/docs/MAVIS-COMPATIBILITY.md +136 -8
- package/docs/PRESET-CONTRIBUTION.md +9 -0
- package/package.json +4 -1
- package/presets/_shared/ai-local/scripts/check-task-repositories.mjs +20 -2
- package/presets/_shared/ai-local/scripts/check-verification.mjs +13 -6
- package/presets/_shared/ai-local/scripts/rr-migrate-repositories.mjs +66 -16
- package/presets/_shared/ai-local/scripts/run-compact.mjs +38 -10
- package/presets/_shared/core/agent-team/agent-team-orchestrator.md +1 -0
- package/presets/_shared/core/review/code-review-mr.md +19 -4
- package/presets/_shared/hooks/chain-team-phases.sh.tmpl +40 -0
- package/presets/_shared/hooks/compact-shell-output.mjs +16 -1
- package/presets/claude/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/claude/android-kotlin/commands/update.md +1 -0
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/claude/go/agents/code-reviewer.md +5 -1
- package/presets/claude/go/commands/update.md +1 -0
- package/presets/claude/go/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/go/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/go/skills/code-review/SKILL.md +2 -1
- package/presets/claude/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/claude/ios-swift/commands/update.md +1 -0
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/claude/java/agents/code-reviewer.md +5 -1
- package/presets/claude/java/commands/update.md +1 -0
- package/presets/claude/java/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/java/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/java/skills/code-review/SKILL.md +2 -1
- package/presets/claude/mcp-ts/commands/update.md +1 -0
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/mol/REPO_AGENTS.md +1 -1
- package/presets/claude/mol/agents/code-reviewer.md +5 -1
- package/presets/claude/mol/agents/task-router.md +1 -1
- package/presets/claude/mol/commands/update.md +1 -0
- package/presets/claude/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/mol/rules/tooling-and-review/code-review-mr.md +19 -4
- package/presets/claude/mol/skills/code-review/SKILL.md +2 -1
- package/presets/claude/next/REPO_AGENTS.md +1 -1
- package/presets/claude/next/agents/code-reviewer.md +5 -1
- package/presets/claude/next/agents/task-router.md +1 -1
- package/presets/claude/next/commands/update.md +1 -0
- package/presets/claude/next/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +19 -4
- package/presets/claude/next/skills/code-review/SKILL.md +2 -1
- package/presets/claude/nuxt/agents/code-reviewer.md +5 -1
- package/presets/claude/nuxt/agents/task-router.md +1 -1
- package/presets/claude/nuxt/commands/update.md +1 -0
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +19 -4
- package/presets/claude/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/claude/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/claude/php-hexagonal/commands/update.md +1 -0
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/claude/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/claude/php-laravel/commands/update.md +1 -0
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +19 -4
- package/presets/claude/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/claude/svelte/agents/code-reviewer.md +5 -1
- package/presets/claude/svelte/agents/task-router.md +1 -1
- package/presets/claude/svelte/commands/update.md +1 -0
- package/presets/claude/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +19 -4
- package/presets/claude/svelte/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/cursor/android-kotlin/commands/update.md +1 -0
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/android-kotlin/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/android-kotlin/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/go/agents/code-reviewer.md +5 -1
- package/presets/cursor/go/commands/update.md +1 -0
- package/presets/cursor/go/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/go/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/go/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/go/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/cursor/ios-swift/commands/update.md +1 -0
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/ios-swift/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/ios-swift/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/java/agents/code-reviewer.md +5 -1
- package/presets/cursor/java/commands/update.md +1 -0
- package/presets/cursor/java/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/java/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/java/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/java/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/mcp-ts/commands/update.md +1 -0
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/mcp-ts/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/mcp-ts/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/mol/REPO_AGENTS.md +1 -1
- package/presets/cursor/mol/agents/code-reviewer.md +5 -1
- package/presets/cursor/mol/agents/task-router.md +1 -1
- package/presets/cursor/mol/commands/update.md +1 -0
- package/presets/cursor/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/mol/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/mol/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/mol/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/next/REPO_AGENTS.md +1 -1
- package/presets/cursor/next/agents/code-reviewer.md +5 -1
- package/presets/cursor/next/agents/task-router.md +1 -1
- package/presets/cursor/next/commands/update.md +1 -0
- package/presets/cursor/next/hooks/README.md +2 -0
- package/presets/cursor/next/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/next/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/next/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/next/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/nuxt/agents/code-reviewer.md +5 -1
- package/presets/cursor/nuxt/agents/task-router.md +1 -1
- package/presets/cursor/nuxt/commands/update.md +1 -0
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/nuxt/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/nuxt/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/cursor/php-hexagonal/commands/update.md +1 -0
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/php-hexagonal/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/php-hexagonal/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/cursor/php-laravel/commands/update.md +1 -0
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/php-laravel/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/php-laravel/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/cursor/svelte/agents/code-reviewer.md +5 -1
- package/presets/cursor/svelte/agents/task-router.md +1 -1
- package/presets/cursor/svelte/commands/update.md +1 -0
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/cursor/svelte/hooks/compact-shell-output.mjs +16 -1
- package/presets/cursor/svelte/rules/code-review-mr.mdc +19 -4
- package/presets/cursor/svelte/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/android-kotlin/MAVIS.md +9 -3
- package/presets/mavis/android-kotlin/README.md +3 -1
- package/presets/mavis/android-kotlin/adapter-map.json +104 -44
- package/presets/mavis/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/mavis/android-kotlin/commands/update.md +1 -0
- package/presets/mavis/android-kotlin/hooks/README.md +29 -7
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/android-kotlin/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/android-kotlin/hooks/run-hook.mjs +103 -0
- package/presets/mavis/android-kotlin/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/android-kotlin/native-skills/README.md +15 -0
- package/presets/mavis/android-kotlin/native-skills/ci-investigation/SKILL.md +53 -0
- package/presets/mavis/android-kotlin/native-skills/code-review/SKILL.md +62 -0
- package/presets/mavis/android-kotlin/native-skills/debug-investigation/SKILL.md +72 -0
- package/presets/mavis/android-kotlin/native-skills/feature-delivery/SKILL.md +51 -0
- package/presets/mavis/android-kotlin/native-skills/instrumentation-ui-e2e/SKILL.md +23 -0
- package/presets/mavis/android-kotlin/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/android-kotlin/native-skills/mockup-review/SKILL.md +34 -0
- package/presets/mavis/android-kotlin/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/android-kotlin/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/android-kotlin/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/android-kotlin/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/android-kotlin/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/android-kotlin/native-skills/task/SKILL.md +79 -0
- package/presets/mavis/android-kotlin/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/android-kotlin/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/android-kotlin/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/android-kotlin/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/android-kotlin/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/android-kotlin/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/android-kotlin/rules/code-review-mr.md +19 -4
- package/presets/mavis/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/go/MAVIS.md +9 -3
- package/presets/mavis/go/README.md +3 -1
- package/presets/mavis/go/adapter-map.json +94 -40
- package/presets/mavis/go/agents/code-reviewer.md +5 -1
- package/presets/mavis/go/commands/update.md +1 -0
- package/presets/mavis/go/hooks/README.md +29 -7
- package/presets/mavis/go/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/go/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/go/hooks/run-hook.mjs +103 -0
- package/presets/mavis/go/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/go/native-skills/README.md +15 -0
- package/presets/mavis/go/native-skills/ci-investigation/SKILL.md +24 -0
- package/presets/mavis/go/native-skills/code-review/SKILL.md +48 -0
- package/presets/mavis/go/native-skills/debug-investigation/SKILL.md +55 -0
- package/presets/mavis/go/native-skills/feature-delivery/SKILL.md +43 -0
- package/presets/mavis/go/native-skills/integration-testing/SKILL.md +21 -0
- package/presets/mavis/go/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/go/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/go/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/go/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/go/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/go/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/go/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/go/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/go/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/go/native-skills/unit-testing/SKILL.md +20 -0
- package/presets/mavis/go/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/go/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/go/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/go/rules/code-review-mr.md +19 -4
- package/presets/mavis/go/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/ios-swift/MAVIS.md +9 -3
- package/presets/mavis/ios-swift/README.md +3 -1
- package/presets/mavis/ios-swift/adapter-map.json +104 -44
- package/presets/mavis/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/mavis/ios-swift/commands/update.md +1 -0
- package/presets/mavis/ios-swift/hooks/README.md +29 -7
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/ios-swift/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/ios-swift/hooks/run-hook.mjs +103 -0
- package/presets/mavis/ios-swift/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/ios-swift/native-skills/README.md +15 -0
- package/presets/mavis/ios-swift/native-skills/ci-investigation/SKILL.md +53 -0
- package/presets/mavis/ios-swift/native-skills/code-review/SKILL.md +62 -0
- package/presets/mavis/ios-swift/native-skills/debug-investigation/SKILL.md +72 -0
- package/presets/mavis/ios-swift/native-skills/feature-delivery/SKILL.md +51 -0
- package/presets/mavis/ios-swift/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/ios-swift/native-skills/mockup-review/SKILL.md +34 -0
- package/presets/mavis/ios-swift/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/ios-swift/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/ios-swift/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/ios-swift/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/ios-swift/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/ios-swift/native-skills/task/SKILL.md +79 -0
- package/presets/mavis/ios-swift/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/ios-swift/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/ios-swift/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/ios-swift/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/ios-swift/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/ios-swift/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/ios-swift/native-skills/xcuitest-e2e/SKILL.md +39 -0
- package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/ios-swift/rules/code-review-mr.md +19 -4
- package/presets/mavis/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/java/MAVIS.md +9 -3
- package/presets/mavis/java/README.md +3 -1
- package/presets/mavis/java/adapter-map.json +94 -40
- package/presets/mavis/java/agents/code-reviewer.md +5 -1
- package/presets/mavis/java/commands/update.md +1 -0
- package/presets/mavis/java/hooks/README.md +29 -7
- package/presets/mavis/java/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/java/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/java/hooks/run-hook.mjs +103 -0
- package/presets/mavis/java/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/java/native-skills/README.md +15 -0
- package/presets/mavis/java/native-skills/ci-investigation/SKILL.md +24 -0
- package/presets/mavis/java/native-skills/code-review/SKILL.md +48 -0
- package/presets/mavis/java/native-skills/debug-investigation/SKILL.md +55 -0
- package/presets/mavis/java/native-skills/feature-delivery/SKILL.md +43 -0
- package/presets/mavis/java/native-skills/integration-testing/SKILL.md +21 -0
- package/presets/mavis/java/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/java/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/java/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/java/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/java/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/java/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/java/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/java/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/java/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/java/native-skills/unit-testing/SKILL.md +20 -0
- package/presets/mavis/java/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/java/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/java/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/java/rules/code-review-mr.md +19 -4
- package/presets/mavis/java/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/mcp-ts/MAVIS.md +9 -3
- package/presets/mavis/mcp-ts/README.md +3 -1
- package/presets/mavis/mcp-ts/adapter-map.json +77 -32
- package/presets/mavis/mcp-ts/commands/update.md +1 -0
- package/presets/mavis/mcp-ts/hooks/README.md +29 -7
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/mcp-ts/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/mcp-ts/hooks/run-hook.mjs +103 -0
- package/presets/mavis/mcp-ts/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/mcp-ts/native-skills/README.md +15 -0
- package/presets/mavis/mcp-ts/native-skills/code-review/SKILL.md +31 -0
- package/presets/mavis/mcp-ts/native-skills/debug-investigation/SKILL.md +51 -0
- package/presets/mavis/mcp-ts/native-skills/feature-delivery/SKILL.md +42 -0
- package/presets/mavis/mcp-ts/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/mcp-ts/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/mcp-ts/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/mcp-ts/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/mcp-ts/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/mcp-ts/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/mcp-ts/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/mcp-ts/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/mcp-ts/native-skills/technical-retro/SKILL.md +95 -0
- package/presets/mavis/mcp-ts/native-skills/unit-testing/SKILL.md +22 -0
- package/presets/mavis/mcp-ts/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/mcp-ts/rules/code-review-mr.md +19 -4
- package/presets/mavis/mol/MAVIS.md +9 -3
- package/presets/mavis/mol/README.md +3 -1
- package/presets/mavis/mol/REPO_AGENTS.md +1 -1
- package/presets/mavis/mol/adapter-map.json +94 -40
- package/presets/mavis/mol/agents/code-reviewer.md +5 -1
- package/presets/mavis/mol/agents/task-router.md +1 -1
- package/presets/mavis/mol/commands/update.md +1 -0
- package/presets/mavis/mol/hooks/README.md +29 -7
- package/presets/mavis/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/mol/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/mol/hooks/run-hook.mjs +103 -0
- package/presets/mavis/mol/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/mol/native-skills/README.md +15 -0
- package/presets/mavis/mol/native-skills/ci-investigation/SKILL.md +49 -0
- package/presets/mavis/mol/native-skills/code-review/SKILL.md +61 -0
- package/presets/mavis/mol/native-skills/debug-investigation/SKILL.md +63 -0
- package/presets/mavis/mol/native-skills/feature-delivery/SKILL.md +44 -0
- package/presets/mavis/mol/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/mol/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/mol/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/mol/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/mol/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/mol/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/mol/native-skills/task/SKILL.md +82 -0
- package/presets/mavis/mol/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/mol/native-skills/task-evil/SKILL.md +89 -0
- package/presets/mavis/mol/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/mol/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/mol/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/mol/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/mol/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/mol/rules/code-review-mr.md +19 -4
- package/presets/mavis/mol/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/next/MAVIS.md +9 -3
- package/presets/mavis/next/README.md +3 -1
- package/presets/mavis/next/REPO_AGENTS.md +1 -1
- package/presets/mavis/next/adapter-map.json +128 -53
- package/presets/mavis/next/agents/code-reviewer.md +5 -1
- package/presets/mavis/next/agents/task-router.md +1 -1
- package/presets/mavis/next/commands/update.md +1 -0
- package/presets/mavis/next/hooks/README.md +29 -7
- package/presets/mavis/next/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/next/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/next/hooks/run-hook.mjs +103 -0
- package/presets/mavis/next/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/next/native-skills/README.md +15 -0
- package/presets/mavis/next/native-skills/ci-investigation/SKILL.md +50 -0
- package/presets/mavis/next/native-skills/code-review/SKILL.md +62 -0
- package/presets/mavis/next/native-skills/debug-investigation/SKILL.md +64 -0
- package/presets/mavis/next/native-skills/feature-delivery/SKILL.md +45 -0
- package/presets/mavis/next/native-skills/figma-fidelity/SKILL.md +131 -0
- package/presets/mavis/next/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/next/native-skills/mockup-review/SKILL.md +44 -0
- package/presets/mavis/next/native-skills/playwright-e2e/SKILL.md +39 -0
- package/presets/mavis/next/native-skills/react-performance/SKILL.md +49 -0
- package/presets/mavis/next/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/next/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/next/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/next/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/next/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/next/native-skills/task/SKILL.md +88 -0
- package/presets/mavis/next/native-skills/task-continue/SKILL.md +87 -0
- package/presets/mavis/next/native-skills/task-evil/SKILL.md +89 -0
- package/presets/mavis/next/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/next/native-skills/ui-start/SKILL.md +64 -0
- package/presets/mavis/next/native-skills/ui-stop/SKILL.md +48 -0
- package/presets/mavis/next/native-skills/unit-testing/SKILL.md +40 -0
- package/presets/mavis/next/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/next/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/next/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/next/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/next/rules/code-review-mr.md +19 -4
- package/presets/mavis/next/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/nuxt/MAVIS.md +9 -3
- package/presets/mavis/nuxt/README.md +3 -1
- package/presets/mavis/nuxt/adapter-map.json +109 -46
- package/presets/mavis/nuxt/agents/code-reviewer.md +5 -1
- package/presets/mavis/nuxt/agents/task-router.md +1 -1
- package/presets/mavis/nuxt/commands/update.md +1 -0
- package/presets/mavis/nuxt/hooks/README.md +29 -7
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/nuxt/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/nuxt/hooks/run-hook.mjs +103 -0
- package/presets/mavis/nuxt/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/nuxt/native-skills/README.md +15 -0
- package/presets/mavis/nuxt/native-skills/ci-investigation/SKILL.md +50 -0
- package/presets/mavis/nuxt/native-skills/code-review/SKILL.md +61 -0
- package/presets/mavis/nuxt/native-skills/debug-investigation/SKILL.md +64 -0
- package/presets/mavis/nuxt/native-skills/feature-delivery/SKILL.md +52 -0
- package/presets/mavis/nuxt/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/nuxt/native-skills/mockup-review/SKILL.md +34 -0
- package/presets/mavis/nuxt/native-skills/playwright-e2e/SKILL.md +43 -0
- package/presets/mavis/nuxt/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/nuxt/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/nuxt/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/nuxt/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/nuxt/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/nuxt/native-skills/task/SKILL.md +79 -0
- package/presets/mavis/nuxt/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/nuxt/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/nuxt/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/nuxt/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/nuxt/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/nuxt/native-skills/vue-performance/SKILL.md +58 -0
- package/presets/mavis/nuxt/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/nuxt/rules/code-review-mr.md +19 -4
- package/presets/mavis/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/php-hexagonal/MAVIS.md +9 -3
- package/presets/mavis/php-hexagonal/README.md +3 -1
- package/presets/mavis/php-hexagonal/adapter-map.json +94 -40
- package/presets/mavis/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/mavis/php-hexagonal/commands/update.md +1 -0
- package/presets/mavis/php-hexagonal/hooks/README.md +29 -7
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/php-hexagonal/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/php-hexagonal/hooks/run-hook.mjs +103 -0
- package/presets/mavis/php-hexagonal/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/php-hexagonal/native-skills/README.md +15 -0
- package/presets/mavis/php-hexagonal/native-skills/ci-investigation/SKILL.md +24 -0
- package/presets/mavis/php-hexagonal/native-skills/code-review/SKILL.md +48 -0
- package/presets/mavis/php-hexagonal/native-skills/debug-investigation/SKILL.md +55 -0
- package/presets/mavis/php-hexagonal/native-skills/feature-delivery/SKILL.md +43 -0
- package/presets/mavis/php-hexagonal/native-skills/integration-testing/SKILL.md +21 -0
- package/presets/mavis/php-hexagonal/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/php-hexagonal/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/php-hexagonal/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/php-hexagonal/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/php-hexagonal/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/php-hexagonal/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/php-hexagonal/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/php-hexagonal/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/php-hexagonal/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/php-hexagonal/native-skills/unit-testing/SKILL.md +20 -0
- package/presets/mavis/php-hexagonal/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/php-hexagonal/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/php-hexagonal/rules/code-review-mr.md +19 -4
- package/presets/mavis/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/php-laravel/MAVIS.md +9 -3
- package/presets/mavis/php-laravel/README.md +3 -1
- package/presets/mavis/php-laravel/adapter-map.json +94 -40
- package/presets/mavis/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/mavis/php-laravel/commands/update.md +1 -0
- package/presets/mavis/php-laravel/hooks/README.md +29 -7
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/php-laravel/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/php-laravel/hooks/run-hook.mjs +103 -0
- package/presets/mavis/php-laravel/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/php-laravel/native-skills/README.md +15 -0
- package/presets/mavis/php-laravel/native-skills/ci-investigation/SKILL.md +24 -0
- package/presets/mavis/php-laravel/native-skills/code-review/SKILL.md +48 -0
- package/presets/mavis/php-laravel/native-skills/debug-investigation/SKILL.md +55 -0
- package/presets/mavis/php-laravel/native-skills/feature-delivery/SKILL.md +43 -0
- package/presets/mavis/php-laravel/native-skills/integration-testing/SKILL.md +21 -0
- package/presets/mavis/php-laravel/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/php-laravel/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/php-laravel/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/php-laravel/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/php-laravel/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/php-laravel/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/php-laravel/native-skills/task/SKILL.md +77 -0
- package/presets/mavis/php-laravel/native-skills/task-continue/SKILL.md +72 -0
- package/presets/mavis/php-laravel/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/php-laravel/native-skills/unit-testing/SKILL.md +20 -0
- package/presets/mavis/php-laravel/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/php-laravel/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/php-laravel/rules/code-review-mr.md +19 -4
- package/presets/mavis/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/mavis/platform-contract.json +18 -5
- package/presets/mavis/svelte/MAVIS.md +9 -3
- package/presets/mavis/svelte/README.md +3 -1
- package/presets/mavis/svelte/adapter-map.json +109 -46
- package/presets/mavis/svelte/agents/code-reviewer.md +5 -1
- package/presets/mavis/svelte/agents/task-router.md +1 -1
- package/presets/mavis/svelte/commands/update.md +1 -0
- package/presets/mavis/svelte/hooks/README.md +29 -7
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/mavis/svelte/hooks/mavis-chain-hook.mjs +143 -0
- package/presets/mavis/svelte/hooks/run-hook.mjs +103 -0
- package/presets/mavis/svelte/minimax-hooks/hooks.json +28 -0
- package/presets/mavis/svelte/native-skills/README.md +15 -0
- package/presets/mavis/svelte/native-skills/ci-investigation/SKILL.md +50 -0
- package/presets/mavis/svelte/native-skills/code-review/SKILL.md +61 -0
- package/presets/mavis/svelte/native-skills/debug-investigation/SKILL.md +64 -0
- package/presets/mavis/svelte/native-skills/feature-delivery/SKILL.md +52 -0
- package/presets/mavis/svelte/native-skills/migrate-tasks/SKILL.md +43 -0
- package/presets/mavis/svelte/native-skills/mockup-review/SKILL.md +34 -0
- package/presets/mavis/svelte/native-skills/playwright-e2e/SKILL.md +43 -0
- package/presets/mavis/svelte/native-skills/rr-migrate-repositories/SKILL.md +61 -0
- package/presets/mavis/svelte/native-skills/rr-scheduler-start/SKILL.md +34 -0
- package/presets/mavis/svelte/native-skills/spec-authoring/SKILL.md +31 -0
- package/presets/mavis/svelte/native-skills/spec-discovery/SKILL.md +63 -0
- package/presets/mavis/svelte/native-skills/spec-start/SKILL.md +31 -0
- package/presets/mavis/svelte/native-skills/svelte-performance/SKILL.md +57 -0
- package/presets/mavis/svelte/native-skills/task/SKILL.md +79 -0
- package/presets/mavis/svelte/native-skills/task-continue/SKILL.md +74 -0
- package/presets/mavis/svelte/native-skills/technical-retro/SKILL.md +72 -0
- package/presets/mavis/svelte/native-skills/unit-testing/SKILL.md +38 -0
- package/presets/mavis/svelte/native-skills/update/SKILL.md +44 -0
- package/presets/mavis/svelte/native-skills/ux-design/SKILL.md +41 -0
- package/presets/mavis/svelte/native-skills/write-adr/SKILL.md +46 -0
- package/presets/mavis/svelte/rules/agent-team-orchestrator.md +1 -0
- package/presets/mavis/svelte/rules/code-review-mr.md +19 -4
- package/presets/mavis/svelte/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/android-kotlin/adapter-map.json +1 -1
- package/presets/opencode/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/opencode/android-kotlin/commands/update.md +1 -0
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/android-kotlin/rules/code-review-mr.md +19 -4
- package/presets/opencode/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/go/adapter-map.json +1 -1
- package/presets/opencode/go/agents/code-reviewer.md +5 -1
- package/presets/opencode/go/commands/update.md +1 -0
- package/presets/opencode/go/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/go/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/go/rules/code-review-mr.md +19 -4
- package/presets/opencode/go/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/ios-swift/adapter-map.json +1 -1
- package/presets/opencode/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/opencode/ios-swift/commands/update.md +1 -0
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/ios-swift/rules/code-review-mr.md +19 -4
- package/presets/opencode/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/java/adapter-map.json +1 -1
- package/presets/opencode/java/agents/code-reviewer.md +5 -1
- package/presets/opencode/java/commands/update.md +1 -0
- package/presets/opencode/java/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/java/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/java/rules/code-review-mr.md +19 -4
- package/presets/opencode/java/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/mcp-ts/adapter-map.json +1 -1
- package/presets/opencode/mcp-ts/commands/update.md +1 -0
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/mcp-ts/rules/code-review-mr.md +19 -4
- package/presets/opencode/mol/REPO_AGENTS.md +1 -1
- package/presets/opencode/mol/adapter-map.json +1 -1
- package/presets/opencode/mol/agents/code-reviewer.md +5 -1
- package/presets/opencode/mol/agents/task-router.md +1 -1
- package/presets/opencode/mol/commands/update.md +1 -0
- package/presets/opencode/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/mol/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/mol/rules/code-review-mr.md +19 -4
- package/presets/opencode/mol/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/next/REPO_AGENTS.md +1 -1
- package/presets/opencode/next/adapter-map.json +1 -1
- package/presets/opencode/next/agents/code-reviewer.md +5 -1
- package/presets/opencode/next/agents/task-router.md +1 -1
- package/presets/opencode/next/commands/update.md +1 -0
- package/presets/opencode/next/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/next/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/next/rules/code-review-mr.md +19 -4
- package/presets/opencode/next/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/nuxt/adapter-map.json +1 -1
- package/presets/opencode/nuxt/agents/code-reviewer.md +5 -1
- package/presets/opencode/nuxt/agents/task-router.md +1 -1
- package/presets/opencode/nuxt/commands/update.md +1 -0
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/nuxt/rules/code-review-mr.md +19 -4
- package/presets/opencode/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/php-hexagonal/adapter-map.json +1 -1
- package/presets/opencode/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/opencode/php-hexagonal/commands/update.md +1 -0
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/php-hexagonal/rules/code-review-mr.md +19 -4
- package/presets/opencode/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/php-laravel/adapter-map.json +1 -1
- package/presets/opencode/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/opencode/php-laravel/commands/update.md +1 -0
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/php-laravel/rules/code-review-mr.md +19 -4
- package/presets/opencode/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/opencode/plugins/task-status/README.md +3 -2
- package/presets/opencode/plugins/task-status/deepseek.ts +58 -34
- package/presets/opencode/plugins/task-status/tui.tsx +17 -17
- package/presets/opencode/svelte/adapter-map.json +1 -1
- package/presets/opencode/svelte/agents/code-reviewer.md +5 -1
- package/presets/opencode/svelte/agents/task-router.md +1 -1
- package/presets/opencode/svelte/commands/update.md +1 -0
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/opencode/svelte/rules/agent-team-orchestrator.md +1 -0
- package/presets/opencode/svelte/rules/code-review-mr.md +19 -4
- package/presets/opencode/svelte/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/android-kotlin/adapter-map.json +1 -1
- package/presets/zcode/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/zcode/android-kotlin/commands/update.md +1 -0
- package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/android-kotlin/rules/code-review-mr.md +19 -4
- package/presets/zcode/android-kotlin/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/go/adapter-map.json +1 -1
- package/presets/zcode/go/agents/code-reviewer.md +5 -1
- package/presets/zcode/go/commands/update.md +1 -0
- package/presets/zcode/go/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/go/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/go/rules/code-review-mr.md +19 -4
- package/presets/zcode/go/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/ios-swift/adapter-map.json +1 -1
- package/presets/zcode/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/zcode/ios-swift/commands/update.md +1 -0
- package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/ios-swift/rules/code-review-mr.md +19 -4
- package/presets/zcode/ios-swift/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/java/adapter-map.json +1 -1
- package/presets/zcode/java/agents/code-reviewer.md +5 -1
- package/presets/zcode/java/commands/update.md +1 -0
- package/presets/zcode/java/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/java/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/java/rules/code-review-mr.md +19 -4
- package/presets/zcode/java/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/mcp-ts/adapter-map.json +1 -1
- package/presets/zcode/mcp-ts/commands/update.md +1 -0
- package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/mcp-ts/rules/code-review-mr.md +19 -4
- package/presets/zcode/mol/REPO_AGENTS.md +1 -1
- package/presets/zcode/mol/adapter-map.json +1 -1
- package/presets/zcode/mol/agents/code-reviewer.md +5 -1
- package/presets/zcode/mol/agents/task-router.md +1 -1
- package/presets/zcode/mol/commands/update.md +1 -0
- package/presets/zcode/mol/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/mol/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/mol/rules/code-review-mr.md +19 -4
- package/presets/zcode/mol/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/next/REPO_AGENTS.md +1 -1
- package/presets/zcode/next/adapter-map.json +1 -1
- package/presets/zcode/next/agents/code-reviewer.md +5 -1
- package/presets/zcode/next/agents/task-router.md +1 -1
- package/presets/zcode/next/commands/update.md +1 -0
- package/presets/zcode/next/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/next/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/next/rules/code-review-mr.md +19 -4
- package/presets/zcode/next/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/nuxt/adapter-map.json +1 -1
- package/presets/zcode/nuxt/agents/code-reviewer.md +5 -1
- package/presets/zcode/nuxt/agents/task-router.md +1 -1
- package/presets/zcode/nuxt/commands/update.md +1 -0
- package/presets/zcode/nuxt/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/nuxt/rules/code-review-mr.md +19 -4
- package/presets/zcode/nuxt/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/php-hexagonal/adapter-map.json +1 -1
- package/presets/zcode/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/zcode/php-hexagonal/commands/update.md +1 -0
- package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/php-hexagonal/rules/code-review-mr.md +19 -4
- package/presets/zcode/php-hexagonal/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/php-laravel/adapter-map.json +1 -1
- package/presets/zcode/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/zcode/php-laravel/commands/update.md +1 -0
- package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/php-laravel/rules/code-review-mr.md +19 -4
- package/presets/zcode/php-laravel/skills/code-review/SKILL.md +2 -1
- package/presets/zcode/svelte/adapter-map.json +1 -1
- package/presets/zcode/svelte/agents/code-reviewer.md +5 -1
- package/presets/zcode/svelte/agents/task-router.md +1 -1
- package/presets/zcode/svelte/commands/update.md +1 -0
- package/presets/zcode/svelte/hooks/chain-team-phases.sh +40 -0
- package/presets/zcode/svelte/rules/agent-team-orchestrator.md +1 -0
- package/presets/zcode/svelte/rules/code-review-mr.md +19 -4
- package/presets/zcode/svelte/skills/code-review/SKILL.md +2 -1
|
@@ -36,7 +36,8 @@ Lead with findings ordered by severity. Required shape (also in `code-review-mr`
|
|
|
36
36
|
- Each finding: **`path:line`** — problem — impact — concrete fix direction.
|
|
37
37
|
- Severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
38
38
|
- Vague («looks risky») is not a finding — cite evidence or ask for surrounding context.
|
|
39
|
-
-
|
|
39
|
+
- A behaviour you cannot settle by reading is a question, not silence: list it under `## Open questions` as `- <question> — check: <what would settle it> — blocker-candidate: yes | no`. A question needs no `path:line` and no `confidence`.
|
|
40
|
+
- End with a verdict line: **`Safe to merge | safe to merge with questions | needs changes | reject`**. `safe to merge with questions` requires no `blocker`/`important` finding and at least one open question.
|
|
40
41
|
- If there are no findings, say so and call out remaining test or validation risk.
|
|
41
42
|
- Carry `confidence` on every finding and close with `## Not verified` (see `code-review-mr` § Output contract).
|
|
42
43
|
|
|
@@ -10,11 +10,16 @@ Do not write `~/.minimax/**`.
|
|
|
10
10
|
## How to load
|
|
11
11
|
|
|
12
12
|
- Rules and skills: follow the explicit paths in this file and root `AGENTS.md`.
|
|
13
|
-
|
|
13
|
+
Skills are also published natively under `.minimax/skills/` — MiniMax Code
|
|
14
|
+
discovers them on its own; rules stay reference-only.
|
|
14
15
|
- Roles: `mcode exec --file .mavis/agents/<role>.md --output-format json`.
|
|
15
|
-
- Commands:
|
|
16
|
+
- Commands: native skills under `.minimax/skills/`; the same procedures stay in
|
|
17
|
+
`.mavis/commands/`, or run them with
|
|
16
18
|
`mcode exec --file .mavis/commands/task.md "<task>"`.
|
|
17
|
-
-
|
|
19
|
+
- Chain: `projectHooks` is `confirmed` — `.minimax/hooks.json` registers the native
|
|
20
|
+
`SubagentStop` hook (chain reconciliation) and `SessionStart` (preset version
|
|
21
|
+
check). The user enables the project hook once in Settings → Hooks → Project;
|
|
22
|
+
until then the manual runner stays:
|
|
18
23
|
`printf '%s\n' '{"status":"completed"}' | bash .mavis/hooks/chain-team-phases.sh`.
|
|
19
24
|
Procedures: `mcode exec --file .mavis/commands/<name>.md`. Roles: `mcode exec --file .mavis/agents/<role>.md`.
|
|
20
25
|
Agents must not write lifecycle fields in `status.json` / `metrics.json`.
|
|
@@ -94,6 +99,7 @@ npx @bonesofspring/ai-rules init mavis --preset android-kotlin
|
|
|
94
99
|
|
|
95
100
|
Copies rules, commands, agents, hooks, skills, `MAVIS.md` → `.mavis/AGENTS.md`,
|
|
96
101
|
`MCP.md`, `mcp.json` → `.mavis/mcp.json`, plus `REPO_AGENTS.md` → root `AGENTS.md`.
|
|
102
|
+
Native skills → `.minimax/skills/` (the highest-priority root MiniMax Code scans).
|
|
97
103
|
Seeds `.ai.local/team/`.
|
|
98
104
|
`freshInit` is `unknown`: `mcode init` is TTY-only and a live first `init mavis` is not verified.
|
|
99
105
|
MCP mode is `fallback-manual-import`: import `.mavis/mcp.json` in the MiniMax Code UI. Do not write `~/.minimax/**`.
|
|
@@ -12,5 +12,7 @@ npx @bonesofspring/ai-rules init mavis --preset android-kotlin
|
|
|
12
12
|
Install id: `android-kotlin`. Listed in `platform-contract.json` `releasedStacks`.
|
|
13
13
|
|
|
14
14
|
`init` writes `.mavis/**` plus root `AGENTS.md` and seeds `.ai.local/team/`.
|
|
15
|
-
|
|
15
|
+
Native skills → `.minimax/skills/`; native project hooks → `.minimax/hooks.json`.
|
|
16
|
+
No Bugbot; the chain hook runs from `.minimax/hooks.json` once the user enables it
|
|
17
|
+
(Settings → Hooks → Project), or by hand with `bash .mavis/hooks/chain-team-phases.sh`.
|
|
16
18
|
`clean mavis` does not delete `.ai.local/`.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "mavis",
|
|
4
4
|
"stack": "android-kotlin",
|
|
5
5
|
"semanticSource": "cursor/android-kotlin",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "2b9949cbeda8a4e81e452ae70db9dee6875b58708c15eaf83af66b9f06bba09a",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -267,7 +267,10 @@
|
|
|
267
267
|
"category": "commands",
|
|
268
268
|
"disposition": "transform",
|
|
269
269
|
"loadMode": "manual",
|
|
270
|
-
"reason": "
|
|
270
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
271
|
+
"extraTargets": [
|
|
272
|
+
"native-skills/migrate-tasks/SKILL.md"
|
|
273
|
+
]
|
|
271
274
|
},
|
|
272
275
|
{
|
|
273
276
|
"source": "commands/rr-migrate-repositories.md",
|
|
@@ -275,7 +278,10 @@
|
|
|
275
278
|
"category": "commands",
|
|
276
279
|
"disposition": "transform",
|
|
277
280
|
"loadMode": "manual",
|
|
278
|
-
"reason": "
|
|
281
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
282
|
+
"extraTargets": [
|
|
283
|
+
"native-skills/rr-migrate-repositories/SKILL.md"
|
|
284
|
+
]
|
|
279
285
|
},
|
|
280
286
|
{
|
|
281
287
|
"source": "commands/rr-scheduler-start.md",
|
|
@@ -283,7 +289,10 @@
|
|
|
283
289
|
"category": "commands",
|
|
284
290
|
"disposition": "transform",
|
|
285
291
|
"loadMode": "manual",
|
|
286
|
-
"reason": "
|
|
292
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
293
|
+
"extraTargets": [
|
|
294
|
+
"native-skills/rr-scheduler-start/SKILL.md"
|
|
295
|
+
]
|
|
287
296
|
},
|
|
288
297
|
{
|
|
289
298
|
"source": "commands/spec-start.md",
|
|
@@ -291,7 +300,10 @@
|
|
|
291
300
|
"category": "commands",
|
|
292
301
|
"disposition": "transform",
|
|
293
302
|
"loadMode": "manual",
|
|
294
|
-
"reason": "
|
|
303
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
304
|
+
"extraTargets": [
|
|
305
|
+
"native-skills/spec-start/SKILL.md"
|
|
306
|
+
]
|
|
295
307
|
},
|
|
296
308
|
{
|
|
297
309
|
"source": "commands/task-continue.md",
|
|
@@ -299,7 +311,10 @@
|
|
|
299
311
|
"category": "commands",
|
|
300
312
|
"disposition": "transform",
|
|
301
313
|
"loadMode": "manual",
|
|
302
|
-
"reason": "
|
|
314
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
315
|
+
"extraTargets": [
|
|
316
|
+
"native-skills/task-continue/SKILL.md"
|
|
317
|
+
]
|
|
303
318
|
},
|
|
304
319
|
{
|
|
305
320
|
"source": "commands/task.md",
|
|
@@ -307,8 +322,11 @@
|
|
|
307
322
|
"category": "commands",
|
|
308
323
|
"disposition": "transform",
|
|
309
324
|
"loadMode": "manual",
|
|
310
|
-
"reason": "
|
|
311
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
325
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
326
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
327
|
+
"extraTargets": [
|
|
328
|
+
"native-skills/task/SKILL.md"
|
|
329
|
+
]
|
|
312
330
|
},
|
|
313
331
|
{
|
|
314
332
|
"source": "commands/technical-retro.md",
|
|
@@ -316,7 +334,7 @@
|
|
|
316
334
|
"category": "commands",
|
|
317
335
|
"disposition": "transform",
|
|
318
336
|
"loadMode": "manual",
|
|
319
|
-
"reason": "
|
|
337
|
+
"reason": "Native skill of the same name already owns this slot; the command file stays the procedure"
|
|
320
338
|
},
|
|
321
339
|
{
|
|
322
340
|
"source": "commands/update.md",
|
|
@@ -324,15 +342,18 @@
|
|
|
324
342
|
"category": "commands",
|
|
325
343
|
"disposition": "transform",
|
|
326
344
|
"loadMode": "manual",
|
|
327
|
-
"reason": "
|
|
345
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
346
|
+
"extraTargets": [
|
|
347
|
+
"native-skills/update/SKILL.md"
|
|
348
|
+
]
|
|
328
349
|
},
|
|
329
350
|
{
|
|
330
351
|
"source": "hooks.json",
|
|
331
|
-
"target":
|
|
352
|
+
"target": "minimax-hooks/hooks.json",
|
|
332
353
|
"category": "hooks",
|
|
333
|
-
"disposition": "
|
|
334
|
-
"loadMode": "
|
|
335
|
-
"reason": "
|
|
354
|
+
"disposition": "transform",
|
|
355
|
+
"loadMode": "native-hook",
|
|
356
|
+
"reason": "MiniMax Code reads project hooks from <project>/.minimax/hooks.json; the Cursor document is rewritten into the MiniMax event format"
|
|
336
357
|
},
|
|
337
358
|
{
|
|
338
359
|
"source": "hooks/chain-team-phases.sh",
|
|
@@ -356,7 +377,7 @@
|
|
|
356
377
|
"category": "hooks",
|
|
357
378
|
"disposition": "omit",
|
|
358
379
|
"loadMode": "not-installed",
|
|
359
|
-
"reason": "omit: Cursor preToolUse rewrite; the large-output guard
|
|
380
|
+
"reason": "omit: Cursor preToolUse rewrite; the large-output guard is not wired on MiniMax"
|
|
360
381
|
},
|
|
361
382
|
{
|
|
362
383
|
"source": "hooks/examples/format-edited.example.sh",
|
|
@@ -388,7 +409,7 @@
|
|
|
388
409
|
"category": "hooks",
|
|
389
410
|
"disposition": "omit",
|
|
390
411
|
"loadMode": "not-installed",
|
|
391
|
-
"reason": "omit
|
|
412
|
+
"reason": "omit: the MiniMax PreToolUse event exists, but a tool-blocking guard is a behaviour change; the safety policy stays in entry prose"
|
|
392
413
|
},
|
|
393
414
|
{
|
|
394
415
|
"source": "hooks/list-ai-local.mjs",
|
|
@@ -400,11 +421,14 @@
|
|
|
400
421
|
},
|
|
401
422
|
{
|
|
402
423
|
"source": "hooks/run-hook.mjs",
|
|
403
|
-
"target":
|
|
424
|
+
"target": "hooks/run-hook.mjs",
|
|
404
425
|
"category": "hooks",
|
|
405
|
-
"disposition": "
|
|
406
|
-
"loadMode": "
|
|
407
|
-
"reason": "
|
|
426
|
+
"disposition": "transform",
|
|
427
|
+
"loadMode": "manual",
|
|
428
|
+
"reason": "Chain-hook launcher invoked by the native MiniMax SubagentStop hook and by the manual fallback",
|
|
429
|
+
"extraTargets": [
|
|
430
|
+
"hooks/mavis-chain-hook.mjs"
|
|
431
|
+
]
|
|
408
432
|
},
|
|
409
433
|
{
|
|
410
434
|
"source": "mcp.json",
|
|
@@ -772,8 +796,11 @@
|
|
|
772
796
|
"category": "skills",
|
|
773
797
|
"disposition": "transform",
|
|
774
798
|
"loadMode": "referenced",
|
|
775
|
-
"reason": "
|
|
776
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
799
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
800
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
801
|
+
"extraTargets": [
|
|
802
|
+
"native-skills/ci-investigation/SKILL.md"
|
|
803
|
+
]
|
|
777
804
|
},
|
|
778
805
|
{
|
|
779
806
|
"source": "skills/code-review/SKILL.md",
|
|
@@ -781,8 +808,11 @@
|
|
|
781
808
|
"category": "skills",
|
|
782
809
|
"disposition": "transform",
|
|
783
810
|
"loadMode": "referenced",
|
|
784
|
-
"reason": "
|
|
785
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
811
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
812
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
813
|
+
"extraTargets": [
|
|
814
|
+
"native-skills/code-review/SKILL.md"
|
|
815
|
+
]
|
|
786
816
|
},
|
|
787
817
|
{
|
|
788
818
|
"source": "skills/debug-investigation/SKILL.md",
|
|
@@ -790,8 +820,11 @@
|
|
|
790
820
|
"category": "skills",
|
|
791
821
|
"disposition": "transform",
|
|
792
822
|
"loadMode": "referenced",
|
|
793
|
-
"reason": "
|
|
794
|
-
"sharedCoreStem": "quality/debug-investigation.md"
|
|
823
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
824
|
+
"sharedCoreStem": "quality/debug-investigation.md",
|
|
825
|
+
"extraTargets": [
|
|
826
|
+
"native-skills/debug-investigation/SKILL.md"
|
|
827
|
+
]
|
|
795
828
|
},
|
|
796
829
|
{
|
|
797
830
|
"source": "skills/feature-delivery/SKILL.md",
|
|
@@ -799,8 +832,11 @@
|
|
|
799
832
|
"category": "skills",
|
|
800
833
|
"disposition": "transform",
|
|
801
834
|
"loadMode": "referenced",
|
|
802
|
-
"reason": "
|
|
803
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
835
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
836
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
837
|
+
"extraTargets": [
|
|
838
|
+
"native-skills/feature-delivery/SKILL.md"
|
|
839
|
+
]
|
|
804
840
|
},
|
|
805
841
|
{
|
|
806
842
|
"source": "skills/instrumentation-ui-e2e/SKILL.md",
|
|
@@ -808,8 +844,11 @@
|
|
|
808
844
|
"category": "skills",
|
|
809
845
|
"disposition": "transform",
|
|
810
846
|
"loadMode": "referenced",
|
|
811
|
-
"reason": "
|
|
812
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
847
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
848
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
849
|
+
"extraTargets": [
|
|
850
|
+
"native-skills/instrumentation-ui-e2e/SKILL.md"
|
|
851
|
+
]
|
|
813
852
|
},
|
|
814
853
|
{
|
|
815
854
|
"source": "skills/mockup-review/SKILL.md",
|
|
@@ -817,8 +856,11 @@
|
|
|
817
856
|
"category": "skills",
|
|
818
857
|
"disposition": "transform",
|
|
819
858
|
"loadMode": "referenced",
|
|
820
|
-
"reason": "
|
|
821
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
859
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
860
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
861
|
+
"extraTargets": [
|
|
862
|
+
"native-skills/mockup-review/SKILL.md"
|
|
863
|
+
]
|
|
822
864
|
},
|
|
823
865
|
{
|
|
824
866
|
"source": "skills/spec-authoring/SKILL.md",
|
|
@@ -826,8 +868,11 @@
|
|
|
826
868
|
"category": "skills",
|
|
827
869
|
"disposition": "transform",
|
|
828
870
|
"loadMode": "referenced",
|
|
829
|
-
"reason": "
|
|
830
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
871
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
872
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
873
|
+
"extraTargets": [
|
|
874
|
+
"native-skills/spec-authoring/SKILL.md"
|
|
875
|
+
]
|
|
831
876
|
},
|
|
832
877
|
{
|
|
833
878
|
"source": "skills/spec-discovery/SKILL.md",
|
|
@@ -835,8 +880,11 @@
|
|
|
835
880
|
"category": "skills",
|
|
836
881
|
"disposition": "transform",
|
|
837
882
|
"loadMode": "referenced",
|
|
838
|
-
"reason": "
|
|
839
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
883
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
884
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
885
|
+
"extraTargets": [
|
|
886
|
+
"native-skills/spec-discovery/SKILL.md"
|
|
887
|
+
]
|
|
840
888
|
},
|
|
841
889
|
{
|
|
842
890
|
"source": "skills/technical-retro/SKILL.md",
|
|
@@ -844,8 +892,11 @@
|
|
|
844
892
|
"category": "skills",
|
|
845
893
|
"disposition": "transform",
|
|
846
894
|
"loadMode": "referenced",
|
|
847
|
-
"reason": "
|
|
848
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
895
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
896
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
897
|
+
"extraTargets": [
|
|
898
|
+
"native-skills/technical-retro/SKILL.md"
|
|
899
|
+
]
|
|
849
900
|
},
|
|
850
901
|
{
|
|
851
902
|
"source": "skills/unit-testing/SKILL.md",
|
|
@@ -853,8 +904,11 @@
|
|
|
853
904
|
"category": "skills",
|
|
854
905
|
"disposition": "transform",
|
|
855
906
|
"loadMode": "referenced",
|
|
856
|
-
"reason": "
|
|
857
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
907
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
908
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
909
|
+
"extraTargets": [
|
|
910
|
+
"native-skills/unit-testing/SKILL.md"
|
|
911
|
+
]
|
|
858
912
|
},
|
|
859
913
|
{
|
|
860
914
|
"source": "skills/ux-design/SKILL.md",
|
|
@@ -862,8 +916,11 @@
|
|
|
862
916
|
"category": "skills",
|
|
863
917
|
"disposition": "transform",
|
|
864
918
|
"loadMode": "referenced",
|
|
865
|
-
"reason": "
|
|
866
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
919
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
920
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
921
|
+
"extraTargets": [
|
|
922
|
+
"native-skills/ux-design/SKILL.md"
|
|
923
|
+
]
|
|
867
924
|
},
|
|
868
925
|
{
|
|
869
926
|
"source": "skills/write-adr/SKILL.md",
|
|
@@ -871,8 +928,11 @@
|
|
|
871
928
|
"category": "skills",
|
|
872
929
|
"disposition": "transform",
|
|
873
930
|
"loadMode": "referenced",
|
|
874
|
-
"reason": "
|
|
875
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
931
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
932
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
933
|
+
"extraTargets": [
|
|
934
|
+
"native-skills/write-adr/SKILL.md"
|
|
935
|
+
]
|
|
876
936
|
},
|
|
877
937
|
{
|
|
878
938
|
"source": "team/fixtures/artifact-manifest.example.json",
|
|
@@ -75,8 +75,9 @@ Write `.ai.local/team/tasks/<slug>/review.md` with this format:
|
|
|
75
75
|
# Code review: <slug>
|
|
76
76
|
|
|
77
77
|
## Verdict
|
|
78
|
-
APPROVE | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
78
|
+
APPROVE | APPROVE_WITH_QUESTIONS | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
79
79
|
Findings carry `path:line`, severity, `confidence`, and a fix direction — rules in `code-review-mr` § Output contract.
|
|
80
|
+
`APPROVE_WITH_QUESTIONS` needs no `blocker`/`important` finding and at least one open question below.
|
|
80
81
|
|
|
81
82
|
## Critical (must fix)
|
|
82
83
|
- ...
|
|
@@ -87,6 +88,9 @@ Findings carry `path:line`, severity, `confidence`, and a fix direction — rule
|
|
|
87
88
|
## Suggestions (nice to have)
|
|
88
89
|
- ...
|
|
89
90
|
|
|
91
|
+
## Open questions
|
|
92
|
+
- <question> — check: <what would settle it> — blocker-candidate: yes | no
|
|
93
|
+
|
|
90
94
|
## Depth passes
|
|
91
95
|
| Pass | Outcome | Evidence or reason |
|
|
92
96
|
|------|---------|--------------------|
|
|
@@ -13,6 +13,7 @@ npx @bonesofspring/ai-rules update
|
|
|
13
13
|
2. Report the CLI summary to the user in their native language. It names each tool and the preset it kept.
|
|
14
14
|
3. State the outcome in plain words. Exit code 0 means the update finished successfully. Any other exit means it did not finish successfully: quote stderr and stop.
|
|
15
15
|
4. Do not report the numeric exit code.
|
|
16
|
+
5. Commit the update on its own. Managed trees (`.cursor/`, `.claude/`, `.mavis/`, `.opencode/`, `.zcode/`, `.ai.local/scripts/`) and app work never share a commit or a merge request.
|
|
16
17
|
|
|
17
18
|
## Record
|
|
18
19
|
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
# Mavis hooks
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MiniMax Code reads project hooks from `<project>/.minimax/hooks.json` — the project
|
|
4
|
+
file lives in the repository, so the preset ships it. Two handlers:
|
|
5
|
+
|
|
6
|
+
- `SessionStart` → `node .mavis/hooks/check-preset-update.mjs`: prints the preset-update
|
|
7
|
+
notice; with exit code 0 the text is added as agent context.
|
|
8
|
+
- `SubagentStop` → `node .mavis/hooks/mavis-chain-hook.mjs`: reconciles
|
|
9
|
+
`status.json` / `metrics.json` after a producer receipt.
|
|
10
|
+
|
|
11
|
+
`mavis-chain-hook.mjs` is the MiniMax adapter for the chain hook. It adds the
|
|
12
|
+
producer receipt the chain hook waits for (the MiniMax `SubagentStop` payload has
|
|
13
|
+
no `status` field) and turns the chain receipt into a MiniMax wire decision, so
|
|
14
|
+
the runtime does not report invalid output. A chain `followup_message`, and a
|
|
15
|
+
refusal `reason` when `ok` is false, become `hookSpecificOutput.additionalContext`:
|
|
16
|
+
the runtime hands it to the agent as a continuation prompt. Any other receipt
|
|
17
|
+
becomes `{}`. A re-entrant stop (`stop_hook_active`) or a non-kebab `agent_type`
|
|
18
|
+
does not run the chain.
|
|
19
|
+
|
|
20
|
+
A project hook does not run until the user turns it on in Settings → Hooks → Project
|
|
21
|
+
(once per project, on that machine). Until then the chain runs by hand. The
|
|
22
|
+
enablement is bound to the hook id — a digest of the event and the command — so a
|
|
23
|
+
preset update that changes the command needs the hook switched on again.
|
|
4
24
|
|
|
5
25
|
## Shipped
|
|
6
26
|
|
|
@@ -15,14 +35,16 @@ printf '%s\n' '{"status":"completed","attemptId":"<runtime-attempt-id>"}' \
|
|
|
15
35
|
Do not invent it. Agents never write lifecycle fields in `status.json` or
|
|
16
36
|
`metrics.json`.
|
|
17
37
|
|
|
18
|
-
`
|
|
19
|
-
|
|
38
|
+
`mavis-chain-hook.mjs` — the native `SubagentStop` adapter. The native hook
|
|
39
|
+
calls it; it calls `run-hook.mjs chain-team-phases`.
|
|
20
40
|
|
|
21
|
-
`
|
|
41
|
+
`check-preset-update.mjs` — run on the first reply when the hook is off: `node .mavis/hooks/check-preset-update.mjs`.
|
|
42
|
+
When the recorded package is older than the npm latest, open the reply with a level-2 heading and a blockquote naming the installed version, the latest version, and `/update`. Do not fold it into the task text.
|
|
43
|
+
|
|
44
|
+
`list-ai-local.mjs` — run before reading or editing paths: `node .mavis/hooks/list-ai-local.mjs`. Pass the repo-relative paths. Not auto-registered: the probe is path-scoped, so a hook cannot reproduce it faithfully.
|
|
22
45
|
|
|
23
46
|
## Omitted
|
|
24
47
|
|
|
25
|
-
- `
|
|
26
|
-
- `
|
|
27
|
-
- `run-hook.mjs` — not wired; no native hook schema, the chain hook stays a manual runner
|
|
48
|
+
- `guard-shell-command.mjs` — the MiniMax `PreToolUse` event exists, but a tool-blocking guard is a behaviour change; the safety policy stays in entry prose
|
|
49
|
+
- `compact-shell-output.mjs` — Cursor preToolUse rewrite
|
|
28
50
|
- `hooks/examples/**` — no confirmed Mavis event API
|
|
@@ -1394,6 +1394,40 @@ function missingConsumerArtifacts() {
|
|
|
1394
1394
|
);
|
|
1395
1395
|
return ids.filter((id) => !done.has(id));
|
|
1396
1396
|
}
|
|
1397
|
+
// A step that names a gate agent is a promise the plan made to the diff. The
|
|
1398
|
+
// consumer config is optional, but a declared gate is not: an unreviewed diff
|
|
1399
|
+
// completed while the plan said "code-reviewer" reads as a passed review.
|
|
1400
|
+
// A step the run skipped (status.skippedSteps) or skipIf-matched never promised
|
|
1401
|
+
// anything, so it is not required here.
|
|
1402
|
+
const GATE_AGENTS = new Set([
|
|
1403
|
+
'build-verifier',
|
|
1404
|
+
'code-reviewer',
|
|
1405
|
+
'mockup-reviewer',
|
|
1406
|
+
'security-reviewer',
|
|
1407
|
+
'accessibility-reviewer',
|
|
1408
|
+
'api-contract-reviewer',
|
|
1409
|
+
'performance-auditor',
|
|
1410
|
+
]);
|
|
1411
|
+
function missingDeclaredGateArtifacts() {
|
|
1412
|
+
if (steps.length === 0) return [];
|
|
1413
|
+
let manifest = { artifacts: [] };
|
|
1414
|
+
try { manifest = JSON.parse(fs.readFileSync(path.join(taskDir, 'artifact-manifest.json'), 'utf8')); } catch {}
|
|
1415
|
+
const done = new Set(
|
|
1416
|
+
(manifest.artifacts || [])
|
|
1417
|
+
.filter((artifact) => artifact && artifact.status === 'completed')
|
|
1418
|
+
.map((artifact) => artifact.id),
|
|
1419
|
+
);
|
|
1420
|
+
const missing = [];
|
|
1421
|
+
steps.forEach((step, index) => {
|
|
1422
|
+
if (!step || isStepSkipped(index)) return;
|
|
1423
|
+
for (const agent of getStepAgents(step)) {
|
|
1424
|
+
if (!GATE_AGENTS.has(agent)) continue;
|
|
1425
|
+
const id = artifactOutputIdFor(step, agent);
|
|
1426
|
+
if (!done.has(id)) missing.push(`${id} (${agent}${step.id ? `, step ${step.id}` : ''})`);
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
return [...new Set(missing)];
|
|
1430
|
+
}
|
|
1397
1431
|
function completePipeline(statusPatch) {
|
|
1398
1432
|
const missing = missingConsumerArtifacts();
|
|
1399
1433
|
if (missing.length > 0) {
|
|
@@ -1401,6 +1435,12 @@ function completePipeline(statusPatch) {
|
|
|
1401
1435
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
1402
1436
|
process.exit(0);
|
|
1403
1437
|
}
|
|
1438
|
+
const missingGates = missingDeclaredGateArtifacts();
|
|
1439
|
+
if (missingGates.length > 0) {
|
|
1440
|
+
writeStatus({ ...statusPatch, phase: 'blocked', state: 'blocked', currentAgent: null, awaitingHumanGate: false });
|
|
1441
|
+
out(`Pipeline blocked for "${slug}": pipeline.json declares gate step(s) with no completed receipt: ${missingGates.join(', ')}. Run the step, or record it under status.skippedSteps with its reason, then resume with /task-continue ${slug}.`);
|
|
1442
|
+
process.exit(0);
|
|
1443
|
+
}
|
|
1404
1444
|
// task_completed is written only on this branch. A missing receipt blocks
|
|
1405
1445
|
// above and must not be counted as a finished task.
|
|
1406
1446
|
status.state = 'completed';
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* MiniMax native-hook adapter for the team chain.
|
|
4
|
+
*
|
|
5
|
+
* Three differences between the Cursor/Claude hook contract and the MiniMax
|
|
6
|
+
* hook protocol are closed here:
|
|
7
|
+
*
|
|
8
|
+
* 1. Trigger. The chain hook acts only when its stdin payload carries the
|
|
9
|
+
* producer receipt (status "completed"). The MiniMax SubagentStop payload
|
|
10
|
+
* carries agent_type / agent_id / last_assistant_message instead, so the
|
|
11
|
+
* adapter adds the trigger and forwards the payload unchanged.
|
|
12
|
+
* 2. Guards. A MiniMax stop is not automatically a producer receipt. A
|
|
13
|
+
* re-entrant stop (stop_hook_active) and a stop from one of the runtime's
|
|
14
|
+
* own agents must not advance the pipeline. This mirrors the Claude twin's
|
|
15
|
+
* SubagentStop block; the chain script here is the Cursor variant and has
|
|
16
|
+
* neither guard, and MiniMax has no hook loop limit to fall back on.
|
|
17
|
+
* 3. Output. The chain hook answers with its own receipt JSON (ok / action /
|
|
18
|
+
* followup_message), which is not a MiniMax wire decision: the runtime
|
|
19
|
+
* would reject it as HOOK_INVALID_OUTPUT. The adapter translates it - a
|
|
20
|
+
* followup_message, or a refusal reason when ok is false, becomes
|
|
21
|
+
* hookSpecificOutput.additionalContext (the runtime carries it into the
|
|
22
|
+
* agent as a continuation prompt). Anything else becomes an empty object,
|
|
23
|
+
* so the runtime does not see an undocumented key.
|
|
24
|
+
*
|
|
25
|
+
* The adapter never blocks the agent: it keeps the chain hook stderr and
|
|
26
|
+
* exits with its code.
|
|
27
|
+
*/
|
|
28
|
+
import { spawn } from 'node:child_process';
|
|
29
|
+
import fs from 'node:fs';
|
|
30
|
+
import path from 'node:path';
|
|
31
|
+
import { fileURLToPath } from 'node:url';
|
|
32
|
+
|
|
33
|
+
const hookDir = path.dirname(fileURLToPath(import.meta.url));
|
|
34
|
+
const launcher = path.join(hookDir, 'run-hook.mjs');
|
|
35
|
+
|
|
36
|
+
function readStdin() {
|
|
37
|
+
try {
|
|
38
|
+
return fs.readFileSync(0, 'utf8');
|
|
39
|
+
} catch {
|
|
40
|
+
return '';
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Preset roles are kebab-case; the runtime's own agents are not. */
|
|
45
|
+
const ROLE_NAME_RE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The receipt to forward, or null when this stop is not a producer receipt.
|
|
49
|
+
* A missing or non-kebab agent_type means an internal agent, and
|
|
50
|
+
* stop_hook_active means this hook already continued the turn.
|
|
51
|
+
*/
|
|
52
|
+
function buildReceipt(raw) {
|
|
53
|
+
let payload = {};
|
|
54
|
+
try {
|
|
55
|
+
const parsed = JSON.parse(raw);
|
|
56
|
+
if (parsed && typeof parsed === 'object' && !Array.isArray(parsed)) {
|
|
57
|
+
payload = parsed;
|
|
58
|
+
}
|
|
59
|
+
} catch {
|
|
60
|
+
payload = {};
|
|
61
|
+
}
|
|
62
|
+
if (payload.stop_hook_active === true) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
const agentType = typeof payload.agent_type === 'string' ? payload.agent_type : '';
|
|
66
|
+
if (!ROLE_NAME_RE.test(agentType)) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
// The agent binding stays in the forwarded payload.
|
|
70
|
+
return { ...payload, status: 'completed' };
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function additionalContext(message) {
|
|
74
|
+
return JSON.stringify({
|
|
75
|
+
hookSpecificOutput: {
|
|
76
|
+
hookEventName: 'SubagentStop',
|
|
77
|
+
additionalContext: message,
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* MiniMax wire decision. The runtime rejects unknown keys, so the only
|
|
84
|
+
* documented carrier is hookSpecificOutput.additionalContext.
|
|
85
|
+
* A followup_message wins. A refusal reason (ok: false) uses the same field.
|
|
86
|
+
* Anything else is {}.
|
|
87
|
+
*/
|
|
88
|
+
function toWireDecision(raw) {
|
|
89
|
+
const text = raw.trim();
|
|
90
|
+
if (!text) {
|
|
91
|
+
return '{}';
|
|
92
|
+
}
|
|
93
|
+
let parsed = null;
|
|
94
|
+
try {
|
|
95
|
+
parsed = JSON.parse(text);
|
|
96
|
+
} catch {
|
|
97
|
+
return '{}';
|
|
98
|
+
}
|
|
99
|
+
const message =
|
|
100
|
+
parsed && typeof parsed.followup_message === 'string' ? parsed.followup_message : '';
|
|
101
|
+
if (message) {
|
|
102
|
+
return additionalContext(message);
|
|
103
|
+
}
|
|
104
|
+
// A refusal carries a reason instead of a handoff; dropping it hides why the
|
|
105
|
+
// chain hook declined to advance. The reason rides the same documented key.
|
|
106
|
+
const reason =
|
|
107
|
+
parsed && parsed.ok === false && typeof parsed.reason === 'string' ? parsed.reason : '';
|
|
108
|
+
if (reason) {
|
|
109
|
+
return additionalContext(reason);
|
|
110
|
+
}
|
|
111
|
+
return '{}';
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const receipt = buildReceipt(readStdin());
|
|
115
|
+
if (receipt === null) {
|
|
116
|
+
console.log('{}');
|
|
117
|
+
process.exit(0);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const child = spawn(process.execPath, [launcher, 'chain-team-phases'], {
|
|
121
|
+
cwd: process.cwd(),
|
|
122
|
+
stdio: ['pipe', 'pipe', 'inherit'],
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
let output = '';
|
|
126
|
+
child.stdout.on('data', (chunk) => {
|
|
127
|
+
output += chunk.toString('utf8');
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
child.on('error', () => {
|
|
131
|
+
console.log('{}');
|
|
132
|
+
process.exit(0);
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
child.on('close', (code) => {
|
|
136
|
+
console.log(toWireDecision(output));
|
|
137
|
+
process.exit(code === null ? 0 : code);
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
child.stdin.on('error', () => {
|
|
141
|
+
// The chain hook may exit before it reads stdin; the receipt is optional.
|
|
142
|
+
});
|
|
143
|
+
child.stdin.end(JSON.stringify(receipt));
|