@bonesofspring/ai-rules 0.2.33 → 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 +16 -2
- package/presets/_shared/README.md +3 -1
- package/presets/_shared/core/agent-team/agent-artifact-contracts.md +22 -0
- package/presets/_shared/core/agent-team/agent-task-metrics.md +12 -1
- package/presets/_shared/core/agent-team/agent-team-intake.md +1 -1
- package/presets/_shared/core/agent-team/agent-team-orchestrator.md +19 -5
- package/presets/_shared/core/agent-team/plan-graph.md +28 -0
- package/presets/_shared/core/agent-team/task-classification.md +2 -0
- 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 +2 -2
- package/presets/claude/android-kotlin/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/claude/android-kotlin/commands/task.md +1 -1
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +418 -33
- 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 +2 -4
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +248 -12
- 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 +6 -3
- 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 +2 -2
- package/presets/claude/go/agents/task-router.md +10 -0
- package/presets/claude/go/agents/tech-writer.md +1 -1
- package/presets/claude/go/commands/task-continue.md +1 -1
- package/presets/claude/go/commands/task.md +1 -1
- package/presets/claude/go/hooks/chain-team-phases.sh +418 -35
- 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 +2 -7
- package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +77 -40
- 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 +6 -3
- 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 +2 -2
- package/presets/claude/ios-swift/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/claude/ios-swift/commands/task.md +1 -1
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +418 -33
- 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 +2 -4
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +248 -12
- 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 +6 -3
- 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 +2 -2
- package/presets/claude/java/agents/task-router.md +10 -0
- package/presets/claude/java/agents/tech-writer.md +1 -1
- package/presets/claude/java/commands/task-continue.md +1 -1
- package/presets/claude/java/commands/task.md +1 -1
- package/presets/claude/java/hooks/chain-team-phases.sh +418 -35
- 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 +2 -8
- package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +77 -41
- 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 +6 -3
- 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 +2 -2
- package/presets/claude/mcp-ts/agents/task-router.md +10 -0
- package/presets/claude/mcp-ts/commands/task-continue.md +1 -1
- package/presets/claude/mcp-ts/commands/task.md +1 -1
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +417 -34
- 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 +2 -4
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +79 -39
- 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 +6 -3
- 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 +2 -2
- package/presets/claude/next/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/claude/next/commands/task.md +1 -1
- package/presets/claude/next/hooks/chain-team-phases.sh +418 -33
- 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 +3 -4
- package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +303 -56
- 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 +6 -3
- package/presets/claude/next/team/fixtures/artifact-manifest.example.json +1 -1
- package/presets/claude/next/team/fixtures/feature-parallel.json +84 -0
- 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 +2 -2
- package/presets/claude/nuxt/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/claude/nuxt/commands/task.md +1 -1
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +418 -33
- 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 +2 -2
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +249 -10
- 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 +6 -3
- package/presets/claude/nuxt/team/fixtures/artifact-manifest.example.json +1 -1
- 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 +2 -2
- package/presets/claude/php-hexagonal/agents/task-router.md +10 -0
- package/presets/claude/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/claude/php-hexagonal/commands/task-continue.md +1 -1
- package/presets/claude/php-hexagonal/commands/task.md +1 -1
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +418 -35
- 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 +2 -8
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +77 -41
- 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 +6 -3
- 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 +2 -2
- package/presets/claude/php-laravel/agents/task-router.md +10 -0
- package/presets/claude/php-laravel/agents/tech-writer.md +1 -1
- package/presets/claude/php-laravel/commands/task-continue.md +1 -1
- package/presets/claude/php-laravel/commands/task.md +1 -1
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +418 -35
- 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 +2 -4
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +77 -37
- 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 +6 -3
- 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 +2 -2
- package/presets/claude/svelte/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/claude/svelte/commands/task.md +1 -1
- package/presets/claude/svelte/hooks/chain-team-phases.sh +418 -33
- 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 +2 -3
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +250 -12
- 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 +6 -3
- package/presets/claude/svelte/team/fixtures/artifact-manifest.example.json +1 -1
- 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 +2 -2
- package/presets/cursor/android-kotlin/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/cursor/android-kotlin/commands/task.md +1 -1
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +418 -33
- package/presets/cursor/android-kotlin/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +14 -3
- 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 +5 -2
- 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 +2 -2
- package/presets/cursor/go/agents/task-router.md +10 -0
- package/presets/cursor/go/agents/tech-writer.md +1 -1
- package/presets/cursor/go/commands/task-continue.md +1 -1
- package/presets/cursor/go/commands/task.md +1 -1
- package/presets/cursor/go/hooks/chain-team-phases.sh +418 -35
- package/presets/cursor/go/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/go/rules/agent-team-orchestrator.mdc +13 -2
- 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 +5 -2
- 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 +2 -2
- package/presets/cursor/ios-swift/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/cursor/ios-swift/commands/task.md +1 -1
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +418 -33
- package/presets/cursor/ios-swift/rules/README.md +1 -1
- package/presets/cursor/ios-swift/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +14 -3
- 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 +5 -2
- 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 +2 -2
- package/presets/cursor/java/agents/task-router.md +10 -0
- package/presets/cursor/java/agents/tech-writer.md +1 -1
- package/presets/cursor/java/commands/task-continue.md +1 -1
- package/presets/cursor/java/commands/task.md +1 -1
- package/presets/cursor/java/hooks/chain-team-phases.sh +418 -35
- package/presets/cursor/java/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/java/rules/agent-team-orchestrator.mdc +13 -2
- 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 +5 -2
- 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 +2 -2
- package/presets/cursor/mcp-ts/agents/task-router.md +10 -0
- package/presets/cursor/mcp-ts/commands/task-continue.md +1 -1
- package/presets/cursor/mcp-ts/commands/task.md +1 -1
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +417 -34
- package/presets/cursor/mcp-ts/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +13 -2
- 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 +5 -2
- 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 +2 -2
- package/presets/cursor/next/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/cursor/next/commands/task.md +1 -1
- package/presets/cursor/next/hooks/chain-team-phases.sh +418 -33
- package/presets/cursor/next/rules/README.md +4 -5
- package/presets/cursor/next/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/next/rules/agent-team-orchestrator.mdc +16 -5
- 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 +5 -2
- package/presets/cursor/next/team/fixtures/artifact-manifest.example.json +1 -1
- package/presets/cursor/next/team/fixtures/feature-parallel.json +84 -0
- 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 +2 -2
- package/presets/cursor/nuxt/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/cursor/nuxt/commands/task.md +1 -1
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +418 -33
- package/presets/cursor/nuxt/rules/README.md +3 -3
- package/presets/cursor/nuxt/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +14 -3
- 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 +5 -2
- package/presets/cursor/nuxt/team/fixtures/artifact-manifest.example.json +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 +2 -2
- package/presets/cursor/php-hexagonal/agents/task-router.md +10 -0
- package/presets/cursor/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/cursor/php-hexagonal/commands/task-continue.md +1 -1
- package/presets/cursor/php-hexagonal/commands/task.md +1 -1
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +418 -35
- package/presets/cursor/php-hexagonal/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +13 -2
- 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 +5 -2
- 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 +2 -2
- package/presets/cursor/php-laravel/agents/task-router.md +10 -0
- package/presets/cursor/php-laravel/agents/tech-writer.md +1 -1
- package/presets/cursor/php-laravel/commands/task-continue.md +1 -1
- package/presets/cursor/php-laravel/commands/task.md +1 -1
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +418 -35
- package/presets/cursor/php-laravel/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +13 -2
- 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 +5 -2
- 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 +2 -2
- package/presets/cursor/svelte/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/cursor/svelte/commands/task.md +1 -1
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +418 -33
- package/presets/cursor/svelte/rules/README.md +2 -2
- package/presets/cursor/svelte/rules/agent-team-intake.mdc +1 -1
- package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +14 -3
- 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 +5 -2
- package/presets/cursor/svelte/team/fixtures/artifact-manifest.example.json +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 +2 -2
- package/presets/mavis/android-kotlin/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/mavis/android-kotlin/commands/task.md +1 -1
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +418 -33
- package/presets/mavis/android-kotlin/rules/agent-team-intake.md +1 -1
- package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/mavis/go/agents/task-router.md +10 -0
- package/presets/mavis/go/agents/tech-writer.md +1 -1
- package/presets/mavis/go/commands/task-continue.md +1 -1
- package/presets/mavis/go/commands/task.md +1 -1
- package/presets/mavis/go/hooks/chain-team-phases.sh +418 -35
- package/presets/mavis/go/rules/agent-team-intake.md +1 -1
- package/presets/mavis/go/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/mavis/ios-swift/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/mavis/ios-swift/commands/task.md +1 -1
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +418 -33
- package/presets/mavis/ios-swift/rules/agent-team-intake.md +1 -1
- package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/mavis/java/agents/task-router.md +10 -0
- package/presets/mavis/java/agents/tech-writer.md +1 -1
- package/presets/mavis/java/commands/task-continue.md +1 -1
- package/presets/mavis/java/commands/task.md +1 -1
- package/presets/mavis/java/hooks/chain-team-phases.sh +418 -35
- package/presets/mavis/java/rules/agent-team-intake.md +1 -1
- package/presets/mavis/java/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/mavis/mcp-ts/agents/task-router.md +10 -0
- package/presets/mavis/mcp-ts/commands/task-continue.md +1 -1
- package/presets/mavis/mcp-ts/commands/task.md +1 -1
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +417 -34
- package/presets/mavis/mcp-ts/rules/agent-team-intake.md +1 -1
- package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- package/presets/mavis/next/REPO_AGENTS.md +11 -7
- package/presets/mavis/next/adapter-map.json +9 -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 +2 -2
- package/presets/mavis/next/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/mavis/next/commands/task.md +1 -1
- package/presets/mavis/next/hooks/chain-team-phases.sh +418 -33
- package/presets/mavis/next/rules/agent-team-intake.md +1 -1
- package/presets/mavis/next/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- package/presets/mavis/next/team/fixtures/artifact-manifest.example.json +1 -1
- package/presets/mavis/next/team/fixtures/feature-parallel.json +84 -0
- 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 +2 -2
- package/presets/mavis/nuxt/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/mavis/nuxt/commands/task.md +1 -1
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +418 -33
- package/presets/mavis/nuxt/rules/agent-team-intake.md +1 -1
- package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- package/presets/mavis/nuxt/team/fixtures/artifact-manifest.example.json +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 +2 -2
- package/presets/mavis/php-hexagonal/agents/task-router.md +10 -0
- package/presets/mavis/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/mavis/php-hexagonal/commands/task-continue.md +1 -1
- package/presets/mavis/php-hexagonal/commands/task.md +1 -1
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +418 -35
- package/presets/mavis/php-hexagonal/rules/agent-team-intake.md +1 -1
- package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/mavis/php-laravel/agents/task-router.md +10 -0
- package/presets/mavis/php-laravel/agents/tech-writer.md +1 -1
- package/presets/mavis/php-laravel/commands/task-continue.md +1 -1
- package/presets/mavis/php-laravel/commands/task.md +1 -1
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +418 -35
- package/presets/mavis/php-laravel/rules/agent-team-intake.md +1 -1
- package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/mavis/svelte/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/mavis/svelte/commands/task.md +1 -1
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +418 -33
- package/presets/mavis/svelte/rules/agent-team-intake.md +1 -1
- package/presets/mavis/svelte/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- package/presets/mavis/svelte/team/fixtures/artifact-manifest.example.json +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 +2 -2
- package/presets/opencode/android-kotlin/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/opencode/android-kotlin/commands/task.md +1 -1
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +418 -33
- package/presets/opencode/android-kotlin/rules/agent-team-intake.md +1 -1
- package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/opencode/go/agents/task-router.md +10 -0
- package/presets/opencode/go/agents/tech-writer.md +1 -1
- package/presets/opencode/go/commands/task-continue.md +1 -1
- package/presets/opencode/go/commands/task.md +1 -1
- package/presets/opencode/go/hooks/chain-team-phases.sh +418 -35
- package/presets/opencode/go/rules/agent-team-intake.md +1 -1
- package/presets/opencode/go/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/opencode/ios-swift/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/opencode/ios-swift/commands/task.md +1 -1
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +418 -33
- package/presets/opencode/ios-swift/rules/agent-team-intake.md +1 -1
- package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/opencode/java/agents/task-router.md +10 -0
- package/presets/opencode/java/agents/tech-writer.md +1 -1
- package/presets/opencode/java/commands/task-continue.md +1 -1
- package/presets/opencode/java/commands/task.md +1 -1
- package/presets/opencode/java/hooks/chain-team-phases.sh +418 -35
- package/presets/opencode/java/rules/agent-team-intake.md +1 -1
- package/presets/opencode/java/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/opencode/mcp-ts/agents/task-router.md +10 -0
- package/presets/opencode/mcp-ts/commands/task-continue.md +1 -1
- package/presets/opencode/mcp-ts/commands/task.md +1 -1
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +417 -34
- package/presets/opencode/mcp-ts/rules/agent-team-intake.md +1 -1
- package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- package/presets/opencode/next/REPO_AGENTS.md +11 -7
- package/presets/opencode/next/adapter-map.json +9 -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 +2 -2
- package/presets/opencode/next/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/opencode/next/commands/task.md +1 -1
- package/presets/opencode/next/hooks/chain-team-phases.sh +418 -33
- package/presets/opencode/next/rules/agent-team-intake.md +1 -1
- package/presets/opencode/next/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- package/presets/opencode/next/team/fixtures/artifact-manifest.example.json +1 -1
- package/presets/opencode/next/team/fixtures/feature-parallel.json +84 -0
- 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 +2 -2
- package/presets/opencode/nuxt/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/opencode/nuxt/commands/task.md +1 -1
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +418 -33
- package/presets/opencode/nuxt/rules/agent-team-intake.md +1 -1
- package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- package/presets/opencode/nuxt/team/fixtures/artifact-manifest.example.json +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 +2 -2
- package/presets/opencode/php-hexagonal/agents/task-router.md +10 -0
- package/presets/opencode/php-hexagonal/agents/tech-writer.md +1 -1
- package/presets/opencode/php-hexagonal/commands/task-continue.md +1 -1
- package/presets/opencode/php-hexagonal/commands/task.md +1 -1
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +418 -35
- package/presets/opencode/php-hexagonal/rules/agent-team-intake.md +1 -1
- package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/opencode/php-laravel/agents/task-router.md +10 -0
- package/presets/opencode/php-laravel/agents/tech-writer.md +1 -1
- package/presets/opencode/php-laravel/commands/task-continue.md +1 -1
- package/presets/opencode/php-laravel/commands/task.md +1 -1
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +418 -35
- package/presets/opencode/php-laravel/rules/agent-team-intake.md +1 -1
- package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- 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 +2 -2
- package/presets/opencode/svelte/agents/task-router.md +10 -0
- 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/commands/task-continue.md +1 -1
- package/presets/opencode/svelte/commands/task.md +1 -1
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +418 -33
- package/presets/opencode/svelte/rules/agent-team-intake.md +1 -1
- package/presets/opencode/svelte/rules/agent-team-orchestrator.md +19 -5
- 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 +5 -2
- package/presets/opencode/svelte/team/fixtures/artifact-manifest.example.json +1 -1
- 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-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 -191
- package/scripts/check-preset-self-review-contract.sh +0 -179
- package/scripts/check-preset-structure.sh +0 -295
- 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-task-router-intents.sh +0 -154
- package/scripts/fixtures/cli-golden/claude/next.json +0 -145
- package/scripts/fixtures/cli-golden/cursor/next.json +0 -167
- 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 -160
- 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 -160
- 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 -1058
- package/scripts/test-chain-team-phases-coverage.mjs +0 -693
- 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-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 -175
- 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
|
@@ -101,7 +101,7 @@ Existing pipelines without `routingDecision` remain valid; routers emit it for n
|
|
|
101
101
|
|
|
102
102
|
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.
|
|
103
103
|
|
|
104
|
-
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.
|
|
104
|
+
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.
|
|
105
105
|
|
|
106
106
|
## Artifact context index and receipts
|
|
107
107
|
|
|
@@ -127,7 +127,7 @@ Each producing agent runs a **pre-receipt self-review** of its own output — go
|
|
|
127
127
|
|
|
128
128
|
- **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.
|
|
129
129
|
- **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.
|
|
130
|
-
- **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.
|
|
130
|
+
- **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.
|
|
131
131
|
|
|
132
132
|
## status.json (pipeline mode)
|
|
133
133
|
|
|
@@ -152,7 +152,14 @@ Each producing agent runs a **pre-receipt self-review** of its own output — go
|
|
|
152
152
|
| `activeAttempts` | Transient timing bridge keyed by `attemptId` |
|
|
153
153
|
| `lastCompletedAttempt` | Diagnostic pointer to the latest finished attempt |
|
|
154
154
|
| `parallelCompleted` | Agents that have stopped in the current parallel step |
|
|
155
|
-
| `parallelOutcomes` | Per-agent `{ outcome, attemptId, confidence }` for the current parallel join; cleared when the step advances
|
|
155
|
+
| `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 |
|
|
156
|
+
| `joinedSlots` | Persistent satisfaction ledger `"<stepIndex>:<agent>" → { agent, stepIndex, attemptId, outcome }`; the ready-queue history (graph mode) |
|
|
157
|
+
| `waveSteps` | Step indexes of the in-flight wave; cleared on wave completion |
|
|
158
|
+
| `waveId` | `<runId>:wave-<firstStepIndex>` for the in-flight wave |
|
|
159
|
+
| `graphMode` | Cached `steps.some(s => Array.isArray(s.dependsOn))` |
|
|
160
|
+
| `blockedSteps` | Steps that ended `blocked`, excluded from the ready set until a human-approved retry |
|
|
161
|
+
|
|
162
|
+
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).
|
|
156
163
|
|
|
157
164
|
| state | Meaning |
|
|
158
165
|
|-------|---------|
|
|
@@ -172,7 +179,11 @@ On each `subagentStop`, the hook reconciles `status.state` from the completing p
|
|
|
172
179
|
|-------|-----|
|
|
173
180
|
| `skipIf` | `debugger.fixed` / `ci-investigator.resolved` — hook skips step when artifact says fix applied |
|
|
174
181
|
| `parallel: true` | `agent` is array — invoke **all** agents in one parent turn; each appends to `parallelCompleted` |
|
|
175
|
-
| `
|
|
182
|
+
| `id` | Stable step handle; the recommended value is the decomposition task ID when 1:1. Unique vs other ids and `taskIds`. |
|
|
183
|
+
| `dependsOn` | Step `id`s / `taskIds` that must be satisfied before dispatch. Optional; **any** occurrence switches the hook to graph mode. |
|
|
184
|
+
| `taskIds` | Decomposition task IDs the step realizes — the shared vocabulary with `decomposition.md` and a `dependsOn` alias. |
|
|
185
|
+
| `writeScopes` | Declared write surface for conflict analysis (see **plan-graph** § Conflict model). |
|
|
186
|
+
| `scope` | e.g. `unit-in-dev`, `e2e-only` — passed to developer/qa |
|
|
176
187
|
| `model` | `cheap` \| `standard` \| `strong` — optional tier override |
|
|
177
188
|
|
|
178
189
|
## Rules (strict)
|
|
@@ -186,12 +197,15 @@ On each `subagentStop`, the hook reconciles `status.state` from the completing p
|
|
|
186
197
|
7. On `validation_failed` from `build-verifier`: hook sets `retryAfterFix: build-verifier` → developer → build-verifier.
|
|
187
198
|
8. When all steps complete, suggest `/technical-retro <slug>`.
|
|
188
199
|
9. If `autoChain: false` in pipeline, do not rely on hook — manual step only.
|
|
189
|
-
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.
|
|
200
|
+
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.
|
|
190
201
|
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**.
|
|
202
|
+
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.
|
|
203
|
+
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.
|
|
191
204
|
|
|
192
205
|
## Team artifact I/O
|
|
193
206
|
|
|
194
207
|
- **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.
|
|
208
|
+
- **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.
|
|
195
209
|
- **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**.
|
|
196
210
|
- 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).
|
|
197
211
|
- If Shell must touch team paths and fails with EPERM, retry with `required_permissions: ["all"]`. Prefer Write for artifacts.
|
|
@@ -6,36 +6,13 @@ This rule is mandatory. **You MUST** obey it on every turn, without exception.
|
|
|
6
6
|
|
|
7
7
|
1. **Probe** — before answering, run `ls -la .ai.local` from the repository root.
|
|
8
8
|
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.
|
|
9
|
-
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).
|
|
10
|
-
4. **
|
|
11
|
-
5. **
|
|
12
|
-
6. **
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
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).
|
|
10
|
+
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.
|
|
11
|
+
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.
|
|
12
|
+
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.
|
|
13
|
+
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`.
|
|
14
|
+
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.
|
|
15
15
|
|
|
16
16
|
If `.ai.local/` does not exist → **no-op**, do not error. Do not produce any log line about its absence.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Each `.ai.local/rules/<name>.md` is a plain-markdown rule body. The model parses it as:
|
|
21
|
-
|
|
22
|
-
- Lines before `## Body` are scope metadata. Only `glob:` / `globs:` / `override:` lines are recognised.
|
|
23
|
-
- Everything from `## Body` onward is the rule body.
|
|
24
|
-
- `glob: always` → always-on. Counts against your context budget.
|
|
25
|
-
- `globs: <comma-separated globs>` → on-demand; applies only when matching files are in focus.
|
|
26
|
-
- `override: kill <preset-rule-name>` → drop that preset rule from context.
|
|
27
|
-
|
|
28
|
-
Keep files ≤ 120 lines. Match the style of preset rules (short sections, bullets, code examples).
|
|
29
|
-
|
|
30
|
-
## Limitations (read this)
|
|
31
|
-
|
|
32
|
-
- 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%.
|
|
33
|
-
- If a user adds a file to `.ai.local/` mid-session, **restart the session** to be sure it is picked up.
|
|
34
|
-
- "Priority" is **contextual**, not enforced. Always re-read the local rule before answering questions that touch it.
|
|
35
|
-
|
|
36
|
-
## Pointers
|
|
37
|
-
|
|
38
|
-
- Authoring guide: `docs/LOCAL-OVERLAY.md` in the `@bonesofspring/ai-rules` package.
|
|
39
|
-
- Living gotchas: `.ai.local/conventions.md`. Pipeline artifacts: `.ai.local/team/` (do not load as rules).
|
|
40
|
-
- Root `AGENTS.md` reinforces this rule with a `MANDATORY` section.
|
|
41
|
-
- Language policy: `language-policy` (native dialogue; English development/artifacts).
|
|
18
|
+
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.
|
|
@@ -10,7 +10,7 @@ Typical feature with data and UI. Concrete directories and rule stems — in the
|
|
|
10
10
|
2. **Transport / DTO** — DTOs and mappers Domain ↔ transport (must not leak into UI).
|
|
11
11
|
3. **Services / Data** — repository / API-service implementations via the stack’s public clients.
|
|
12
12
|
4. **State** — store / ViewModel / use cases; no direct HTTP and no DTOs in UI.
|
|
13
|
-
5. **UI** — thin views/components; data via state; design system. If the prompt or `brief.md` contains a `figma.com` URL, **mockup review must complete** (or the user must continue past FAIL/`BLOCKED_MCP` via `/task-continue`) **before UI work**. When required-signal and **no** `figma.com`, **`ux-design.md` must exist** (not `INCOMPLETE`) before UI work — else blocked, hand back to analyst. Non-UI tasks no-op these gates. When a mockup contract exists for the WP, the UI step consumes it (per-node spec = the binding baseline) and a
|
|
13
|
+
5. **UI** — thin views/components; data via state; design system. If the prompt or `brief.md` contains a `figma.com` URL, **mockup review must complete** (or the user must continue past FAIL/`BLOCKED_MCP` via `/task-continue`) **before UI work**. When required-signal and **no** `figma.com`, **`ux-design.md` must exist** (not `INCOMPLETE`) before UI work — else blocked, hand back to analyst. Non-UI tasks no-op these gates. When a mockup contract exists for the WP, the UI step consumes it (per-node spec = the binding baseline) and a post-implementation verification gate runs against it (scope per `mockup-review` § Post-implementation gate) — screenshot / value / state / structural-parity diff plus a freeze re-check; unmapped implemented components are findings, not silent additions.
|
|
14
14
|
6. **Tests** — unit for mappers / non-trivial logic; e2e/UI per stack convention.
|
|
15
15
|
7. **Completion** — stack post-change gate (lint/build) + package/toolchain rules. When the current WP spans **more than one** layer or module, `implementation.md` includes a **Code Map** (3–8 annotated repo-relative paths) and **Suggested Review Order** (`concern | path:line | ≤15 word note`). Omit both for a single-file or single-layer WP.
|
|
16
16
|
|
|
@@ -83,7 +83,6 @@ Required instead: package-manager–discovered typecheck/test (`mcp-ts-tooling`,
|
|
|
83
83
|
## Soft / document
|
|
84
84
|
|
|
85
85
|
- Mentioning the other stack in **docs** comparing presets is OK.
|
|
86
|
-
- `build-verifier` may reference other stacks when validating **preset packaging** (`scope: preset-structure-validation`).
|
|
87
86
|
|
|
88
87
|
## Chain fork
|
|
89
88
|
|
|
@@ -10,7 +10,7 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
10
10
|
- [ ] **Writing:** rules concise and testable, no demagogy or duplicated prose (`preset-writing-style`)
|
|
11
11
|
- [ ] **SoT:** edits in `packages/…` (not only root `.cursor/`)
|
|
12
12
|
- [ ] **Core:** if `_shared/core/**` changed — all `<!-- shared-core: … -->` consumers updated (or documented intentional fork)
|
|
13
|
-
- [ ] **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`)
|
|
13
|
+
- [ ] **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`)
|
|
14
14
|
- [ ] **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)
|
|
15
15
|
- [ ] **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)
|
|
16
16
|
- [ ] **Mapping:** `claude/<stack>/rules/README.md` mapping table is current
|
|
@@ -25,6 +25,10 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
25
25
|
- [ ] **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`.
|
|
26
26
|
- [ ] **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
|
|
27
27
|
- [ ] **shared-core drift:** for embed-mode stems, run `packages/ai-rules/scripts/check-shared-core-drift.sh` (or document intentional fork)
|
|
28
|
+
- [ ] **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
|
|
29
|
+
- [ ] **UI-only surfaces:** `mockup-reviewer`, `accessibility-reviewer`, `ux-design`, and the stack performance skill ship only on UI stacks (`check-preset-leakage.sh`)
|
|
30
|
+
- [ ] **Rule eval (soft):** `node packages/ai-rules/scripts/check-rule-eval.mjs` when rule bodies changed
|
|
31
|
+
- [ ] **Gate:** `yarn check:preset-structure` from `packages/ai-rules/` (twin-map, token-budget, leakage, drift, i18n, local overlay)
|
|
28
32
|
|
|
29
33
|
## Pointers
|
|
30
34
|
|
|
@@ -34,7 +38,7 @@ Checklist for PRs that touch `packages/ai-rules/presets/**` (and dogfood `.curso
|
|
|
34
38
|
- Sync: `preset-twin-sync`
|
|
35
39
|
- Budget: `preset-token-budget`
|
|
36
40
|
- Leakage: `preset-no-cross-stack-leakage`
|
|
37
|
-
- Validation:
|
|
41
|
+
- Validation: `yarn check:preset-structure` (`packages/ai-rules/scripts/check-preset-structure.sh`)
|
|
38
42
|
- Dogfood scripts: `packages/ai-rules/scripts/sync-dogfood-cursor.sh`, `sync-dogfood-claude.sh`, `sync-dogfood-mavis.sh`, `sync-dogfood-opencode.sh`
|
|
39
43
|
- Drift script: `packages/ai-rules/scripts/check-shared-core-drift.sh`
|
|
40
44
|
- Orchestrator: when editing presets, load this checklist + twin-sync
|
|
@@ -27,8 +27,7 @@ Session-start body budget:
|
|
|
27
27
|
Rules for preset authors (`preset-layering`, `preset-twin-sync`, …):
|
|
28
28
|
|
|
29
29
|
- **Never** `alwaysApply: true` on consumer installs.
|
|
30
|
-
- Cursor
|
|
31
|
-
- Claude: `paths:` limited to `packages/ai-rules/presets/**` (and `.claude/**` dogfood if present).
|
|
30
|
+
- 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.
|
|
32
31
|
|
|
33
32
|
## Heavy workflows
|
|
34
33
|
|
|
@@ -36,4 +35,4 @@ Orchestrator, feature-delivery, code-review, post-change gates, domain globs —
|
|
|
36
35
|
|
|
37
36
|
## Verifier
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
`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.
|
|
@@ -8,7 +8,7 @@ Cursor `.mdc` is the **SoT per stack**; every other platform tree is derived in
|
|
|
8
8
|
|
|
9
9
|
| Target | From | Command / rule |
|
|
10
10
|
|--------|------|----------------|
|
|
11
|
-
| **Claude twin** | `cursor/<stack>/rules/*.mdc` |
|
|
11
|
+
| **Claude twin** | `cursor/<stack>/rules/*.mdc` | `generate-claude.mjs --stack <stack>`; destination row **required** in `claude/<stack>/rules/README.md` |
|
|
12
12
|
| **Mavis** | `cursor/<stack>/**` | `generate-mavis.mjs --stack <stack>`; manifest `adapter-map.json` required |
|
|
13
13
|
| **OpenCode** | `cursor/<stack>/**` | `generate-opencode.mjs --stack <stack>`; manifest `adapter-map.json` required |
|
|
14
14
|
|
|
@@ -23,9 +23,9 @@ Validate: `check-mavis-adapter-map.mjs`, `check-opencode-adapter-map.mjs`, `chec
|
|
|
23
23
|
## Same-PR checklist
|
|
24
24
|
|
|
25
25
|
1. Edit the Cursor rule first (body + frontmatter).
|
|
26
|
-
2.
|
|
26
|
+
2. Add or update the Claude README mapping row when the stem/path changed, then run `generate-claude.mjs --stack <stack>`.
|
|
27
27
|
3. Core changed → sync every `<!-- shared-core: … -->` consumer (`sync-shared-core-embeds.sh`).
|
|
28
|
-
4. Cursor source changed →
|
|
28
|
+
4. Cursor source changed → run `yarn fix:generated` to regenerate Claude, Mavis, and OpenCode and recapture required CLI goldens.
|
|
29
29
|
|
|
30
30
|
## Twin depth
|
|
31
31
|
|
|
@@ -33,9 +33,9 @@ Validate: `check-mavis-adapter-map.mjs`, `check-opencode-adapter-map.mjs`, `chec
|
|
|
33
33
|
- **Thin aliases** (`agent-team-intake`, `technical-retro`): may be shorter (soft) if they only point to a command/skill.
|
|
34
34
|
- **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.
|
|
35
35
|
|
|
36
|
-
## Severity (
|
|
36
|
+
## Severity (`check:preset-structure`)
|
|
37
37
|
|
|
38
|
-
- Missing Claude twin for a changed Cursor rule → **FAIL** (all 10 stacks; mapping table required).
|
|
38
|
+
- Missing or stale generated Claude twin for a changed Cursor rule → **FAIL** (all 10 stacks; mapping table required).
|
|
39
39
|
- `cursor/<stack>` mapped source changed without mavis / opencode regeneration, or with `adapter-map.json` `sourceRevision` drift → **FAIL**.
|
|
40
40
|
|
|
41
41
|
Dogfood: sync packages → root `.cursor/` after Cursor SoT changes (never the reverse): `sync-dogfood-cursor.sh`.
|
|
@@ -17,6 +17,7 @@ Shared `/task` runtime for Cursor, Claude, Mavis, and OpenCode. Seeded at **`.ai
|
|
|
17
17
|
metrics.json # hook-owned append-only ledger
|
|
18
18
|
artifact-manifest.json # producer receipts
|
|
19
19
|
prompt.md # verbatim original ask + resolved `language: <BCP-47>` header (write-if-absent; write point = /task Slug bootstrap; path on the routing entry)
|
|
20
|
+
prompt-log.md # append-only ledger of subsequent user-authored prompts (orchestrator-written; created on first follow-up; path on the routing entry)
|
|
20
21
|
brief.md, decomposition.md, implementation.md, review.md, …
|
|
21
22
|
.memlog.md # optional agent notes (hook does not parse)
|
|
22
23
|
```
|
|
@@ -53,7 +54,7 @@ Bootstrap a slug by **writing** `pipeline.json` (editor Write tool). Do not `mkd
|
|
|
53
54
|
|
|
54
55
|
## status.json
|
|
55
56
|
|
|
56
|
-
Prefer `phase: executing`. States: `in_progress`, `completed`, `awaiting_approval` (`/task-continue`), `changes_requested`, `validation_failed`.
|
|
57
|
+
Prefer `phase: executing`. States: `in_progress`, `completed`, `awaiting_approval` (`/task-continue`), `changes_requested`, `validation_failed`, `blocked` (graph mode still dispatches independent ready steps), `awaiting_artifact_receipt`.
|
|
57
58
|
|
|
58
59
|
## Commands
|
|
59
60
|
|
|
@@ -77,6 +78,8 @@ Same JSON on Claude, Mavis, or OpenCode: `bash .<tool>/hooks/chain-team-phases.s
|
|
|
77
78
|
|
|
78
79
|
`pipeline.json` MAY carry these additive, **hook-ignored** fields (schema v1 ignores unknown fields; the hook never parses them): `epics[]` (staging + exit criteria), `planRevision` (current plan rev), `contextBudget` (budget / checkpoint note).
|
|
79
80
|
|
|
81
|
+
`pipeline.json` `steps[]` MAY also carry the optional **step graph**: `id`, `taskIds[]`, `dependsOn[]`, `writeScopes[]`. While no step declares `dependsOn`, the hook keeps the linear pass; any occurrence switches it to graph mode, where the hook computes the ready queue and dispatches each conflict-free wave (one turn, multiple Task calls). `writeScopes` is the declared write surface that proves conflict-freedom (see shared-core `agent-team/plan-graph.md` § Pipeline step graph / § Conflict model). The hook records satisfaction in `status.joinedSlots` and names the in-flight wave in `status.waveSteps` / `status.waveId`.
|
|
82
|
+
|
|
80
83
|
**Checkpoint / resume:** progress is checkpointed to `tasks/<slug>/.memlog.md` (`## <date>` + `event:` entries) and the `artifact-manifest.json` `implementation` entry (`authoritativePaths`). A resumed run reads both and continues at the first stage whose exit criteria are unmet.
|
|
81
84
|
|
|
82
85
|
**Self-review / re-anchor:** each producing agent records a `## Self-review` block in the artifact it owns (`brief.md` / `implementation.md` / `debug-report.md` / `validation-report.md` / `review.md`) and, on detected context loss / excess, a re-anchor line in `.memlog.md` — `event:` (no plan change) or `decision: replan rev N → N+1` (plan change). No hook/lifecycle field is added.
|
|
@@ -84,5 +87,5 @@ Same JSON on Claude, Mavis, or OpenCode: `bash .<tool>/hooks/chain-team-phases.s
|
|
|
84
87
|
## Contracts
|
|
85
88
|
|
|
86
89
|
- Manifest schema: shared core `agent-team/agent-artifact-contracts.md`. Read it first; producers upsert only their IDs.
|
|
87
|
-
- Metrics: append-only allowlisted events — `agent-team/agent-task-metrics.md`. Aggregate: `node
|
|
90
|
+
- Metrics: append-only allowlisted events — `agent-team/agent-task-metrics.md`. Aggregate: `node node_modules/@bonesofspring/ai-rules/scripts/aggregate-agent-task-metrics.mjs --team-root .ai.local/team`.
|
|
88
91
|
- Commit `.ai.local/team/` templates (and slugs if you want them in clones).
|
|
@@ -20,19 +20,23 @@ Per-tool: `init cursor|claude|mavis|opencode --preset next`. `init` overwrites t
|
|
|
20
20
|
|
|
21
21
|
## Presence-based load
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Read the map and the essential rules for the tool you are running in. Do not preload the full catalog. Do not read the other installed tool trees — their copies of the same rules belong to that host.
|
|
24
24
|
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
25
|
+
- Cursor host: `.cursor/AGENTS.md`. Always-on rules are already injected.
|
|
26
|
+
- Claude Code host: `.claude/CLAUDE.md`. Session-start rules are already injected.
|
|
27
|
+
- Mavis host: read `.mavis/AGENTS.md`, then `.mavis/rules/next-app-core.md`, `.mavis/rules/package-manager.md`, `.mavis/rules/code-quality-and-refactoring.md`, `.mavis/rules/ai-local-overlay.md`.
|
|
28
|
+
- OpenCode host: read `.opencode/AGENTS.md`, then `.opencode/rules/next-app-core.md`, `.opencode/rules/package-manager.md`, `.opencode/rules/code-quality-and-refactoring.md`, `.opencode/rules/ai-local-overlay.md`.
|
|
29
29
|
|
|
30
|
-
Mavis has no native rule discovery without those root paths. OpenCode has no `alwaysApply` engine —
|
|
30
|
+
Mavis has no native rule discovery without those root paths. OpenCode has no `alwaysApply` engine — those root-entry files are its always-on set.
|
|
31
31
|
|
|
32
32
|
## Pipelines are shared
|
|
33
33
|
|
|
34
34
|
`/task` slug, `status.json`, and `metrics.json` live under `.ai.local/team/tasks/<slug>/`. Cursor, Claude, Mavis, and OpenCode share this folder (including `init multi`).
|
|
35
35
|
|
|
36
|
+
## Prompt persistence (every work request)
|
|
37
|
+
|
|
38
|
+
For **every** work request — with or without `/task` — persist the user's **verbatim** prompt to `.ai.local/team/tasks/<slug>/prompt.md` (write-if-absent; never overwrite on resume). Append each **subsequent** user-authored prompt for the same slug (a new message while the slug is active, `/task-continue` arguments, human-gate feedback, a clarification answer) verbatim to `.ai.local/team/tasks/<slug>/prompt-log.md` (`seq` = max + 1; never rewrite or duplicate an entry; never touch `prompt.md`). Never persist machine-generated hook messages or empty/argument-less invocations; pure questions and trivial one-liners are not work requests. Details: the `agent-team-intake` and `agent-team-orchestrator` rules.
|
|
39
|
+
|
|
36
40
|
## Commands (test / lint / build)
|
|
37
41
|
|
|
38
42
|
Working directory for app scripts: **`app/`**. Detect the package manager from lockfile / `packageManager` (`package-manager` rule).
|
|
@@ -72,7 +76,7 @@ Gotchas, local patterns, and team decisions: **`.ai.local/conventions.md`** (fil
|
|
|
72
76
|
|
|
73
77
|
## Seed library (`.ai.local/rules-library/`)
|
|
74
78
|
|
|
75
|
-
`init` seeds **staged-inactive** rule templates here (Cursor `.mdc` sources analog: `presets/cursor/next/ai-local/rules-library/**`). They are **not** active until moved into `.ai.local/rules/`. When a seed matches the task scope, apply it and tell the owner to move it. Typical seeds: `router-pages` (Pages Router override), `no-react-fc`, `component-child-decomposition`, `single-source-copy-constants`, `commit-hygiene`, `pre-pr-checklist`, `api-contract-source`, `agent-pipeline-gates`, `task-levels`, `analytics-events`, `feature-flags-experiments`, `pwa-service-worker`, `qa-test-cases`,
|
|
79
|
+
`init` seeds **staged-inactive** rule templates here (Cursor `.mdc` sources analog: `presets/cursor/next/ai-local/rules-library/**`). They are **not** active until moved into `.ai.local/rules/`. When a seed matches the task scope, apply it and tell the owner to move it. Typical seeds: `router-pages` (Pages Router override), `no-react-fc`, `component-child-decomposition`, `single-source-copy-constants`, `commit-hygiene`, `pre-pr-checklist`, `api-contract-source`, `agent-pipeline-gates`, `task-levels`, `analytics-events`, `feature-flags-experiments`, `pwa-service-worker`, `qa-test-cases`, and the `storybook-*` set. (`forms-validation` is an active rule, not a seed.)
|
|
76
80
|
|
|
77
81
|
## Managed vs preserved
|
|
78
82
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "next",
|
|
5
5
|
"semanticSource": "cursor/next",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "a1b393a2d1c774e279fa025af57ceb9799ee7a6332c8d949d2e34fc69def6492",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -1134,6 +1134,14 @@
|
|
|
1134
1134
|
"loadMode": "manual",
|
|
1135
1135
|
"reason": "File pipeline templates; runtime artifacts seed to .ai.local/team"
|
|
1136
1136
|
},
|
|
1137
|
+
{
|
|
1138
|
+
"source": "team/fixtures/feature-parallel.json",
|
|
1139
|
+
"target": "team/fixtures/feature-parallel.json",
|
|
1140
|
+
"category": "team",
|
|
1141
|
+
"disposition": "copy",
|
|
1142
|
+
"loadMode": "manual",
|
|
1143
|
+
"reason": "File pipeline templates; runtime artifacts seed to .ai.local/team"
|
|
1144
|
+
},
|
|
1137
1145
|
{
|
|
1138
1146
|
"source": "team/fixtures/feature-with-figma-url.json",
|
|
1139
1147
|
"target": "team/fixtures/feature-with-figma-url.json",
|
|
@@ -65,45 +65,9 @@ Before you run the project gate and write the terminal validation receipt, self-
|
|
|
65
65
|
|
|
66
66
|
**Re-anchor.** On detected drift: 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). Bound to the existing `plan-graph` `replan` — no second orchestrator, no `status.json`/`metrics.json` field.
|
|
67
67
|
|
|
68
|
-
Record a `## Self-review` block in `validation-report.md` (goal/AC coverage, evidence, alignment/drift). Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
68
|
+
Record a `## Self-review` block in `validation-report.md` (goal/AC coverage, evidence, alignment/drift). Optional loop: when `.ai.local/scripts/rule-improver.mjs` exists, append wrong-turn signals to `.ai.local/signals.jsonl` and run the improver (see the requestable `self-review-and-context-hygiene` contract). Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
69
69
|
|
|
70
|
-
##
|
|
71
|
-
|
|
72
|
-
When validating **preset packaging** changes (paths under `packages/ai-rules/presets/**`, or `scope: preset-structure-validation` / `preset-artifacts-only`), run these checks. Skip app lint if there are **no** `app/**` changes.
|
|
73
|
-
|
|
74
|
-
### FAIL (all stacks)
|
|
75
|
-
|
|
76
|
-
1. **Token budget:** Cursor `alwaysApply: true` count 3–5 (extra slots reserved for `ai-local-overlay`); Claude rules without `paths:` 3–5 (**exclude `**/README.md`** — Option A). Meta `preset-*` rules must **not** be `alwaysApply: true`.
|
|
77
|
-
2. **Leakage (next):** hooks/agents must not require `xcuitest-test-*` handoffs or `xcodebuild` as the default Next post-change gate. See `preset-no-cross-stack-leakage.md`.
|
|
78
|
-
3. **Mapping / README:** `claude/next/rules/README.md` must include a Cursor→Claude mapping table; stack `rules/README.md` should document core→stack mapping when `_shared` consumers exist.
|
|
79
|
-
4. **shared-core consumers:** if `_shared/core/**` changed, every file with matching `<!-- shared-core: … -->` in this PR must be updated (or intentional fork documented in validation-report).
|
|
80
|
-
5. **Twin presence:** Cursor rule change without Claude twin same PR → **FAIL** (next, nuxt, svelte, ios-swift, go, java, mcp-ts, php-hexagonal, and php-laravel). Domain twin body ≥15 lines; thin aliases (`agent-team-intake`, `technical-retro`) may be shorter.
|
|
81
|
-
6. **Session-start body budget (soft→document, FAIL if grossly over):** sum body lines of the intended always-on / session-start rules ≤ **200** (stretch ≤170); do **not** include `**/README.md`. Record the sum in validation-report.
|
|
82
|
-
7. **Embed drift (hard in `check:preset-structure`):** run `packages/ai-rules/scripts/check-shared-core-drift.sh` with `AI_RULES_DRIFT_FAIL=1` (bundled by the structure orchestrator). Lineage stems are excluded from body equality.
|
|
83
|
-
8. **Dogfood (monorepo soft):** if root `.cursor/` is in the PR, prefer sync via `packages/ai-rules/scripts/sync-dogfood-cursor.sh`; mass deletion of tracked dogfood without migration doc → note as risk / FAIL for maintainers.
|
|
84
|
-
|
|
85
|
-
9. **Root AGENTS template:** each installable preset (`cursor|claude` × `next|nuxt|svelte|ios-swift|go|java|mcp-ts|php-hexagonal|php-laravel`, plus released `mavis/<stack>` and `opencode/<stack>`) must ship `REPO_AGENTS.md` when validating preset packaging → **FAIL** if missing.
|
|
86
|
-
10. **Hooks cookbook:** default `hooks.json` must **not** reference `hooks/examples/` → **FAIL** if it does.
|
|
87
|
-
11. **Performance skill by stack:** next → `react-performance`; nuxt → `vue-performance`. **No react-performance/vue-performance on ios/go/java:** skill directory / required handoff must be absent under ios-swift, go, java, mcp-ts, php-hexagonal, and php-laravel → **FAIL** (leakage). Prefer `check:preset-leakage`.
|
|
88
|
-
12. **Rule eval (WARN):** `scripts/check-rule-eval.mjs` / `yarn check:rule-eval` should exist for maintainers; smoke optional. Hard fail only when the opt-in eval job runs — not part of default `check:preset-structure`.
|
|
89
|
-
|
|
90
|
-
13. **Product-specs assets (FAIL):** package must ship `presets/_shared/assets/docs-specs/INDEX.md`, `_templates/page.md`, `_templates/feature.md`. Cursor+Claude twins for `product-specs` and `product-specs-authoring` must embed matching shared-core markers; both stems **requestable** (`alwaysApply: false` / Claude `paths: docs/specs/**`) — never session-start.
|
|
91
|
-
14. **Optional consumer check (WARN default):** `scripts/check-product-specs.sh` + schema stub may exist for opt-in consumer CI; **FAIL** only with `--strict` or AC that requires named specs — do not force consumer CI.
|
|
92
|
-
15. **Mavis derive (next):** when `presets/mavis/**` or mapped `cursor/next` sources change, run `check:mavis-adapter-map`, `check:mavis-token-budget`, `check:mavis-local-overlay`, and `check:mavis-platform-contract`. Adapter-map `sourceRevision` drift → **FAIL**.
|
|
93
|
-
16. **OpenCode derive (next):** when `presets/opencode/**` or mapped `cursor/next` sources change, run `check:opencode-adapter-map`, `check:opencode-token-budget`, `check:opencode-local-overlay`, `check:opencode-platform-contract`, and `test:opencode-context-budget`. Adapter-map `sourceRevision` drift → **FAIL**.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
**mockup-reviewer (UI):** `agents/mockup-reviewer.md` and `skills/mockup-review/` must exist (Cursor + Claude). Missing → **FAIL**. Backend stacks must **not** ship that agent file or a required `mockup-reviewer` chain handoff → **FAIL** if present.
|
|
97
|
-
|
|
98
|
-
**ux-design (UI):** `skills/ux-design/` and requestable rule `ux-design` (`ux-design.md` / `tooling-and-review/ux-design.md`) must exist (Cursor + Claude). Missing → **FAIL**. Do **not** require `agents/ux-designer.md`. Backend stacks must **not** ship that agent file or a required `ux-design` skill/rule/handoff → **FAIL** if present.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
### Soft notes
|
|
102
|
-
|
|
103
|
-
- Thin aliases may be <15 body lines.
|
|
104
|
-
- Embed vs lineage modes: see `docs/PRESET-CONTRIBUTION.md` and `_shared/README.md`.
|
|
105
|
-
|
|
106
|
-
### Local overlay compliance (soft gate)
|
|
70
|
+
## Local overlay compliance (soft gate)
|
|
107
71
|
|
|
108
72
|
When the agent's transcript touches files in the repo, do a **soft check** on `.ai.local/`:
|
|
109
73
|
|
|
@@ -113,10 +77,6 @@ When the agent's transcript touches files in the repo, do a **soft check** on `.
|
|
|
113
77
|
|
|
114
78
|
Soft WARNs do **not** fail the pipeline. They appear in the validation report under `## Soft notes` and are reviewed by the human gate. Repeated soft WARNs across runs on the same repo → log a recommendation to promote the local rule to a preset rule (`docs/LOCAL-OVERLAY.md` § "When to upgrade to a preset change").
|
|
115
79
|
|
|
116
|
-
### ios-swift-only checks
|
|
117
|
-
|
|
118
|
-
Not required for next-only PRs. When both stacks touched, also apply ios-swift verifier checks (chain fork, Playwright leakage, XCUITest stems) — **FAIL**.
|
|
119
|
-
|
|
120
80
|
## Output
|
|
121
81
|
|
|
122
82
|
Write `.ai.local/team/tasks/<slug>/validation-report.md`:
|
|
@@ -57,46 +57,17 @@ Before you emit the terminal review receipt, self-audit the review artifact: eve
|
|
|
57
57
|
|
|
58
58
|
**Re-anchor.** On detected drift: 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). Bound to the existing `plan-graph` `replan` — no second orchestrator, no `status.json`/`metrics.json` field.
|
|
59
59
|
|
|
60
|
-
Record a `## Self-review` block in `review.md` (goal/AC coverage, evidence, alignment/drift). Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
60
|
+
Record a `## Self-review` block in `review.md` (goal/AC coverage, evidence, alignment/drift). Optional loop: when `.ai.local/scripts/rule-improver.mjs` exists, append wrong-turn signals to `.ai.local/signals.jsonl` and run the improver (see the requestable `self-review-and-context-hygiene` contract). Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
61
61
|
|
|
62
62
|
## UI / Figma parity gate (UI-touching MR)
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Applies when the diff touches UI / layout / styling (`app/src/ui/**`, global layout / CSS / tokens, renamed or reordered UI files) and a Figma reference exists (URL, fileKey, or node id in `brief.md` / `decomposition.md`, or `mockup-review.md` is present). Does not apply to MRs with no UI diff and no Figma reference.
|
|
65
65
|
|
|
66
|
-
- **
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
For every UI element in the diff scope, verify against the Figma node and the `mockup-review.md` `## Design contract` (when present) and the **`design-tokens-binding`** discipline. Findings cite **`path:line`** + Figma node id + viewport.
|
|
72
|
-
|
|
73
|
-
1. **Typography** — font-family, size, line-height, weight, letter-spacing, color. Must match the Figma text style / `tokens-typography` mapping. A `Text variant="…"` DS component is the safe mirror; a raw `font-size: 14px; line-height: 20px;` wrapper is a finding unless the Figma text style maps to a raw token (and the token is used, not a literal).
|
|
74
|
-
2. **Color** — fills, strokes, icon color, link color, placeholder color. Must bind to `@sds/tokens-colors` / `@sds/brand-colors` / the project token module (or the Figma variable mapped in the Design contract). Raw `#…` / `rgb(…)` is a finding. Hover / active / focus / disabled states must use the bound state color from the token set, not a literal.
|
|
75
|
-
3. **Spacing** — padding, gap, margin, border-radius. Must match the Figma spacing / radius variable (Design contract) or the repo spacing scale. Raw `padding: 16px;` is a finding if a token exists. Auto-layout intent (direction, gap, alignment) preserved — no reflow to absolute positioning without a brief reason.
|
|
76
|
-
4. **Imagery & icons** — image `src`, intrinsic `width`/`height`, aspect ratio match the Figma asset / `get_design_context` recommendation; rendered with `next/image` (or repo convention). Icons must use the `@sds/icon` (or DS) symbol name from the Figma component instance. A `placeholder`, an invented image URL, a guessed icon name, or a stretched aspect ratio is a finding. `alt` text matches the Figma node copy when meaningful.
|
|
77
|
-
5. **States** — empty / loading / error / success / disabled / validation visible in the Figma must be implemented. Missing states present in the mockup → `blocker`.
|
|
78
|
-
6. **Structure & responsive** — direction (row / column), alignment, wrap, overflow match the Figma. The implementation responds to the project viewport set without horizontal scroll or clipped content at any accepted width (unless the Figma explicitly clips).
|
|
79
|
-
7. **Auto-layout vs absolute** — for a region that is the only responsive evidence in Figma, the implementation must use flex / grid with the same gap / padding, not absolute positioning.
|
|
80
|
-
|
|
81
|
-
### Post-implementation gate sub-sections (AC-3 / AC-6 / AC-7 / AC-17 / AC-22)
|
|
82
|
-
|
|
83
|
-
When a frozen contract exists (`.ai.local/team/tasks/<slug>/figma-contract.json`), the parity gate runs the full G0..G6 procedure (requestable skill `figma-fidelity`) and emits, inside `## Figma parity (UI)`: `## Post-impl screenshot diff (AC-6)`, `## Variable/value diff (AC-7)`, `## Effect parity (AC-20)`, `## Asset / icon audit (AC-21)`, `## Theme / mode parity (AC-25)`, `## i18n / RTL stress (AC-24)`, `## Viewport matrix (AC-23)`, `## Contract freeze (AC-17)`, `## AC coverage`.
|
|
84
|
-
|
|
85
|
-
- **Structural parity (AC-3):** implemented tree vs `nodes[]` 1:1; unmapped addition → finding; missing mapped component → `blocker`.
|
|
86
|
-
- **Value diff (AC-7):** per node × property, expected (contract) vs rendered/computed actual (chrome-devtools MCP `getComputedStyle`; Playwright MCP as substitute). "Compare visually" with no value rows → finding.
|
|
87
|
-
- **Two-way state diff (AC-22):** a mockup state missing in the implementation → `blocker`; an AC-required state absent from the mockup → `mockup-change-requested`.
|
|
88
|
-
- **Freeze (AC-17):** a changed `lastModified`/`version` for the root or a mapped node → `MOCKUP_CHANGED_AFTER_CONTRACT` (`blocker`).
|
|
89
|
-
- **Degradation:** a degraded mandatory check (browser / Figma MCP down, source revision unknown) → `unable_to_compare` → `REQUEST_CHANGES`, with the named `degraded:` / `blocked:` marker — never a silent PASS.
|
|
90
|
-
|
|
91
|
-
### Findings, severity, and section
|
|
92
|
-
|
|
93
|
-
- Findings cite `path:line` + Figma node id + viewport + severity. Layout / style deviations from the mockup → **`important`**; user-visible / broken / missing-state → **`blocker`**; latent / cosmetic → **`nit`**.
|
|
94
|
-
- Emit a `## Figma parity (UI)` section in `review.md` with the per-viewport verdict, a findings table, and screenshots / links. The section must reference the `## Design contract` from `mockup-review.md` and the **`design-tokens-binding`** discipline. **If you cannot perform the comparison** (no Figma URL in brief, or Figma MCP down with no manual screenshots) → still emit the section with verdict `unable_to_compare` and a one-line reason. **Never** skip the section on a UI-touching MR with a Figma reference.
|
|
95
|
-
- **Hard rules:**
|
|
96
|
-
- UI-touching MR with a Figma reference and a missing or `unable_to_compare` parity section → **REQUEST_CHANGES**.
|
|
97
|
-
- Unbound raw values where a token exists (typography / color / spacing / imagery) → `blocker` (user-visible) or `important` (latent). Do not approve on Storybook baselines alone.
|
|
98
|
-
|
|
99
|
-
The gate does **not** apply to MRs with no UI/layout diff and no Figma reference (e.g. pure store/reducer or test-only changes).
|
|
66
|
+
- **Procedure:** skill **`figma-fidelity`** — scope (default: changed nodes at the primary viewports; full matrix on `fidelity: full` or new screens), G0..G6, degradation markers, UI WP Definition of Done. Bind expectations to the `## Design contract` / `figma-contract.json` and the **`design-tokens-binding`** discipline.
|
|
67
|
+
- **Per element:** typography, color (including hover / active / focus / disabled), spacing / radius, imagery and icons (`src`, intrinsic size, DS symbol, `alt`), states, structure / responsive, auto-layout vs absolute positioning.
|
|
68
|
+
- **Findings:** `path:line` + Figma node id + viewport + severity. Deviation from the mockup → `important`; user-visible / broken / missing state / missing mapped component → `blocker`; latent / cosmetic → `nit`.
|
|
69
|
+
- **Section:** always emit `## Figma parity (UI)` in `review.md`; when the comparison cannot run, verdict `unable_to_compare` with a one-line reason.
|
|
70
|
+
- **Hard rules:** missing or `unable_to_compare` parity → `REQUEST_CHANGES`; unbound raw values where a token exists → `blocker` (user-visible) or `important` (latent); do not approve on Storybook baselines alone.
|
|
100
71
|
|
|
101
72
|
## Review artifact
|
|
102
73
|
|
|
@@ -118,9 +89,9 @@ APPROVE | APPROVE_WITH_NOTES | REQUEST_CHANGES
|
|
|
118
89
|
- ...
|
|
119
90
|
|
|
120
91
|
## Figma parity (UI)
|
|
121
|
-
-
|
|
92
|
+
- Scope: default | full — viewports compared: …
|
|
122
93
|
- Per-viewport verdict: …
|
|
123
|
-
- Sub-sections:
|
|
94
|
+
- Sub-sections: the ones `figma-fidelity` names for this scope
|
|
124
95
|
- Findings: `path:line` | node id | viewport | severity | note
|
|
125
96
|
- (If UI gate not applicable: `N/A — no UI diff / no Figma reference`.)
|
|
126
97
|
|
|
@@ -95,7 +95,7 @@ Before you set `fixApplied: true` and emit the terminal receipt, self-audit the
|
|
|
95
95
|
|
|
96
96
|
**Re-anchor.** On detected drift: 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). Bound to the existing `plan-graph` `replan` — no second orchestrator, no `status.json`/`metrics.json` field.
|
|
97
97
|
|
|
98
|
-
Record a `## Self-review` block in `debug-report.md` (goal/AC coverage, evidence, alignment/drift). Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
98
|
+
Record a `## Self-review` block in `debug-report.md` (goal/AC coverage, evidence, alignment/drift). Optional loop: when `.ai.local/scripts/rule-improver.mjs` exists, append wrong-turn signals to `.ai.local/signals.jsonl` and run the improver (see the requestable `self-review-and-context-hygiene` contract). Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
## MCP usage
|
|
@@ -49,7 +49,9 @@ You are a senior frontend developer working in a Next.js monorepo with strict la
|
|
|
49
49
|
3. Read `pipeline.json` for step context and scope.
|
|
50
50
|
4. Follow the **`feature-delivery` skill** (layer order, reference features, validation handoff).
|
|
51
51
|
5. **Verify carry-over at HEAD before applying** (refactor intent only). When the brief comes from a prior review's carry-over findings list, for each item run `git show HEAD:<path>` or `grep` to confirm the finding still applies at the current HEAD; if the file already contains the fix (carry-over was closed in a prior uncommitted batch), mark it as **NO-OP at HEAD** in `implementation.md` and skip the edit; if the file is unchanged, apply the fix and cite file:line. Target ≤2 NO-OP items per refactor pipeline.
|
|
52
|
-
6. **Figma node-link precondition.** If `brief.md` / `decomposition.md` / the prompt contains a Figma URL with a node id (`?node-id=…`), do
|
|
52
|
+
6. **Figma node-link precondition.** If `brief.md` / `decomposition.md` / the prompt contains a Figma URL with a node id (`?node-id=…`), do not start UI implementation until `.ai.local/team/tasks/<slug>/figma-contract.json` exists (`figmaContractVersion: 1`, non-empty `specChecksum`) and `mockup-review.md` contains its `## Design contract` projection.
|
|
53
|
+
- Re-confirm the freeze with one `get_metadata` call on the root node (`lastModified` / `version` vs `sourceRevision`); mismatch → `MOCKUP_CHANGED_AFTER_CONTRACT` → emit `blocked` and hand back (no silent re-baseline).
|
|
54
|
+
- Load requestable rule **`design-tokens-binding`** before writing UI; bind every value to a contract token (raw `#…` / `px` are a finding). `nodes[]` is the component map.
|
|
53
55
|
|
|
54
56
|
## Task execution rules
|
|
55
57
|
|
|
@@ -104,34 +106,21 @@ Before you emit the terminal implementation receipt (per wave for multi-wave wor
|
|
|
104
106
|
|
|
105
107
|
**Re-anchor.** On detected drift: 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). Bound to the existing `plan-graph` `replan` — no second orchestrator, no `status.json`/`metrics.json` field.
|
|
106
108
|
|
|
107
|
-
Record a `## Self-review` block in `implementation.md` (goal/AC coverage, evidence, alignment/drift). Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
109
|
+
Record a `## Self-review` block in `implementation.md` (goal/AC coverage, evidence, alignment/drift). Optional loop: when `.ai.local/scripts/rule-improver.mjs` exists, append wrong-turn signals to `.ai.local/signals.jsonl` and run the improver (see the requestable `self-review-and-context-hygiene` contract). Ratchet: no self-review / context-health pass / re-anchor ceremony for `bounded`/`spike` tasks (or the `light` profile).
|
|
108
110
|
|
|
109
|
-
## UI self-check vs Figma
|
|
111
|
+
## UI self-check vs Figma
|
|
110
112
|
|
|
111
|
-
When this WP touched UI / layout / styling (
|
|
113
|
+
When this WP touched UI / layout / styling (`app/src/ui/**`, global layout / CSS / tokens) and a Figma reference exists (`brief.md`, `decomposition.md`, or `mockup-review.md`): run skill **`figma-fidelity`** (scope, G0..G6, degradation markers), fix deviations before the implementation receipt, and record the result in `implementation.md`:
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
- Viewports checked: <e.g. 375, 768, 1280>
|
|
121
|
-
- MCP / app status: <ok | degraded: reason>
|
|
122
|
-
- Deviations fixed: `path:line` | node id | viewport | what | fix
|
|
123
|
-
- Remaining gaps / known limits: <… or none>
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
If the app was not runnable or MCP was down, still emit the block with the limitation and what you could not check — the reviewer will gate.
|
|
127
|
-
|
|
128
|
-
This is the developer-side counterpart to the `code-reviewer` UI / Figma parity gate; together they close the fidelity loop (extract contract → bind → self-check → review-block). The full procedure is the requestable skill **`figma-fidelity`** (G0..G6). Additionally record, per the returned gate:
|
|
115
|
+
```markdown
|
|
116
|
+
## UI self-check vs Figma
|
|
117
|
+
- Scope: <default | full> — viewports: <e.g. 375, 1280>
|
|
118
|
+
- MCP / app status: <ok | degraded: reason>
|
|
119
|
+
- Deviations fixed: `path:line` | node id | viewport | what | fix
|
|
120
|
+
- Remaining gaps / known limits: <… or none>
|
|
121
|
+
```
|
|
129
122
|
|
|
130
|
-
|
|
131
|
-
- `## Variable/value diff (AC-7)` — per node × property, expected (contract) vs rendered/computed actual.
|
|
132
|
-
- `## Geometry / auto-layout audit (AC-18)` — padding / gap / margin / border-box + auto-layout direction, with numeric deltas.
|
|
133
|
-
- `## State matrix diff (AC-22)` — two-way state coverage (mockup↔impl).
|
|
134
|
-
- `## UI WP Definition of Done (AC-28)` — the checklist from `figma-fidelity`; a UI WP is **not** done while any item is unmet or degraded without a marker.
|
|
123
|
+
Add the sections the skill names (structural parity, value / geometry diff, state matrix diff, UI WP Definition of Done). If the app is not runnable or MCP is down, still emit the block with a `degraded:` / `blocked:` marker — the reviewer gates.
|
|
135
124
|
|
|
136
125
|
## Anti-hallucination (Next / React / RTK)
|
|
137
126
|
|