@bonesofspring/ai-rules 0.2.27 → 0.2.29
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 +12 -0
- package/README.md +1 -1
- package/bin/cli.js +13 -2
- package/bin/lib/seed-ai-local-team.js +43 -5
- package/bin/opencode-install.js +58 -0
- package/docs/MAVIS-COMPATIBILITY.md +10 -6
- package/docs/MAVIS.md +15 -6
- package/docs/OPENCODE-COMPATIBILITY.md +3 -3
- package/docs/OPENCODE.md +16 -6
- package/package.json +2 -1
- package/presets/_shared/core/meta/preset-pr-checklist.md +2 -2
- package/presets/claude/android-kotlin/CLAUDE.md +15 -1
- package/presets/claude/android-kotlin/REPO_AGENTS.md +1 -1
- package/presets/claude/android-kotlin/agents/accessibility-reviewer.md +15 -0
- package/presets/claude/android-kotlin/agents/api-contract-reviewer.md +16 -1
- package/presets/claude/android-kotlin/agents/build-verifier.md +17 -0
- package/presets/claude/android-kotlin/agents/ci-investigator.md +25 -0
- package/presets/claude/android-kotlin/agents/code-reviewer.md +16 -0
- package/presets/claude/android-kotlin/agents/codebase-analyzer.md +15 -0
- package/presets/claude/android-kotlin/agents/debugger.md +25 -0
- package/presets/claude/android-kotlin/agents/feature-developer.md +25 -0
- package/presets/claude/android-kotlin/agents/instrumentation-test-generator.md +16 -0
- package/presets/claude/android-kotlin/agents/instrumentation-test-healer.md +16 -0
- package/presets/claude/android-kotlin/agents/instrumentation-test-planner.md +16 -0
- package/presets/claude/android-kotlin/agents/migration-specialist.md +15 -0
- package/presets/claude/android-kotlin/agents/mockup-reviewer.md +15 -0
- package/presets/claude/android-kotlin/agents/openspec-author.md +15 -0
- package/presets/claude/android-kotlin/agents/performance-auditor.md +15 -0
- package/presets/claude/android-kotlin/agents/qa-tester.md +17 -0
- package/presets/claude/android-kotlin/agents/security-reviewer.md +15 -0
- package/presets/claude/android-kotlin/agents/solution-architect.md +15 -0
- package/presets/claude/android-kotlin/agents/task-analyst.md +15 -0
- package/presets/claude/android-kotlin/agents/task-router.md +15 -0
- package/presets/claude/android-kotlin/agents/tech-writer.md +15 -1
- package/presets/claude/android-kotlin/agents/unit-test-generator.md +16 -0
- package/presets/claude/android-kotlin/agents/unit-test-healer.md +16 -0
- package/presets/claude/android-kotlin/agents/unit-test-planner.md +16 -0
- package/presets/claude/android-kotlin/hooks/README.md +6 -5
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/android-kotlin/hooks/examples/README.md +2 -0
- package/presets/claude/android-kotlin/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/android-kotlin/rules/README.md +1 -1
- package/presets/claude/android-kotlin/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/android-kotlin/settings.json +33 -0
- package/presets/claude/go/CLAUDE.md +15 -1
- package/presets/claude/go/REPO_AGENTS.md +1 -1
- package/presets/claude/go/agents/api-contract-reviewer.md +17 -0
- package/presets/claude/go/agents/build-verifier.md +17 -0
- package/presets/claude/go/agents/ci-investigator.md +29 -0
- package/presets/claude/go/agents/code-reviewer.md +16 -0
- package/presets/claude/go/agents/codebase-analyzer.md +15 -0
- package/presets/claude/go/agents/debugger.md +29 -0
- package/presets/claude/go/agents/feature-developer.md +29 -0
- package/presets/claude/go/agents/integration-test-generator.md +17 -0
- package/presets/claude/go/agents/integration-test-healer.md +17 -0
- package/presets/claude/go/agents/integration-test-planner.md +17 -0
- package/presets/claude/go/agents/migration-specialist.md +15 -0
- package/presets/claude/go/agents/openspec-author.md +15 -0
- package/presets/claude/go/agents/performance-auditor.md +15 -0
- package/presets/claude/go/agents/qa-tester.md +18 -0
- package/presets/claude/go/agents/security-reviewer.md +15 -0
- package/presets/claude/go/agents/solution-architect.md +15 -0
- package/presets/claude/go/agents/task-analyst.md +15 -0
- package/presets/claude/go/agents/task-router.md +15 -0
- package/presets/claude/go/agents/tech-writer.md +15 -1
- package/presets/claude/go/agents/unit-test-generator.md +16 -0
- package/presets/claude/go/agents/unit-test-healer.md +16 -0
- package/presets/claude/go/agents/unit-test-planner.md +16 -0
- package/presets/claude/go/hooks/README.md +6 -5
- package/presets/claude/go/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/go/hooks/examples/README.md +2 -0
- package/presets/claude/go/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/go/rules/README.md +1 -1
- package/presets/claude/go/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/go/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/go/settings.json +33 -0
- package/presets/claude/ios-swift/CLAUDE.md +15 -1
- package/presets/claude/ios-swift/REPO_AGENTS.md +1 -1
- package/presets/claude/ios-swift/agents/accessibility-reviewer.md +15 -0
- package/presets/claude/ios-swift/agents/api-contract-reviewer.md +16 -0
- package/presets/claude/ios-swift/agents/build-verifier.md +17 -0
- package/presets/claude/ios-swift/agents/ci-investigator.md +24 -0
- package/presets/claude/ios-swift/agents/code-reviewer.md +16 -0
- package/presets/claude/ios-swift/agents/codebase-analyzer.md +15 -0
- package/presets/claude/ios-swift/agents/debugger.md +24 -0
- package/presets/claude/ios-swift/agents/feature-developer.md +24 -0
- package/presets/claude/ios-swift/agents/migration-specialist.md +15 -0
- package/presets/claude/ios-swift/agents/mockup-reviewer.md +15 -0
- package/presets/claude/ios-swift/agents/openspec-author.md +15 -0
- package/presets/claude/ios-swift/agents/performance-auditor.md +15 -0
- package/presets/claude/ios-swift/agents/qa-tester.md +17 -0
- package/presets/claude/ios-swift/agents/security-reviewer.md +15 -0
- package/presets/claude/ios-swift/agents/solution-architect.md +15 -0
- package/presets/claude/ios-swift/agents/task-analyst.md +15 -0
- package/presets/claude/ios-swift/agents/task-router.md +15 -0
- package/presets/claude/ios-swift/agents/tech-writer.md +15 -1
- package/presets/claude/ios-swift/agents/unit-test-generator.md +16 -0
- package/presets/claude/ios-swift/agents/unit-test-healer.md +16 -0
- package/presets/claude/ios-swift/agents/unit-test-planner.md +16 -0
- package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +16 -0
- package/presets/claude/ios-swift/agents/xcuitest-test-healer.md +16 -0
- package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +16 -0
- package/presets/claude/ios-swift/hooks/README.md +6 -5
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/ios-swift/hooks/examples/README.md +2 -0
- package/presets/claude/ios-swift/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/ios-swift/rules/README.md +1 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/ios-swift/settings.json +33 -0
- package/presets/claude/java/CLAUDE.md +15 -1
- package/presets/claude/java/REPO_AGENTS.md +1 -1
- package/presets/claude/java/agents/api-contract-reviewer.md +17 -0
- package/presets/claude/java/agents/build-verifier.md +17 -0
- package/presets/claude/java/agents/ci-investigator.md +29 -0
- package/presets/claude/java/agents/code-reviewer.md +16 -0
- package/presets/claude/java/agents/codebase-analyzer.md +15 -0
- package/presets/claude/java/agents/debugger.md +29 -0
- package/presets/claude/java/agents/feature-developer.md +29 -0
- package/presets/claude/java/agents/integration-test-generator.md +17 -0
- package/presets/claude/java/agents/integration-test-healer.md +17 -0
- package/presets/claude/java/agents/integration-test-planner.md +17 -0
- package/presets/claude/java/agents/migration-specialist.md +15 -0
- package/presets/claude/java/agents/openspec-author.md +15 -0
- package/presets/claude/java/agents/performance-auditor.md +15 -0
- package/presets/claude/java/agents/qa-tester.md +18 -0
- package/presets/claude/java/agents/security-reviewer.md +15 -0
- package/presets/claude/java/agents/solution-architect.md +15 -0
- package/presets/claude/java/agents/task-analyst.md +15 -0
- package/presets/claude/java/agents/task-router.md +15 -0
- package/presets/claude/java/agents/tech-writer.md +15 -1
- package/presets/claude/java/agents/unit-test-generator.md +16 -0
- package/presets/claude/java/agents/unit-test-healer.md +16 -0
- package/presets/claude/java/agents/unit-test-planner.md +16 -0
- package/presets/claude/java/hooks/README.md +6 -5
- package/presets/claude/java/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/java/hooks/examples/README.md +2 -0
- package/presets/claude/java/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/java/rules/README.md +1 -1
- package/presets/claude/java/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/java/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/java/settings.json +33 -0
- package/presets/claude/mcp-ts/CLAUDE.md +15 -1
- package/presets/claude/mcp-ts/REPO_AGENTS.md +1 -1
- package/presets/claude/mcp-ts/agents/build-verifier.md +17 -0
- package/presets/claude/mcp-ts/agents/feature-developer.md +22 -0
- package/presets/claude/mcp-ts/agents/security-reviewer.md +15 -0
- package/presets/claude/mcp-ts/agents/solution-architect.md +15 -1
- package/presets/claude/mcp-ts/agents/task-analyst.md +15 -0
- package/presets/claude/mcp-ts/agents/task-router.md +15 -0
- package/presets/claude/mcp-ts/hooks/README.md +8 -3
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/mcp-ts/hooks/examples/README.md +5 -0
- package/presets/claude/mcp-ts/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/mcp-ts/rules/README.md +1 -1
- package/presets/claude/mcp-ts/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/mcp-ts/settings.json +33 -0
- package/presets/claude/next/CLAUDE.md +15 -1
- package/presets/claude/next/REPO_AGENTS.md +1 -1
- package/presets/claude/next/agents/accessibility-reviewer.md +17 -0
- package/presets/claude/next/agents/api-contract-reviewer.md +19 -0
- package/presets/claude/next/agents/build-verifier.md +17 -0
- package/presets/claude/next/agents/ci-investigator.md +34 -0
- package/presets/claude/next/agents/code-reviewer.md +18 -0
- package/presets/claude/next/agents/codebase-analyzer.md +17 -0
- package/presets/claude/next/agents/debugger.md +34 -0
- package/presets/claude/next/agents/feature-developer.md +34 -0
- package/presets/claude/next/agents/migration-specialist.md +17 -0
- package/presets/claude/next/agents/mockup-reviewer.md +17 -0
- package/presets/claude/next/agents/openspec-author.md +17 -0
- package/presets/claude/next/agents/performance-auditor.md +17 -0
- package/presets/claude/next/agents/playwright-test-generator.md +19 -0
- package/presets/claude/next/agents/playwright-test-healer.md +19 -1
- package/presets/claude/next/agents/playwright-test-planner.md +20 -1
- package/presets/claude/next/agents/qa-tester.md +20 -0
- package/presets/claude/next/agents/security-reviewer.md +17 -0
- package/presets/claude/next/agents/solution-architect.md +17 -0
- package/presets/claude/next/agents/task-analyst.md +17 -0
- package/presets/claude/next/agents/task-router.md +17 -0
- package/presets/claude/next/agents/tech-writer.md +17 -0
- package/presets/claude/next/agents/unit-test-generator.md +18 -0
- package/presets/claude/next/agents/unit-test-healer.md +18 -0
- package/presets/claude/next/agents/unit-test-planner.md +18 -0
- package/presets/claude/next/hooks/README.md +10 -1
- package/presets/claude/next/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/next/hooks/examples/README.md +2 -0
- package/presets/claude/next/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/next/rules/README.md +1 -1
- package/presets/claude/next/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/next/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/next/settings.json +39 -0
- package/presets/claude/nuxt/CLAUDE.md +15 -1
- package/presets/claude/nuxt/REPO_AGENTS.md +1 -1
- package/presets/claude/nuxt/agents/accessibility-reviewer.md +17 -0
- package/presets/claude/nuxt/agents/api-contract-reviewer.md +19 -0
- package/presets/claude/nuxt/agents/build-verifier.md +17 -0
- package/presets/claude/nuxt/agents/ci-investigator.md +34 -0
- package/presets/claude/nuxt/agents/code-reviewer.md +18 -0
- package/presets/claude/nuxt/agents/codebase-analyzer.md +17 -0
- package/presets/claude/nuxt/agents/debugger.md +34 -0
- package/presets/claude/nuxt/agents/feature-developer.md +34 -0
- package/presets/claude/nuxt/agents/migration-specialist.md +17 -0
- package/presets/claude/nuxt/agents/mockup-reviewer.md +17 -0
- package/presets/claude/nuxt/agents/openspec-author.md +17 -0
- package/presets/claude/nuxt/agents/performance-auditor.md +17 -0
- package/presets/claude/nuxt/agents/playwright-test-generator.md +19 -0
- package/presets/claude/nuxt/agents/playwright-test-healer.md +19 -1
- package/presets/claude/nuxt/agents/playwright-test-planner.md +20 -1
- package/presets/claude/nuxt/agents/qa-tester.md +20 -0
- package/presets/claude/nuxt/agents/security-reviewer.md +17 -0
- package/presets/claude/nuxt/agents/solution-architect.md +17 -0
- package/presets/claude/nuxt/agents/task-analyst.md +17 -0
- package/presets/claude/nuxt/agents/task-router.md +17 -0
- package/presets/claude/nuxt/agents/tech-writer.md +17 -0
- package/presets/claude/nuxt/agents/unit-test-generator.md +18 -0
- package/presets/claude/nuxt/agents/unit-test-healer.md +18 -0
- package/presets/claude/nuxt/agents/unit-test-planner.md +18 -0
- package/presets/claude/nuxt/hooks/README.md +7 -4
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/nuxt/hooks/examples/README.md +2 -0
- package/presets/claude/nuxt/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/nuxt/rules/README.md +1 -1
- package/presets/claude/nuxt/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/nuxt/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/nuxt/settings.json +39 -0
- package/presets/claude/php-hexagonal/CLAUDE.md +15 -1
- package/presets/claude/php-hexagonal/REPO_AGENTS.md +1 -1
- package/presets/claude/php-hexagonal/agents/api-contract-reviewer.md +17 -0
- package/presets/claude/php-hexagonal/agents/build-verifier.md +17 -0
- package/presets/claude/php-hexagonal/agents/ci-investigator.md +29 -0
- package/presets/claude/php-hexagonal/agents/code-reviewer.md +16 -0
- package/presets/claude/php-hexagonal/agents/codebase-analyzer.md +15 -0
- package/presets/claude/php-hexagonal/agents/debugger.md +29 -0
- package/presets/claude/php-hexagonal/agents/feature-developer.md +29 -0
- package/presets/claude/php-hexagonal/agents/integration-test-generator.md +17 -0
- package/presets/claude/php-hexagonal/agents/integration-test-healer.md +17 -0
- package/presets/claude/php-hexagonal/agents/integration-test-planner.md +17 -0
- package/presets/claude/php-hexagonal/agents/migration-specialist.md +15 -0
- package/presets/claude/php-hexagonal/agents/openspec-author.md +15 -0
- package/presets/claude/php-hexagonal/agents/performance-auditor.md +15 -0
- package/presets/claude/php-hexagonal/agents/qa-tester.md +18 -0
- package/presets/claude/php-hexagonal/agents/security-reviewer.md +15 -0
- package/presets/claude/php-hexagonal/agents/solution-architect.md +15 -0
- package/presets/claude/php-hexagonal/agents/task-analyst.md +15 -0
- package/presets/claude/php-hexagonal/agents/task-router.md +15 -0
- package/presets/claude/php-hexagonal/agents/tech-writer.md +15 -1
- package/presets/claude/php-hexagonal/agents/unit-test-generator.md +16 -0
- package/presets/claude/php-hexagonal/agents/unit-test-healer.md +16 -0
- package/presets/claude/php-hexagonal/agents/unit-test-planner.md +16 -0
- package/presets/claude/php-hexagonal/hooks/README.md +6 -5
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/php-hexagonal/hooks/examples/README.md +3 -1
- package/presets/claude/php-hexagonal/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/php-hexagonal/rules/README.md +1 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/php-hexagonal/settings.json +33 -0
- package/presets/claude/php-laravel/CLAUDE.md +18 -0
- package/presets/claude/php-laravel/REPO_AGENTS.md +1 -1
- package/presets/claude/php-laravel/agents/api-contract-reviewer.md +18 -0
- package/presets/claude/php-laravel/agents/build-verifier.md +17 -0
- package/presets/claude/php-laravel/agents/ci-investigator.md +29 -0
- package/presets/claude/php-laravel/agents/code-reviewer.md +16 -0
- package/presets/claude/php-laravel/agents/codebase-analyzer.md +15 -0
- package/presets/claude/php-laravel/agents/debugger.md +29 -0
- package/presets/claude/php-laravel/agents/feature-developer.md +29 -0
- package/presets/claude/php-laravel/agents/integration-test-generator.md +17 -0
- package/presets/claude/php-laravel/agents/integration-test-healer.md +17 -0
- package/presets/claude/php-laravel/agents/integration-test-planner.md +17 -0
- package/presets/claude/php-laravel/agents/migration-specialist.md +15 -0
- package/presets/claude/php-laravel/agents/openspec-author.md +15 -0
- package/presets/claude/php-laravel/agents/performance-auditor.md +15 -0
- package/presets/claude/php-laravel/agents/qa-tester.md +18 -0
- package/presets/claude/php-laravel/agents/security-reviewer.md +15 -0
- package/presets/claude/php-laravel/agents/solution-architect.md +15 -0
- package/presets/claude/php-laravel/agents/task-analyst.md +15 -0
- package/presets/claude/php-laravel/agents/task-router.md +15 -0
- package/presets/claude/php-laravel/agents/tech-writer.md +15 -1
- package/presets/claude/php-laravel/agents/unit-test-generator.md +16 -0
- package/presets/claude/php-laravel/agents/unit-test-healer.md +16 -0
- package/presets/claude/php-laravel/agents/unit-test-planner.md +16 -0
- package/presets/claude/php-laravel/hooks/README.md +6 -5
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/php-laravel/hooks/examples/README.md +3 -1
- package/presets/claude/php-laravel/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/php-laravel/rules/README.md +1 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/php-laravel/settings.json +33 -0
- package/presets/claude/svelte/CLAUDE.md +15 -1
- package/presets/claude/svelte/REPO_AGENTS.md +1 -1
- package/presets/claude/svelte/agents/accessibility-reviewer.md +17 -0
- package/presets/claude/svelte/agents/api-contract-reviewer.md +19 -0
- package/presets/claude/svelte/agents/build-verifier.md +17 -0
- package/presets/claude/svelte/agents/ci-investigator.md +34 -0
- package/presets/claude/svelte/agents/code-reviewer.md +18 -0
- package/presets/claude/svelte/agents/codebase-analyzer.md +17 -0
- package/presets/claude/svelte/agents/debugger.md +34 -0
- package/presets/claude/svelte/agents/feature-developer.md +34 -0
- package/presets/claude/svelte/agents/migration-specialist.md +17 -0
- package/presets/claude/svelte/agents/mockup-reviewer.md +17 -0
- package/presets/claude/svelte/agents/openspec-author.md +17 -0
- package/presets/claude/svelte/agents/performance-auditor.md +17 -0
- package/presets/claude/svelte/agents/playwright-test-generator.md +19 -0
- package/presets/claude/svelte/agents/playwright-test-healer.md +19 -1
- package/presets/claude/svelte/agents/playwright-test-planner.md +20 -1
- package/presets/claude/svelte/agents/qa-tester.md +20 -0
- package/presets/claude/svelte/agents/security-reviewer.md +17 -0
- package/presets/claude/svelte/agents/solution-architect.md +17 -0
- package/presets/claude/svelte/agents/task-analyst.md +17 -0
- package/presets/claude/svelte/agents/task-router.md +17 -0
- package/presets/claude/svelte/agents/tech-writer.md +17 -0
- package/presets/claude/svelte/agents/unit-test-generator.md +18 -0
- package/presets/claude/svelte/agents/unit-test-healer.md +18 -0
- package/presets/claude/svelte/agents/unit-test-planner.md +18 -0
- package/presets/claude/svelte/hooks/README.md +7 -4
- package/presets/claude/svelte/hooks/chain-team-phases.sh +18 -0
- package/presets/claude/svelte/hooks/examples/README.md +2 -0
- package/presets/claude/svelte/hooks/guard-shell-command.sh +32 -9
- package/presets/claude/svelte/rules/README.md +1 -1
- package/presets/claude/svelte/rules/tooling-and-review/ai-local-overlay.md +0 -5
- package/presets/claude/svelte/rules/tooling-and-review/preset-pr-checklist.md +2 -2
- package/presets/claude/svelte/settings.json +39 -0
- package/presets/cursor/android-kotlin/REPO_AGENTS.md +1 -1
- package/presets/cursor/android-kotlin/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/go/REPO_AGENTS.md +1 -1
- package/presets/cursor/go/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/ios-swift/REPO_AGENTS.md +1 -1
- package/presets/cursor/ios-swift/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/java/REPO_AGENTS.md +1 -1
- package/presets/cursor/java/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/mcp-ts/REPO_AGENTS.md +1 -1
- package/presets/cursor/mcp-ts/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/next/REPO_AGENTS.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
- package/presets/cursor/next/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/cursor/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
- package/presets/cursor/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/cursor/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/cursor/next/ai-local/rules-library/router-pages.md +23 -0
- package/presets/cursor/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
- package/presets/cursor/next/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/nuxt/REPO_AGENTS.md +1 -1
- package/presets/cursor/nuxt/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/php-hexagonal/REPO_AGENTS.md +1 -1
- package/presets/cursor/php-hexagonal/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/php-laravel/REPO_AGENTS.md +1 -1
- package/presets/cursor/php-laravel/rules/preset-pr-checklist.mdc +2 -2
- package/presets/cursor/svelte/REPO_AGENTS.md +1 -1
- package/presets/cursor/svelte/rules/preset-pr-checklist.mdc +2 -2
- package/presets/mavis/README.md +2 -0
- package/presets/mavis/android-kotlin/MAVIS.md +23 -1
- package/presets/mavis/android-kotlin/REPO_AGENTS.md +1 -1
- package/presets/mavis/android-kotlin/adapter-map.json +1 -1
- package/presets/mavis/android-kotlin/agents/accessibility-reviewer.md +15 -0
- package/presets/mavis/android-kotlin/agents/api-contract-reviewer.md +16 -0
- package/presets/mavis/android-kotlin/agents/build-verifier.md +17 -0
- package/presets/mavis/android-kotlin/agents/ci-investigator.md +25 -0
- package/presets/mavis/android-kotlin/agents/code-reviewer.md +16 -0
- package/presets/mavis/android-kotlin/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/android-kotlin/agents/debugger.md +25 -0
- package/presets/mavis/android-kotlin/agents/feature-developer.md +25 -0
- package/presets/mavis/android-kotlin/agents/instrumentation-test-generator.md +16 -0
- package/presets/mavis/android-kotlin/agents/instrumentation-test-healer.md +16 -0
- package/presets/mavis/android-kotlin/agents/instrumentation-test-planner.md +16 -0
- package/presets/mavis/android-kotlin/agents/migration-specialist.md +15 -0
- package/presets/mavis/android-kotlin/agents/mockup-reviewer.md +15 -0
- package/presets/mavis/android-kotlin/agents/openspec-author.md +15 -0
- package/presets/mavis/android-kotlin/agents/performance-auditor.md +15 -0
- package/presets/mavis/android-kotlin/agents/qa-tester.md +17 -0
- package/presets/mavis/android-kotlin/agents/security-reviewer.md +15 -0
- package/presets/mavis/android-kotlin/agents/solution-architect.md +15 -0
- package/presets/mavis/android-kotlin/agents/task-analyst.md +15 -0
- package/presets/mavis/android-kotlin/agents/task-router.md +15 -0
- package/presets/mavis/android-kotlin/agents/tech-writer.md +15 -0
- package/presets/mavis/android-kotlin/agents/unit-test-generator.md +16 -0
- package/presets/mavis/android-kotlin/agents/unit-test-healer.md +16 -0
- package/presets/mavis/android-kotlin/agents/unit-test-planner.md +16 -0
- package/presets/mavis/android-kotlin/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/go/MAVIS.md +23 -1
- package/presets/mavis/go/REPO_AGENTS.md +1 -1
- package/presets/mavis/go/adapter-map.json +1 -1
- package/presets/mavis/go/agents/api-contract-reviewer.md +17 -0
- package/presets/mavis/go/agents/build-verifier.md +17 -0
- package/presets/mavis/go/agents/ci-investigator.md +29 -0
- package/presets/mavis/go/agents/code-reviewer.md +16 -0
- package/presets/mavis/go/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/go/agents/debugger.md +29 -0
- package/presets/mavis/go/agents/feature-developer.md +29 -0
- package/presets/mavis/go/agents/integration-test-generator.md +17 -0
- package/presets/mavis/go/agents/integration-test-healer.md +17 -0
- package/presets/mavis/go/agents/integration-test-planner.md +17 -0
- package/presets/mavis/go/agents/migration-specialist.md +15 -0
- package/presets/mavis/go/agents/openspec-author.md +15 -0
- package/presets/mavis/go/agents/performance-auditor.md +15 -0
- package/presets/mavis/go/agents/qa-tester.md +18 -0
- package/presets/mavis/go/agents/security-reviewer.md +15 -0
- package/presets/mavis/go/agents/solution-architect.md +15 -0
- package/presets/mavis/go/agents/task-analyst.md +15 -0
- package/presets/mavis/go/agents/task-router.md +15 -0
- package/presets/mavis/go/agents/tech-writer.md +15 -0
- package/presets/mavis/go/agents/unit-test-generator.md +16 -0
- package/presets/mavis/go/agents/unit-test-healer.md +16 -0
- package/presets/mavis/go/agents/unit-test-planner.md +16 -0
- package/presets/mavis/go/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/ios-swift/MAVIS.md +23 -1
- package/presets/mavis/ios-swift/REPO_AGENTS.md +1 -1
- package/presets/mavis/ios-swift/adapter-map.json +1 -1
- package/presets/mavis/ios-swift/agents/accessibility-reviewer.md +15 -0
- package/presets/mavis/ios-swift/agents/api-contract-reviewer.md +16 -0
- package/presets/mavis/ios-swift/agents/build-verifier.md +17 -0
- package/presets/mavis/ios-swift/agents/ci-investigator.md +24 -0
- package/presets/mavis/ios-swift/agents/code-reviewer.md +16 -0
- package/presets/mavis/ios-swift/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/ios-swift/agents/debugger.md +24 -0
- package/presets/mavis/ios-swift/agents/feature-developer.md +24 -0
- package/presets/mavis/ios-swift/agents/migration-specialist.md +15 -0
- package/presets/mavis/ios-swift/agents/mockup-reviewer.md +15 -0
- package/presets/mavis/ios-swift/agents/openspec-author.md +15 -0
- package/presets/mavis/ios-swift/agents/performance-auditor.md +15 -0
- package/presets/mavis/ios-swift/agents/qa-tester.md +17 -0
- package/presets/mavis/ios-swift/agents/security-reviewer.md +15 -0
- package/presets/mavis/ios-swift/agents/solution-architect.md +15 -0
- package/presets/mavis/ios-swift/agents/task-analyst.md +15 -0
- package/presets/mavis/ios-swift/agents/task-router.md +15 -0
- package/presets/mavis/ios-swift/agents/tech-writer.md +15 -0
- package/presets/mavis/ios-swift/agents/unit-test-generator.md +16 -0
- package/presets/mavis/ios-swift/agents/unit-test-healer.md +16 -0
- package/presets/mavis/ios-swift/agents/unit-test-planner.md +16 -0
- package/presets/mavis/ios-swift/agents/xcuitest-test-generator.md +16 -0
- package/presets/mavis/ios-swift/agents/xcuitest-test-healer.md +16 -0
- package/presets/mavis/ios-swift/agents/xcuitest-test-planner.md +16 -0
- package/presets/mavis/ios-swift/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/java/MAVIS.md +23 -1
- package/presets/mavis/java/REPO_AGENTS.md +1 -1
- package/presets/mavis/java/adapter-map.json +1 -1
- package/presets/mavis/java/agents/api-contract-reviewer.md +17 -0
- package/presets/mavis/java/agents/build-verifier.md +17 -0
- package/presets/mavis/java/agents/ci-investigator.md +29 -0
- package/presets/mavis/java/agents/code-reviewer.md +16 -0
- package/presets/mavis/java/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/java/agents/debugger.md +29 -0
- package/presets/mavis/java/agents/feature-developer.md +29 -0
- package/presets/mavis/java/agents/integration-test-generator.md +17 -0
- package/presets/mavis/java/agents/integration-test-healer.md +17 -0
- package/presets/mavis/java/agents/integration-test-planner.md +17 -0
- package/presets/mavis/java/agents/migration-specialist.md +15 -0
- package/presets/mavis/java/agents/openspec-author.md +15 -0
- package/presets/mavis/java/agents/performance-auditor.md +15 -0
- package/presets/mavis/java/agents/qa-tester.md +18 -0
- package/presets/mavis/java/agents/security-reviewer.md +15 -0
- package/presets/mavis/java/agents/solution-architect.md +15 -0
- package/presets/mavis/java/agents/task-analyst.md +15 -0
- package/presets/mavis/java/agents/task-router.md +15 -0
- package/presets/mavis/java/agents/tech-writer.md +15 -0
- package/presets/mavis/java/agents/unit-test-generator.md +16 -0
- package/presets/mavis/java/agents/unit-test-healer.md +16 -0
- package/presets/mavis/java/agents/unit-test-planner.md +16 -0
- package/presets/mavis/java/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/mcp-ts/MAVIS.md +23 -1
- package/presets/mavis/mcp-ts/REPO_AGENTS.md +1 -1
- package/presets/mavis/mcp-ts/adapter-map.json +1 -1
- package/presets/mavis/mcp-ts/agents/build-verifier.md +17 -0
- package/presets/mavis/mcp-ts/agents/feature-developer.md +22 -0
- package/presets/mavis/mcp-ts/agents/security-reviewer.md +15 -0
- package/presets/mavis/mcp-ts/agents/solution-architect.md +15 -0
- package/presets/mavis/mcp-ts/agents/task-analyst.md +15 -0
- package/presets/mavis/mcp-ts/agents/task-router.md +15 -0
- package/presets/mavis/mcp-ts/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/next/MAVIS.md +23 -1
- package/presets/mavis/next/REPO_AGENTS.md +1 -1
- package/presets/mavis/next/adapter-map.json +57 -1
- package/presets/mavis/next/agents/accessibility-reviewer.md +17 -0
- package/presets/mavis/next/agents/api-contract-reviewer.md +19 -0
- package/presets/mavis/next/agents/build-verifier.md +17 -0
- package/presets/mavis/next/agents/ci-investigator.md +34 -0
- package/presets/mavis/next/agents/code-reviewer.md +18 -0
- package/presets/mavis/next/agents/codebase-analyzer.md +17 -0
- package/presets/mavis/next/agents/debugger.md +34 -0
- package/presets/mavis/next/agents/feature-developer.md +34 -0
- package/presets/mavis/next/agents/migration-specialist.md +17 -0
- package/presets/mavis/next/agents/mockup-reviewer.md +17 -0
- package/presets/mavis/next/agents/openspec-author.md +17 -0
- package/presets/mavis/next/agents/performance-auditor.md +17 -0
- package/presets/mavis/next/agents/playwright-test-generator.md +19 -0
- package/presets/mavis/next/agents/playwright-test-healer.md +19 -0
- package/presets/mavis/next/agents/playwright-test-planner.md +19 -0
- package/presets/mavis/next/agents/qa-tester.md +20 -0
- package/presets/mavis/next/agents/security-reviewer.md +17 -0
- package/presets/mavis/next/agents/solution-architect.md +17 -0
- package/presets/mavis/next/agents/task-analyst.md +17 -0
- package/presets/mavis/next/agents/task-router.md +17 -0
- package/presets/mavis/next/agents/tech-writer.md +17 -0
- package/presets/mavis/next/agents/unit-test-generator.md +18 -0
- package/presets/mavis/next/agents/unit-test-healer.md +18 -0
- package/presets/mavis/next/agents/unit-test-planner.md +18 -0
- package/presets/mavis/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
- package/presets/mavis/next/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/mavis/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
- package/presets/mavis/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/mavis/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/mavis/next/ai-local/rules-library/router-pages.md +23 -0
- package/presets/mavis/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
- package/presets/mavis/next/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/nuxt/MAVIS.md +23 -1
- package/presets/mavis/nuxt/REPO_AGENTS.md +1 -1
- package/presets/mavis/nuxt/adapter-map.json +1 -1
- package/presets/mavis/nuxt/agents/accessibility-reviewer.md +17 -0
- package/presets/mavis/nuxt/agents/api-contract-reviewer.md +19 -0
- package/presets/mavis/nuxt/agents/build-verifier.md +17 -0
- package/presets/mavis/nuxt/agents/ci-investigator.md +34 -0
- package/presets/mavis/nuxt/agents/code-reviewer.md +18 -0
- package/presets/mavis/nuxt/agents/codebase-analyzer.md +17 -0
- package/presets/mavis/nuxt/agents/debugger.md +34 -0
- package/presets/mavis/nuxt/agents/feature-developer.md +34 -0
- package/presets/mavis/nuxt/agents/migration-specialist.md +17 -0
- package/presets/mavis/nuxt/agents/mockup-reviewer.md +17 -0
- package/presets/mavis/nuxt/agents/openspec-author.md +17 -0
- package/presets/mavis/nuxt/agents/performance-auditor.md +17 -0
- package/presets/mavis/nuxt/agents/playwright-test-generator.md +19 -0
- package/presets/mavis/nuxt/agents/playwright-test-healer.md +19 -0
- package/presets/mavis/nuxt/agents/playwright-test-planner.md +19 -0
- package/presets/mavis/nuxt/agents/qa-tester.md +20 -0
- package/presets/mavis/nuxt/agents/security-reviewer.md +17 -0
- package/presets/mavis/nuxt/agents/solution-architect.md +17 -0
- package/presets/mavis/nuxt/agents/task-analyst.md +17 -0
- package/presets/mavis/nuxt/agents/task-router.md +17 -0
- package/presets/mavis/nuxt/agents/tech-writer.md +17 -0
- package/presets/mavis/nuxt/agents/unit-test-generator.md +18 -0
- package/presets/mavis/nuxt/agents/unit-test-healer.md +18 -0
- package/presets/mavis/nuxt/agents/unit-test-planner.md +18 -0
- package/presets/mavis/nuxt/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/php-hexagonal/MAVIS.md +23 -1
- package/presets/mavis/php-hexagonal/REPO_AGENTS.md +1 -1
- package/presets/mavis/php-hexagonal/adapter-map.json +1 -1
- package/presets/mavis/php-hexagonal/agents/api-contract-reviewer.md +17 -0
- package/presets/mavis/php-hexagonal/agents/build-verifier.md +17 -0
- package/presets/mavis/php-hexagonal/agents/ci-investigator.md +29 -0
- package/presets/mavis/php-hexagonal/agents/code-reviewer.md +16 -0
- package/presets/mavis/php-hexagonal/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/php-hexagonal/agents/debugger.md +29 -0
- package/presets/mavis/php-hexagonal/agents/feature-developer.md +29 -0
- package/presets/mavis/php-hexagonal/agents/integration-test-generator.md +17 -0
- package/presets/mavis/php-hexagonal/agents/integration-test-healer.md +17 -0
- package/presets/mavis/php-hexagonal/agents/integration-test-planner.md +17 -0
- package/presets/mavis/php-hexagonal/agents/migration-specialist.md +15 -0
- package/presets/mavis/php-hexagonal/agents/openspec-author.md +15 -0
- package/presets/mavis/php-hexagonal/agents/performance-auditor.md +15 -0
- package/presets/mavis/php-hexagonal/agents/qa-tester.md +18 -0
- package/presets/mavis/php-hexagonal/agents/security-reviewer.md +15 -0
- package/presets/mavis/php-hexagonal/agents/solution-architect.md +15 -0
- package/presets/mavis/php-hexagonal/agents/task-analyst.md +15 -0
- package/presets/mavis/php-hexagonal/agents/task-router.md +15 -0
- package/presets/mavis/php-hexagonal/agents/tech-writer.md +15 -0
- package/presets/mavis/php-hexagonal/agents/unit-test-generator.md +16 -0
- package/presets/mavis/php-hexagonal/agents/unit-test-healer.md +16 -0
- package/presets/mavis/php-hexagonal/agents/unit-test-planner.md +16 -0
- package/presets/mavis/php-hexagonal/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/php-laravel/MAVIS.md +23 -1
- package/presets/mavis/php-laravel/REPO_AGENTS.md +1 -1
- package/presets/mavis/php-laravel/adapter-map.json +1 -1
- package/presets/mavis/php-laravel/agents/api-contract-reviewer.md +18 -0
- package/presets/mavis/php-laravel/agents/build-verifier.md +17 -0
- package/presets/mavis/php-laravel/agents/ci-investigator.md +29 -0
- package/presets/mavis/php-laravel/agents/code-reviewer.md +16 -0
- package/presets/mavis/php-laravel/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/php-laravel/agents/debugger.md +29 -0
- package/presets/mavis/php-laravel/agents/feature-developer.md +29 -0
- package/presets/mavis/php-laravel/agents/integration-test-generator.md +17 -0
- package/presets/mavis/php-laravel/agents/integration-test-healer.md +17 -0
- package/presets/mavis/php-laravel/agents/integration-test-planner.md +17 -0
- package/presets/mavis/php-laravel/agents/migration-specialist.md +15 -0
- package/presets/mavis/php-laravel/agents/openspec-author.md +15 -0
- package/presets/mavis/php-laravel/agents/performance-auditor.md +15 -0
- package/presets/mavis/php-laravel/agents/qa-tester.md +18 -0
- package/presets/mavis/php-laravel/agents/security-reviewer.md +15 -0
- package/presets/mavis/php-laravel/agents/solution-architect.md +15 -0
- package/presets/mavis/php-laravel/agents/task-analyst.md +15 -0
- package/presets/mavis/php-laravel/agents/task-router.md +15 -0
- package/presets/mavis/php-laravel/agents/tech-writer.md +15 -0
- package/presets/mavis/php-laravel/agents/unit-test-generator.md +16 -0
- package/presets/mavis/php-laravel/agents/unit-test-healer.md +16 -0
- package/presets/mavis/php-laravel/agents/unit-test-planner.md +16 -0
- package/presets/mavis/php-laravel/rules/preset-pr-checklist.md +2 -2
- package/presets/mavis/platform-contract.json +4 -4
- package/presets/mavis/svelte/MAVIS.md +23 -1
- package/presets/mavis/svelte/REPO_AGENTS.md +1 -1
- package/presets/mavis/svelte/adapter-map.json +1 -1
- package/presets/mavis/svelte/agents/accessibility-reviewer.md +17 -0
- package/presets/mavis/svelte/agents/api-contract-reviewer.md +19 -0
- package/presets/mavis/svelte/agents/build-verifier.md +17 -0
- package/presets/mavis/svelte/agents/ci-investigator.md +34 -0
- package/presets/mavis/svelte/agents/code-reviewer.md +18 -0
- package/presets/mavis/svelte/agents/codebase-analyzer.md +17 -0
- package/presets/mavis/svelte/agents/debugger.md +34 -0
- package/presets/mavis/svelte/agents/feature-developer.md +34 -0
- package/presets/mavis/svelte/agents/migration-specialist.md +17 -0
- package/presets/mavis/svelte/agents/mockup-reviewer.md +17 -0
- package/presets/mavis/svelte/agents/openspec-author.md +17 -0
- package/presets/mavis/svelte/agents/performance-auditor.md +17 -0
- package/presets/mavis/svelte/agents/playwright-test-generator.md +19 -0
- package/presets/mavis/svelte/agents/playwright-test-healer.md +19 -0
- package/presets/mavis/svelte/agents/playwright-test-planner.md +19 -0
- package/presets/mavis/svelte/agents/qa-tester.md +20 -0
- package/presets/mavis/svelte/agents/security-reviewer.md +17 -0
- package/presets/mavis/svelte/agents/solution-architect.md +17 -0
- package/presets/mavis/svelte/agents/task-analyst.md +17 -0
- package/presets/mavis/svelte/agents/task-router.md +17 -0
- package/presets/mavis/svelte/agents/tech-writer.md +17 -0
- package/presets/mavis/svelte/agents/unit-test-generator.md +18 -0
- package/presets/mavis/svelte/agents/unit-test-healer.md +18 -0
- package/presets/mavis/svelte/agents/unit-test-planner.md +18 -0
- package/presets/mavis/svelte/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/README.md +1 -1
- package/presets/opencode/android-kotlin/OPENCODE.md +23 -2
- package/presets/opencode/android-kotlin/REPO_AGENTS.md +1 -1
- package/presets/opencode/android-kotlin/adapter-map.json +2 -2
- package/presets/opencode/android-kotlin/agents/accessibility-reviewer.md +15 -0
- package/presets/opencode/android-kotlin/agents/api-contract-reviewer.md +16 -0
- package/presets/opencode/android-kotlin/agents/build-verifier.md +17 -0
- package/presets/opencode/android-kotlin/agents/ci-investigator.md +25 -0
- package/presets/opencode/android-kotlin/agents/code-reviewer.md +16 -0
- package/presets/opencode/android-kotlin/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/android-kotlin/agents/debugger.md +25 -0
- package/presets/opencode/android-kotlin/agents/feature-developer.md +25 -0
- package/presets/opencode/android-kotlin/agents/instrumentation-test-generator.md +16 -0
- package/presets/opencode/android-kotlin/agents/instrumentation-test-healer.md +16 -0
- package/presets/opencode/android-kotlin/agents/instrumentation-test-planner.md +16 -0
- package/presets/opencode/android-kotlin/agents/migration-specialist.md +15 -0
- package/presets/opencode/android-kotlin/agents/mockup-reviewer.md +15 -0
- package/presets/opencode/android-kotlin/agents/openspec-author.md +15 -0
- package/presets/opencode/android-kotlin/agents/performance-auditor.md +15 -0
- package/presets/opencode/android-kotlin/agents/qa-tester.md +17 -0
- package/presets/opencode/android-kotlin/agents/security-reviewer.md +15 -0
- package/presets/opencode/android-kotlin/agents/solution-architect.md +15 -0
- package/presets/opencode/android-kotlin/agents/task-analyst.md +15 -0
- package/presets/opencode/android-kotlin/agents/task-router.md +15 -0
- package/presets/opencode/android-kotlin/agents/tech-writer.md +15 -0
- package/presets/opencode/android-kotlin/agents/unit-test-generator.md +16 -0
- package/presets/opencode/android-kotlin/agents/unit-test-healer.md +16 -0
- package/presets/opencode/android-kotlin/agents/unit-test-planner.md +16 -0
- package/presets/opencode/android-kotlin/opencode.json +14 -0
- package/presets/opencode/android-kotlin/rules/README.md +7 -2
- package/presets/opencode/android-kotlin/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/go/OPENCODE.md +23 -2
- package/presets/opencode/go/REPO_AGENTS.md +1 -1
- package/presets/opencode/go/adapter-map.json +2 -2
- package/presets/opencode/go/agents/api-contract-reviewer.md +17 -0
- package/presets/opencode/go/agents/build-verifier.md +17 -0
- package/presets/opencode/go/agents/ci-investigator.md +29 -0
- package/presets/opencode/go/agents/code-reviewer.md +16 -0
- package/presets/opencode/go/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/go/agents/debugger.md +29 -0
- package/presets/opencode/go/agents/feature-developer.md +29 -0
- package/presets/opencode/go/agents/integration-test-generator.md +17 -0
- package/presets/opencode/go/agents/integration-test-healer.md +17 -0
- package/presets/opencode/go/agents/integration-test-planner.md +17 -0
- package/presets/opencode/go/agents/migration-specialist.md +15 -0
- package/presets/opencode/go/agents/openspec-author.md +15 -0
- package/presets/opencode/go/agents/performance-auditor.md +15 -0
- package/presets/opencode/go/agents/qa-tester.md +18 -0
- package/presets/opencode/go/agents/security-reviewer.md +15 -0
- package/presets/opencode/go/agents/solution-architect.md +15 -0
- package/presets/opencode/go/agents/task-analyst.md +15 -0
- package/presets/opencode/go/agents/task-router.md +15 -0
- package/presets/opencode/go/agents/tech-writer.md +15 -0
- package/presets/opencode/go/agents/unit-test-generator.md +16 -0
- package/presets/opencode/go/agents/unit-test-healer.md +16 -0
- package/presets/opencode/go/agents/unit-test-planner.md +16 -0
- package/presets/opencode/go/opencode.json +14 -0
- package/presets/opencode/go/rules/README.md +7 -2
- package/presets/opencode/go/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/ios-swift/OPENCODE.md +23 -2
- package/presets/opencode/ios-swift/REPO_AGENTS.md +1 -1
- package/presets/opencode/ios-swift/adapter-map.json +2 -2
- package/presets/opencode/ios-swift/agents/accessibility-reviewer.md +15 -0
- package/presets/opencode/ios-swift/agents/api-contract-reviewer.md +16 -0
- package/presets/opencode/ios-swift/agents/build-verifier.md +17 -0
- package/presets/opencode/ios-swift/agents/ci-investigator.md +24 -0
- package/presets/opencode/ios-swift/agents/code-reviewer.md +16 -0
- package/presets/opencode/ios-swift/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/ios-swift/agents/debugger.md +24 -0
- package/presets/opencode/ios-swift/agents/feature-developer.md +24 -0
- package/presets/opencode/ios-swift/agents/migration-specialist.md +15 -0
- package/presets/opencode/ios-swift/agents/mockup-reviewer.md +15 -0
- package/presets/opencode/ios-swift/agents/openspec-author.md +15 -0
- package/presets/opencode/ios-swift/agents/performance-auditor.md +15 -0
- package/presets/opencode/ios-swift/agents/qa-tester.md +17 -0
- package/presets/opencode/ios-swift/agents/security-reviewer.md +15 -0
- package/presets/opencode/ios-swift/agents/solution-architect.md +15 -0
- package/presets/opencode/ios-swift/agents/task-analyst.md +15 -0
- package/presets/opencode/ios-swift/agents/task-router.md +15 -0
- package/presets/opencode/ios-swift/agents/tech-writer.md +15 -0
- package/presets/opencode/ios-swift/agents/unit-test-generator.md +16 -0
- package/presets/opencode/ios-swift/agents/unit-test-healer.md +16 -0
- package/presets/opencode/ios-swift/agents/unit-test-planner.md +16 -0
- package/presets/opencode/ios-swift/agents/xcuitest-test-generator.md +16 -0
- package/presets/opencode/ios-swift/agents/xcuitest-test-healer.md +16 -0
- package/presets/opencode/ios-swift/agents/xcuitest-test-planner.md +16 -0
- package/presets/opencode/ios-swift/opencode.json +14 -0
- package/presets/opencode/ios-swift/rules/README.md +7 -2
- package/presets/opencode/ios-swift/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/java/OPENCODE.md +23 -2
- package/presets/opencode/java/REPO_AGENTS.md +1 -1
- package/presets/opencode/java/adapter-map.json +2 -2
- package/presets/opencode/java/agents/api-contract-reviewer.md +17 -0
- package/presets/opencode/java/agents/build-verifier.md +17 -0
- package/presets/opencode/java/agents/ci-investigator.md +29 -0
- package/presets/opencode/java/agents/code-reviewer.md +16 -0
- package/presets/opencode/java/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/java/agents/debugger.md +29 -0
- package/presets/opencode/java/agents/feature-developer.md +29 -0
- package/presets/opencode/java/agents/integration-test-generator.md +17 -0
- package/presets/opencode/java/agents/integration-test-healer.md +17 -0
- package/presets/opencode/java/agents/integration-test-planner.md +17 -0
- package/presets/opencode/java/agents/migration-specialist.md +15 -0
- package/presets/opencode/java/agents/openspec-author.md +15 -0
- package/presets/opencode/java/agents/performance-auditor.md +15 -0
- package/presets/opencode/java/agents/qa-tester.md +18 -0
- package/presets/opencode/java/agents/security-reviewer.md +15 -0
- package/presets/opencode/java/agents/solution-architect.md +15 -0
- package/presets/opencode/java/agents/task-analyst.md +15 -0
- package/presets/opencode/java/agents/task-router.md +15 -0
- package/presets/opencode/java/agents/tech-writer.md +15 -0
- package/presets/opencode/java/agents/unit-test-generator.md +16 -0
- package/presets/opencode/java/agents/unit-test-healer.md +16 -0
- package/presets/opencode/java/agents/unit-test-planner.md +16 -0
- package/presets/opencode/java/opencode.json +14 -0
- package/presets/opencode/java/rules/README.md +7 -2
- package/presets/opencode/java/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/mcp-ts/OPENCODE.md +23 -2
- package/presets/opencode/mcp-ts/REPO_AGENTS.md +1 -1
- package/presets/opencode/mcp-ts/adapter-map.json +2 -2
- package/presets/opencode/mcp-ts/agents/build-verifier.md +17 -0
- package/presets/opencode/mcp-ts/agents/feature-developer.md +22 -0
- package/presets/opencode/mcp-ts/agents/security-reviewer.md +15 -0
- package/presets/opencode/mcp-ts/agents/solution-architect.md +15 -0
- package/presets/opencode/mcp-ts/agents/task-analyst.md +15 -0
- package/presets/opencode/mcp-ts/agents/task-router.md +15 -0
- package/presets/opencode/mcp-ts/opencode.json +14 -0
- package/presets/opencode/mcp-ts/rules/README.md +7 -2
- package/presets/opencode/mcp-ts/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/next/OPENCODE.md +23 -2
- package/presets/opencode/next/REPO_AGENTS.md +1 -1
- package/presets/opencode/next/adapter-map.json +58 -2
- package/presets/opencode/next/agents/accessibility-reviewer.md +17 -0
- package/presets/opencode/next/agents/api-contract-reviewer.md +19 -0
- package/presets/opencode/next/agents/build-verifier.md +17 -0
- package/presets/opencode/next/agents/ci-investigator.md +34 -0
- package/presets/opencode/next/agents/code-reviewer.md +18 -0
- package/presets/opencode/next/agents/codebase-analyzer.md +17 -0
- package/presets/opencode/next/agents/debugger.md +34 -0
- package/presets/opencode/next/agents/feature-developer.md +34 -0
- package/presets/opencode/next/agents/migration-specialist.md +17 -0
- package/presets/opencode/next/agents/mockup-reviewer.md +17 -0
- package/presets/opencode/next/agents/openspec-author.md +17 -0
- package/presets/opencode/next/agents/performance-auditor.md +17 -0
- package/presets/opencode/next/agents/playwright-test-generator.md +19 -0
- package/presets/opencode/next/agents/playwright-test-healer.md +19 -0
- package/presets/opencode/next/agents/playwright-test-planner.md +19 -0
- package/presets/opencode/next/agents/qa-tester.md +20 -0
- package/presets/opencode/next/agents/security-reviewer.md +17 -0
- package/presets/opencode/next/agents/solution-architect.md +17 -0
- package/presets/opencode/next/agents/task-analyst.md +17 -0
- package/presets/opencode/next/agents/task-router.md +17 -0
- package/presets/opencode/next/agents/tech-writer.md +17 -0
- package/presets/opencode/next/agents/unit-test-generator.md +18 -0
- package/presets/opencode/next/agents/unit-test-healer.md +18 -0
- package/presets/opencode/next/agents/unit-test-planner.md +18 -0
- package/presets/opencode/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
- package/presets/opencode/next/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/opencode/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
- package/presets/opencode/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/opencode/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/opencode/next/ai-local/rules-library/router-pages.md +23 -0
- package/presets/opencode/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
- package/presets/opencode/next/opencode.json +19 -0
- package/presets/opencode/next/rules/README.md +7 -2
- package/presets/opencode/next/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/nuxt/OPENCODE.md +23 -2
- package/presets/opencode/nuxt/REPO_AGENTS.md +1 -1
- package/presets/opencode/nuxt/adapter-map.json +2 -2
- package/presets/opencode/nuxt/agents/accessibility-reviewer.md +17 -0
- package/presets/opencode/nuxt/agents/api-contract-reviewer.md +19 -0
- package/presets/opencode/nuxt/agents/build-verifier.md +17 -0
- package/presets/opencode/nuxt/agents/ci-investigator.md +34 -0
- package/presets/opencode/nuxt/agents/code-reviewer.md +18 -0
- package/presets/opencode/nuxt/agents/codebase-analyzer.md +17 -0
- package/presets/opencode/nuxt/agents/debugger.md +34 -0
- package/presets/opencode/nuxt/agents/feature-developer.md +34 -0
- package/presets/opencode/nuxt/agents/migration-specialist.md +17 -0
- package/presets/opencode/nuxt/agents/mockup-reviewer.md +17 -0
- package/presets/opencode/nuxt/agents/openspec-author.md +17 -0
- package/presets/opencode/nuxt/agents/performance-auditor.md +17 -0
- package/presets/opencode/nuxt/agents/playwright-test-generator.md +19 -0
- package/presets/opencode/nuxt/agents/playwright-test-healer.md +19 -0
- package/presets/opencode/nuxt/agents/playwright-test-planner.md +19 -0
- package/presets/opencode/nuxt/agents/qa-tester.md +20 -0
- package/presets/opencode/nuxt/agents/security-reviewer.md +17 -0
- package/presets/opencode/nuxt/agents/solution-architect.md +17 -0
- package/presets/opencode/nuxt/agents/task-analyst.md +17 -0
- package/presets/opencode/nuxt/agents/task-router.md +17 -0
- package/presets/opencode/nuxt/agents/tech-writer.md +17 -0
- package/presets/opencode/nuxt/agents/unit-test-generator.md +18 -0
- package/presets/opencode/nuxt/agents/unit-test-healer.md +18 -0
- package/presets/opencode/nuxt/agents/unit-test-planner.md +18 -0
- package/presets/opencode/nuxt/opencode.json +19 -0
- package/presets/opencode/nuxt/rules/README.md +7 -2
- package/presets/opencode/nuxt/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/php-hexagonal/OPENCODE.md +23 -2
- package/presets/opencode/php-hexagonal/REPO_AGENTS.md +1 -1
- package/presets/opencode/php-hexagonal/adapter-map.json +2 -2
- package/presets/opencode/php-hexagonal/agents/api-contract-reviewer.md +17 -0
- package/presets/opencode/php-hexagonal/agents/build-verifier.md +17 -0
- package/presets/opencode/php-hexagonal/agents/ci-investigator.md +29 -0
- package/presets/opencode/php-hexagonal/agents/code-reviewer.md +16 -0
- package/presets/opencode/php-hexagonal/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/php-hexagonal/agents/debugger.md +29 -0
- package/presets/opencode/php-hexagonal/agents/feature-developer.md +29 -0
- package/presets/opencode/php-hexagonal/agents/integration-test-generator.md +17 -0
- package/presets/opencode/php-hexagonal/agents/integration-test-healer.md +17 -0
- package/presets/opencode/php-hexagonal/agents/integration-test-planner.md +17 -0
- package/presets/opencode/php-hexagonal/agents/migration-specialist.md +15 -0
- package/presets/opencode/php-hexagonal/agents/openspec-author.md +15 -0
- package/presets/opencode/php-hexagonal/agents/performance-auditor.md +15 -0
- package/presets/opencode/php-hexagonal/agents/qa-tester.md +18 -0
- package/presets/opencode/php-hexagonal/agents/security-reviewer.md +15 -0
- package/presets/opencode/php-hexagonal/agents/solution-architect.md +15 -0
- package/presets/opencode/php-hexagonal/agents/task-analyst.md +15 -0
- package/presets/opencode/php-hexagonal/agents/task-router.md +15 -0
- package/presets/opencode/php-hexagonal/agents/tech-writer.md +15 -0
- package/presets/opencode/php-hexagonal/agents/unit-test-generator.md +16 -0
- package/presets/opencode/php-hexagonal/agents/unit-test-healer.md +16 -0
- package/presets/opencode/php-hexagonal/agents/unit-test-planner.md +16 -0
- package/presets/opencode/php-hexagonal/opencode.json +14 -0
- package/presets/opencode/php-hexagonal/rules/README.md +7 -2
- package/presets/opencode/php-hexagonal/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/php-laravel/OPENCODE.md +23 -2
- package/presets/opencode/php-laravel/REPO_AGENTS.md +1 -1
- package/presets/opencode/php-laravel/adapter-map.json +2 -2
- package/presets/opencode/php-laravel/agents/api-contract-reviewer.md +18 -0
- package/presets/opencode/php-laravel/agents/build-verifier.md +17 -0
- package/presets/opencode/php-laravel/agents/ci-investigator.md +29 -0
- package/presets/opencode/php-laravel/agents/code-reviewer.md +16 -0
- package/presets/opencode/php-laravel/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/php-laravel/agents/debugger.md +29 -0
- package/presets/opencode/php-laravel/agents/feature-developer.md +29 -0
- package/presets/opencode/php-laravel/agents/integration-test-generator.md +17 -0
- package/presets/opencode/php-laravel/agents/integration-test-healer.md +17 -0
- package/presets/opencode/php-laravel/agents/integration-test-planner.md +17 -0
- package/presets/opencode/php-laravel/agents/migration-specialist.md +15 -0
- package/presets/opencode/php-laravel/agents/openspec-author.md +15 -0
- package/presets/opencode/php-laravel/agents/performance-auditor.md +15 -0
- package/presets/opencode/php-laravel/agents/qa-tester.md +18 -0
- package/presets/opencode/php-laravel/agents/security-reviewer.md +15 -0
- package/presets/opencode/php-laravel/agents/solution-architect.md +15 -0
- package/presets/opencode/php-laravel/agents/task-analyst.md +15 -0
- package/presets/opencode/php-laravel/agents/task-router.md +15 -0
- package/presets/opencode/php-laravel/agents/tech-writer.md +15 -0
- package/presets/opencode/php-laravel/agents/unit-test-generator.md +16 -0
- package/presets/opencode/php-laravel/agents/unit-test-healer.md +16 -0
- package/presets/opencode/php-laravel/agents/unit-test-planner.md +16 -0
- package/presets/opencode/php-laravel/opencode.json +14 -0
- package/presets/opencode/php-laravel/rules/README.md +7 -2
- package/presets/opencode/php-laravel/rules/preset-pr-checklist.md +2 -2
- package/presets/opencode/platform-contract.json +1 -1
- package/presets/opencode/svelte/OPENCODE.md +23 -2
- package/presets/opencode/svelte/REPO_AGENTS.md +1 -1
- package/presets/opencode/svelte/adapter-map.json +2 -2
- package/presets/opencode/svelte/agents/accessibility-reviewer.md +17 -0
- package/presets/opencode/svelte/agents/api-contract-reviewer.md +19 -0
- package/presets/opencode/svelte/agents/build-verifier.md +17 -0
- package/presets/opencode/svelte/agents/ci-investigator.md +34 -0
- package/presets/opencode/svelte/agents/code-reviewer.md +18 -0
- package/presets/opencode/svelte/agents/codebase-analyzer.md +17 -0
- package/presets/opencode/svelte/agents/debugger.md +34 -0
- package/presets/opencode/svelte/agents/feature-developer.md +34 -0
- package/presets/opencode/svelte/agents/migration-specialist.md +17 -0
- package/presets/opencode/svelte/agents/mockup-reviewer.md +17 -0
- package/presets/opencode/svelte/agents/openspec-author.md +17 -0
- package/presets/opencode/svelte/agents/performance-auditor.md +17 -0
- package/presets/opencode/svelte/agents/playwright-test-generator.md +19 -0
- package/presets/opencode/svelte/agents/playwright-test-healer.md +19 -0
- package/presets/opencode/svelte/agents/playwright-test-planner.md +19 -0
- package/presets/opencode/svelte/agents/qa-tester.md +20 -0
- package/presets/opencode/svelte/agents/security-reviewer.md +17 -0
- package/presets/opencode/svelte/agents/solution-architect.md +17 -0
- package/presets/opencode/svelte/agents/task-analyst.md +17 -0
- package/presets/opencode/svelte/agents/task-router.md +17 -0
- package/presets/opencode/svelte/agents/tech-writer.md +17 -0
- package/presets/opencode/svelte/agents/unit-test-generator.md +18 -0
- package/presets/opencode/svelte/agents/unit-test-healer.md +18 -0
- package/presets/opencode/svelte/agents/unit-test-planner.md +18 -0
- package/presets/opencode/svelte/opencode.json +19 -0
- package/presets/opencode/svelte/rules/README.md +7 -2
- package/presets/opencode/svelte/rules/preset-pr-checklist.md +2 -2
- package/scripts/check-claude-agent-blocks.mjs +82 -0
- package/scripts/check-local-overlay.sh +40 -4
- package/scripts/check-mavis-local-overlay.mjs +23 -0
- package/scripts/check-mavis-platform-contract.mjs +5 -2
- package/scripts/check-opencode-local-overlay.mjs +19 -0
- package/scripts/check-opencode-platform-contract.mjs +5 -2
- package/scripts/check-preset-structure.sh +9 -0
- package/scripts/check-preset-token-budget.sh +7 -0
- package/scripts/fixtures/cli-golden/claude/next.json +34 -33
- package/scripts/fixtures/cli-golden/cursor/next.json +9 -2
- package/scripts/fixtures/cli-golden/mavis/android-kotlin.json +27 -27
- package/scripts/fixtures/cli-golden/mavis/go.json +25 -25
- package/scripts/fixtures/cli-golden/mavis/ios-swift.json +27 -27
- package/scripts/fixtures/cli-golden/mavis/java.json +25 -25
- package/scripts/fixtures/cli-golden/mavis/mcp-ts.json +9 -9
- package/scripts/fixtures/cli-golden/mavis/next.json +34 -27
- package/scripts/fixtures/cli-golden/mavis/nuxt.json +27 -27
- package/scripts/fixtures/cli-golden/mavis/php-hexagonal.json +25 -25
- package/scripts/fixtures/cli-golden/mavis/php-laravel.json +25 -25
- package/scripts/fixtures/cli-golden/mavis/svelte.json +27 -27
- package/scripts/fixtures/cli-golden/opencode/android-kotlin.json +29 -29
- package/scripts/fixtures/cli-golden/opencode/go.json +27 -27
- package/scripts/fixtures/cli-golden/opencode/ios-swift.json +29 -29
- package/scripts/fixtures/cli-golden/opencode/java.json +27 -27
- package/scripts/fixtures/cli-golden/opencode/mcp-ts.json +11 -11
- package/scripts/fixtures/cli-golden/opencode/next.json +36 -29
- package/scripts/fixtures/cli-golden/opencode/nuxt.json +29 -29
- package/scripts/fixtures/cli-golden/opencode/php-hexagonal.json +27 -27
- package/scripts/fixtures/cli-golden/opencode/php-laravel.json +27 -27
- package/scripts/fixtures/cli-golden/opencode/svelte.json +29 -29
- package/scripts/inject-claude-agent-rules-block.mjs +83 -0
- package/scripts/lib/generate-adapter-common.mjs +182 -0
- package/scripts/lib/generate-mavis-adapter.mjs +55 -10
- package/scripts/lib/generate-opencode-adapter.mjs +76 -12
- package/scripts/lib/stack-platform-profiles.mjs +321 -1
- package/scripts/sync-claude-harness-wiring.mjs +56 -0
- package/scripts/sync-claude-settings.mjs +81 -0
- package/scripts/sync-dogfood-claude.sh +62 -0
- package/scripts/test-cli-mcp-merge.mjs +54 -0
- package/scripts/test-mavis-orchestration.mjs +3 -2
|
@@ -6,6 +6,22 @@ permission:
|
|
|
6
6
|
edit: allow
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## Rules to load (subagent context)
|
|
10
|
+
|
|
11
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
12
|
+
|
|
13
|
+
- `.opencode/rules/java-app-core.md`
|
|
14
|
+
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
15
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
16
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
17
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
18
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
19
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
20
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
21
|
+
- `.opencode/rules/tests-unit.md`
|
|
22
|
+
|
|
23
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
24
|
+
|
|
9
25
|
Generate `*Test.java` / `*Tests.java` from the plan. Prefer parameterized JUnit tests and port fakes/mocks (Mockito if present).
|
|
10
26
|
|
|
11
27
|
## Rules
|
|
@@ -6,6 +6,22 @@ permission:
|
|
|
6
6
|
edit: allow
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## Rules to load (subagent context)
|
|
10
|
+
|
|
11
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
12
|
+
|
|
13
|
+
- `.opencode/rules/java-app-core.md`
|
|
14
|
+
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
15
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
16
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
17
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
18
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
19
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
20
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
21
|
+
- `.opencode/rules/tests-unit.md`
|
|
22
|
+
|
|
23
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
24
|
+
|
|
9
25
|
Heal failing `mvn test` / `./gradlew test` unit failures. Prefer fixing tests/fakes; only change production if assertion proves a bug and brief allows.
|
|
10
26
|
|
|
11
27
|
Follow `tests-unit.md`. Never introduce Playwright/XCUITest.
|
|
@@ -10,6 +10,22 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/java-app-core.md`
|
|
18
|
+
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
22
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
23
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
24
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
25
|
+
- `.opencode/rules/tests-unit.md`
|
|
26
|
+
|
|
27
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
28
|
+
|
|
13
29
|
Plan **Java unit tests** (JUnit 5 `@ParameterizedTest`, AssertJ). No production edits.
|
|
14
30
|
|
|
15
31
|
## Focus
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://opencode.ai/config.json",
|
|
3
|
+
"instructions": [
|
|
4
|
+
".opencode/AGENTS.md",
|
|
5
|
+
".opencode/rules/java-app-core.md",
|
|
6
|
+
".opencode/rules/architecture-boundaries.md",
|
|
7
|
+
".opencode/rules/code-quality-and-refactoring.md",
|
|
8
|
+
".opencode/rules/ai-local-overlay.md"
|
|
9
|
+
],
|
|
10
|
+
"permission": {
|
|
11
|
+
"bash": {
|
|
12
|
+
"*": "allow",
|
|
13
|
+
"git commit *": "deny",
|
|
14
|
+
"git push *": "deny"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
3
17
|
"mcp": {
|
|
4
18
|
"context7": {
|
|
5
19
|
"type": "local",
|
|
@@ -4,8 +4,13 @@ Plain Markdown. OpenCode does **not** auto-load these files. Root `AGENTS.md`
|
|
|
4
4
|
and `.opencode/AGENTS.md` list four essential paths to Read immediately; the
|
|
5
5
|
rest are lazy-loaded when the task matches.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
Subagent tasks (`Task`/`@name`) start blank and never read these rule files;
|
|
8
|
+
the **authoritative** mechanism is the `## Rules to load (subagent context)`
|
|
9
|
+
block injected into every `.opencode/agents/*.md`. The preset also adds a
|
|
10
|
+
compact `opencode.json` `instructions` list (alwaysOn paths +
|
|
11
|
+
`.opencode/AGENTS.md`) as a hedge for the parent context, with
|
|
12
|
+
`bin/opencode-install.js` filling-if-absent on re-init; do **not** treat
|
|
13
|
+
`instructions` as the only always-on path (V2 may ignore the field).
|
|
9
14
|
|
|
10
15
|
## Essential (entry-critical)
|
|
11
16
|
|
|
@@ -21,7 +21,7 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
21
21
|
- [ ] **README:** stack `rules/README.md` core→stack mapping / catalog updated if stems added
|
|
22
22
|
- [ ] **CHANGELOG / package README:** note when public preset paths or install surface change
|
|
23
23
|
- [ ] **i18n anchors:** kept-marked Cyrillic fragments in `tests-unit.md(c)` stay consistent with their English counterparts. Run `packages/ai-rules/scripts/check-preset-i18n.sh`.
|
|
24
|
-
- [ ] **Dogfood:** run `packages/ai-rules/scripts/sync-dogfood-cursor.sh`
|
|
24
|
+
- [ ] **Dogfood:** run `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-claude.sh`, `sync-dogfood-mavis.sh`, and `sync-dogfood-opencode.sh` when those platforms changed, or document an intentional skip, when maintaining this monorepo
|
|
25
25
|
- [ ] **shared-core drift:** for embed-mode stems, run `packages/ai-rules/scripts/check-shared-core-drift.sh` (or document intentional fork)
|
|
26
26
|
|
|
27
27
|
## Pointers
|
|
@@ -31,6 +31,6 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
31
31
|
- Budget: `preset-token-budget`
|
|
32
32
|
- Leakage: `preset-no-cross-stack-leakage`
|
|
33
33
|
- Validation: stack `agents/build-verifier.md` → preset-structure section
|
|
34
|
-
- Dogfood scripts: `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-mavis.sh`, `sync-dogfood-opencode.sh`
|
|
34
|
+
- Dogfood scripts: `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-claude.sh`, `sync-dogfood-mavis.sh`, `sync-dogfood-opencode.sh`
|
|
35
35
|
- Drift script: `packages/ai-rules/scripts/check-shared-core-drift.sh`
|
|
36
36
|
- Orchestrator: when editing presets, load this checklist + twin-sync
|
|
@@ -12,7 +12,9 @@ Root `AGENTS.md` is native always-on. Read it first, then this file.
|
|
|
12
12
|
- Other rules: lazy `Read` `.opencode/rules/<stem>.md` when the task matches.
|
|
13
13
|
- Agents: native `@name` / Task from `.opencode/agents/`.
|
|
14
14
|
- Commands: native `/task` from `.opencode/commands/`.
|
|
15
|
-
- After a producer receipt, run `
|
|
15
|
+
- After a producer receipt, run the chain by hand (`projectHooks` is `manual`; this preset ships no plugin):
|
|
16
|
+
`printf '%s\n' '{"status":"completed"}' | bash .opencode/hooks/chain-team-phases.sh`.
|
|
17
|
+
Slash commands are native (`/task` from `.opencode/commands/`). Do not assume `SubagentStop` auto-chain.
|
|
16
18
|
Agents must not write lifecycle fields in `status.json` / `metrics.json`.
|
|
17
19
|
|
|
18
20
|
## Essential rules (read every turn)
|
|
@@ -22,8 +24,26 @@ Root `AGENTS.md` is native always-on. Read it first, then this file.
|
|
|
22
24
|
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
23
25
|
- `.opencode/rules/ai-local-overlay.md`
|
|
24
26
|
|
|
27
|
+
Every turn, probe `ls -la .ai.local`, then apply `.ai.local/rules/*.md` and
|
|
28
|
+
`.ai.local/conventions.md`. Acknowledge `Using .ai.local: <rule-name>`.
|
|
29
|
+
Guide: `docs/LOCAL-OVERLAY.md`. These essential rules are a prompt contract.
|
|
30
|
+
`nativeProjectRules` is `no-equivalent` — do not claim engine `alwaysApply`.
|
|
31
|
+
|
|
25
32
|
See `.opencode/rules/README.md` for the full catalog and loading strategy.
|
|
26
33
|
|
|
34
|
+
## Harness wiring
|
|
35
|
+
|
|
36
|
+
- `opencode.json` carries a compact `instructions` list (always-on rule
|
|
37
|
+
paths + `.opencode/AGENTS.md`) and a harness-level `permission.bash`
|
|
38
|
+
block. On re-init, `mergeOpencodeConfig` unions preset instruction paths
|
|
39
|
+
into the consumer list and fills missing bash keys. Extra paths and
|
|
40
|
+
same-key overrides stay.
|
|
41
|
+
- **Subagent rules** are re-declared inside every `.opencode/agents/*.md`
|
|
42
|
+
via the `## Rules to load (subagent context)` block (always-on + zone
|
|
43
|
+
rules filtered to stems that exist for this stack). `Task`-launched
|
|
44
|
+
subagents do not inherit the parent's `instructions`, so this block
|
|
45
|
+
is the authoritative mechanism.
|
|
46
|
+
|
|
27
47
|
**Platform docs:** published with the `@bonesofspring/ai-rules` package
|
|
28
48
|
(`docs/OPENCODE.md`, `docs/OPENCODE-COMPATIBILITY.md`) — **not** copied into
|
|
29
49
|
the consumer repo. Source: https://github.com/bonesofspring/ai-rules
|
|
@@ -48,4 +68,5 @@ npx @bonesofspring/ai-rules init opencode --preset mcp-ts
|
|
|
48
68
|
|
|
49
69
|
Copies rules, commands, agents, hooks, skills, `OPENCODE.md` →
|
|
50
70
|
`.opencode/AGENTS.md`, `MCP.md`, `opencode.json` → project `opencode.json`
|
|
51
|
-
(`mcp` merge
|
|
71
|
+
(`mcp` merge, instruction-path union, missing bash keys), plus
|
|
72
|
+
`REPO_AGENTS.md` → root `AGENTS.md`. Seeds `.ai.local/team/`.
|
|
@@ -72,4 +72,4 @@ A `.ai.local/` directory MAY exist at the repo root or at any nesting depth in m
|
|
|
72
72
|
|
|
73
73
|
Plain markdown rules under `.ai.local/rules/*.md` are read by the agent with higher priority than preset rules. Living gotchas live in `.ai.local/conventions.md`.
|
|
74
74
|
|
|
75
|
-
Authoring guide: `docs/LOCAL-OVERLAY.md` in the `@bonesofspring/ai-rules` package. The `ai-local-overlay` rule
|
|
75
|
+
On every turn, probe `ls -la .ai.local`, apply `.ai.local/rules/*.md` and `.ai.local/conventions.md`, and acknowledge `Using .ai.local: <rule-name>`. Authoring guide: `docs/LOCAL-OVERLAY.md` in the `@bonesofspring/ai-rules` package. The `ai-local-overlay` rule is always-on on Cursor and session-start on Claude (no `paths:`). Mavis and OpenCode have no native `alwaysApply`; this section plus the platform entry's essential-rules list is the reinforcement.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "mcp-ts",
|
|
5
5
|
"semanticSource": "cursor/mcp-ts",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "008356a19bf3609e33b39cb6a5397384b45078380661e6b944b1f86ced6aae7d",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"category": "mcp",
|
|
184
184
|
"disposition": "transform",
|
|
185
185
|
"loadMode": "manual",
|
|
186
|
-
"reason": "Cursor mcp.json → opencode.json mcp (local/remote types)"
|
|
186
|
+
"reason": "Cursor mcp.json → opencode.json mcp (local/remote types); emits permission.bash + compact instructions"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"source": "rules/agent-team-intake.mdc",
|
|
@@ -10,6 +10,23 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/mcp-ts-app-core.md`
|
|
18
|
+
- `.opencode/rules/mcp-server-boundaries.md`
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
22
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
23
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
24
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
25
|
+
- `.opencode/rules/mcp-ts-tooling.md`
|
|
26
|
+
- `.opencode/rules/post-change-test.md`
|
|
27
|
+
|
|
28
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
29
|
+
|
|
13
30
|
You are the build verifier for **TypeScript MCP servers** (and for **ai-rules preset packaging** when scope says so).
|
|
14
31
|
|
|
15
32
|
## Consumer MCP repos
|
|
@@ -6,6 +6,28 @@ permission:
|
|
|
6
6
|
edit: allow
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## Rules to load (subagent context)
|
|
10
|
+
|
|
11
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
12
|
+
|
|
13
|
+
- `.opencode/rules/mcp-ts-app-core.md`
|
|
14
|
+
- `.opencode/rules/mcp-server-boundaries.md`
|
|
15
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
16
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
17
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
18
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
19
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
20
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
21
|
+
- `.opencode/rules/mcp-tool-design.md`
|
|
22
|
+
- `.opencode/rules/mcp-contract-testing.md`
|
|
23
|
+
- `.opencode/rules/mcp-auth-secrets.md`
|
|
24
|
+
- `.opencode/rules/mcp-transport-packaging.md`
|
|
25
|
+
- `.opencode/rules/mcp-ts-conventions.md`
|
|
26
|
+
- `.opencode/rules/mcp-ts-tooling.md`
|
|
27
|
+
- `.opencode/rules/post-change-test.md`
|
|
28
|
+
|
|
29
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
30
|
+
|
|
9
31
|
Implement MCP server features following **mcp-ts** boundaries.
|
|
10
32
|
|
|
11
33
|
## Mandatory flow
|
|
@@ -10,6 +10,21 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/mcp-ts-app-core.md`
|
|
18
|
+
- `.opencode/rules/mcp-server-boundaries.md`
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
22
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
23
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
24
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
25
|
+
|
|
26
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
27
|
+
|
|
13
28
|
Review MCP diffs against `security-mcp.md` and `mcp-auth-secrets.md`.
|
|
14
29
|
|
|
15
30
|
## Focus
|
|
@@ -10,6 +10,21 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/mcp-ts-app-core.md`
|
|
18
|
+
- `.opencode/rules/mcp-server-boundaries.md`
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
22
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
23
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
24
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
25
|
+
|
|
26
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
27
|
+
|
|
13
28
|
Design MCP server changes for **mcp-ts**.
|
|
14
29
|
|
|
15
30
|
## Deliverable
|
|
@@ -10,6 +10,21 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/mcp-ts-app-core.md`
|
|
18
|
+
- `.opencode/rules/mcp-server-boundaries.md`
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
22
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
23
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
24
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
25
|
+
|
|
26
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
27
|
+
|
|
13
28
|
Analyze MCP server work requests for the **mcp-ts** preset.
|
|
14
29
|
|
|
15
30
|
## Classify first
|
|
@@ -10,6 +10,21 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/mcp-ts-app-core.md`
|
|
18
|
+
- `.opencode/rules/mcp-server-boundaries.md`
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
22
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
23
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
24
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
25
|
+
|
|
26
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
27
|
+
|
|
13
28
|
You are a task router for a **TypeScript MCP server** agent team. You **do not** implement tasks — you classify intent and plan the agent pipeline.
|
|
14
29
|
|
|
15
30
|
## Inputs
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://opencode.ai/config.json",
|
|
3
|
+
"instructions": [
|
|
4
|
+
".opencode/AGENTS.md",
|
|
5
|
+
".opencode/rules/mcp-ts-app-core.md",
|
|
6
|
+
".opencode/rules/mcp-server-boundaries.md",
|
|
7
|
+
".opencode/rules/code-quality-and-refactoring.md",
|
|
8
|
+
".opencode/rules/ai-local-overlay.md"
|
|
9
|
+
],
|
|
10
|
+
"permission": {
|
|
11
|
+
"bash": {
|
|
12
|
+
"*": "allow",
|
|
13
|
+
"git commit *": "deny",
|
|
14
|
+
"git push *": "deny"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
3
17
|
"mcp": {
|
|
4
18
|
"context7": {
|
|
5
19
|
"type": "local",
|
|
@@ -4,8 +4,13 @@ Plain Markdown. OpenCode does **not** auto-load these files. Root `AGENTS.md`
|
|
|
4
4
|
and `.opencode/AGENTS.md` list four essential paths to Read immediately; the
|
|
5
5
|
rest are lazy-loaded when the task matches.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
Subagent tasks (`Task`/`@name`) start blank and never read these rule files;
|
|
8
|
+
the **authoritative** mechanism is the `## Rules to load (subagent context)`
|
|
9
|
+
block injected into every `.opencode/agents/*.md`. The preset also adds a
|
|
10
|
+
compact `opencode.json` `instructions` list (alwaysOn paths +
|
|
11
|
+
`.opencode/AGENTS.md`) as a hedge for the parent context, with
|
|
12
|
+
`bin/opencode-install.js` filling-if-absent on re-init; do **not** treat
|
|
13
|
+
`instructions` as the only always-on path (V2 may ignore the field).
|
|
9
14
|
|
|
10
15
|
## Essential (entry-critical)
|
|
11
16
|
|
|
@@ -21,7 +21,7 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
21
21
|
- [ ] **README:** stack `rules/README.md` core→stack mapping / catalog updated if stems added
|
|
22
22
|
- [ ] **CHANGELOG / package README:** note when public preset paths or install surface change
|
|
23
23
|
- [ ] **i18n anchors:** kept-marked Cyrillic fragments in `tests-unit.md(c)` stay consistent with their English counterparts. Run `packages/ai-rules/scripts/check-preset-i18n.sh`.
|
|
24
|
-
- [ ] **Dogfood:** run `packages/ai-rules/scripts/sync-dogfood-cursor.sh`
|
|
24
|
+
- [ ] **Dogfood:** run `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-claude.sh`, `sync-dogfood-mavis.sh`, and `sync-dogfood-opencode.sh` when those platforms changed, or document an intentional skip, when maintaining this monorepo
|
|
25
25
|
- [ ] **shared-core drift:** for embed-mode stems, run `packages/ai-rules/scripts/check-shared-core-drift.sh` (or document intentional fork)
|
|
26
26
|
|
|
27
27
|
## Pointers
|
|
@@ -31,6 +31,6 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
31
31
|
- Budget: `preset-token-budget`
|
|
32
32
|
- Leakage: `preset-no-cross-stack-leakage`
|
|
33
33
|
- Validation: stack `agents/build-verifier.md` → preset-structure section
|
|
34
|
-
- Dogfood scripts: `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-mavis.sh`, `sync-dogfood-opencode.sh`
|
|
34
|
+
- Dogfood scripts: `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-claude.sh`, `sync-dogfood-mavis.sh`, `sync-dogfood-opencode.sh`
|
|
35
35
|
- Drift script: `packages/ai-rules/scripts/check-shared-core-drift.sh`
|
|
36
36
|
- Orchestrator: when editing presets, load this checklist + twin-sync
|
|
@@ -12,7 +12,9 @@ Root `AGENTS.md` is native always-on. Read it first, then this file.
|
|
|
12
12
|
- Other rules: lazy `Read` `.opencode/rules/<stem>.md` when the task matches.
|
|
13
13
|
- Agents: native `@name` / Task from `.opencode/agents/`.
|
|
14
14
|
- Commands: native `/task` from `.opencode/commands/`.
|
|
15
|
-
- After a producer receipt, run `
|
|
15
|
+
- After a producer receipt, run the chain by hand (`projectHooks` is `manual`; this preset ships no plugin):
|
|
16
|
+
`printf '%s\n' '{"status":"completed"}' | bash .opencode/hooks/chain-team-phases.sh`.
|
|
17
|
+
Slash commands are native (`/task` from `.opencode/commands/`). Do not assume `SubagentStop` auto-chain.
|
|
16
18
|
Agents must not write lifecycle fields in `status.json` / `metrics.json`.
|
|
17
19
|
|
|
18
20
|
## Essential rules (read every turn)
|
|
@@ -22,8 +24,26 @@ Root `AGENTS.md` is native always-on. Read it first, then this file.
|
|
|
22
24
|
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
23
25
|
- `.opencode/rules/ai-local-overlay.md`
|
|
24
26
|
|
|
27
|
+
Every turn, probe `ls -la .ai.local`, then apply `.ai.local/rules/*.md` and
|
|
28
|
+
`.ai.local/conventions.md`. Acknowledge `Using .ai.local: <rule-name>`.
|
|
29
|
+
Guide: `docs/LOCAL-OVERLAY.md`. These essential rules are a prompt contract.
|
|
30
|
+
`nativeProjectRules` is `no-equivalent` — do not claim engine `alwaysApply`.
|
|
31
|
+
|
|
25
32
|
See `.opencode/rules/README.md` for the full catalog and loading strategy.
|
|
26
33
|
|
|
34
|
+
## Harness wiring
|
|
35
|
+
|
|
36
|
+
- `opencode.json` carries a compact `instructions` list (always-on rule
|
|
37
|
+
paths + `.opencode/AGENTS.md`) and a harness-level `permission.bash`
|
|
38
|
+
block. On re-init, `mergeOpencodeConfig` unions preset instruction paths
|
|
39
|
+
into the consumer list and fills missing bash keys. Extra paths and
|
|
40
|
+
same-key overrides stay.
|
|
41
|
+
- **Subagent rules** are re-declared inside every `.opencode/agents/*.md`
|
|
42
|
+
via the `## Rules to load (subagent context)` block (always-on + zone
|
|
43
|
+
rules filtered to stems that exist for this stack). `Task`-launched
|
|
44
|
+
subagents do not inherit the parent's `instructions`, so this block
|
|
45
|
+
is the authoritative mechanism.
|
|
46
|
+
|
|
27
47
|
**Platform docs:** published with the `@bonesofspring/ai-rules` package
|
|
28
48
|
(`docs/OPENCODE.md`, `docs/OPENCODE-COMPATIBILITY.md`) — **not** copied into
|
|
29
49
|
the consumer repo. Source: https://github.com/bonesofspring/ai-rules
|
|
@@ -62,4 +82,5 @@ npx @bonesofspring/ai-rules init opencode --preset next
|
|
|
62
82
|
|
|
63
83
|
Copies rules, commands, agents, hooks, skills, `OPENCODE.md` →
|
|
64
84
|
`.opencode/AGENTS.md`, `MCP.md`, `opencode.json` → project `opencode.json`
|
|
65
|
-
(`mcp` merge
|
|
85
|
+
(`mcp` merge, instruction-path union, missing bash keys), plus
|
|
86
|
+
`REPO_AGENTS.md` → root `AGENTS.md`. Seeds `.ai.local/team/`.
|
|
@@ -71,4 +71,4 @@ A `.ai.local/` directory MAY exist at the repo root or at any nesting depth in m
|
|
|
71
71
|
|
|
72
72
|
Plain markdown rules under `.ai.local/rules/*.md` are read by the agent with higher priority than preset rules. Living gotchas live in `.ai.local/conventions.md`.
|
|
73
73
|
|
|
74
|
-
Authoring guide: `docs/LOCAL-OVERLAY.md` in the `@bonesofspring/ai-rules` package. The `ai-local-overlay` rule
|
|
74
|
+
On every turn, probe `ls -la .ai.local`, apply `.ai.local/rules/*.md` and `.ai.local/conventions.md`, and acknowledge `Using .ai.local: <rule-name>`. Authoring guide: `docs/LOCAL-OVERLAY.md` in the `@bonesofspring/ai-rules` package. The `ai-local-overlay` rule is always-on on Cursor and session-start on Claude (no `paths:`). Mavis and OpenCode have no native `alwaysApply`; this section plus the platform entry's essential-rules list is the reinforcement.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "next",
|
|
5
5
|
"semanticSource": "cursor/next",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "d4543a561129f18289d5c83d94038bbf7a973c57bb498f9b58c2ed37ceca3a07",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -244,6 +244,62 @@
|
|
|
244
244
|
"loadMode": "manual",
|
|
245
245
|
"reason": "Consumer-owned overlay template; seeded to .ai.local/conventions.md on init"
|
|
246
246
|
},
|
|
247
|
+
{
|
|
248
|
+
"source": "ai-local/rules-library/agent-artifacts-no-local-paths.md",
|
|
249
|
+
"target": "ai-local/rules-library/agent-artifacts-no-local-paths.md",
|
|
250
|
+
"category": "ai-local",
|
|
251
|
+
"disposition": "transform",
|
|
252
|
+
"loadMode": "manual",
|
|
253
|
+
"reason": "Consumer-owned overlay template; seeded to .ai.local/conventions.md on init"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"source": "ai-local/rules-library/commit-hygiene.md",
|
|
257
|
+
"target": "ai-local/rules-library/commit-hygiene.md",
|
|
258
|
+
"category": "ai-local",
|
|
259
|
+
"disposition": "transform",
|
|
260
|
+
"loadMode": "manual",
|
|
261
|
+
"reason": "Consumer-owned overlay template; seeded to .ai.local/conventions.md on init"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"source": "ai-local/rules-library/mcp-required-for-ui-layout.md",
|
|
265
|
+
"target": "ai-local/rules-library/mcp-required-for-ui-layout.md",
|
|
266
|
+
"category": "ai-local",
|
|
267
|
+
"disposition": "transform",
|
|
268
|
+
"loadMode": "manual",
|
|
269
|
+
"reason": "Consumer-owned overlay template; seeded to .ai.local/conventions.md on init"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"source": "ai-local/rules-library/no-test-driven-behavior-change.md",
|
|
273
|
+
"target": "ai-local/rules-library/no-test-driven-behavior-change.md",
|
|
274
|
+
"category": "ai-local",
|
|
275
|
+
"disposition": "transform",
|
|
276
|
+
"loadMode": "manual",
|
|
277
|
+
"reason": "Consumer-owned overlay template; seeded to .ai.local/conventions.md on init"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"source": "ai-local/rules-library/pre-pr-checklist.md",
|
|
281
|
+
"target": "ai-local/rules-library/pre-pr-checklist.md",
|
|
282
|
+
"category": "ai-local",
|
|
283
|
+
"disposition": "transform",
|
|
284
|
+
"loadMode": "manual",
|
|
285
|
+
"reason": "Consumer-owned overlay template; seeded to .ai.local/conventions.md on init"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"source": "ai-local/rules-library/router-pages.md",
|
|
289
|
+
"target": "ai-local/rules-library/router-pages.md",
|
|
290
|
+
"category": "ai-local",
|
|
291
|
+
"disposition": "transform",
|
|
292
|
+
"loadMode": "manual",
|
|
293
|
+
"reason": "Consumer-owned overlay template; seeded to .ai.local/conventions.md on init"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"source": "ai-local/rules-library/single-source-copy-constants.md",
|
|
297
|
+
"target": "ai-local/rules-library/single-source-copy-constants.md",
|
|
298
|
+
"category": "ai-local",
|
|
299
|
+
"disposition": "transform",
|
|
300
|
+
"loadMode": "manual",
|
|
301
|
+
"reason": "Consumer-owned overlay template; seeded to .ai.local/conventions.md on init"
|
|
302
|
+
},
|
|
247
303
|
{
|
|
248
304
|
"source": "commands/spec-start.md",
|
|
249
305
|
"target": "commands/spec-start.md",
|
|
@@ -330,7 +386,7 @@
|
|
|
330
386
|
"category": "mcp",
|
|
331
387
|
"disposition": "transform",
|
|
332
388
|
"loadMode": "manual",
|
|
333
|
-
"reason": "Cursor mcp.json → opencode.json mcp (local/remote types)"
|
|
389
|
+
"reason": "Cursor mcp.json → opencode.json mcp (local/remote types); emits permission.bash + compact instructions"
|
|
334
390
|
},
|
|
335
391
|
{
|
|
336
392
|
"source": "rules/agent-team-intake.mdc",
|
|
@@ -10,6 +10,23 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/next-app-core.md`
|
|
18
|
+
- `.opencode/rules/package-manager.md`
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
22
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
23
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
|
+
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
26
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
27
|
+
|
|
28
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
29
|
+
|
|
13
30
|
You are an accessibility reviewer for a Next.js React frontend.
|
|
14
31
|
|
|
15
32
|
## Inputs
|
|
@@ -10,6 +10,25 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/next-app-core.md`
|
|
18
|
+
- `.opencode/rules/package-manager.md`
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
22
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
23
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
|
+
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
26
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
27
|
+
- `.opencode/rules/api-services.md`
|
|
28
|
+
- `.opencode/rules/http-client.md`
|
|
29
|
+
|
|
30
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
31
|
+
|
|
13
32
|
You are an API contract reviewer for a layered Next.js frontend (`@/types`, `@/api`, store, UI).
|
|
14
33
|
|
|
15
34
|
## Inputs
|
|
@@ -10,6 +10,23 @@ permission:
|
|
|
10
10
|
|
|
11
11
|
Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
|
|
12
12
|
|
|
13
|
+
## Rules to load (subagent context)
|
|
14
|
+
|
|
15
|
+
This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
|
|
16
|
+
|
|
17
|
+
- `.opencode/rules/next-app-core.md`
|
|
18
|
+
- `.opencode/rules/package-manager.md`
|
|
19
|
+
- `.opencode/rules/code-quality-and-refactoring.md`
|
|
20
|
+
- `.opencode/rules/ai-local-overlay.md`
|
|
21
|
+
- `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
|
|
22
|
+
- `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
|
|
23
|
+
- `.opencode/rules/reference-features.md` — analog files first
|
|
24
|
+
- `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
25
|
+
- `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
|
|
26
|
+
- `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
27
|
+
|
|
28
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
29
|
+
|
|
13
30
|
You are a build verification specialist. You **validate** implementation quality before code review — you do not edit production code or tests.
|
|
14
31
|
|
|
15
32
|
**SSOT for full validation in pipeline:** run complete **`lint:js`**, **`lint:css`**, and **`type-check`** from `app/` even if feature-developer ran scoped checks.
|