@bonesofspring/ai-rules 0.2.1 → 0.2.3

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.
Files changed (205) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +17 -5
  3. package/bin/cli.js +4 -4
  4. package/package.json +3 -11
  5. package/presets/claude/ios-swift/CLAUDE.md +35 -0
  6. package/presets/claude/ios-swift/README.md +30 -0
  7. package/presets/claude/ios-swift/agents/README.md +55 -0
  8. package/presets/claude/ios-swift/agents/accessibility-reviewer.md +67 -0
  9. package/presets/claude/ios-swift/agents/api-contract-reviewer.md +72 -0
  10. package/presets/claude/ios-swift/agents/build-verifier.md +64 -0
  11. package/presets/claude/ios-swift/agents/ci-investigator.md +73 -0
  12. package/presets/claude/ios-swift/agents/code-reviewer.md +75 -0
  13. package/presets/claude/ios-swift/agents/debugger.md +72 -0
  14. package/presets/claude/ios-swift/agents/feature-developer.md +35 -0
  15. package/presets/claude/ios-swift/agents/migration-specialist.md +73 -0
  16. package/presets/claude/ios-swift/agents/performance-auditor.md +72 -0
  17. package/presets/claude/ios-swift/agents/qa-tester.md +65 -0
  18. package/presets/claude/ios-swift/agents/security-reviewer.md +69 -0
  19. package/presets/claude/ios-swift/agents/solution-architect.md +17 -0
  20. package/presets/claude/ios-swift/agents/task-analyst.md +25 -0
  21. package/presets/claude/ios-swift/agents/task-router.md +62 -0
  22. package/presets/claude/ios-swift/agents/tech-writer.md +63 -0
  23. package/presets/claude/ios-swift/agents/unit-test-generator.md +54 -0
  24. package/presets/claude/ios-swift/agents/unit-test-healer.md +53 -0
  25. package/presets/claude/ios-swift/agents/unit-test-planner.md +64 -0
  26. package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +47 -0
  27. package/presets/claude/ios-swift/agents/xcuitest-test-healer.md +47 -0
  28. package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +67 -0
  29. package/presets/claude/ios-swift/commands/README.md +13 -0
  30. package/presets/claude/ios-swift/commands/feature-continue.md +51 -0
  31. package/presets/claude/ios-swift/commands/feature-start.md +30 -0
  32. package/presets/claude/ios-swift/commands/task-continue.md +49 -0
  33. package/presets/claude/ios-swift/commands/task.md +50 -0
  34. package/presets/claude/ios-swift/commands/technical-retro.md +58 -0
  35. package/presets/claude/ios-swift/hooks/README.md +10 -0
  36. package/presets/claude/ios-swift/hooks/chain-team-phases.sh +382 -0
  37. package/presets/claude/ios-swift/hooks/guard-shell-command.sh +79 -0
  38. package/presets/claude/ios-swift/rules/README.md +55 -0
  39. package/presets/claude/ios-swift/rules/api-and-data/README.md +10 -0
  40. package/presets/claude/ios-swift/rules/api-and-data/networking.md +49 -0
  41. package/presets/claude/ios-swift/rules/api-and-data/persistence.md +30 -0
  42. package/presets/claude/ios-swift/rules/architecture/README.md +12 -0
  43. package/presets/claude/ios-swift/rules/architecture/boundaries.md +33 -0
  44. package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +68 -0
  45. package/presets/claude/ios-swift/rules/architecture/module-public-api.md +25 -0
  46. package/presets/claude/ios-swift/rules/architecture/reference-features.md +50 -0
  47. package/presets/claude/ios-swift/rules/stack/README.md +10 -0
  48. package/presets/claude/ios-swift/rules/stack/ios-app-core.md +43 -0
  49. package/presets/claude/ios-swift/rules/stack/swift-conventions.md +51 -0
  50. package/presets/claude/ios-swift/rules/testing/README.md +10 -0
  51. package/presets/claude/ios-swift/rules/testing/ui.md +43 -0
  52. package/presets/claude/ios-swift/rules/testing/unit.md +41 -0
  53. package/presets/claude/ios-swift/rules/tooling-and-review/README.md +16 -0
  54. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-intake.md +18 -0
  55. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +47 -0
  56. package/presets/claude/ios-swift/rules/tooling-and-review/code-quality.md +38 -0
  57. package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +46 -0
  58. package/presets/claude/ios-swift/rules/tooling-and-review/post-change-build.md +36 -0
  59. package/presets/claude/ios-swift/rules/tooling-and-review/security-ios.md +36 -0
  60. package/presets/claude/ios-swift/rules/tooling-and-review/technical-retro.md +14 -0
  61. package/presets/claude/ios-swift/rules/tooling-and-review/xcode-tooling.md +24 -0
  62. package/presets/claude/ios-swift/rules/ui-and-accessibility/README.md +11 -0
  63. package/presets/claude/ios-swift/rules/ui-and-accessibility/navigation.md +28 -0
  64. package/presets/claude/ios-swift/rules/ui-and-accessibility/swiftui.md +61 -0
  65. package/presets/claude/ios-swift/rules/ui-and-accessibility/viewmodels.md +43 -0
  66. package/presets/claude/ios-swift/skills/README.md +13 -0
  67. package/presets/claude/ios-swift/skills/ci-investigation/SKILL.md +39 -0
  68. package/presets/claude/ios-swift/skills/code-review/SKILL.md +27 -0
  69. package/presets/claude/ios-swift/skills/debug-investigation/SKILL.md +30 -0
  70. package/presets/claude/ios-swift/skills/feature-delivery/SKILL.md +27 -0
  71. package/presets/claude/ios-swift/skills/technical-retro/SKILL.md +10 -0
  72. package/presets/claude/ios-swift/skills/unit-testing/SKILL.md +32 -0
  73. package/presets/claude/ios-swift/skills/xcuitest-e2e/SKILL.md +33 -0
  74. package/presets/claude/ios-swift/team/README.md +27 -0
  75. package/presets/claude/ios-swift/team/fixtures/bugfix-standard.json +33 -0
  76. package/presets/claude/ios-swift/team/fixtures/feature-full.json +48 -0
  77. package/presets/claude/ios-swift/team/fixtures/feature-light.json +36 -0
  78. package/presets/claude/next/CLAUDE.md +4 -8
  79. package/presets/claude/next/agents/README.md +62 -34
  80. package/presets/claude/next/agents/code-reviewer.md +6 -5
  81. package/presets/claude/next/agents/playwright-test-generator.md +65 -16
  82. package/presets/claude/next/agents/playwright-test-healer.md +51 -16
  83. package/presets/claude/next/agents/playwright-test-planner.md +55 -15
  84. package/presets/claude/next/agents/task-analyst.md +3 -1
  85. package/presets/claude/next/agents/task-router.md +4 -4
  86. package/presets/claude/next/agents/tech-writer.md +1 -0
  87. package/presets/claude/next/hooks/chain-team-phases.sh +73 -35
  88. package/presets/claude/next/rules/README.md +16 -3
  89. package/presets/claude/next/rules/architecture/README.md +2 -1
  90. package/presets/claude/next/rules/stack/README.md +1 -1
  91. package/presets/claude/next/rules/stack/navigation-router.md +2 -0
  92. package/presets/claude/next/rules/stack/next-app-core.md +1 -1
  93. package/presets/claude/next/rules/tooling-and-review/README.md +12 -14
  94. package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  95. package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +3 -3
  96. package/presets/claude/next/rules/tooling-and-review/post-change-lint.md +11 -0
  97. package/presets/claude/next/rules/ui-and-accessibility/README.md +6 -3
  98. package/presets/claude/next/skills/feature-delivery/SKILL.md +1 -1
  99. package/presets/claude/next/team/README.md +65 -7
  100. package/presets/cursor/ios-swift/AGENTS.md +47 -0
  101. package/presets/cursor/ios-swift/BUGBOT.md +15 -0
  102. package/presets/cursor/ios-swift/README.md +36 -0
  103. package/presets/cursor/ios-swift/agents/README.md +55 -0
  104. package/presets/cursor/ios-swift/agents/accessibility-reviewer.md +67 -0
  105. package/presets/cursor/ios-swift/agents/api-contract-reviewer.md +72 -0
  106. package/presets/cursor/ios-swift/agents/build-verifier.md +64 -0
  107. package/presets/cursor/ios-swift/agents/ci-investigator.md +73 -0
  108. package/presets/cursor/ios-swift/agents/code-reviewer.md +75 -0
  109. package/presets/cursor/ios-swift/agents/debugger.md +72 -0
  110. package/presets/cursor/ios-swift/agents/feature-developer.md +35 -0
  111. package/presets/cursor/ios-swift/agents/migration-specialist.md +73 -0
  112. package/presets/cursor/ios-swift/agents/performance-auditor.md +72 -0
  113. package/presets/cursor/ios-swift/agents/qa-tester.md +65 -0
  114. package/presets/cursor/ios-swift/agents/security-reviewer.md +69 -0
  115. package/presets/cursor/ios-swift/agents/solution-architect.md +17 -0
  116. package/presets/cursor/ios-swift/agents/task-analyst.md +25 -0
  117. package/presets/cursor/ios-swift/agents/task-router.md +62 -0
  118. package/presets/cursor/ios-swift/agents/tech-writer.md +63 -0
  119. package/presets/cursor/ios-swift/agents/unit-test-generator.md +54 -0
  120. package/presets/cursor/ios-swift/agents/unit-test-healer.md +53 -0
  121. package/presets/cursor/ios-swift/agents/unit-test-planner.md +64 -0
  122. package/presets/cursor/ios-swift/agents/xcuitest-test-generator.md +47 -0
  123. package/presets/cursor/ios-swift/agents/xcuitest-test-healer.md +47 -0
  124. package/presets/cursor/ios-swift/agents/xcuitest-test-planner.md +67 -0
  125. package/presets/cursor/ios-swift/commands/README.md +51 -0
  126. package/presets/cursor/ios-swift/commands/feature-continue.md +19 -0
  127. package/presets/cursor/ios-swift/commands/feature-start.md +33 -0
  128. package/presets/cursor/ios-swift/commands/task-continue.md +49 -0
  129. package/presets/cursor/ios-swift/commands/task.md +50 -0
  130. package/presets/cursor/ios-swift/commands/technical-retro.md +81 -0
  131. package/presets/cursor/ios-swift/hooks/README.md +8 -0
  132. package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +382 -0
  133. package/presets/cursor/ios-swift/hooks/guard-shell-command.sh +79 -0
  134. package/presets/{claude/next → cursor/ios-swift}/hooks.json +2 -2
  135. package/presets/cursor/ios-swift/rules/README.md +65 -0
  136. package/presets/cursor/ios-swift/rules/agent-team-intake.mdc +16 -0
  137. package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +80 -0
  138. package/presets/cursor/ios-swift/rules/architecture-boundaries.mdc +34 -0
  139. package/presets/cursor/ios-swift/rules/code-quality-and-refactoring.mdc +39 -0
  140. package/presets/cursor/ios-swift/rules/code-review-mr.mdc +43 -0
  141. package/presets/cursor/ios-swift/rules/feature-delivery-workflow.mdc +61 -0
  142. package/presets/cursor/ios-swift/rules/ios-app-core.mdc +44 -0
  143. package/presets/cursor/ios-swift/rules/module-public-api.mdc +26 -0
  144. package/presets/cursor/ios-swift/rules/navigation-coordinators.mdc +29 -0
  145. package/presets/cursor/ios-swift/rules/networking-services.mdc +49 -0
  146. package/presets/cursor/ios-swift/rules/persistence-data.mdc +31 -0
  147. package/presets/cursor/ios-swift/rules/post-change-build.mdc +32 -0
  148. package/presets/cursor/ios-swift/rules/reference-features.mdc +53 -0
  149. package/presets/cursor/ios-swift/rules/security-ios.mdc +35 -0
  150. package/presets/cursor/ios-swift/rules/state-and-viewmodels.mdc +43 -0
  151. package/presets/cursor/ios-swift/rules/swift-conventions.mdc +51 -0
  152. package/presets/cursor/ios-swift/rules/swiftui-ui.mdc +61 -0
  153. package/presets/cursor/ios-swift/rules/technical-retro.mdc +12 -0
  154. package/presets/cursor/ios-swift/rules/tests-ui.mdc +42 -0
  155. package/presets/cursor/ios-swift/rules/tests-unit.mdc +41 -0
  156. package/presets/cursor/ios-swift/rules/xcode-tooling.mdc +20 -0
  157. package/presets/cursor/ios-swift/skills/README.md +13 -0
  158. package/presets/cursor/ios-swift/skills/ci-investigation/SKILL.md +39 -0
  159. package/presets/cursor/ios-swift/skills/code-review/SKILL.md +27 -0
  160. package/presets/cursor/ios-swift/skills/debug-investigation/SKILL.md +30 -0
  161. package/presets/cursor/ios-swift/skills/feature-delivery/SKILL.md +27 -0
  162. package/presets/cursor/ios-swift/skills/technical-retro/SKILL.md +10 -0
  163. package/presets/cursor/ios-swift/skills/unit-testing/SKILL.md +32 -0
  164. package/presets/cursor/ios-swift/skills/xcuitest-e2e/SKILL.md +33 -0
  165. package/presets/cursor/ios-swift/team/README.md +27 -0
  166. package/presets/cursor/ios-swift/team/fixtures/bugfix-standard.json +33 -0
  167. package/presets/cursor/ios-swift/team/fixtures/feature-full.json +48 -0
  168. package/presets/cursor/ios-swift/team/fixtures/feature-light.json +36 -0
  169. package/presets/cursor/next/AGENTS.md +1 -1
  170. package/presets/cursor/next/BUGBOT.md +0 -2
  171. package/presets/cursor/next/agents/README.md +6 -0
  172. package/presets/cursor/next/agents/accessibility-reviewer.md +1 -1
  173. package/presets/cursor/next/agents/api-contract-reviewer.md +1 -1
  174. package/presets/cursor/next/agents/build-verifier.md +2 -2
  175. package/presets/cursor/next/agents/code-reviewer.md +1 -1
  176. package/presets/cursor/next/agents/feature-developer.md +1 -0
  177. package/presets/cursor/next/agents/migration-specialist.md +2 -2
  178. package/presets/cursor/next/agents/performance-auditor.md +1 -1
  179. package/presets/cursor/next/agents/playwright-test-generator.md +1 -0
  180. package/presets/cursor/next/agents/playwright-test-healer.md +1 -0
  181. package/presets/cursor/next/agents/qa-tester.md +1 -0
  182. package/presets/cursor/next/agents/security-reviewer.md +1 -1
  183. package/presets/cursor/next/agents/solution-architect.md +1 -1
  184. package/presets/cursor/next/agents/task-analyst.md +1 -1
  185. package/presets/cursor/next/agents/task-router.md +2 -2
  186. package/presets/cursor/next/agents/tech-writer.md +1 -1
  187. package/presets/cursor/next/agents/unit-test-planner.md +2 -2
  188. package/presets/cursor/next/rules/README.md +6 -6
  189. package/presets/cursor/next/rules/agent-team-orchestrator.mdc +25 -23
  190. package/presets/cursor/next/rules/next-app-core.mdc +1 -1
  191. package/presets/cursor/next/rules/post-change-lint.mdc +4 -2
  192. package/presets/cursor/next/skills/feature-delivery/SKILL.md +1 -1
  193. package/CONTRIBUTING.md +0 -102
  194. package/fragments/BUGBOT.md +0 -23
  195. package/presets/claude/next/BUGBOT.md +0 -16
  196. package/presets/claude/next/rules/architecture/api-public-imports.md +0 -8
  197. package/presets/claude/next/rules/architecture/types-public-imports.md +0 -8
  198. package/presets/cursor/next/rules/api-public-imports.mdc +0 -8
  199. package/presets/cursor/next/rules/no-cross-component-styles-import.mdc +0 -8
  200. package/presets/cursor/next/rules/types-public-imports.mdc +0 -8
  201. package/scripts/README.md +0 -84
  202. package/scripts/golden-prompts.json +0 -276
  203. package/scripts/preset-manifest.json +0 -72
  204. package/scripts/regression-results/.gitkeep +0 -0
  205. package/scripts/validate-preset.sh +0 -484
package/scripts/README.md DELETED
@@ -1,84 +0,0 @@
1
- # Preset validation scripts
2
-
3
- Static regression checks for `presets/cursor/next` and `presets/claude/next`.
4
-
5
- ## Quick start
6
-
7
- ```bash
8
- cd packages/ai-rules
9
-
10
- # Full static validation (no LLM)
11
- ./scripts/validate-preset.sh
12
-
13
- # + init smoke into temp dirs
14
- ./scripts/validate-preset.sh --init-smoke
15
-
16
- # Validate golden-prompts.json (agent names, schema)
17
- ./scripts/validate-preset.sh --check-golden
18
- ```
19
-
20
- Or via npm:
21
-
22
- ```bash
23
- yarn validate
24
- yarn validate:init
25
- yarn validate:golden
26
- ```
27
-
28
- ## Router regression (manual + semi-auto)
29
-
30
- Golden prompts live in `golden-prompts.json` — one case per `task-router` intent (+ light/full variants).
31
-
32
- ### 1. Print checklist
33
-
34
- ```bash
35
- ./scripts/validate-preset.sh --print-golden
36
- ```
37
-
38
- ### 2. Run in Cursor (fresh chat each)
39
-
40
- For each row, run `/task <prompt>`. After **task-router** finishes, copy `pipeline.json` from `.cursor/team/tasks/<slug>/` to:
41
-
42
- ```
43
- scripts/regression-results/<id>.json
44
- ```
45
-
46
- Use the `id` from golden-prompts (e.g. `feature-standard.json`).
47
-
48
- ### 3. Compare outputs
49
-
50
- ```bash
51
- mkdir -p scripts/regression-results
52
- ./scripts/validate-preset.sh --check-golden --compare-pipeline scripts/regression-results/
53
- ```
54
-
55
- The compare step checks:
56
-
57
- - `intent`, `firstAgent`
58
- - `requiredSequence` (ordered subsequence — extra steps allowed)
59
- - `mustNotInclude`
60
- - `stepConstraints` (`skipIf`)
61
- - `humanGates`
62
-
63
- `profile` mismatches are warnings (router may omit explicit profile when default applies).
64
-
65
- ### 4. Commit baseline (optional)
66
-
67
- When router behavior intentionally changes, update `golden-prompts.json` and refresh committed `regression-results/` snapshots.
68
-
69
- ## Files
70
-
71
- | File | Purpose |
72
- |------|---------|
73
- | `validate-preset.sh` | Main validator |
74
- | `preset-manifest.json` | Always-on lists, rule pairs, UI glob rules, BUGBOT sync |
75
- | `golden-prompts.json` | Expected router outcomes per intent |
76
- | `regression-results/.gitkeep` | Placeholder for manual run outputs |
77
-
78
- ## What is NOT automated
79
-
80
- - LLM routing quality (flaky by model/temperature)
81
- - Behavioral golden tasks on a real Next.js repo
82
- - Token cost of path-scoped rules on real file edits
83
-
84
- Those stay manual / scheduled regression on a dogfood project.
@@ -1,276 +0,0 @@
1
- {
2
- "version": 1,
3
- "description": "Golden prompts for task-router regression. Run manually via /task or semi-auto with validate-preset.sh --check-golden.",
4
- "prompts": [
5
- {
6
- "id": "feature-standard",
7
- "prompt": "Добавь фильтр по дате в Order History",
8
- "intent": "feature",
9
- "profile": "standard",
10
- "firstAgent": "task-analyst",
11
- "requiredSequence": [
12
- "task-analyst",
13
- "feature-developer",
14
- "build-verifier",
15
- "code-reviewer"
16
- ],
17
- "mustInclude": ["build-verifier"],
18
- "mustNotInclude": [],
19
- "humanGates": ["after:task-analyst"],
20
- "notes": "Default feature path; qa-tester optional unless e2e AC explicit."
21
- },
22
- {
23
- "id": "feature-full",
24
- "prompt": "Реализуй оплату картой: UI, API сервис, store и e2e сценарии checkout",
25
- "intent": "feature",
26
- "profile": "full",
27
- "firstAgent": "task-analyst",
28
- "requiredSequence": [
29
- "task-analyst",
30
- "feature-developer",
31
- "build-verifier",
32
- "code-reviewer",
33
- "qa-tester"
34
- ],
35
- "mustInclude": ["build-verifier", "qa-tester"],
36
- "mustNotInclude": [],
37
- "humanGates": ["after:task-analyst"],
38
- "notes": "Cross-layer + e2e AC → full profile with qa-tester."
39
- },
40
- {
41
- "id": "feature-light",
42
- "prompt": "Исправь typo в тексте кнопки Submit в OrderHistoryButton — один файл app/src/ui/components/OrderHistoryButton/OrderHistoryButton.tsx, AC: label «Отправить»",
43
- "intent": "feature",
44
- "profile": "light",
45
- "firstAgent": "feature-developer",
46
- "requiredSequence": ["feature-developer", "build-verifier"],
47
- "mustInclude": ["build-verifier"],
48
- "mustNotInclude": ["task-analyst"],
49
- "humanGates": [],
50
- "notes": "Explicit single-file AC → light; skip analyst."
51
- },
52
- {
53
- "id": "bugfix-standard",
54
- "prompt": "Order History падает при пустом списке — пофикси regression",
55
- "intent": "bugfix",
56
- "profile": "standard",
57
- "firstAgent": "debugger",
58
- "requiredSequence": [
59
- "debugger",
60
- "feature-developer",
61
- "build-verifier",
62
- "code-reviewer"
63
- ],
64
- "mustInclude": ["debugger", "build-verifier"],
65
- "mustNotInclude": [],
66
- "humanGates": [],
67
- "stepConstraints": [
68
- {
69
- "agent": "feature-developer",
70
- "skipIf": "debugger.fixed"
71
- }
72
- ],
73
- "notes": "Bugfix standard; qa-tester(regression) optional per router."
74
- },
75
- {
76
- "id": "bugfix-light",
77
- "prompt": "Просто поправь null-check в mapper — один файл, явный AC, без архитектурного риска",
78
- "intent": "bugfix",
79
- "profile": "light",
80
- "firstAgent": "debugger",
81
- "requiredSequence": ["debugger", "build-verifier"],
82
- "mustInclude": ["build-verifier"],
83
- "mustNotInclude": ["task-analyst", "code-reviewer"],
84
- "humanGates": [],
85
- "notes": "Light bugfix may skip developer when debugger.fixed."
86
- },
87
- {
88
- "id": "ci-fix",
89
- "prompt": "CI упал на type-check в PR — красный пайплайн",
90
- "intent": "ci-fix",
91
- "profile": "standard",
92
- "firstAgent": "ci-investigator",
93
- "requiredSequence": [
94
- "ci-investigator",
95
- "feature-developer",
96
- "build-verifier",
97
- "code-reviewer"
98
- ],
99
- "mustInclude": ["ci-investigator", "build-verifier"],
100
- "mustNotInclude": ["task-analyst"],
101
- "humanGates": [],
102
- "stepConstraints": [
103
- {
104
- "agent": "feature-developer",
105
- "skipIf": "ci-investigator.resolved"
106
- }
107
- ]
108
- },
109
- {
110
- "id": "migration",
111
- "prompt": "Миграция HTTP-клиента на fetch — upgrade major version",
112
- "intent": "migration",
113
- "profile": "standard",
114
- "firstAgent": "task-analyst",
115
- "requiredSequence": [
116
- "task-analyst",
117
- "migration-specialist",
118
- "feature-developer",
119
- "build-verifier",
120
- "code-reviewer"
121
- ],
122
- "mustInclude": ["migration-specialist", "build-verifier"],
123
- "mustNotInclude": [],
124
- "humanGates": ["after:migration-specialist"]
125
- },
126
- {
127
- "id": "perf-audit",
128
- "prompt": "Страница Order History медленно грузится — perf audit bundle и LCP",
129
- "intent": "perf-audit",
130
- "profile": "light",
131
- "firstAgent": "performance-auditor",
132
- "requiredSequence": ["performance-auditor"],
133
- "mustInclude": ["performance-auditor"],
134
- "mustNotInclude": ["feature-developer", "build-verifier"],
135
- "humanGates": []
136
- },
137
- {
138
- "id": "a11y",
139
- "prompt": "Проверь a11y формы логина — WCAG и keyboard navigation",
140
- "intent": "a11y",
141
- "profile": "standard",
142
- "firstAgent": "task-analyst",
143
- "requiredSequence": [
144
- "task-analyst",
145
- "feature-developer",
146
- "build-verifier",
147
- "accessibility-reviewer",
148
- "code-reviewer"
149
- ],
150
- "mustInclude": ["accessibility-reviewer", "build-verifier"],
151
- "mustNotInclude": [],
152
- "humanGates": ["after:task-analyst"]
153
- },
154
- {
155
- "id": "review-only",
156
- "prompt": "Сделай ревью моих изменений в store/orders — review MR diff",
157
- "intent": "review-only",
158
- "profile": "light",
159
- "firstAgent": "code-reviewer",
160
- "requiredSequence": ["code-reviewer"],
161
- "mustInclude": ["code-reviewer"],
162
- "mustNotInclude": ["feature-developer", "build-verifier", "task-analyst"],
163
- "humanGates": []
164
- },
165
- {
166
- "id": "test-only",
167
- "prompt": "Покрой тестами модуль payments — unit и e2e, без изменения прод-кода",
168
- "intent": "test-only",
169
- "profile": "standard",
170
- "firstAgent": "task-analyst",
171
- "requiredSequence": ["task-analyst", "qa-tester"],
172
- "mustInclude": ["qa-tester"],
173
- "mustNotInclude": ["feature-developer"],
174
- "humanGates": ["after:task-analyst"]
175
- },
176
- {
177
- "id": "unit-only-plan",
178
- "prompt": "Покрой unit-тестами mapper payments в api/services",
179
- "intent": "unit-only",
180
- "profile": "standard",
181
- "firstAgent": "unit-test-planner",
182
- "requiredSequence": ["unit-test-planner", "unit-test-generator"],
183
- "mustInclude": ["unit-test-planner"],
184
- "mustNotInclude": ["feature-developer", "qa-tester"],
185
- "humanGates": ["after:unit-test-planner"],
186
- "notes": "New unit coverage → planner then generator."
187
- },
188
- {
189
- "id": "unit-only-heal",
190
- "prompt": "Почини unit тест OrderHistoryMapper.spec.ts — падает после рефактора",
191
- "intent": "unit-only",
192
- "profile": "standard",
193
- "firstAgent": "unit-test-healer",
194
- "requiredSequence": ["unit-test-healer"],
195
- "mustInclude": ["unit-test-healer"],
196
- "mustNotInclude": ["unit-test-planner", "feature-developer"],
197
- "humanGates": [],
198
- "notes": "Broken existing unit → healer path, no planner gate."
199
- },
200
- {
201
- "id": "e2e-only-plan",
202
- "prompt": "Напиши e2e для сценария оплаты — playwright browser test",
203
- "intent": "e2e-only",
204
- "profile": "standard",
205
- "firstAgent": "playwright-test-planner",
206
- "requiredSequence": [
207
- "playwright-test-planner",
208
- "playwright-test-generator"
209
- ],
210
- "mustInclude": ["playwright-test-planner"],
211
- "mustNotInclude": ["feature-developer", "qa-tester"],
212
- "humanGates": ["after:playwright-test-planner"]
213
- },
214
- {
215
- "id": "e2e-only-heal",
216
- "prompt": "Почини e2e checkout.spec.ts — flaky playwright test",
217
- "intent": "e2e-only",
218
- "profile": "standard",
219
- "firstAgent": "playwright-test-healer",
220
- "requiredSequence": ["playwright-test-healer"],
221
- "mustInclude": ["playwright-test-healer"],
222
- "mustNotInclude": ["playwright-test-planner", "feature-developer"],
223
- "humanGates": []
224
- },
225
- {
226
- "id": "docs-only",
227
- "prompt": "Напиши changelog для релиза фильтров и migration guide",
228
- "intent": "docs-only",
229
- "profile": "standard",
230
- "firstAgent": "task-analyst",
231
- "requiredSequence": ["task-analyst", "tech-writer"],
232
- "mustInclude": ["tech-writer"],
233
- "mustNotInclude": ["feature-developer", "build-verifier"],
234
- "humanGates": ["after:task-analyst"]
235
- },
236
- {
237
- "id": "refactor",
238
- "prompt": "Рефакторинг store/orders без изменения поведения — почисти дубли",
239
- "intent": "refactor",
240
- "profile": "standard",
241
- "firstAgent": "task-analyst",
242
- "requiredSequence": [
243
- "task-analyst",
244
- "feature-developer",
245
- "build-verifier",
246
- "code-reviewer"
247
- ],
248
- "mustInclude": ["build-verifier"],
249
- "mustNotInclude": [],
250
- "humanGates": ["after:task-analyst"]
251
- },
252
- {
253
- "id": "spike",
254
- "prompt": "Исследуй spike: можно ли перейти на React Server Components для Order History?",
255
- "intent": "spike",
256
- "profile": "standard",
257
- "firstAgent": "task-analyst",
258
- "requiredSequence": ["task-analyst", "solution-architect"],
259
- "mustInclude": ["solution-architect"],
260
- "mustNotInclude": ["feature-developer", "build-verifier"],
261
- "humanGates": ["after:solution-architect"]
262
- },
263
- {
264
- "id": "retro",
265
- "prompt": "Сделай ретро по задаче order-history-date-filter — postmortem",
266
- "intent": "retro",
267
- "noPipeline": true,
268
- "firstAgent": null,
269
- "requiredSequence": [],
270
- "mustInclude": [],
271
- "mustNotInclude": ["feature-developer", "task-analyst"],
272
- "humanGates": [],
273
- "notes": "Orchestrator runs /technical-retro; no pipeline.json steps."
274
- }
275
- ]
276
- }
@@ -1,72 +0,0 @@
1
- {
2
- "version": 1,
3
- "alwaysOnCursor": [
4
- "next-app-core.mdc",
5
- "code-quality-and-refactoring.mdc",
6
- "post-change-lint.mdc",
7
- "package-manager.mdc"
8
- ],
9
- "alwaysOnClaude": [
10
- "stack/next-app-core.md",
11
- "tooling-and-review/code-quality.md",
12
- "tooling-and-review/post-change-lint.md",
13
- "tooling-and-review/package-manager.md"
14
- ],
15
- "alwaysOnMaxBytes": 12288,
16
- "rulePairs": [
17
- ["architecture-boundaries.mdc", "architecture/architecture-boundaries.md"],
18
- ["architecture-boundaries-ui.mdc", "architecture/architecture-boundaries-ui.md"],
19
- ["layer-barrel-exports.mdc", "architecture/layer-barrel-exports.md"],
20
- ["navigation-router-stack.mdc", "stack/navigation-router.md"],
21
- ["navigation-router-ui.mdc", "stack/navigation-router-ui.md"],
22
- ["react-ui.mdc", "ui-and-accessibility/react-ui.md"],
23
- ["code-review-mr.mdc", "tooling-and-review/code-review-mr.md"],
24
- ["agent-team-orchestrator.mdc", "tooling-and-review/agent-team-orchestrator.md"],
25
- ["public-imports.mdc", "architecture/public-imports.md"],
26
- ["feature-delivery-workflow.mdc", "architecture/feature-delivery-workflow.md"],
27
- ["next-app-core.mdc", "stack/next-app-core.md"],
28
- ["post-change-lint.mdc", "tooling-and-review/post-change-lint.md"],
29
- ["package-manager.mdc", "tooling-and-review/package-manager.md"],
30
- ["code-quality-and-refactoring.mdc", "tooling-and-review/code-quality.md"]
31
- ],
32
- "syncedRootFiles": [
33
- {
34
- "source": "fragments/BUGBOT.md",
35
- "targets": ["presets/cursor/next/BUGBOT.md", "presets/claude/next/BUGBOT.md"]
36
- }
37
- ],
38
- "parityDirs": ["agents", "skills", "team/fixtures"],
39
- "uiGlobChecks": [
40
- {
41
- "id": "architecture-boundaries-no-ui",
42
- "file": "architecture-boundaries.mdc",
43
- "mustNotMatch": "app/src/ui"
44
- },
45
- {
46
- "id": "architecture-boundaries-ui-scoped",
47
- "file": "architecture-boundaries-ui.mdc",
48
- "mustMatch": "app/src/ui"
49
- },
50
- {
51
- "id": "layer-barrel-index-only",
52
- "file": "layer-barrel-exports.mdc",
53
- "mustMatch": "index.ts",
54
- "mustNotMatch": "app/src/ui/\\*\\*"
55
- },
56
- {
57
- "id": "navigation-router-stack-app-only",
58
- "file": "navigation-router-stack.mdc",
59
- "mustMatch": "app/src/app",
60
- "mustNotMatch": "app/src/ui"
61
- },
62
- {
63
- "id": "navigation-router-ui-tsx",
64
- "file": "navigation-router-ui.mdc",
65
- "mustMatch": "app/src/ui/\\*\\*/\\*\\.tsx"
66
- }
67
- ],
68
- "wideGlobDenylist": [
69
- "architecture-boundaries.mdc",
70
- "navigation-router-stack.mdc"
71
- ]
72
- }
File without changes