@event4u/agent-config 1.15.0 → 1.17.0

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 (354) hide show
  1. package/.agent-src/commands/{agents-audit.md → agents/audit.md} +4 -3
  2. package/.agent-src/commands/{agents-cleanup.md → agents/cleanup.md} +12 -6
  3. package/.agent-src/commands/{agents-prepare.md → agents/prepare.md} +4 -3
  4. package/.agent-src/commands/agents.md +46 -0
  5. package/.agent-src/commands/bug-fix.md +1 -1
  6. package/.agent-src/commands/bug-investigate.md +2 -2
  7. package/.agent-src/commands/{chat-history-checkpoint.md → chat-history/checkpoint.md} +5 -5
  8. package/.agent-src/commands/{chat-history-clear.md → chat-history/clear.md} +5 -5
  9. package/.agent-src/commands/{chat-history-resume.md → chat-history/resume.md} +4 -4
  10. package/.agent-src/commands/chat-history/show.md +107 -0
  11. package/.agent-src/commands/chat-history.md +33 -89
  12. package/.agent-src/commands/check-current-md.md +1 -1
  13. package/.agent-src/commands/{commit-in-chunks.md → commit/in-chunks.md} +15 -13
  14. package/.agent-src/commands/commit.md +22 -2
  15. package/.agent-src/commands/{context-create.md → context/create.md} +4 -3
  16. package/.agent-src/commands/{context-refactor.md → context/refactor.md} +4 -3
  17. package/.agent-src/commands/context.md +44 -0
  18. package/.agent-src/commands/{copilot-agents-init.md → copilot-agents/init.md} +4 -3
  19. package/.agent-src/commands/{copilot-agents-optimize.md → copilot-agents/optimize.md} +4 -3
  20. package/.agent-src/commands/copilot-agents.md +44 -0
  21. package/.agent-src/commands/council/default.md +221 -0
  22. package/.agent-src/commands/council/design.md +97 -0
  23. package/.agent-src/commands/council/optimize.md +116 -0
  24. package/.agent-src/commands/council/pr.md +124 -0
  25. package/.agent-src/commands/council.md +54 -0
  26. package/.agent-src/commands/{create-pr-description.md → create-pr/description-only.md} +4 -2
  27. package/.agent-src/commands/create-pr.md +49 -5
  28. package/.agent-src/commands/e2e-heal.md +1 -1
  29. package/.agent-src/commands/e2e-plan.md +1 -1
  30. package/.agent-src/commands/{feature-dev.md → feature/dev.md} +6 -3
  31. package/.agent-src/commands/{feature-explore.md → feature/explore.md} +5 -4
  32. package/.agent-src/commands/{feature-plan.md → feature/plan.md} +32 -5
  33. package/.agent-src/commands/{feature-refactor.md → feature/refactor.md} +4 -3
  34. package/.agent-src/commands/{feature-roadmap.md → feature/roadmap.md} +7 -6
  35. package/.agent-src/commands/feature.md +52 -0
  36. package/.agent-src/commands/{fix-ci.md → fix/ci.md} +4 -3
  37. package/.agent-src/commands/{fix-portability.md → fix/portability.md} +4 -3
  38. package/.agent-src/commands/{fix-pr-bot-comments.md → fix/pr-bots.md} +4 -3
  39. package/.agent-src/commands/{fix-pr-developer-comments.md → fix/pr-developers.md} +4 -3
  40. package/.agent-src/commands/{fix-pr-comments.md → fix/pr.md} +7 -6
  41. package/.agent-src/commands/{fix-references.md → fix/refs.md} +4 -3
  42. package/.agent-src/commands/{fix-seeder.md → fix/seeder.md} +4 -3
  43. package/.agent-src/commands/fix.md +54 -0
  44. package/.agent-src/commands/jira-ticket.md +1 -1
  45. package/.agent-src/commands/{do-and-judge.md → judge/on-diff.md} +7 -6
  46. package/.agent-src/commands/judge/solo.md +90 -0
  47. package/.agent-src/commands/{do-in-steps.md → judge/steps.md} +8 -7
  48. package/.agent-src/commands/judge.md +35 -70
  49. package/.agent-src/commands/{memory-add.md → memory/add.md} +7 -6
  50. package/.agent-src/commands/{memory-full.md → memory/load.md} +6 -5
  51. package/.agent-src/commands/{memory-promote.md → memory/promote.md} +6 -5
  52. package/.agent-src/commands/{propose-memory.md → memory/propose.md} +6 -5
  53. package/.agent-src/commands/memory.md +48 -0
  54. package/.agent-src/commands/mode.md +5 -5
  55. package/.agent-src/commands/{module-create.md → module/create.md} +4 -3
  56. package/.agent-src/commands/{module-explore.md → module/explore.md} +4 -3
  57. package/.agent-src/commands/module.md +44 -0
  58. package/.agent-src/commands/onboard.md +3 -3
  59. package/.agent-src/commands/{optimize-agents.md → optimize/agents.md} +5 -4
  60. package/.agent-src/commands/{optimize-augmentignore.md → optimize/augmentignore.md} +4 -4
  61. package/.agent-src/commands/{optimize-rtk-filters.md → optimize/rtk.md} +4 -3
  62. package/.agent-src/commands/{optimize-skills.md → optimize/skills.md} +5 -4
  63. package/.agent-src/commands/optimize.md +48 -0
  64. package/.agent-src/commands/{override-create.md → override/create.md} +4 -3
  65. package/.agent-src/commands/{override-manage.md → override/manage.md} +4 -3
  66. package/.agent-src/commands/override.md +44 -0
  67. package/.agent-src/commands/review-changes.md +26 -1
  68. package/.agent-src/commands/review-routing.md +1 -1
  69. package/.agent-src/commands/{roadmap-create.md → roadmap/create.md} +33 -5
  70. package/.agent-src/commands/{roadmap-execute.md → roadmap/execute.md} +4 -3
  71. package/.agent-src/commands/roadmap.md +44 -0
  72. package/.agent-src/commands/set-cost-profile.md +3 -3
  73. package/.agent-src/commands/sync-agent-settings.md +2 -2
  74. package/.agent-src/commands/{tests-create.md → tests/create.md} +5 -4
  75. package/.agent-src/commands/{tests-execute.md → tests/execute.md} +4 -3
  76. package/.agent-src/commands/tests.md +44 -0
  77. package/.agent-src/commands/upstream-contribute.md +1 -1
  78. package/.agent-src/contexts/authority/commit-mechanics.md +57 -0
  79. package/.agent-src/contexts/authority/destructive-mechanics.md +66 -0
  80. package/.agent-src/contexts/authority/scope-mechanics.md +87 -0
  81. package/.agent-src/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md +72 -0
  82. package/.agent-src/contexts/communication/rules-auto/augment-portability-mechanics.md +79 -0
  83. package/.agent-src/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md +98 -0
  84. package/.agent-src/contexts/communication/rules-auto/cli-output-handling-mechanics.md +87 -0
  85. package/.agent-src/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md +62 -0
  86. package/.agent-src/contexts/communication/rules-auto/docs-sync-mechanics.md +78 -0
  87. package/.agent-src/contexts/communication/rules-auto/package-ci-checks-mechanics.md +85 -0
  88. package/.agent-src/contexts/communication/rules-auto/review-routing-awareness-mechanics.md +65 -0
  89. package/.agent-src/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md +78 -0
  90. package/.agent-src/contexts/communication/rules-auto/skill-quality-mechanics.md +62 -0
  91. package/.agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +55 -0
  92. package/.agent-src/contexts/communication/rules-auto/ui-audit-gate-mechanics.md +53 -0
  93. package/.agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +77 -0
  94. package/.agent-src/contexts/execution/autonomy-detection.md +54 -0
  95. package/.agent-src/contexts/execution/autonomy-examples.md +90 -0
  96. package/.agent-src/contexts/execution/autonomy-mechanics.md +29 -0
  97. package/.agent-src/contexts/execution/verification-mechanics.md +80 -0
  98. package/.agent-src/contexts/judges/no-consolidate-rationale.md +102 -0
  99. package/.agent-src/contexts/judges/persona-voice-rubric.md +140 -0
  100. package/.agent-src/personas/README.md +1 -1
  101. package/.agent-src/rules/agent-authority.md +24 -0
  102. package/.agent-src/rules/architecture.md +1 -1
  103. package/.agent-src/rules/artifact-drafting-protocol.md +1 -1
  104. package/.agent-src/rules/artifact-engagement-recording.md +14 -70
  105. package/.agent-src/rules/ask-when-uncertain.md +28 -43
  106. package/.agent-src/rules/augment-portability.md +15 -61
  107. package/.agent-src/rules/augment-source-of-truth.md +27 -93
  108. package/.agent-src/rules/autonomous-execution.md +78 -114
  109. package/.agent-src/rules/capture-learnings.md +1 -1
  110. package/.agent-src/rules/chat-history-cadence.md +3 -3
  111. package/.agent-src/rules/chat-history-ownership.md +3 -3
  112. package/.agent-src/rules/chat-history-visibility.md +3 -3
  113. package/.agent-src/rules/cli-output-handling.md +10 -76
  114. package/.agent-src/rules/command-suggestion-policy.md +93 -0
  115. package/.agent-src/rules/commit-conventions.md +17 -14
  116. package/.agent-src/rules/commit-policy.md +14 -42
  117. package/.agent-src/rules/context-hygiene.md +3 -3
  118. package/.agent-src/rules/direct-answers.md +34 -49
  119. package/.agent-src/rules/docker-commands.md +5 -5
  120. package/.agent-src/rules/docs-sync.md +16 -70
  121. package/.agent-src/rules/e2e-testing.md +1 -1
  122. package/.agent-src/rules/guidelines.md +4 -4
  123. package/.agent-src/rules/improve-before-implement.md +2 -2
  124. package/.agent-src/rules/language-and-tone.md +50 -133
  125. package/.agent-src/rules/minimal-safe-diff.md +3 -3
  126. package/.agent-src/rules/missing-tool-handling.md +28 -22
  127. package/.agent-src/rules/model-recommendation.md +4 -4
  128. package/.agent-src/rules/no-cheap-questions.md +82 -0
  129. package/.agent-src/rules/no-roadmap-references.md +73 -0
  130. package/.agent-src/rules/non-destructive-by-default.md +15 -49
  131. package/.agent-src/rules/onboarding-gate.md +5 -5
  132. package/.agent-src/rules/package-ci-checks.md +21 -61
  133. package/.agent-src/rules/preservation-guard.md +64 -29
  134. package/.agent-src/rules/review-routing-awareness.md +26 -45
  135. package/.agent-src/rules/roadmap-progress-sync.md +28 -96
  136. package/.agent-src/rules/role-mode-adherence.md +2 -2
  137. package/.agent-src/rules/scope-control.md +65 -46
  138. package/.agent-src/rules/security-sensitive-stop.md +9 -9
  139. package/.agent-src/rules/size-enforcement.md +1 -1
  140. package/.agent-src/rules/skill-quality.md +16 -48
  141. package/.agent-src/rules/{slash-commands.md → slash-command-routing-policy.md} +7 -4
  142. package/.agent-src/rules/think-before-action.md +55 -45
  143. package/.agent-src/rules/token-efficiency.md +4 -4
  144. package/.agent-src/rules/tool-safety.md +19 -16
  145. package/.agent-src/rules/{ui-audit-before-build.md → ui-audit-gate.md} +27 -41
  146. package/.agent-src/rules/user-interaction.md +16 -71
  147. package/.agent-src/rules/verify-before-complete.md +12 -67
  148. package/.agent-src/scripts/update_roadmap_progress.py +9 -4
  149. package/.agent-src/skills/ai-council/SKILL.md +335 -0
  150. package/.agent-src/skills/api-endpoint/SKILL.md +2 -2
  151. package/.agent-src/skills/api-testing/SKILL.md +1 -1
  152. package/.agent-src/skills/blade-ui/SKILL.md +1 -1
  153. package/.agent-src/skills/blast-radius-analyzer/SKILL.md +1 -1
  154. package/.agent-src/skills/bug-analyzer/SKILL.md +1 -1
  155. package/.agent-src/skills/check-refs/SKILL.md +59 -40
  156. package/.agent-src/skills/command-routing/SKILL.md +1 -1
  157. package/.agent-src/skills/command-writing/SKILL.md +1 -1
  158. package/.agent-src/skills/conventional-commits-writing/SKILL.md +86 -28
  159. package/.agent-src/skills/copilot-agents-optimization/SKILL.md +7 -7
  160. package/.agent-src/skills/developer-like-execution/SKILL.md +6 -6
  161. package/.agent-src/skills/finishing-a-development-branch/SKILL.md +101 -65
  162. package/.agent-src/skills/flux/SKILL.md +31 -11
  163. package/.agent-src/skills/git-workflow/SKILL.md +1 -1
  164. package/.agent-src/skills/github-ci/SKILL.md +2 -2
  165. package/.agent-src/skills/guideline-writing/SKILL.md +11 -11
  166. package/.agent-src/skills/judge-code-quality/SKILL.md +7 -8
  167. package/.agent-src/skills/judge-security-auditor/SKILL.md +4 -5
  168. package/.agent-src/skills/judge-test-coverage/SKILL.md +3 -4
  169. package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +4 -4
  170. package/.agent-src/skills/lint-skills/SKILL.md +57 -39
  171. package/.agent-src/skills/livewire/SKILL.md +1 -1
  172. package/.agent-src/skills/md-language-check/SKILL.md +61 -39
  173. package/.agent-src/skills/override-management/SKILL.md +7 -7
  174. package/.agent-src/skills/php-coder/SKILL.md +1 -1
  175. package/.agent-src/skills/playwright-testing/SKILL.md +2 -2
  176. package/.agent-src/skills/quality-tools/SKILL.md +2 -2
  177. package/.agent-src/skills/react-shadcn-ui/SKILL.md +116 -43
  178. package/.agent-src/skills/readme-reviewer/SKILL.md +31 -30
  179. package/.agent-src/skills/readme-writing/SKILL.md +79 -54
  180. package/.agent-src/skills/readme-writing-package/SKILL.md +51 -48
  181. package/.agent-src/skills/receiving-code-review/SKILL.md +53 -48
  182. package/.agent-src/skills/refine-prompt/SKILL.md +0 -1
  183. package/.agent-src/skills/requesting-code-review/SKILL.md +35 -30
  184. package/.agent-src/skills/review-routing/SKILL.md +2 -2
  185. package/.agent-src/skills/rule-writing/SKILL.md +1 -1
  186. package/.agent-src/skills/security/SKILL.md +7 -2
  187. package/.agent-src/skills/security-audit/SKILL.md +7 -3
  188. package/.agent-src/skills/skill-reviewer/SKILL.md +1 -1
  189. package/.agent-src/skills/skill-writing/SKILL.md +3 -3
  190. package/.agent-src/skills/subagent-orchestration/SKILL.md +1 -0
  191. package/.agent-src/skills/systematic-debugging/SKILL.md +69 -61
  192. package/.agent-src/skills/test-driven-development/SKILL.md +59 -57
  193. package/.agent-src/skills/test-performance/SKILL.md +0 -1
  194. package/.agent-src/skills/traefik/SKILL.md +4 -4
  195. package/.agent-src/skills/upstream-contribute/SKILL.md +1 -1
  196. package/.agent-src/skills/validate-feature-fit/SKILL.md +2 -2
  197. package/.agent-src/skills/{verify-before-complete → verify-completion-evidence}/SKILL.md +30 -28
  198. package/.agent-src/templates/agent-settings.md +8 -8
  199. package/.agent-src/templates/contexts/auth-model.md +1 -1
  200. package/.agent-src/templates/scripts/README.md +2 -2
  201. package/.agent-src/templates/scripts/telemetry/aggregator.py +16 -1
  202. package/.agent-src/templates/scripts/telemetry/engagement.py +59 -0
  203. package/.agent-src/templates/scripts/telemetry/report_renderer.py +28 -1
  204. package/.agent-src/templates/scripts/telemetry_record.py +14 -1
  205. package/.claude-plugin/marketplace.json +31 -12
  206. package/AGENTS.md +11 -9
  207. package/CHANGELOG.md +213 -2
  208. package/README.md +43 -44
  209. package/config/agent-settings.template.yml +58 -1
  210. package/config/gitignore-block.txt +3 -0
  211. package/docs/architecture.md +5 -7
  212. package/docs/catalog.md +359 -0
  213. package/docs/contracts/STABILITY.md +46 -1
  214. package/docs/contracts/adr-chat-history-split.md +1 -3
  215. package/docs/contracts/adr-command-suggestion.md +3 -5
  216. package/docs/contracts/adr-implement-ticket-runtime.md +1 -2
  217. package/docs/contracts/adr-product-ui-track.md +5 -8
  218. package/docs/contracts/adr-prompt-driven-execution.md +3 -4
  219. package/docs/contracts/agent-memory-contract.md +8 -13
  220. package/docs/contracts/artifact-engagement-flow.md +7 -10
  221. package/docs/contracts/command-clusters.md +56 -46
  222. package/docs/contracts/command-suggestion-flow.md +4 -6
  223. package/docs/contracts/context-paths.md +99 -0
  224. package/docs/contracts/file-ownership-matrix.json +6722 -0
  225. package/docs/contracts/file-ownership-matrix.md +134 -0
  226. package/docs/contracts/implement-ticket-flow.md +8 -11
  227. package/docs/contracts/linear-ai-rules-inclusion.md +1 -2
  228. package/docs/contracts/linear-ai-three-layers.md +0 -2
  229. package/docs/contracts/load-context-budget-model.md +178 -0
  230. package/docs/contracts/load-context-schema.md +184 -0
  231. package/docs/contracts/rule-interactions.md +0 -1
  232. package/docs/contracts/rule-interactions.yml +96 -0
  233. package/docs/contracts/rule-priority-hierarchy.md +87 -0
  234. package/docs/contracts/ui-track-flow.md +8 -18
  235. package/docs/customization.md +16 -0
  236. package/docs/end-to-end-walkthroughs.md +165 -0
  237. package/docs/getting-started.md +29 -10
  238. package/docs/github-topics.md +12 -3
  239. package/docs/guidelines/agent-infra/asking-and-brevity-examples.md +100 -0
  240. package/docs/guidelines/agent-infra/language-and-tone-examples.md +79 -0
  241. package/{.agent-src → docs}/guidelines/docs/readme-size-and-splitting.md +26 -25
  242. package/docs/guidelines/php/git.md +164 -0
  243. package/docs/migrations/commands-1.15.0.md +1 -1
  244. package/docs/showcase.md +9 -4
  245. package/docs/skills-catalog.md +14 -8
  246. package/docs/ui-track-mental-model.md +2 -2
  247. package/llms.txt +13 -7
  248. package/package.json +1 -1
  249. package/scripts/_one_off_phase4_dispatch_latency.py +108 -0
  250. package/scripts/_one_off_phase6_trigger_jaccard.py +92 -0
  251. package/scripts/_phase2_shim_helper.py +109 -0
  252. package/scripts/agent-config +33 -0
  253. package/scripts/ai_council/__init__.py +39 -0
  254. package/scripts/ai_council/_default_prices.py +41 -0
  255. package/scripts/ai_council/_one_off_2a4_acceptance.py +208 -0
  256. package/scripts/ai_council/_one_off_context_layer_v1_estimate.py +67 -0
  257. package/scripts/ai_council/_one_off_context_layer_v1_review.py +292 -0
  258. package/scripts/ai_council/_one_off_followups_review.py +259 -0
  259. package/scripts/ai_council/_one_off_nondestructive_inline_audit.py +209 -0
  260. package/scripts/ai_council/_one_off_phase_2a_budget_rebalance.py +257 -0
  261. package/scripts/ai_council/_one_off_phase_2a_post_revert.py +197 -0
  262. package/scripts/ai_council/_one_off_rebalancing_audit.py +149 -0
  263. package/scripts/ai_council/_one_off_roundtrip.py +106 -0
  264. package/scripts/ai_council/_one_off_rule_hardening_v1.py +251 -0
  265. package/scripts/ai_council/_one_off_structural_open_questions.py +232 -0
  266. package/scripts/ai_council/_one_off_structural_optimization.py +144 -0
  267. package/scripts/ai_council/_one_off_structural_v3_gaps.py +252 -0
  268. package/scripts/ai_council/_one_off_structural_v3_review.py +240 -0
  269. package/scripts/ai_council/budget_guard.py +172 -0
  270. package/scripts/ai_council/bundler.py +261 -0
  271. package/scripts/ai_council/clients.py +381 -0
  272. package/scripts/ai_council/modes.py +127 -0
  273. package/scripts/ai_council/orchestrator.py +350 -0
  274. package/scripts/ai_council/pricing.py +213 -0
  275. package/scripts/ai_council/project_context.py +159 -0
  276. package/scripts/ai_council/prompts.py +232 -0
  277. package/scripts/ai_council/session.py +144 -0
  278. package/scripts/check_always_budget.py +444 -0
  279. package/scripts/check_augmentignore.py +69 -0
  280. package/scripts/check_cluster_patterns.py +159 -0
  281. package/scripts/check_command_count_messaging.py +127 -0
  282. package/scripts/check_context_paths.py +201 -0
  283. package/scripts/check_no_roadmap_refs.py +155 -0
  284. package/scripts/check_phase_coupling.py +148 -0
  285. package/scripts/check_portability.py +57 -0
  286. package/scripts/check_public_catalog_links.py +122 -0
  287. package/scripts/check_references.py +33 -3
  288. package/scripts/check_roadmap_trackable.py +111 -0
  289. package/scripts/check_safety_floor_untouched.py +125 -0
  290. package/scripts/command_suggester/cooldown.py +1 -1
  291. package/scripts/command_suggester/loader.py +4 -1
  292. package/scripts/compress.py +59 -13
  293. package/scripts/generate_index.py +270 -0
  294. package/scripts/generate_ownership_matrix.py +323 -0
  295. package/scripts/hooks/augment-roadmap-progress.sh +57 -0
  296. package/scripts/install.py +49 -28
  297. package/scripts/install_anthropic_key.sh +5 -0
  298. package/scripts/install_openai_key.sh +106 -0
  299. package/scripts/lint_load_context.py +163 -0
  300. package/scripts/lint_no_new_atomic_commands.py +12 -11
  301. package/scripts/requirements-evals.txt +1 -0
  302. package/scripts/roadmap_progress_hook.py +159 -0
  303. package/scripts/schemas/command.schema.json +22 -1
  304. package/scripts/schemas/rule.schema.json +10 -0
  305. package/scripts/skill_linter.py +13 -4
  306. package/scripts/sync_agent_settings.py +26 -3
  307. package/scripts/update_counts.py +16 -4
  308. package/scripts/update_prices.py +124 -0
  309. package/.agent-src/guidelines/php/git.md +0 -96
  310. package/.agent-src/rules/command-suggestion.md +0 -134
  311. /package/{.agent-src → docs}/guidelines/agent-infra/agent-interaction-and-decision-quality.md +0 -0
  312. /package/{.agent-src → docs}/guidelines/agent-infra/break-glass-usage.md +0 -0
  313. /package/{.agent-src → docs}/guidelines/agent-infra/developer-judgment.md +0 -0
  314. /package/{.agent-src → docs}/guidelines/agent-infra/engineering-memory-data-format.md +0 -0
  315. /package/{.agent-src → docs}/guidelines/agent-infra/layered-settings.md +0 -0
  316. /package/{.agent-src → docs}/guidelines/agent-infra/memory-access.md +0 -0
  317. /package/{.agent-src → docs}/guidelines/agent-infra/naming.md +0 -0
  318. /package/{.agent-src → docs}/guidelines/agent-infra/output-patterns.md +0 -0
  319. /package/{.agent-src → docs}/guidelines/agent-infra/review-routing-data-format.md +0 -0
  320. /package/{.agent-src → docs}/guidelines/agent-infra/role-contracts.md +0 -0
  321. /package/{.agent-src → docs}/guidelines/agent-infra/role-mode-router.md +0 -0
  322. /package/{.agent-src → docs}/guidelines/agent-infra/runtime-layer.md +0 -0
  323. /package/{.agent-src → docs}/guidelines/agent-infra/self-improvement-pipeline.md +0 -0
  324. /package/{.agent-src → docs}/guidelines/agent-infra/size-and-scope.md +0 -0
  325. /package/{.agent-src → docs}/guidelines/agent-infra/tool-integration.md +0 -0
  326. /package/{.agent-src → docs}/guidelines/e2e/playwright.md +0 -0
  327. /package/{.agent-src → docs}/guidelines/php/api-design.md +0 -0
  328. /package/{.agent-src → docs}/guidelines/php/artisan-commands.md +0 -0
  329. /package/{.agent-src → docs}/guidelines/php/blade-ui.md +0 -0
  330. /package/{.agent-src → docs}/guidelines/php/controllers.md +0 -0
  331. /package/{.agent-src → docs}/guidelines/php/database.md +0 -0
  332. /package/{.agent-src → docs}/guidelines/php/eloquent.md +0 -0
  333. /package/{.agent-src → docs}/guidelines/php/flux.md +0 -0
  334. /package/{.agent-src → docs}/guidelines/php/general.md +0 -0
  335. /package/{.agent-src → docs}/guidelines/php/jobs.md +0 -0
  336. /package/{.agent-src → docs}/guidelines/php/livewire.md +0 -0
  337. /package/{.agent-src → docs}/guidelines/php/logging.md +0 -0
  338. /package/{.agent-src → docs}/guidelines/php/naming.md +0 -0
  339. /package/{.agent-src → docs}/guidelines/php/patterns/dependency-injection.md +0 -0
  340. /package/{.agent-src → docs}/guidelines/php/patterns/dtos.md +0 -0
  341. /package/{.agent-src → docs}/guidelines/php/patterns/events.md +0 -0
  342. /package/{.agent-src → docs}/guidelines/php/patterns/factory.md +0 -0
  343. /package/{.agent-src → docs}/guidelines/php/patterns/pipelines.md +0 -0
  344. /package/{.agent-src → docs}/guidelines/php/patterns/policies.md +0 -0
  345. /package/{.agent-src → docs}/guidelines/php/patterns/repositories.md +0 -0
  346. /package/{.agent-src → docs}/guidelines/php/patterns/service-layer.md +0 -0
  347. /package/{.agent-src → docs}/guidelines/php/patterns/strategy.md +0 -0
  348. /package/{.agent-src → docs}/guidelines/php/patterns.md +0 -0
  349. /package/{.agent-src → docs}/guidelines/php/performance.md +0 -0
  350. /package/{.agent-src → docs}/guidelines/php/resources.md +0 -0
  351. /package/{.agent-src → docs}/guidelines/php/security.md +0 -0
  352. /package/{.agent-src → docs}/guidelines/php/sql.md +0 -0
  353. /package/{.agent-src → docs}/guidelines/php/validations.md +0 -0
  354. /package/{.agent-src → docs}/guidelines/php/websocket.md +0 -0
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: council
3
+ description: Council orchestrator — routes to default, pr, design, optimize
4
+ cluster: council
5
+ disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "external second opinion, cross-AI review, devil's advocate on a plan/roadmap/diff, council on PR/design/optimize, polling another model"
9
+ trigger_context: "user wants an outside critique on an artefact (roadmap, diff, prompt, files, PR, design doc, optimization target) without polluting the reviewer with the host agent's framing"
10
+ ---
11
+
12
+ # /council
13
+
14
+ Top-level orchestrator for the `/council` family. Replaces 4 standalone
15
+ commands with a single entry point + sub-command dispatch. Each lens
16
+ shares the same transport, neutrality preamble, and cost gate; the
17
+ sub-command swaps the mode-specific addendum.
18
+
19
+ ## Sub-commands
20
+
21
+ | Sub-command | Routes to | Purpose |
22
+ |---|---|---|
23
+ | `/council default` | `commands/council/default.md` | Generic neutral lens — prompt, roadmap, diff, or files |
24
+ | `/council pr` | `commands/council/pr.md` | Pull a GitHub PR via `gh` and run the council on the diff with PR-specific framing |
25
+ | `/council design` | `commands/council/design.md` | Run the council on a design doc / ADR / architecture proposal |
26
+ | `/council optimize` | `commands/council/optimize.md` | Run the council on an optimization target — ranked, evidence-based suggestions |
27
+
28
+ Sub-command names match the locked contract in
29
+ [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
30
+
31
+ ## Dispatch
32
+
33
+ 1. Parse the user's argument: `/council <sub-command> [args]`.
34
+ 2. Look up the sub-command in the table above.
35
+ 3. Load the body of the routed file and follow its `## Instructions` section
36
+ verbatim with the remaining args.
37
+ 4. If the sub-command is unknown or missing, print the table above and ask:
38
+
39
+ > 1. default — neutral lens on a prompt / roadmap / diff / files
40
+ > 2. pr — review a GitHub PR (read-only by default)
41
+ > 3. design — review a design doc / ADR / architecture proposal
42
+ > 4. optimize — ranked, evidence-based optimization advice
43
+
44
+ ## Rules
45
+
46
+ - **Do NOT commit, push, or open a PR** unless the sub-command explicitly
47
+ authorizes it. The PR sub-command can post **one** comment per
48
+ invocation, opt-in only.
49
+ - **Do NOT chain sub-commands.** One `/council <sub>` per turn.
50
+ - **Hard floor — text only.** `/council` produces text and (under
51
+ `pr` with explicit opt-in) one PR comment. It does NOT edit files,
52
+ approve / merge PRs, or run optimizations.
53
+ - If the user invokes `/council` with no argument, **show the menu** —
54
+ do not guess which sub-command they meant.
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: create-pr-description
2
+ name: create-pr:description-only
3
+ cluster: create-pr
4
+ sub: description-only
3
5
  skills: [git-workflow]
4
6
  description: Generate a PR description as a copyable markdown block — used standalone or by create-pr
5
7
  disable-model-invocation: true
@@ -9,7 +11,7 @@ suggestion:
9
11
  trigger_context: "PR exists or branch ready for review without description"
10
12
  ---
11
13
 
12
- # create-pr-description
14
+ # /create-pr:description-only
13
15
 
14
16
  ## Input
15
17
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: create-pr
3
+ cluster: create-pr
3
4
  skills: [git-workflow]
4
5
  description: Create a GitHub PR with structured description from Jira ticket and code changes
5
6
  disable-model-invocation: true
@@ -9,11 +10,31 @@ suggestion:
9
10
  trigger_context: "branch is ahead of base and not yet on a PR"
10
11
  ---
11
12
 
12
- # create-pr
13
+ # /create-pr
13
14
 
14
- Uses `/create-pr-description` to generate the PR content, then creates the PR via GitHub API.
15
+ Top-level entry point for the `/create-pr` family. Bare `/create-pr`
16
+ runs the full create-PR flow described below. The `:description-only`
17
+ sub-command produces a copyable PR description without creating the PR.
15
18
 
16
- ## Instructions
19
+ ## Sub-commands
20
+
21
+ | Sub-command | Routes to | Purpose |
22
+ |---|---|---|
23
+ | `/create-pr` (bare) | this file (`## Default flow`) | Full flow — generate description, push, create PR |
24
+ | `/create-pr:description-only` | `commands/create-pr/description-only.md` | Generate the PR description as a copyable markdown block, no PR creation |
25
+
26
+ ## Dispatch
27
+
28
+ 1. Parse the user's argument: `/create-pr[:<sub>] [args]`.
29
+ 2. Bare `/create-pr` → run the `## Default flow` below verbatim.
30
+ 3. `/create-pr:description-only` → load
31
+ `commands/create-pr/description-only.md` and follow its
32
+ `## Instructions` section verbatim.
33
+ 4. Unknown sub-command → print the table above and ask which one.
34
+
35
+ ## Default flow
36
+
37
+ Uses `/create-pr:description-only` to generate the PR content, then creates the PR via GitHub API.
17
38
 
18
39
  ### 1. Check prerequisites
19
40
 
@@ -24,15 +45,38 @@ Uses `/create-pr-description` to generate the PR content, then creates the PR vi
24
45
 
25
46
  ### 2. Generate PR content
26
47
 
27
- Run `/create-pr-description` to generate the PR title and body.
48
+ Run `/create-pr:description-only` to generate the PR title and body.
28
49
  This handles: Jira ticket extraction, diff analysis, commit messages, **PR template filling**.
29
50
 
30
51
  **CRITICAL**: The PR body MUST use the project's PR template (`.github/pull_request_template.md`).
31
52
  Read the template file and fill in its sections. If the template does not exist, use the
32
- fallback structure defined in `/create-pr-description`. NEVER invent a custom body structure.
53
+ fallback structure defined in `/create-pr:description-only`. NEVER invent a custom body structure.
33
54
 
34
55
  The user reviews and adjusts the content in that step.
35
56
 
57
+ ### 2b. Offer council review (B2 hook)
58
+
59
+ If `.agent-settings.yml` has `ai_council.enabled: true` **and** at least
60
+ one member is enabled, ask (in the user's language):
61
+
62
+ > 1. Run the council on this diff before opening the PR? (billable)
63
+ > 2. Skip council review
64
+
65
+ Suppress when `personal.autonomy: on` (council is billable; autonomy
66
+ must not silently spend — see `road-to-ai-council.md` Decision 3).
67
+
68
+ If picked **1**:
69
+
70
+ - Compute the diff range — `origin/<default>..HEAD` from step 1.
71
+ - Run `/council diff:<base>..<head>` with `original_ask` set to the
72
+ PR title from step 2 (the user's framing of the change).
73
+ - Surface findings to the user before step 3. **Do not** auto-edit
74
+ the PR body or block PR creation — output is advisory.
75
+ - Optional: offer to append a one-paragraph "Council notes" section
76
+ to the PR description for reviewer transparency. Default: skip.
77
+
78
+ If picked **2** → continue.
79
+
36
80
  ### 3. Create the PR
37
81
 
38
82
  Once the user approves the content from step 2:
@@ -21,7 +21,7 @@ suggestion:
21
21
  > 2. Fix a specific test file — which one?
22
22
  > 3. Fix tests that failed in CI — provide the CI run URL or error output
23
23
 
24
- - Read the Playwright guideline: `.augment/guidelines/e2e/playwright.md`
24
+ - Read the Playwright guideline: `../../docs/guidelines/e2e/playwright.md`
25
25
 
26
26
  ### 2. Run failing tests
27
27
 
@@ -21,7 +21,7 @@ suggestion:
21
21
  > 2. Which feature area? (e.g., "checkout flow", "user settings", or "all visible flows")
22
22
  > 3. Is there an existing seed/setup file? (e.g., `tests/e2e/fixtures/auth.ts`)
23
23
 
24
- - Read the Playwright guideline: `.augment/guidelines/e2e/playwright.md`
24
+ - Read the Playwright guideline: `../../docs/guidelines/e2e/playwright.md`
25
25
  - Check for existing test plans in `specs/` or `tests/e2e/specs/`.
26
26
 
27
27
  ### 2. Explore the application
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: feature-dev
2
+ name: feature:dev
3
+ cluster: feature
4
+ sub: dev
3
5
  description: Full 7-phase feature development workflow for complex features.
4
6
  skills: [laravel, php-coder]
5
7
  disable-model-invocation: true
@@ -8,13 +10,14 @@ suggestion:
8
10
  trigger_description: "build this feature end-to-end, run the full feature workflow"
9
11
  trigger_context: "long-form feature description spanning multiple components"
10
12
  ---
11
- # /feature-dev
13
+
14
+ # /feature:dev
12
15
 
13
16
  > Full 7-phase feature development workflow for complex features.
14
17
 
15
18
  ## Trigger
16
19
 
17
- `/feature-dev {description}` or `/feature-dev` (interactive)
20
+ `/feature:dev {description}` or `/feature:dev` (interactive)
18
21
 
19
22
  ## When to use
20
23
 
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: feature-explore
2
+ name: feature:explore
3
+ cluster: feature
4
+ sub: explore
3
5
  skills: [laravel]
4
6
  description: Brainstorm and explore a feature idea before committing to a full plan
5
7
  disable-model-invocation: true
@@ -9,8 +11,7 @@ suggestion:
9
11
  trigger_context: "open-ended feature idea without acceptance criteria"
10
12
  ---
11
13
 
12
- # feature-explore
13
-
14
+ # /feature explore
14
15
  ## Instructions
15
16
 
16
17
  This is a **lightweight, conversational** exploration — no structured output yet.
@@ -181,4 +182,4 @@ What's next?
181
182
 
182
183
  ## See also
183
184
 
184
- - [`role-contracts`](../guidelines/agent-infra/role-contracts.md#po) — PO mode output contract (Goal / Assumptions / Acceptance criteria / Impacted modules / Risks / Open questions for stakeholder)
185
+ - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#po) — PO mode output contract (Goal / Assumptions / Acceptance criteria / Impacted modules / Risks / Open questions for stakeholder)
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: feature-plan
2
+ name: feature:plan
3
+ cluster: feature
4
+ sub: plan
3
5
  skills: [feature-planning]
4
6
  description: Interactively plan a feature — research, discuss, and create a structured feature document
5
7
  disable-model-invocation: true
@@ -9,8 +11,7 @@ suggestion:
9
11
  trigger_context: "feature idea referenced and no plan doc exists"
10
12
  ---
11
13
 
12
- # feature-plan
13
-
14
+ # /feature plan
14
15
  ## Instructions
15
16
 
16
17
  ### 1. Gather the idea
@@ -111,7 +112,7 @@ Before asking detailed questions, **proactively research**:
111
112
  `status: active` is a binding constraint — propose structure that
112
113
  respects it. If the feature needs to contradict an ADR, surface that
113
114
  as a decision for the user before drafting the plan. See
114
- [`engineering-memory-data-format`](../guidelines/agent-infra/engineering-memory-data-format.md).
115
+ [`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md).
115
116
 
116
117
  **Share key findings with the user** — this informs the discussion:
117
118
 
@@ -208,6 +209,32 @@ Mir sind noch ein paar offene Fragen aufgefallen:
208
209
  Hast du dazu schon eine Meinung?
209
210
  ```
210
211
 
212
+ ### 5d. Offer council idea-validation (B4 hook)
213
+
214
+ Once the conversation has converged on a problem statement, proposal,
215
+ and rough scope (rounds 1–4), but **before** step 6 writes the file,
216
+ ask (in the user's language):
217
+
218
+ > 1. Run the council on this idea before writing the plan? (billable)
219
+ > 2. Skip — write the plan now
220
+
221
+ Suppress when `personal.autonomy: on` (council is billable).
222
+
223
+ If picked **1**:
224
+
225
+ - Build a short prompt: the problem, the proposal, the scope, the
226
+ open questions from round 4. **Do not** include the agent's
227
+ framing or recommendations — neutrality preamble is mandatory.
228
+ - Run `/council prompt:"<assembled prompt>"` with `original_ask` set
229
+ to the feature title from step 1.
230
+ - Surface convergent + divergent points back to the user. **Do not**
231
+ rewrite the proposal autonomously; let the user decide which
232
+ council points to fold in.
233
+ - After the user has reviewed, return to step 6 with the (possibly
234
+ updated) proposal.
235
+
236
+ If picked **2** → continue.
237
+
211
238
  ### 6. Create the feature document
212
239
 
213
240
  - Read `.augment/templates/features.md` for the structure.
@@ -287,6 +314,6 @@ What's next?
287
314
 
288
315
  ## See also
289
316
 
290
- - [`role-contracts`](../guidelines/agent-infra/role-contracts.md#po) — PO mode output contract (Goal / Assumptions / Acceptance criteria / Impacted modules / Risks / Open questions for stakeholder)
317
+ - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#po) — PO mode output contract (Goal / Assumptions / Acceptance criteria / Impacted modules / Risks / Open questions for stakeholder)
291
318
  - [`refine-ticket`](refine-ticket.md) — optional upstream step: run first when the input is a Jira/Linear ticket rather than a fresh idea
292
319
  - [`estimate-ticket`](estimate-ticket.md) — sibling of `refine-ticket`; size + risk + split recommendation for an already-refined ticket
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: feature-refactor
2
+ name: feature:refactor
3
+ cluster: feature
4
+ sub: refactor
3
5
  skills: [laravel, php-coder]
4
6
  description: Refine and update an existing feature plan through interactive discussion
5
7
  disable-model-invocation: true
@@ -9,8 +11,7 @@ suggestion:
9
11
  trigger_context: "existing agents/features/*.md referenced in the prompt"
10
12
  ---
11
13
 
12
- # feature-refactor
13
-
14
+ # /feature refactor
14
15
  ## Instructions
15
16
 
16
17
  ### 1. Find the feature
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: feature-roadmap
2
+ name: feature:roadmap
3
+ cluster: feature
4
+ sub: roadmap
3
5
  skills: [agent-docs-writing]
4
6
  description: Generate implementation roadmap(s) from a feature plan and link them
5
7
  disable-model-invocation: true
@@ -9,8 +11,7 @@ suggestion:
9
11
  trigger_context: "existing feature plan without linked roadmap"
10
12
  ---
11
13
 
12
- # feature-roadmap
13
-
14
+ # /feature roadmap
14
15
  ## Instructions
15
16
 
16
17
  ### 1. Find the feature
@@ -42,7 +43,7 @@ Stop.
42
43
  ### 2. Analyze the feature
43
44
 
44
45
  - Read the feature file completely.
45
- - Read `agents/roadmaps/template.md` for the roadmap structure.
46
+ - Read the roadmap template at `.augment/templates/roadmaps.md` for the structure.
46
47
  - Research the codebase for affected areas mentioned in the feature.
47
48
 
48
49
  Determine how many roadmaps are needed:
@@ -180,11 +181,11 @@ What's next?
180
181
  requested them. See [`commit-policy`](../rules/commit-policy.md#never-write-commit-steps-into-roadmaps-unsolicited).
181
182
  - **Do NOT modify the feature plan** beyond updating the Roadmaps section and status.
182
183
  - **Always link roadmaps back to the feature** and vice versa.
183
- - **Use the roadmap template** from `agents/roadmaps/template.md`.
184
+ - **Use the roadmap template** at `.augment/templates/roadmaps.md`.
184
185
  - **Reference specific files** in roadmap tasks — not vague descriptions.
185
186
  - **Include quality gates** (PHPStan, Rector, tests) in every phase.
186
187
  - **Research the codebase** to make tasks concrete and realistic.
187
188
 
188
189
  ## See also
189
190
 
190
- - [`role-contracts`](../guidelines/agent-infra/role-contracts.md#planner) — Planner mode output contract (Goal / Constraints / Option set / Recommendation / Dependencies / Rollback)
191
+ - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#planner) — Planner mode output contract (Goal / Constraints / Option set / Recommendation / Dependencies / Rollback)
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: feature
3
+ description: Feature orchestrator — routes to explore, plan, refactor, roadmap, dev
4
+ cluster: feature
5
+ disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "explore feature idea, plan a feature, refactor feature plan, roadmap a feature, full feature dev"
9
+ trigger_context: "user starting or iterating on a feature workflow"
10
+ ---
11
+
12
+ # /feature
13
+
14
+ Top-level orchestrator for the `/feature` family. Replaces 5 standalone
15
+ commands with a single entry point + sub-command dispatch.
16
+
17
+ ## Sub-commands
18
+
19
+ | Sub-command | Routes to | Purpose |
20
+ |---|---|---|
21
+ | `/feature explore` | `commands/feature/explore.md` | Brainstorm an idea before committing to a plan |
22
+ | `/feature plan` | `commands/feature/plan.md` | Interactively plan a feature, produce a structured plan doc |
23
+ | `/feature refactor` | `commands/feature/refactor.md` | Refine and update an existing feature plan |
24
+ | `/feature roadmap` | `commands/feature/roadmap.md` | Generate implementation roadmap(s) from a plan |
25
+ | `/feature dev` | `commands/feature/dev.md` | Full 7-phase feature development workflow (heavyweight) |
26
+
27
+ ## Workflow ordering
28
+
29
+ Typical sequence: `explore` → `plan` → `roadmap` → `dev` (or per-step
30
+ implementation). Use `refactor` whenever an existing plan needs an update.
31
+
32
+ ## Dispatch
33
+
34
+ 1. Parse the user's argument: `/feature <sub-command> [args]`.
35
+ 2. Look up the sub-command in the table above.
36
+ 3. Load the body of the corresponding `commands/feature/<sub>.md` file and
37
+ follow its `## Instructions` (or `## Steps`) section verbatim.
38
+ 4. If the sub-command is unknown or missing, print the menu and ask:
39
+
40
+ > 1. explore — brainstorm a feature idea
41
+ > 2. plan — produce a structured feature plan
42
+ > 3. refactor — update an existing feature plan
43
+ > 4. roadmap — generate roadmap(s) from a plan
44
+ > 5. dev — run the full 7-phase development workflow
45
+
46
+ ## Rules
47
+
48
+ - **Do NOT chain sub-commands.** One `/feature <sub>` per turn — except
49
+ the agent may suggest the next logical sub-command at the end of a step
50
+ (numbered options per `user-interaction`).
51
+ - If the user invokes `/feature` with no argument, **show the menu** — do
52
+ not guess which sub-command they meant.
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: fix-ci
2
+ name: fix:ci
3
+ cluster: fix
4
+ sub: ci
3
5
  skills: [github-ci, quality-tools]
4
6
  description: Fetch CI errors from GitHub Actions and fix them
5
7
  disable-model-invocation: true
@@ -9,8 +11,7 @@ suggestion:
9
11
  trigger_context: "open PR with failing checks"
10
12
  ---
11
13
 
12
- # fix-ci
13
-
14
+ # /fix ci
14
15
  ## Instructions
15
16
 
16
17
  ### 1. Identify the failing CI run
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: fix-portability
2
+ name: fix:portability
3
+ cluster: fix
4
+ sub: portability
3
5
  description: Find and fix project-specific references in shared .augment/ package files
4
6
  disable-model-invocation: true
5
7
  suggestion:
@@ -7,8 +9,7 @@ suggestion:
7
9
  rationale: "Package-internal — only the event4u/agent-config repo runs this."
8
10
  ---
9
11
 
10
- # fix-portability
11
-
12
+ # /fix portability
12
13
  ## Instructions
13
14
 
14
15
  ### 1. Run the portability checker
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: fix-pr-bot-comments
2
+ name: fix:pr-bots
3
+ cluster: fix
4
+ sub: pr-bots
3
5
  skills: [php-coder, quality-tools]
4
6
  description: Fix and reply to bot review comments (Copilot, Augment, Greptile, etc.) on a GitHub PR
5
7
  disable-model-invocation: true
@@ -9,8 +11,7 @@ suggestion:
9
11
  trigger_context: "open PR with bot review comments unresolved"
10
12
  ---
11
13
 
12
- # fix-pr-bot-comments
13
-
14
+ # /fix pr-bots
14
15
  ## Input
15
16
 
16
17
  The user may or may not provide a PR URL.
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: fix-pr-developer-comments
2
+ name: fix:pr-developers
3
+ cluster: fix
4
+ sub: pr-developers
3
5
  skills: [php-coder]
4
6
  description: Fix and reply to human reviewer comments on a GitHub PR
5
7
  disable-model-invocation: true
@@ -9,8 +11,7 @@ suggestion:
9
11
  trigger_context: "open PR with unresolved human-reviewer comments"
10
12
  ---
11
13
 
12
- # fix-pr-developer-comments
13
-
14
+ # /fix pr-developers
14
15
  ## Input
15
16
 
16
17
  The user may or may not provide a PR URL.
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: fix-pr-comments
2
+ name: fix:pr
3
+ cluster: fix
4
+ sub: pr
3
5
  skills: [php-coder]
4
6
  description: Fix and reply to all open review comments (bots + human reviewers) on a GitHub PR
5
7
  disable-model-invocation: true
@@ -9,9 +11,8 @@ suggestion:
9
11
  trigger_context: "open PR with unresolved comments (bot + human)"
10
12
  ---
11
13
 
12
- # fix-pr-comments
13
-
14
- This command runs `fix-pr-bot-comments` and `fix-pr-developer-comments` in sequence on the same PR.
14
+ # /fix pr
15
+ This command runs `/fix pr-bots` and `/fix pr-developers` in sequence on the same PR.
15
16
 
16
17
  ## Input
17
18
 
@@ -44,14 +45,14 @@ The chosen mode applies to **both** phases.
44
45
 
45
46
  ### Phase 1: Bot comments
46
47
 
47
- Follow the full `fix-pr-bot-comments` instructions (see `.augment/commands/fix-pr-bot-comments.md`).
48
+ Follow the full `/fix pr-bots` instructions (see `commands/fix/pr-bots.md`).
48
49
  Use the already-confirmed PR and mode — do not ask again.
49
50
 
50
51
  Report when done: "Bot comments done. Continuing with reviewer comments..."
51
52
 
52
53
  ### Phase 2: Developer comments
53
54
 
54
- Follow the full `fix-pr-developer-comments` instructions (see `.augment/commands/fix-pr-developer-comments.md`).
55
+ Follow the full `/fix pr-developers` instructions (see `commands/fix/pr-developers.md`).
55
56
  Use the same PR and mode.
56
57
 
57
58
  ### After both phases
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: fix-references
2
+ name: fix:refs
3
+ cluster: fix
4
+ sub: refs
3
5
  description: Find and fix broken cross-references in .augment/ and agents/ files
4
6
  disable-model-invocation: true
5
7
  suggestion:
@@ -7,8 +9,7 @@ suggestion:
7
9
  rationale: "Package-internal — only the event4u/agent-config repo runs this."
8
10
  ---
9
11
 
10
- # fix-references
11
-
12
+ # /fix refs
12
13
  ## Instructions
13
14
 
14
15
  ### 1. Run the reference checker
@@ -1,5 +1,7 @@
1
1
  ---
2
- name: fix-seeder
2
+ name: fix:seeder
3
+ cluster: fix
4
+ sub: seeder
3
5
  skills: [eloquent]
4
6
  description: Scan seeder data files for broken foreign key references — find constants used without getReference() and fix them
5
7
  disable-model-invocation: true
@@ -9,8 +11,7 @@ suggestion:
9
11
  trigger_context: "seeder error output or recent edits in database/seeders/"
10
12
  ---
11
13
 
12
- # fix-seeder
13
-
14
+ # /fix seeder
14
15
  Scans all `PhpDataSeeder` data files for foreign key references that use raw seeder constants
15
16
  instead of `getReference()`. Raw constants don't trigger lazy initialization of the referenced
16
17
  seeder, causing "items not available" errors when seeders run in unpredictable order.
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: fix
3
+ description: Fix orchestrator — routes to ci, references, portability, seeder, pr-comments, pr-bot-comments, pr-developer-comments
4
+ cluster: fix
5
+ disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "fix CI, fix references, fix the broken seeder, fix PR comments, address bot review"
9
+ trigger_context: "user wants to fix something that has a dedicated sub-command"
10
+ ---
11
+
12
+ # /fix
13
+
14
+ Top-level orchestrator for the `/fix` family. Replaces 7 standalone commands
15
+ with a single entry point + sub-command dispatch.
16
+
17
+ ## Sub-commands
18
+
19
+ | Sub-command | Routes to | Purpose |
20
+ |---|---|---|
21
+ | `/fix ci` | `commands/fix/ci.md` | Fetch CI errors from GitHub Actions and fix them |
22
+ | `/fix refs` | `commands/fix/refs.md` | Find and fix broken cross-references in `.augment/` and `agents/` |
23
+ | `/fix portability` | `commands/fix/portability.md` | Find and fix project-specific references in shared `.augment/` files |
24
+ | `/fix seeder` | `commands/fix/seeder.md` | Scan seeder data files for broken FK references |
25
+ | `/fix pr` | `commands/fix/pr.md` | Fix and reply to **all** open review comments (bots + humans) |
26
+ | `/fix pr-bots` | `commands/fix/pr-bots.md` | Fix and reply to **bot** review comments only |
27
+ | `/fix pr-developers` | `commands/fix/pr-developers.md` | Fix and reply to **human** reviewer comments only |
28
+
29
+ Sub-command names match the locked contract in
30
+ [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
31
+
32
+ ## Dispatch
33
+
34
+ 1. Parse the user's argument: `/fix <sub-command> [args]`.
35
+ 2. Look up the sub-command in the table above.
36
+ 3. Load the body of the routed file and follow its `## Instructions` section
37
+ verbatim with the remaining args.
38
+ 4. If the sub-command is unknown or missing, print the table above and ask:
39
+
40
+ > 1. ci — fetch and fix GitHub Actions errors
41
+ > 2. refs — fix broken cross-refs in agent docs
42
+ > 3. portability — purge project-specific refs from shared package
43
+ > 4. seeder — scan seeders for broken FK references
44
+ > 5. pr — address all open review comments
45
+ > 6. pr-bots — address bot reviewer comments only
46
+ > 7. pr-developers — address human reviewer comments only
47
+
48
+ ## Rules
49
+
50
+ - **Do NOT commit, push, or open a PR** unless the sub-command explicitly
51
+ authorizes it. Sub-command rules override these defaults only when stated.
52
+ - **Do NOT chain sub-commands.** One `/fix <sub>` per turn.
53
+ - If the user invokes `/fix` with no argument, **show the menu** — do not
54
+ guess which sub-command they meant.
@@ -72,4 +72,4 @@ suggestion:
72
72
 
73
73
  ## See also
74
74
 
75
- - [`role-contracts`](../guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
75
+ - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
@@ -1,6 +1,8 @@
1
1
  ---
2
- name: do-and-judge
3
- skills: [subagent-orchestration, verify-before-complete]
2
+ name: judge:on-diff
3
+ cluster: judge
4
+ sub: on-diff
5
+ skills: [subagent-orchestration, verify-completion-evidence]
4
6
  description: Run a single change through an implementer→judge loop with a two-revision ceiling, then hand back to the user
5
7
  disable-model-invocation: true
6
8
  suggestion:
@@ -8,8 +10,7 @@ suggestion:
8
10
  rationale: "Subagent orchestration — overlaps /work and judge skills; keep explicit."
9
11
  ---
10
12
 
11
- # do-and-judge
12
-
13
+ # /judge on-diff
13
14
  ## Instructions
14
15
 
15
16
  ### 1. Confirm scope
@@ -90,7 +91,7 @@ Next step: <commit / open PR / abandon>
90
91
  - No apply without the judge's `apply` verdict
91
92
  - No silent model fallback — unknown alias = stop and ask
92
93
  - No more than two revisions without user consent
93
- - No skipping of `verify-before-complete` on the final apply
94
+ - No skipping of `verify-completion-evidence` on the final apply
94
95
 
95
96
  ## When to stop and ask
96
97
 
@@ -113,5 +114,5 @@ weaker verdicts.
113
114
  ## See also
114
115
 
115
116
  - [`subagent-orchestration`](../skills/subagent-orchestration/SKILL.md)
116
- - [`verify-before-complete`](../skills/verify-before-complete/SKILL.md)
117
+ - [`verify-completion-evidence`](../skills/verify-completion-evidence/SKILL.md)
117
118
  - [`subagent-configuration`](../contexts/subagent-configuration.md)