@event4u/agent-config 1.13.0 → 1.15.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 (291) hide show
  1. package/.agent-src/commands/agent-handoff.md +4 -1
  2. package/.agent-src/commands/agent-status.md +3 -0
  3. package/.agent-src/commands/agents-audit.md +4 -0
  4. package/.agent-src/commands/agents-cleanup.md +6 -1
  5. package/.agent-src/commands/agents-prepare.md +3 -0
  6. package/.agent-src/commands/analyze-reference-repo.md +4 -0
  7. package/.agent-src/commands/bug-fix.md +7 -3
  8. package/.agent-src/commands/bug-investigate.md +4 -0
  9. package/.agent-src/commands/chat-history-checkpoint.md +126 -0
  10. package/.agent-src/commands/chat-history-clear.md +6 -1
  11. package/.agent-src/commands/chat-history-resume.md +7 -2
  12. package/.agent-src/commands/chat-history.md +7 -2
  13. package/.agent-src/commands/check-current-md.md +137 -0
  14. package/.agent-src/commands/commit-in-chunks.md +118 -0
  15. package/.agent-src/commands/commit.md +4 -0
  16. package/.agent-src/commands/compress.md +37 -2
  17. package/.agent-src/commands/context-create.md +4 -0
  18. package/.agent-src/commands/context-refactor.md +4 -0
  19. package/.agent-src/commands/copilot-agents-init.md +3 -0
  20. package/.agent-src/commands/copilot-agents-optimize.md +3 -0
  21. package/.agent-src/commands/create-pr-description.md +4 -0
  22. package/.agent-src/commands/create-pr.md +4 -0
  23. package/.agent-src/commands/do-and-judge.md +4 -1
  24. package/.agent-src/commands/do-in-steps.md +3 -0
  25. package/.agent-src/commands/e2e-heal.md +4 -0
  26. package/.agent-src/commands/e2e-plan.md +4 -0
  27. package/.agent-src/commands/estimate-ticket.md +4 -1
  28. package/.agent-src/commands/feature-dev.md +4 -0
  29. package/.agent-src/commands/feature-explore.md +4 -0
  30. package/.agent-src/commands/feature-plan.md +4 -0
  31. package/.agent-src/commands/feature-refactor.md +4 -0
  32. package/.agent-src/commands/feature-roadmap.md +6 -0
  33. package/.agent-src/commands/fix-ci.md +4 -0
  34. package/.agent-src/commands/fix-portability.md +5 -2
  35. package/.agent-src/commands/fix-pr-bot-comments.md +4 -0
  36. package/.agent-src/commands/fix-pr-comments.md +4 -0
  37. package/.agent-src/commands/fix-pr-developer-comments.md +4 -0
  38. package/.agent-src/commands/fix-references.md +3 -0
  39. package/.agent-src/commands/fix-seeder.md +4 -0
  40. package/.agent-src/commands/implement-ticket.md +39 -13
  41. package/.agent-src/commands/jira-ticket.md +4 -0
  42. package/.agent-src/commands/judge.md +3 -0
  43. package/.agent-src/commands/memory-add.md +5 -3
  44. package/.agent-src/commands/memory-full.md +5 -2
  45. package/.agent-src/commands/memory-promote.md +7 -6
  46. package/.agent-src/commands/mode.md +3 -0
  47. package/.agent-src/commands/module-create.md +4 -0
  48. package/.agent-src/commands/module-explore.md +4 -0
  49. package/.agent-src/commands/onboard.md +33 -0
  50. package/.agent-src/commands/optimize-agents.md +4 -0
  51. package/.agent-src/commands/optimize-augmentignore.md +12 -0
  52. package/.agent-src/commands/optimize-rtk-filters.md +3 -0
  53. package/.agent-src/commands/optimize-skills.md +4 -0
  54. package/.agent-src/commands/override-create.md +4 -0
  55. package/.agent-src/commands/override-manage.md +4 -0
  56. package/.agent-src/commands/package-reset.md +3 -0
  57. package/.agent-src/commands/package-test.md +3 -0
  58. package/.agent-src/commands/prepare-for-review.md +4 -0
  59. package/.agent-src/commands/project-analyze.md +4 -0
  60. package/.agent-src/commands/project-health.md +4 -0
  61. package/.agent-src/commands/propose-memory.md +6 -8
  62. package/.agent-src/commands/quality-fix.md +4 -0
  63. package/.agent-src/commands/refine-ticket.md +12 -7
  64. package/.agent-src/commands/review-changes.md +39 -8
  65. package/.agent-src/commands/review-routing.md +4 -0
  66. package/.agent-src/commands/roadmap-create.md +18 -0
  67. package/.agent-src/commands/roadmap-execute.md +14 -1
  68. package/.agent-src/commands/rule-compliance-audit.md +4 -0
  69. package/.agent-src/commands/set-cost-profile.md +11 -0
  70. package/.agent-src/commands/sync-agent-settings.md +12 -0
  71. package/.agent-src/commands/sync-gitignore.md +3 -0
  72. package/.agent-src/commands/tests-create.md +4 -0
  73. package/.agent-src/commands/tests-execute.md +6 -3
  74. package/.agent-src/commands/threat-model.md +4 -0
  75. package/.agent-src/commands/update-form-request-messages.md +4 -0
  76. package/.agent-src/commands/upstream-contribute.md +4 -0
  77. package/.agent-src/commands/work.md +161 -0
  78. package/.agent-src/guidelines/agent-infra/engineering-memory-data-format.md +2 -6
  79. package/.agent-src/guidelines/agent-infra/layered-settings.md +0 -1
  80. package/.agent-src/guidelines/agent-infra/memory-access.md +0 -7
  81. package/.agent-src/guidelines/agent-infra/role-contracts.md +2 -4
  82. package/.agent-src/guidelines/agent-infra/self-improvement-pipeline.md +0 -1
  83. package/.agent-src/guidelines/php/patterns/strategy.md +180 -2
  84. package/.agent-src/personas/README.md +0 -1
  85. package/.agent-src/rules/artifact-drafting-protocol.md +7 -2
  86. package/.agent-src/rules/artifact-engagement-recording.md +133 -0
  87. package/.agent-src/rules/ask-when-uncertain.md +18 -13
  88. package/.agent-src/rules/augment-portability.md +64 -37
  89. package/.agent-src/rules/autonomous-execution.md +158 -0
  90. package/.agent-src/rules/chat-history-cadence.md +109 -0
  91. package/.agent-src/rules/chat-history-ownership.md +123 -0
  92. package/.agent-src/rules/chat-history-visibility.md +96 -0
  93. package/.agent-src/rules/cli-output-handling.md +27 -4
  94. package/.agent-src/rules/command-suggestion.md +134 -0
  95. package/.agent-src/rules/commit-policy.md +109 -0
  96. package/.agent-src/rules/direct-answers.md +114 -0
  97. package/.agent-src/rules/docs-sync.md +36 -0
  98. package/.agent-src/rules/downstream-changes.md +10 -9
  99. package/.agent-src/rules/improve-before-implement.md +9 -6
  100. package/.agent-src/rules/language-and-tone.md +85 -6
  101. package/.agent-src/rules/non-destructive-by-default.md +117 -0
  102. package/.agent-src/rules/package-ci-checks.md +4 -0
  103. package/.agent-src/rules/preservation-guard.md +20 -0
  104. package/.agent-src/rules/roadmap-progress-sync.md +159 -27
  105. package/.agent-src/rules/role-mode-adherence.md +1 -1
  106. package/.agent-src/rules/scope-control.md +42 -1
  107. package/.agent-src/rules/size-enforcement.md +2 -3
  108. package/.agent-src/rules/skill-quality.md +3 -8
  109. package/.agent-src/rules/ui-audit-before-build.md +106 -0
  110. package/.agent-src/rules/user-interaction.md +107 -51
  111. package/.agent-src/scripts/update_roadmap_progress.py +73 -9
  112. package/.agent-src/skills/blade-ui/SKILL.md +47 -3
  113. package/.agent-src/skills/command-routing/SKILL.md +32 -0
  114. package/.agent-src/skills/command-writing/SKILL.md +52 -2
  115. package/.agent-src/skills/description-assist/SKILL.md +21 -0
  116. package/.agent-src/skills/estimate-ticket/SKILL.md +0 -1
  117. package/.agent-src/skills/existing-ui-audit/SKILL.md +202 -0
  118. package/.agent-src/skills/fe-design/SKILL.md +78 -61
  119. package/.agent-src/skills/file-editor/SKILL.md +9 -0
  120. package/.agent-src/skills/finishing-a-development-branch/SKILL.md +4 -0
  121. package/.agent-src/skills/flux/SKILL.md +31 -4
  122. package/.agent-src/skills/guideline-writing/SKILL.md +24 -2
  123. package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +51 -9
  124. package/.agent-src/skills/livewire/SKILL.md +49 -4
  125. package/.agent-src/skills/md-language-check/SKILL.md +103 -0
  126. package/.agent-src/skills/php-coder/SKILL.md +24 -0
  127. package/.agent-src/skills/react-shadcn-ui/SKILL.md +121 -0
  128. package/.agent-src/skills/refine-prompt/SKILL.md +220 -0
  129. package/.agent-src/skills/refine-ticket/SKILL.md +32 -28
  130. package/.agent-src/skills/roadmap-management/SKILL.md +24 -11
  131. package/.agent-src/skills/rule-writing/SKILL.md +23 -1
  132. package/.agent-src/skills/skill-writing/SKILL.md +3 -5
  133. package/.agent-src/skills/upstream-contribute/SKILL.md +3 -3
  134. package/.agent-src/skills/using-git-worktrees/SKILL.md +3 -1
  135. package/.agent-src/templates/AGENTS.md +24 -6
  136. package/.agent-src/templates/agent-settings.md +149 -0
  137. package/.agent-src/templates/roadmaps.md +11 -4
  138. package/.agent-src/templates/scripts/implement_ticket/__init__.py +63 -26
  139. package/.agent-src/templates/scripts/implement_ticket/__main__.py +8 -2
  140. package/.agent-src/templates/scripts/memory_lookup.py +1 -1
  141. package/.agent-src/templates/scripts/telemetry/__init__.py +42 -0
  142. package/.agent-src/templates/scripts/telemetry/aggregator.py +154 -0
  143. package/.agent-src/templates/scripts/telemetry/boundary.py +171 -0
  144. package/.agent-src/templates/scripts/telemetry/engagement.py +238 -0
  145. package/.agent-src/templates/scripts/telemetry/report_renderer.py +170 -0
  146. package/.agent-src/templates/scripts/telemetry/settings.py +112 -0
  147. package/.agent-src/templates/scripts/telemetry_record.py +166 -0
  148. package/.agent-src/templates/scripts/telemetry_report.py +161 -0
  149. package/.agent-src/templates/scripts/telemetry_status.py +142 -0
  150. package/.agent-src/templates/scripts/work_engine/__init__.py +58 -0
  151. package/.agent-src/templates/scripts/work_engine/__main__.py +9 -0
  152. package/.agent-src/templates/scripts/work_engine/cli.py +195 -0
  153. package/.agent-src/templates/scripts/work_engine/cli_args.py +116 -0
  154. package/.agent-src/templates/scripts/{implement_ticket → work_engine}/delivery_state.py +10 -3
  155. package/.agent-src/templates/scripts/work_engine/directives/__init__.py +33 -0
  156. package/.agent-src/templates/scripts/work_engine/directives/backend/__init__.py +98 -0
  157. package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/analyze.py +1 -1
  158. package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/implement.py +3 -3
  159. package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/memory.py +2 -2
  160. package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/plan.py +2 -2
  161. package/.agent-src/templates/scripts/work_engine/directives/backend/refine.py +396 -0
  162. package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/report.py +37 -5
  163. package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/test.py +2 -2
  164. package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/verify.py +2 -2
  165. package/.agent-src/templates/scripts/work_engine/directives/mixed/__init__.py +116 -0
  166. package/.agent-src/templates/scripts/work_engine/directives/mixed/contract.py +254 -0
  167. package/.agent-src/templates/scripts/work_engine/directives/mixed/stitch.py +229 -0
  168. package/.agent-src/templates/scripts/work_engine/directives/mixed/ui.py +231 -0
  169. package/.agent-src/templates/scripts/work_engine/directives/ui/__init__.py +113 -0
  170. package/.agent-src/templates/scripts/work_engine/directives/ui/_passthrough.py +44 -0
  171. package/.agent-src/templates/scripts/work_engine/directives/ui/apply.py +241 -0
  172. package/.agent-src/templates/scripts/work_engine/directives/ui/audit.py +414 -0
  173. package/.agent-src/templates/scripts/work_engine/directives/ui/design.py +335 -0
  174. package/.agent-src/templates/scripts/work_engine/directives/ui/polish.py +510 -0
  175. package/.agent-src/templates/scripts/work_engine/directives/ui/review.py +468 -0
  176. package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/__init__.py +119 -0
  177. package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/_skipped.py +37 -0
  178. package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/apply.py +165 -0
  179. package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/refine.py +66 -0
  180. package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/report.py +62 -0
  181. package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/test.py +115 -0
  182. package/.agent-src/templates/scripts/work_engine/dispatcher.py +331 -0
  183. package/.agent-src/templates/scripts/work_engine/emitters.py +43 -0
  184. package/.agent-src/templates/scripts/work_engine/errors.py +19 -0
  185. package/.agent-src/templates/scripts/work_engine/hook_bootstrap.py +76 -0
  186. package/.agent-src/templates/scripts/work_engine/hooks/__init__.py +54 -0
  187. package/.agent-src/templates/scripts/work_engine/hooks/builtin/__init__.py +32 -0
  188. package/.agent-src/templates/scripts/work_engine/hooks/builtin/_chat_history_base.py +103 -0
  189. package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_append.py +44 -0
  190. package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_halt_append.py +42 -0
  191. package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_heartbeat.py +50 -0
  192. package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_turn_check.py +49 -0
  193. package/.agent-src/templates/scripts/work_engine/hooks/builtin/directive_set_guard.py +53 -0
  194. package/.agent-src/templates/scripts/work_engine/hooks/builtin/halt_surface_audit.py +50 -0
  195. package/.agent-src/templates/scripts/work_engine/hooks/builtin/state_shape_validation.py +52 -0
  196. package/.agent-src/templates/scripts/work_engine/hooks/builtin/trace.py +84 -0
  197. package/.agent-src/templates/scripts/work_engine/hooks/context.py +66 -0
  198. package/.agent-src/templates/scripts/work_engine/hooks/events.py +44 -0
  199. package/.agent-src/templates/scripts/work_engine/hooks/exceptions.py +79 -0
  200. package/.agent-src/templates/scripts/work_engine/hooks/registry.py +60 -0
  201. package/.agent-src/templates/scripts/work_engine/hooks/runner.py +73 -0
  202. package/.agent-src/templates/scripts/work_engine/hooks/settings.py +141 -0
  203. package/.agent-src/templates/scripts/work_engine/input_builders.py +163 -0
  204. package/.agent-src/templates/scripts/work_engine/intent/__init__.py +47 -0
  205. package/.agent-src/templates/scripts/work_engine/intent/classify.py +280 -0
  206. package/.agent-src/templates/scripts/work_engine/migration/__init__.py +8 -0
  207. package/.agent-src/templates/scripts/work_engine/migration/v0_to_v1.py +231 -0
  208. package/.agent-src/templates/scripts/{implement_ticket → work_engine}/persona_policy.py +1 -1
  209. package/.agent-src/templates/scripts/work_engine/resolvers/__init__.py +22 -0
  210. package/.agent-src/templates/scripts/work_engine/resolvers/diff.py +106 -0
  211. package/.agent-src/templates/scripts/work_engine/resolvers/file.py +113 -0
  212. package/.agent-src/templates/scripts/work_engine/resolvers/prompt.py +90 -0
  213. package/.agent-src/templates/scripts/work_engine/scoring/__init__.py +14 -0
  214. package/.agent-src/templates/scripts/work_engine/scoring/confidence.py +300 -0
  215. package/.agent-src/templates/scripts/work_engine/stack/__init__.py +31 -0
  216. package/.agent-src/templates/scripts/work_engine/stack/detect.py +187 -0
  217. package/.agent-src/templates/scripts/work_engine/state.py +641 -0
  218. package/.agent-src/templates/scripts/work_engine/state_io.py +202 -0
  219. package/.claude-plugin/marketplace.json +105 -2
  220. package/AGENTS.md +38 -8
  221. package/CHANGELOG.md +609 -0
  222. package/README.md +136 -14
  223. package/config/agent-settings.template.yml +45 -0
  224. package/config/gitignore-block.txt +4 -0
  225. package/docs/MIGRATION.md +122 -0
  226. package/docs/architecture.md +111 -35
  227. package/docs/contracts/STABILITY.md +95 -0
  228. package/docs/contracts/adr-chat-history-split.md +132 -0
  229. package/docs/contracts/adr-command-suggestion.md +146 -0
  230. package/docs/contracts/adr-implement-ticket-runtime.md +122 -0
  231. package/docs/contracts/adr-product-ui-track.md +384 -0
  232. package/docs/contracts/adr-prompt-driven-execution.md +187 -0
  233. package/docs/contracts/agent-memory-contract.md +149 -0
  234. package/docs/contracts/artifact-engagement-flow.md +262 -0
  235. package/docs/contracts/command-clusters.md +126 -0
  236. package/docs/contracts/command-suggestion-flow.md +148 -0
  237. package/docs/contracts/implement-ticket-flow.md +628 -0
  238. package/docs/contracts/linear-ai-rules-inclusion.md +143 -0
  239. package/docs/contracts/linear-ai-three-layers.md +131 -0
  240. package/docs/contracts/rule-interactions.md +107 -0
  241. package/docs/contracts/rule-interactions.yml +142 -0
  242. package/docs/contracts/ui-stack-extension.md +236 -0
  243. package/docs/contracts/ui-track-flow.md +338 -0
  244. package/docs/development.md +1 -1
  245. package/docs/getting-started.md +3 -3
  246. package/docs/installation.md +124 -2
  247. package/docs/migrations/commands-1.15.0.md +112 -0
  248. package/docs/showcase.md +204 -0
  249. package/docs/ui-track-mental-model.md +121 -0
  250. package/package.json +1 -1
  251. package/scripts/agent-config +199 -0
  252. package/scripts/audit_cloud_compatibility.py +288 -0
  253. package/scripts/build_cloud_bundle.py +458 -0
  254. package/scripts/build_linear_digest.py +263 -0
  255. package/scripts/chat_history.py +796 -7
  256. package/scripts/check_compression.py +139 -0
  257. package/scripts/check_iron_law_prominence.py +143 -0
  258. package/scripts/check_md_language.py +159 -0
  259. package/scripts/check_portability.py +38 -0
  260. package/scripts/check_public_links.py +185 -0
  261. package/scripts/check_references.py +1 -0
  262. package/scripts/check_reply_consistency.py +140 -0
  263. package/scripts/command_suggester/__init__.py +51 -0
  264. package/scripts/command_suggester/cooldown.py +132 -0
  265. package/scripts/command_suggester/loader.py +70 -0
  266. package/scripts/command_suggester/match.py +180 -0
  267. package/scripts/command_suggester/rank.py +120 -0
  268. package/scripts/command_suggester/render.py +86 -0
  269. package/scripts/command_suggester/sanitize.py +113 -0
  270. package/scripts/command_suggester/settings.py +125 -0
  271. package/scripts/command_suggester/types.py +78 -0
  272. package/scripts/hooks/augment-chat-history.sh +56 -0
  273. package/scripts/install-hooks.sh +67 -0
  274. package/scripts/install.py +150 -33
  275. package/scripts/lint_marketplace.py +27 -0
  276. package/scripts/lint_no_new_atomic_commands.py +179 -0
  277. package/scripts/lint_rule_interactions.py +149 -0
  278. package/scripts/memory_lookup.py +1 -1
  279. package/scripts/migrate_command_suggestions.py +151 -0
  280. package/scripts/release.py +297 -64
  281. package/scripts/schemas/command.schema.json +41 -0
  282. package/scripts/skill_linter.py +81 -0
  283. package/scripts/sync_agent_settings.py +42 -12
  284. package/scripts/update_counts.py +10 -0
  285. package/templates/consumer-settings/augment-cli-hooks.json +54 -0
  286. package/templates/consumer-settings/claude-settings.json +55 -1
  287. package/.agent-src/rules/chat-history.md +0 -171
  288. package/.agent-src/templates/scripts/implement_ticket/cli.py +0 -171
  289. package/.agent-src/templates/scripts/implement_ticket/dispatcher.py +0 -134
  290. package/.agent-src/templates/scripts/implement_ticket/steps/__init__.py +0 -49
  291. package/.agent-src/templates/scripts/implement_ticket/steps/refine.py +0 -140
@@ -3,6 +3,10 @@ name: context-create
3
3
  skills: [agent-docs-writing]
4
4
  description: Analyze a codebase area and create a structured context document
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "document this part of the codebase, create a context doc for X"
9
+ trigger_context: "working in a module without an agents/contexts/ doc"
6
10
  ---
7
11
 
8
12
  # context-create
@@ -3,6 +3,10 @@ name: context-refactor
3
3
  skills: [agent-docs-writing]
4
4
  description: Analyze, update, and extend an existing context document
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "update the context doc, refresh this context document"
9
+ trigger_context: "existing agents/contexts/*.md referenced in the prompt"
6
10
  ---
7
11
 
8
12
  # context-refactor
@@ -3,6 +3,9 @@ name: copilot-agents-init
3
3
  description: Create AGENTS.md and .github/copilot-instructions.md from scratch in the consumer project — interactive, auto-detects stack, never leaks other projects' identifiers.
4
4
  skills: [copilot-config, copilot-agents-optimization, agent-docs-writing]
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: false
8
+ rationale: "Project init — only deliberately during onboarding."
6
9
  ---
7
10
 
8
11
  # /copilot-agents-init
@@ -3,6 +3,9 @@ name: copilot-agents-optimize
3
3
  description: Analyzes and refactors AGENTS.md and copilot-instructions.md — removes duplications, enforces line budgets, and ensures both files are optimized for their audience.
4
4
  skills: [copilot-agents-optimization, copilot-config, agent-docs-writing]
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: false
8
+ rationale: "Maintenance refactor; only when the maintainer chooses to run it."
6
9
  ---
7
10
 
8
11
  # /copilot-agents-optimize
@@ -3,6 +3,10 @@ name: create-pr-description
3
3
  skills: [git-workflow]
4
4
  description: Generate a PR description as a copyable markdown block — used standalone or by create-pr
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "write a PR description, draft the PR text"
9
+ trigger_context: "PR exists or branch ready for review without description"
6
10
  ---
7
11
 
8
12
  # create-pr-description
@@ -3,6 +3,10 @@ name: create-pr
3
3
  skills: [git-workflow]
4
4
  description: Create a GitHub PR with structured description from Jira ticket and code changes
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "open a PR, create a pull request, make a PR for this branch"
9
+ trigger_context: "branch is ahead of base and not yet on a PR"
6
10
  ---
7
11
 
8
12
  # create-pr
@@ -3,6 +3,9 @@ name: do-and-judge
3
3
  skills: [subagent-orchestration, verify-before-complete]
4
4
  description: Run a single change through an implementer→judge loop with a two-revision ceiling, then hand back to the user
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: false
8
+ rationale: "Subagent orchestration — overlaps /work and judge skills; keep explicit."
6
9
  ---
7
10
 
8
11
  # do-and-judge
@@ -59,7 +62,7 @@ same failure class on nearby paths during this session, that is a
59
62
  pattern worth recording. Drop a signal:
60
63
 
61
64
  ```bash
62
- python3 scripts/memory_signal.py \
65
+ ./agent-config memory:signal \
63
66
  --type historical-patterns \
64
67
  --path "<primary path under review>" \
65
68
  --body "<failure class → fix guidance, one sentence>" \
@@ -3,6 +3,9 @@ name: do-in-steps
3
3
  skills: [subagent-orchestration, verify-before-complete]
4
4
  description: Execute an ordered plan step by step with a judge gate between steps — stops on first failed verdict
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: false
8
+ rationale: "Subagent orchestration — overlaps /work and /roadmap-execute; keep explicit."
6
9
  ---
7
10
 
8
11
  # do-in-steps
@@ -3,6 +3,10 @@ name: e2e-heal
3
3
  skills: [playwright-testing]
4
4
  description: Find, debug, and fix failing Playwright E2E tests
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "fix the failing E2E tests, playwright tests are red"
9
+ trigger_context: "failing test output from tests/e2e/"
6
10
  ---
7
11
 
8
12
  # e2e-heal
@@ -3,6 +3,10 @@ name: e2e-plan
3
3
  skills: [playwright-testing]
4
4
  description: Explore the application and create a structured E2E test plan in Markdown
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "plan E2E tests for this feature, what should we cover in playwright"
9
+ trigger_context: "new feature or page added without tests/e2e/ coverage"
6
10
  ---
7
11
 
8
12
  # e2e-plan
@@ -3,6 +3,10 @@ name: estimate-ticket
3
3
  skills: [estimate-ticket]
4
4
  description: Estimate a Jira/Linear ticket before sprint planning — size + risk + split recommendation + uncertainty, sibling to /refine-ticket, ends with a close-prompt
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "how big is this ticket, estimate PROJ-123, should we split this"
9
+ trigger_context: "ticket key matching [A-Z]+-[0-9]+ in the prompt and no plan yet"
6
10
  ---
7
11
 
8
12
  # estimate-ticket
@@ -77,4 +81,3 @@ persona voices) plus the close-prompt. Stop there. Do **not** chain into
77
81
  - [`refine-ticket`](refine-ticket.md) — sibling; run first if the ticket is vague
78
82
  - [`jira-ticket`](jira-ticket.md) — ticket loader this command delegates to
79
83
  - [`feature-plan`](feature-plan.md) — downstream planning
80
- - [`road-to-ticket-refinement.md`](../../agents/roadmaps/road-to-ticket-refinement.md) — governing roadmap
@@ -3,6 +3,10 @@ name: feature-dev
3
3
  description: Full 7-phase feature development workflow for complex features.
4
4
  skills: [laravel, php-coder]
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "build this feature end-to-end, run the full feature workflow"
9
+ trigger_context: "long-form feature description spanning multiple components"
6
10
  ---
7
11
  # /feature-dev
8
12
 
@@ -3,6 +3,10 @@ name: feature-explore
3
3
  skills: [laravel]
4
4
  description: Brainstorm and explore a feature idea before committing to a full plan
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "brainstorm this idea, explore this feature concept"
9
+ trigger_context: "open-ended feature idea without acceptance criteria"
6
10
  ---
7
11
 
8
12
  # feature-explore
@@ -3,6 +3,10 @@ name: feature-plan
3
3
  skills: [feature-planning]
4
4
  description: Interactively plan a feature — research, discuss, and create a structured feature document
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "plan this feature, create a feature spec for X"
9
+ trigger_context: "feature idea referenced and no plan doc exists"
6
10
  ---
7
11
 
8
12
  # feature-plan
@@ -3,6 +3,10 @@ name: feature-refactor
3
3
  skills: [laravel, php-coder]
4
4
  description: Refine and update an existing feature plan through interactive discussion
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "update the feature plan, refine the feature spec"
9
+ trigger_context: "existing agents/features/*.md referenced in the prompt"
6
10
  ---
7
11
 
8
12
  # feature-refactor
@@ -3,6 +3,10 @@ name: feature-roadmap
3
3
  skills: [agent-docs-writing]
4
4
  description: Generate implementation roadmap(s) from a feature plan and link them
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "turn this feature into a roadmap, generate the implementation roadmap"
9
+ trigger_context: "existing feature plan without linked roadmap"
6
10
  ---
7
11
 
8
12
  # feature-roadmap
@@ -172,6 +176,8 @@ What's next?
172
176
  ### Rules
173
177
 
174
178
  - **Do NOT commit or push.**
179
+ - **Do NOT include commit steps in the roadmap** unless the user explicitly
180
+ requested them. See [`commit-policy`](../rules/commit-policy.md#never-write-commit-steps-into-roadmaps-unsolicited).
175
181
  - **Do NOT modify the feature plan** beyond updating the Roadmaps section and status.
176
182
  - **Always link roadmaps back to the feature** and vice versa.
177
183
  - **Use the roadmap template** from `agents/roadmaps/template.md`.
@@ -3,6 +3,10 @@ name: fix-ci
3
3
  skills: [github-ci, quality-tools]
4
4
  description: Fetch CI errors from GitHub Actions and fix them
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "CI is failing, fix the GitHub Actions errors, the pipeline is red"
9
+ trigger_context: "open PR with failing checks"
6
10
  ---
7
11
 
8
12
  # fix-ci
@@ -2,6 +2,9 @@
2
2
  name: fix-portability
3
3
  description: Find and fix project-specific references in shared .augment/ package files
4
4
  disable-model-invocation: true
5
+ suggestion:
6
+ eligible: false
7
+ rationale: "Package-internal — only the event4u/agent-config repo runs this."
5
8
  ---
6
9
 
7
10
  # fix-portability
@@ -89,8 +92,8 @@ python3 scripts/compress.py --mark-done "{relative_path}"
89
92
 
90
93
  ## Rules
91
94
 
92
- - **Always fix in `.agent-src.uncompressed/`** — never edit `.agent-src/` or `.augment/` directly.
93
- - **Run `bash scripts/compress.sh --sync`** after fixing to regenerate `.agent-src/` and `.augment/`.
95
+ - **Always fix in `.agent-src.uncompressed/`** — never edit `.augment/` directly.
96
+ - **Copy to `.augment/`** after fixing.
94
97
  - **Do NOT commit or push.**
95
98
  - **`agents/` directory is allowed** to have project-specific references — skip it.
96
99
  - **Do NOT fix references in code blocks** unless the code block is clearly a template.
@@ -3,6 +3,10 @@ name: fix-pr-bot-comments
3
3
  skills: [php-coder, quality-tools]
4
4
  description: Fix and reply to bot review comments (Copilot, Augment, Greptile, etc.) on a GitHub PR
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "address the Copilot/Greptile comments, fix the bot review feedback"
9
+ trigger_context: "open PR with bot review comments unresolved"
6
10
  ---
7
11
 
8
12
  # fix-pr-bot-comments
@@ -3,6 +3,10 @@ name: fix-pr-comments
3
3
  skills: [php-coder]
4
4
  description: Fix and reply to all open review comments (bots + human reviewers) on a GitHub PR
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "fix all PR review comments, resolve the review feedback"
9
+ trigger_context: "open PR with unresolved comments (bot + human)"
6
10
  ---
7
11
 
8
12
  # fix-pr-comments
@@ -3,6 +3,10 @@ name: fix-pr-developer-comments
3
3
  skills: [php-coder]
4
4
  description: Fix and reply to human reviewer comments on a GitHub PR
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "fix the human reviewer comments, address the developer feedback"
9
+ trigger_context: "open PR with unresolved human-reviewer comments"
6
10
  ---
7
11
 
8
12
  # fix-pr-developer-comments
@@ -2,6 +2,9 @@
2
2
  name: fix-references
3
3
  description: Find and fix broken cross-references in .augment/ and agents/ files
4
4
  disable-model-invocation: true
5
+ suggestion:
6
+ eligible: false
7
+ rationale: "Package-internal — only the event4u/agent-config repo runs this."
5
8
  ---
6
9
 
7
10
  # fix-references
@@ -3,6 +3,10 @@ name: fix-seeder
3
3
  skills: [eloquent]
4
4
  description: Scan seeder data files for broken foreign key references — find constants used without getReference() and fix them
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "the seeder is broken, foreign key errors in seeders"
9
+ trigger_context: "seeder error output or recent edits in database/seeders/"
6
10
  ---
7
11
 
8
12
  # fix-seeder
@@ -1,8 +1,12 @@
1
1
  ---
2
2
  name: implement-ticket
3
3
  skills: [refine-ticket, feature-planning]
4
- description: Drive a ticket end-to-end through refine → memory → analyze → plan → implement → test → verify → report — Option-A loop over the `implement_ticket` Python engine, block-on-ambiguity, no auto-git.
4
+ description: Drive a ticket end-to-end through refine → memory → analyze → plan → implement → test → verify → report — Option-A loop over the `work_engine` Python engine, block-on-ambiguity, no auto-git.
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "implement this ticket, setze ticket X um, build PROJ-123"
9
+ trigger_context: "ticket key matching [A-Z]+-[0-9]+ in branch name or prompt"
6
10
  ---
7
11
 
8
12
  # implement-ticket
@@ -30,25 +34,45 @@ markdown. If no input resolves:
30
34
  ### 2. Prepare the state file
31
35
 
32
36
  The engine persists everything in a JSON state file (default:
33
- `.implement-ticket-state.json` in the repo root). Two cases:
37
+ `.work-state.json` in the repo root). The resolved ticket lives inside
38
+ the work-state envelope as `input.kind="ticket"`, `input.data={id,
39
+ title, body, acceptance_criteria}` — the engine builds that wrapping
40
+ internally when given `--ticket-file`, so callers pass the ticket JSON
41
+ unchanged.
34
42
 
35
- - **Fresh run** state file does not exist. Write the resolved ticket to
43
+ Three cases, in this order:
44
+
45
+ - **Legacy state file present** — `.implement-ticket-state.json` exists
46
+ and `.work-state.json` does not. Migrate before doing anything else:
47
+
48
+ ```bash
49
+ ./agent-config migrate-state
50
+ ```
51
+
52
+ Writes `.work-state.json` and renames the source to
53
+ `.implement-ticket-state.json.bak`. Idempotent and safe to skip if
54
+ already done. After this, treat the run as **Resume**.
55
+ - **Fresh run** — no state file at all. Write the resolved ticket to
36
56
  `ticket.json` (id, title, body, acceptance_criteria) and pass it via
37
57
  `--ticket-file ticket.json`. Honour `roles.active_role` from
38
58
  `.agent-settings.yml` via `--persona`.
39
- - **Resume** — state file exists. Do **not** pass `--ticket-file` or
40
- `--persona`; mid-flight persona switches are refused by the engine.
59
+ - **Resume** — `.work-state.json` exists. Do **not** pass `--ticket-file`
60
+ or `--persona`; mid-flight persona switches are refused by the engine.
41
61
 
42
62
  ### 3. Drive the Option-A dispatch loop
43
63
 
44
64
  Run the engine with the state file on every iteration:
45
65
 
46
66
  ```bash
47
- PYTHONPATH=scripts python3 -m implement_ticket \
48
- --state-file .implement-ticket-state.json \
67
+ ./agent-config implement-ticket \
68
+ --state-file .work-state.json \
49
69
  [--ticket-file ticket.json --persona <name>] # first call only
50
70
  ```
51
71
 
72
+ The dispatcher wires `PYTHONPATH` and routes to the engine module
73
+ internally. `./agent-config` is the only supported entry point in
74
+ consumer repos — do not call the engine module directly.
75
+
52
76
  Then branch on the exit code:
53
77
 
54
78
  | Exit | Meaning | Action |
@@ -88,15 +112,14 @@ wrote it.
88
112
 
89
113
  ### 5. Final report + close-prompt
90
114
 
91
- On exit `0`, the engine prints the delivery report (nine fixed sections
92
- per [`implement-ticket-flow`](../../agents/contexts/implement-ticket-flow.md#delivery-report-schema)).
115
+ On exit `0`, the engine prints the delivery report (nine fixed sections).
93
116
  Surface it unchanged. Append the close-prompt:
94
117
 
95
118
  ```
96
119
  > 1. /commit — stage + commit per the delivery report
97
120
  > 2. /create-pr — open a pull request from this branch
98
121
  > 3. Keep working — I'll hold the state file for the next /implement-ticket
99
- > 4. Discard — delete .implement-ticket-state.json
122
+ > 4. Discard — delete .work-state.json (and any .implement-ticket-state.json.bak)
100
123
  ```
101
124
 
102
125
  **Never run `/commit` or `/create-pr` without the user choosing them.**
@@ -115,6 +138,12 @@ permission-gated.
115
138
  fresh run; never accept a `--persona` flag from the user mid-flight.
116
139
  - Memory section in the report is absent when no hit changed an outcome.
117
140
  That is by design — don't pad it.
141
+ - When `telemetry.artifact_engagement.enabled: true` in
142
+ `.agent-settings.yml`, emit one `./agent-config telemetry:record` per
143
+ boundary (per phase-step or per task — see `granularity`) with the
144
+ consulted+applied artefact ids. Full contract in
145
+ [`artifact-engagement-recording`](../rules/artifact-engagement-recording.md).
146
+ Default-off; absent setting is a silent no-op.
118
147
 
119
148
  ## Examples
120
149
 
@@ -126,8 +155,5 @@ permission-gated.
126
155
 
127
156
  ## See also
128
157
 
129
- - [`implement-ticket-flow`](../../agents/contexts/implement-ticket-flow.md) — flow contract + directive semantics
130
- - [`adr-implement-ticket-runtime`](../../agents/contexts/adr-implement-ticket-runtime.md) — runtime choice
131
158
  - [`refine-ticket`](refine-ticket.md), [`feature-plan`](feature-plan.md), [`tests-execute`](tests-execute.md), [`review-changes`](review-changes.md) — skills the directives delegate to
132
159
  - [`commit`](commit.md), [`create-pr`](create-pr.md) — post-delivery commands the user runs explicitly
133
- - [`road-to-implement-ticket`](../../agents/roadmaps/road-to-implement-ticket.md) — governing roadmap
@@ -3,6 +3,10 @@ name: jira-ticket
3
3
  skills: [laravel]
4
4
  description: Read Jira ticket from branch name, analyze linked Sentry issues, implement feature or fix bug
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "implement the ticket on this branch, work on the Jira ticket from the branch"
9
+ trigger_context: "branch name matching feat/PROJ-123-* or similar"
6
10
  ---
7
11
 
8
12
  # jira-ticket
@@ -3,6 +3,9 @@ name: judge
3
3
  skills: [subagent-orchestration]
4
4
  description: Run a standalone judge on an existing diff or code change — no implementer, no revision loop, verdict only
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: false
8
+ rationale: "Sibling of /review-changes — eligibility routed there; keep this explicit."
6
9
  ---
7
10
 
8
11
  # judge
@@ -3,6 +3,10 @@ name: memory-add
3
3
  description: Interactively add a validated entry to an engineering-memory file (domain-invariants, architecture-decisions, incident-learnings, product-rules)
4
4
  skills: [file-editor]
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "remember this for later, add this to engineering memory, capture this learning"
9
+ trigger_context: "post-incident or post-decision conversation"
6
10
  ---
7
11
 
8
12
  # /memory-add
@@ -89,7 +93,7 @@ On confirmation:
89
93
 
90
94
  - Append the entry to the chosen layout (single-file: append under
91
95
  `entries:`; sharded: write `agents/memory/<type>/<hash>.yml`).
92
- - Run `python3 scripts/check_memory.py --path agents/memory`.
96
+ - Run `./agent-config memory:check --path agents/memory`.
93
97
  - On non-zero exit: show the error, **revert** the write, return to
94
98
  step 3 or 4 depending on the failure.
95
99
  - On zero exit: report the entry `id` and path, remind the user to
@@ -126,5 +130,3 @@ link resolves. Broken link → block and ask the user to fix.
126
130
  - [`capture-learnings`](../rules/capture-learnings.md) — when a
127
131
  learning is better captured as an `incident-learnings` entry vs a
128
132
  rule/skill proposal
129
- - [`road-to-engineering-memory.md`](../../agents/roadmaps/road-to-engineering-memory.md)
130
- — Phase 3 writer ergonomics
@@ -3,6 +3,9 @@ name: memory-full
3
3
  description: Load ALL curated entries of a given memory type into the current context — opt-in full load for deep analysis, never auto-triggered
4
4
  skills: []
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: false
8
+ rationale: "Description states 'never auto-triggered' — opt-in deep-load only."
6
9
  ---
7
10
 
8
11
  # /memory-full
@@ -42,7 +45,7 @@ in the entry count and the signal-to-noise degrades fast on large types.
42
45
  Before loading, count the entries:
43
46
 
44
47
  ```bash
45
- python3 scripts/memory_lookup.py --types <type> --format json | \
48
+ ./agent-config memory:lookup --types <type> --format json | \
46
49
  python3 -c "import sys, json; print(len(json.load(sys.stdin)))"
47
50
  ```
48
51
 
@@ -59,7 +62,7 @@ If the count exceeds 25, warn:
59
62
  ### 3. Load
60
63
 
61
64
  ```bash
62
- python3 scripts/memory_lookup.py --types <type> --format yaml
65
+ ./agent-config memory:lookup --types <type> --format yaml
63
66
  ```
64
67
 
65
68
  Render the output verbatim, grouped by status (`active` first, then
@@ -3,6 +3,9 @@ name: memory-promote
3
3
  description: Promote an intake signal (or provisional proposal) into a curated memory entry — opens a PR and runs the admission gate.
4
4
  skills: [file-editor]
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: false
8
+ rationale: "Curation pipeline — overlaps /memory-add; keep explicit."
6
9
  ---
7
10
 
8
11
  # /memory-promote
@@ -23,7 +26,7 @@ entry.
23
26
  (`/bug-fix`, `/do-and-judge`, incident-role exit).
24
27
  - The user can name the intake `id` (e.g., `sig-abc123`). If not,
25
28
  route to the read side:
26
- `python3 scripts/memory_lookup.py --types <type> --key <hint>` to
29
+ `./agent-config memory:lookup --types <type> --key <hint>` to
27
30
  surface candidates.
28
31
 
29
32
  ## Steps
@@ -40,7 +43,7 @@ entry.
40
43
  ### 2. Run the admission gate
41
44
 
42
45
  ```bash
43
- python3 scripts/check_memory_proposal.py --intake-id <sig-id>
46
+ ./agent-config memory:check-proposal --intake-id <sig-id>
44
47
  ```
45
48
 
46
49
  If the gate reports failures, show them to the user numbered and ask:
@@ -76,7 +79,7 @@ Compute the content hash and write a **one-entry file** at
76
79
  `agents/memory/<type>/<hash>.yml`:
77
80
 
78
81
  ```bash
79
- HASH=$(python3 scripts/memory_hash.py --yaml /tmp/draft.yml)
82
+ HASH=$(./agent-config memory:hash --yaml /tmp/draft.yml)
80
83
  mkdir -p agents/memory/<type>
81
84
  mv /tmp/draft.yml agents/memory/<type>/${HASH}.yml
82
85
  ```
@@ -91,7 +94,7 @@ mv /tmp/draft.yml agents/memory/<type>/${HASH}.yml
91
94
  existence and refuse with a migration hint:
92
95
  `⚠️ agents/memory/<type>.yml exists — migrate to content-
93
96
  addressed first (`/memory-migrate <type>`)`.
94
- - **Schema validation** — run `python3 scripts/check_memory.py
97
+ - **Schema validation** — run `./agent-config memory:check
95
98
  --path agents/memory/<type>/${HASH}.yml` before commit. On failure,
96
99
  delete the file and stop.
97
100
 
@@ -140,5 +143,3 @@ git push -u origin memory/promote-<curated-id>
140
143
  - [`/propose-memory`](propose-memory.md) — write-side entry point.
141
144
  - [`/memory-add`](memory-add.md) — direct curated write (skips intake).
142
145
  - [`engineering-memory-data-format`](../guidelines/agent-infra/engineering-memory-data-format.md)
143
- - [`road-to-agent-memory-integration`](../../../agents/roadmaps/road-to-agent-memory-integration.md)
144
- — Phase 3.
@@ -2,6 +2,9 @@
2
2
  name: mode
3
3
  description: Set the active role mode — prints the contract, lists default skills, and refuses work outside the contract (see role-contracts)
4
4
  disable-model-invocation: true
5
+ suggestion:
6
+ eligible: false
7
+ rationale: "Role-mode switch is a deliberate context change."
5
8
  ---
6
9
 
7
10
  # /mode
@@ -3,6 +3,10 @@ name: module-create
3
3
  skills: [laravel]
4
4
  description: Create a new module from .module-template with interactive setup
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "create a new module, scaffold a module for X"
9
+ trigger_context: "prompt mentions a new domain area without an existing module"
6
10
  ---
7
11
 
8
12
  # module-create
@@ -3,6 +3,10 @@ name: module-explore
3
3
  skills: [laravel]
4
4
  description: Explore a module — load its structure, docs, and context into the current conversation
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "show me the X module, load the module context"
9
+ trigger_context: "existing Modules/<Name>/ referenced in the prompt"
6
10
  ---
7
11
 
8
12
  # module-explore
@@ -3,8 +3,13 @@ name: onboard
3
3
  description: First-run setup for a developer on this project — captures name, IDE, bot-icon preference, rtk, cost_profile, and learning opt-out, then sets onboarding.onboarded=true
4
4
  skills: [file-editor]
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: false
8
+ rationale: "Gated by the onboarding-gate rule already; never inferred from prose."
6
9
  ---
7
10
 
11
+ <!-- cloud_safe: noop -->
12
+
8
13
  # /onboard
9
14
 
10
15
  Centralized first-run flow. Bundles what used to be scattered "ask once"
@@ -153,6 +158,27 @@ directly — the agent follows the merge rules in `layered-settings` when
153
158
  you ask it to change a value.
154
159
  ```
155
160
 
161
+ ### 9. Maintainer-only feature pointer
162
+
163
+ Print a one-screen hint after the summary — no question, no prompt, just a
164
+ pointer for maintainers who want to opt into the artefact-engagement
165
+ telemetry layer. Consumers can ignore it; the feature is **default-off**
166
+ and stays off unless explicitly enabled.
167
+
168
+ ```
169
+ ℹ️ Maintainer telemetry (opt-in)
170
+
171
+ telemetry.artifact_engagement is off by default. If you maintain skills,
172
+ rules, or commands and want to see which ones the agent actually applies,
173
+ set telemetry.artifact_engagement.enabled: true in .agent-settings.yml.
174
+
175
+ The log is local-only JSONL — nothing uploaded, nothing shared across
176
+ projects. Reports: ./agent-config telemetry:report
177
+ Contract + privacy floor: docs/contracts/artifact-engagement-flow.md
178
+ ```
179
+
180
+ Skip this block in cloud surfaces (no settings file, no log path).
181
+
156
182
  ## Gotchas
157
183
 
158
184
  - `.agent-settings.yml` is git-ignored. This command never commits.
@@ -163,6 +189,13 @@ you ask it to change a value.
163
189
  - Never overwrite a non-empty value without asking (applies to `user_name`
164
190
  and `ide`).
165
191
 
192
+ ## Cloud Behavior
193
+
194
+ On cloud surfaces (Claude.ai Web, Skills API) this command is **fully inert** —
195
+ there is no `.agent-settings.yml` to write, no `onboarding.onboarded` key to
196
+ flip, and no local IDE/rtk environment to capture. First-run setup is a
197
+ local-agent concern; the cloud agent should proceed without invoking it.
198
+
166
199
  ## See also
167
200
 
168
201
  - [`onboarding-gate`](../rules/onboarding-gate.md) — rule that triggers this command
@@ -3,6 +3,10 @@ name: optimize-agents
3
3
  description: Audits agent infrastructure — measures token overhead, checks rule triggers, verifies AGENTS.md. Suggest only, never auto-apply.
4
4
  skills: [copilot-agents-optimization, agents-audit, agent-docs-writing, quality-tools]
5
5
  disable-model-invocation: true
6
+ suggestion:
7
+ eligible: true
8
+ trigger_description: "audit agent infrastructure, tune the agent setup"
9
+ trigger_context: "maintainer working on .augment/ files"
6
10
  ---
7
11
 
8
12
  # /optimize-agents