@bonesofspring/ai-rules 0.2.78 → 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 +97 -0
- package/README.md +4 -2
- package/bin/lib/engine-scripts.js +6 -0
- package/bin/lib/merged-config.js +49 -0
- package/bin/lib/seed-ai-local-team.js +4 -0
- package/bin/mavis-install.js +53 -3
- package/docs/MAVIS-COMPATIBILITY.md +136 -8
- package/docs/PRESET-CONTRIBUTION.md +9 -0
- package/docs/TEAM-DB.md +118 -15
- package/docs/openapi/team-db.v1.json +2879 -1858
- package/package.json +8 -1
- package/presets/_shared/ai-local/scripts/check-task-repositories.mjs +282 -0
- package/presets/_shared/ai-local/scripts/check-verification.mjs +13 -6
- package/presets/_shared/ai-local/scripts/rr-migrate-repositories.mjs +531 -0
- package/presets/_shared/ai-local/scripts/run-compact.mjs +38 -10
- package/presets/_shared/ai-local/scripts/team-db-api.mjs +211 -12
- package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +289 -3
- package/presets/_shared/ai-local/scripts/team-db-project.mjs +857 -1
- package/presets/_shared/ai-local/scripts/team-db-schema.mjs +68 -0
- package/presets/_shared/ai-local/scripts/team-db-tracker.mjs +29 -10
- package/presets/_shared/ai-local/scripts/team-db.mjs +46 -1
- 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 +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/claude/android-kotlin/commands/README.md +1 -0
- package/presets/claude/android-kotlin/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/android-kotlin/commands/task.md +4 -0
- package/presets/claude/android-kotlin/commands/update.md +1 -0
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/claude/go/commands/README.md +1 -0
- package/presets/claude/go/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/go/commands/task.md +4 -0
- package/presets/claude/go/commands/update.md +1 -0
- package/presets/claude/go/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/claude/ios-swift/commands/README.md +1 -0
- package/presets/claude/ios-swift/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/ios-swift/commands/task.md +4 -0
- package/presets/claude/ios-swift/commands/update.md +1 -0
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/claude/java/commands/README.md +1 -0
- package/presets/claude/java/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/java/commands/task.md +4 -0
- package/presets/claude/java/commands/update.md +1 -0
- package/presets/claude/java/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/claude/mcp-ts/commands/README.md +1 -0
- package/presets/claude/mcp-ts/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/mcp-ts/commands/task.md +4 -0
- package/presets/claude/mcp-ts/commands/update.md +1 -0
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +109 -1
- 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 +3 -1
- package/presets/claude/mol/commands/README.md +1 -0
- package/presets/claude/mol/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/mol/commands/task.md +4 -0
- package/presets/claude/mol/commands/update.md +1 -0
- package/presets/claude/mol/hooks/chain-team-phases.sh +109 -1
- 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 +3 -1
- package/presets/claude/next/commands/README.md +1 -0
- package/presets/claude/next/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/next/commands/task.md +4 -0
- package/presets/claude/next/commands/ui-start.md +12 -4
- package/presets/claude/next/commands/ui-stop.md +5 -2
- package/presets/claude/next/commands/update.md +1 -0
- package/presets/claude/next/hooks/chain-team-phases.sh +109 -1
- 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 +3 -1
- package/presets/claude/nuxt/commands/README.md +1 -0
- package/presets/claude/nuxt/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/nuxt/commands/task.md +4 -0
- package/presets/claude/nuxt/commands/update.md +1 -0
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/claude/php-hexagonal/commands/README.md +1 -0
- package/presets/claude/php-hexagonal/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/php-hexagonal/commands/task.md +4 -0
- package/presets/claude/php-hexagonal/commands/update.md +1 -0
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/claude/php-laravel/commands/README.md +1 -0
- package/presets/claude/php-laravel/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/php-laravel/commands/task.md +4 -0
- package/presets/claude/php-laravel/commands/update.md +1 -0
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +109 -1
- 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 +3 -1
- package/presets/claude/svelte/commands/README.md +1 -0
- package/presets/claude/svelte/commands/rr-migrate-repositories.md +59 -0
- package/presets/claude/svelte/commands/task.md +4 -0
- package/presets/claude/svelte/commands/update.md +1 -0
- package/presets/claude/svelte/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/cursor/android-kotlin/commands/README.md +1 -0
- package/presets/cursor/android-kotlin/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/android-kotlin/commands/task.md +4 -0
- package/presets/cursor/android-kotlin/commands/update.md +1 -0
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/cursor/go/commands/README.md +1 -0
- package/presets/cursor/go/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/go/commands/task.md +4 -0
- package/presets/cursor/go/commands/update.md +1 -0
- package/presets/cursor/go/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/cursor/ios-swift/commands/README.md +1 -0
- package/presets/cursor/ios-swift/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/ios-swift/commands/task.md +4 -0
- package/presets/cursor/ios-swift/commands/update.md +1 -0
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/cursor/java/commands/README.md +1 -0
- package/presets/cursor/java/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/java/commands/task.md +4 -0
- package/presets/cursor/java/commands/update.md +1 -0
- package/presets/cursor/java/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/cursor/mcp-ts/commands/README.md +1 -0
- package/presets/cursor/mcp-ts/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/mcp-ts/commands/task.md +4 -0
- package/presets/cursor/mcp-ts/commands/update.md +1 -0
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +109 -1
- 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 +3 -1
- package/presets/cursor/mol/commands/README.md +1 -0
- package/presets/cursor/mol/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/mol/commands/task.md +4 -0
- package/presets/cursor/mol/commands/update.md +1 -0
- package/presets/cursor/mol/hooks/chain-team-phases.sh +109 -1
- 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 +3 -1
- package/presets/cursor/next/commands/README.md +1 -0
- package/presets/cursor/next/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/next/commands/task.md +4 -0
- package/presets/cursor/next/commands/ui-start.md +12 -4
- package/presets/cursor/next/commands/ui-stop.md +5 -2
- 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 +109 -1
- 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 +3 -1
- package/presets/cursor/nuxt/commands/README.md +1 -0
- package/presets/cursor/nuxt/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/nuxt/commands/task.md +4 -0
- package/presets/cursor/nuxt/commands/update.md +1 -0
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/cursor/php-hexagonal/commands/README.md +1 -0
- package/presets/cursor/php-hexagonal/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/php-hexagonal/commands/task.md +4 -0
- package/presets/cursor/php-hexagonal/commands/update.md +1 -0
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +109 -1
- 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/agents/task-router.md +2 -0
- package/presets/cursor/php-laravel/commands/README.md +1 -0
- package/presets/cursor/php-laravel/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/php-laravel/commands/task.md +4 -0
- package/presets/cursor/php-laravel/commands/update.md +1 -0
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +109 -1
- 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 +3 -1
- package/presets/cursor/svelte/commands/README.md +1 -0
- package/presets/cursor/svelte/commands/rr-migrate-repositories.md +59 -0
- package/presets/cursor/svelte/commands/task.md +4 -0
- package/presets/cursor/svelte/commands/update.md +1 -0
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +109 -1
- 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 +111 -43
- package/presets/mavis/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/mavis/android-kotlin/agents/task-router.md +2 -0
- package/presets/mavis/android-kotlin/commands/README.md +1 -0
- package/presets/mavis/android-kotlin/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/android-kotlin/commands/task.md +4 -0
- 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 +109 -1
- 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 +101 -39
- package/presets/mavis/go/agents/code-reviewer.md +5 -1
- package/presets/mavis/go/agents/task-router.md +2 -0
- package/presets/mavis/go/commands/README.md +1 -0
- package/presets/mavis/go/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/go/commands/task.md +4 -0
- 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 +109 -1
- 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 +111 -43
- package/presets/mavis/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/mavis/ios-swift/agents/task-router.md +2 -0
- package/presets/mavis/ios-swift/commands/README.md +1 -0
- package/presets/mavis/ios-swift/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/ios-swift/commands/task.md +4 -0
- 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 +109 -1
- 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 +101 -39
- package/presets/mavis/java/agents/code-reviewer.md +5 -1
- package/presets/mavis/java/agents/task-router.md +2 -0
- package/presets/mavis/java/commands/README.md +1 -0
- package/presets/mavis/java/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/java/commands/task.md +4 -0
- 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 +109 -1
- 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 +84 -31
- package/presets/mavis/mcp-ts/agents/task-router.md +2 -0
- package/presets/mavis/mcp-ts/commands/README.md +1 -0
- package/presets/mavis/mcp-ts/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/mcp-ts/commands/task.md +4 -0
- 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 +109 -1
- 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 +101 -39
- package/presets/mavis/mol/agents/code-reviewer.md +5 -1
- package/presets/mavis/mol/agents/task-router.md +3 -1
- package/presets/mavis/mol/commands/README.md +1 -0
- package/presets/mavis/mol/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/mol/commands/task.md +4 -0
- 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 +109 -1
- 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 +135 -52
- package/presets/mavis/next/agents/code-reviewer.md +5 -1
- package/presets/mavis/next/agents/task-router.md +3 -1
- package/presets/mavis/next/commands/README.md +1 -0
- package/presets/mavis/next/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/next/commands/task.md +4 -0
- package/presets/mavis/next/commands/ui-start.md +12 -4
- package/presets/mavis/next/commands/ui-stop.md +5 -2
- 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 +109 -1
- 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 +116 -45
- package/presets/mavis/nuxt/agents/code-reviewer.md +5 -1
- package/presets/mavis/nuxt/agents/task-router.md +3 -1
- package/presets/mavis/nuxt/commands/README.md +1 -0
- package/presets/mavis/nuxt/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/nuxt/commands/task.md +4 -0
- 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 +109 -1
- 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 +101 -39
- package/presets/mavis/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/mavis/php-hexagonal/agents/task-router.md +2 -0
- package/presets/mavis/php-hexagonal/commands/README.md +1 -0
- package/presets/mavis/php-hexagonal/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/php-hexagonal/commands/task.md +4 -0
- 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 +109 -1
- 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 +101 -39
- package/presets/mavis/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/mavis/php-laravel/agents/task-router.md +2 -0
- package/presets/mavis/php-laravel/commands/README.md +1 -0
- package/presets/mavis/php-laravel/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/php-laravel/commands/task.md +4 -0
- 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 +109 -1
- 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 +116 -45
- package/presets/mavis/svelte/agents/code-reviewer.md +5 -1
- package/presets/mavis/svelte/agents/task-router.md +3 -1
- package/presets/mavis/svelte/commands/README.md +1 -0
- package/presets/mavis/svelte/commands/rr-migrate-repositories.md +54 -0
- package/presets/mavis/svelte/commands/task.md +4 -0
- 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 +109 -1
- 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 +9 -1
- package/presets/opencode/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/opencode/android-kotlin/agents/task-router.md +2 -0
- package/presets/opencode/android-kotlin/commands/README.md +1 -0
- package/presets/opencode/android-kotlin/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/android-kotlin/commands/task.md +4 -0
- package/presets/opencode/android-kotlin/commands/update.md +1 -0
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/go/agents/code-reviewer.md +5 -1
- package/presets/opencode/go/agents/task-router.md +2 -0
- package/presets/opencode/go/commands/README.md +1 -0
- package/presets/opencode/go/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/go/commands/task.md +4 -0
- package/presets/opencode/go/commands/update.md +1 -0
- package/presets/opencode/go/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/opencode/ios-swift/agents/task-router.md +2 -0
- package/presets/opencode/ios-swift/commands/README.md +1 -0
- package/presets/opencode/ios-swift/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/ios-swift/commands/task.md +4 -0
- package/presets/opencode/ios-swift/commands/update.md +1 -0
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/java/agents/code-reviewer.md +5 -1
- package/presets/opencode/java/agents/task-router.md +2 -0
- package/presets/opencode/java/commands/README.md +1 -0
- package/presets/opencode/java/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/java/commands/task.md +4 -0
- package/presets/opencode/java/commands/update.md +1 -0
- package/presets/opencode/java/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/mcp-ts/agents/task-router.md +2 -0
- package/presets/opencode/mcp-ts/commands/README.md +1 -0
- package/presets/opencode/mcp-ts/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/mcp-ts/commands/task.md +4 -0
- package/presets/opencode/mcp-ts/commands/update.md +1 -0
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/mol/agents/code-reviewer.md +5 -1
- package/presets/opencode/mol/agents/task-router.md +3 -1
- package/presets/opencode/mol/commands/README.md +1 -0
- package/presets/opencode/mol/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/mol/commands/task.md +4 -0
- package/presets/opencode/mol/commands/update.md +1 -0
- package/presets/opencode/mol/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/next/agents/code-reviewer.md +5 -1
- package/presets/opencode/next/agents/task-router.md +3 -1
- package/presets/opencode/next/commands/README.md +1 -0
- package/presets/opencode/next/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/next/commands/task.md +4 -0
- package/presets/opencode/next/commands/ui-start.md +12 -4
- package/presets/opencode/next/commands/ui-stop.md +5 -2
- package/presets/opencode/next/commands/update.md +1 -0
- package/presets/opencode/next/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/nuxt/agents/code-reviewer.md +5 -1
- package/presets/opencode/nuxt/agents/task-router.md +3 -1
- package/presets/opencode/nuxt/commands/README.md +1 -0
- package/presets/opencode/nuxt/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/nuxt/commands/task.md +4 -0
- package/presets/opencode/nuxt/commands/update.md +1 -0
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/opencode/php-hexagonal/agents/task-router.md +2 -0
- package/presets/opencode/php-hexagonal/commands/README.md +1 -0
- package/presets/opencode/php-hexagonal/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/php-hexagonal/commands/task.md +4 -0
- package/presets/opencode/php-hexagonal/commands/update.md +1 -0
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/opencode/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/opencode/php-laravel/agents/task-router.md +2 -0
- package/presets/opencode/php-laravel/commands/README.md +1 -0
- package/presets/opencode/php-laravel/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/php-laravel/commands/task.md +4 -0
- package/presets/opencode/php-laravel/commands/update.md +1 -0
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +109 -1
- 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 +16 -7
- package/presets/opencode/plugins/task-status/deepseek.ts +217 -0
- package/presets/opencode/plugins/task-status/details-data.ts +39 -2
- package/presets/opencode/plugins/task-status/prompt-text.ts +18 -8
- package/presets/opencode/plugins/task-status/task-view.ts +253 -63
- package/presets/opencode/plugins/task-status/tui.tsx +48 -11
- package/presets/opencode/svelte/adapter-map.json +9 -1
- package/presets/opencode/svelte/agents/code-reviewer.md +5 -1
- package/presets/opencode/svelte/agents/task-router.md +3 -1
- package/presets/opencode/svelte/commands/README.md +1 -0
- package/presets/opencode/svelte/commands/rr-migrate-repositories.md +62 -0
- package/presets/opencode/svelte/commands/task.md +4 -0
- package/presets/opencode/svelte/commands/update.md +1 -0
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/android-kotlin/agents/code-reviewer.md +5 -1
- package/presets/zcode/android-kotlin/agents/task-router.md +2 -0
- package/presets/zcode/android-kotlin/commands/README.md +1 -0
- package/presets/zcode/android-kotlin/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/android-kotlin/commands/task.md +4 -0
- package/presets/zcode/android-kotlin/commands/update.md +1 -0
- package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/go/agents/code-reviewer.md +5 -1
- package/presets/zcode/go/agents/task-router.md +2 -0
- package/presets/zcode/go/commands/README.md +1 -0
- package/presets/zcode/go/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/go/commands/task.md +4 -0
- package/presets/zcode/go/commands/update.md +1 -0
- package/presets/zcode/go/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/ios-swift/agents/code-reviewer.md +5 -1
- package/presets/zcode/ios-swift/agents/task-router.md +2 -0
- package/presets/zcode/ios-swift/commands/README.md +1 -0
- package/presets/zcode/ios-swift/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/ios-swift/commands/task.md +4 -0
- package/presets/zcode/ios-swift/commands/update.md +1 -0
- package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/java/agents/code-reviewer.md +5 -1
- package/presets/zcode/java/agents/task-router.md +2 -0
- package/presets/zcode/java/commands/README.md +1 -0
- package/presets/zcode/java/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/java/commands/task.md +4 -0
- package/presets/zcode/java/commands/update.md +1 -0
- package/presets/zcode/java/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/mcp-ts/agents/task-router.md +2 -0
- package/presets/zcode/mcp-ts/commands/README.md +1 -0
- package/presets/zcode/mcp-ts/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/mcp-ts/commands/task.md +4 -0
- package/presets/zcode/mcp-ts/commands/update.md +1 -0
- package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/mol/agents/code-reviewer.md +5 -1
- package/presets/zcode/mol/agents/task-router.md +3 -1
- package/presets/zcode/mol/commands/README.md +1 -0
- package/presets/zcode/mol/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/mol/commands/task.md +4 -0
- package/presets/zcode/mol/commands/update.md +1 -0
- package/presets/zcode/mol/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/next/agents/code-reviewer.md +5 -1
- package/presets/zcode/next/agents/task-router.md +3 -1
- package/presets/zcode/next/commands/README.md +1 -0
- package/presets/zcode/next/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/next/commands/task.md +4 -0
- package/presets/zcode/next/commands/ui-start.md +12 -4
- package/presets/zcode/next/commands/ui-stop.md +5 -2
- package/presets/zcode/next/commands/update.md +1 -0
- package/presets/zcode/next/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/nuxt/agents/code-reviewer.md +5 -1
- package/presets/zcode/nuxt/agents/task-router.md +3 -1
- package/presets/zcode/nuxt/commands/README.md +1 -0
- package/presets/zcode/nuxt/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/nuxt/commands/task.md +4 -0
- package/presets/zcode/nuxt/commands/update.md +1 -0
- package/presets/zcode/nuxt/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/php-hexagonal/agents/code-reviewer.md +5 -1
- package/presets/zcode/php-hexagonal/agents/task-router.md +2 -0
- package/presets/zcode/php-hexagonal/commands/README.md +1 -0
- package/presets/zcode/php-hexagonal/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/php-hexagonal/commands/task.md +4 -0
- package/presets/zcode/php-hexagonal/commands/update.md +1 -0
- package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/php-laravel/agents/code-reviewer.md +5 -1
- package/presets/zcode/php-laravel/agents/task-router.md +2 -0
- package/presets/zcode/php-laravel/commands/README.md +1 -0
- package/presets/zcode/php-laravel/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/php-laravel/commands/task.md +4 -0
- package/presets/zcode/php-laravel/commands/update.md +1 -0
- package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +109 -1
- 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 +9 -1
- package/presets/zcode/svelte/agents/code-reviewer.md +5 -1
- package/presets/zcode/svelte/agents/task-router.md +3 -1
- package/presets/zcode/svelte/commands/README.md +1 -0
- package/presets/zcode/svelte/commands/rr-migrate-repositories.md +62 -0
- package/presets/zcode/svelte/commands/task.md +4 -0
- package/presets/zcode/svelte/commands/update.md +1 -0
- package/presets/zcode/svelte/hooks/chain-team-phases.sh +109 -1
- 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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "mavis",
|
|
4
4
|
"stack": "mol",
|
|
5
5
|
"semanticSource": "cursor/mol",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "252974e6d77d90a5973b82204c1a70326b349e4025d93808fa2f7d2fb18754df",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -483,7 +483,21 @@
|
|
|
483
483
|
"category": "commands",
|
|
484
484
|
"disposition": "transform",
|
|
485
485
|
"loadMode": "manual",
|
|
486
|
-
"reason": "
|
|
486
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
487
|
+
"extraTargets": [
|
|
488
|
+
"native-skills/migrate-tasks/SKILL.md"
|
|
489
|
+
]
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"source": "commands/rr-migrate-repositories.md",
|
|
493
|
+
"target": "commands/rr-migrate-repositories.md",
|
|
494
|
+
"category": "commands",
|
|
495
|
+
"disposition": "transform",
|
|
496
|
+
"loadMode": "manual",
|
|
497
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
498
|
+
"extraTargets": [
|
|
499
|
+
"native-skills/rr-migrate-repositories/SKILL.md"
|
|
500
|
+
]
|
|
487
501
|
},
|
|
488
502
|
{
|
|
489
503
|
"source": "commands/rr-scheduler-start.md",
|
|
@@ -491,7 +505,10 @@
|
|
|
491
505
|
"category": "commands",
|
|
492
506
|
"disposition": "transform",
|
|
493
507
|
"loadMode": "manual",
|
|
494
|
-
"reason": "
|
|
508
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
509
|
+
"extraTargets": [
|
|
510
|
+
"native-skills/rr-scheduler-start/SKILL.md"
|
|
511
|
+
]
|
|
495
512
|
},
|
|
496
513
|
{
|
|
497
514
|
"source": "commands/spec-start.md",
|
|
@@ -499,7 +516,10 @@
|
|
|
499
516
|
"category": "commands",
|
|
500
517
|
"disposition": "transform",
|
|
501
518
|
"loadMode": "manual",
|
|
502
|
-
"reason": "
|
|
519
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
520
|
+
"extraTargets": [
|
|
521
|
+
"native-skills/spec-start/SKILL.md"
|
|
522
|
+
]
|
|
503
523
|
},
|
|
504
524
|
{
|
|
505
525
|
"source": "commands/task-continue.md",
|
|
@@ -507,7 +527,10 @@
|
|
|
507
527
|
"category": "commands",
|
|
508
528
|
"disposition": "transform",
|
|
509
529
|
"loadMode": "manual",
|
|
510
|
-
"reason": "
|
|
530
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
531
|
+
"extraTargets": [
|
|
532
|
+
"native-skills/task-continue/SKILL.md"
|
|
533
|
+
]
|
|
511
534
|
},
|
|
512
535
|
{
|
|
513
536
|
"source": "commands/task-evil.md",
|
|
@@ -515,8 +538,11 @@
|
|
|
515
538
|
"category": "commands",
|
|
516
539
|
"disposition": "transform",
|
|
517
540
|
"loadMode": "manual",
|
|
518
|
-
"reason": "
|
|
519
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
541
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
542
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
543
|
+
"extraTargets": [
|
|
544
|
+
"native-skills/task-evil/SKILL.md"
|
|
545
|
+
]
|
|
520
546
|
},
|
|
521
547
|
{
|
|
522
548
|
"source": "commands/task.md",
|
|
@@ -524,8 +550,11 @@
|
|
|
524
550
|
"category": "commands",
|
|
525
551
|
"disposition": "transform",
|
|
526
552
|
"loadMode": "manual",
|
|
527
|
-
"reason": "
|
|
528
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
553
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
554
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
555
|
+
"extraTargets": [
|
|
556
|
+
"native-skills/task/SKILL.md"
|
|
557
|
+
]
|
|
529
558
|
},
|
|
530
559
|
{
|
|
531
560
|
"source": "commands/technical-retro.md",
|
|
@@ -533,7 +562,7 @@
|
|
|
533
562
|
"category": "commands",
|
|
534
563
|
"disposition": "transform",
|
|
535
564
|
"loadMode": "manual",
|
|
536
|
-
"reason": "
|
|
565
|
+
"reason": "Native skill of the same name already owns this slot; the command file stays the procedure"
|
|
537
566
|
},
|
|
538
567
|
{
|
|
539
568
|
"source": "commands/update.md",
|
|
@@ -541,15 +570,18 @@
|
|
|
541
570
|
"category": "commands",
|
|
542
571
|
"disposition": "transform",
|
|
543
572
|
"loadMode": "manual",
|
|
544
|
-
"reason": "
|
|
573
|
+
"reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
|
|
574
|
+
"extraTargets": [
|
|
575
|
+
"native-skills/update/SKILL.md"
|
|
576
|
+
]
|
|
545
577
|
},
|
|
546
578
|
{
|
|
547
579
|
"source": "hooks.json",
|
|
548
|
-
"target":
|
|
580
|
+
"target": "minimax-hooks/hooks.json",
|
|
549
581
|
"category": "hooks",
|
|
550
|
-
"disposition": "
|
|
551
|
-
"loadMode": "
|
|
552
|
-
"reason": "
|
|
582
|
+
"disposition": "transform",
|
|
583
|
+
"loadMode": "native-hook",
|
|
584
|
+
"reason": "MiniMax Code reads project hooks from <project>/.minimax/hooks.json; the Cursor document is rewritten into the MiniMax event format"
|
|
553
585
|
},
|
|
554
586
|
{
|
|
555
587
|
"source": "hooks/chain-team-phases.sh",
|
|
@@ -573,7 +605,7 @@
|
|
|
573
605
|
"category": "hooks",
|
|
574
606
|
"disposition": "omit",
|
|
575
607
|
"loadMode": "not-installed",
|
|
576
|
-
"reason": "omit: Cursor preToolUse rewrite; the large-output guard
|
|
608
|
+
"reason": "omit: Cursor preToolUse rewrite; the large-output guard is not wired on MiniMax"
|
|
577
609
|
},
|
|
578
610
|
{
|
|
579
611
|
"source": "hooks/examples/format-edited.example.sh",
|
|
@@ -605,7 +637,7 @@
|
|
|
605
637
|
"category": "hooks",
|
|
606
638
|
"disposition": "omit",
|
|
607
639
|
"loadMode": "not-installed",
|
|
608
|
-
"reason": "omit
|
|
640
|
+
"reason": "omit: the MiniMax PreToolUse event exists, but a tool-blocking guard is a behaviour change; the safety policy stays in entry prose"
|
|
609
641
|
},
|
|
610
642
|
{
|
|
611
643
|
"source": "hooks/list-ai-local.mjs",
|
|
@@ -617,11 +649,14 @@
|
|
|
617
649
|
},
|
|
618
650
|
{
|
|
619
651
|
"source": "hooks/run-hook.mjs",
|
|
620
|
-
"target":
|
|
652
|
+
"target": "hooks/run-hook.mjs",
|
|
621
653
|
"category": "hooks",
|
|
622
|
-
"disposition": "
|
|
623
|
-
"loadMode": "
|
|
624
|
-
"reason": "
|
|
654
|
+
"disposition": "transform",
|
|
655
|
+
"loadMode": "manual",
|
|
656
|
+
"reason": "Chain-hook launcher invoked by the native MiniMax SubagentStop hook and by the manual fallback",
|
|
657
|
+
"extraTargets": [
|
|
658
|
+
"hooks/mavis-chain-hook.mjs"
|
|
659
|
+
]
|
|
625
660
|
},
|
|
626
661
|
{
|
|
627
662
|
"source": "mcp.json",
|
|
@@ -915,8 +950,11 @@
|
|
|
915
950
|
"category": "skills",
|
|
916
951
|
"disposition": "transform",
|
|
917
952
|
"loadMode": "referenced",
|
|
918
|
-
"reason": "
|
|
919
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
953
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
954
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
955
|
+
"extraTargets": [
|
|
956
|
+
"native-skills/ci-investigation/SKILL.md"
|
|
957
|
+
]
|
|
920
958
|
},
|
|
921
959
|
{
|
|
922
960
|
"source": "skills/code-review/SKILL.md",
|
|
@@ -924,8 +962,11 @@
|
|
|
924
962
|
"category": "skills",
|
|
925
963
|
"disposition": "transform",
|
|
926
964
|
"loadMode": "referenced",
|
|
927
|
-
"reason": "
|
|
928
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
965
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
966
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
967
|
+
"extraTargets": [
|
|
968
|
+
"native-skills/code-review/SKILL.md"
|
|
969
|
+
]
|
|
929
970
|
},
|
|
930
971
|
{
|
|
931
972
|
"source": "skills/debug-investigation/SKILL.md",
|
|
@@ -933,8 +974,11 @@
|
|
|
933
974
|
"category": "skills",
|
|
934
975
|
"disposition": "transform",
|
|
935
976
|
"loadMode": "referenced",
|
|
936
|
-
"reason": "
|
|
937
|
-
"sharedCoreStem": "quality/debug-investigation.md"
|
|
977
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
978
|
+
"sharedCoreStem": "quality/debug-investigation.md",
|
|
979
|
+
"extraTargets": [
|
|
980
|
+
"native-skills/debug-investigation/SKILL.md"
|
|
981
|
+
]
|
|
938
982
|
},
|
|
939
983
|
{
|
|
940
984
|
"source": "skills/feature-delivery/SKILL.md",
|
|
@@ -942,8 +986,11 @@
|
|
|
942
986
|
"category": "skills",
|
|
943
987
|
"disposition": "transform",
|
|
944
988
|
"loadMode": "referenced",
|
|
945
|
-
"reason": "
|
|
946
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
989
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
990
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
991
|
+
"extraTargets": [
|
|
992
|
+
"native-skills/feature-delivery/SKILL.md"
|
|
993
|
+
]
|
|
947
994
|
},
|
|
948
995
|
{
|
|
949
996
|
"source": "skills/spec-authoring/SKILL.md",
|
|
@@ -951,8 +998,11 @@
|
|
|
951
998
|
"category": "skills",
|
|
952
999
|
"disposition": "transform",
|
|
953
1000
|
"loadMode": "referenced",
|
|
954
|
-
"reason": "
|
|
955
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
1001
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
1002
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
1003
|
+
"extraTargets": [
|
|
1004
|
+
"native-skills/spec-authoring/SKILL.md"
|
|
1005
|
+
]
|
|
956
1006
|
},
|
|
957
1007
|
{
|
|
958
1008
|
"source": "skills/spec-discovery/SKILL.md",
|
|
@@ -960,8 +1010,11 @@
|
|
|
960
1010
|
"category": "skills",
|
|
961
1011
|
"disposition": "transform",
|
|
962
1012
|
"loadMode": "referenced",
|
|
963
|
-
"reason": "
|
|
964
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
1013
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
1014
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
1015
|
+
"extraTargets": [
|
|
1016
|
+
"native-skills/spec-discovery/SKILL.md"
|
|
1017
|
+
]
|
|
965
1018
|
},
|
|
966
1019
|
{
|
|
967
1020
|
"source": "skills/technical-retro/SKILL.md",
|
|
@@ -969,8 +1022,11 @@
|
|
|
969
1022
|
"category": "skills",
|
|
970
1023
|
"disposition": "transform",
|
|
971
1024
|
"loadMode": "referenced",
|
|
972
|
-
"reason": "
|
|
973
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
1025
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
1026
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
1027
|
+
"extraTargets": [
|
|
1028
|
+
"native-skills/technical-retro/SKILL.md"
|
|
1029
|
+
]
|
|
974
1030
|
},
|
|
975
1031
|
{
|
|
976
1032
|
"source": "skills/unit-testing/SKILL.md",
|
|
@@ -978,8 +1034,11 @@
|
|
|
978
1034
|
"category": "skills",
|
|
979
1035
|
"disposition": "transform",
|
|
980
1036
|
"loadMode": "referenced",
|
|
981
|
-
"reason": "
|
|
982
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
1037
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
1038
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
1039
|
+
"extraTargets": [
|
|
1040
|
+
"native-skills/unit-testing/SKILL.md"
|
|
1041
|
+
]
|
|
983
1042
|
},
|
|
984
1043
|
{
|
|
985
1044
|
"source": "skills/write-adr/SKILL.md",
|
|
@@ -987,8 +1046,11 @@
|
|
|
987
1046
|
"category": "skills",
|
|
988
1047
|
"disposition": "transform",
|
|
989
1048
|
"loadMode": "referenced",
|
|
990
|
-
"reason": "
|
|
991
|
-
"sharedCoreStem": "quality/anti-hallucination-load-line.md"
|
|
1049
|
+
"reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
|
|
1050
|
+
"sharedCoreStem": "quality/anti-hallucination-load-line.md",
|
|
1051
|
+
"extraTargets": [
|
|
1052
|
+
"native-skills/write-adr/SKILL.md"
|
|
1053
|
+
]
|
|
992
1054
|
},
|
|
993
1055
|
{
|
|
994
1056
|
"source": "team/fixtures/artifact-manifest.example.json",
|
|
@@ -73,8 +73,9 @@ Write `.ai.local/team/tasks/<slug>/review.md` with this format:
|
|
|
73
73
|
# Code review: <slug>
|
|
74
74
|
|
|
75
75
|
## Verdict
|
|
76
|
-
APPROVE | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
76
|
+
APPROVE | APPROVE_WITH_QUESTIONS | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
77
77
|
Findings carry `path:line`, severity, `confidence`, and a fix direction — rules in `code-review-mr` § Output contract.
|
|
78
|
+
`APPROVE_WITH_QUESTIONS` needs no `blocker`/`important` finding and at least one open question below.
|
|
78
79
|
|
|
79
80
|
## Critical (must fix)
|
|
80
81
|
- ...
|
|
@@ -85,6 +86,9 @@ Findings carry `path:line`, severity, `confidence`, and a fix direction — rule
|
|
|
85
86
|
## Suggestions (nice to have)
|
|
86
87
|
- ...
|
|
87
88
|
|
|
89
|
+
## Open questions
|
|
90
|
+
- <question> — check: <what would settle it> — blocker-candidate: yes | no
|
|
91
|
+
|
|
88
92
|
## Depth passes
|
|
89
93
|
| Pass | Outcome | Evidence or reason |
|
|
90
94
|
|------|---------|--------------------|
|
|
@@ -69,7 +69,7 @@ Set optional top-level `"profile": "full" | "standard" | "light"` in `pipeline.j
|
|
|
69
69
|
| `standard` | Single layer, default work | analyst → developer → build-verifier → reviewer |
|
|
70
70
|
| `light` | Trivial: one file/layer, explicit AC, «просто поправь» (just fix it), «typo», user «без pipeline» (without pipeline) | developer → build-verifier | <!-- i18n-keep: E4 -->
|
|
71
71
|
|
|
72
|
-
**Light signals:** one file, one layer, explicit AC in prompt, no architectural risk. **Never skip `build-verifier`** after developer when module sources changed. **Skip `code-reviewer`**
|
|
72
|
+
**Light signals:** one file, one layer, explicit AC in prompt, no architectural risk. **Never skip `build-verifier`** after developer when module sources changed. **Skip `code-reviewer`** only when every changed path is prose (`*.md`, docs, snapshots); a diff that touches scripts, hooks, CI, or source runs it at every profile, `light` included.
|
|
73
73
|
|
|
74
74
|
**Task level (L0–L3):** Apply `.ai.local/rules/task-levels.md` "Selection order" before the `light` | `standard` | `full` profile in the table above. Those three profiles keep the meanings in that table.
|
|
75
75
|
|
|
@@ -246,6 +246,8 @@ Do **not** add a dedicated `spec-author` agent for `docs/specs/**`. Do not requi
|
|
|
246
246
|
|
|
247
247
|
**specMode (optional `pipeline.json` field):** `none` for spike/research; `generate` for `spec-gen` / `/spec-start`; `consume` default when INDEX exists. Echo top-level `specMode`. Brief `## Spec mode` wins on conflict.
|
|
248
248
|
|
|
249
|
+
**repositories (mandatory `pipeline.json` field):** echo `"repositories": [<ids>]` and `"repositoriesInference": "evidence-paths" | "repo-scope-only" | "unknown" | "ambiguous"` immediately after `specMode`, before `summary`; the ids come from `.ai.local/team/repositories.json` and are never defaulted to the workspace repository. Then record the same list as link rows through `node .ai.local/scripts/team-db.mjs repositories apply --file -` — one `{"links": [{taskSlug, repositoryId, source: "intake", inference: "evidence-paths"}]}` envelope per touched repository (the verb takes the envelope, never a bare row). When the request names no repository, write `"repositories": []` with `"unknown"` and one `{"attributions": [{taskSlug, verdict: "unknown", evidence: ""}]}` envelope; `yarn check:task-repositories` fails a folder without the field.
|
|
250
|
+
|
|
249
251
|
Do **not** add a pipeline step for `spec-discovery`. Instruct analyst to load that skill only when the user/AC asks research-before-spec.
|
|
250
252
|
|
|
251
253
|
## Runtime initialization
|
|
@@ -10,6 +10,7 @@ Procedure files are copied to `.mavis/commands/` on `ai-rules init mavis --prese
|
|
|
10
10
|
| **`/task-evil <description>`** | **Autonomous pipeline:** no plan confirmation, no human gates, no questions; chooses recommended options and records assumptions in `decisions.md`; stops only on a hard blocker. Quality gates and commit/push deny stay. |
|
|
11
11
|
| `/task-continue <slug>` | After human gate or pause |
|
|
12
12
|
| `/migrate-tasks` | Create or reconcile `.ai.local/team/team.db`; writes only the delta |
|
|
13
|
+
| `/rr-migrate-repositories` | Scan repositories on disk, add the missing ones to the local registry, and project the file into `team.db` |
|
|
13
14
|
| `/technical-retro [slug]` | Retro; with slug — “Agent work” section |
|
|
14
15
|
| `/update` | Reinstall each installed tool with the preset recorded at init |
|
|
15
16
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Migrate repositories
|
|
2
|
+
|
|
3
|
+
Turn the repositories already cloned on this machine into registry records, then
|
|
4
|
+
sync the registry file into the team database.
|
|
5
|
+
|
|
6
|
+
## What to do
|
|
7
|
+
|
|
8
|
+
1. From the repository root, run:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
node .ai.local/scripts/rr-migrate-repositories.mjs
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
2. Report the summary in the user's native language, keeping the counters
|
|
15
|
+
verbatim: `scanned`, `repositories`, `duplicates`, `create`, `update`,
|
|
16
|
+
`unchanged`, `not-on-disk`, and the `project` line.
|
|
17
|
+
3. A `disabled by AI_RULES_TEAM_DB_DISABLE` line means the plan was computed and
|
|
18
|
+
nothing was written; exit 0 is the documented fallback. Relay it and stop.
|
|
19
|
+
4. Any non-zero exit: quote stderr and stop.
|
|
20
|
+
|
|
21
|
+
## Arguments
|
|
22
|
+
|
|
23
|
+
- `--scan <dir>` — directory to scan; repeatable. Default: the parent of the
|
|
24
|
+
repository root (the repository root itself when its parent is `$HOME`), so
|
|
25
|
+
sibling clones are picked up.
|
|
26
|
+
- `--depth <n>` — directory levels below a scan root (default `4`).
|
|
27
|
+
- `--dry-run` — print the plan and write nothing.
|
|
28
|
+
- `--no-update` — create missing records only; never touch an existing one.
|
|
29
|
+
- `--team-root <dir>` — team store root (default `<repo-root>/.ai.local/team`).
|
|
30
|
+
- `--json` — machine-readable summary.
|
|
31
|
+
|
|
32
|
+
## What the script does
|
|
33
|
+
|
|
34
|
+
- Walks the scan roots; a directory with `.git` is a repository and is not
|
|
35
|
+
descended into. Submodule checkouts and linked worktrees are skipped.
|
|
36
|
+
- Collapses clones that share one remote to the shallowest path.
|
|
37
|
+
- Keeps the id of a record whose locator already exists, so a re-run is
|
|
38
|
+
idempotent; a new id is the slug of the directory name, with a parent prefix
|
|
39
|
+
when that slug is taken.
|
|
40
|
+
- Creates missing records through `team-db.mjs repositories apply`, updates a
|
|
41
|
+
changed `name`, `locator`, or `status` through `repositories put`, then runs
|
|
42
|
+
`repositories project`. The lock-guarded verb is the only writer.
|
|
43
|
+
- Never deletes a record: a repository missing from this scan may simply live
|
|
44
|
+
outside the scanned roots.
|
|
45
|
+
|
|
46
|
+
`.ai.local/team/repositories.json` is local-only and git-ignored. The database is
|
|
47
|
+
derived: deleting `team.db` costs a rebuild, not the records.
|
|
48
|
+
|
|
49
|
+
## Do not
|
|
50
|
+
|
|
51
|
+
- Hand-edit `.ai.local/team/repositories.json`; the verb owns the write lock.
|
|
52
|
+
- Commit the registry file or `team.db*`.
|
|
53
|
+
- Delete registry records to make a scan look clean.
|
|
54
|
+
- Pass `--scan` a filesystem root without a matching `--depth`.
|
|
@@ -40,6 +40,10 @@ Examples:
|
|
|
40
40
|
7. **After each agent** — wait for hook handoff / reconciliation terminal receipt → `status.state`; do not start the next step until `status.json` reflects handoff (or until there is a `followup_message` from the hook).
|
|
41
41
|
8. **Human gate** — if after the current step there is a gate in `humanGates` (`after:<agent>`), after the agent finishes **stop** and ask for `/task-continue <slug>`.
|
|
42
42
|
|
|
43
|
+
## Repositories (mandatory)
|
|
44
|
+
|
|
45
|
+
The repositories a task touches are part of its intake: `pipeline.json` must carry `"repositories": [<registry ids>]`, or `"repositories": []` together with `"repositoriesInference": "unknown"` when the request names none. The router reads `.ai.local/team/repositories.json` and records the same list as link rows; the field is never defaulted; `node .ai.local/scripts/check-task-repositories.mjs` audits the store and the chain hook blocks a task-router receipt that omits it. See `agents/task-router.md`.
|
|
46
|
+
|
|
43
47
|
## Plan contract
|
|
44
48
|
|
|
45
49
|
Intake runs the planning workflow before any implementation: **goal frame** (goal, user value, success + result-evaluation criteria) → **requirements + AC-IDs** → **information-sufficiency** verdict (`sufficient` | `insufficient`) → decompose with a **dependency graph** (`dependsOn[]`, DAG, critical path) and, for large flows, **epics / stages** with exit criteria. The plan is revisable: a **plan revision** is a named, recorded operation (`planRevision`), and progress is checkpointed to `.memlog.md` (with the optional `contextBudget` note) so a run can resume.
|
|
@@ -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';
|
|
@@ -2934,6 +2974,10 @@ if (status.state === 'awaiting_artifact_receipt') {
|
|
|
2934
2974
|
emitArtifactStall(artifactStallMessage, !wasWaitingForReceipt);
|
|
2935
2975
|
process.exit(0);
|
|
2936
2976
|
}
|
|
2977
|
+
// Snapshot before `finishActiveAttempt` writes `lastCompletedAttempt`: the
|
|
2978
|
+
// repositories intake gate judges a task at its first receipt, so a folder whose
|
|
2979
|
+
// first step already completed is never re-judged.
|
|
2980
|
+
const hadPriorCompletion = Boolean(status.lastCompletedAttempt);
|
|
2937
2981
|
let finishedAttempt = finishActiveAttempt();
|
|
2938
2982
|
// The just-finished attempt's metric is already written; a pause now blocks
|
|
2939
2983
|
// every handoff, including the unattributable-stop repair path below.
|
|
@@ -2961,7 +3005,7 @@ if (!finishedAttempt && activeAttemptCountBeforeFinish > 0) {
|
|
|
2961
3005
|
}
|
|
2962
3006
|
}
|
|
2963
3007
|
endHumanGateIfResumed();
|
|
2964
|
-
if (steps.length === 0
|
|
3008
|
+
if (steps.length === 0) {
|
|
2965
3009
|
writeStatus({});
|
|
2966
3010
|
process.stdout.write('{}');
|
|
2967
3011
|
process.exit(0);
|
|
@@ -3008,6 +3052,70 @@ const waveIndexes = activeWave
|
|
|
3008
3052
|
? [idx]
|
|
3009
3053
|
: (isGraphMode() && finishedAttempt ? [completedStepIndex] : null));
|
|
3010
3054
|
|
|
3055
|
+
/**
|
|
3056
|
+
* Intake invariant: a task records which repositories it touches — or says that
|
|
3057
|
+
* it does not know. Judged on the first receipt of a task: the router's, or the
|
|
3058
|
+
* first step's when a pipeline runs without one. A task that already completed a
|
|
3059
|
+
* step predates the invariant and is never re-judged.
|
|
3060
|
+
* `intakeExemption: { approvedBy, reason, at }` is the recorded escape hatch; a
|
|
3061
|
+
* bare boolean does not count, so an exemption always names who approved it. The
|
|
3062
|
+
* shape mirrors `check-task-repositories.mjs`, which audits the same field after
|
|
3063
|
+
* the fact.
|
|
3064
|
+
*/
|
|
3065
|
+
const REPOSITORY_INFERENCES = new Set(['evidence-paths', 'repo-scope-only', 'unknown', 'ambiguous']);
|
|
3066
|
+
const EXEMPTION_DATE = /^\d{4}-\d{2}-\d{2}$/;
|
|
3067
|
+
function repositoriesIntakeViolation(record) {
|
|
3068
|
+
if (!record) return 'has no `repositories` array';
|
|
3069
|
+
const ids = record.repositories;
|
|
3070
|
+
const inference = record.repositoriesInference;
|
|
3071
|
+
if (!Array.isArray(ids)) return 'carries no `repositories` array';
|
|
3072
|
+
if (ids.some((id) => typeof id !== 'string' || id.trim() === '')) return 'carries a `repositories` entry that is not a non-empty registry id';
|
|
3073
|
+
if (ids.length === 0) {
|
|
3074
|
+
return inference === 'unknown' ? null : 'carries `repositories: []` without `"repositoriesInference": "unknown"`';
|
|
3075
|
+
}
|
|
3076
|
+
if (inference !== undefined && !REPOSITORY_INFERENCES.has(inference)) return `carries an unknown \`repositoriesInference\` value "${inference}"`;
|
|
3077
|
+
if (inference === 'unknown') return 'lists repositories beside `"repositoriesInference": "unknown"`';
|
|
3078
|
+
let known = null;
|
|
3079
|
+
try {
|
|
3080
|
+
const registry = JSON.parse(fs.readFileSync(path.join(TEAM_ROOT, 'repositories.json'), 'utf8'));
|
|
3081
|
+
known = new Set((Array.isArray(registry.repositories) ? registry.repositories : []).map((row) => row && row.id).filter((id) => typeof id === 'string'));
|
|
3082
|
+
} catch { known = null; }
|
|
3083
|
+
if (known && known.size > 0) {
|
|
3084
|
+
const unknownIds = ids.filter((id) => !known.has(id));
|
|
3085
|
+
if (unknownIds.length > 0) return `names ${unknownIds.join(', ')} — not in .ai.local/team/repositories.json`;
|
|
3086
|
+
}
|
|
3087
|
+
return null;
|
|
3088
|
+
}
|
|
3089
|
+
function repositoriesIntakeExemption(record) {
|
|
3090
|
+
const entry = record && record.intakeExemption;
|
|
3091
|
+
if (!entry || typeof entry !== 'object') return null;
|
|
3092
|
+
const approvedBy = typeof entry.approvedBy === 'string' ? entry.approvedBy.trim() : '';
|
|
3093
|
+
const reason = typeof entry.reason === 'string' ? entry.reason.trim() : '';
|
|
3094
|
+
const at = typeof entry.at === 'string' ? entry.at.trim() : '';
|
|
3095
|
+
if (approvedBy === '' || reason.length < 10 || !EXEMPTION_DATE.test(at)) return null;
|
|
3096
|
+
return { approvedBy, reason, at };
|
|
3097
|
+
}
|
|
3098
|
+
const repositoriesGateApplies = Boolean(finishedAttempt)
|
|
3099
|
+
&& (completedAgent === 'task-router' || (!hadPriorCompletion && completedStepIndex === 0));
|
|
3100
|
+
if (repositoriesGateApplies) {
|
|
3101
|
+
const violation = repositoriesIntakeViolation(pipeline);
|
|
3102
|
+
if (violation) {
|
|
3103
|
+
const exemption = repositoriesIntakeExemption(pipeline);
|
|
3104
|
+
if (!exemption) {
|
|
3105
|
+
appendMetric({ type: 'intake_repositories_blocked', at: now, stepIndex: completedStepIndex, agent: completedAgent, violation, source: 'hook', attributionConfidence: 'high' });
|
|
3106
|
+
writeStatus({ state: 'blocked', phase: 'blocked', currentAgent: 'task-router' });
|
|
3107
|
+
out(`pipeline.json for "${slug}" ${violation}. Intake stays open until the repositories are recorded: set "repositories" to the ids in .ai.local/team/repositories.json with "repositoriesInference": "evidence-paths" (or "repo-scope-only"), or "repositories": [] with "repositoriesInference": "unknown" when the request names none. Rewrite pipeline.json through the task-router, then resume via /task-continue ${slug}. A task that predates the invariant carries "intakeExemption": { "approvedBy": "<human>", "reason": "<why, 10+ characters>", "at": "YYYY-MM-DD" } — a bare boolean is not accepted.`);
|
|
3108
|
+
process.exit(0);
|
|
3109
|
+
}
|
|
3110
|
+
appendMetric({ type: 'intake_repositories_exempted', at: now, stepIndex: completedStepIndex, agent: completedAgent, violation, approvedBy: exemption.approvedBy, reason: exemption.reason, exemptedAt: exemption.at, source: 'hook', attributionConfidence: 'high' });
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
if (pipeline.autoChain === false) {
|
|
3114
|
+
writeStatus({});
|
|
3115
|
+
process.stdout.write('{}');
|
|
3116
|
+
process.exit(0);
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3011
3119
|
|
|
3012
3120
|
if (waveIndexes) {
|
|
3013
3121
|
const waveAgents = waveIndexes.flatMap((i) => getStepAgents(steps[i]));
|