@bonesofspring/ai-rules 0.2.34 → 0.2.35
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 +33 -0
- package/bin/cli.js +247 -337
- package/bin/lib/fs-utils.js +203 -0
- package/bin/lib/merged-config.js +296 -0
- package/bin/lib/safe-path.js +7 -3
- package/bin/lib/seed-ai-local-team.js +18 -2
- package/bin/mavis-install.js +67 -173
- package/bin/opencode-install.js +120 -227
- package/docs/PRESET-CONTRIBUTION.md +33 -12
- package/package.json +13 -2
- package/presets/_shared/README.md +2 -0
- package/presets/_shared/core/agent-team/agent-team-orchestrator.md +1 -1
- package/presets/_shared/core/architecture/feature-delivery-workflow.md +1 -1
- package/presets/_shared/core/meta/preset-no-cross-stack-leakage.md +0 -1
- package/presets/_shared/core/meta/preset-pr-checklist.md +6 -2
- package/presets/_shared/core/meta/preset-token-budget.md +2 -3
- package/presets/_shared/core/meta/preset-twin-sync.md +5 -5
- package/presets/_shared/core/quality/self-review-and-context-hygiene.md +11 -0
- package/presets/_shared/core/review/mockup-review.md +34 -29
- package/presets/claude/android-kotlin/REPO_AGENTS.md +10 -6
- package/presets/claude/android-kotlin/agents/build-verifier.md +3 -37
- package/presets/claude/android-kotlin/agents/code-reviewer.md +1 -1
- package/presets/claude/android-kotlin/agents/debugger.md +1 -1
- package/presets/claude/android-kotlin/agents/feature-developer.md +1 -1
- package/presets/claude/android-kotlin/agents/openspec-author.md +1 -1
- package/presets/claude/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/claude/android-kotlin/agents/tech-writer.md +1 -1
- package/presets/claude/android-kotlin/agents/unit-test-generator.md +1 -1
- package/presets/claude/android-kotlin/agents/unit-test-planner.md +1 -1
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +49 -17
- package/presets/claude/android-kotlin/rules/api-and-data/networking.md +1 -1
- package/presets/claude/android-kotlin/rules/architecture/boundaries.md +2 -2
- package/presets/claude/android-kotlin/rules/architecture/feature-delivery.md +13 -18
- package/presets/claude/android-kotlin/rules/architecture/module-public-api.md +1 -1
- package/presets/claude/android-kotlin/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/android-kotlin/rules/architecture/product-specs.md +1 -0
- package/presets/claude/android-kotlin/rules/architecture/reference-features.md +1 -2
- package/presets/claude/android-kotlin/rules/stack/android-app-core.md +2 -2
- package/presets/claude/android-kotlin/rules/stack/kotlin-conventions.md +1 -1
- package/presets/claude/android-kotlin/rules/testing/ui.md +1 -1
- package/presets/claude/android-kotlin/rules/testing/unit.md +2 -2
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-intake.md +1 -3
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +236 -11
- package/presets/claude/android-kotlin/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/android-kotlin/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -2
- package/presets/claude/android-kotlin/rules/tooling-and-review/code-review.md +1 -5
- package/presets/claude/android-kotlin/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/android-kotlin/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/android-kotlin/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/android-kotlin/rules/tooling-and-review/mockup-review.md +35 -32
- package/presets/claude/android-kotlin/rules/tooling-and-review/post-change-build.md +2 -6
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-layering.md +2 -3
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -4
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-pr-checklist.md +8 -5
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-token-budget.md +4 -6
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-twin-sync.md +7 -8
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/android-kotlin/rules/tooling-and-review/technical-retro.md +1 -3
- package/presets/claude/android-kotlin/rules/tooling-and-review/ux-design.md +1 -3
- package/presets/claude/android-kotlin/rules/ui-and-accessibility/compose.md +1 -1
- package/presets/claude/android-kotlin/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/android-kotlin/team/README.md +2 -2
- package/presets/claude/go/REPO_AGENTS.md +10 -6
- package/presets/claude/go/agents/build-verifier.md +3 -29
- package/presets/claude/go/agents/ci-investigator.md +2 -2
- package/presets/claude/go/agents/code-reviewer.md +1 -1
- package/presets/claude/go/agents/debugger.md +1 -1
- package/presets/claude/go/agents/feature-developer.md +1 -3
- package/presets/claude/go/agents/openspec-author.md +1 -1
- package/presets/claude/go/agents/task-analyst.md +1 -1
- package/presets/claude/go/agents/tech-writer.md +1 -1
- package/presets/claude/go/hooks/chain-team-phases.sh +51 -19
- package/presets/claude/go/rules/api-and-data/adapters-driven.md +1 -1
- package/presets/claude/go/rules/api-and-data/adapters-driving.md +2 -2
- package/presets/claude/go/rules/architecture/boundaries.md +1 -0
- package/presets/claude/go/rules/architecture/feature-delivery.md +45 -41
- package/presets/claude/go/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/go/rules/architecture/product-specs.md +1 -0
- package/presets/claude/go/rules/architecture/reference-features.md +37 -21
- package/presets/claude/go/rules/tooling-and-review/agent-team-intake.md +1 -6
- package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +76 -50
- package/presets/claude/go/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/go/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -2
- package/presets/claude/go/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/go/rules/tooling-and-review/code-review.md +1 -6
- package/presets/claude/go/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/go/rules/tooling-and-review/go-tooling.md +2 -7
- package/presets/claude/go/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/go/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/go/rules/tooling-and-review/post-change-test.md +2 -7
- package/presets/claude/go/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/go/rules/tooling-and-review/preset-layering.md +2 -3
- package/presets/claude/go/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -4
- package/presets/claude/go/rules/tooling-and-review/preset-pr-checklist.md +8 -5
- package/presets/claude/go/rules/tooling-and-review/preset-token-budget.md +4 -6
- package/presets/claude/go/rules/tooling-and-review/preset-twin-sync.md +7 -8
- package/presets/claude/go/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/go/rules/tooling-and-review/technical-retro.md +1 -6
- package/presets/claude/go/skills/ci-investigation/SKILL.md +2 -2
- package/presets/claude/go/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/go/team/README.md +2 -2
- package/presets/claude/ios-swift/REPO_AGENTS.md +10 -6
- package/presets/claude/ios-swift/agents/build-verifier.md +3 -39
- package/presets/claude/ios-swift/agents/code-reviewer.md +1 -1
- package/presets/claude/ios-swift/agents/debugger.md +1 -1
- package/presets/claude/ios-swift/agents/feature-developer.md +1 -1
- package/presets/claude/ios-swift/agents/openspec-author.md +1 -1
- package/presets/claude/ios-swift/agents/task-analyst.md +1 -1
- package/presets/claude/ios-swift/agents/tech-writer.md +1 -1
- package/presets/claude/ios-swift/agents/unit-test-generator.md +1 -1
- package/presets/claude/ios-swift/agents/unit-test-planner.md +1 -1
- package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +1 -1
- package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +2 -2
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +49 -17
- package/presets/claude/ios-swift/rules/api-and-data/networking.md +3 -1
- package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +58 -9
- package/presets/claude/ios-swift/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/ios-swift/rules/architecture/product-specs.md +1 -0
- package/presets/claude/ios-swift/rules/architecture/reference-features.md +44 -7
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-intake.md +1 -3
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +236 -11
- package/presets/claude/ios-swift/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/ios-swift/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -2
- package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +1 -5
- package/presets/claude/ios-swift/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/ios-swift/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/ios-swift/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/ios-swift/rules/tooling-and-review/mockup-review.md +35 -32
- package/presets/claude/ios-swift/rules/tooling-and-review/post-change-build.md +2 -6
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-layering.md +2 -3
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -4
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-pr-checklist.md +8 -5
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-token-budget.md +4 -6
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-twin-sync.md +7 -8
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/ios-swift/rules/tooling-and-review/security-ios.md +0 -2
- package/presets/claude/ios-swift/rules/tooling-and-review/technical-retro.md +1 -3
- package/presets/claude/ios-swift/rules/tooling-and-review/ux-design.md +1 -3
- package/presets/claude/ios-swift/rules/tooling-and-review/xcode-tooling.md +1 -5
- package/presets/claude/ios-swift/rules/ui-and-accessibility/swiftui.md +2 -1
- package/presets/claude/ios-swift/rules/ui-and-accessibility/viewmodels.md +2 -1
- package/presets/claude/ios-swift/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/ios-swift/skills/xcuitest-e2e/SKILL.md +1 -1
- package/presets/claude/ios-swift/team/README.md +2 -2
- package/presets/claude/java/REPO_AGENTS.md +10 -6
- package/presets/claude/java/agents/build-verifier.md +3 -39
- package/presets/claude/java/agents/ci-investigator.md +2 -2
- package/presets/claude/java/agents/code-reviewer.md +1 -1
- package/presets/claude/java/agents/debugger.md +1 -1
- package/presets/claude/java/agents/feature-developer.md +1 -3
- package/presets/claude/java/agents/openspec-author.md +1 -1
- package/presets/claude/java/agents/task-analyst.md +1 -1
- package/presets/claude/java/agents/tech-writer.md +1 -1
- package/presets/claude/java/hooks/chain-team-phases.sh +51 -19
- package/presets/claude/java/rules/api-and-data/adapters-driven.md +2 -1
- package/presets/claude/java/rules/api-and-data/adapters-driving.md +3 -2
- package/presets/claude/java/rules/api-and-data/api-grpc.md +1 -0
- package/presets/claude/java/rules/api-and-data/api-http.md +1 -0
- package/presets/claude/java/rules/api-and-data/messaging-adapters.md +1 -1
- package/presets/claude/java/rules/api-and-data/persistence-adapters.md +1 -0
- package/presets/claude/java/rules/architecture/application-usecases.md +2 -1
- package/presets/claude/java/rules/architecture/boundaries.md +1 -0
- package/presets/claude/java/rules/architecture/composition-root.md +1 -0
- package/presets/claude/java/rules/architecture/domain-layer.md +2 -1
- package/presets/claude/java/rules/architecture/feature-delivery.md +46 -43
- package/presets/claude/java/rules/architecture/module-public-api.md +1 -0
- package/presets/claude/java/rules/architecture/ports-interfaces.md +2 -1
- package/presets/claude/java/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/java/rules/architecture/product-specs.md +1 -0
- package/presets/claude/java/rules/architecture/reference-features.md +38 -22
- package/presets/claude/java/rules/stack/java-conventions.md +1 -0
- package/presets/claude/java/rules/testing/e2e.md +1 -0
- package/presets/claude/java/rules/testing/integration.md +1 -0
- package/presets/claude/java/rules/testing/unit.md +1 -0
- package/presets/claude/java/rules/tooling-and-review/agent-team-intake.md +1 -7
- package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +76 -51
- package/presets/claude/java/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/java/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -2
- package/presets/claude/java/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/java/rules/tooling-and-review/code-review.md +1 -7
- package/presets/claude/java/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/java/rules/tooling-and-review/java-tooling.md +0 -3
- package/presets/claude/java/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/java/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/java/rules/tooling-and-review/post-change-test.md +0 -3
- package/presets/claude/java/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/java/rules/tooling-and-review/preset-layering.md +2 -3
- package/presets/claude/java/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -4
- package/presets/claude/java/rules/tooling-and-review/preset-pr-checklist.md +8 -5
- package/presets/claude/java/rules/tooling-and-review/preset-token-budget.md +4 -6
- package/presets/claude/java/rules/tooling-and-review/preset-twin-sync.md +7 -8
- package/presets/claude/java/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/java/rules/tooling-and-review/security-java.md +1 -0
- package/presets/claude/java/rules/tooling-and-review/technical-retro.md +1 -7
- package/presets/claude/java/skills/ci-investigation/SKILL.md +2 -2
- package/presets/claude/java/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/java/team/README.md +2 -2
- package/presets/claude/mcp-ts/REPO_AGENTS.md +10 -6
- package/presets/claude/mcp-ts/agents/README.md +1 -1
- package/presets/claude/mcp-ts/agents/build-verifier.md +3 -32
- package/presets/claude/mcp-ts/agents/feature-developer.md +1 -1
- package/presets/claude/mcp-ts/agents/task-analyst.md +1 -1
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +50 -18
- package/presets/claude/mcp-ts/rules/architecture/feature-delivery.md +45 -36
- package/presets/claude/mcp-ts/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/mcp-ts/rules/architecture/product-specs.md +1 -0
- package/presets/claude/mcp-ts/rules/architecture/reference-features.md +36 -19
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-intake.md +1 -3
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +78 -49
- package/presets/claude/mcp-ts/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/mcp-ts/rules/tooling-and-review/anti-sycophancy-discipline.md +2 -4
- package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +1 -2
- package/presets/claude/mcp-ts/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/mcp-ts/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/mcp-ts/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/mcp-ts/rules/tooling-and-review/post-change-test.md +1 -5
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-layering.md +2 -3
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -4
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-pr-checklist.md +8 -5
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-token-budget.md +4 -6
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-twin-sync.md +7 -8
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/mcp-ts/rules/tooling-and-review/technical-retro.md +1 -3
- package/presets/claude/mcp-ts/team/README.md +2 -2
- package/presets/claude/next/REPO_AGENTS.md +11 -7
- package/presets/claude/next/agents/build-verifier.md +2 -42
- package/presets/claude/next/agents/code-reviewer.md +9 -38
- package/presets/claude/next/agents/debugger.md +1 -1
- package/presets/claude/next/agents/feature-developer.md +14 -15
- package/presets/claude/next/agents/mockup-reviewer.md +14 -13
- package/presets/claude/next/agents/openspec-author.md +1 -1
- package/presets/claude/next/agents/task-analyst.md +1 -1
- package/presets/claude/next/agents/tech-writer.md +1 -1
- package/presets/claude/next/agents/unit-test-generator.md +1 -1
- package/presets/claude/next/agents/unit-test-planner.md +1 -1
- package/presets/claude/next/hooks/chain-team-phases.sh +49 -17
- package/presets/claude/next/rules/anti-hallucination/react-next-anti-hallucination.md +5 -3
- package/presets/claude/next/rules/api-and-data/api-services.md +1 -1
- package/presets/claude/next/rules/api-and-data/http-client.md +10 -9
- package/presets/claude/next/rules/api-and-data/store-rtk.md +2 -2
- package/presets/claude/next/rules/architecture/architecture-boundaries-ui.md +1 -0
- package/presets/claude/next/rules/architecture/architecture-boundaries.md +17 -24
- package/presets/claude/next/rules/architecture/feature-delivery-workflow.md +89 -42
- package/presets/claude/next/rules/architecture/layer-barrel-exports.md +10 -9
- package/presets/claude/next/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/next/rules/architecture/product-specs.md +2 -1
- package/presets/claude/next/rules/architecture/public-imports.md +4 -3
- package/presets/claude/next/rules/architecture/reference-features.md +47 -7
- package/presets/claude/next/rules/stack/arrow-functions.md +3 -2
- package/presets/claude/next/rules/stack/navigation-router-ui.md +2 -1
- package/presets/claude/next/rules/stack/navigation-router.md +13 -14
- package/presets/claude/next/rules/stack/next-app-core.md +4 -4
- package/presets/claude/next/rules/stack/next-app-router.md +8 -7
- package/presets/claude/next/rules/stack/next-static-export.md +5 -4
- package/presets/claude/next/rules/stack/no-type-assertion.md +13 -13
- package/presets/claude/next/rules/stack/types-jsdoc.md +15 -17
- package/presets/claude/next/rules/testing/playwright-agents.md +3 -4
- package/presets/claude/next/rules/testing/tests-e2e-structure.md +6 -5
- package/presets/claude/next/rules/testing/tests-unit.md +3 -2
- package/presets/claude/next/rules/tooling-and-review/agent-team-intake.md +2 -3
- package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +291 -55
- package/presets/claude/next/rules/tooling-and-review/ai-local-overlay.md +5 -43
- package/presets/claude/next/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -2
- package/presets/claude/next/rules/tooling-and-review/code-quality.md +2 -2
- package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +5 -21
- package/presets/claude/next/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/next/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/next/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/next/rules/tooling-and-review/mockup-review.md +45 -48
- package/presets/claude/next/rules/tooling-and-review/package-manager.md +4 -0
- package/presets/claude/next/rules/tooling-and-review/post-change-lint.md +9 -13
- package/presets/claude/next/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/next/rules/tooling-and-review/preset-layering.md +2 -3
- package/presets/claude/next/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -4
- package/presets/claude/next/rules/tooling-and-review/preset-pr-checklist.md +8 -5
- package/presets/claude/next/rules/tooling-and-review/preset-token-budget.md +4 -6
- package/presets/claude/next/rules/tooling-and-review/preset-twin-sync.md +7 -8
- package/presets/claude/next/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/next/rules/tooling-and-review/security-next.md +1 -3
- package/presets/claude/next/rules/tooling-and-review/technical-retro.md +2 -4
- package/presets/claude/next/rules/tooling-and-review/ux-design.md +1 -3
- package/presets/claude/next/rules/ui-and-accessibility/component-catalog-gate.md +4 -3
- package/presets/claude/next/rules/ui-and-accessibility/css-property-order.md +3 -2
- package/presets/claude/next/rules/ui-and-accessibility/design-tokens-binding.md +13 -21
- package/presets/claude/next/rules/ui-and-accessibility/forms-validation.md +1 -1
- package/presets/claude/next/rules/ui-and-accessibility/no-props-spread.md +11 -31
- package/presets/claude/next/rules/ui-and-accessibility/react-a11y-coding.md +5 -4
- package/presets/claude/next/rules/ui-and-accessibility/react-ui.md +9 -14
- package/presets/claude/next/skills/code-review/SKILL.md +1 -1
- package/presets/claude/next/skills/figma-fidelity/SKILL.md +76 -49
- package/presets/claude/next/skills/mockup-review/SKILL.md +4 -2
- package/presets/claude/next/skills/react-performance/SKILL.md +1 -1
- package/presets/claude/next/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/next/team/README.md +2 -2
- package/presets/claude/nuxt/REPO_AGENTS.md +10 -6
- package/presets/claude/nuxt/agents/build-verifier.md +1 -39
- package/presets/claude/nuxt/agents/code-reviewer.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/openspec-author.md +1 -1
- package/presets/claude/nuxt/agents/task-analyst.md +1 -1
- package/presets/claude/nuxt/agents/tech-writer.md +1 -1
- package/presets/claude/nuxt/agents/unit-test-generator.md +1 -1
- package/presets/claude/nuxt/agents/unit-test-planner.md +1 -1
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +49 -17
- package/presets/claude/nuxt/rules/anti-hallucination/vue-nuxt-anti-hallucination.md +4 -1
- package/presets/claude/nuxt/rules/api-and-data/api-services.md +9 -7
- package/presets/claude/nuxt/rules/api-and-data/http-client.md +1 -0
- package/presets/claude/nuxt/rules/api-and-data/store-pinia.md +1 -0
- package/presets/claude/nuxt/rules/architecture/architecture-boundaries.md +9 -8
- package/presets/claude/nuxt/rules/architecture/feature-delivery-workflow.md +72 -22
- package/presets/claude/nuxt/rules/architecture/layer-barrel-exports.md +9 -7
- package/presets/claude/nuxt/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/nuxt/rules/architecture/product-specs.md +1 -0
- package/presets/claude/nuxt/rules/architecture/public-imports.md +7 -7
- package/presets/claude/nuxt/rules/architecture/reference-features.md +46 -10
- package/presets/claude/nuxt/rules/stack/navigation-router-ui.md +8 -3
- package/presets/claude/nuxt/rules/stack/navigation-router.md +7 -2
- package/presets/claude/nuxt/rules/stack/no-type-assertion.md +2 -5
- package/presets/claude/nuxt/rules/stack/nuxt-pages-routing.md +7 -3
- package/presets/claude/nuxt/rules/stack/script-setup-conventions.md +3 -1
- package/presets/claude/nuxt/rules/stack/types-jsdoc.md +21 -16
- package/presets/claude/nuxt/rules/testing/playwright-agents.md +3 -1
- package/presets/claude/nuxt/rules/testing/tests-e2e-structure.md +5 -4
- package/presets/claude/nuxt/rules/testing/tests-unit.md +3 -1
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-intake.md +1 -1
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +237 -9
- package/presets/claude/nuxt/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/nuxt/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -7
- package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +7 -13
- package/presets/claude/nuxt/rules/tooling-and-review/design-guidance.md +1 -7
- package/presets/claude/nuxt/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/nuxt/rules/tooling-and-review/mcp-usage.md +1 -7
- package/presets/claude/nuxt/rules/tooling-and-review/mockup-review.md +35 -32
- package/presets/claude/nuxt/rules/tooling-and-review/post-change-lint.md +1 -3
- package/presets/claude/nuxt/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/nuxt/rules/tooling-and-review/preset-layering.md +4 -1
- package/presets/claude/nuxt/rules/tooling-and-review/preset-no-cross-stack-leakage.md +4 -2
- package/presets/claude/nuxt/rules/tooling-and-review/preset-pr-checklist.md +10 -3
- package/presets/claude/nuxt/rules/tooling-and-review/preset-token-budget.md +4 -3
- package/presets/claude/nuxt/rules/tooling-and-review/preset-twin-sync.md +9 -6
- package/presets/claude/nuxt/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/nuxt/rules/tooling-and-review/security-nuxt.md +1 -0
- package/presets/claude/nuxt/rules/tooling-and-review/technical-retro.md +1 -1
- package/presets/claude/nuxt/rules/tooling-and-review/ux-design.md +1 -3
- package/presets/claude/nuxt/rules/ui-and-accessibility/css-property-order.md +4 -1
- package/presets/claude/nuxt/rules/ui-and-accessibility/no-v-bind-spread.md +4 -1
- package/presets/claude/nuxt/rules/ui-and-accessibility/vue-a11y-coding.md +7 -3
- package/presets/claude/nuxt/rules/ui-and-accessibility/vue-ui.md +6 -3
- package/presets/claude/nuxt/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/nuxt/team/README.md +2 -2
- package/presets/claude/php-hexagonal/REPO_AGENTS.md +10 -6
- package/presets/claude/php-hexagonal/agents/build-verifier.md +3 -39
- package/presets/claude/php-hexagonal/agents/ci-investigator.md +2 -2
- package/presets/claude/php-hexagonal/agents/code-reviewer.md +1 -1
- package/presets/claude/php-hexagonal/agents/debugger.md +1 -1
- package/presets/claude/php-hexagonal/agents/feature-developer.md +1 -3
- package/presets/claude/php-hexagonal/agents/openspec-author.md +1 -1
- package/presets/claude/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/claude/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +51 -19
- package/presets/claude/php-hexagonal/rules/api-and-data/adapters-driven.md +3 -1
- package/presets/claude/php-hexagonal/rules/api-and-data/adapters-driving.md +5 -2
- package/presets/claude/php-hexagonal/rules/api-and-data/api-grpc.md +3 -2
- package/presets/claude/php-hexagonal/rules/api-and-data/api-http.md +4 -1
- package/presets/claude/php-hexagonal/rules/api-and-data/persistence-adapters.md +2 -1
- package/presets/claude/php-hexagonal/rules/architecture/application-usecases.md +2 -1
- package/presets/claude/php-hexagonal/rules/architecture/composition-root.md +5 -2
- package/presets/claude/php-hexagonal/rules/architecture/domain-layer.md +2 -1
- package/presets/claude/php-hexagonal/rules/architecture/feature-delivery.md +45 -43
- package/presets/claude/php-hexagonal/rules/architecture/ports-interfaces.md +4 -2
- package/presets/claude/php-hexagonal/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/php-hexagonal/rules/architecture/product-specs.md +1 -0
- package/presets/claude/php-hexagonal/rules/architecture/reference-features.md +36 -25
- package/presets/claude/php-hexagonal/rules/stack/php-app-core.md +1 -1
- package/presets/claude/php-hexagonal/rules/stack/php-conventions.md +1 -0
- package/presets/claude/php-hexagonal/rules/testing/integration.md +4 -3
- package/presets/claude/php-hexagonal/rules/testing/unit.md +3 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-intake.md +1 -7
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +76 -51
- package/presets/claude/php-hexagonal/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/php-hexagonal/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -2
- package/presets/claude/php-hexagonal/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +1 -7
- package/presets/claude/php-hexagonal/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/php-hexagonal/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/php-hexagonal/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/php-hexagonal/rules/tooling-and-review/php-tooling.md +1 -3
- package/presets/claude/php-hexagonal/rules/tooling-and-review/post-change-test.md +4 -6
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-layering.md +2 -3
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -4
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-pr-checklist.md +8 -5
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-token-budget.md +4 -6
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-twin-sync.md +7 -8
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/php-hexagonal/rules/tooling-and-review/security-php.md +4 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/technical-retro.md +1 -7
- package/presets/claude/php-hexagonal/skills/ci-investigation/SKILL.md +2 -2
- package/presets/claude/php-hexagonal/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/php-hexagonal/team/README.md +2 -2
- package/presets/claude/php-laravel/REPO_AGENTS.md +10 -6
- package/presets/claude/php-laravel/agents/build-verifier.md +3 -39
- package/presets/claude/php-laravel/agents/ci-investigator.md +2 -2
- package/presets/claude/php-laravel/agents/code-reviewer.md +1 -1
- package/presets/claude/php-laravel/agents/debugger.md +1 -1
- package/presets/claude/php-laravel/agents/feature-developer.md +1 -3
- package/presets/claude/php-laravel/agents/openspec-author.md +1 -1
- package/presets/claude/php-laravel/agents/task-analyst.md +1 -1
- package/presets/claude/php-laravel/agents/tech-writer.md +1 -1
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +51 -19
- package/presets/claude/php-laravel/rules/api-and-data/eloquent-persistence.md +2 -0
- package/presets/claude/php-laravel/rules/api-and-data/events-listeners.md +2 -0
- package/presets/claude/php-laravel/rules/api-and-data/form-requests.md +2 -0
- package/presets/claude/php-laravel/rules/api-and-data/http-layer.md +2 -0
- package/presets/claude/php-laravel/rules/api-and-data/jobs-queues.md +2 -0
- package/presets/claude/php-laravel/rules/api-and-data/policies-authorization.md +2 -0
- package/presets/claude/php-laravel/rules/api-and-data/routes-api.md +2 -0
- package/presets/claude/php-laravel/rules/architecture/actions-services.md +2 -0
- package/presets/claude/php-laravel/rules/architecture/boundaries.md +2 -0
- package/presets/claude/php-laravel/rules/architecture/domain-layer.md +2 -0
- package/presets/claude/php-laravel/rules/architecture/feature-delivery.md +46 -43
- package/presets/claude/php-laravel/rules/architecture/module-public-api.md +1 -0
- package/presets/claude/php-laravel/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/php-laravel/rules/architecture/product-specs.md +1 -0
- package/presets/claude/php-laravel/rules/architecture/reference-features.md +37 -27
- package/presets/claude/php-laravel/rules/architecture/service-providers.md +2 -0
- package/presets/claude/php-laravel/rules/stack/laravel-app-core.md +3 -1
- package/presets/claude/php-laravel/rules/stack/laravel-conventions.md +2 -0
- package/presets/claude/php-laravel/rules/testing/e2e.md +1 -0
- package/presets/claude/php-laravel/rules/testing/integration.md +2 -0
- package/presets/claude/php-laravel/rules/testing/unit.md +2 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-intake.md +1 -3
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +76 -47
- package/presets/claude/php-laravel/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/php-laravel/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -2
- package/presets/claude/php-laravel/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +1 -3
- package/presets/claude/php-laravel/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/php-laravel/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/php-laravel/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/php-laravel/rules/tooling-and-review/php-tooling.md +2 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/post-change-test.md +5 -4
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-layering.md +3 -2
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-no-cross-stack-leakage.md +3 -3
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-pr-checklist.md +9 -4
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-token-budget.md +5 -5
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-twin-sync.md +8 -7
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/php-laravel/rules/tooling-and-review/security-php.md +2 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/technical-retro.md +1 -3
- package/presets/claude/php-laravel/skills/ci-investigation/SKILL.md +2 -2
- package/presets/claude/php-laravel/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/php-laravel/team/README.md +2 -2
- package/presets/claude/svelte/REPO_AGENTS.md +10 -6
- package/presets/claude/svelte/agents/build-verifier.md +1 -39
- package/presets/claude/svelte/agents/code-reviewer.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/openspec-author.md +1 -1
- package/presets/claude/svelte/agents/task-analyst.md +1 -1
- package/presets/claude/svelte/agents/tech-writer.md +1 -1
- package/presets/claude/svelte/agents/unit-test-generator.md +1 -1
- package/presets/claude/svelte/agents/unit-test-planner.md +1 -1
- package/presets/claude/svelte/hooks/chain-team-phases.sh +49 -17
- package/presets/claude/svelte/rules/anti-hallucination/svelte-sveltekit-anti-hallucination.md +3 -1
- package/presets/claude/svelte/rules/api-and-data/api-services.md +1 -0
- package/presets/claude/svelte/rules/api-and-data/store-svelte.md +1 -0
- package/presets/claude/svelte/rules/architecture/architecture-boundaries.md +1 -0
- package/presets/claude/svelte/rules/architecture/feature-delivery-workflow.md +58 -8
- package/presets/claude/svelte/rules/architecture/layer-barrel-exports.md +7 -6
- package/presets/claude/svelte/rules/architecture/product-specs-authoring.md +1 -0
- package/presets/claude/svelte/rules/architecture/product-specs.md +1 -0
- package/presets/claude/svelte/rules/architecture/public-imports.md +1 -0
- package/presets/claude/svelte/rules/architecture/reference-features.md +46 -9
- package/presets/claude/svelte/rules/stack/no-type-assertion.md +1 -1
- package/presets/claude/svelte/rules/stack/svelte-script-conventions.md +2 -1
- package/presets/claude/svelte/rules/stack/types-jsdoc.md +19 -15
- package/presets/claude/svelte/rules/testing/tests-e2e-structure.md +5 -4
- package/presets/claude/svelte/rules/testing/tests-unit.md +3 -1
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-intake.md +1 -2
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +238 -11
- package/presets/claude/svelte/rules/tooling-and-review/ai-local-overlay.md +7 -31
- package/presets/claude/svelte/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -2
- package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +7 -13
- package/presets/claude/svelte/rules/tooling-and-review/design-guidance.md +1 -2
- package/presets/claude/svelte/rules/tooling-and-review/language-policy.md +1 -2
- package/presets/claude/svelte/rules/tooling-and-review/mcp-usage.md +1 -2
- package/presets/claude/svelte/rules/tooling-and-review/mockup-review.md +35 -32
- package/presets/claude/svelte/rules/tooling-and-review/post-change-lint.md +2 -4
- package/presets/claude/svelte/rules/tooling-and-review/preset-goals.md +2 -3
- package/presets/claude/svelte/rules/tooling-and-review/preset-layering.md +2 -2
- package/presets/claude/svelte/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -3
- package/presets/claude/svelte/rules/tooling-and-review/preset-pr-checklist.md +8 -4
- package/presets/claude/svelte/rules/tooling-and-review/preset-token-budget.md +4 -5
- package/presets/claude/svelte/rules/tooling-and-review/preset-twin-sync.md +7 -7
- package/presets/claude/svelte/rules/tooling-and-review/preset-writing-style.md +2 -3
- package/presets/claude/svelte/rules/tooling-and-review/technical-retro.md +1 -2
- package/presets/claude/svelte/rules/tooling-and-review/ux-design.md +1 -3
- package/presets/claude/svelte/rules/ui-and-accessibility/css-property-order.md +3 -1
- package/presets/claude/svelte/skills/technical-retro/SKILL.md +13 -2
- package/presets/claude/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/claude/svelte/team/README.md +2 -2
- package/presets/cursor/android-kotlin/REPO_AGENTS.md +10 -6
- package/presets/cursor/android-kotlin/agents/build-verifier.md +3 -37
- 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/openspec-author.md +1 -1
- package/presets/cursor/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/cursor/android-kotlin/agents/tech-writer.md +1 -1
- package/presets/cursor/android-kotlin/agents/unit-test-generator.md +1 -1
- package/presets/cursor/android-kotlin/agents/unit-test-planner.md +1 -1
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +49 -17
- package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +2 -2
- package/presets/cursor/android-kotlin/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/android-kotlin/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/android-kotlin/rules/design-guidance.mdc +0 -2
- package/presets/cursor/android-kotlin/rules/language-policy.mdc +1 -1
- package/presets/cursor/android-kotlin/rules/mockup-review.mdc +34 -29
- package/presets/cursor/android-kotlin/rules/preset-goals.mdc +2 -2
- package/presets/cursor/android-kotlin/rules/preset-layering.mdc +2 -2
- package/presets/cursor/android-kotlin/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/android-kotlin/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/android-kotlin/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/android-kotlin/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/android-kotlin/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/android-kotlin/rules/reference-features.mdc +0 -2
- package/presets/cursor/android-kotlin/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/android-kotlin/team/README.md +1 -1
- package/presets/cursor/go/REPO_AGENTS.md +10 -6
- package/presets/cursor/go/agents/build-verifier.md +3 -29
- package/presets/cursor/go/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/cursor/go/agents/openspec-author.md +1 -1
- package/presets/cursor/go/agents/task-analyst.md +1 -1
- package/presets/cursor/go/agents/tech-writer.md +1 -1
- package/presets/cursor/go/hooks/chain-team-phases.sh +51 -19
- package/presets/cursor/go/rules/agent-team-orchestrator.mdc +1 -1
- package/presets/cursor/go/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/go/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/go/rules/design-guidance.mdc +0 -2
- package/presets/cursor/go/rules/language-policy.mdc +1 -1
- package/presets/cursor/go/rules/preset-goals.mdc +2 -2
- package/presets/cursor/go/rules/preset-layering.mdc +2 -2
- package/presets/cursor/go/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/go/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/go/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/go/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/go/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/go/rules/reference-features.mdc +0 -3
- package/presets/cursor/go/skills/ci-investigation/SKILL.md +2 -2
- package/presets/cursor/go/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/go/team/README.md +1 -1
- package/presets/cursor/ios-swift/REPO_AGENTS.md +10 -6
- package/presets/cursor/ios-swift/agents/build-verifier.md +3 -39
- 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/openspec-author.md +1 -1
- package/presets/cursor/ios-swift/agents/task-analyst.md +1 -1
- package/presets/cursor/ios-swift/agents/tech-writer.md +1 -1
- package/presets/cursor/ios-swift/agents/unit-test-generator.md +1 -1
- package/presets/cursor/ios-swift/agents/unit-test-planner.md +1 -1
- package/presets/cursor/ios-swift/agents/xcuitest-test-generator.md +1 -1
- package/presets/cursor/ios-swift/agents/xcuitest-test-planner.md +2 -2
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +49 -17
- package/presets/cursor/ios-swift/rules/README.md +1 -1
- package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +2 -2
- package/presets/cursor/ios-swift/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/ios-swift/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/ios-swift/rules/design-guidance.mdc +0 -2
- package/presets/cursor/ios-swift/rules/language-policy.mdc +1 -1
- package/presets/cursor/ios-swift/rules/mockup-review.mdc +34 -29
- package/presets/cursor/ios-swift/rules/networking-services.mdc +4 -1
- package/presets/cursor/ios-swift/rules/preset-goals.mdc +2 -2
- package/presets/cursor/ios-swift/rules/preset-layering.mdc +2 -2
- package/presets/cursor/ios-swift/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/ios-swift/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/ios-swift/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/ios-swift/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/ios-swift/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/ios-swift/rules/reference-features.mdc +0 -6
- package/presets/cursor/ios-swift/rules/state-and-viewmodels.mdc +3 -1
- package/presets/cursor/ios-swift/rules/swiftui-ui.mdc +3 -1
- package/presets/cursor/ios-swift/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/ios-swift/skills/xcuitest-e2e/SKILL.md +1 -1
- package/presets/cursor/ios-swift/team/README.md +1 -1
- package/presets/cursor/java/REPO_AGENTS.md +10 -6
- package/presets/cursor/java/agents/build-verifier.md +3 -39
- package/presets/cursor/java/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/cursor/java/agents/openspec-author.md +1 -1
- package/presets/cursor/java/agents/task-analyst.md +1 -1
- package/presets/cursor/java/agents/tech-writer.md +1 -1
- package/presets/cursor/java/hooks/chain-team-phases.sh +51 -19
- package/presets/cursor/java/rules/agent-team-orchestrator.mdc +1 -1
- package/presets/cursor/java/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/java/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/java/rules/design-guidance.mdc +0 -2
- package/presets/cursor/java/rules/language-policy.mdc +1 -1
- package/presets/cursor/java/rules/preset-goals.mdc +2 -2
- package/presets/cursor/java/rules/preset-layering.mdc +2 -2
- package/presets/cursor/java/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/java/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/java/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/java/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/java/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/java/rules/reference-features.mdc +0 -4
- package/presets/cursor/java/skills/ci-investigation/SKILL.md +2 -2
- package/presets/cursor/java/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/java/team/README.md +1 -1
- package/presets/cursor/mcp-ts/REPO_AGENTS.md +10 -6
- package/presets/cursor/mcp-ts/agents/README.md +1 -1
- package/presets/cursor/mcp-ts/agents/build-verifier.md +3 -32
- 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 +50 -18
- package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +1 -1
- package/presets/cursor/mcp-ts/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/mcp-ts/rules/anti-sycophancy-discipline.mdc +0 -3
- package/presets/cursor/mcp-ts/rules/language-policy.mdc +1 -1
- package/presets/cursor/mcp-ts/rules/preset-goals.mdc +2 -2
- package/presets/cursor/mcp-ts/rules/preset-layering.mdc +2 -2
- package/presets/cursor/mcp-ts/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/mcp-ts/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/mcp-ts/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/mcp-ts/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/mcp-ts/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/mcp-ts/rules/reference-features.mdc +0 -2
- package/presets/cursor/mcp-ts/team/README.md +1 -1
- package/presets/cursor/next/REPO_AGENTS.md +11 -7
- package/presets/cursor/next/agents/build-verifier.md +2 -42
- package/presets/cursor/next/agents/code-reviewer.md +9 -38
- package/presets/cursor/next/agents/debugger.md +1 -1
- package/presets/cursor/next/agents/feature-developer.md +14 -25
- package/presets/cursor/next/agents/mockup-reviewer.md +14 -13
- package/presets/cursor/next/agents/openspec-author.md +1 -1
- package/presets/cursor/next/agents/task-analyst.md +1 -1
- package/presets/cursor/next/agents/tech-writer.md +1 -1
- package/presets/cursor/next/agents/unit-test-generator.md +1 -1
- package/presets/cursor/next/agents/unit-test-planner.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/agent-pipeline-gates.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/analytics-events.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/api-contract-source.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/code-style.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/component-child-decomposition.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/feature-flags-experiments.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/mcp-required-for-ui-layout.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/no-react-fc.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/no-test-driven-behavior-change.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/pwa-service-worker.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/router-pages.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/single-source-copy-constants.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/storybook-dev-compare-figma.md +1 -1
- package/presets/cursor/next/ai-local/rules-library/ui-change-review-gate.md +2 -2
- package/presets/cursor/next/hooks/chain-team-phases.sh +49 -17
- package/presets/cursor/next/rules/README.md +4 -5
- package/presets/cursor/next/rules/agent-team-orchestrator.mdc +4 -4
- package/presets/cursor/next/rules/ai-local-overlay.mdc +5 -42
- package/presets/cursor/next/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/next/rules/arrow-functions.mdc +1 -1
- package/presets/cursor/next/rules/code-review-mr.mdc +3 -16
- package/presets/cursor/next/rules/design-guidance.mdc +0 -2
- package/presets/cursor/next/rules/design-tokens-binding.mdc +14 -20
- package/presets/cursor/next/rules/feature-delivery-workflow.mdc +4 -11
- package/presets/cursor/next/rules/language-policy.mdc +1 -1
- package/presets/cursor/next/rules/mockup-review.mdc +44 -45
- package/presets/cursor/next/rules/navigation-router-stack.mdc +1 -1
- package/presets/cursor/next/rules/navigation-router-ui.mdc +1 -1
- package/presets/cursor/next/rules/no-props-spread.mdc +1 -26
- package/presets/cursor/next/rules/preset-goals.mdc +2 -2
- package/presets/cursor/next/rules/preset-layering.mdc +2 -2
- package/presets/cursor/next/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/next/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/next/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/next/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/next/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/next/rules/product-specs.mdc +1 -1
- package/presets/cursor/next/rules/public-imports.mdc +2 -2
- package/presets/cursor/next/rules/react-next-anti-hallucination.mdc +5 -1
- package/presets/cursor/next/rules/react-ui.mdc +1 -7
- package/presets/cursor/next/rules/reference-features.mdc +0 -5
- package/presets/cursor/next/rules/tests-e2e-structure.mdc +0 -1
- package/presets/cursor/next/rules/tests-unit.mdc +0 -1
- package/presets/cursor/next/rules/types-jsdoc.mdc +14 -17
- package/presets/cursor/next/skills/code-review/SKILL.md +1 -1
- package/presets/cursor/next/skills/figma-fidelity/SKILL.md +76 -49
- package/presets/cursor/next/skills/mockup-review/SKILL.md +4 -2
- package/presets/cursor/next/skills/react-performance/SKILL.md +1 -1
- package/presets/cursor/next/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/next/team/README.md +1 -1
- package/presets/cursor/nuxt/REPO_AGENTS.md +10 -6
- package/presets/cursor/nuxt/agents/build-verifier.md +1 -39
- 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/openspec-author.md +1 -1
- package/presets/cursor/nuxt/agents/task-analyst.md +1 -1
- package/presets/cursor/nuxt/agents/tech-writer.md +1 -1
- package/presets/cursor/nuxt/agents/unit-test-generator.md +1 -1
- package/presets/cursor/nuxt/agents/unit-test-planner.md +1 -1
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +49 -17
- package/presets/cursor/nuxt/rules/README.md +3 -3
- package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +2 -2
- package/presets/cursor/nuxt/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/nuxt/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/nuxt/rules/css-property-order-stylelint.mdc +4 -1
- package/presets/cursor/nuxt/rules/design-guidance.mdc +0 -2
- package/presets/cursor/nuxt/rules/language-policy.mdc +1 -1
- package/presets/cursor/nuxt/rules/mockup-review.mdc +34 -29
- package/presets/cursor/nuxt/rules/no-v-bind-spread.mdc +4 -1
- package/presets/cursor/nuxt/rules/nuxt-pages-routing.mdc +8 -1
- package/presets/cursor/nuxt/rules/preset-goals.mdc +2 -2
- package/presets/cursor/nuxt/rules/preset-layering.mdc +2 -2
- package/presets/cursor/nuxt/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/nuxt/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/nuxt/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/nuxt/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/nuxt/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/nuxt/rules/public-imports.mdc +2 -2
- package/presets/cursor/nuxt/rules/reference-features.mdc +0 -5
- package/presets/cursor/nuxt/rules/script-setup-conventions.mdc +3 -1
- package/presets/cursor/nuxt/rules/tests-e2e-structure.mdc +0 -1
- package/presets/cursor/nuxt/rules/tests-unit.mdc +0 -1
- package/presets/cursor/nuxt/rules/types-jsdoc.mdc +18 -14
- package/presets/cursor/nuxt/rules/vue-a11y-coding.mdc +7 -1
- package/presets/cursor/nuxt/rules/vue-nuxt-anti-hallucination.mdc +9 -1
- package/presets/cursor/nuxt/rules/vue-ui.mdc +7 -1
- package/presets/cursor/nuxt/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/nuxt/team/README.md +1 -1
- package/presets/cursor/php-hexagonal/REPO_AGENTS.md +10 -6
- package/presets/cursor/php-hexagonal/agents/build-verifier.md +3 -39
- package/presets/cursor/php-hexagonal/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/cursor/php-hexagonal/agents/openspec-author.md +1 -1
- package/presets/cursor/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/cursor/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +51 -19
- package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +1 -1
- package/presets/cursor/php-hexagonal/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/php-hexagonal/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/php-hexagonal/rules/design-guidance.mdc +0 -2
- package/presets/cursor/php-hexagonal/rules/language-policy.mdc +1 -1
- package/presets/cursor/php-hexagonal/rules/preset-goals.mdc +2 -2
- package/presets/cursor/php-hexagonal/rules/preset-layering.mdc +2 -2
- package/presets/cursor/php-hexagonal/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/php-hexagonal/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/php-hexagonal/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/php-hexagonal/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/php-hexagonal/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/php-hexagonal/rules/reference-features.mdc +0 -5
- package/presets/cursor/php-hexagonal/skills/ci-investigation/SKILL.md +2 -2
- package/presets/cursor/php-hexagonal/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/php-hexagonal/team/README.md +1 -1
- package/presets/cursor/php-laravel/REPO_AGENTS.md +10 -6
- package/presets/cursor/php-laravel/agents/build-verifier.md +3 -39
- package/presets/cursor/php-laravel/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/cursor/php-laravel/agents/openspec-author.md +1 -1
- package/presets/cursor/php-laravel/agents/task-analyst.md +1 -1
- package/presets/cursor/php-laravel/agents/tech-writer.md +1 -1
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +51 -19
- package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +1 -1
- package/presets/cursor/php-laravel/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/php-laravel/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/php-laravel/rules/design-guidance.mdc +0 -2
- package/presets/cursor/php-laravel/rules/language-policy.mdc +1 -1
- package/presets/cursor/php-laravel/rules/preset-goals.mdc +2 -2
- package/presets/cursor/php-laravel/rules/preset-layering.mdc +2 -2
- package/presets/cursor/php-laravel/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/php-laravel/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/php-laravel/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/php-laravel/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/php-laravel/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/php-laravel/rules/reference-features.mdc +0 -5
- package/presets/cursor/php-laravel/skills/ci-investigation/SKILL.md +2 -2
- package/presets/cursor/php-laravel/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/php-laravel/team/README.md +1 -1
- package/presets/cursor/svelte/REPO_AGENTS.md +10 -6
- package/presets/cursor/svelte/agents/build-verifier.md +1 -39
- 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/openspec-author.md +1 -1
- package/presets/cursor/svelte/agents/task-analyst.md +1 -1
- package/presets/cursor/svelte/agents/tech-writer.md +1 -1
- package/presets/cursor/svelte/agents/unit-test-generator.md +1 -1
- package/presets/cursor/svelte/agents/unit-test-planner.md +1 -1
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +49 -17
- package/presets/cursor/svelte/rules/README.md +2 -2
- package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +2 -2
- package/presets/cursor/svelte/rules/ai-local-overlay.mdc +7 -30
- package/presets/cursor/svelte/rules/anti-sycophancy-discipline.mdc +0 -2
- package/presets/cursor/svelte/rules/css-property-order-stylelint.mdc +4 -1
- package/presets/cursor/svelte/rules/design-guidance.mdc +0 -2
- package/presets/cursor/svelte/rules/language-policy.mdc +1 -1
- package/presets/cursor/svelte/rules/mockup-review.mdc +34 -29
- package/presets/cursor/svelte/rules/preset-goals.mdc +2 -2
- package/presets/cursor/svelte/rules/preset-layering.mdc +2 -2
- package/presets/cursor/svelte/rules/preset-no-cross-stack-leakage.mdc +2 -3
- package/presets/cursor/svelte/rules/preset-pr-checklist.mdc +8 -4
- package/presets/cursor/svelte/rules/preset-token-budget.mdc +4 -5
- package/presets/cursor/svelte/rules/preset-twin-sync.mdc +7 -7
- package/presets/cursor/svelte/rules/preset-writing-style.mdc +2 -2
- package/presets/cursor/svelte/rules/reference-features.mdc +0 -6
- package/presets/cursor/svelte/rules/svelte-script-conventions.mdc +3 -1
- package/presets/cursor/svelte/rules/svelte-sveltekit-anti-hallucination.mdc +6 -1
- package/presets/cursor/svelte/rules/tests-e2e-structure.mdc +0 -1
- package/presets/cursor/svelte/rules/tests-unit.mdc +0 -1
- package/presets/cursor/svelte/rules/types-jsdoc.mdc +18 -14
- package/presets/cursor/svelte/skills/technical-retro/SKILL.md +13 -2
- package/presets/cursor/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/cursor/svelte/team/README.md +1 -1
- package/presets/mavis/android-kotlin/REPO_AGENTS.md +10 -6
- package/presets/mavis/android-kotlin/adapter-map.json +1 -1
- package/presets/mavis/android-kotlin/agents/build-verifier.md +2 -36
- 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/openspec-author.md +1 -1
- package/presets/mavis/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/mavis/android-kotlin/agents/tech-writer.md +1 -1
- package/presets/mavis/android-kotlin/agents/unit-test-generator.md +1 -1
- package/presets/mavis/android-kotlin/agents/unit-test-planner.md +1 -1
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +49 -17
- package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/android-kotlin/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/android-kotlin/rules/mockup-review.md +34 -29
- package/presets/mavis/android-kotlin/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/android-kotlin/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/android-kotlin/rules/preset-token-budget.md +2 -3
- package/presets/mavis/android-kotlin/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/android-kotlin/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/android-kotlin/team/README.md +1 -1
- package/presets/mavis/go/REPO_AGENTS.md +10 -6
- package/presets/mavis/go/adapter-map.json +1 -1
- package/presets/mavis/go/agents/build-verifier.md +2 -28
- package/presets/mavis/go/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/mavis/go/agents/openspec-author.md +1 -1
- package/presets/mavis/go/agents/task-analyst.md +1 -1
- package/presets/mavis/go/agents/tech-writer.md +1 -1
- package/presets/mavis/go/hooks/chain-team-phases.sh +51 -19
- package/presets/mavis/go/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/go/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/go/rules/feature-delivery-workflow.md +1 -1
- package/presets/mavis/go/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/go/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/go/rules/preset-token-budget.md +2 -3
- package/presets/mavis/go/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/go/skills/ci-investigation/SKILL.md +1 -1
- package/presets/mavis/go/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/go/team/README.md +1 -1
- package/presets/mavis/ios-swift/REPO_AGENTS.md +10 -6
- package/presets/mavis/ios-swift/adapter-map.json +1 -1
- package/presets/mavis/ios-swift/agents/build-verifier.md +2 -38
- 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/openspec-author.md +1 -1
- package/presets/mavis/ios-swift/agents/task-analyst.md +1 -1
- package/presets/mavis/ios-swift/agents/tech-writer.md +1 -1
- package/presets/mavis/ios-swift/agents/unit-test-generator.md +1 -1
- package/presets/mavis/ios-swift/agents/unit-test-planner.md +1 -1
- package/presets/mavis/ios-swift/agents/xcuitest-test-generator.md +1 -1
- package/presets/mavis/ios-swift/agents/xcuitest-test-planner.md +2 -2
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +49 -17
- package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/ios-swift/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/ios-swift/rules/feature-delivery-workflow.md +1 -1
- package/presets/mavis/ios-swift/rules/mockup-review.md +34 -29
- package/presets/mavis/ios-swift/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/ios-swift/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/ios-swift/rules/preset-token-budget.md +2 -3
- package/presets/mavis/ios-swift/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/ios-swift/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/ios-swift/skills/xcuitest-e2e/SKILL.md +1 -1
- package/presets/mavis/ios-swift/team/README.md +1 -1
- package/presets/mavis/java/REPO_AGENTS.md +10 -6
- package/presets/mavis/java/adapter-map.json +1 -1
- package/presets/mavis/java/agents/build-verifier.md +2 -38
- package/presets/mavis/java/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/mavis/java/agents/openspec-author.md +1 -1
- package/presets/mavis/java/agents/task-analyst.md +1 -1
- package/presets/mavis/java/agents/tech-writer.md +1 -1
- package/presets/mavis/java/hooks/chain-team-phases.sh +51 -19
- package/presets/mavis/java/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/java/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/java/rules/feature-delivery-workflow.md +1 -1
- package/presets/mavis/java/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/java/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/java/rules/preset-token-budget.md +2 -3
- package/presets/mavis/java/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/java/skills/ci-investigation/SKILL.md +1 -1
- package/presets/mavis/java/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/java/team/README.md +1 -1
- package/presets/mavis/mcp-ts/REPO_AGENTS.md +10 -6
- package/presets/mavis/mcp-ts/adapter-map.json +1 -1
- package/presets/mavis/mcp-ts/agents/README.md +1 -1
- package/presets/mavis/mcp-ts/agents/build-verifier.md +2 -31
- 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 +50 -18
- package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/mcp-ts/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/mcp-ts/rules/feature-delivery-workflow.md +1 -1
- package/presets/mavis/mcp-ts/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/mcp-ts/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/mcp-ts/rules/preset-token-budget.md +2 -3
- package/presets/mavis/mcp-ts/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/mcp-ts/team/README.md +1 -1
- package/presets/mavis/next/REPO_AGENTS.md +11 -7
- package/presets/mavis/next/adapter-map.json +1 -1
- package/presets/mavis/next/agents/build-verifier.md +2 -42
- package/presets/mavis/next/agents/code-reviewer.md +9 -38
- package/presets/mavis/next/agents/debugger.md +1 -1
- package/presets/mavis/next/agents/feature-developer.md +14 -25
- package/presets/mavis/next/agents/mockup-reviewer.md +14 -13
- package/presets/mavis/next/agents/openspec-author.md +1 -1
- package/presets/mavis/next/agents/task-analyst.md +1 -1
- package/presets/mavis/next/agents/tech-writer.md +1 -1
- package/presets/mavis/next/agents/unit-test-generator.md +1 -1
- package/presets/mavis/next/agents/unit-test-planner.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/agent-pipeline-gates.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/analytics-events.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/api-contract-source.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/code-style.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/component-child-decomposition.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/feature-flags-experiments.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/mcp-required-for-ui-layout.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/no-react-fc.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/no-test-driven-behavior-change.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/pwa-service-worker.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/router-pages.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/single-source-copy-constants.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/storybook-dev-compare-figma.md +1 -1
- package/presets/mavis/next/ai-local/rules-library/ui-change-review-gate.md +2 -2
- package/presets/mavis/next/hooks/chain-team-phases.sh +49 -17
- package/presets/mavis/next/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/next/rules/ai-local-overlay.md +5 -42
- package/presets/mavis/next/rules/code-review-mr.md +3 -16
- package/presets/mavis/next/rules/design-tokens-binding.md +6 -19
- package/presets/mavis/next/rules/feature-delivery-workflow.md +5 -12
- package/presets/mavis/next/rules/mockup-review.md +44 -45
- package/presets/mavis/next/rules/navigation-router-stack.md +1 -1
- package/presets/mavis/next/rules/navigation-router-ui.md +1 -1
- package/presets/mavis/next/rules/no-props-spread.md +1 -26
- package/presets/mavis/next/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/next/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/next/rules/preset-token-budget.md +2 -3
- package/presets/mavis/next/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/next/rules/product-specs.md +1 -1
- package/presets/mavis/next/rules/public-imports.md +2 -2
- package/presets/mavis/next/rules/react-ui.md +1 -7
- package/presets/mavis/next/rules/tests-e2e-structure.md +0 -1
- package/presets/mavis/next/rules/tests-unit.md +0 -1
- package/presets/mavis/next/rules/types-jsdoc.md +14 -17
- package/presets/mavis/next/skills/code-review/SKILL.md +1 -1
- package/presets/mavis/next/skills/figma-fidelity/SKILL.md +75 -48
- package/presets/mavis/next/skills/mockup-review/SKILL.md +4 -2
- package/presets/mavis/next/skills/react-performance/SKILL.md +1 -1
- package/presets/mavis/next/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/next/team/README.md +1 -1
- package/presets/mavis/nuxt/REPO_AGENTS.md +10 -6
- package/presets/mavis/nuxt/adapter-map.json +1 -1
- package/presets/mavis/nuxt/agents/build-verifier.md +1 -39
- 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/openspec-author.md +1 -1
- package/presets/mavis/nuxt/agents/task-analyst.md +1 -1
- package/presets/mavis/nuxt/agents/tech-writer.md +1 -1
- package/presets/mavis/nuxt/agents/unit-test-generator.md +1 -1
- package/presets/mavis/nuxt/agents/unit-test-planner.md +1 -1
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +49 -17
- package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/nuxt/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/nuxt/rules/feature-delivery-workflow.md +1 -1
- package/presets/mavis/nuxt/rules/mockup-review.md +34 -29
- package/presets/mavis/nuxt/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/nuxt/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/nuxt/rules/preset-token-budget.md +2 -3
- package/presets/mavis/nuxt/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/nuxt/rules/public-imports.md +2 -2
- package/presets/mavis/nuxt/rules/tests-e2e-structure.md +0 -1
- package/presets/mavis/nuxt/rules/tests-unit.md +0 -1
- package/presets/mavis/nuxt/rules/types-jsdoc.md +18 -14
- package/presets/mavis/nuxt/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/nuxt/team/README.md +1 -1
- package/presets/mavis/php-hexagonal/REPO_AGENTS.md +10 -6
- package/presets/mavis/php-hexagonal/adapter-map.json +1 -1
- package/presets/mavis/php-hexagonal/agents/build-verifier.md +2 -38
- package/presets/mavis/php-hexagonal/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/mavis/php-hexagonal/agents/openspec-author.md +1 -1
- package/presets/mavis/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/mavis/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +51 -19
- package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/php-hexagonal/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/php-hexagonal/rules/feature-delivery-workflow.md +1 -1
- package/presets/mavis/php-hexagonal/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/php-hexagonal/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/php-hexagonal/rules/preset-token-budget.md +2 -3
- package/presets/mavis/php-hexagonal/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/php-hexagonal/skills/ci-investigation/SKILL.md +1 -1
- package/presets/mavis/php-hexagonal/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/php-hexagonal/team/README.md +1 -1
- package/presets/mavis/php-laravel/REPO_AGENTS.md +10 -6
- package/presets/mavis/php-laravel/adapter-map.json +1 -1
- package/presets/mavis/php-laravel/agents/build-verifier.md +2 -38
- package/presets/mavis/php-laravel/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/mavis/php-laravel/agents/openspec-author.md +1 -1
- package/presets/mavis/php-laravel/agents/task-analyst.md +1 -1
- package/presets/mavis/php-laravel/agents/tech-writer.md +1 -1
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +51 -19
- package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/php-laravel/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/php-laravel/rules/feature-delivery-workflow.md +1 -1
- package/presets/mavis/php-laravel/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/php-laravel/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/php-laravel/rules/preset-token-budget.md +2 -3
- package/presets/mavis/php-laravel/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/php-laravel/skills/ci-investigation/SKILL.md +1 -1
- package/presets/mavis/php-laravel/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/php-laravel/team/README.md +1 -1
- package/presets/mavis/svelte/REPO_AGENTS.md +10 -6
- package/presets/mavis/svelte/adapter-map.json +1 -1
- package/presets/mavis/svelte/agents/build-verifier.md +1 -39
- 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/openspec-author.md +1 -1
- package/presets/mavis/svelte/agents/task-analyst.md +1 -1
- package/presets/mavis/svelte/agents/tech-writer.md +1 -1
- package/presets/mavis/svelte/agents/unit-test-generator.md +1 -1
- package/presets/mavis/svelte/agents/unit-test-planner.md +1 -1
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +49 -17
- package/presets/mavis/svelte/rules/agent-team-orchestrator.md +1 -1
- package/presets/mavis/svelte/rules/ai-local-overlay.md +7 -30
- package/presets/mavis/svelte/rules/feature-delivery-workflow.md +1 -1
- package/presets/mavis/svelte/rules/mockup-review.md +34 -29
- package/presets/mavis/svelte/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/mavis/svelte/rules/preset-pr-checklist.md +6 -2
- package/presets/mavis/svelte/rules/preset-token-budget.md +2 -3
- package/presets/mavis/svelte/rules/preset-twin-sync.md +5 -5
- package/presets/mavis/svelte/rules/tests-e2e-structure.md +0 -1
- package/presets/mavis/svelte/rules/tests-unit.md +0 -1
- package/presets/mavis/svelte/rules/types-jsdoc.md +18 -14
- package/presets/mavis/svelte/skills/technical-retro/SKILL.md +13 -2
- package/presets/mavis/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/mavis/svelte/team/README.md +1 -1
- package/presets/opencode/android-kotlin/REPO_AGENTS.md +10 -6
- package/presets/opencode/android-kotlin/adapter-map.json +1 -1
- package/presets/opencode/android-kotlin/agents/build-verifier.md +3 -37
- 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/openspec-author.md +1 -1
- package/presets/opencode/android-kotlin/agents/task-analyst.md +1 -1
- package/presets/opencode/android-kotlin/agents/tech-writer.md +1 -1
- package/presets/opencode/android-kotlin/agents/unit-test-generator.md +1 -1
- package/presets/opencode/android-kotlin/agents/unit-test-planner.md +1 -1
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +49 -17
- package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/android-kotlin/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/android-kotlin/rules/mockup-review.md +34 -29
- package/presets/opencode/android-kotlin/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/android-kotlin/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/android-kotlin/rules/preset-token-budget.md +2 -3
- package/presets/opencode/android-kotlin/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/android-kotlin/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/android-kotlin/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/android-kotlin/team/README.md +1 -1
- package/presets/opencode/go/REPO_AGENTS.md +10 -6
- package/presets/opencode/go/adapter-map.json +1 -1
- package/presets/opencode/go/agents/build-verifier.md +3 -29
- package/presets/opencode/go/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/opencode/go/agents/openspec-author.md +1 -1
- package/presets/opencode/go/agents/task-analyst.md +1 -1
- package/presets/opencode/go/agents/tech-writer.md +1 -1
- package/presets/opencode/go/hooks/chain-team-phases.sh +51 -19
- package/presets/opencode/go/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/go/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/go/rules/feature-delivery-workflow.md +1 -1
- package/presets/opencode/go/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/go/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/go/rules/preset-token-budget.md +2 -3
- package/presets/opencode/go/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/go/skills/ci-investigation/SKILL.md +2 -2
- package/presets/opencode/go/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/go/team/README.md +1 -1
- package/presets/opencode/ios-swift/REPO_AGENTS.md +10 -6
- package/presets/opencode/ios-swift/adapter-map.json +1 -1
- package/presets/opencode/ios-swift/agents/build-verifier.md +3 -39
- 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/openspec-author.md +1 -1
- package/presets/opencode/ios-swift/agents/task-analyst.md +1 -1
- package/presets/opencode/ios-swift/agents/tech-writer.md +1 -1
- package/presets/opencode/ios-swift/agents/unit-test-generator.md +1 -1
- package/presets/opencode/ios-swift/agents/unit-test-planner.md +1 -1
- package/presets/opencode/ios-swift/agents/xcuitest-test-generator.md +1 -1
- package/presets/opencode/ios-swift/agents/xcuitest-test-planner.md +2 -2
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +49 -17
- package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/ios-swift/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/ios-swift/rules/feature-delivery-workflow.md +1 -1
- package/presets/opencode/ios-swift/rules/mockup-review.md +34 -29
- package/presets/opencode/ios-swift/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/ios-swift/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/ios-swift/rules/preset-token-budget.md +2 -3
- package/presets/opencode/ios-swift/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/ios-swift/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/ios-swift/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/ios-swift/skills/xcuitest-e2e/SKILL.md +1 -1
- package/presets/opencode/ios-swift/team/README.md +1 -1
- package/presets/opencode/java/REPO_AGENTS.md +10 -6
- package/presets/opencode/java/adapter-map.json +1 -1
- package/presets/opencode/java/agents/build-verifier.md +3 -39
- package/presets/opencode/java/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/opencode/java/agents/openspec-author.md +1 -1
- package/presets/opencode/java/agents/task-analyst.md +1 -1
- package/presets/opencode/java/agents/tech-writer.md +1 -1
- package/presets/opencode/java/hooks/chain-team-phases.sh +51 -19
- package/presets/opencode/java/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/java/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/java/rules/feature-delivery-workflow.md +1 -1
- package/presets/opencode/java/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/java/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/java/rules/preset-token-budget.md +2 -3
- package/presets/opencode/java/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/java/skills/ci-investigation/SKILL.md +2 -2
- package/presets/opencode/java/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/java/team/README.md +1 -1
- package/presets/opencode/mcp-ts/REPO_AGENTS.md +10 -6
- package/presets/opencode/mcp-ts/adapter-map.json +1 -1
- package/presets/opencode/mcp-ts/agents/README.md +1 -1
- package/presets/opencode/mcp-ts/agents/build-verifier.md +3 -32
- 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 +50 -18
- package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/mcp-ts/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/mcp-ts/rules/feature-delivery-workflow.md +1 -1
- package/presets/opencode/mcp-ts/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/mcp-ts/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/mcp-ts/rules/preset-token-budget.md +2 -3
- package/presets/opencode/mcp-ts/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/mcp-ts/team/README.md +1 -1
- package/presets/opencode/next/REPO_AGENTS.md +11 -7
- package/presets/opencode/next/adapter-map.json +1 -1
- package/presets/opencode/next/agents/build-verifier.md +2 -42
- package/presets/opencode/next/agents/code-reviewer.md +9 -38
- package/presets/opencode/next/agents/debugger.md +1 -1
- package/presets/opencode/next/agents/feature-developer.md +14 -25
- package/presets/opencode/next/agents/mockup-reviewer.md +14 -13
- package/presets/opencode/next/agents/openspec-author.md +1 -1
- package/presets/opencode/next/agents/task-analyst.md +1 -1
- package/presets/opencode/next/agents/tech-writer.md +1 -1
- package/presets/opencode/next/agents/unit-test-generator.md +1 -1
- package/presets/opencode/next/agents/unit-test-planner.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/agent-pipeline-gates.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/analytics-events.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/api-contract-source.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/code-style.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/component-child-decomposition.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/feature-flags-experiments.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/mcp-required-for-ui-layout.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/no-react-fc.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/no-test-driven-behavior-change.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/pwa-service-worker.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/router-pages.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/single-source-copy-constants.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/storybook-dev-compare-figma.md +1 -1
- package/presets/opencode/next/ai-local/rules-library/ui-change-review-gate.md +2 -2
- package/presets/opencode/next/hooks/chain-team-phases.sh +49 -17
- package/presets/opencode/next/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/next/rules/ai-local-overlay.md +5 -42
- package/presets/opencode/next/rules/code-review-mr.md +3 -16
- package/presets/opencode/next/rules/design-tokens-binding.md +6 -19
- package/presets/opencode/next/rules/feature-delivery-workflow.md +5 -12
- package/presets/opencode/next/rules/mockup-review.md +44 -45
- package/presets/opencode/next/rules/navigation-router-stack.md +1 -1
- package/presets/opencode/next/rules/navigation-router-ui.md +1 -1
- package/presets/opencode/next/rules/no-props-spread.md +1 -26
- package/presets/opencode/next/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/next/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/next/rules/preset-token-budget.md +2 -3
- package/presets/opencode/next/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/next/rules/product-specs.md +1 -1
- package/presets/opencode/next/rules/public-imports.md +2 -2
- package/presets/opencode/next/rules/react-ui.md +1 -7
- package/presets/opencode/next/rules/tests-e2e-structure.md +0 -1
- package/presets/opencode/next/rules/tests-unit.md +0 -1
- package/presets/opencode/next/rules/types-jsdoc.md +14 -17
- package/presets/opencode/next/skills/code-review/SKILL.md +1 -1
- package/presets/opencode/next/skills/figma-fidelity/SKILL.md +76 -49
- package/presets/opencode/next/skills/mockup-review/SKILL.md +4 -2
- package/presets/opencode/next/skills/react-performance/SKILL.md +1 -1
- package/presets/opencode/next/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/next/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/next/team/README.md +1 -1
- package/presets/opencode/nuxt/REPO_AGENTS.md +10 -6
- package/presets/opencode/nuxt/adapter-map.json +1 -1
- package/presets/opencode/nuxt/agents/build-verifier.md +1 -39
- 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/openspec-author.md +1 -1
- package/presets/opencode/nuxt/agents/task-analyst.md +1 -1
- package/presets/opencode/nuxt/agents/tech-writer.md +1 -1
- package/presets/opencode/nuxt/agents/unit-test-generator.md +1 -1
- package/presets/opencode/nuxt/agents/unit-test-planner.md +1 -1
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +49 -17
- package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/nuxt/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/nuxt/rules/feature-delivery-workflow.md +1 -1
- package/presets/opencode/nuxt/rules/mockup-review.md +34 -29
- package/presets/opencode/nuxt/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/nuxt/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/nuxt/rules/preset-token-budget.md +2 -3
- package/presets/opencode/nuxt/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/nuxt/rules/public-imports.md +2 -2
- package/presets/opencode/nuxt/rules/tests-e2e-structure.md +0 -1
- package/presets/opencode/nuxt/rules/tests-unit.md +0 -1
- package/presets/opencode/nuxt/rules/types-jsdoc.md +18 -14
- package/presets/opencode/nuxt/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/nuxt/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/nuxt/team/README.md +1 -1
- package/presets/opencode/php-hexagonal/REPO_AGENTS.md +10 -6
- package/presets/opencode/php-hexagonal/adapter-map.json +1 -1
- package/presets/opencode/php-hexagonal/agents/build-verifier.md +3 -39
- package/presets/opencode/php-hexagonal/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/opencode/php-hexagonal/agents/openspec-author.md +1 -1
- package/presets/opencode/php-hexagonal/agents/task-analyst.md +1 -1
- package/presets/opencode/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +51 -19
- package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/php-hexagonal/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/php-hexagonal/rules/feature-delivery-workflow.md +1 -1
- package/presets/opencode/php-hexagonal/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/php-hexagonal/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/php-hexagonal/rules/preset-token-budget.md +2 -3
- package/presets/opencode/php-hexagonal/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/php-hexagonal/skills/ci-investigation/SKILL.md +2 -2
- package/presets/opencode/php-hexagonal/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/php-hexagonal/team/README.md +1 -1
- package/presets/opencode/php-laravel/REPO_AGENTS.md +10 -6
- package/presets/opencode/php-laravel/adapter-map.json +1 -1
- package/presets/opencode/php-laravel/agents/build-verifier.md +3 -39
- package/presets/opencode/php-laravel/agents/ci-investigator.md +2 -2
- 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 -3
- package/presets/opencode/php-laravel/agents/openspec-author.md +1 -1
- package/presets/opencode/php-laravel/agents/task-analyst.md +1 -1
- package/presets/opencode/php-laravel/agents/tech-writer.md +1 -1
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +51 -19
- package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/php-laravel/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/php-laravel/rules/feature-delivery-workflow.md +1 -1
- package/presets/opencode/php-laravel/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/php-laravel/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/php-laravel/rules/preset-token-budget.md +2 -3
- package/presets/opencode/php-laravel/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/php-laravel/skills/ci-investigation/SKILL.md +2 -2
- package/presets/opencode/php-laravel/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/php-laravel/team/README.md +1 -1
- package/presets/opencode/svelte/REPO_AGENTS.md +10 -6
- package/presets/opencode/svelte/adapter-map.json +1 -1
- package/presets/opencode/svelte/agents/build-verifier.md +1 -39
- 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/openspec-author.md +1 -1
- package/presets/opencode/svelte/agents/task-analyst.md +1 -1
- package/presets/opencode/svelte/agents/tech-writer.md +1 -1
- package/presets/opencode/svelte/agents/unit-test-generator.md +1 -1
- package/presets/opencode/svelte/agents/unit-test-planner.md +1 -1
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +49 -17
- package/presets/opencode/svelte/rules/agent-team-orchestrator.md +1 -1
- package/presets/opencode/svelte/rules/ai-local-overlay.md +7 -30
- package/presets/opencode/svelte/rules/feature-delivery-workflow.md +1 -1
- package/presets/opencode/svelte/rules/mockup-review.md +34 -29
- package/presets/opencode/svelte/rules/preset-no-cross-stack-leakage.md +0 -1
- package/presets/opencode/svelte/rules/preset-pr-checklist.md +6 -2
- package/presets/opencode/svelte/rules/preset-token-budget.md +2 -3
- package/presets/opencode/svelte/rules/preset-twin-sync.md +5 -5
- package/presets/opencode/svelte/rules/tests-e2e-structure.md +0 -1
- package/presets/opencode/svelte/rules/tests-unit.md +0 -1
- package/presets/opencode/svelte/rules/types-jsdoc.md +18 -14
- package/presets/opencode/svelte/skills/technical-retro/SKILL.md +13 -2
- package/presets/opencode/svelte/skills/unit-testing/SKILL.md +1 -1
- package/presets/opencode/svelte/team/README.md +1 -1
- package/scripts/_lib/agent-write-scopes.json +0 -27
- package/scripts/_lib/embed-stems.json +0 -38
- package/scripts/capture-cli-golden.mjs +0 -51
- package/scripts/check-chain-hook-coverage.sh +0 -124
- package/scripts/check-claude-agent-blocks.mjs +0 -82
- package/scripts/check-figma-contract-presence.sh +0 -119
- package/scripts/check-frontmatter.mjs +0 -83
- package/scripts/check-generated-drift.mjs +0 -146
- package/scripts/check-hook-only-lifecycle.sh +0 -46
- package/scripts/check-local-overlay.sh +0 -283
- package/scripts/check-mavis-adapter-map.mjs +0 -306
- package/scripts/check-mavis-local-overlay.mjs +0 -79
- package/scripts/check-mavis-platform-contract.mjs +0 -390
- package/scripts/check-mavis-token-budget.mjs +0 -48
- package/scripts/check-opencode-adapter-map.mjs +0 -306
- package/scripts/check-opencode-local-overlay.mjs +0 -75
- package/scripts/check-opencode-platform-contract.mjs +0 -390
- package/scripts/check-opencode-token-budget.mjs +0 -48
- package/scripts/check-parallel-plan.sh +0 -353
- package/scripts/check-plan-contract.sh +0 -133
- package/scripts/check-preset-goal-contract.sh +0 -214
- package/scripts/check-preset-i18n.sh +0 -61
- package/scripts/check-preset-language-policy.sh +0 -292
- package/scripts/check-preset-leakage.sh +0 -545
- package/scripts/check-preset-prompt-persistence.sh +0 -218
- package/scripts/check-preset-self-review-contract.sh +0 -179
- package/scripts/check-preset-structure.sh +0 -297
- package/scripts/check-preset-token-budget.sh +0 -258
- package/scripts/check-preset-twin-map.sh +0 -122
- package/scripts/check-rule-eval.mjs +0 -165
- package/scripts/check-shared-core-drift.sh +0 -155
- package/scripts/check-step-graph-contract.sh +0 -123
- package/scripts/check-task-router-intents.sh +0 -154
- package/scripts/fixtures/cli-golden/claude/next.json +0 -146
- package/scripts/fixtures/cli-golden/cursor/next.json +0 -168
- package/scripts/fixtures/cli-golden/mavis/android-kotlin.json +0 -110
- package/scripts/fixtures/cli-golden/mavis/go.json +0 -103
- package/scripts/fixtures/cli-golden/mavis/ios-swift.json +0 -109
- package/scripts/fixtures/cli-golden/mavis/java.json +0 -103
- package/scripts/fixtures/cli-golden/mavis/mcp-ts.json +0 -74
- package/scripts/fixtures/cli-golden/mavis/next.json +0 -161
- package/scripts/fixtures/cli-golden/mavis/nuxt.json +0 -128
- package/scripts/fixtures/cli-golden/mavis/php-hexagonal.json +0 -103
- package/scripts/fixtures/cli-golden/mavis/php-laravel.json +0 -103
- package/scripts/fixtures/cli-golden/mavis/svelte.json +0 -128
- package/scripts/fixtures/cli-golden/opencode/android-kotlin.json +0 -110
- package/scripts/fixtures/cli-golden/opencode/go.json +0 -103
- package/scripts/fixtures/cli-golden/opencode/ios-swift.json +0 -109
- package/scripts/fixtures/cli-golden/opencode/java.json +0 -103
- package/scripts/fixtures/cli-golden/opencode/mcp-ts.json +0 -74
- package/scripts/fixtures/cli-golden/opencode/next.json +0 -161
- package/scripts/fixtures/cli-golden/opencode/nuxt.json +0 -128
- package/scripts/fixtures/cli-golden/opencode/php-hexagonal.json +0 -103
- package/scripts/fixtures/cli-golden/opencode/php-laravel.json +0 -103
- package/scripts/fixtures/cli-golden/opencode/svelte.json +0 -128
- package/scripts/fixtures/mavis-adapter-map/invalid-unmapped/cursor/AGENTS.md +0 -1
- package/scripts/fixtures/mavis-adapter-map/invalid-unmapped/cursor/rules/extra.mdc +0 -1
- package/scripts/fixtures/mavis-adapter-map/invalid-unmapped/cursor/rules/sample.mdc +0 -2
- package/scripts/fixtures/mavis-adapter-map/invalid-unmapped/mavis/MAVIS.md +0 -1
- package/scripts/fixtures/mavis-adapter-map/invalid-unmapped/mavis/adapter-map.json +0 -26
- package/scripts/fixtures/mavis-adapter-map/invalid-unmapped/mavis/rules/sample.md +0 -2
- package/scripts/fixtures/mavis-adapter-map/valid/cursor/AGENTS.md +0 -1
- package/scripts/fixtures/mavis-adapter-map/valid/cursor/rules/sample.mdc +0 -2
- package/scripts/fixtures/mavis-adapter-map/valid/mavis/MAVIS.md +0 -1
- package/scripts/fixtures/mavis-adapter-map/valid/mavis/adapter-map.json +0 -26
- package/scripts/fixtures/mavis-adapter-map/valid/mavis/rules/sample.md +0 -2
- package/scripts/fixtures/mavis-platform-contract/invalid-minimax-destination.json +0 -131
- package/scripts/fixtures/mavis-platform-contract/invalid-missing-capability.json +0 -126
- package/scripts/fixtures/mavis-platform-contract/invalid-released-unknown-stack.json +0 -133
- package/scripts/fixtures/mavis-platform-contract/invalid-unknown-native-path.json +0 -131
- package/scripts/fixtures/mavis-platform-contract/invalid-version-pin.json +0 -132
- package/scripts/fixtures/mavis-platform-contract/valid.json +0 -127
- package/scripts/fixtures/mavis-probe/AGENTS.md +0 -6
- package/scripts/fixtures/mavis-probe/agents/probe-agent.md +0 -6
- package/scripts/fixtures/mavis-probe/fake-mcode.mjs +0 -98
- package/scripts/fixtures/mavis-probe/output.schema.json +0 -28
- package/scripts/fixtures/mavis-probe/rules/probe.md +0 -5
- package/scripts/fixtures/mavis-probe/skills/probe/SKILL.md +0 -11
- package/scripts/fixtures/opencode-adapter-map/invalid-unmapped/cursor/AGENTS.md +0 -1
- package/scripts/fixtures/opencode-adapter-map/invalid-unmapped/cursor/rules/extra.mdc +0 -1
- package/scripts/fixtures/opencode-adapter-map/invalid-unmapped/cursor/rules/sample.mdc +0 -2
- package/scripts/fixtures/opencode-adapter-map/invalid-unmapped/opencode/OPENCODE.md +0 -1
- package/scripts/fixtures/opencode-adapter-map/invalid-unmapped/opencode/adapter-map.json +0 -26
- package/scripts/fixtures/opencode-adapter-map/invalid-unmapped/opencode/rules/sample.md +0 -2
- package/scripts/fixtures/opencode-adapter-map/valid/cursor/AGENTS.md +0 -1
- package/scripts/fixtures/opencode-adapter-map/valid/cursor/rules/sample.mdc +0 -2
- package/scripts/fixtures/opencode-adapter-map/valid/opencode/OPENCODE.md +0 -1
- package/scripts/fixtures/opencode-adapter-map/valid/opencode/adapter-map.json +0 -26
- package/scripts/fixtures/opencode-adapter-map/valid/opencode/rules/sample.md +0 -2
- package/scripts/fixtures/opencode-platform-contract/invalid-home-destination.json +0 -131
- package/scripts/fixtures/opencode-platform-contract/invalid-missing-capability.json +0 -126
- package/scripts/fixtures/opencode-platform-contract/invalid-released-unknown-stack.json +0 -133
- package/scripts/fixtures/opencode-platform-contract/invalid-unknown-native-path.json +0 -131
- package/scripts/fixtures/opencode-platform-contract/invalid-version-pin.json +0 -132
- package/scripts/fixtures/opencode-platform-contract/valid.json +0 -127
- package/scripts/generate-mavis.mjs +0 -14
- package/scripts/generate-opencode.mjs +0 -14
- package/scripts/inject-claude-agent-rules-block.mjs +0 -83
- package/scripts/lib/cli-golden.mjs +0 -50
- package/scripts/lib/discover-hooks.mjs +0 -94
- package/scripts/lib/generate-adapter-common.mjs +0 -603
- package/scripts/lib/generate-mavis-adapter.mjs +0 -550
- package/scripts/lib/generate-opencode-adapter.mjs +0 -662
- package/scripts/lib/stack-platform-profiles.mjs +0 -468
- package/scripts/probe-mavis-capabilities.mjs +0 -480
- package/scripts/sync-claude-harness-wiring.mjs +0 -56
- package/scripts/sync-claude-settings.mjs +0 -81
- package/scripts/sync-dogfood-claude.sh +0 -62
- package/scripts/sync-dogfood-cursor.sh +0 -50
- package/scripts/sync-dogfood-mavis.sh +0 -69
- package/scripts/sync-dogfood-opencode.sh +0 -67
- package/scripts/sync-shared-core-embeds.sh +0 -103
- package/scripts/test-agent-task-metrics-hooks.mjs +0 -1225
- package/scripts/test-chain-team-phases-coverage.mjs +0 -822
- package/scripts/test-cli-init-clean.mjs +0 -794
- package/scripts/test-cli-mcp-merge.mjs +0 -214
- package/scripts/test-mavis-context-budget.mjs +0 -50
- package/scripts/test-mavis-orchestration.mjs +0 -650
- package/scripts/test-opencode-context-budget.mjs +0 -49
- package/scripts/test-parallel-plan-fixtures.mjs +0 -173
- package/scripts/test-plan-contract-fixtures.mjs +0 -132
- package/scripts/test-preset-goal-contract-fixtures.mjs +0 -162
- package/scripts/test-preset-language-policy-fixtures.mjs +0 -194
- package/scripts/test-preset-prompt-persistence-fixtures.mjs +0 -232
- package/scripts/test-preset-self-review-contract-fixtures.mjs +0 -163
- package/scripts/test-probe-mavis-capabilities.mjs +0 -205
- package/scripts/test-task-router-intents-fixtures.mjs +0 -109
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Orchestrates the agent team via task-router and pipeline.json for PHP presets
|
|
3
|
-
paths:
|
|
4
|
-
- .ai.local/team/**/*
|
|
5
|
-
- .ai.local/team/**/*
|
|
6
|
-
- "**/*.php"
|
|
7
|
-
- src/**/*
|
|
8
|
-
- "**/Composition/**"
|
|
9
|
-
- "**/Composition/*"
|
|
3
|
+
paths: []
|
|
10
4
|
---
|
|
11
5
|
|
|
12
6
|
<!-- shared-core: agent-team/agent-team-orchestrator.md -->
|
|
13
|
-
<!-- shared-core: quality/context-and-iteration.md -->
|
|
14
|
-
<!-- shared-core: quality/self-review-and-context-hygiene.md -->
|
|
15
7
|
|
|
16
8
|
# Agent team orchestrator
|
|
17
9
|
|
|
18
|
-
Parent agent = **manager**. Router plans; specialists execute. Artifacts: `.ai.local/team/tasks/<slug
|
|
10
|
+
Parent agent = **manager**. Router plans; specialists execute. Artifacts: `.ai.local/team/tasks/<slug>/`.
|
|
19
11
|
|
|
20
12
|
Work request without `/task` — see **agent-team-intake** (when to suggest the router instead of coding directly).
|
|
21
13
|
|
|
@@ -34,9 +26,9 @@ Roster of specialists is **stack-specific** (agent names and write scopes differ
|
|
|
34
26
|
|
|
35
27
|
| Kind | Examples (names vary by stack) |
|
|
36
28
|
|------|--------------------------------|
|
|
37
|
-
| Planning | `task-router`, `task-analyst
|
|
29
|
+
| Planning | `task-router`, `task-analyst` (plus skill `ux-design` for behavioral UX **where the stack has a UI surface**), `solution-architect`, `migration-specialist` |
|
|
38
30
|
| Implementation | `feature-developer`, `debugger`, `ci-investigator` |
|
|
39
|
-
| Gates / review | `build-verifier`, `code-reviewer`, `security-reviewer`, `performance-auditor
|
|
31
|
+
| Gates / review | `build-verifier`, `code-reviewer`, `security-reviewer`, `performance-auditor`; plus stack-native a11y/UI reviewer and `mockup-reviewer` **only when the stack has a UI surface** |
|
|
40
32
|
| Tests | unit planner/generator/healer; e2e/UI planner/generator/healer (stack-native) |
|
|
41
33
|
| Docs | `tech-writer` |
|
|
42
34
|
|
|
@@ -68,25 +60,67 @@ flowchart TD
|
|
|
68
60
|
|
|
69
61
|
**Source of truth for order:** `pipeline.json` → `steps[]`. Never hardcode analyst → dev → review → QA when `pipeline.json` exists.
|
|
70
62
|
|
|
71
|
-
|
|
63
|
+
## Routing decision contract
|
|
64
|
+
|
|
65
|
+
Keep top-level `profile` (`light` | `standard` | `full`) and add a top-level `routingDecision` object:
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"profile": "standard",
|
|
70
|
+
"routingDecision": {
|
|
71
|
+
"complexity": "moderate",
|
|
72
|
+
"riskFlags": ["behavior-regression"],
|
|
73
|
+
"routingReasons": [
|
|
74
|
+
"The failure needs root-cause analysis before a bounded fix.",
|
|
75
|
+
"Behavior changes require validation and independent review."
|
|
76
|
+
],
|
|
77
|
+
"estimatedWorkPackages": 1,
|
|
78
|
+
"openDecisionCount": 0
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
| Field | Contract |
|
|
84
|
+
|-------|----------|
|
|
85
|
+
| `complexity` | `low` \| `moderate` \| `high`; classify scope and coordination, not perceived coding difficulty |
|
|
86
|
+
| `riskFlags` | Array of concrete signals such as `public-contract`, `cross-layer`, `security-sensitive`, `migration`, `destructive`, `concurrency-state`, `external-dependency`, `unclear-acceptance-criteria`, `broad-test-surface`, `behavior-regression` |
|
|
87
|
+
| `routingReasons` | Non-empty, auditable facts from the request; each reason explains a profile, gate, specialist, skip, or checkpoint choice |
|
|
88
|
+
| `estimatedWorkPackages` | Integer ≥1; count meaningful independently verifiable delivery scopes, not files or agents |
|
|
89
|
+
| `openDecisionCount` | Integer ≥0; unresolved product/architecture/contract choices at routing time |
|
|
90
|
+
|
|
91
|
+
Rubric:
|
|
92
|
+
|
|
93
|
+
- `low`: one bounded scope, explicit acceptance criteria, reversible change, no risk flags or open decisions. Use `light` only when stack verification policy permits.
|
|
94
|
+
- `moderate`: several files or adjacent concerns, a regression/refactor with known boundaries, or one contained risk flag. Usually `standard`.
|
|
95
|
+
- `high`: cross-layer/public-contract work, migration/destructive/security/concurrency risk, broad test surface, multiple work packages, or unclear acceptance criteria. Usually `full`.
|
|
96
|
+
- Increase the profile when risk, open decisions, or required checkpoints demand it; do not lower complexity merely because the implementation is familiar.
|
|
97
|
+
- Do not write generic reasons such as “standard by default.” Name the observed signal and the routing consequence.
|
|
98
|
+
|
|
99
|
+
Existing pipelines without `routingDecision` remain valid; routers emit it for new pipelines. The block is documentary routing evidence in P0 and does not change hook behavior.
|
|
72
100
|
|
|
73
101
|
## Metrics lifecycle
|
|
74
102
|
|
|
75
|
-
|
|
103
|
+
For local metrics policy and the `metrics.json` ledger, see **agent-task-metrics**. The orchestration runtime records `task_started` and one `attempt_started` before each invocation; the hook records host-clock terminal and human-gate events. Keep active attempt identities in `status.json.activeAttempts` so parallel completions can be bound safely.
|
|
104
|
+
|
|
105
|
+
Do not calculate durations in agents. For parallel steps, never attribute a stop using `currentAgent` alone: use a stable runtime identity, the sole active attempt, or an explicit receipt marked with fallback confidence. An unattributable stop with in-flight attempts never returns bare `{}` — the hook repairs the binding (payload agent → sole unrecorded slot → `currentAgent`) with `attributionConfidence: "fallback"`, or emits a deterministic resume handoff. See **agent-task-metrics** § Parallel waves.
|
|
76
106
|
|
|
77
107
|
## Artifact context index and receipts
|
|
78
108
|
|
|
79
|
-
Each slug has one `artifact-manifest.json` at `.ai.local/team/tasks/<slug>/`.
|
|
109
|
+
Each slug has one `artifact-manifest.json` at `.ai.local/team/tasks/<slug>/`. The full schema and completion conventions live in **agent-artifact-contracts**.
|
|
80
110
|
|
|
81
111
|
- Read the manifest before broad prior-artifact discovery. Each step receives authoritative input entry IDs, owns named output entry IDs, and finishes with one terminal receipt linked to AC/task IDs.
|
|
82
|
-
- Markdown remains detailed evidence; the manifest records producer, status,
|
|
112
|
+
- Markdown remains detailed evidence; the manifest points to authoritative paths and records producer, status, timestamps, outcome, and evidence paths.
|
|
83
113
|
- Agents upsert only the items they own in `manifest.artifacts[]` and preserve all foreign items in that array. Parallel agents use distinct IDs; the parent/orchestrator serializes manifest merges. The top-level array key is `artifacts` — not `entries`; see `agent-artifact-contracts.md` for the schema callout.
|
|
84
|
-
- The orchestration runtime/hook is the single writer for `status.json` lifecycle fields and `metrics.json`. Agents read status for eligibility but never rewrite state, gate, retry, attempt, timestamp, or metrics fields.
|
|
114
|
+
- The orchestration runtime/hook is the single writer for `status.json` lifecycle fields and `metrics.json`. Agents read status for eligibility but never rewrite unrelated state, gate, retry, attempt, timestamp, or metrics fields.
|
|
85
115
|
- Missing/stale manifests are reported as a handoff gap; fall back to `brief.md`, `decomposition.md`, and `pipeline.json` rather than inventing authority.
|
|
86
116
|
|
|
87
|
-
## Plan revision
|
|
117
|
+
## Plan revision (replanning)
|
|
88
118
|
|
|
89
|
-
Replanning is a named, auditable operation — never a silent reorder.
|
|
119
|
+
Replanning is a **named, auditable operation** — never a silent reorder. Trigger it when an evaluation oracle fails twice on the same task, when scope or requirements change, or when a previously unknown dependency/consumer is discovered. Procedure: append `decision: replan rev N → N+1` (with the reason) to `.memlog.md`, update `decomposition.md` (task add/remove or dependency change) and any optional plan fields, then **re-run the affected gate**. Scope-changing revisions return to the human gate.
|
|
120
|
+
|
|
121
|
+
## Context budget & checkpoint/resume
|
|
122
|
+
|
|
123
|
+
Work in bounded waves (one artifact class across the target surface); mechanical waves (generation, embed sync) are delegated to repo scripts rather than spent on tokens. **Checkpoint** each completed wave to `.memlog.md` (`## <date>` + an `event:` line) and record the produced paths on the `implementation` manifest entry (`authoritativePaths`). A resumed run (e.g. `/task-continue`) reads `artifact-manifest.json` + `.memlog.md` and continues at the first stage whose exit criteria are unmet — never re-derive state from the chat. See **context-and-iteration** for the budget, checkpoint, resume, and refinement loop.
|
|
90
124
|
|
|
91
125
|
## Self-review & context hygiene
|
|
92
126
|
|
|
@@ -94,11 +128,7 @@ Each producing agent runs a **pre-receipt self-review** of its own output — go
|
|
|
94
128
|
|
|
95
129
|
- **Context loss vs excess/noise.** *Loss* = a dropped/misattributed AC or constraint, a stale plan vs the current request, a forgotten prior decision. *Excess/noise* = irrelevant/tangent reads, scope creep beyond the frame, duplicated or bloated artifacts, chat state that belongs on disk.
|
|
96
130
|
- **Re-anchor.** On detected drift, return the run to the framed task: re-read the `task-framing` goal frame + the current `decomposition.md` → repair the drift → re-run the affected gate → record append-only in `.memlog.md` (`event:` line; `decision: replan rev N → N+1` when the plan changes). Re-anchor is a **trigger source of the existing `plan-graph` `replan`** — no second orchestrator, no `status.json`/`metrics.json` field.
|
|
97
|
-
- **Recording & ratchet.** The producer writes a `## Self-review` block in the artifact it owns; the correction lives only in `.memlog.md` (hook-only lifecycle preserved). No self-review, context-health pass, or re-anchor for `bounded`/`spike` tasks (or the `light` profile) — ratchet up for `standard`/`architectural`, never down past a required verification gate. See the requestable `quality/self-review-and-context-hygiene` contract.
|
|
98
|
-
|
|
99
|
-
## Context budget & checkpoint/resume
|
|
100
|
-
|
|
101
|
-
Work in bounded waves (one artifact class across the surface). **Checkpoint** each completed wave to `.memlog.md` (`## <date>` + an `event:` line) and record produced paths on the `implementation` manifest entry `authoritativePaths`. A resumed run (e.g. `/task-continue`) reads `artifact-manifest.json` + `.memlog.md` and continues at the first stage whose exit criteria are unmet — never re-derive state from the chat. Mechanical waves (generation, embed sync) are delegated to repo scripts.
|
|
131
|
+
- **Recording & ratchet.** The producer writes a `## Self-review` block in the artifact it owns; the correction lives only in `.memlog.md` (hook-only lifecycle preserved). No self-review, context-health pass, or re-anchor for `bounded`/`spike` tasks (or the `light` profile) — ratchet up for `standard`/`architectural`, never down past a required verification gate. See the requestable `quality/self-review-and-context-hygiene` contract — including the optional rule-improvement loop (append wrong-turn signals to `.ai.local/signals.jsonl` and run `.ai.local/scripts/rule-improver.mjs`) when that script exists.
|
|
102
132
|
|
|
103
133
|
## status.json (pipeline mode)
|
|
104
134
|
|
|
@@ -123,9 +153,14 @@ Work in bounded waves (one artifact class across the surface). **Checkpoint** ea
|
|
|
123
153
|
| `activeAttempts` | Transient timing bridge keyed by `attemptId` |
|
|
124
154
|
| `lastCompletedAttempt` | Diagnostic pointer to the latest finished attempt |
|
|
125
155
|
| `parallelCompleted` | Agents that have stopped in the current parallel step |
|
|
126
|
-
| `parallelOutcomes` | Per-agent `{ outcome, attemptId, confidence }` for the current parallel join; cleared when the step advances
|
|
156
|
+
| `parallelOutcomes` | Per-agent `{ outcome, attemptId, confidence }` for the current parallel join; cleared when the step/wave advances, retained across a retry of the same step |
|
|
157
|
+
| `joinedSlots` | Persistent satisfaction ledger `"<stepIndex>:<agent>" → { agent, stepIndex, attemptId, outcome }`; the ready-queue history (graph mode) |
|
|
158
|
+
| `waveSteps` | Step indexes of the in-flight wave; cleared on wave completion |
|
|
159
|
+
| `waveId` | `<runId>:wave-<firstStepIndex>` for the in-flight wave |
|
|
160
|
+
| `graphMode` | Cached `steps.some(s => Array.isArray(s.dependsOn))` |
|
|
161
|
+
| `blockedSteps` | Steps that ended `blocked`, excluded from the ready set until a human-approved retry |
|
|
127
162
|
|
|
128
|
-
|
|
163
|
+
Additional states: `blocked` — a step (or a parallel producer) cannot proceed; in graph mode independent ready steps still dispatch, and a fully-gated run emits a deterministic notice (no stall).
|
|
129
164
|
|
|
130
165
|
| state | Meaning |
|
|
131
166
|
|-------|---------|
|
|
@@ -137,52 +172,42 @@ On each `subagentStop`, the hook reconciles `status.state` from the completing p
|
|
|
137
172
|
| `blocked` | Pipeline / step cannot proceed (e.g. `pipeline_parse_error`, completion of a parallel step whose producer's receipt was missing — see `agent-artifact-contracts.md` § Completion receipts) |
|
|
138
173
|
| `awaiting_artifact_receipt` | Producer stopped but the bound or assigned-output receipt was missing or stale; hook keeps the attempt active and does not advance. See `agent-artifact-contracts.md` (Schema field name + Receipt binding) for the silent-bug class that lands here. |
|
|
139
174
|
|
|
175
|
+
On each `subagentStop`, the hook reconciles `status.state` from the completing producer's terminal `artifact-manifest.json` receipt (`completed` \| `changes_requested` \| `validation_failed`) when agents left lifecycle fields untouched. Parent orchestrators must wait for that handoff before invoking the next step.
|
|
176
|
+
|
|
140
177
|
## Pipeline step options
|
|
141
178
|
|
|
142
179
|
| Field | Use |
|
|
143
180
|
|-------|-----|
|
|
144
181
|
| `skipIf` | `debugger.fixed` / `ci-investigator.resolved` — hook skips step when artifact says fix applied |
|
|
145
182
|
| `parallel: true` | `agent` is array — invoke **all** agents in one parent turn; each appends to `parallelCompleted` |
|
|
146
|
-
| `
|
|
183
|
+
| `id` | Stable step handle; the recommended value is the decomposition task ID when 1:1. Unique vs other ids and `taskIds`. |
|
|
184
|
+
| `dependsOn` | Step `id`s / `taskIds` that must be satisfied before dispatch. Optional; **any** occurrence switches the hook to graph mode. |
|
|
185
|
+
| `taskIds` | Decomposition task IDs the step realizes — the shared vocabulary with `decomposition.md` and a `dependsOn` alias. |
|
|
186
|
+
| `writeScopes` | Declared write surface for conflict analysis (see **plan-graph** § Conflict model). |
|
|
187
|
+
| `scope` | e.g. `unit-in-dev`, `e2e-only` — passed to developer/qa |
|
|
147
188
|
| `model` | `cheap` \| `standard` \| `strong` — optional tier override |
|
|
148
189
|
|
|
149
|
-
## Parallel scheduling (graph mode)
|
|
150
|
-
|
|
151
|
-
`pipeline.json` may carry an optional step graph: `steps[].id`, `steps[].taskIds[]`, `steps[].dependsOn[]`, `steps[].writeScopes[]`. While no step declares `dependsOn`, the hook keeps the legacy linear advance; any occurrence switches it to graph mode.
|
|
152
|
-
|
|
153
|
-
- The hook recomputes the **ready queue** on every stop: steps whose `dependsOn` are satisfied, not yet satisfied, not in flight, not skipped, not blocked.
|
|
154
|
-
- The **wave** is the join unit; a single `parallel: true` step is a one-step wave. `status.joinedSlots` is the persistent satisfaction ledger; `status.waveSteps`/`waveId` name the in-flight wave; `status.blockedSteps` excludes a blocked step.
|
|
155
|
-
- Set `parallel: true` only for a set proven conflict-free (disjoint `writeScopes`, distinct agents and `artifactOutputIds`); never place `mockup-reviewer` in a parallel group.
|
|
156
|
-
- **No advance before reconciliation.** Invoke exactly the handoff's agent list (a wave in one turn, multiple Task calls) and do not start a next step from your own reasoning until the hook records the join.
|
|
157
|
-
- A retry re-dispatches only unsatisfied slots: a satisfied sibling keeps its entry and terminal metric and is never re-invoked.
|
|
158
|
-
|
|
159
190
|
## Rules (strict)
|
|
160
191
|
|
|
161
192
|
1. **`/task` always starts with task-router** (except user says "skip router" with documented pipeline).
|
|
162
193
|
2. Read `pipeline.json` before every subagent invocation.
|
|
163
194
|
3. One role per Task call — **except** parallel steps: multiple Task calls in one message.
|
|
164
195
|
4. **Never** skip `humanGates` without `/task-continue` or explicit user approval.
|
|
165
|
-
5. Persist handoffs to disk and update the producer-owned terminal receipt in `artifact-manifest.json
|
|
166
|
-
6. On `changes_requested` from reviewers: hook sets `retryAfterFix` → developer → same reviewer.
|
|
196
|
+
5. Persist handoffs to disk (`brief.md`, `decomposition.md`, `debug-report.md`, `validation-report.md`, `architecture.md`, `migration-plan.md`, `ci-report.md`, `a11y-review.md`, `perf-report.md`, `security-review.md`, `api-contract-review.md`, `unit-test-plan.md`, `documentation.md`, `review.md`, `mockup-review.md`, `ux-design.md`) and update the producer-owned terminal receipt in `artifact-manifest.json`.
|
|
197
|
+
6. On `changes_requested` from reviewers: hook sets `retryAfterFix` → developer → same reviewer. Exception: embedded `mockup-reviewer` FAIL (`changes_requested` while the completed/current agent is `mockup-reviewer`) → `awaiting_approval` / `/task-continue` only — do **not** `retryAfterFix` to developer. A `mockup-reviewer` verdict `mockup-change-requested` (a defect whose fix belongs in the design source, not the implementation) routes the same way — `awaiting_approval`, no developer retry.
|
|
167
198
|
7. On `validation_failed` from `build-verifier`: hook sets `retryAfterFix: build-verifier` → developer → build-verifier.
|
|
168
199
|
8. When all steps complete, suggest `/technical-retro <slug>`.
|
|
169
200
|
9. If `autoChain: false` in pipeline, do not rely on hook — manual step only.
|
|
170
|
-
10. **Persist the verbatim original prompt.** Every `/task` and every routed work request writes the user's raw prompt to `.ai.local/team/tasks/<slug>/prompt.md` during slug bootstrap (write-if-absent; never overwrite on resume).
|
|
171
|
-
11. **Answer the user in the resolved dialogue language for the whole task.** Resolve once at task start
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
**language-policy**.
|
|
201
|
+
10. **Persist the verbatim original prompt.** Every `/task` and every routed work request writes the user's raw prompt to `.ai.local/team/tasks/<slug>/prompt.md` during slug bootstrap (write-if-absent; never overwrite on resume). It is not a manifest `artifacts[]` body — register the path on the `routing` entry. See **agent-artifact-contracts** § Prompt artifact. Also append every **subsequent user-authored** prompt for the same slug — a new user message while the slug is active, `/task-continue` arguments, human-gate feedback, a clarification answer — to the append-only `.ai.local/team/tasks/<slug>/prompt-log.md` (`seq` = max + 1; never rewrite or duplicate an entry; never log machine-generated hook `followup_message` or empty/argument-less invocations). Register its path on the `routing` entry. See **agent-artifact-contracts** § Prompt log.
|
|
202
|
+
11. **Answer the user in the resolved dialogue language for the whole task.** Resolve once at task start (`.ai.local` `## Language` → prompt language → English) and pass it to every step; `/task-continue` keeps it. Never ask the user to pick a language. Development, reasoning, and artifacts stay English. See **language-policy**.
|
|
203
|
+
12. **Invoke the ready set, and never advance before reconciliation.** In graph mode the hook computes the ready queue; invoke exactly the handoff's agent list (a wave in one assistant turn, multiple Task calls) and do not start any next step from your own reasoning until the hook records the join and emits the next handoff. The wave is the join unit; `status.joinedSlots` is the satisfaction ledger.
|
|
204
|
+
13. **Only a proven conflict-free set is `parallel: true`.** Disjoint declared `writeScopes`, distinct agents, distinct `artifactOutputIds`, no shared lifecycle file; `mockup-reviewer` is never parallel (its FAIL gate is serial). See **plan-graph** § Conflict model.
|
|
175
205
|
|
|
176
206
|
## Team artifact I/O (Cursor Shell sandbox)
|
|
177
207
|
|
|
178
|
-
- **Persist the original prompt.** For **every** task — `/task` or a routed work request — write the user's **verbatim** prompt to `.ai.local/team/tasks/<slug>/prompt.md` during slug bootstrap (write-if-absent; never overwrite on resume). The header is additive provenance only; the fenced text block holds the user's words unchanged.
|
|
208
|
+
- **Persist the original prompt.** For **every** task — `/task` or a routed work request — write the user's **verbatim** prompt to `.ai.local/team/tasks/<slug>/prompt.md` during slug bootstrap (write-if-absent; never overwrite on resume). The header is additive provenance only; the fenced text block holds the user's words unchanged. It is not a manifest `artifacts[]` body — the path lives on the `routing` entry. See **agent-artifact-contracts** § Prompt artifact.
|
|
179
209
|
- **Append follow-up prompts.** When a user-authored prompt arrives for an active slug (new message, `/task-continue` args, gate feedback, clarification), append it verbatim to `.ai.local/team/tasks/<slug>/prompt-log.md` — `seq` = current max + 1, create on first append, never rewrite or duplicate an entry, never touch `prompt.md`. Exclude hook `followup_message` and empty/argument-less invocations. Not a manifest `artifacts[]` body — the path lives on the `routing` entry. See **agent-artifact-contracts** § Prompt log.
|
|
180
|
-
- **Answer in the resolved dialogue language.** Resolve once at task start (`.ai.local` `## Language` →
|
|
181
|
-
prompt language → English; mixed → dominant; nearest `.ai.local` wins) and reuse it for every user-facing
|
|
182
|
-
message and `/task-continue`. Record the tag in the `prompt.md` header (`language: <BCP-47>`) + a
|
|
183
|
-
`.memlog.md` `event:` line; a later correction is an append-only memlog event. Development, reasoning, and
|
|
184
|
-
artifacts stay **English**. See **language-policy**.
|
|
185
|
-
|
|
210
|
+
- **Answer in the resolved dialogue language.** Resolve once at task start (`.ai.local` `## Language` → prompt language → English; mixed → dominant; nearest `.ai.local` wins) and reuse it for every user-facing message and `/task-continue`. Record the tag in the `prompt.md` header (`language: <BCP-47>`) + a `.memlog.md` `event:` line; a later correction is an append-only memlog event. Development, reasoning, and artifacts stay **English**. See **language-policy**.
|
|
186
211
|
- Create/update team task dirs with the **Write** tool (parents are created automatically). Do **not** bootstrap slug dirs with Shell `mkdir -p` — default sandbox returns `Operation not permitted` (worse on macOS Desktop/Documents with TCC).
|
|
187
212
|
- If Shell must touch team paths and fails with EPERM, retry with `required_permissions: ["all"]`. Prefer Write for artifacts.
|
|
188
213
|
- Prefer repo under `~/Projects` / `WebstormProjects` over `~/Desktop` when using agent team heavily.
|
|
@@ -11,37 +11,13 @@ This rule is mandatory. **You MUST** obey it on every turn, without exception.
|
|
|
11
11
|
|
|
12
12
|
1. **Probe** — before answering, run `ls -la .ai.local` from the repository root.
|
|
13
13
|
2. **Walk** — if `.ai.local/` exists at multiple levels (monorepo), read every level from root to leaf. **Deeper wins** in practice: more specific rules appear later in the assembled context and take precedence.
|
|
14
|
-
3. **Apply** — treat every `.ai.local/rules/*.md` and `.ai.local/conventions.md` as a higher-priority rule for this repo. Do **not** load `.ai.local/team/**` as rules (shared pipeline artifacts).
|
|
15
|
-
4. **
|
|
16
|
-
5. **
|
|
17
|
-
6. **
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
3. **Apply** — treat every `.ai.local/rules/*.md` and `.ai.local/conventions.md` as a higher-priority rule for this repo. Do **not** load `.ai.local/team/**` as rules (shared pipeline artifacts).
|
|
15
|
+
4. **Activate seeds** — if `.ai.local/rules-library/<seed>.md` exists and matches the current task scope, treat it as the applicable local rule and tell the owner to move it into `.ai.local/rules/`. Seeds are **staged-inactive** until moved. Do not read the whole library up front; read a seed body only when the task matches its name.
|
|
16
|
+
5. **Conflict** — if a local rule conflicts with a preset rule, **the local rule wins**. If a local rule body contains `override: kill <preset-rule-name>`, drop that preset rule from your context window entirely.
|
|
17
|
+
6. **Acknowledge** — when answering a user question, briefly state which `.ai.local/` rules apply to the current task (one line is enough). Format: `Using .ai.local: <rule-name>(, <rule-name>)*`. If no `.ai.local/` exists, do NOT mention this rule.
|
|
18
|
+
7. **Language** — reply to the user in their **native language**: read the `## Language` section of `.ai.local/conventions.md` (nearest `.ai.local` first); if unset, infer from the prompt language; else English. Development, reasoning, and all artifacts stay **English**. See `language-policy`.
|
|
19
|
+
8. **Re-read** — before answering a question that touches a local rule, re-read that file. A file added mid-session needs a new session to be reliable.
|
|
20
20
|
|
|
21
21
|
If `.ai.local/` does not exist → **no-op**, do not error. Do not produce any log line about its absence.
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Each `.ai.local/rules/<name>.md` is a plain-markdown rule body. The model parses it as:
|
|
26
|
-
|
|
27
|
-
- Lines before `## Body` are scope metadata. Only `glob:` / `globs:` / `override:` lines are recognised.
|
|
28
|
-
- Everything from `## Body` onward is the rule body.
|
|
29
|
-
- `glob: always` → always-on. Counts against your context budget.
|
|
30
|
-
- `globs: <comma-separated globs>` → on-demand; applies only when matching files are in focus.
|
|
31
|
-
- `override: kill <preset-rule-name>` → drop that preset rule from context.
|
|
32
|
-
|
|
33
|
-
Keep files ≤ 120 lines. Match the style of preset rules (short sections, bullets, code examples).
|
|
34
|
-
|
|
35
|
-
## Limitations (read this)
|
|
36
|
-
|
|
37
|
-
- Cursor/Claude do **not** natively read `.ai.local/`. This rule is a **prompt-only** mechanism: it asks you, the model, to read and apply the files. Reliability is high but not 100%.
|
|
38
|
-
- If a user adds a file to `.ai.local/` mid-session, **restart the session** to be sure it is picked up.
|
|
39
|
-
- "Priority" is **contextual**, not enforced. Always re-read the local rule before answering questions that touch it.
|
|
40
|
-
- This rule is **not** session-start (Claude convention); it loads on touch of `.ai.local/**` or `AGENTS.md`/`CLAUDE.md`. The "every turn" mandate is enforced by the body text, not by Cursor/Claude loading semantics.
|
|
41
|
-
|
|
42
|
-
## Pointers
|
|
43
|
-
|
|
44
|
-
- Authoring guide: `docs/LOCAL-OVERLAY.md` in the `@bonesofspring/ai-rules` package.
|
|
45
|
-
- Living gotchas: `.ai.local/conventions.md`. Pipeline artifacts: `.ai.local/team/` (do not load as rules).
|
|
46
|
-
- Root `AGENTS.md` reinforces this rule with a `MANDATORY` section.
|
|
47
|
-
- Language policy: `language-policy` (native dialogue; English development/artifacts).
|
|
23
|
+
Authoring format, what `init` overwrites, and the full limitation list live in `docs/LOCAL-OVERLAY.md` in the `@bonesofspring/ai-rules` package. Load that file when writing `.ai.local/rules/` or changing install scope — not on an ordinary turn.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Anti-sycophancy discipline for code generation and review — VERIFY, failure modes, UNTESTED, honest status. Load when writing or changing code.
|
|
3
|
-
paths:
|
|
4
|
-
- "**/*.php"
|
|
3
|
+
paths: []
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
<!-- shared-core: quality/anti-sycophancy-discipline.md -->
|
|
@@ -74,5 +74,5 @@ Style enforcement (formatter / linter / post-change gate) lives in the **stack t
|
|
|
74
74
|
- Public API between packages: exported types in module API or explicit ports — avoid deep imports of another feature's internals.
|
|
75
75
|
- Prefer checked/unchecked exceptions with clear translation at adapter edges; do not leak persistence exceptions upward.
|
|
76
76
|
- Interfaces belong at **ports** (consumer side), not on every class; prefer composition over inheritance.
|
|
77
|
-
- Post-change gate: **`post-change-test.md`** + **`php-tooling.md`** (not yarn lint / xcodebuild / Playwright).
|
|
77
|
+
- Post-change gate: **`tooling-and-review/post-change-test.md`** + **`tooling-and-review/php-tooling.md`** (not yarn lint / xcodebuild / Playwright).
|
|
78
78
|
- Style/static analysis: use **repository/CI** formatter and checks — do not invent a parallel PHP-CS-Fixer/PHPStan bible in rules.
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Code review checklist for PHP hexagonal merge requests
|
|
3
|
-
paths:
|
|
4
|
-
- .ai.local/team/**/*
|
|
5
|
-
- .ai.local/team/**/*
|
|
6
|
-
- "**/*.php"
|
|
7
|
-
- src/**/*
|
|
8
|
-
- tests/**/*
|
|
9
|
-
- "**/Composition/**"
|
|
3
|
+
paths: []
|
|
10
4
|
---
|
|
11
5
|
|
|
12
6
|
<!-- shared-core: review/code-review-mr.md -->
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: PHP toolchain commands (Composer, PHPUnit/Pest, PHPStan/Psalm) — requestable
|
|
3
3
|
paths:
|
|
4
|
-
- .ai.local/team/**/*
|
|
5
|
-
- .ai.local/team/**/*
|
|
6
4
|
- "**/*.php"
|
|
7
5
|
- "**/composer.json"
|
|
8
6
|
- "**/composer.lock"
|
|
@@ -34,6 +32,6 @@ Do not introduce a new static/format tool as a hard gate.
|
|
|
34
32
|
|
|
35
33
|
## Agent requirements
|
|
36
34
|
|
|
37
|
-
- Mandatory after PHP edits: **`post-change-test.
|
|
35
|
+
- Mandatory after PHP edits: **`tooling-and-review/post-change-test.md`**.
|
|
38
36
|
- Never require Playwright, XCUITest, `lint:js`, `lint:css`, `xcodebuild`, `mvn`, or `gradlew` as PHP handoffs.
|
|
39
37
|
- Integration tests: agents `integration-test-*` + skill `integration-testing`.
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Mandatory verification after PHP code edits (Composer/PHPUnit + repo static gates)
|
|
3
3
|
paths:
|
|
4
|
-
- .ai.local/team/**/*
|
|
5
|
-
- .ai.local/team/**/*
|
|
6
4
|
- "**/*.php"
|
|
7
5
|
- "**/composer.json"
|
|
8
6
|
- "**/composer.lock"
|
|
@@ -13,7 +11,7 @@ paths:
|
|
|
13
11
|
|
|
14
12
|
After changing PHP sources or Composer descriptors:
|
|
15
13
|
|
|
16
|
-
1. Detect tools via **`php-tooling`** (Composer scripts preferred).
|
|
14
|
+
1. Detect tools via **`tooling-and-review/php-tooling.md`** (Composer scripts preferred).
|
|
17
15
|
2. Run the repository test task (`composer test` / `vendor/bin/phpunit`, or Pest if that is the repo default).
|
|
18
16
|
3. If the repo **or CI** already runs PHPStan, Psalm, PHP-CS-Fixer, or Pint (config file, Composer script, or workflow step), discover and run the same locally next — **do not** introduce a tool that is absent from the project.
|
|
19
17
|
4. Apply **only** formatter/static-analysis steps already in the project or CI.
|
|
@@ -26,6 +24,6 @@ After changing PHP sources or Composer descriptors:
|
|
|
26
24
|
|
|
27
25
|
## Related
|
|
28
26
|
|
|
29
|
-
- Tooling discovery: `php-tooling`
|
|
30
|
-
- Unit: `
|
|
31
|
-
- Integration: `
|
|
27
|
+
- Tooling discovery: `tooling-and-review/php-tooling.md`
|
|
28
|
+
- Unit: `testing/unit.md` (PHPUnit / Pest)
|
|
29
|
+
- Integration: `testing/integration.md` + `integration-test-*` agents
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
description: "Preset authoring: the presets' primary goal — autonomous simple AND complex execution, maximum quality, project specifics. Use when editing packages/ai-rules/presets/**."
|
|
3
3
|
paths:
|
|
4
4
|
- packages/ai-rules/presets/**/*
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- .ai.local/team/tasks/**/*
|
|
5
|
+
- packages/ai-rules/scripts/**/*
|
|
6
|
+
- packages/ai-rules/docs/**/*
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
<!-- shared-core: meta/preset-goals.md -->
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
description: Preset authoring meta-rule (preset-layering)
|
|
3
3
|
paths:
|
|
4
4
|
- packages/ai-rules/presets/**/*
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- .claude/**/*
|
|
5
|
+
- packages/ai-rules/scripts/**/*
|
|
6
|
+
- packages/ai-rules/docs/**/*
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
<!-- shared-core: meta/preset-layering.md -->
|
package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-no-cross-stack-leakage.md
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
description: Preset authoring meta-rule (preset-no-cross-stack-leakage)
|
|
3
3
|
paths:
|
|
4
4
|
- packages/ai-rules/presets/**/*
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- .claude/**/*
|
|
5
|
+
- packages/ai-rules/scripts/**/*
|
|
6
|
+
- packages/ai-rules/docs/**/*
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
<!-- shared-core: meta/preset-no-cross-stack-leakage.md -->
|
|
@@ -92,7 +91,6 @@ Required instead: package-manager–discovered typecheck/test (`mcp-ts-tooling`,
|
|
|
92
91
|
## Soft / document
|
|
93
92
|
|
|
94
93
|
- Mentioning the other stack in **docs** comparing presets is OK.
|
|
95
|
-
- `build-verifier` may reference other stacks when validating **preset packaging** (`scope: preset-structure-validation`).
|
|
96
94
|
|
|
97
95
|
## Chain fork
|
|
98
96
|
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
description: Preset authoring meta-rule (preset-pr-checklist)
|
|
3
3
|
paths:
|
|
4
4
|
- packages/ai-rules/presets/**/*
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- .claude/**/*
|
|
5
|
+
- packages/ai-rules/scripts/**/*
|
|
6
|
+
- packages/ai-rules/docs/**/*
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
<!-- shared-core: meta/preset-pr-checklist.md -->
|
|
@@ -19,7 +18,7 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
19
18
|
- [ ] **Writing:** rules concise and testable, no demagogy or duplicated prose (`preset-writing-style`)
|
|
20
19
|
- [ ] **SoT:** edits in `packages/…` (not only root `.cursor/`)
|
|
21
20
|
- [ ] **Core:** if `_shared/core/**` changed — all `<!-- shared-core: … -->` consumers updated (or documented intentional fork)
|
|
22
|
-
- [ ] **Twin:** Cursor change → Claude twin **same PR** (**FAIL** if missing on next, nuxt, svelte, ios-swift, android-kotlin, go, java, mcp-ts, php-hexagonal, and php-laravel — see `preset-twin-sync`)
|
|
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`)
|
|
23
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)
|
|
24
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)
|
|
25
24
|
- [ ] **Mapping:** `claude/<stack>/rules/README.md` mapping table is current
|
|
@@ -34,6 +33,10 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
34
33
|
- [ ] **i18n anchors:** kept-marked Cyrillic fragments in `tests-unit.md(c)` stay consistent with their English counterparts. Run `packages/ai-rules/scripts/check-preset-i18n.sh`.
|
|
35
34
|
- [ ] **Dogfood:** run `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-claude.sh`, `sync-dogfood-mavis.sh`, and `sync-dogfood-opencode.sh` when those platforms changed, or document an intentional skip, when maintaining this monorepo
|
|
36
35
|
- [ ] **shared-core drift:** for embed-mode stems, run `packages/ai-rules/scripts/check-shared-core-drift.sh` (or document intentional fork)
|
|
36
|
+
- [ ] **Packaging:** every installable preset ships `REPO_AGENTS.md`; default `hooks.json` does not reference `hooks/examples/`; `_shared/assets/docs-specs/` ships `INDEX.md` + `_templates/{page,feature}.md`; `product-specs` / `product-specs-authoring` stay requestable
|
|
37
|
+
- [ ] **UI-only surfaces:** `mockup-reviewer`, `accessibility-reviewer`, `ux-design`, and the stack performance skill ship only on UI stacks (`check-preset-leakage.sh`)
|
|
38
|
+
- [ ] **Rule eval (soft):** `node packages/ai-rules/scripts/check-rule-eval.mjs` when rule bodies changed
|
|
39
|
+
- [ ] **Gate:** `yarn check:preset-structure` from `packages/ai-rules/` (twin-map, token-budget, leakage, drift, i18n, local overlay)
|
|
37
40
|
|
|
38
41
|
## Pointers
|
|
39
42
|
|
|
@@ -43,7 +46,7 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
43
46
|
- Sync: `preset-twin-sync`
|
|
44
47
|
- Budget: `preset-token-budget`
|
|
45
48
|
- Leakage: `preset-no-cross-stack-leakage`
|
|
46
|
-
- Validation:
|
|
49
|
+
- Validation: `yarn check:preset-structure` (`packages/ai-rules/scripts/check-preset-structure.sh`)
|
|
47
50
|
- Dogfood scripts: `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-claude.sh`, `sync-dogfood-mavis.sh`, `sync-dogfood-opencode.sh`
|
|
48
51
|
- Drift script: `packages/ai-rules/scripts/check-shared-core-drift.sh`
|
|
49
52
|
- Orchestrator: when editing presets, load this checklist + twin-sync
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
description: Preset authoring meta-rule (preset-token-budget)
|
|
3
3
|
paths:
|
|
4
4
|
- packages/ai-rules/presets/**/*
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- .claude/**/*
|
|
5
|
+
- packages/ai-rules/scripts/**/*
|
|
6
|
+
- packages/ai-rules/docs/**/*
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
<!-- shared-core: meta/preset-token-budget.md -->
|
|
@@ -36,8 +35,7 @@ Session-start body budget:
|
|
|
36
35
|
Rules for preset authors (`preset-layering`, `preset-twin-sync`, …):
|
|
37
36
|
|
|
38
37
|
- **Never** `alwaysApply: true` on consumer installs.
|
|
39
|
-
- Cursor
|
|
40
|
-
- Claude: `paths:` limited to `packages/ai-rules/presets/**` (and `.claude/**` dogfood if present).
|
|
38
|
+
- Cursor `globs` / Claude `paths:` limited to ai-rules repo paths: `packages/ai-rules/presets/**`, `packages/ai-rules/scripts/**`, `packages/ai-rules/docs/**`. No consumer paths (`.cursor/**`, `.claude/**`, `.ai.local/**`) — they would attach to ordinary pipeline work.
|
|
41
39
|
|
|
42
40
|
## Heavy workflows
|
|
43
41
|
|
|
@@ -45,4 +43,4 @@ Orchestrator, feature-delivery, code-review, post-change gates, domain globs —
|
|
|
45
43
|
|
|
46
44
|
## Verifier
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
`check-preset-token-budget.sh` FAILs if Cursor `alwaysApply` count or Claude session-start count is outside **3–5** (Claude count **excludes `**/README.md`**), or if a `preset-*` meta rule is marked always-on.
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
description: Preset authoring meta-rule (preset-twin-sync)
|
|
3
3
|
paths:
|
|
4
4
|
- packages/ai-rules/presets/**/*
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- .claude/**/*
|
|
5
|
+
- packages/ai-rules/scripts/**/*
|
|
6
|
+
- packages/ai-rules/docs/**/*
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
<!-- shared-core: meta/preset-twin-sync.md -->
|
|
@@ -17,7 +16,7 @@ Cursor `.mdc` is the **SoT per stack**; every other platform tree is derived in
|
|
|
17
16
|
|
|
18
17
|
| Target | From | Command / rule |
|
|
19
18
|
|--------|------|----------------|
|
|
20
|
-
| **Claude twin** | `cursor/<stack>/rules/*.mdc` |
|
|
19
|
+
| **Claude twin** | `cursor/<stack>/rules/*.mdc` | `generate-claude.mjs --stack <stack>`; destination row **required** in `claude/<stack>/rules/README.md` |
|
|
21
20
|
| **Mavis** | `cursor/<stack>/**` | `generate-mavis.mjs --stack <stack>`; manifest `adapter-map.json` required |
|
|
22
21
|
| **OpenCode** | `cursor/<stack>/**` | `generate-opencode.mjs --stack <stack>`; manifest `adapter-map.json` required |
|
|
23
22
|
|
|
@@ -32,9 +31,9 @@ Validate: `check-mavis-adapter-map.mjs`, `check-opencode-adapter-map.mjs`, `chec
|
|
|
32
31
|
## Same-PR checklist
|
|
33
32
|
|
|
34
33
|
1. Edit the Cursor rule first (body + frontmatter).
|
|
35
|
-
2.
|
|
34
|
+
2. Add or update the Claude README mapping row when the stem/path changed, then run `generate-claude.mjs --stack <stack>`.
|
|
36
35
|
3. Core changed → sync every `<!-- shared-core: … -->` consumer (`sync-shared-core-embeds.sh`).
|
|
37
|
-
4. Cursor source changed →
|
|
36
|
+
4. Cursor source changed → run `yarn fix:generated` to regenerate Claude, Mavis, and OpenCode and recapture required CLI goldens.
|
|
38
37
|
|
|
39
38
|
## Twin depth
|
|
40
39
|
|
|
@@ -42,9 +41,9 @@ Validate: `check-mavis-adapter-map.mjs`, `check-opencode-adapter-map.mjs`, `chec
|
|
|
42
41
|
- **Thin aliases** (`agent-team-intake`, `technical-retro`): may be shorter (soft) if they only point to a command/skill.
|
|
43
42
|
- **Slim-companion rules** (UI-edit bundle, slim app-cores, slim tooling): may be shorter only if the body is a pointer into shared-core / stack prose. `check-preset-token-budget.sh` enforces this via `SLIM_COMPANION_ALLOWLIST` and the 5-line floor; 6–14-line stems outside the allow-list are slim violations.
|
|
44
43
|
|
|
45
|
-
## Severity (
|
|
44
|
+
## Severity (`check:preset-structure`)
|
|
46
45
|
|
|
47
|
-
- Missing Claude twin for a changed Cursor rule → **FAIL** (all 10 stacks; mapping table required).
|
|
46
|
+
- Missing or stale generated Claude twin for a changed Cursor rule → **FAIL** (all 10 stacks; mapping table required).
|
|
48
47
|
- `cursor/<stack>` mapped source changed without mavis / opencode regeneration, or with `adapter-map.json` `sourceRevision` drift → **FAIL**.
|
|
49
48
|
|
|
50
49
|
Dogfood: sync packages → root `.cursor/` after Cursor SoT changes (never the reverse): `sync-dogfood-cursor.sh`.
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
description: "Preset authoring: concise, no-demagogy prose for preset rules, docs, and artifacts. Use when editing packages/ai-rules/presets/**."
|
|
3
3
|
paths:
|
|
4
4
|
- packages/ai-rules/presets/**/*
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- .ai.local/team/tasks/**/*
|
|
5
|
+
- packages/ai-rules/scripts/**/*
|
|
6
|
+
- packages/ai-rules/docs/**/*
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
<!-- shared-core: meta/preset-writing-style.md -->
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Security basics for PHP backends (secrets, auth, PII, TLS)
|
|
3
3
|
paths:
|
|
4
|
+
- "**/Security/**/*"
|
|
4
5
|
- "**/security/**/*"
|
|
6
|
+
- "**/Auth/**/*"
|
|
5
7
|
- "**/auth/**/*"
|
|
6
|
-
- "**/config/**/*"
|
|
7
8
|
- "**/Composition/**/*"
|
|
9
|
+
- "**/config/**/*"
|
|
8
10
|
---
|
|
9
11
|
|
|
12
|
+
|
|
10
13
|
# Security (PHP)
|
|
11
14
|
|
|
12
15
|
- Secrets from env / secret manager — never commit keys, tokens, or `.env` with credentials; do not log passwords or bearer tokens.
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Technical retro alias — use /technical-retro command
|
|
3
|
-
paths:
|
|
4
|
-
- .ai.local/team/**/*
|
|
5
|
-
- .ai.local/team/**/*
|
|
6
|
-
- "**/*.php"
|
|
7
|
-
- src/**/*
|
|
8
|
-
- "**/Composition/**"
|
|
9
|
-
- "**/Composition/*"
|
|
3
|
+
paths: []
|
|
10
4
|
---
|
|
11
5
|
|
|
12
6
|
<!-- shared-core: review/technical-retro.md -->
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ci-investigation
|
|
3
|
-
description: Investigates failing CI checks on PRs and branches — composer test / vendor/bin/phpunit (Pest if present), optional PHPStan/Psalm, integration
|
|
3
|
+
description: Investigates failing CI checks on PRs and branches — composer test / vendor/bin/phpunit (Pest if present), optional PHPStan/Psalm, integration — with local reproduction and minimal fixes. Use when CI is red or for ci-fix pipeline tasks.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# CI investigation (PHP)
|
|
7
7
|
|
|
8
8
|
1. Identify job + log excerpt.
|
|
9
9
|
2. Reproduce locally with the same commands.
|
|
10
|
-
3. Minimal fix
|
|
10
|
+
3. Minimal fix.
|
|
11
11
|
4. Do not treat Playwright/xcodebuild/`lint:js` as default PHP gates.
|
|
12
12
|
|
|
13
13
|
## MCP usage
|