@bonesofspring/ai-rules 0.2.76 → 0.2.78
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 +96 -0
- package/README.md +1 -1
- package/bin/lib/engine-scripts.js +3 -0
- package/docs/LOCAL-OVERLAY.md +4 -4
- package/docs/PRESET-CONTRIBUTION.md +15 -11
- package/docs/TEAM-DB.md +43 -8
- package/docs/ZCODE.md +1 -1
- package/package.json +6 -1
- package/presets/_shared/ai-local/scripts/aggregate-agent-task-metrics.mjs +23 -0
- package/presets/_shared/ai-local/scripts/check-verification.mjs +275 -0
- package/presets/_shared/ai-local/scripts/check-write-scope.mjs +132 -16
- package/presets/_shared/ai-local/scripts/manifest.mjs +78 -4
- package/presets/_shared/ai-local/scripts/rule-improver.mjs +366 -13
- package/presets/_shared/ai-local/scripts/run.mjs +29 -6
- package/presets/_shared/ai-local/scripts/team-db-project.mjs +208 -3
- package/presets/_shared/ai-local/scripts/team-db-schema.mjs +76 -15
- package/presets/_shared/ai-local/scripts/team-db.mjs +19 -4
- package/presets/_shared/core/agent-team/agent-artifact-contracts.md +9 -4
- package/presets/_shared/core/agent-team/task-framing.md +1 -0
- package/presets/_shared/core/architecture/feature-delivery-workflow.md +1 -1
- package/presets/_shared/core/meta/preset-layering.md +4 -4
- package/presets/_shared/core/meta/preset-pr-checklist.md +2 -1
- package/presets/_shared/core/meta/preset-twin-sync.md +12 -5
- package/presets/_shared/core/quality/self-review-and-context-hygiene.md +1 -1
- package/presets/_shared/core/quality/verification-before-completion.md +28 -4
- package/presets/_shared/core/review/code-review-mr.md +1 -0
- package/presets/_shared/core/review/receiving-code-review.md +1 -0
- package/presets/_shared/hooks/chain-team-phases.sh.tmpl +313 -26
- package/presets/claude/android-kotlin/CLAUDE.md +2 -2
- package/presets/claude/android-kotlin/REPO_AGENTS.md +8 -0
- package/presets/claude/android-kotlin/agents/README.md +4 -0
- package/presets/claude/android-kotlin/agents/accessibility-reviewer.md +1 -1
- package/presets/claude/android-kotlin/agents/api-contract-reviewer.md +1 -1
- package/presets/claude/android-kotlin/agents/build-verifier.md +2 -2
- package/presets/claude/android-kotlin/agents/ci-investigator.md +0 -1
- package/presets/claude/android-kotlin/agents/code-reviewer.md +2 -2
- package/presets/claude/android-kotlin/agents/codebase-analyzer.md +1 -1
- package/presets/claude/android-kotlin/agents/debugger.md +1 -2
- package/presets/claude/android-kotlin/agents/feature-developer.md +1 -2
- package/presets/claude/android-kotlin/agents/migration-specialist.md +1 -1
- package/presets/claude/android-kotlin/agents/mockup-reviewer.md +1 -0
- package/presets/claude/android-kotlin/agents/openspec-author.md +2 -1
- package/presets/claude/android-kotlin/agents/performance-auditor.md +1 -1
- package/presets/claude/android-kotlin/agents/qa-tester.md +0 -1
- package/presets/claude/android-kotlin/agents/security-reviewer.md +1 -1
- package/presets/claude/android-kotlin/agents/solution-architect.md +1 -1
- package/presets/claude/android-kotlin/agents/task-analyst.md +2 -2
- package/presets/claude/android-kotlin/agents/task-router.md +1 -1
- package/presets/claude/android-kotlin/agents/tech-writer.md +1 -1
- package/presets/claude/android-kotlin/agents/unit-test-generator.md +0 -1
- package/presets/claude/android-kotlin/agents/unit-test-healer.md +0 -1
- package/presets/claude/android-kotlin/agents/unit-test-planner.md +1 -1
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/android-kotlin/rules/architecture/feature-delivery.md +66 -8
- package/presets/claude/android-kotlin/rules/architecture/reference-features.md +48 -2
- package/presets/claude/android-kotlin/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/android-kotlin/rules/tooling-and-review/code-review.md +1 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/android-kotlin/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/go/CLAUDE.md +2 -2
- package/presets/claude/go/REPO_AGENTS.md +8 -0
- package/presets/claude/go/agents/README.md +4 -0
- package/presets/claude/go/agents/api-contract-reviewer.md +1 -1
- package/presets/claude/go/agents/build-verifier.md +2 -2
- package/presets/claude/go/agents/ci-investigator.md +0 -1
- package/presets/claude/go/agents/code-reviewer.md +4 -4
- package/presets/claude/go/agents/codebase-analyzer.md +1 -1
- package/presets/claude/go/agents/debugger.md +1 -2
- package/presets/claude/go/agents/feature-developer.md +3 -4
- package/presets/claude/go/agents/integration-test-generator.md +1 -2
- package/presets/claude/go/agents/integration-test-healer.md +1 -2
- package/presets/claude/go/agents/integration-test-planner.md +1 -2
- package/presets/claude/go/agents/migration-specialist.md +1 -1
- package/presets/claude/go/agents/openspec-author.md +2 -1
- package/presets/claude/go/agents/performance-auditor.md +1 -1
- package/presets/claude/go/agents/qa-tester.md +0 -1
- package/presets/claude/go/agents/security-reviewer.md +2 -2
- package/presets/claude/go/agents/solution-architect.md +1 -1
- package/presets/claude/go/agents/task-analyst.md +2 -2
- package/presets/claude/go/agents/task-router.md +1 -1
- package/presets/claude/go/agents/tech-writer.md +1 -1
- package/presets/claude/go/agents/unit-test-generator.md +1 -2
- package/presets/claude/go/agents/unit-test-healer.md +1 -2
- package/presets/claude/go/agents/unit-test-planner.md +1 -1
- package/presets/claude/go/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/go/rules/architecture/feature-delivery.md +50 -1
- package/presets/claude/go/rules/architecture/reference-features.md +22 -0
- package/presets/claude/go/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/go/rules/tooling-and-review/code-review.md +1 -0
- package/presets/claude/go/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/go/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/go/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/go/skills/feature-delivery/SKILL.md +2 -2
- package/presets/claude/go/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/go/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/ios-swift/CLAUDE.md +2 -2
- package/presets/claude/ios-swift/REPO_AGENTS.md +8 -0
- package/presets/claude/ios-swift/agents/README.md +4 -0
- package/presets/claude/ios-swift/agents/accessibility-reviewer.md +1 -1
- package/presets/claude/ios-swift/agents/api-contract-reviewer.md +1 -1
- package/presets/claude/ios-swift/agents/build-verifier.md +5 -2
- package/presets/claude/ios-swift/agents/ci-investigator.md +0 -1
- package/presets/claude/ios-swift/agents/code-reviewer.md +2 -2
- package/presets/claude/ios-swift/agents/codebase-analyzer.md +1 -1
- package/presets/claude/ios-swift/agents/debugger.md +1 -2
- package/presets/claude/ios-swift/agents/feature-developer.md +1 -2
- package/presets/claude/ios-swift/agents/migration-specialist.md +1 -1
- package/presets/claude/ios-swift/agents/mockup-reviewer.md +1 -0
- package/presets/claude/ios-swift/agents/openspec-author.md +2 -1
- package/presets/claude/ios-swift/agents/performance-auditor.md +1 -1
- package/presets/claude/ios-swift/agents/qa-tester.md +0 -1
- package/presets/claude/ios-swift/agents/security-reviewer.md +1 -1
- package/presets/claude/ios-swift/agents/solution-architect.md +1 -1
- package/presets/claude/ios-swift/agents/task-analyst.md +2 -2
- package/presets/claude/ios-swift/agents/task-router.md +1 -1
- package/presets/claude/ios-swift/agents/tech-writer.md +1 -1
- package/presets/claude/ios-swift/agents/unit-test-generator.md +0 -1
- package/presets/claude/ios-swift/agents/unit-test-healer.md +0 -1
- package/presets/claude/ios-swift/agents/unit-test-planner.md +1 -1
- package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +0 -1
- package/presets/claude/ios-swift/agents/xcuitest-test-healer.md +0 -1
- package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +0 -1
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +8 -8
- package/presets/claude/ios-swift/rules/architecture/reference-features.md +2 -21
- package/presets/claude/ios-swift/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +1 -0
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/ios-swift/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/java/CLAUDE.md +3 -3
- package/presets/claude/java/REPO_AGENTS.md +8 -0
- package/presets/claude/java/agents/README.md +4 -0
- package/presets/claude/java/agents/api-contract-reviewer.md +1 -1
- package/presets/claude/java/agents/build-verifier.md +2 -2
- package/presets/claude/java/agents/ci-investigator.md +0 -1
- package/presets/claude/java/agents/code-reviewer.md +4 -4
- package/presets/claude/java/agents/codebase-analyzer.md +1 -1
- package/presets/claude/java/agents/debugger.md +1 -2
- package/presets/claude/java/agents/feature-developer.md +3 -4
- package/presets/claude/java/agents/integration-test-generator.md +1 -2
- package/presets/claude/java/agents/integration-test-healer.md +1 -2
- package/presets/claude/java/agents/integration-test-planner.md +1 -2
- package/presets/claude/java/agents/migration-specialist.md +1 -1
- package/presets/claude/java/agents/openspec-author.md +2 -1
- package/presets/claude/java/agents/performance-auditor.md +1 -1
- package/presets/claude/java/agents/qa-tester.md +0 -1
- package/presets/claude/java/agents/security-reviewer.md +2 -2
- package/presets/claude/java/agents/solution-architect.md +1 -1
- package/presets/claude/java/agents/task-analyst.md +2 -2
- package/presets/claude/java/agents/task-router.md +1 -1
- package/presets/claude/java/agents/tech-writer.md +1 -1
- package/presets/claude/java/agents/unit-test-generator.md +1 -2
- package/presets/claude/java/agents/unit-test-healer.md +1 -2
- package/presets/claude/java/agents/unit-test-planner.md +1 -1
- package/presets/claude/java/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/java/rules/architecture/feature-delivery.md +51 -1
- package/presets/claude/java/rules/architecture/reference-features.md +22 -0
- package/presets/claude/java/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/java/rules/tooling-and-review/code-review.md +1 -0
- package/presets/claude/java/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/java/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/java/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/java/skills/feature-delivery/SKILL.md +2 -2
- package/presets/claude/java/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/mcp-ts/CLAUDE.md +2 -2
- package/presets/claude/mcp-ts/REPO_AGENTS.md +8 -0
- package/presets/claude/mcp-ts/agents/README.md +4 -0
- package/presets/claude/mcp-ts/agents/build-verifier.md +2 -2
- package/presets/claude/mcp-ts/agents/feature-developer.md +3 -4
- package/presets/claude/mcp-ts/agents/security-reviewer.md +2 -2
- package/presets/claude/mcp-ts/agents/solution-architect.md +1 -1
- package/presets/claude/mcp-ts/agents/task-analyst.md +2 -2
- package/presets/claude/mcp-ts/agents/task-router.md +1 -1
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/mcp-ts/rules/architecture/feature-delivery.md +47 -1
- package/presets/claude/mcp-ts/rules/architecture/reference-features.md +22 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +1 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/mcp-ts/skills/code-review/SKILL.md +1 -1
- package/presets/claude/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
- package/presets/claude/mcp-ts/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/mcp-ts/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/mol/CLAUDE.md +2 -2
- package/presets/claude/mol/REPO_AGENTS.md +8 -0
- package/presets/claude/mol/agents/README.md +2 -4
- package/presets/claude/mol/agents/accessibility-reviewer.md +1 -0
- package/presets/claude/mol/agents/api-contract-reviewer.md +1 -0
- package/presets/claude/mol/agents/build-verifier.md +5 -1
- package/presets/claude/mol/agents/code-reviewer.md +2 -1
- package/presets/claude/mol/agents/codebase-analyzer.md +1 -0
- package/presets/claude/mol/agents/debugger.md +1 -1
- package/presets/claude/mol/agents/feature-developer.md +1 -1
- package/presets/claude/mol/agents/migration-specialist.md +1 -0
- package/presets/claude/mol/agents/mockup-reviewer.md +1 -0
- package/presets/claude/mol/agents/openspec-author.md +1 -0
- package/presets/claude/mol/agents/performance-auditor.md +1 -0
- package/presets/claude/mol/agents/security-reviewer.md +1 -0
- package/presets/claude/mol/agents/solution-architect.md +1 -0
- package/presets/claude/mol/agents/task-analyst.md +2 -1
- package/presets/claude/mol/agents/task-router.md +1 -0
- package/presets/claude/mol/agents/tech-writer.md +1 -0
- package/presets/claude/mol/agents/unit-test-planner.md +1 -0
- package/presets/claude/mol/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/mol/rules/architecture/feature-delivery-workflow.md +10 -10
- package/presets/claude/mol/rules/architecture/reference-features.md +0 -19
- package/presets/claude/mol/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/mol/rules/tooling-and-review/code-review-mr.md +1 -0
- package/presets/claude/mol/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/mol/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/mol/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/next/CLAUDE.md +4 -4
- package/presets/claude/next/REPO_AGENTS.md +8 -0
- package/presets/claude/next/agents/README.md +4 -0
- package/presets/claude/next/agents/accessibility-reviewer.md +1 -0
- package/presets/claude/next/agents/api-contract-reviewer.md +1 -0
- package/presets/claude/next/agents/build-verifier.md +7 -1
- package/presets/claude/next/agents/code-reviewer.md +2 -1
- package/presets/claude/next/agents/codebase-analyzer.md +1 -1
- package/presets/claude/next/agents/debugger.md +1 -1
- package/presets/claude/next/agents/feature-developer.md +1 -1
- package/presets/claude/next/agents/migration-specialist.md +1 -0
- package/presets/claude/next/agents/mockup-reviewer.md +1 -0
- package/presets/claude/next/agents/openspec-author.md +1 -0
- package/presets/claude/next/agents/performance-auditor.md +1 -0
- package/presets/claude/next/agents/security-reviewer.md +1 -0
- package/presets/claude/next/agents/solution-architect.md +1 -0
- package/presets/claude/next/agents/task-analyst.md +2 -1
- package/presets/claude/next/agents/task-router.md +12 -0
- package/presets/claude/next/agents/tech-writer.md +1 -0
- package/presets/claude/next/agents/unit-test-planner.md +1 -0
- package/presets/claude/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +71 -0
- package/presets/claude/next/ai-local/rules-library/agent-pipeline-gates.md +19 -0
- package/presets/claude/next/ai-local/rules-library/analytics-events.md +18 -0
- package/presets/claude/next/ai-local/rules-library/api-contract-source.md +14 -0
- package/presets/claude/next/ai-local/rules-library/artifact-lifecycle.md +17 -0
- package/presets/claude/next/ai-local/rules-library/code-style.md +68 -0
- package/presets/claude/next/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/claude/next/ai-local/rules-library/component-child-decomposition.md +81 -0
- package/presets/claude/next/ai-local/rules-library/feature-flags-experiments.md +15 -0
- package/presets/claude/next/ai-local/rules-library/mcp-required-for-ui-layout.md +45 -0
- package/presets/claude/next/ai-local/rules-library/no-react-fc.md +46 -0
- package/presets/claude/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/claude/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/claude/next/ai-local/rules-library/pwa-service-worker.md +15 -0
- package/presets/claude/next/ai-local/rules-library/qa-test-cases.md +14 -0
- package/presets/claude/next/ai-local/rules-library/router-pages.md +25 -0
- package/presets/claude/next/ai-local/rules-library/single-source-copy-constants.md +18 -0
- package/presets/claude/next/ai-local/rules-library/storybook-catalog-structure.md +62 -0
- package/presets/claude/next/ai-local/rules-library/storybook-cleanup-temp-screenshots.md +40 -0
- package/presets/claude/next/ai-local/rules-library/storybook-csf-authoring.md +100 -0
- package/presets/claude/next/ai-local/rules-library/storybook-dev-compare-figma.md +72 -0
- package/presets/claude/next/ai-local/rules-library/storybook-keep-tests-current.md +75 -0
- package/presets/claude/next/ai-local/rules-library/storybook-modals.md +64 -0
- package/presets/claude/next/ai-local/rules-library/storybook-no-app-node-modules.md +40 -0
- package/presets/claude/next/ai-local/rules-library/storybook-ui-quality-gate.md +38 -0
- package/presets/claude/next/ai-local/rules-library/ui-change-review-gate.md +16 -0
- package/presets/claude/next/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/next/rules/architecture/feature-delivery-workflow.md +13 -13
- package/presets/claude/next/rules/architecture/reference-features.md +0 -19
- package/presets/claude/next/rules/stack/next-app-core.md +1 -1
- package/presets/claude/next/rules/tooling-and-review/ai-local-overlay.md +2 -1
- package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +1 -0
- package/presets/claude/next/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/next/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/next/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/next/team/fixtures/feature-l2-lite.json +27 -0
- package/presets/claude/nuxt/CLAUDE.md +4 -4
- package/presets/claude/nuxt/REPO_AGENTS.md +8 -0
- package/presets/claude/nuxt/agents/README.md +2 -4
- package/presets/claude/nuxt/agents/accessibility-reviewer.md +1 -0
- package/presets/claude/nuxt/agents/api-contract-reviewer.md +1 -0
- package/presets/claude/nuxt/agents/build-verifier.md +5 -1
- package/presets/claude/nuxt/agents/code-reviewer.md +2 -1
- package/presets/claude/nuxt/agents/codebase-analyzer.md +1 -1
- package/presets/claude/nuxt/agents/debugger.md +1 -1
- package/presets/claude/nuxt/agents/feature-developer.md +1 -1
- package/presets/claude/nuxt/agents/migration-specialist.md +1 -0
- package/presets/claude/nuxt/agents/mockup-reviewer.md +1 -0
- package/presets/claude/nuxt/agents/openspec-author.md +2 -1
- package/presets/claude/nuxt/agents/performance-auditor.md +1 -0
- package/presets/claude/nuxt/agents/playwright-test-generator.md +24 -68
- package/presets/claude/nuxt/agents/playwright-test-healer.md +28 -54
- package/presets/claude/nuxt/agents/playwright-test-planner.md +18 -51
- package/presets/claude/nuxt/agents/security-reviewer.md +1 -0
- package/presets/claude/nuxt/agents/solution-architect.md +1 -0
- package/presets/claude/nuxt/agents/task-analyst.md +13 -1
- package/presets/claude/nuxt/agents/task-router.md +1 -0
- package/presets/claude/nuxt/agents/tech-writer.md +1 -0
- package/presets/claude/nuxt/agents/unit-test-planner.md +1 -0
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/nuxt/rules/architecture/feature-delivery-workflow.md +9 -9
- package/presets/claude/nuxt/rules/architecture/reference-features.md +1 -20
- package/presets/claude/nuxt/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +1 -0
- package/presets/claude/nuxt/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/nuxt/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/nuxt/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/nuxt/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/php-hexagonal/CLAUDE.md +3 -3
- package/presets/claude/php-hexagonal/REPO_AGENTS.md +8 -0
- package/presets/claude/php-hexagonal/agents/README.md +4 -0
- package/presets/claude/php-hexagonal/agents/api-contract-reviewer.md +1 -1
- package/presets/claude/php-hexagonal/agents/build-verifier.md +2 -2
- package/presets/claude/php-hexagonal/agents/ci-investigator.md +0 -1
- package/presets/claude/php-hexagonal/agents/code-reviewer.md +4 -4
- package/presets/claude/php-hexagonal/agents/codebase-analyzer.md +1 -1
- package/presets/claude/php-hexagonal/agents/debugger.md +1 -2
- package/presets/claude/php-hexagonal/agents/feature-developer.md +3 -4
- package/presets/claude/php-hexagonal/agents/integration-test-generator.md +1 -2
- package/presets/claude/php-hexagonal/agents/integration-test-healer.md +1 -2
- package/presets/claude/php-hexagonal/agents/integration-test-planner.md +1 -2
- package/presets/claude/php-hexagonal/agents/migration-specialist.md +1 -1
- package/presets/claude/php-hexagonal/agents/openspec-author.md +2 -1
- package/presets/claude/php-hexagonal/agents/performance-auditor.md +1 -1
- package/presets/claude/php-hexagonal/agents/qa-tester.md +0 -1
- package/presets/claude/php-hexagonal/agents/security-reviewer.md +2 -2
- package/presets/claude/php-hexagonal/agents/solution-architect.md +1 -1
- package/presets/claude/php-hexagonal/agents/task-analyst.md +2 -2
- package/presets/claude/php-hexagonal/agents/task-router.md +1 -1
- package/presets/claude/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/claude/php-hexagonal/agents/unit-test-generator.md +1 -2
- package/presets/claude/php-hexagonal/agents/unit-test-healer.md +1 -2
- package/presets/claude/php-hexagonal/agents/unit-test-planner.md +1 -1
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/php-hexagonal/rules/architecture/feature-delivery.md +51 -1
- package/presets/claude/php-hexagonal/rules/architecture/reference-features.md +25 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +1 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
- package/presets/claude/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/php-laravel/CLAUDE.md +2 -2
- package/presets/claude/php-laravel/REPO_AGENTS.md +8 -0
- package/presets/claude/php-laravel/agents/README.md +4 -0
- package/presets/claude/php-laravel/agents/api-contract-reviewer.md +1 -1
- package/presets/claude/php-laravel/agents/build-verifier.md +2 -2
- package/presets/claude/php-laravel/agents/ci-investigator.md +0 -1
- package/presets/claude/php-laravel/agents/code-reviewer.md +2 -2
- package/presets/claude/php-laravel/agents/codebase-analyzer.md +1 -1
- package/presets/claude/php-laravel/agents/debugger.md +1 -2
- package/presets/claude/php-laravel/agents/feature-developer.md +3 -4
- package/presets/claude/php-laravel/agents/integration-test-generator.md +1 -2
- package/presets/claude/php-laravel/agents/integration-test-healer.md +1 -2
- package/presets/claude/php-laravel/agents/integration-test-planner.md +1 -2
- package/presets/claude/php-laravel/agents/migration-specialist.md +1 -1
- package/presets/claude/php-laravel/agents/openspec-author.md +2 -1
- package/presets/claude/php-laravel/agents/performance-auditor.md +1 -1
- package/presets/claude/php-laravel/agents/qa-tester.md +0 -1
- package/presets/claude/php-laravel/agents/security-reviewer.md +1 -1
- package/presets/claude/php-laravel/agents/solution-architect.md +1 -1
- package/presets/claude/php-laravel/agents/task-analyst.md +2 -2
- package/presets/claude/php-laravel/agents/task-router.md +1 -1
- package/presets/claude/php-laravel/agents/tech-writer.md +1 -1
- package/presets/claude/php-laravel/agents/unit-test-generator.md +1 -2
- package/presets/claude/php-laravel/agents/unit-test-healer.md +1 -2
- package/presets/claude/php-laravel/agents/unit-test-planner.md +1 -1
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/php-laravel/rules/architecture/feature-delivery.md +54 -1
- package/presets/claude/php-laravel/rules/architecture/reference-features.md +27 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +1 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/php-laravel/skills/feature-delivery/SKILL.md +2 -2
- package/presets/claude/php-laravel/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/svelte/CLAUDE.md +4 -4
- package/presets/claude/svelte/REPO_AGENTS.md +8 -0
- package/presets/claude/svelte/agents/README.md +2 -4
- package/presets/claude/svelte/agents/accessibility-reviewer.md +1 -0
- package/presets/claude/svelte/agents/api-contract-reviewer.md +1 -0
- package/presets/claude/svelte/agents/build-verifier.md +5 -1
- package/presets/claude/svelte/agents/code-reviewer.md +2 -1
- package/presets/claude/svelte/agents/codebase-analyzer.md +1 -1
- package/presets/claude/svelte/agents/debugger.md +1 -1
- package/presets/claude/svelte/agents/feature-developer.md +1 -1
- package/presets/claude/svelte/agents/migration-specialist.md +1 -0
- package/presets/claude/svelte/agents/mockup-reviewer.md +1 -0
- package/presets/claude/svelte/agents/openspec-author.md +2 -1
- package/presets/claude/svelte/agents/performance-auditor.md +1 -0
- package/presets/claude/svelte/agents/playwright-test-generator.md +24 -68
- package/presets/claude/svelte/agents/playwright-test-healer.md +28 -54
- package/presets/claude/svelte/agents/playwright-test-planner.md +18 -51
- package/presets/claude/svelte/agents/security-reviewer.md +1 -0
- package/presets/claude/svelte/agents/solution-architect.md +1 -0
- package/presets/claude/svelte/agents/task-analyst.md +13 -1
- package/presets/claude/svelte/agents/task-router.md +1 -1
- package/presets/claude/svelte/agents/tech-writer.md +1 -0
- package/presets/claude/svelte/agents/unit-test-planner.md +1 -0
- package/presets/claude/svelte/hooks/chain-team-phases.sh +313 -26
- package/presets/claude/svelte/rules/architecture/feature-delivery-workflow.md +7 -7
- package/presets/claude/svelte/rules/architecture/reference-features.md +1 -20
- package/presets/claude/svelte/rules/tooling-and-review/ai-local-overlay.md +1 -1
- package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +1 -0
- package/presets/claude/svelte/rules/tooling-and-review/preset-layering.md +4 -4
- package/presets/claude/svelte/rules/tooling-and-review/preset-pr-checklist.md +2 -1
- package/presets/claude/svelte/rules/tooling-and-review/preset-twin-sync.md +12 -5
- package/presets/claude/svelte/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/android-kotlin/REPO_AGENTS.md +8 -0
- package/presets/cursor/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/cursor/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/cursor/android-kotlin/agents/debugger.md +1 -1
- package/presets/cursor/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/cursor/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +17 -5
- package/presets/cursor/android-kotlin/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/android-kotlin/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/android-kotlin/rules/feature-delivery-workflow.mdc +66 -8
- package/presets/cursor/android-kotlin/rules/preset-layering.mdc +4 -4
- package/presets/cursor/android-kotlin/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/android-kotlin/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/android-kotlin/rules/reference-features.mdc +48 -2
- package/presets/cursor/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/android-kotlin/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/go/REPO_AGENTS.md +8 -0
- package/presets/cursor/go/agents/build-verifier.md +1 -1
- package/presets/cursor/go/agents/code-reviewer.md +1 -1
- package/presets/cursor/go/agents/debugger.md +1 -1
- package/presets/cursor/go/agents/feature-developer.md +1 -1
- package/presets/cursor/go/agents/task-analyst.md +1 -1
- package/presets/cursor/go/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/go/rules/agent-team-orchestrator.mdc +16 -5
- package/presets/cursor/go/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/go/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/go/rules/feature-delivery-workflow.mdc +63 -5
- package/presets/cursor/go/rules/preset-layering.mdc +4 -4
- package/presets/cursor/go/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/go/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/go/rules/reference-features.mdc +46 -6
- package/presets/cursor/go/skills/feature-delivery/SKILL.md +2 -2
- package/presets/cursor/go/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/go/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/ios-swift/REPO_AGENTS.md +8 -0
- package/presets/cursor/ios-swift/agents/build-verifier.md +4 -1
- package/presets/cursor/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/cursor/ios-swift/agents/debugger.md +1 -1
- package/presets/cursor/ios-swift/agents/feature-developer.md +1 -1
- package/presets/cursor/ios-swift/agents/task-analyst.md +1 -1
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +17 -5
- package/presets/cursor/ios-swift/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/ios-swift/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/ios-swift/rules/feature-delivery-workflow.mdc +64 -8
- package/presets/cursor/ios-swift/rules/preset-layering.mdc +4 -4
- package/presets/cursor/ios-swift/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/ios-swift/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/ios-swift/rules/reference-features.mdc +44 -21
- package/presets/cursor/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/ios-swift/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/java/AGENTS.md +1 -1
- package/presets/cursor/java/REPO_AGENTS.md +8 -0
- package/presets/cursor/java/agents/build-verifier.md +1 -1
- package/presets/cursor/java/agents/code-reviewer.md +1 -1
- package/presets/cursor/java/agents/debugger.md +1 -1
- package/presets/cursor/java/agents/feature-developer.md +1 -1
- package/presets/cursor/java/agents/task-analyst.md +1 -1
- package/presets/cursor/java/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/java/rules/agent-team-orchestrator.mdc +16 -5
- package/presets/cursor/java/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/java/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/java/rules/feature-delivery-workflow.mdc +63 -5
- package/presets/cursor/java/rules/preset-layering.mdc +4 -4
- package/presets/cursor/java/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/java/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/java/rules/reference-features.mdc +46 -6
- package/presets/cursor/java/skills/feature-delivery/SKILL.md +2 -2
- package/presets/cursor/java/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/mcp-ts/REPO_AGENTS.md +8 -0
- package/presets/cursor/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/cursor/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/cursor/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +17 -6
- package/presets/cursor/mcp-ts/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/mcp-ts/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/mcp-ts/rules/feature-delivery-workflow.mdc +63 -5
- package/presets/cursor/mcp-ts/rules/preset-layering.mdc +4 -4
- package/presets/cursor/mcp-ts/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/mcp-ts/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/mcp-ts/rules/reference-features.mdc +46 -6
- package/presets/cursor/mcp-ts/skills/code-review/SKILL.md +1 -1
- package/presets/cursor/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
- package/presets/cursor/mcp-ts/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/mcp-ts/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/mol/REPO_AGENTS.md +8 -0
- package/presets/cursor/mol/agents/build-verifier.md +4 -1
- package/presets/cursor/mol/agents/code-reviewer.md +1 -1
- package/presets/cursor/mol/agents/debugger.md +1 -1
- package/presets/cursor/mol/agents/feature-developer.md +1 -1
- package/presets/cursor/mol/agents/task-analyst.md +1 -1
- package/presets/cursor/mol/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/mol/rules/agent-team-orchestrator.mdc +16 -5
- package/presets/cursor/mol/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/mol/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/mol/rules/feature-delivery-workflow.mdc +65 -9
- package/presets/cursor/mol/rules/preset-layering.mdc +4 -4
- package/presets/cursor/mol/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/mol/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/mol/rules/reference-features.mdc +43 -20
- package/presets/cursor/next/README.md +2 -2
- package/presets/cursor/next/REPO_AGENTS.md +8 -0
- package/presets/cursor/next/agents/build-verifier.md +6 -1
- package/presets/cursor/next/agents/code-reviewer.md +1 -1
- package/presets/cursor/next/agents/debugger.md +1 -1
- package/presets/cursor/next/agents/feature-developer.md +1 -1
- package/presets/cursor/next/agents/task-analyst.md +1 -1
- package/presets/cursor/next/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/next/rules/README.md +2 -2
- package/presets/cursor/next/rules/agent-team-orchestrator.mdc +16 -5
- package/presets/cursor/next/rules/ai-local-overlay.mdc +2 -1
- package/presets/cursor/next/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/next/rules/feature-delivery-workflow.mdc +68 -12
- package/presets/cursor/next/rules/next-app-core.mdc +1 -1
- package/presets/cursor/next/rules/preset-layering.mdc +4 -4
- package/presets/cursor/next/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/next/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/next/rules/reference-features.mdc +42 -19
- package/presets/cursor/nuxt/REPO_AGENTS.md +8 -0
- package/presets/cursor/nuxt/agents/build-verifier.md +4 -1
- package/presets/cursor/nuxt/agents/code-reviewer.md +1 -1
- package/presets/cursor/nuxt/agents/debugger.md +1 -1
- package/presets/cursor/nuxt/agents/feature-developer.md +1 -1
- package/presets/cursor/nuxt/agents/task-analyst.md +1 -1
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/nuxt/rules/README.md +2 -2
- package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +16 -5
- package/presets/cursor/nuxt/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/nuxt/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/nuxt/rules/feature-delivery-workflow.mdc +64 -8
- package/presets/cursor/nuxt/rules/preset-layering.mdc +4 -4
- package/presets/cursor/nuxt/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/nuxt/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/nuxt/rules/reference-features.mdc +37 -14
- package/presets/cursor/nuxt/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/php-hexagonal/AGENTS.md +1 -1
- package/presets/cursor/php-hexagonal/REPO_AGENTS.md +8 -0
- package/presets/cursor/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/cursor/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/cursor/php-hexagonal/agents/debugger.md +1 -1
- package/presets/cursor/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/cursor/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +16 -5
- package/presets/cursor/php-hexagonal/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/php-hexagonal/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/php-hexagonal/rules/feature-delivery-workflow.mdc +63 -5
- package/presets/cursor/php-hexagonal/rules/preset-layering.mdc +4 -4
- package/presets/cursor/php-hexagonal/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/php-hexagonal/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/php-hexagonal/rules/reference-features.mdc +46 -6
- package/presets/cursor/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
- package/presets/cursor/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/php-laravel/AGENTS.md +1 -1
- package/presets/cursor/php-laravel/REPO_AGENTS.md +8 -0
- package/presets/cursor/php-laravel/agents/build-verifier.md +1 -1
- package/presets/cursor/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/cursor/php-laravel/agents/debugger.md +1 -1
- package/presets/cursor/php-laravel/agents/feature-developer.md +1 -1
- package/presets/cursor/php-laravel/agents/task-analyst.md +1 -1
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +16 -5
- package/presets/cursor/php-laravel/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/php-laravel/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/php-laravel/rules/feature-delivery-workflow.mdc +63 -5
- package/presets/cursor/php-laravel/rules/preset-layering.mdc +4 -4
- package/presets/cursor/php-laravel/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/php-laravel/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/php-laravel/rules/reference-features.mdc +46 -6
- package/presets/cursor/php-laravel/skills/feature-delivery/SKILL.md +2 -2
- package/presets/cursor/php-laravel/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/svelte/REPO_AGENTS.md +8 -0
- package/presets/cursor/svelte/agents/build-verifier.md +4 -1
- package/presets/cursor/svelte/agents/code-reviewer.md +1 -1
- package/presets/cursor/svelte/agents/debugger.md +1 -1
- package/presets/cursor/svelte/agents/feature-developer.md +1 -1
- package/presets/cursor/svelte/agents/task-analyst.md +1 -1
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +313 -26
- package/presets/cursor/svelte/rules/README.md +1 -1
- package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +16 -5
- package/presets/cursor/svelte/rules/ai-local-overlay.mdc +1 -1
- package/presets/cursor/svelte/rules/code-review-mr.mdc +1 -0
- package/presets/cursor/svelte/rules/feature-delivery-workflow.mdc +62 -6
- package/presets/cursor/svelte/rules/preset-layering.mdc +4 -4
- package/presets/cursor/svelte/rules/preset-pr-checklist.mdc +2 -1
- package/presets/cursor/svelte/rules/preset-twin-sync.mdc +12 -5
- package/presets/cursor/svelte/rules/reference-features.mdc +40 -17
- package/presets/cursor/svelte/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/android-kotlin/REPO_AGENTS.md +8 -0
- package/presets/mavis/android-kotlin/adapter-map.json +11 -2
- package/presets/mavis/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/mavis/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/mavis/android-kotlin/agents/debugger.md +1 -1
- package/presets/mavis/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/mavis/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/android-kotlin/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/android-kotlin/rules/code-review-mr.md +1 -0
- package/presets/mavis/android-kotlin/rules/feature-delivery-workflow.md +66 -8
- package/presets/mavis/android-kotlin/rules/preset-layering.md +4 -4
- package/presets/mavis/android-kotlin/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/android-kotlin/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/android-kotlin/rules/reference-features.md +48 -2
- package/presets/mavis/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/android-kotlin/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/go/REPO_AGENTS.md +8 -0
- package/presets/mavis/go/adapter-map.json +9 -1
- package/presets/mavis/go/agents/build-verifier.md +1 -1
- package/presets/mavis/go/agents/code-reviewer.md +1 -1
- package/presets/mavis/go/agents/debugger.md +1 -1
- package/presets/mavis/go/agents/feature-developer.md +1 -1
- package/presets/mavis/go/agents/task-analyst.md +1 -1
- package/presets/mavis/go/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/go/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/go/rules/code-review-mr.md +1 -0
- package/presets/mavis/go/rules/feature-delivery-workflow.md +50 -1
- package/presets/mavis/go/rules/preset-layering.md +4 -4
- package/presets/mavis/go/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/go/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/go/rules/reference-features.md +22 -0
- package/presets/mavis/go/skills/feature-delivery/SKILL.md +2 -2
- package/presets/mavis/go/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/go/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/ios-swift/REPO_AGENTS.md +8 -0
- package/presets/mavis/ios-swift/adapter-map.json +9 -1
- package/presets/mavis/ios-swift/agents/build-verifier.md +4 -1
- package/presets/mavis/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/mavis/ios-swift/agents/debugger.md +1 -1
- package/presets/mavis/ios-swift/agents/feature-developer.md +1 -1
- package/presets/mavis/ios-swift/agents/task-analyst.md +1 -1
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/ios-swift/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/ios-swift/rules/code-review-mr.md +1 -0
- package/presets/mavis/ios-swift/rules/feature-delivery-workflow.md +8 -8
- package/presets/mavis/ios-swift/rules/preset-layering.md +4 -4
- package/presets/mavis/ios-swift/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/ios-swift/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/ios-swift/rules/reference-features.md +2 -21
- package/presets/mavis/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/ios-swift/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/java/MAVIS.md +1 -1
- package/presets/mavis/java/REPO_AGENTS.md +8 -0
- package/presets/mavis/java/adapter-map.json +9 -1
- package/presets/mavis/java/agents/build-verifier.md +1 -1
- package/presets/mavis/java/agents/code-reviewer.md +1 -1
- package/presets/mavis/java/agents/debugger.md +1 -1
- package/presets/mavis/java/agents/feature-developer.md +1 -1
- package/presets/mavis/java/agents/task-analyst.md +1 -1
- package/presets/mavis/java/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/java/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/java/rules/code-review-mr.md +1 -0
- package/presets/mavis/java/rules/feature-delivery-workflow.md +51 -1
- package/presets/mavis/java/rules/preset-layering.md +4 -4
- package/presets/mavis/java/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/java/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/java/rules/reference-features.md +22 -0
- package/presets/mavis/java/skills/feature-delivery/SKILL.md +2 -2
- package/presets/mavis/java/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/mcp-ts/REPO_AGENTS.md +8 -0
- package/presets/mavis/mcp-ts/adapter-map.json +9 -1
- package/presets/mavis/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/mavis/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/mavis/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/mcp-ts/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/mcp-ts/rules/code-review-mr.md +1 -0
- package/presets/mavis/mcp-ts/rules/feature-delivery-workflow.md +47 -1
- package/presets/mavis/mcp-ts/rules/preset-layering.md +4 -4
- package/presets/mavis/mcp-ts/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/mcp-ts/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/mcp-ts/rules/reference-features.md +22 -0
- package/presets/mavis/mcp-ts/skills/code-review/SKILL.md +1 -1
- package/presets/mavis/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
- package/presets/mavis/mcp-ts/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/mcp-ts/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/mol/REPO_AGENTS.md +8 -0
- package/presets/mavis/mol/adapter-map.json +1 -1
- package/presets/mavis/mol/agents/build-verifier.md +4 -1
- package/presets/mavis/mol/agents/code-reviewer.md +1 -1
- package/presets/mavis/mol/agents/debugger.md +1 -1
- package/presets/mavis/mol/agents/feature-developer.md +1 -1
- package/presets/mavis/mol/agents/task-analyst.md +1 -1
- package/presets/mavis/mol/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/mol/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/mol/rules/code-review-mr.md +1 -0
- package/presets/mavis/mol/rules/feature-delivery-workflow.md +10 -10
- package/presets/mavis/mol/rules/preset-layering.md +4 -4
- package/presets/mavis/mol/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/mol/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/mol/rules/reference-features.md +0 -19
- package/presets/mavis/next/REPO_AGENTS.md +8 -0
- package/presets/mavis/next/adapter-map.json +1 -1
- package/presets/mavis/next/agents/build-verifier.md +6 -1
- package/presets/mavis/next/agents/code-reviewer.md +1 -1
- package/presets/mavis/next/agents/debugger.md +1 -1
- package/presets/mavis/next/agents/feature-developer.md +1 -1
- package/presets/mavis/next/agents/task-analyst.md +1 -1
- package/presets/mavis/next/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/next/rules/ai-local-overlay.md +2 -1
- package/presets/mavis/next/rules/code-review-mr.md +1 -0
- package/presets/mavis/next/rules/feature-delivery-workflow.md +13 -13
- package/presets/mavis/next/rules/next-app-core.md +1 -1
- package/presets/mavis/next/rules/preset-layering.md +4 -4
- package/presets/mavis/next/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/next/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/next/rules/reference-features.md +0 -19
- package/presets/mavis/nuxt/REPO_AGENTS.md +8 -0
- package/presets/mavis/nuxt/adapter-map.json +9 -1
- package/presets/mavis/nuxt/agents/build-verifier.md +4 -1
- package/presets/mavis/nuxt/agents/code-reviewer.md +1 -1
- package/presets/mavis/nuxt/agents/debugger.md +1 -1
- package/presets/mavis/nuxt/agents/feature-developer.md +1 -1
- package/presets/mavis/nuxt/agents/task-analyst.md +1 -1
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/nuxt/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/nuxt/rules/code-review-mr.md +1 -0
- package/presets/mavis/nuxt/rules/feature-delivery-workflow.md +9 -9
- package/presets/mavis/nuxt/rules/preset-layering.md +4 -4
- package/presets/mavis/nuxt/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/nuxt/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/nuxt/rules/reference-features.md +1 -20
- package/presets/mavis/nuxt/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/php-hexagonal/MAVIS.md +1 -1
- package/presets/mavis/php-hexagonal/REPO_AGENTS.md +8 -0
- package/presets/mavis/php-hexagonal/adapter-map.json +9 -1
- package/presets/mavis/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/mavis/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/mavis/php-hexagonal/agents/debugger.md +1 -1
- package/presets/mavis/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/mavis/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/php-hexagonal/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/php-hexagonal/rules/code-review-mr.md +1 -0
- package/presets/mavis/php-hexagonal/rules/feature-delivery-workflow.md +51 -1
- package/presets/mavis/php-hexagonal/rules/preset-layering.md +4 -4
- package/presets/mavis/php-hexagonal/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/php-hexagonal/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/php-hexagonal/rules/reference-features.md +25 -0
- package/presets/mavis/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
- package/presets/mavis/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/php-laravel/MAVIS.md +1 -1
- package/presets/mavis/php-laravel/REPO_AGENTS.md +8 -0
- package/presets/mavis/php-laravel/adapter-map.json +9 -1
- package/presets/mavis/php-laravel/agents/build-verifier.md +1 -1
- package/presets/mavis/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/mavis/php-laravel/agents/debugger.md +1 -1
- package/presets/mavis/php-laravel/agents/feature-developer.md +1 -1
- package/presets/mavis/php-laravel/agents/task-analyst.md +1 -1
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/php-laravel/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/php-laravel/rules/code-review-mr.md +1 -0
- package/presets/mavis/php-laravel/rules/feature-delivery-workflow.md +54 -1
- package/presets/mavis/php-laravel/rules/preset-layering.md +4 -4
- package/presets/mavis/php-laravel/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/php-laravel/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/php-laravel/rules/reference-features.md +27 -0
- package/presets/mavis/php-laravel/skills/feature-delivery/SKILL.md +2 -2
- package/presets/mavis/php-laravel/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/svelte/REPO_AGENTS.md +8 -0
- package/presets/mavis/svelte/adapter-map.json +9 -1
- package/presets/mavis/svelte/agents/build-verifier.md +4 -1
- package/presets/mavis/svelte/agents/code-reviewer.md +1 -1
- package/presets/mavis/svelte/agents/debugger.md +1 -1
- package/presets/mavis/svelte/agents/feature-developer.md +1 -1
- package/presets/mavis/svelte/agents/task-analyst.md +1 -1
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +313 -26
- package/presets/mavis/svelte/rules/ai-local-overlay.md +1 -1
- package/presets/mavis/svelte/rules/code-review-mr.md +1 -0
- package/presets/mavis/svelte/rules/feature-delivery-workflow.md +7 -7
- package/presets/mavis/svelte/rules/preset-layering.md +4 -4
- package/presets/mavis/svelte/rules/preset-pr-checklist.md +2 -1
- package/presets/mavis/svelte/rules/preset-twin-sync.md +12 -5
- package/presets/mavis/svelte/rules/reference-features.md +1 -20
- package/presets/mavis/svelte/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/android-kotlin/REPO_AGENTS.md +8 -0
- package/presets/opencode/android-kotlin/adapter-map.json +11 -2
- package/presets/opencode/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/opencode/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/opencode/android-kotlin/agents/debugger.md +1 -1
- package/presets/opencode/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/opencode/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/android-kotlin/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/android-kotlin/rules/code-review-mr.md +1 -0
- package/presets/opencode/android-kotlin/rules/feature-delivery-workflow.md +66 -8
- package/presets/opencode/android-kotlin/rules/preset-layering.md +4 -4
- package/presets/opencode/android-kotlin/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/android-kotlin/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/android-kotlin/rules/reference-features.md +48 -2
- package/presets/opencode/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/android-kotlin/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/go/REPO_AGENTS.md +8 -0
- package/presets/opencode/go/adapter-map.json +9 -1
- package/presets/opencode/go/agents/build-verifier.md +1 -1
- package/presets/opencode/go/agents/code-reviewer.md +1 -1
- package/presets/opencode/go/agents/debugger.md +1 -1
- package/presets/opencode/go/agents/feature-developer.md +1 -1
- package/presets/opencode/go/agents/task-analyst.md +1 -1
- package/presets/opencode/go/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/go/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/go/rules/code-review-mr.md +1 -0
- package/presets/opencode/go/rules/feature-delivery-workflow.md +50 -1
- package/presets/opencode/go/rules/preset-layering.md +4 -4
- package/presets/opencode/go/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/go/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/go/rules/reference-features.md +22 -0
- package/presets/opencode/go/skills/feature-delivery/SKILL.md +2 -2
- package/presets/opencode/go/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/go/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/ios-swift/REPO_AGENTS.md +8 -0
- package/presets/opencode/ios-swift/adapter-map.json +9 -1
- package/presets/opencode/ios-swift/agents/build-verifier.md +4 -1
- package/presets/opencode/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/opencode/ios-swift/agents/debugger.md +1 -1
- package/presets/opencode/ios-swift/agents/feature-developer.md +1 -1
- package/presets/opencode/ios-swift/agents/task-analyst.md +1 -1
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/ios-swift/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/ios-swift/rules/code-review-mr.md +1 -0
- package/presets/opencode/ios-swift/rules/feature-delivery-workflow.md +8 -8
- package/presets/opencode/ios-swift/rules/preset-layering.md +4 -4
- package/presets/opencode/ios-swift/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/ios-swift/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/ios-swift/rules/reference-features.md +2 -21
- package/presets/opencode/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/ios-swift/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/java/OPENCODE.md +1 -1
- package/presets/opencode/java/REPO_AGENTS.md +8 -0
- package/presets/opencode/java/adapter-map.json +9 -1
- package/presets/opencode/java/agents/build-verifier.md +1 -1
- package/presets/opencode/java/agents/code-reviewer.md +1 -1
- package/presets/opencode/java/agents/debugger.md +1 -1
- package/presets/opencode/java/agents/feature-developer.md +1 -1
- package/presets/opencode/java/agents/task-analyst.md +1 -1
- package/presets/opencode/java/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/java/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/java/rules/code-review-mr.md +1 -0
- package/presets/opencode/java/rules/feature-delivery-workflow.md +51 -1
- package/presets/opencode/java/rules/preset-layering.md +4 -4
- package/presets/opencode/java/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/java/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/java/rules/reference-features.md +22 -0
- package/presets/opencode/java/skills/feature-delivery/SKILL.md +2 -2
- package/presets/opencode/java/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/mcp-ts/REPO_AGENTS.md +8 -0
- package/presets/opencode/mcp-ts/adapter-map.json +9 -1
- package/presets/opencode/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/opencode/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/opencode/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/mcp-ts/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/mcp-ts/rules/code-review-mr.md +1 -0
- package/presets/opencode/mcp-ts/rules/feature-delivery-workflow.md +47 -1
- package/presets/opencode/mcp-ts/rules/preset-layering.md +4 -4
- package/presets/opencode/mcp-ts/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/mcp-ts/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/mcp-ts/rules/reference-features.md +22 -0
- package/presets/opencode/mcp-ts/skills/code-review/SKILL.md +1 -1
- package/presets/opencode/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
- package/presets/opencode/mcp-ts/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/mcp-ts/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/mol/REPO_AGENTS.md +8 -0
- package/presets/opencode/mol/adapter-map.json +1 -1
- package/presets/opencode/mol/agents/build-verifier.md +4 -1
- package/presets/opencode/mol/agents/code-reviewer.md +1 -1
- package/presets/opencode/mol/agents/debugger.md +1 -1
- package/presets/opencode/mol/agents/feature-developer.md +1 -1
- package/presets/opencode/mol/agents/task-analyst.md +1 -1
- package/presets/opencode/mol/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/mol/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/mol/rules/code-review-mr.md +1 -0
- package/presets/opencode/mol/rules/feature-delivery-workflow.md +10 -10
- package/presets/opencode/mol/rules/preset-layering.md +4 -4
- package/presets/opencode/mol/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/mol/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/mol/rules/reference-features.md +0 -19
- package/presets/opencode/next/REPO_AGENTS.md +8 -0
- package/presets/opencode/next/adapter-map.json +1 -1
- package/presets/opencode/next/agents/build-verifier.md +6 -1
- package/presets/opencode/next/agents/code-reviewer.md +1 -1
- package/presets/opencode/next/agents/debugger.md +1 -1
- package/presets/opencode/next/agents/feature-developer.md +1 -1
- package/presets/opencode/next/agents/task-analyst.md +1 -1
- package/presets/opencode/next/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/next/rules/ai-local-overlay.md +2 -1
- package/presets/opencode/next/rules/code-review-mr.md +1 -0
- package/presets/opencode/next/rules/feature-delivery-workflow.md +13 -13
- package/presets/opencode/next/rules/next-app-core.md +1 -1
- package/presets/opencode/next/rules/preset-layering.md +4 -4
- package/presets/opencode/next/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/next/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/next/rules/reference-features.md +0 -19
- package/presets/opencode/nuxt/REPO_AGENTS.md +8 -0
- package/presets/opencode/nuxt/adapter-map.json +9 -1
- package/presets/opencode/nuxt/agents/build-verifier.md +4 -1
- package/presets/opencode/nuxt/agents/code-reviewer.md +1 -1
- package/presets/opencode/nuxt/agents/debugger.md +1 -1
- package/presets/opencode/nuxt/agents/feature-developer.md +1 -1
- package/presets/opencode/nuxt/agents/task-analyst.md +1 -1
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/nuxt/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/nuxt/rules/code-review-mr.md +1 -0
- package/presets/opencode/nuxt/rules/feature-delivery-workflow.md +9 -9
- package/presets/opencode/nuxt/rules/preset-layering.md +4 -4
- package/presets/opencode/nuxt/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/nuxt/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/nuxt/rules/reference-features.md +1 -20
- package/presets/opencode/nuxt/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/php-hexagonal/OPENCODE.md +1 -1
- package/presets/opencode/php-hexagonal/REPO_AGENTS.md +8 -0
- package/presets/opencode/php-hexagonal/adapter-map.json +9 -1
- package/presets/opencode/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/opencode/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/debugger.md +1 -1
- package/presets/opencode/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/opencode/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/php-hexagonal/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/php-hexagonal/rules/code-review-mr.md +1 -0
- package/presets/opencode/php-hexagonal/rules/feature-delivery-workflow.md +51 -1
- package/presets/opencode/php-hexagonal/rules/preset-layering.md +4 -4
- package/presets/opencode/php-hexagonal/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/php-hexagonal/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/php-hexagonal/rules/reference-features.md +25 -0
- package/presets/opencode/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
- package/presets/opencode/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/php-laravel/OPENCODE.md +1 -1
- package/presets/opencode/php-laravel/REPO_AGENTS.md +8 -0
- package/presets/opencode/php-laravel/adapter-map.json +9 -1
- package/presets/opencode/php-laravel/agents/build-verifier.md +1 -1
- package/presets/opencode/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/opencode/php-laravel/agents/debugger.md +1 -1
- package/presets/opencode/php-laravel/agents/feature-developer.md +1 -1
- package/presets/opencode/php-laravel/agents/task-analyst.md +1 -1
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/php-laravel/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/php-laravel/rules/code-review-mr.md +1 -0
- package/presets/opencode/php-laravel/rules/feature-delivery-workflow.md +54 -1
- package/presets/opencode/php-laravel/rules/preset-layering.md +4 -4
- package/presets/opencode/php-laravel/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/php-laravel/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/php-laravel/rules/reference-features.md +27 -0
- package/presets/opencode/php-laravel/skills/feature-delivery/SKILL.md +2 -2
- package/presets/opencode/php-laravel/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/svelte/REPO_AGENTS.md +8 -0
- package/presets/opencode/svelte/adapter-map.json +9 -1
- package/presets/opencode/svelte/agents/build-verifier.md +4 -1
- package/presets/opencode/svelte/agents/code-reviewer.md +1 -1
- package/presets/opencode/svelte/agents/debugger.md +1 -1
- package/presets/opencode/svelte/agents/feature-developer.md +1 -1
- package/presets/opencode/svelte/agents/task-analyst.md +1 -1
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +313 -26
- package/presets/opencode/svelte/rules/ai-local-overlay.md +1 -1
- package/presets/opencode/svelte/rules/code-review-mr.md +1 -0
- package/presets/opencode/svelte/rules/feature-delivery-workflow.md +7 -7
- package/presets/opencode/svelte/rules/preset-layering.md +4 -4
- package/presets/opencode/svelte/rules/preset-pr-checklist.md +2 -1
- package/presets/opencode/svelte/rules/preset-twin-sync.md +12 -5
- package/presets/opencode/svelte/rules/reference-features.md +1 -20
- package/presets/opencode/svelte/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/android-kotlin/REPO_AGENTS.md +8 -0
- package/presets/zcode/android-kotlin/adapter-map.json +11 -2
- package/presets/zcode/android-kotlin/agents/build-verifier.md +1 -1
- package/presets/zcode/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/zcode/android-kotlin/agents/debugger.md +1 -1
- package/presets/zcode/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/zcode/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/android-kotlin/rules/README.md +3 -3
- package/presets/zcode/android-kotlin/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/android-kotlin/rules/code-review-mr.md +1 -0
- package/presets/zcode/android-kotlin/rules/feature-delivery-workflow.md +66 -8
- package/presets/zcode/android-kotlin/rules/preset-layering.md +4 -4
- package/presets/zcode/android-kotlin/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/android-kotlin/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/android-kotlin/rules/reference-features.md +48 -2
- package/presets/zcode/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/zcode/android-kotlin/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/go/REPO_AGENTS.md +8 -0
- package/presets/zcode/go/adapter-map.json +9 -1
- package/presets/zcode/go/agents/build-verifier.md +1 -1
- package/presets/zcode/go/agents/code-reviewer.md +1 -1
- package/presets/zcode/go/agents/debugger.md +1 -1
- package/presets/zcode/go/agents/feature-developer.md +1 -1
- package/presets/zcode/go/agents/task-analyst.md +1 -1
- package/presets/zcode/go/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/go/rules/README.md +3 -3
- package/presets/zcode/go/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/go/rules/code-review-mr.md +1 -0
- package/presets/zcode/go/rules/feature-delivery-workflow.md +50 -1
- package/presets/zcode/go/rules/preset-layering.md +4 -4
- package/presets/zcode/go/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/go/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/go/rules/reference-features.md +22 -0
- package/presets/zcode/go/skills/feature-delivery/SKILL.md +2 -2
- package/presets/zcode/go/skills/unit-testing/SKILL.md +1 -1
- package/presets/zcode/go/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/ios-swift/REPO_AGENTS.md +8 -0
- package/presets/zcode/ios-swift/adapter-map.json +9 -1
- package/presets/zcode/ios-swift/agents/build-verifier.md +4 -1
- package/presets/zcode/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/zcode/ios-swift/agents/debugger.md +1 -1
- package/presets/zcode/ios-swift/agents/feature-developer.md +1 -1
- package/presets/zcode/ios-swift/agents/task-analyst.md +1 -1
- package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/ios-swift/rules/README.md +3 -3
- package/presets/zcode/ios-swift/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/ios-swift/rules/code-review-mr.md +1 -0
- package/presets/zcode/ios-swift/rules/feature-delivery-workflow.md +8 -8
- package/presets/zcode/ios-swift/rules/preset-layering.md +4 -4
- package/presets/zcode/ios-swift/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/ios-swift/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/ios-swift/rules/reference-features.md +2 -21
- package/presets/zcode/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/zcode/ios-swift/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/java/REPO_AGENTS.md +8 -0
- package/presets/zcode/java/adapter-map.json +9 -1
- package/presets/zcode/java/agents/build-verifier.md +1 -1
- package/presets/zcode/java/agents/code-reviewer.md +1 -1
- package/presets/zcode/java/agents/debugger.md +1 -1
- package/presets/zcode/java/agents/feature-developer.md +1 -1
- package/presets/zcode/java/agents/task-analyst.md +1 -1
- package/presets/zcode/java/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/java/rules/README.md +3 -3
- package/presets/zcode/java/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/java/rules/code-review-mr.md +1 -0
- package/presets/zcode/java/rules/feature-delivery-workflow.md +51 -1
- package/presets/zcode/java/rules/preset-layering.md +4 -4
- package/presets/zcode/java/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/java/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/java/rules/reference-features.md +22 -0
- package/presets/zcode/java/skills/feature-delivery/SKILL.md +2 -2
- package/presets/zcode/java/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/mcp-ts/REPO_AGENTS.md +8 -0
- package/presets/zcode/mcp-ts/adapter-map.json +9 -1
- package/presets/zcode/mcp-ts/agents/build-verifier.md +1 -1
- package/presets/zcode/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/zcode/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/mcp-ts/rules/README.md +3 -3
- package/presets/zcode/mcp-ts/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/mcp-ts/rules/code-review-mr.md +1 -0
- package/presets/zcode/mcp-ts/rules/feature-delivery-workflow.md +47 -1
- package/presets/zcode/mcp-ts/rules/preset-layering.md +4 -4
- package/presets/zcode/mcp-ts/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/mcp-ts/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/mcp-ts/rules/reference-features.md +22 -0
- package/presets/zcode/mcp-ts/skills/code-review/SKILL.md +1 -1
- package/presets/zcode/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
- package/presets/zcode/mcp-ts/skills/unit-testing/SKILL.md +1 -1
- package/presets/zcode/mcp-ts/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/mol/REPO_AGENTS.md +8 -0
- package/presets/zcode/mol/adapter-map.json +1 -1
- package/presets/zcode/mol/agents/build-verifier.md +4 -1
- package/presets/zcode/mol/agents/code-reviewer.md +1 -1
- package/presets/zcode/mol/agents/debugger.md +1 -1
- package/presets/zcode/mol/agents/feature-developer.md +1 -1
- package/presets/zcode/mol/agents/task-analyst.md +1 -1
- package/presets/zcode/mol/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/mol/rules/README.md +3 -3
- package/presets/zcode/mol/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/mol/rules/code-review-mr.md +1 -0
- package/presets/zcode/mol/rules/feature-delivery-workflow.md +10 -10
- package/presets/zcode/mol/rules/preset-layering.md +4 -4
- package/presets/zcode/mol/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/mol/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/mol/rules/reference-features.md +0 -19
- package/presets/zcode/next/REPO_AGENTS.md +8 -0
- package/presets/zcode/next/adapter-map.json +1 -1
- package/presets/zcode/next/agents/build-verifier.md +6 -1
- package/presets/zcode/next/agents/code-reviewer.md +1 -1
- package/presets/zcode/next/agents/debugger.md +1 -1
- package/presets/zcode/next/agents/feature-developer.md +1 -1
- package/presets/zcode/next/agents/task-analyst.md +1 -1
- package/presets/zcode/next/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/next/rules/README.md +3 -3
- package/presets/zcode/next/rules/ai-local-overlay.md +2 -1
- package/presets/zcode/next/rules/code-review-mr.md +1 -0
- package/presets/zcode/next/rules/feature-delivery-workflow.md +13 -13
- package/presets/zcode/next/rules/next-app-core.md +1 -1
- package/presets/zcode/next/rules/preset-layering.md +4 -4
- package/presets/zcode/next/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/next/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/next/rules/reference-features.md +0 -19
- package/presets/zcode/nuxt/REPO_AGENTS.md +8 -0
- package/presets/zcode/nuxt/adapter-map.json +9 -1
- package/presets/zcode/nuxt/agents/build-verifier.md +4 -1
- package/presets/zcode/nuxt/agents/code-reviewer.md +1 -1
- package/presets/zcode/nuxt/agents/debugger.md +1 -1
- package/presets/zcode/nuxt/agents/feature-developer.md +1 -1
- package/presets/zcode/nuxt/agents/task-analyst.md +1 -1
- package/presets/zcode/nuxt/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/nuxt/rules/README.md +3 -3
- package/presets/zcode/nuxt/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/nuxt/rules/code-review-mr.md +1 -0
- package/presets/zcode/nuxt/rules/feature-delivery-workflow.md +9 -9
- package/presets/zcode/nuxt/rules/preset-layering.md +4 -4
- package/presets/zcode/nuxt/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/nuxt/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/nuxt/rules/reference-features.md +1 -20
- package/presets/zcode/nuxt/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/php-hexagonal/REPO_AGENTS.md +8 -0
- package/presets/zcode/php-hexagonal/adapter-map.json +9 -1
- package/presets/zcode/php-hexagonal/agents/build-verifier.md +1 -1
- package/presets/zcode/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/zcode/php-hexagonal/agents/debugger.md +1 -1
- package/presets/zcode/php-hexagonal/agents/feature-developer.md +1 -1
- package/presets/zcode/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/php-hexagonal/rules/README.md +3 -3
- package/presets/zcode/php-hexagonal/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/php-hexagonal/rules/code-review-mr.md +1 -0
- package/presets/zcode/php-hexagonal/rules/feature-delivery-workflow.md +51 -1
- package/presets/zcode/php-hexagonal/rules/preset-layering.md +4 -4
- package/presets/zcode/php-hexagonal/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/php-hexagonal/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/php-hexagonal/rules/reference-features.md +25 -0
- package/presets/zcode/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
- package/presets/zcode/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/php-laravel/REPO_AGENTS.md +8 -0
- package/presets/zcode/php-laravel/adapter-map.json +9 -1
- package/presets/zcode/php-laravel/agents/build-verifier.md +1 -1
- package/presets/zcode/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/zcode/php-laravel/agents/debugger.md +1 -1
- package/presets/zcode/php-laravel/agents/feature-developer.md +1 -1
- package/presets/zcode/php-laravel/agents/task-analyst.md +1 -1
- package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/php-laravel/rules/README.md +3 -3
- package/presets/zcode/php-laravel/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/php-laravel/rules/code-review-mr.md +1 -0
- package/presets/zcode/php-laravel/rules/feature-delivery-workflow.md +54 -1
- package/presets/zcode/php-laravel/rules/preset-layering.md +4 -4
- package/presets/zcode/php-laravel/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/php-laravel/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/php-laravel/rules/reference-features.md +27 -0
- package/presets/zcode/php-laravel/skills/feature-delivery/SKILL.md +2 -2
- package/presets/zcode/php-laravel/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/svelte/REPO_AGENTS.md +8 -0
- package/presets/zcode/svelte/adapter-map.json +9 -1
- package/presets/zcode/svelte/agents/build-verifier.md +4 -1
- package/presets/zcode/svelte/agents/code-reviewer.md +1 -1
- package/presets/zcode/svelte/agents/debugger.md +1 -1
- package/presets/zcode/svelte/agents/feature-developer.md +1 -1
- package/presets/zcode/svelte/agents/task-analyst.md +1 -1
- package/presets/zcode/svelte/hooks/chain-team-phases.sh +313 -26
- package/presets/zcode/svelte/rules/README.md +3 -3
- package/presets/zcode/svelte/rules/ai-local-overlay.md +1 -1
- package/presets/zcode/svelte/rules/code-review-mr.md +1 -0
- package/presets/zcode/svelte/rules/feature-delivery-workflow.md +7 -7
- package/presets/zcode/svelte/rules/preset-layering.md +4 -4
- package/presets/zcode/svelte/rules/preset-pr-checklist.md +2 -1
- package/presets/zcode/svelte/rules/preset-twin-sync.md +12 -5
- package/presets/zcode/svelte/rules/reference-features.md +1 -20
- package/presets/zcode/svelte/team/fixtures/feature-parallel.json +84 -0
|
@@ -53,9 +53,7 @@ Path pointer and stack tables — in the preset adapter (`.ai.local/conventions.
|
|
|
53
53
|
|
|
54
54
|
Before implementing, find a feature of the same type and **mirror its structure**; do not invent a new file organization.
|
|
55
55
|
|
|
56
|
-
Taxonomy / shared core:
|
|
57
|
-
|
|
58
|
-
## Reference table
|
|
56
|
+
Taxonomy / shared core: `presets/_shared/README.md` · `docs/PRESET-CONTRIBUTION.md` (preset source tree; the installed rule lives at a different depth, so these are paths, not links).
|
|
59
57
|
|
|
60
58
|
Replace **TBD** with real paths after team agreement (or on `ai-rules init` in the target repo):
|
|
61
59
|
|
|
@@ -67,20 +65,3 @@ Replace **TBD** with real paths after team agreement (or on `ai-rules init` in t
|
|
|
67
65
|
| Types module | **TBD** `types/<example>/` | domain types, JSDoc, barrel export |
|
|
68
66
|
| Unit tests | **TBD** next to the reference mapper/service | `*.spec.ts`, describe/it naming |
|
|
69
67
|
| E2E area | **TBD** `tests/e2e/<Area>/` | `*.cases.md`, page objects, `_shared/` |
|
|
70
|
-
|
|
71
|
-
## How to use
|
|
72
|
-
|
|
73
|
-
1. Identify affected layers from `decomposition.md` or the task.
|
|
74
|
-
2. Open the reference from the table (after paths are filled).
|
|
75
|
-
3. Mirror naming, file order, import patterns, and tests.
|
|
76
|
-
4. If there is no reference — pick the **closest** existing feature of the same layer and record the choice in the handoff.
|
|
77
|
-
|
|
78
|
-
## Living conventions
|
|
79
|
-
|
|
80
|
-
Post-init gotchas / patterns / decisions: **`.ai.local/conventions.md`** (shared across tools; `.ai.local/team/**` is pipeline artifacts, not rules). Consumer-owned; not always-on. See root `AGENTS.md` § Living conventions.
|
|
81
|
-
|
|
82
|
-
## Related rules
|
|
83
|
-
|
|
84
|
-
- `tooling-and-review/code-quality.md` — repeat patterns, no deep-import.
|
|
85
|
-
- `architecture/feature-delivery-workflow.md` — layer order.
|
|
86
|
-
- skill `feature-delivery` — end-to-end scenario.
|
|
@@ -9,7 +9,7 @@ This rule is mandatory. **You MUST** obey it on every turn, without exception.
|
|
|
9
9
|
|
|
10
10
|
## On every turn
|
|
11
11
|
|
|
12
|
-
1. **Probe** — before answering, run the first existing command: `node .
|
|
12
|
+
1. **Probe** — before answering, run the first existing command: `node .claude/hooks/list-ai-local.mjs`, `node .cursor/hooks/list-ai-local.mjs`, `node .mavis/hooks/list-ai-local.mjs`, `node .opencode/hooks/list-ai-local.mjs`, `node .zcode/hooks/list-ai-local.mjs`. Pass the repo-relative paths this step will read or edit. When `.ai.local/team/tasks/<slug>/` already exists, add `--record <slug>`.
|
|
13
13
|
2. **Apply** — read the printed `rules/*.md` and `conventions.md` for that chain. The root `.ai.local` applies to every path. A nested `.ai.local` applies only under its directory. The same rule name on one chain: the deeper file wins; do not read `shadowed`. A sibling package's overlay does not apply. Do **not** load `team/**` or `rules-library/**` as rules.
|
|
14
14
|
3. **Expand** — a path whose chain adds an overlay is new scope. Read every `new:` file before editing. `--record` writes `.ai.local/team/tasks/<slug>/overlay-scope.json` and appends one `.memlog.md` `event:` per new overlay directory. The session-start index lists prefixes; it is not the apply set. Dialogue language already stored in `prompt.md` stays for the task.
|
|
15
15
|
4. **Activate seeds** — if `.ai.local/rules-library/<seed>.md` on the active chain matches the task, treat it as the applicable local rule and tell the owner to move it into that overlay's `rules/`. Seeds stay inactive until moved. Do not read the whole library up front.
|
|
@@ -83,6 +83,7 @@ The verdict and the receipt are the same decision expressed twice — never let
|
|
|
83
83
|
- Reserve a notes-only verdict for `nit`/informational items. Reporting a non-cosmetic fixable defect as a note converts it into unplanned out-of-band work and leaves it unrecorded in the run ledger.
|
|
84
84
|
- A divergence between the frozen spec/design and the shipped code is a finding, never a note: cite the spec line and the code line in the same finding.
|
|
85
85
|
- Before freezing a wire contract, confirm the stated behaviour against the repository's existing handler/decoder convention; a spec that contradicts the codebase convention is the same finding class.
|
|
86
|
+
- Every finding you leave `open` in the ledger carries `owner` and `due`, and `accepted`/`deferred` also carry a `followUp` task slug. `node .ai.local/scripts/team-db.mjs ledger-check` refuses the receipt otherwise and the chain hook relays its message verbatim: leaving a finding open is a contract with a person and a date, not a disposition word.
|
|
86
87
|
|
|
87
88
|
## Stack notes
|
|
88
89
|
|
|
@@ -17,14 +17,14 @@ Rules for **preset authors** (`packages/ai-rules/presets/**`). Not always-on in
|
|
|
17
17
|
| Layer | Where | What to put |
|
|
18
18
|
|-------|-------|-------------|
|
|
19
19
|
| **Core** | `presets/_shared/core/**` | Stack-agnostic prose + checklists; no frontmatter; no paths `app/**`, `Features/**`, Playwright, xcodebuild |
|
|
20
|
-
| **Stack** | `presets/{cursor\|claude\|mavis\|opencode}/<stack>/` | Domain/tooling, stack always-on set (3–10), stack examples in **Stack notes** |
|
|
21
|
-
| **Platform** | Cursor `.mdc` / Claude `.md` / Mavis `.md` / OpenCode `.md` | Frontmatter (`alwaysApply`/`globs` vs `paths:` vs OpenCode `mode`/`permission`), platform-only (`BUGBOT.md`, `CLAUDE.md`) |
|
|
20
|
+
| **Stack** | `presets/{cursor\|claude\|mavis\|opencode\|zcode}/<stack>/` | Domain/tooling, stack always-on set (3–10), stack examples in **Stack notes** |
|
|
21
|
+
| **Platform** | Cursor `.mdc` / Claude `.md` / Mavis `.md` / OpenCode `.md` / ZCode `.md` | Frontmatter (`alwaysApply`/`globs` vs `paths:` vs OpenCode `mode`/`permission`), platform-only (`BUGBOT.md`, `CLAUDE.md`) |
|
|
22
22
|
|
|
23
23
|
## Where to put a new rule
|
|
24
24
|
|
|
25
25
|
1. Shared principles for all stacks → **core** + adapters with `<!-- shared-core: … -->`.
|
|
26
|
-
2. Only one of the installable stacks (`next` / `nuxt` / `svelte` / `ios-swift` / `android-kotlin` / `go` / `java` / `mcp-ts` / `php-hexagonal` / `php-laravel`) → **stack-specific** (not in `_shared`).
|
|
27
|
-
3. Only Cursor, Claude, Mavis, or
|
|
26
|
+
2. Only one of the installable stacks (`next` / `nuxt` / `svelte` / `mol` / `ios-swift` / `android-kotlin` / `go` / `java` / `mcp-ts` / `php-hexagonal` / `php-laravel`) → **stack-specific** (not in `_shared`).
|
|
27
|
+
3. Only Cursor, Claude, Mavis, OpenCode, or ZCode packaging → platform artifact / frontmatter; do not duplicate semantics.
|
|
28
28
|
|
|
29
29
|
## SoT
|
|
30
30
|
|
|
@@ -21,12 +21,13 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
21
21
|
- [ ] **Twin:** Cursor change → run `generate-claude.mjs --stack <stack>` and commit the Claude twin **same PR** (**FAIL** if missing or stale on next, nuxt, svelte, ios-swift, android-kotlin, go, java, mcp-ts, php-hexagonal, and php-laravel — see `preset-twin-sync`)
|
|
22
22
|
- [ ] **Mavis derive:** mapped `cursor/<stack>/` change → `mavis/<stack>/` + `adapter-map.json` **same PR** when the stack is in `releasedStacks` (run `generate-mavis.mjs --stack <stack>` + `check-mavis-adapter-map.mjs`; see `preset-twin-sync` § Mavis derivation)
|
|
23
23
|
- [ ] **OpenCode derive:** mapped `cursor/<stack>/` change → `opencode/<stack>/` + `adapter-map.json` **same PR** when the stack is in `releasedStacks` (run `generate-opencode.mjs --stack <stack>` + `check-opencode-adapter-map.mjs`; see `preset-twin-sync` § OpenCode derivation)
|
|
24
|
+
- [ ] **ZCode derive:** mapped `cursor/<stack>/` change → `zcode/<stack>/` + `adapter-map.json` **same PR** when the stack is in `releasedStacks` (run `generate-zcode.mjs --stack <stack>` + `check-zcode-adapter-map.mjs`; see `preset-twin-sync` § ZCode derivation)
|
|
24
25
|
- [ ] **Mapping:** `claude/<stack>/rules/README.md` mapping table is current
|
|
25
26
|
- [ ] **Token budget:** Cursor `alwaysApply` and Claude session-start both **3–10** (extra slots reserved for `ai-local-overlay`); body sum ≤4000; meta rules not always-on
|
|
26
27
|
- [ ] **Local overlay coverage:** every installable stack ships `ai-local-overlay.mdc` (Cursor) and `ai-local-overlay.md` (Claude) with `MANDATORY` + acknowledgement format + `docs/LOCAL-OVERLAY.md` pointer; Claude twin listed in `claude/<stack>/rules/README.md` mapping table. Run `packages/ai-rules/scripts/check-local-overlay.sh`.
|
|
27
28
|
- [ ] **Leakage:** no foreign stack agent stems / handoff strings (`preset-no-cross-stack-leakage`)
|
|
28
29
|
- [ ] **Hook-only lifecycle:** `status.json` / `metrics.json` writes happen only inside `hooks/`; agents read but never rewrite lifecycle fields. Run `packages/ai-rules/scripts/check-hook-only-lifecycle.sh`.
|
|
29
|
-
- [ ] **Chain fork:** the byte-wise MD5 uniqueness of `chain-team-phases.sh` holds pairwise among every stack under `presets/cursor/` × Cursor/Claude platforms, and each released Mavis/OpenCode stack hook must also differ from the Cursor and Claude twins of the same stack. Run `packages/ai-rules/scripts/check-chain-hook-coverage.sh` and `packages/ai-rules/scripts/test-chain-team-phases-coverage.mjs`.
|
|
30
|
+
- [ ] **Chain fork:** the byte-wise MD5 uniqueness of `chain-team-phases.sh` holds pairwise among every stack under `presets/cursor/` × Cursor/Claude platforms, and each released Mavis/OpenCode/ZCode stack hook must also differ from the Cursor and Claude twins of the same stack. Run `packages/ai-rules/scripts/check-chain-hook-coverage.sh` and `packages/ai-rules/scripts/test-chain-team-phases-coverage.mjs`.
|
|
30
31
|
- [ ] **Twin depth:** domain ≥15 lines; thin aliases documented
|
|
31
32
|
- [ ] **README:** stack `rules/README.md` core→stack mapping / catalog updated if stems added
|
|
32
33
|
- [ ] **CHANGELOG / package README:** note when public preset paths or install surface change
|
|
@@ -19,21 +19,22 @@ Cursor `.mdc` is the **SoT per stack**; every other platform tree is derived in
|
|
|
19
19
|
| **Claude twin** | `cursor/<stack>/rules/*.mdc` | `generate-claude.mjs --stack <stack>`; destination row **required** in `claude/<stack>/rules/README.md` |
|
|
20
20
|
| **Mavis** | `cursor/<stack>/**` | `generate-mavis.mjs --stack <stack>`; manifest `adapter-map.json` required |
|
|
21
21
|
| **OpenCode** | `cursor/<stack>/**` | `generate-opencode.mjs --stack <stack>`; manifest `adapter-map.json` required |
|
|
22
|
+
| **ZCode** | `cursor/<stack>/**` | `generate-zcode.mjs --stack <stack>`; manifest `adapter-map.json` required |
|
|
22
23
|
|
|
23
|
-
Every stack directory under `packages/ai-rules/presets/cursor/` is a twin source; do not hardcode the stack count. Mavis and
|
|
24
|
+
Every stack directory under `packages/ai-rules/presets/cursor/` is a twin source; do not hardcode the stack count. Mavis, OpenCode, and ZCode are **platform adapters**, not Claude-style topic twins; never derive one of them from Claude.
|
|
24
25
|
|
|
25
26
|
```text
|
|
26
|
-
_shared/core → cursor/<stack> → { claude/<stack>, mavis/<stack>, opencode/<stack> }
|
|
27
|
+
_shared/core → cursor/<stack> → { claude/<stack>, mavis/<stack>, opencode/<stack>, zcode/<stack> }
|
|
27
28
|
```
|
|
28
29
|
|
|
29
|
-
Validate: `check-mavis-adapter-map.mjs`, `check-opencode-adapter-map.mjs`, `check-shared-core-drift.sh`.
|
|
30
|
+
Validate: `check-mavis-adapter-map.mjs`, `check-opencode-adapter-map.mjs`, `check-zcode-adapter-map.mjs`, `check-shared-core-drift.sh`.
|
|
30
31
|
|
|
31
32
|
## Same-PR checklist
|
|
32
33
|
|
|
33
34
|
1. Edit the Cursor rule first (body + frontmatter).
|
|
34
35
|
2. Add or update the Claude README mapping row when the stem/path changed, then run `generate-claude.mjs --stack <stack>`.
|
|
35
36
|
3. Core changed → sync every `<!-- shared-core: … -->` consumer (`sync-shared-core-embeds.sh`).
|
|
36
|
-
4. Cursor source changed → run `yarn fix:generated` to regenerate Claude, Mavis, and
|
|
37
|
+
4. Cursor source changed → run `yarn fix:generated` to regenerate Claude, Mavis, OpenCode, and ZCode and recapture required CLI goldens.
|
|
37
38
|
|
|
38
39
|
## Twin depth
|
|
39
40
|
|
|
@@ -44,6 +45,12 @@ Validate: `check-mavis-adapter-map.mjs`, `check-opencode-adapter-map.mjs`, `chec
|
|
|
44
45
|
## Severity (structure gates)
|
|
45
46
|
|
|
46
47
|
- Missing or stale generated Claude twin for a changed Cursor rule → **FAIL** (every stack under `presets/cursor/`; mapping table required).
|
|
47
|
-
- `cursor/<stack>` mapped source changed without mavis / opencode regeneration, or with `adapter-map.json` `sourceRevision` drift → **FAIL**.
|
|
48
|
+
- `cursor/<stack>` mapped source changed without mavis / opencode / zcode regeneration, or with `adapter-map.json` `sourceRevision` drift → **FAIL**.
|
|
49
|
+
|
|
50
|
+
## Generated vs hand-maintained
|
|
51
|
+
|
|
52
|
+
- Mavis, OpenCode, and ZCode trees are deleted and derived from Cursor on each `fix:generated`.
|
|
53
|
+
- Claude **rules**, `team/upstream`, and the hooks `generateClaudeStack` emits are derived. Claude **agents, commands, skills, `CLAUDE.md`, and `settings.json`** stay hand-maintained twins. Parity is the ratchet in `check-claude-agent-parity.mjs` and `check-preset-twin-drift.mjs`, not a byte copy.
|
|
54
|
+
- `compact-shell-output.mjs` is Cursor-only: it returns Cursor `updated_input`. OpenCode compacts with `.opencode/plugins/output-guard/`. Claude `PreToolUse` returns `permissionDecision` only. Mavis and ZCode omit the hook because they have no registration schema.
|
|
48
55
|
|
|
49
56
|
Dogfood: sync packages → root `.cursor/` after Cursor SoT changes (never the reverse): `sync-dogfood-cursor.sh`.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "example-feature-parallel",
|
|
3
|
+
"intent": "feature",
|
|
4
|
+
"specMode": "none",
|
|
5
|
+
"profile": "full",
|
|
6
|
+
"routingDecision": {
|
|
7
|
+
"complexity": "high",
|
|
8
|
+
"riskFlags": ["cross-layer", "concurrency-state", "broad-test-surface"],
|
|
9
|
+
"routingReasons": [
|
|
10
|
+
"Two independent review surfaces (code + security) sit on the same dependency level, so the pipeline may schedule them as one parallel wave.",
|
|
11
|
+
"The step graph carries declared write scopes so the conflict model can prove the wave conflict-free before any step is marked parallel."
|
|
12
|
+
],
|
|
13
|
+
"estimatedWorkPackages": 2,
|
|
14
|
+
"openDecisionCount": 0
|
|
15
|
+
},
|
|
16
|
+
"summary": "Step-graph feature pipeline with one parallel review wave",
|
|
17
|
+
"steps": [
|
|
18
|
+
{
|
|
19
|
+
"id": "T1",
|
|
20
|
+
"taskIds": ["T1"],
|
|
21
|
+
"agent": "task-analyst",
|
|
22
|
+
"label": "Clarify and decompose",
|
|
23
|
+
"writeScopes": [".ai.local/team/tasks/<slug>/brief.md", ".ai.local/team/tasks/<slug>/decomposition.md"],
|
|
24
|
+
"artifactOutputId": "analysis"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "T2",
|
|
28
|
+
"taskIds": ["T2"],
|
|
29
|
+
"agent": "solution-architect",
|
|
30
|
+
"label": "Design boundaries",
|
|
31
|
+
"model": "strong",
|
|
32
|
+
"dependsOn": ["T1"],
|
|
33
|
+
"writeScopes": [".ai.local/team/tasks/<slug>/architecture.md"],
|
|
34
|
+
"artifactOutputId": "architecture"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "T3",
|
|
38
|
+
"taskIds": ["T3"],
|
|
39
|
+
"agent": "feature-developer",
|
|
40
|
+
"label": "Implement + unit tests",
|
|
41
|
+
"scope": "unit-in-dev",
|
|
42
|
+
"dependsOn": ["T2"],
|
|
43
|
+
"writeScopes": ["app/src/feature", ".ai.local/team/tasks/<slug>/implementation.md"],
|
|
44
|
+
"artifactOutputId": "implementation"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "T4",
|
|
48
|
+
"taskIds": ["T4"],
|
|
49
|
+
"agent": ["code-reviewer", "security-reviewer"],
|
|
50
|
+
"label": "Review (code + security)",
|
|
51
|
+
"parallel": true,
|
|
52
|
+
"dependsOn": ["T3"],
|
|
53
|
+
"writeScopes": [".ai.local/team/tasks/<slug>/review.md", ".ai.local/team/tasks/<slug>/security-review.md"],
|
|
54
|
+
"artifactInputIds": ["implementation"],
|
|
55
|
+
"artifactOutputIds": {
|
|
56
|
+
"code-reviewer": "review",
|
|
57
|
+
"security-reviewer": "security-review"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "T5",
|
|
62
|
+
"taskIds": ["T5"],
|
|
63
|
+
"agent": "tech-writer",
|
|
64
|
+
"label": "Documentation",
|
|
65
|
+
"dependsOn": ["T3"],
|
|
66
|
+
"writeScopes": [".ai.local/team/tasks/<slug>/documentation.md"],
|
|
67
|
+
"artifactOutputId": "documentation"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "T6",
|
|
71
|
+
"taskIds": ["T6"],
|
|
72
|
+
"agent": "build-verifier",
|
|
73
|
+
"label": "Validation gate",
|
|
74
|
+
"model": "cheap",
|
|
75
|
+
"dependsOn": ["T4", "T5"],
|
|
76
|
+
"writeScopes": [".ai.local/team/tasks/<slug>/validation-report.md"],
|
|
77
|
+
"artifactInputIds": ["implementation", "review", "security-review"],
|
|
78
|
+
"artifactOutputId": "validation"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"humanGates": ["after:task-analyst"],
|
|
82
|
+
"autoChain": true,
|
|
83
|
+
"skipped": []
|
|
84
|
+
}
|
|
@@ -5,7 +5,7 @@ Preset for PHP backends using ports & adapters (PSR / Composer-first).
|
|
|
5
5
|
**Repo-root agents:** see [`AGENTS.md`](../../AGENTS.md) at the project root.
|
|
6
6
|
|
|
7
7
|
- Session-start: `php-app-core`, `architecture/boundaries`, `code-quality`, `ai-local-overlay` (3–10).
|
|
8
|
-
- **Local overlay (session-start):** `ai-local-overlay` has no `paths:` and counts in the 3–10 budget. On every turn, run `list-ai-local.mjs` from the host hooks directory (`.cursor`, `.claude`, `.mavis`, or `.
|
|
8
|
+
- **Local overlay (session-start):** `ai-local-overlay` has no `paths:` and counts in the 3–10 budget. On every turn, run `list-ai-local.mjs` from the host hooks directory (`.cursor`, `.claude`, `.mavis`, `.opencode`, or `.zcode`) with the paths this step will touch, apply the printed `.ai.local/rules/*.md` and `.ai.local/conventions.md`, and acknowledge `Using .ai.local: <rule-name>`. Guide: `docs/LOCAL-OVERLAY.md`.
|
|
9
9
|
- Delivery: `architecture/feature-delivery.md` + skill `feature-delivery`.
|
|
10
10
|
- After PHP edits: `tooling-and-review/post-change-test.md` (+ `php-tooling`).
|
|
11
11
|
- Integration tests: agents `integration-test-*` + skill `integration-testing` (never Playwright/XCUITest).
|
|
@@ -17,7 +17,7 @@ Preset for PHP backends using ports & adapters (PSR / Composer-first).
|
|
|
17
17
|
|
|
18
18
|
- **22 agents** — `agents/README.md` (no a11y / Playwright / XCUITest)
|
|
19
19
|
- **10 skills** — feature-delivery, spec-authoring, spec-discovery, unit-testing, integration-testing, ci-investigation, debug-investigation, code-review, technical-retro, write-adr
|
|
20
|
-
- **
|
|
20
|
+
- **7 commands** — `/task`, `/task-continue`, `/spec-start`, `/rr-scheduler-start`, `/migrate-tasks`, `/technical-retro`, `/update`
|
|
21
21
|
|
|
22
22
|
## Dogfood (5 scenarios)
|
|
23
23
|
|
|
@@ -42,4 +42,4 @@ Init: `npx @bonesofspring/ai-rules init claude --preset php-hexagonal` (also cop
|
|
|
42
42
|
`git commit/push deny`; JS stacks also `npx jest* deny` and `npm/npx/pnpm/bun`
|
|
43
43
|
ask). Re-init overwrites the file (consumer can edit afterwards); mirror
|
|
44
44
|
with root `AGENTS.md` if you change the harness.
|
|
45
|
-
- **Pipeline hooks:** `.claude/settings.json` `hooks` wires `check-preset-update.mjs` (`SessionStart`; opens the reply with a level-2 heading and a blockquote naming the installed version, the latest version, and `/update` when the install is older), `guard-shell-command.
|
|
45
|
+
- **Pipeline hooks:** `.claude/settings.json` `hooks` wires `check-preset-update.mjs` (`SessionStart`; opens the reply with a level-2 heading and a blockquote naming the installed version, the latest version, and `/update` when the install is older), `guard-shell-command.mjs` (`PreToolUse` / `Bash`, `permissionDecision` `ask` or `allow`) and `chain-team-phases.sh` (`SubagentStop` for kebab-case `agent_type`). See `hooks/README.md`. No `hooks.json`.
|
|
@@ -52,8 +52,16 @@ Empty output or a failed run stays silent.
|
|
|
52
52
|
|
|
53
53
|
Gotchas, local patterns, and team decisions: **`.ai.local/conventions.md`** (fill after init; `init` does not overwrite it).
|
|
54
54
|
|
|
55
|
+
## ZCode host
|
|
56
|
+
|
|
57
|
+
ZCode loads this file natively and has no per-tool map: this file is the entry. The essential rules are the always-on set under `.zcode/rules/` (plain Markdown, not auto-loaded) — start with `ai-local-overlay` and the stack app-core rule, and read the rest when the task scope matches. Agents, commands, and skills live under `.zcode/agents/`, `.zcode/commands/`, and `.zcode/skills/`.
|
|
58
|
+
|
|
59
|
+
On every turn, run `node .zcode/hooks/list-ai-local.mjs` with the paths this step will touch, apply the printed `.ai.local/rules/*.md` and `.ai.local/conventions.md`, and acknowledge `Using .ai.local: <rule-name>`. On the first reply of a session, run `node .zcode/hooks/check-preset-update.mjs` when it exists; the update-notice rules above apply.
|
|
60
|
+
|
|
55
61
|
## Local overlay (`.ai.local/`) — MANDATORY
|
|
56
62
|
|
|
57
63
|
A `.ai.local/` directory MAY exist at the repo root or at any nesting depth in monorepos. **Every agent MUST read and apply it on every turn.** Rules there override preset rules; `override: kill <preset-rule-name>` drops that preset rule from context entirely.
|
|
58
64
|
|
|
59
65
|
On every turn, run `list-ai-local.mjs` from the host hooks directory (`.cursor`, `.claude`, `.mavis`, `.opencode`, or `.zcode`) with the paths this step will touch, then apply the printed `.ai.local/rules/*.md` and `.ai.local/conventions.md`. The root overlay applies to every path; a nested one applies only under its directory. Do not read `shadowed` files or `rules-library/**` as rules. Acknowledge `Using .ai.local: <rule-name>` when answering. Authoring guide: `docs/LOCAL-OVERLAY.md`.
|
|
66
|
+
|
|
67
|
+
The `ai-local-overlay` rule is always-on on Cursor and session-start on Claude; Mavis, OpenCode, and ZCode have no native always-on mechanism, so this section plus the platform entry's essential-rules list is the reinforcement.
|
|
@@ -37,3 +37,7 @@ Role subagents for the Claude Code agent-team pipeline (PHP hexagonal).
|
|
|
37
37
|
The analyst frames every task before decomposition: **goal frame** (goal, user value, success + result-evaluation criteria) → **requirements + AC-IDs** → **information-sufficiency** verdict → decomposition with `dependsOn[]` / DAG / epics-with-exit-criteria. `decomposition.md` is the plan graph; `pipeline.json` may add the optional, hook-ignored `epics[]`, `planRevision`, and `contextBudget` fields. Progress is checkpointed to `.memlog.md` and is resumable from `artifact-manifest.json`.
|
|
38
38
|
|
|
39
39
|
**Self-review & context hygiene (producer-side):** before its terminal receipt (per wave for multi-wave work) each producing agent self-reviews its output against the framed goal + `AC-`IDs — coverage, evidence, alignment/drift — and, on drift, **re-anchors** to the goal frame + `decomposition.md` and records the correction in `.memlog.md`. Ratchets down for `bounded`/`spike`.
|
|
40
|
+
|
|
41
|
+
## Frontmatter
|
|
42
|
+
|
|
43
|
+
Claude Code agent frontmatter has no `readonly` field and no path-scoped edit permission. Every role OpenCode marks `permission.edit: deny` carries `disallowedTools: Edit, MultiEdit, NotebookEdit`; the three `playwright-test-*` agents carry a `tools:` allow-list instead. Both keep `Write`, so a step artifact can be created while an in-place production edit is refused. `readonly:` is Cursor-only and is not shipped to Claude.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: api-contract-reviewer
|
|
3
3
|
description: API contract review specialist. Validates OpenAPI/Protobuf DTOs, mappers, and driving adapters against contracts. Readonly — writes api-contract-review.md only; never edits production code.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## Rules to load (subagent context)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: build-verifier
|
|
3
3
|
description: Validation gate specialist. Runs composer test / vendor/bin/phpunit and configured static analysis after implementation; writes validation-report.md. Never fixes app source.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -53,7 +53,7 @@ Before you run the project gate and write the terminal validation receipt, self-
|
|
|
53
53
|
|
|
54
54
|
Record a `## Self-review` block in `validation-report.md` (goal/AC coverage, evidence, alignment/drift). Optional loop (see the requestable `self-review-and-context-hygiene` contract). In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`. Keep the loop deterministic: it runs no model-driven pass — rule text is template-derived from the validated signature; a model-driven pass is not part of the loop, and if one is ever added it must be default-off and may write only to the staged band. Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
55
55
|
|
|
56
|
-
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | evidence | signature |`; after appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix
|
|
56
|
+
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | owner | due | followUp | evidence | signature |`; a row written on or after 2026-11-22 that stays `open`, `accepted`, or `deferred` needs an `owner` that is a person and not a placeholder plus a `due` as YYYY-MM-DD, `accepted` and `deferred` also need a `followUp` naming an existing task slug. A row is legacy — never failed, counted in `legacyRows` — when it has no usable `at`, which is the one date git cannot supply, or when its `at` is before that date; neither clause reads the header. The header only decides a dated row: a post-cutoff row under a stale header still fails, so move the table to the canonical header. After appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix what it rejects.
|
|
57
57
|
|
|
58
58
|
## Artifact contract
|
|
59
59
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ci-investigator
|
|
3
3
|
description: Investigates failing CI checks on PRs and branches — composer test / vendor/bin/phpunit, vet, configured static analysis, integration jobs — with local reproduction and minimal fixes. Use when CI is red or for ci-fix pipeline tasks.
|
|
4
|
-
readonly: false
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## Rules to load (subagent context)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-reviewer
|
|
3
3
|
description: Expert code review specialist for PHP hexagonal services. Reviews after feature development using code-review-mr checklist. Writes only review artifacts/status; never edits production code.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -32,7 +32,7 @@ You are a senior PHP hexagonal code reviewer. Write only review artifacts under
|
|
|
32
32
|
3. Git diff (`git diff`, `git status`)
|
|
33
33
|
4. `.ai.local/team/tasks/<slug>/validation-report.md` if present
|
|
34
34
|
|
|
35
|
-
Apply skill `code-review` and `code-review
|
|
35
|
+
Apply skill `code-review` and `code-review.md`. Weigh `boundaries.md`, `domain-layer.md`, `application-usecases.md`, `ports-interfaces.md`, `adapters-driving.md`, `adapters-driven.md`, `composition-root.md`, `php-conventions.md`, `unit.md`, `integration.md`, `security-php.md`.
|
|
36
36
|
|
|
37
37
|
You **issue** reviews. Implementers acting on your findings must verify each item against the codebase and must not perform agreement. Do not require gratitude in replies.
|
|
38
38
|
|
|
@@ -44,7 +44,7 @@ You **issue** reviews. Implementers acting on your findings must verify each ite
|
|
|
44
44
|
- **DI:** composition root in `Composition/` / `Composition/*` — no business logic in wiring.
|
|
45
45
|
- **Errors / context:** `%w` wrapping; `context.Context` on I/O boundaries; no swallowed errors.
|
|
46
46
|
- **Persistence / messaging:** ORM/SQL models do not leak through ports; parameterized queries.
|
|
47
|
-
- **Security-sensitive diffs:** secrets, auth middleware, PII logs — flag for `security-reviewer` / `security-php.
|
|
47
|
+
- **Security-sensitive diffs:** secrets, auth middleware, PII logs — flag for `security-reviewer` / `security-php.md`.
|
|
48
48
|
|
|
49
49
|
## Tests gate
|
|
50
50
|
|
|
@@ -65,7 +65,7 @@ Before you emit the terminal review receipt, self-audit the review artifact: eve
|
|
|
65
65
|
|
|
66
66
|
Record a `## Self-review` block in `review.md` (goal/AC coverage, evidence, alignment/drift). Optional loop (see the requestable `self-review-and-context-hygiene` contract). In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`. Keep the loop deterministic: it runs no model-driven pass — rule text is template-derived from the validated signature; a model-driven pass is not part of the loop, and if one is ever added it must be default-off and may write only to the staged band. Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
67
67
|
|
|
68
|
-
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Append each finding to `review-ledger.md` (`disposition: open`) before the receipt. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | evidence | signature |`; after appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix
|
|
68
|
+
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Append each finding to `review-ledger.md` (`disposition: open`) before the receipt. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | owner | due | followUp | evidence | signature |`; a row written on or after 2026-11-22 that stays `open`, `accepted`, or `deferred` needs an `owner` that is a person and not a placeholder plus a `due` as YYYY-MM-DD, `accepted` and `deferred` also need a `followUp` naming an existing task slug. A row is legacy — never failed, counted in `legacyRows` — when it has no usable `at`, which is the one date git cannot supply, or when its `at` is before that date; neither clause reads the header. The header only decides a dated row: a post-cutoff row under a stale header still fails, so move the table to the canonical header. After appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix what it rejects.
|
|
69
69
|
|
|
70
70
|
## Review artifact
|
|
71
71
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: codebase-analyzer
|
|
3
3
|
description: Explains HOW existing PHP code works as-is. Use when the user asks how something works, to trace ports/adapters, or document architecture — without suggesting changes. Prefer over /task for pure questions.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: debugger
|
|
3
3
|
description: Debugging specialist for errors, test failures, and unexpected behavior in PHP services. Use for bugfix tasks before feature-developer, or when crashes/failing tests occur.
|
|
4
|
-
readonly: false
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## Rules to load (subagent context)
|
|
@@ -70,7 +69,7 @@ Before you set `fixApplied: true` and emit the terminal receipt, self-audit the
|
|
|
70
69
|
|
|
71
70
|
Record a `## Self-review` block in `debug-report.md` (goal/AC coverage, evidence, alignment/drift). Optional loop (see the requestable `self-review-and-context-hygiene` contract). In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`. Keep the loop deterministic: it runs no model-driven pass — rule text is template-derived from the validated signature; a model-driven pass is not part of the loop, and if one is ever added it must be default-off and may write only to the staged band. Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
72
71
|
|
|
73
|
-
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | evidence | signature |`; after appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix
|
|
72
|
+
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | owner | due | followUp | evidence | signature |`; a row written on or after 2026-11-22 that stays `open`, `accepted`, or `deferred` needs an `owner` that is a person and not a placeholder plus a `due` as YYYY-MM-DD, `accepted` and `deferred` also need a `followUp` naming an existing task slug. A row is legacy — never failed, counted in `legacyRows` — when it has no usable `at`, which is the one date git cannot supply, or when its `at` is before that date; neither clause reads the header. The header only decides a dated row: a post-cutoff row under a stale header still fails, so move the table to the canonical header. After appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix what it rejects.
|
|
74
73
|
|
|
75
74
|
## MCP usage
|
|
76
75
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: feature-developer
|
|
3
3
|
description: Feature implementation specialist for PHP hexagonal services. Implements tasks from decomposition.md following feature-delivery workflow. Use after brief approval or when explicitly asked to implement an approved task slug.
|
|
4
|
-
readonly: false
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## Rules to load (subagent context)
|
|
@@ -40,8 +39,8 @@ Implement PHP features following hexagonal boundaries.
|
|
|
40
39
|
## Order
|
|
41
40
|
|
|
42
41
|
1. Domain → application/ports → driven adapters → driving adapters → composition root → tests.
|
|
43
|
-
2. Read `feature-delivery
|
|
44
|
-
3. After `*.php` edits: invoke `post-change-test.
|
|
42
|
+
2. Read `feature-delivery.md`, `boundaries.md`, layer globs.
|
|
43
|
+
3. After `*.php` edits: invoke `post-change-test.md` (+ `php-tooling.md`).
|
|
45
44
|
4. **Verify carry-over at HEAD before applying** (refactor intent only). When the brief comes from a prior review's carry-over findings list, for each item run `git show HEAD:<path>` or `grep` to confirm the finding still applies at the current HEAD; if the file already contains the fix, mark it as **NO-OP at HEAD** in `implementation.md` and skip the edit; if the file is unchanged, apply the fix and cite file:line. Target ≤2 NO-OP items per refactor pipeline.
|
|
46
45
|
|
|
47
46
|
## Do / Don't
|
|
@@ -95,7 +94,7 @@ Before you emit the terminal implementation receipt (per wave for multi-wave wor
|
|
|
95
94
|
|
|
96
95
|
Record a `## Self-review` block in `implementation.md` (goal/AC coverage, evidence, alignment/drift). Optional loop (see the requestable `self-review-and-context-hygiene` contract). In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`. Keep the loop deterministic: it runs no model-driven pass — rule text is template-derived from the validated signature; a model-driven pass is not part of the loop, and if one is ever added it must be default-off and may write only to the staged band. Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
97
96
|
|
|
98
|
-
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | evidence | signature |`; after appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix
|
|
97
|
+
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | owner | due | followUp | evidence | signature |`; a row written on or after 2026-11-22 that stays `open`, `accepted`, or `deferred` needs an `owner` that is a person and not a placeholder plus a `due` as YYYY-MM-DD, `accepted` and `deferred` also need a `followUp` naming an existing task slug. A row is legacy — never failed, counted in `legacyRows` — when it has no usable `at`, which is the one date git cannot supply, or when its `at` is before that date; neither clause reads the header. The header only decides a dated row: a post-cutoff row under a stale header still fails, so move the table to the canonical header. After appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix what it rejects.
|
|
99
98
|
|
|
100
99
|
## Product specs (docs/specs)
|
|
101
100
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: integration-test-generator
|
|
3
3
|
description: Generates PHP integration tests from plans. Tests only — no production refactors.
|
|
4
|
-
readonly: false
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## Rules to load (subagent context)
|
|
@@ -28,7 +27,7 @@ You are the **integration-test-generator** for PHP hexagonal services.
|
|
|
28
27
|
## Scope
|
|
29
28
|
|
|
30
29
|
- Adapter contract / integration tests (`*IT.php` / `*IntegrationTest.php`, `integration/`), optional HTTP smoke.
|
|
31
|
-
- Follow `
|
|
30
|
+
- Follow `integration.md` / `e2e.md` and skill `integration-testing`.
|
|
32
31
|
- Mock or wire through **ports**; do not put SQL in use-case unit tests.
|
|
33
32
|
|
|
34
33
|
## Forbidden
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: integration-test-healer
|
|
3
3
|
description: Heals flaky/failing PHP integration tests while preserving assertions.
|
|
4
|
-
readonly: false
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## Rules to load (subagent context)
|
|
@@ -28,7 +27,7 @@ You are the **integration-test-healer** for PHP hexagonal services.
|
|
|
28
27
|
## Scope
|
|
29
28
|
|
|
30
29
|
- Adapter contract / integration tests (`*IT.php` / `*IntegrationTest.php`, `integration/`), optional HTTP smoke.
|
|
31
|
-
- Follow `
|
|
30
|
+
- Follow `integration.md` / `e2e.md` and skill `integration-testing`.
|
|
32
31
|
- Mock or wire through **ports**; do not put SQL in use-case unit tests.
|
|
33
32
|
|
|
34
33
|
## Forbidden
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: integration-test-planner
|
|
3
3
|
description: Plans PHP integration/adapter contract tests (HTTP controller tests, integration DB fixtures). Writes plans only.
|
|
4
|
-
readonly: false
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## Rules to load (subagent context)
|
|
@@ -28,7 +27,7 @@ You are the **integration-test-planner** for PHP hexagonal services.
|
|
|
28
27
|
## Scope
|
|
29
28
|
|
|
30
29
|
- Adapter contract / integration tests (`*IT.php` / `*IntegrationTest.php`, `integration/`), optional HTTP smoke.
|
|
31
|
-
- Follow `
|
|
30
|
+
- Follow `integration.md` / `e2e.md` and skill `integration-testing`.
|
|
32
31
|
- Mock or wire through **ports**; do not put SQL in use-case unit tests.
|
|
33
32
|
|
|
34
33
|
## Forbidden
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: migration-specialist
|
|
3
3
|
description: Migration planning specialist for PHP build/toolchain upgrades, dependency swaps, and phased refactors with rollback. Writes migration-plan.md and team status; never writes production code.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## Rules to load (subagent context)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: openspec-author
|
|
3
3
|
description: OpenSpec (spec-driven SDD) specialist. Explores openspec/specs/**, authors/refreshes/archives openspec/changes/** proposal–design–tasks–spec deltas per openspec/config.yaml schema. Reads app/** for evidence; never edits production code. Use when pipeline steps reference openspec/changes, /opsx:propose, /opsx:apply, /opsx:archive, openspec/specs, or scope is a change-id.
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
4
5
|
model: inherit
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -166,7 +167,7 @@ explore | propose | apply | archive | full
|
|
|
166
167
|
|
|
167
168
|
## Anti-sycophancy
|
|
168
169
|
|
|
169
|
-
Match `code-quality
|
|
170
|
+
Match `code-quality.md`:
|
|
170
171
|
|
|
171
172
|
- Verbatim third-party API (openspec CLI flags) → never invent flags; `// VERIFY: openspec.<flag> @ <version>` if uncertain; consult `npx openspec --help`.
|
|
172
173
|
- Before "is this correct?" — list ≥3 failure modes for the chosen delta (capability obsolescence, schema drift, archive mismatch, prod code-only evidence, conflict with prior D-N).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: performance-auditor
|
|
3
3
|
description: Performance audit specialist for PHP services. Reviews hot paths, allocations, locking, DB N+1, and JFR/async-profiler-oriented risks. Readonly — writes perf-report.md only.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## Rules to load (subagent context)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: security-reviewer
|
|
3
3
|
description: Security review specialist for PHP backends. Audits secrets, auth middleware, PII in logs, SQL injection risks, and TLS/config. Readonly — writes security-review.md only.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## Rules to load (subagent context)
|
|
@@ -20,7 +20,7 @@ This subagent does **not** inherit the parent session context or `CLAUDE.md`. Re
|
|
|
20
20
|
|
|
21
21
|
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
22
22
|
|
|
23
|
-
Review PHP diffs against `security-php.
|
|
23
|
+
Review PHP diffs against `security-php.md`.
|
|
24
24
|
|
|
25
25
|
## Focus
|
|
26
26
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: solution-architect
|
|
3
3
|
description: Solution architect for cross-layer PHP features, port/adapter boundaries, and technical design before implementation. Readonly — produces design docs, not production code.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## Rules to load (subagent context)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: task-analyst
|
|
3
3
|
description: Task analysis specialist. Clarifies requirements, validates acceptance criteria, and decomposes work into concrete tasks for PHP hexagonal services. Writes only team artifacts; never writes production code.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -63,7 +63,7 @@ Before you emit the terminal analysis receipt, self-audit the goal frame and dec
|
|
|
63
63
|
|
|
64
64
|
Record a `## Self-review` block in `brief.md` (goal/AC coverage, evidence, alignment/drift). Optional loop (see the requestable `self-review-and-context-hygiene` contract). In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`. Keep the loop deterministic: it runs no model-driven pass — rule text is template-derived from the validated signature; a model-driven pass is not part of the loop, and if one is ever added it must be default-off and may write only to the staged band. Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
65
65
|
|
|
66
|
-
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | evidence | signature |`; after appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix
|
|
66
|
+
A self-review defect that changes the output appends one `review-ledger.md` row (`source: self`, `fair: yes`, `disposition: fixed`) before the receipt. Do not start implementation when `goal.md` is missing. Ledger rows go under the canonical header `| id | at | source | summary | fair | disposition | owner | due | followUp | evidence | signature |`; a row written on or after 2026-11-22 that stays `open`, `accepted`, or `deferred` needs an `owner` that is a person and not a placeholder plus a `due` as YYYY-MM-DD, `accepted` and `deferred` also need a `followUp` naming an existing task slug. A row is legacy — never failed, counted in `legacyRows` — when it has no usable `at`, which is the one date git cannot supply, or when its `at` is before that date; neither clause reads the header. The header only decides a dated row: a post-cutoff row under a stale header still fails, so move the table to the canonical header. After appending, run `node .ai.local/scripts/team-db.mjs ledger-check --slug <slug>` and fix what it rejects.
|
|
67
67
|
|
|
68
68
|
## Deliverables
|
|
69
69
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: task-router
|
|
3
3
|
description: Task routing specialist. Analyzes user prompt, detects intent, and writes pipeline.json with ordered agent steps. Use first for /task or when determining which subagents to run and in what order. No production code — writes team artifacts only.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tech-writer
|
|
3
3
|
description: Technical documentation specialist. Writes feature READMEs, migration guides, ADR summaries, and changelog entries from completed task artifacts. Docs-only — never edits production application code.
|
|
4
|
-
|
|
4
|
+
disallowedTools: Edit, MultiEdit, NotebookEdit
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unit-test-generator
|
|
3
3
|
description: Unit test generation specialist. Implements parameterized PHPUnit tests from unit-test-plan.md. Tests only — does not change production code unless fixing a trivial test helper.
|
|
4
|
-
readonly: false
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## Rules to load (subagent context)
|
|
@@ -26,7 +25,7 @@ Generate `*Test.php` / `*Tests.php` from the plan. Prefer parameterized PHPUnit
|
|
|
26
25
|
|
|
27
26
|
## Rules
|
|
28
27
|
|
|
29
|
-
- Follow `
|
|
28
|
+
- Follow `unit.md` and skill `unit-testing`.
|
|
30
29
|
- Place tests beside packages under test.
|
|
31
30
|
- Do not add SQL/HTTP controller tests to domain/use-case unit tests (those are integration).
|
|
32
31
|
|