@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
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: task-continue
|
|
3
|
+
description: "Continue an agent-team task after a human gate, pause, blocked receipt, or review changes request using pipeline.json and status.json."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
|
|
7
|
+
|
|
8
|
+
# Task continue — after human gate, pause, or blocked receipt
|
|
9
|
+
|
|
10
|
+
Resume the pipeline from `pipeline.json`.
|
|
11
|
+
|
|
12
|
+
## Arguments
|
|
13
|
+
|
|
14
|
+
`<slug>` — task identifier.
|
|
15
|
+
|
|
16
|
+
## Preconditions
|
|
17
|
+
|
|
18
|
+
1. Read `.ai.local/team/tasks/<slug>/pipeline.json` and `status.json`.
|
|
19
|
+
2. Continue if:
|
|
20
|
+
- `awaitingHumanGate: true` or `state: awaiting_approval`, **or**
|
|
21
|
+
- `state: changes_requested` (after review), **or**
|
|
22
|
+
- `state: blocked` (a producer's terminal `blocked` receipt and the owner has resolved the blockers), **or**
|
|
23
|
+
- `state: paused` (the `.ai.local/STOP` / `.ai.local/ESTOP` sentinel is gone), **or**
|
|
24
|
+
- the task was interrupted and must resume from `pipelineIndex`.
|
|
25
|
+
|
|
26
|
+
## Algorithm
|
|
27
|
+
|
|
28
|
+
1. Write `.ai.local/team/active-task.json` → `{ "slug": "<slug>" }`.
|
|
29
|
+
2. **Human gate resume** (`awaitingHumanGate` / `awaiting_approval`):
|
|
30
|
+
1. **Do not** manually increment `pipelineIndex` or invent `currentAgent` first.
|
|
31
|
+
2. Close the gate + activate the next attempt via the **installed** hook (single authority for ledger + status):
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
printf '%s\n' '{"status":"completed","action":"end_human_gate","activateNext":true}' | TEAM_TASK_SLUG=<slug> bash .mavis/hooks/chain-team-phases.sh
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
3. Re-read `status.json` (and the hook `followup_message`).
|
|
38
|
+
4. Invoke the subagent named in `status.currentAgent` / followup — do **not** advance the pipeline a second time.
|
|
39
|
+
3. **Review `changes_requested`** (not a human gate): if `currentAgent` is **`mockup-reviewer`**, this is the FAIL-only mockup gate — do **not** retry `feature-developer`. Read `mockup-review.md` and resume via the human-gate path (`end_human_gate` / `activateNext`). Otherwise: set `currentAgent` to `feature-developer` (same index / find developer in steps), `state: in_progress`, then invoke developer. Do **not** call `end_human_gate` unless `activeHumanGateEventId` is set.
|
|
40
|
+
4. **`blocked` + `currentAgent: mockup-reviewer`** (`BLOCKED_MCP`): skip-forward via the same `end_human_gate`/`activateNext` path (explicit «proceed without MCP»). Do not invent DS claims. This exception keeps precedence: `resume_blocked` refuses this state and names the skip-forward.
|
|
41
|
+
5. **`state: blocked`** (every other producer): re-arm the blocked step through the **installed** hook — it activates attempt N+1 and is the **single authority** for the ledger:
|
|
42
|
+
1. **Do not** manually increment `pipelineIndex` or hand-write `status.json` fields.
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
printf '%s\n' '{"action":"resume_blocked"}' | TEAM_TASK_SLUG=<slug> bash .mavis/hooks/chain-team-phases.sh
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
2. `ok:false` with a `reason` (`is not blocked`, `pipeline.json`, `graph mode`, `already has an active attempt`) means nothing was armed: re-read `status.json` and act on the reason. A refusal carries no `followup_message` — never re-invoke a producer on it.
|
|
49
|
+
3. `ok:true` arms attempt N+1 on the same step: re-read `status.json`, then invoke the subagent named in `status.currentAgent` with the hook `followup_message`. Do **not** open the gate yourself: the retried receipt opens it (`awaiting_approval`) when the step has `after:<agent>` in `humanGates`, and advances the chain otherwise.
|
|
50
|
+
4. Fallback only for an installed hook that predates the action (the call answers `{}`): run `{"status":"completed","action":"bootstrap"}` then `{"status":"completed"}`. The second run opens the gate or advances; the retried producer is not ledgered, so record it in `.memlog.md`.
|
|
51
|
+
6. **Other resume**: restore `pipelineIndex` / `currentAgent` from status and invoke that agent.
|
|
52
|
+
7. **Paused** (`state: paused`, sentinel removed): if `awaitingHumanGate` is still true, use the human-gate resume path above. Otherwise close the pause through the installed hook with `{"status":"completed"}` and no `action`, then re-read `status.json` and the hook `followup_message`; do not advance by hand.
|
|
53
|
+
8. After the invoked agent completes, `chain-team-phases.sh` on `subagentStop` continues the chain when `autoChain: true`.
|
|
54
|
+
|
|
55
|
+
## Checkpoint & resume
|
|
56
|
+
|
|
57
|
+
Resume from the on-disk checkpoint, not from chat: read `.ai.local/team/tasks/<slug>/focus.md` first (a view, not the system of record), then `artifact-manifest.json` (authoritative paths per producer) and `.memlog.md` (`## <date>` + `event:` entries), skip completed waves, and continue at the first stage whose exit criteria are unmet. Record produced paths on the `implementation` manifest entry as you go. Do **not** overwrite or duplicate `.ai.local/team/tasks/<slug>/prompt.md` — it records the original ask (write-if-absent). Append the `/task-continue` arguments (when present) and any gate feedback verbatim to `.ai.local/team/tasks/<slug>/prompt-log.md` (`seq` = max + 1; skip when the invocation carries no new user words).
|
|
58
|
+
|
|
59
|
+
Plan revision during execution is a named, auditable operation: an evaluation oracle failing twice, a scope/requirement change, or a newly discovered dependency triggers `decision: replan rev N → N+1` in `.memlog.md`, an edit to `decomposition.md` (+ optional `planRevision`), and a **re-run of the affected gate**.
|
|
60
|
+
|
|
61
|
+
A producer-side **re-anchor** (detected context loss / excess against the framed goal) is recorded append-only in `.memlog.md` (`event:` line, or `decision: replan rev N → N+1` when the plan changes); resume reads that line with the checkpoint and does not re-derive the correction from chat.
|
|
62
|
+
|
|
63
|
+
## Self-learning loop (optional)
|
|
64
|
+
|
|
65
|
+
The chain hook runs the loop after every producer receipt; with the hook disabled or no auto-chain, run it yourself:
|
|
66
|
+
|
|
67
|
+
In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`.
|
|
68
|
+
|
|
69
|
+
Never pass `--strict` from this path — it exits 1 when capture is broken and would fail a healthy resume. The
|
|
70
|
+
store deduplicates, so a second run appends nothing.
|
|
71
|
+
|
|
72
|
+
## Artifacts for handoff
|
|
73
|
+
|
|
74
|
+
| Agent | Read |
|
|
75
|
+
|-------|------|
|
|
76
|
+
| feature-developer | brief.md (incl. **Related specs**), decomposition.md, ux-design.md (if present), mockup-review.md (if present), validation-report.md (if retry), review.md (if retry), architecture.md; if `docs/specs/INDEX.md` exists → load **`product-specs`** |
|
|
77
|
+
| build-verifier | git diff, decomposition.md |
|
|
78
|
+
| code-reviewer | brief.md, validation-report.md, git diff |
|
|
79
|
+
| mockup-reviewer | mockup-review.md |
|
|
80
|
+
| qa-tester | brief.md, decomposition.md, scope from pipeline step |
|
|
81
|
+
|
|
82
|
+
## Product specs (docs/specs)
|
|
83
|
+
|
|
84
|
+
When the next agent is **feature-developer** (or other implementer): if `docs/specs/INDEX.md` exists or brief lists approved specs, instruct them to load **`product-specs`** and honor **Related specs** / approved generated specs as behavior SoT. Soft-fail on miss; never invent product behavior.
|
|
85
|
+
|
|
86
|
+
If analyst ran **author mode**, confirm human approved drafts before developer. Pass spec paths + INDEX diff in the handoff. No-op if INDEX is absent and no approved specs.
|
|
87
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: task-evil
|
|
3
|
+
description: "Run the task pipeline without plan confirmation, human gates, or questions: choose the recommended option, record assumptions, and stop only on a hard blocker."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
|
|
7
|
+
|
|
8
|
+
# Task evil — autonomous pipeline
|
|
9
|
+
|
|
10
|
+
Run the task end-to-end without asking the user for confirmation or decisions. Treat the original request as approval for the plan and for implementation choices inside the stated goal. Do not use the host question tool and do not ask in prose.
|
|
11
|
+
|
|
12
|
+
This command removes human checkpoints, not engineering gates. Keep `build-verifier`, `code-reviewer`, `mockup-reviewer`, `api-contract-reviewer`, security, a11y, and every `.ai.local` gate. Never commit or push.
|
|
13
|
+
|
|
14
|
+
<!-- shared-core: quality/anti-hallucination-load-line.md -->
|
|
15
|
+
|
|
16
|
+
Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
|
|
17
|
+
|
|
18
|
+
## Arguments
|
|
19
|
+
|
|
20
|
+
Everything after `/task-evil` is the task description in natural language.
|
|
21
|
+
|
|
22
|
+
## Procedure
|
|
23
|
+
|
|
24
|
+
1. **Slug** — kebab-case from the description (≤48 characters). Create `.ai.local/team/tasks/<slug>/` via **Write** (placeholder `pipeline.json` or empty marker), `prompt.md` (verbatim, write-if-absent), `goal.md` (Goal, User value, Success criteria, Non-goals, Derived from `prompt.md`), `autonomy.md` (the contract below), and `decisions.md` (the table header below). The runtime/hook owns `status.json`; do not create it with Shell.
|
|
25
|
+
2. **Router** — invoke subagent `task-router` with the task description, the slug path, and `Autonomy: auto`.
|
|
26
|
+
3. **Plan** — do not stop. Read `pipeline.json` and confirm `active-task.json`. If `pipeline.autonomy.mode` is not `auto`, write `blocked.md` with the router reason and stop. If `autonomy.mode` is `auto` and `humanGates` is not empty, set `humanGates: []` and record the override as a `D-N` row. Otherwise continue; the hook owns `focus.md`.
|
|
27
|
+
4. **Start** — do not write lifecycle fields in `status.json` / `metrics.json`; if `status.json` is missing, bootstrap only `slug`, `intent`, `pipelineIndex: 0`, `currentAgent: steps[0]`, `state: in_progress`. Invoke `steps[0].agent`.
|
|
28
|
+
5. **After each agent** — on a manual-hook host (Claude, Mavis, OpenCode, ZCode), run the installed chain hook (`.<host>/hooks/chain-team-phases.sh`); on Cursor, wait for the `subagentStop` hook. Read `status.json` and the hook `followup_message`, then dispatch the agent named by the handoff. Do not advance from chat.
|
|
29
|
+
6. **Retries** — follow the hook on `changes_requested` and `validation_failed`; cap two retries per gate. After the cap, write `blocked.md` with the failing gate and the fresh evidence, then stop.
|
|
30
|
+
7. **Forced gates** — `humanGates` is empty, so any `awaiting_approval` is a failure gate. Do not call `end_human_gate`; write `blocked.md` with the gate and artifact, then stop. A `mockup-reviewer` FAIL or `mockup-change-requested` is always a hard stop: the fix belongs in the design source.
|
|
31
|
+
8. **Terminal** — write `outcome.md` with assumptions and residual risks, roll up `review-ledger.md`, and report in the resolved dialogue language. Do not commit or push.
|
|
32
|
+
|
|
33
|
+
Every Task handoff starts with:
|
|
34
|
+
|
|
35
|
+
> Read `.ai.local/team/tasks/<slug>/autonomy.md` and `decisions.md` first. Autonomy: auto. Do not ask. Choose the recommended option, record D-N in `decisions.md`, and continue. Return `blocked` only for a hard stop.
|
|
36
|
+
|
|
37
|
+
## Autonomy contract
|
|
38
|
+
|
|
39
|
+
Write this to `autonomy.md`:
|
|
40
|
+
|
|
41
|
+
```markdown
|
|
42
|
+
# Autonomy contract
|
|
43
|
+
|
|
44
|
+
Mode: auto
|
|
45
|
+
|
|
46
|
+
## Approval envelope
|
|
47
|
+
The original prompt approves the plan and implementation choices inside the stated goal. A goal change or scope expansion is a hard stop.
|
|
48
|
+
|
|
49
|
+
## Answer policy
|
|
50
|
+
- Prefer the repository analog and the existing pattern.
|
|
51
|
+
- Prefer the smallest reversible change.
|
|
52
|
+
- Prefer the conservative security, privacy, and compliance option.
|
|
53
|
+
- Prefer the smallest blast radius when two options are equally safe.
|
|
54
|
+
- Record each decision as `D-N` in `decisions.md`: decision, alternatives, why, reversible, evidence.
|
|
55
|
+
- Do not ask and do not call the question tool.
|
|
56
|
+
|
|
57
|
+
## Hard stops
|
|
58
|
+
Write `blocked.md` and stop on:
|
|
59
|
+
- destructive or irreversible operations;
|
|
60
|
+
- auth, payments, PII, or a compliance boundary;
|
|
61
|
+
- a public API or contract change without a source of truth;
|
|
62
|
+
- a missing external source (Figma MCP, credentials) whose absence would force invented claims;
|
|
63
|
+
- a goal change or scope expansion;
|
|
64
|
+
- conflicting acceptance criteria or an impossible task;
|
|
65
|
+
- a repeated gate failure after two retries;
|
|
66
|
+
- `mockup-reviewer` FAIL or `mockup-change-requested`;
|
|
67
|
+
- `changes_requested` or `validation_failed` with no `feature-developer` step;
|
|
68
|
+
- a `.ai.local` rule conflict or an R-03 escalation.
|
|
69
|
+
|
|
70
|
+
## Quality gates
|
|
71
|
+
`build-verifier`, `code-reviewer`, `mockup-reviewer`, `api-contract-reviewer`, security, a11y, and every `.ai.local` gate stay. Do not lower `profile` or the task level.
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Decisions table
|
|
75
|
+
|
|
76
|
+
Write this header to `decisions.md`:
|
|
77
|
+
|
|
78
|
+
```markdown
|
|
79
|
+
| ID | Stage | Decision | Alternatives | Why | Reversible | Evidence |
|
|
80
|
+
|----|-------|----------|--------------|-----|------------|----------|
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Do not
|
|
84
|
+
|
|
85
|
+
- Invoke `steps[0]` before `pipeline.json` exists.
|
|
86
|
+
- Ask the user to confirm the plan or a question.
|
|
87
|
+
- Call `end_human_gate` on a forced failure gate.
|
|
88
|
+
- Skip a quality gate or lower the task level.
|
|
89
|
+
- Commit or push.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: technical-retro
|
|
3
|
+
description: "Facilitates technical retrospectives for tasks, sprints, incidents, releases, and agent-team pipelines. Use when the user asks for retro, postmortem, process review, or action items after delivery."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<!-- shared-core: quality/anti-hallucination-load-line.md -->
|
|
8
|
+
|
|
9
|
+
Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
|
|
10
|
+
|
|
11
|
+
# Technical Retro
|
|
12
|
+
|
|
13
|
+
## Inputs
|
|
14
|
+
|
|
15
|
+
Ask for missing period, focus, task slug, participants, or format constraints. If a slug is provided, read `.ai.local/team/tasks/<slug>/` artifacts and local git status/diff. Do not invent facts not present in artifacts or the user's message.
|
|
16
|
+
|
|
17
|
+
## Facilitation Principles
|
|
18
|
+
|
|
19
|
+
- Focus on process and system behavior, not blame.
|
|
20
|
+
- Separate facts, interpretations, and proposed actions.
|
|
21
|
+
- Balance what worked with what slowed delivery.
|
|
22
|
+
- Keep action items concrete, owned, and measurable.
|
|
23
|
+
|
|
24
|
+
## Default Structure
|
|
25
|
+
|
|
26
|
+
1. Goal and scope.
|
|
27
|
+
2. Timeline or factual observations.
|
|
28
|
+
3. What worked.
|
|
29
|
+
4. What hurt quality, speed, or confidence.
|
|
30
|
+
5. Root causes for the top one or two issues.
|
|
31
|
+
6. Experiments and action items.
|
|
32
|
+
|
|
33
|
+
## Agent Team Block
|
|
34
|
+
|
|
35
|
+
For `/task` pipelines, include router, analyst, developer, **build-verifier**, reviewer, QA/e2e, hooks, and rules.
|
|
36
|
+
|
|
37
|
+
## Wrong-turn taxonomy (optional)
|
|
38
|
+
|
|
39
|
+
When artifacts or the user mention agent mistakes, tag incidents:
|
|
40
|
+
|
|
41
|
+
| Kind | Signal |
|
|
42
|
+
|------|--------|
|
|
43
|
+
| `correction` | User pushback («no», «don't», «actually») |
|
|
44
|
+
| `retry` | Same tool/approach 2+ times before success |
|
|
45
|
+
| `waste` | Many searches before the right file |
|
|
46
|
+
| `reversal` | Edit then revert / delete |
|
|
47
|
+
| `dead-end` | Env/tool failure (missing binary, wrong path) |
|
|
48
|
+
|
|
49
|
+
Severity: **high** (explicit correction / large waste) · **med** · **low**. Confidence 0–100 — be honest; low-confidence items are optional.
|
|
50
|
+
|
|
51
|
+
## Preset feedback loop
|
|
52
|
+
|
|
53
|
+
Read structured evidence before proposing changes: `.ai.local/signals.jsonl` (wrong-turn signals grouped by
|
|
54
|
+
`signature` — the machine-enforced Rule of Three: ≥2 distinct tasks → edit a local rule / `conventions.md` gotcha,
|
|
55
|
+
≥3 → new rule) and `.ai.local/rule-changes.jsonl` (applied and **staged** mutations with `before` snapshots).
|
|
56
|
+
Reconstruct issues from these ledgers, not free text. Every appended signal sets `finding_category` (`correctness` | `contract` | `perf` | `hygiene` | `process`) so the signature ledger can turn a repeated `gate-changes-requested` into a rule instead of only counting it.
|
|
57
|
+
|
|
58
|
+
If the same issue appeared in **2+** tasks (or **3+** for packaging a new rule/skill — Rule of Three), add section
|
|
59
|
+
**Preset updates**:
|
|
60
|
+
|
|
61
|
+
- Proposed change to `.mavis/rules/`, `.mavis/agents/`, `.mavis/skills/`, or **`.ai.local/conventions.md`**
|
|
62
|
+
(prefer conventions for project gotchas)
|
|
63
|
+
- One concrete snippet or file path
|
|
64
|
+
- Whether it belongs in always-on vs globs vs skill vs conventions (see `PRESET-CONTRIBUTION` → Building blocks)
|
|
65
|
+
|
|
66
|
+
**Human promote.** `staged` entries (new rules, `override: kill`, Decisions, compliance, high-severity) are the
|
|
67
|
+
human-promote set: move a `.ai.local/rules-library/<stem>.md` seed to `.ai.local/rules/` or approve a staged edit,
|
|
68
|
+
and record the promotion in `.ai.local/rule-changes.jsonl`.
|
|
69
|
+
|
|
70
|
+
Do not apply preset or conventions changes without user approval.
|
|
71
|
+
|
|
72
|
+
In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-start
|
|
3
|
+
description: "Restart the team-tasks UI stack: stop it when running, refresh the task projection, then start."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
|
|
7
|
+
|
|
8
|
+
# Start the team-tasks UI
|
|
9
|
+
|
|
10
|
+
Bring up `apps/team-tasks-ui` through its own Docker Compose project, rebuilt
|
|
11
|
+
from the current source, and guarantee the host team-db API the UI reads from.
|
|
12
|
+
|
|
13
|
+
## What to do
|
|
14
|
+
|
|
15
|
+
1. If `apps/team-tasks-ui/scripts/stack.mjs` is absent, stop and report that this
|
|
16
|
+
repository has no team-tasks UI. Otherwise, from the repository root, run:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
node apps/team-tasks-ui/scripts/stack.mjs start
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
2. Quote the command's stdout verbatim: the `ui:`, `api:`, and `processes:`
|
|
23
|
+
lines, including the owner state. On success the script prints
|
|
24
|
+
`ui: http://127.0.0.1:4300`,
|
|
25
|
+
`api: http://127.0.0.1:4178 (owner: pre-existing|started-by-this-script)`, and
|
|
26
|
+
`processes: http://127.0.0.1:4179 (owner: pre-existing|started-by-this-script)`.
|
|
27
|
+
3. On a non-zero exit, quote the `error:` line verbatim and stop. Do not retry
|
|
28
|
+
with a different compose command and do not start the API by hand.
|
|
29
|
+
4. The start is restart-safe: when the `team-tasks-ui` project is already
|
|
30
|
+
running, the script stops it first, runs `team-db.mjs migrate-tasks` against
|
|
31
|
+
the projection, then rebuilds the image from the current source and starts
|
|
32
|
+
again. A second start never binds a second stack or a second listener on the
|
|
33
|
+
published port.
|
|
34
|
+
|
|
35
|
+
## What the script does
|
|
36
|
+
|
|
37
|
+
- Pins every project call to `apps/team-tasks-ui/docker-compose.yml` and the
|
|
38
|
+
`team-tasks-ui` project name.
|
|
39
|
+
- Stops a running `team-tasks-ui` project and the API this script started
|
|
40
|
+
before refreshing the projection.
|
|
41
|
+
- Runs `node .ai.local/scripts/team-db.mjs migrate-tasks --quiet --no-rebuild`
|
|
42
|
+
after that stop and before the rebuild, so the UI serves the current task
|
|
43
|
+
projection.
|
|
44
|
+
- Seeds `team/runner.json` from the default when it is absent.
|
|
45
|
+
- Starts the host API with `node .ai.local/scripts/team-db.mjs serve` only when
|
|
46
|
+
nothing answers on `127.0.0.1:4178`, and records that ownership in the
|
|
47
|
+
git-ignored `.ai.local/.ui/api.json` marker.
|
|
48
|
+
- Repairs a missing derived database once through `team-db.mjs sync`, and never
|
|
49
|
+
repairs an API this script did not start.
|
|
50
|
+
- Guarantees the process view the `/processes` page reads: when
|
|
51
|
+
`127.0.0.1:4179` refuses the connection, the script runs
|
|
52
|
+
`node .ai.local/scripts/processes.mjs serve` through the process manager
|
|
53
|
+
(`processes.mjs start --name process-view`). The lease in
|
|
54
|
+
`.ai.local/.processes/` is the ownership record, so a second start never binds
|
|
55
|
+
a second listener, an owned view that answers a non-200 is stopped and started
|
|
56
|
+
once, and a listener the script cannot prove is left alone and reported.
|
|
57
|
+
|
|
58
|
+
## Do not
|
|
59
|
+
|
|
60
|
+
- Write `status.json`, `metrics.json`, or any task or lifecycle file.
|
|
61
|
+
- Run `docker stop`, `docker rm`, `docker kill`, or a bare `docker compose down`.
|
|
62
|
+
- Edit `apps/team-tasks-ui/docker-compose.yml`, the Dockerfile, the app source,
|
|
63
|
+
or the team-db API.
|
|
64
|
+
- Open a browser, tail container logs, or start a second copy of the app.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-stop
|
|
3
|
+
description: "Stop the team-tasks UI compose project and the team-db API that /ui-start started."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
|
|
7
|
+
|
|
8
|
+
# Stop the team-tasks UI
|
|
9
|
+
|
|
10
|
+
Take down the `apps/team-tasks-ui` Docker Compose project, and stop the host
|
|
11
|
+
team-db API and process view only when `/ui-start` started them.
|
|
12
|
+
|
|
13
|
+
## What to do
|
|
14
|
+
|
|
15
|
+
1. If `apps/team-tasks-ui/scripts/stack.mjs` is absent, stop and report that this
|
|
16
|
+
repository has no team-tasks UI. Otherwise, from the repository root, run:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
node apps/team-tasks-ui/scripts/stack.mjs stop
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
2. Quote the command's stdout verbatim. On an already stopped stack it prints
|
|
23
|
+
`nothing running` and exits 0.
|
|
24
|
+
3. On a non-zero exit, quote the `error:` line verbatim and stop.
|
|
25
|
+
4. The stop is idempotent: a second stop exits 0 and changes nothing.
|
|
26
|
+
|
|
27
|
+
## What the script does
|
|
28
|
+
|
|
29
|
+
- Pins every project call to `apps/team-tasks-ui/docker-compose.yml` and the
|
|
30
|
+
`team-tasks-ui` project name, and removes that project's containers and
|
|
31
|
+
network.
|
|
32
|
+
- Stops only the API process recorded in `.ai.local/.ui/api.json` whose live
|
|
33
|
+
command line is still `team-db.mjs serve`, then removes that marker.
|
|
34
|
+
- Stops the process view through `processes.mjs stop --name process-view`, so
|
|
35
|
+
only a listener that manager recorded is signalled; a foreign one is left
|
|
36
|
+
running and reported.
|
|
37
|
+
- Leaves a foreign API alone: a process the marker does not prove is never
|
|
38
|
+
signalled.
|
|
39
|
+
|
|
40
|
+
## Do not
|
|
41
|
+
|
|
42
|
+
- Write `status.json`, `metrics.json`, or any task or lifecycle file.
|
|
43
|
+
- Run `docker stop`, `docker rm`, `docker kill`, or a bare `docker compose down`.
|
|
44
|
+
- Stop a container outside the `team-tasks-ui` project.
|
|
45
|
+
- Edit `apps/team-tasks-ui/docker-compose.yml`, the Dockerfile, or the app
|
|
46
|
+
source.
|
|
47
|
+
- Kill a process on `127.0.0.1:4178` by port; only the ownership marker
|
|
48
|
+
authorizes a stop.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: unit-testing
|
|
3
|
+
description: "Plans, generates, and heals unit tests for mappers, thunks, HTTP client behavior, and React components using mirrored paths under app/__tests__/unit and tests-unit rules. Use for unit test planning, generation, or fixing failing unit tests."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<!-- shared-core: quality/anti-hallucination-load-line.md -->
|
|
8
|
+
|
|
9
|
+
Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
|
|
10
|
+
Load `react-next-anti-hallucination` before writing or patching code or tests.
|
|
11
|
+
|
|
12
|
+
# Unit Testing
|
|
13
|
+
|
|
14
|
+
## Project Layout
|
|
15
|
+
|
|
16
|
+
- Test root: `app/__tests__/unit`.
|
|
17
|
+
- Mirror formula: `app/src/<rel>` → `app/__tests__/unit/<rel>` (drop `app/src`, preserve the relative path).
|
|
18
|
+
- Place specs at the deepest mirrored folder of the module under test; do not colocate tests under `app/src/**`.
|
|
19
|
+
- Legacy `*.test.ts` / `*.test.tsx` — do not rename without a separate task.
|
|
20
|
+
- Runner: Jest or Vitest as configured in the target repo; components use `@testing-library/react`.
|
|
21
|
+
|
|
22
|
+
Follow **`tests-unit.md`** (Cursor) or **`rules/testing/tests-unit.md`** (Claude).
|
|
23
|
+
|
|
24
|
+
## Planner
|
|
25
|
+
|
|
26
|
+
Write or update `.ai.local/team/tasks/<slug>/unit-test-plan.md` (or `.ai.local/team/...`).
|
|
27
|
+
|
|
28
|
+
Each scenario needs an `it()` title in the project locale (as enforced by repo lint/conventions; default English), capital letter after each sentence. Cover mappers, thunks, client behavior branches, and component interactions per AC. Record the mirrored target path under `app/__tests__/unit/`.
|
|
29
|
+
|
|
30
|
+
## Generator
|
|
31
|
+
|
|
32
|
+
Implement specs from `unit-test-plan.md` under the mirrored `app/__tests__/unit/` path. Import the source under test through the `@/` alias. Reuse project test-store, HTTP mocks, and existing test utilities. Do not change production code.
|
|
33
|
+
|
|
34
|
+
## Healer
|
|
35
|
+
|
|
36
|
+
Fix mocks, async timing, selectors, and setup — preserve business assertions. Use `unit-test-plan.md` and `brief.md` as the behavior contract.
|
|
37
|
+
|
|
38
|
+
## Validation
|
|
39
|
+
|
|
40
|
+
For a test-authoring or test-healing intent, run the targeted spec from `app/` and report command, pass/fail, and remaining gaps vs plan. For feature implementation, author the specs only; `build-verifier` runs the affected suite at closure.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: update
|
|
3
|
+
description: "Reinstall the preset recorded for each tool that is already installed."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
|
|
7
|
+
|
|
8
|
+
# Update
|
|
9
|
+
|
|
10
|
+
Reinstall every tool that already has an install manifest, using the `preset` recorded in that manifest.
|
|
11
|
+
|
|
12
|
+
## What to do
|
|
13
|
+
|
|
14
|
+
1. From the repository root, run:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx @bonesofspring/ai-rules update
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
2. Report the CLI summary to the user in their native language. It names each tool and the preset it kept.
|
|
21
|
+
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.
|
|
22
|
+
4. Do not report the numeric exit code.
|
|
23
|
+
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.
|
|
24
|
+
|
|
25
|
+
## Record
|
|
26
|
+
|
|
27
|
+
`init` writes `platform` and `preset` into `<tool>/.ai-rules-install.json`:
|
|
28
|
+
|
|
29
|
+
- `.cursor/.ai-rules-install.json`
|
|
30
|
+
- `.claude/.ai-rules-install.json`
|
|
31
|
+
- `.mavis/.ai-rules-install.json`
|
|
32
|
+
- `.opencode/.ai-rules-install.json`
|
|
33
|
+
- `.zcode/.ai-rules-install.json`
|
|
34
|
+
|
|
35
|
+
`update` reads those files. A tool without that file stays uninstalled. Report the result in the user's native language (`language-policy`).
|
|
36
|
+
|
|
37
|
+
## Version check
|
|
38
|
+
|
|
39
|
+
See `## Preset version` in `REPO_AGENTS.md`. That check opens with a level-2 heading and a blockquote naming the installed version, the latest version, and this command.
|
|
40
|
+
|
|
41
|
+
## Do not
|
|
42
|
+
|
|
43
|
+
- Pass `--preset` or a tool name. To switch preset, run `init <tool> --preset <name>`.
|
|
44
|
+
- Delete `.ai.local/`.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ux-design
|
|
3
|
+
description: "Behavioral UX synthesis and review for task-analyst. Modes synthesize|review. Standalone intent ux-design or embedded required-signal / advisory UI AC. No Figma MCP; no DESIGN.md."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<!-- shared-core: quality/anti-hallucination-load-line.md -->
|
|
8
|
+
|
|
9
|
+
Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
|
|
10
|
+
|
|
11
|
+
# UX design
|
|
12
|
+
|
|
13
|
+
Requestable procedure for **task-analyst** (not a pipeline agent). Checklist lives in rule `ux-design` — do not duplicate it here.
|
|
14
|
+
|
|
15
|
+
**Not** a Figma workflow: do not call Figma MCP; do not write `DESIGN.md`. Visual/DS/viewport audit stays with `mockup-reviewer` / skill `mockup-review`.
|
|
16
|
+
|
|
17
|
+
## When to run
|
|
18
|
+
|
|
19
|
+
- Standalone `/task` intent `ux-design` (report-only; profile `light`; steps only `task-analyst`; modes `synthesize` | `review`; `humanGates: []`).
|
|
20
|
+
- Embedded: `feature` / `refactor` / `spike` / `spec-gen` on a UI stack when required-signal or advisory UI AC fires — inside the analyst step (no new pipeline agent). Required-signal: user asked UX, or AC require flows/states, or spec-gen page/feature.
|
|
21
|
+
|
|
22
|
+
## Modes
|
|
23
|
+
|
|
24
|
+
- `synthesize` — elicit IA, named primary flows, empty/error/loading matrix from the brief/AC.
|
|
25
|
+
- `review` — critique a brief/wireframe/description **without** Figma. A `figma.com` URL with review-not-implement language is intent `mockup-review`, not this skill.
|
|
26
|
+
|
|
27
|
+
## Order
|
|
28
|
+
|
|
29
|
+
UX synthesis **before** skill `spec-authoring` / author mode when both apply. Analyst remains the only INDEX writer. Map headings via the rule's Spec feed table; do not paste the whole UX file into `docs/specs`.
|
|
30
|
+
|
|
31
|
+
## Forbidden Figma MCP
|
|
32
|
+
|
|
33
|
+
Do not call `get_metadata`, `get_design_context`, `get_screenshot`, `search_design_system`, `get_variable_defs`, `use_figma`, `create_new_file`, `generate_*`. Only `mockup-reviewer` reads Figma.
|
|
34
|
+
|
|
35
|
+
## Load the checklist
|
|
36
|
+
|
|
37
|
+
Load requestable rule `ux-design` and follow its required-signal vs advisory rules, forbidden MCP list, verdicts, surface-closure, and report headings.
|
|
38
|
+
|
|
39
|
+
## Output
|
|
40
|
+
|
|
41
|
+
Write `.ai.local/team/tasks/<slug>/ux-design.md` and append that path to the **`analysis`** manifest entry (`authoritativePaths` / `evidencePaths`). Do **not** create a new producer row. Receipt stays on `analysis`: required `INCOMPLETE` (missing primary flows or empty/error/loading matrix) → DoR not met; advisory `INCOMPLETE` → notes only. Never copy the mockup FAIL-only hook.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: write-adr
|
|
3
|
+
description: "Author an Architecture Decision Record (ADR) with Context, Decision, Consequences, and Links. Use when capturing a durable technical choice for the team."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<!-- shared-core: quality/anti-hallucination-load-line.md -->
|
|
8
|
+
|
|
9
|
+
Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
|
|
10
|
+
|
|
11
|
+
# Write ADR
|
|
12
|
+
|
|
13
|
+
On-demand skill for durable architecture decisions. Stack-agnostic sections — fill with project-specific paths and links.
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
- Choosing between non-trivial alternatives (storage, layering, library, API shape).
|
|
18
|
+
- Recording a decision that future agents/humans should not silently reverse.
|
|
19
|
+
- User asks for an ADR, decision log, or “why did we pick X”.
|
|
20
|
+
|
|
21
|
+
## Template
|
|
22
|
+
|
|
23
|
+
Create (or append) a short markdown ADR in the repo’s agreed location (e.g. `docs/adr/`, `.ai.local/team/`, wiki). Suggested filename: `NNNN-short-title.md`.
|
|
24
|
+
|
|
25
|
+
```markdown
|
|
26
|
+
# ADR NNNN: <Title>
|
|
27
|
+
|
|
28
|
+
## Context
|
|
29
|
+
What problem / constraint / force requires a decision?
|
|
30
|
+
|
|
31
|
+
## Decision
|
|
32
|
+
What we chose (one clear option). Include rejected alternatives briefly if useful.
|
|
33
|
+
|
|
34
|
+
## Consequences
|
|
35
|
+
Positive and negative outcomes; follow-up work; what becomes harder.
|
|
36
|
+
|
|
37
|
+
## Links
|
|
38
|
+
Related PRs, issues, rules, prior ADRs, diagrams.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Guidelines
|
|
42
|
+
|
|
43
|
+
- Prefer one decision per ADR.
|
|
44
|
+
- Keep Context factual; Decision imperative and short.
|
|
45
|
+
- Link living gotchas to `.ai.local/conventions.md` when the decision becomes a recurring local pattern.
|
|
46
|
+
- Do not put ADR bodies only in root `AGENTS.md` (overwrite on init).
|
|
@@ -132,6 +132,7 @@ Each slug has one `artifact-manifest.json` at `.ai.local/team/tasks/<slug>/`. Th
|
|
|
132
132
|
- Agents upsert only the items they own in `manifest.artifacts[]` and preserve all foreign items in that array. Parallel agents use distinct IDs. Every write is a whole-file merge through `node .ai.local/scripts/manifest.mjs upsert …` under `.manifest.lock` (see the installed `team/README.md` § artifact-manifest.json — write protocol); the parent does not need to serialize merges, and a fragment/replace edit of the JSON is forbidden. The top-level array key is `artifacts` — not `entries`; see `agent-artifact-contracts.md` for the schema callout.
|
|
133
133
|
- The orchestration runtime/hook is the single writer for `status.json` lifecycle fields and `metrics.json`. Agents read status for eligibility but never rewrite unrelated state, gate, retry, attempt, timestamp, or metrics fields.
|
|
134
134
|
- Missing/stale manifests are reported as a handoff gap; fall back to `brief.md`, `decomposition.md`, and `pipeline.json` rather than inventing authority.
|
|
135
|
+
- A step that names a gate agent (`build-verifier`, `code-reviewer`, `mockup-reviewer`, `security-reviewer`, `accessibility-reviewer`, `api-contract-reviewer`, `performance-auditor`) is a promise the plan made to the diff: the hook blocks `completed` while its receipt is missing, with or without `.ai.local/pipeline-gates.json`. An intentional skip is recorded in `status.skippedSteps` with its reason — never by dropping the step quietly.
|
|
135
136
|
|
|
136
137
|
## Out-of-band producer passes
|
|
137
138
|
|
|
@@ -27,7 +27,7 @@ Concrete rule stems — in **Stack notes**.
|
|
|
27
27
|
|
|
28
28
|
## Depth passes
|
|
29
29
|
|
|
30
|
-
A diff-shaped read is a floor, not a review. Run these
|
|
30
|
+
A diff-shaped read is a floor, not a review. Run these six passes on every non-trivial review and record each one under `## Depth passes` in the review artifact as exactly one of:
|
|
31
31
|
|
|
32
32
|
- **`finding`** — reported like any other finding, with `path:line`.
|
|
33
33
|
- **`no finding`** — with one line of evidence: what was searched or read.
|
|
@@ -41,10 +41,11 @@ An outcome word alone is not a record: `no finding` without its evidence line, o
|
|
|
41
41
|
3. **Trust boundary** — which data crosses a trust boundary in this change, and where is it validated. Data reaching storage, logs, HTML, SQL, shell, or an outbound request without an edge check is a finding.
|
|
42
42
|
4. **Test gap** — not "is there a test" but "which behaviour change would still pass every existing test". That gap is the finding.
|
|
43
43
|
5. **Half-life** — what breaks in six months: hidden coupling, implicit contract, missing migration, an unowned copy of the same rule.
|
|
44
|
+
6. **Executable surface** — when the diff touches anything that runs outside app code (`*.mjs`, hooks, `scripts/`, CI steps): state the working directory the code assumes, quote every path spliced into a shell string, and check that a spawn cannot kill or truncate the command it wraps. A config-derived value written into storage carries no credential, and a migration or scan re-runs with a stable id.
|
|
44
45
|
|
|
45
46
|
## Review breadth budget
|
|
46
47
|
|
|
47
|
-
- Bound **breadth**, not depth: the call-site sweep and the one-hop consumer read stop at this budget. The
|
|
48
|
+
- Bound **breadth**, not depth: the call-site sweep and the one-hop consumer read stop at this budget. The six depth passes still run on what was read.
|
|
48
49
|
- Budget: the changed exports, types, routes, and events in the diff, plus one hop of their consumers. Read no consumer that neither the diff nor a recorded finding names.
|
|
49
50
|
- Stop when either limit is reached: 40 changed-symbol call sites, or 15 minutes of breadth reads on one review.
|
|
50
51
|
- When the budget is exhausted, stop the sweep and record `partial` in `## Depth passes` for the call-site sweep, with every unread path or glob named inline.
|
|
@@ -67,8 +68,22 @@ Procedure details live in skill `code-review`. Required shape:
|
|
|
67
68
|
- Confidence is not a second severity: the verdict and the receipt still map from severity alone. A `blocker` at `low` confidence stands only with that confirming check named.
|
|
68
69
|
- Rank by severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
69
70
|
- Vague («looks risky») is not a finding — cite evidence or ask for surrounding file context.
|
|
70
|
-
-
|
|
71
|
-
-
|
|
71
|
+
- A behaviour you cannot settle by reading is a **question, not silence**. Put it under `## Open questions` as `- <question> — check: <the one check that would settle it> — blocker-candidate: yes | no`. A question needs no `path:line` and no `confidence`; leaving it out because it is unproven is the failure this section exists to prevent.
|
|
72
|
+
- End with a verdict on its own line: **`Safe to merge | safe to merge with questions | needs changes | reject`**. `safe to merge with questions` is allowed only with no `blocker`/`important` finding and at least one open question; the terminal receipt stays `completed`. A silent `Safe to merge` over an open question is not a verdict.
|
|
73
|
+
- Close with `## Not verified` — what was read shallowly, which pass could not run, which assumption went unchecked. An empty section reads `none`; never omit it. A depth pass recorded `unable to run` or `partial` over an executable surface (scripts, hooks, CI, migrations) forbids `Safe to merge` until the check runs or a human accepts it in writing.
|
|
74
|
+
|
|
75
|
+
## Review without an acceptance criterion
|
|
76
|
+
|
|
77
|
+
A change-set that no brief, decomposition, or plan names is still reviewable: the diff is the scope, and the verdict rests on it alone. State in `## Not verified` that no AC existed; absence of an AC is a scope fact, never a review exemption. When the plan is missing, review against these classes; a class you cannot settle by reading becomes an `## Open question`:
|
|
78
|
+
|
|
79
|
+
- null/undefined after `JSON.parse`, a missing key, or a shape the producer never promised;
|
|
80
|
+
- empty, boundary, repeated, and concurrent inputs;
|
|
81
|
+
- resource limits: buffers, timeouts, retries, exit codes, stdio;
|
|
82
|
+
- secrets and credentials reaching logs, files, URLs, or an outbound request;
|
|
83
|
+
- path resolution that assumes a cwd; quoting of argv and of interpolated shell;
|
|
84
|
+
- idempotency of migrations, re-runs, and partial failures;
|
|
85
|
+
- machine-local runtime state that a commit would carry;
|
|
86
|
+
- a second unowned copy of a rule that already exists elsewhere.
|
|
72
87
|
|
|
73
88
|
## Verdict and terminal receipt
|
|
74
89
|
|
|
@@ -32,7 +32,8 @@ Lead with findings ordered by severity. Required shape (also in `code-review-mr`
|
|
|
32
32
|
- Each finding: **`path:line`** — problem — impact — concrete fix direction.
|
|
33
33
|
- Severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
34
34
|
- Vague («looks risky») is not a finding — cite evidence or ask for surrounding context.
|
|
35
|
-
-
|
|
35
|
+
- 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`.
|
|
36
|
+
- 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.
|
|
36
37
|
- If there are no findings, say so and call out remaining test or validation risk.
|
|
37
38
|
- Carry `confidence` on every finding and close with `## Not verified` (see `code-review-mr` § Output contract).
|
|
38
39
|
|
|
@@ -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`.
|
|
@@ -82,6 +87,7 @@ npx @bonesofspring/ai-rules init mavis --preset nuxt
|
|
|
82
87
|
|
|
83
88
|
Copies rules, commands, agents, hooks, skills, `MAVIS.md` → `.mavis/AGENTS.md`,
|
|
84
89
|
`MCP.md`, `mcp.json` → `.mavis/mcp.json`, plus `REPO_AGENTS.md` → root `AGENTS.md`.
|
|
90
|
+
Native skills → `.minimax/skills/` (the highest-priority root MiniMax Code scans).
|
|
85
91
|
Seeds `.ai.local/team/`.
|
|
86
92
|
`freshInit` is `unknown`: `mcode init` is TTY-only and a live first `init mavis` is not verified.
|
|
87
93
|
MCP mode is `fallback-manual-import`: import `.mavis/mcp.json` in the MiniMax Code UI. Do not write `~/.minimax/**`.
|