@event4u/agent-config 1.16.0 → 1.18.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 (224) 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/{chat-history-checkpoint.md → chat-history/checkpoint.md} +4 -4
  6. package/.agent-src/commands/{chat-history-clear.md → chat-history/clear.md} +4 -4
  7. package/.agent-src/commands/{chat-history-resume.md → chat-history/resume.md} +4 -4
  8. package/.agent-src/commands/chat-history/show.md +107 -0
  9. package/.agent-src/commands/chat-history.md +33 -89
  10. package/.agent-src/commands/{commit-in-chunks.md → commit/in-chunks.md} +15 -13
  11. package/.agent-src/commands/commit.md +22 -2
  12. package/.agent-src/commands/{context-create.md → context/create.md} +4 -3
  13. package/.agent-src/commands/{context-refactor.md → context/refactor.md} +4 -3
  14. package/.agent-src/commands/context.md +44 -0
  15. package/.agent-src/commands/{copilot-agents-init.md → copilot-agents/init.md} +4 -3
  16. package/.agent-src/commands/{copilot-agents-optimize.md → copilot-agents/optimize.md} +4 -3
  17. package/.agent-src/commands/copilot-agents.md +44 -0
  18. package/.agent-src/commands/council/default.md +221 -0
  19. package/.agent-src/commands/{council-design.md → council/design.md} +6 -5
  20. package/.agent-src/commands/{council-optimize.md → council/optimize.md} +7 -6
  21. package/.agent-src/commands/{council-pr.md → council/pr.md} +6 -5
  22. package/.agent-src/commands/council.md +47 -212
  23. package/.agent-src/commands/{create-pr-description.md → create-pr/description-only.md} +4 -2
  24. package/.agent-src/commands/create-pr.md +26 -5
  25. package/.agent-src/commands/{feature-dev.md → feature/dev.md} +5 -10
  26. package/.agent-src/commands/{feature-explore.md → feature/explore.md} +4 -8
  27. package/.agent-src/commands/{feature-plan.md → feature/plan.md} +4 -8
  28. package/.agent-src/commands/{feature-refactor.md → feature/refactor.md} +4 -8
  29. package/.agent-src/commands/{feature-roadmap.md → feature/roadmap.md} +6 -10
  30. package/.agent-src/commands/feature.md +6 -12
  31. package/.agent-src/commands/{fix-ci.md → fix/ci.md} +4 -8
  32. package/.agent-src/commands/{fix-portability.md → fix/portability.md} +4 -8
  33. package/.agent-src/commands/{fix-pr-bot-comments.md → fix/pr-bots.md} +4 -8
  34. package/.agent-src/commands/{fix-pr-developer-comments.md → fix/pr-developers.md} +4 -8
  35. package/.agent-src/commands/{fix-pr-comments.md → fix/pr.md} +7 -11
  36. package/.agent-src/commands/{fix-references.md → fix/refs.md} +4 -8
  37. package/.agent-src/commands/{fix-seeder.md → fix/seeder.md} +4 -8
  38. package/.agent-src/commands/fix.md +7 -13
  39. package/.agent-src/commands/{do-and-judge.md → judge/on-diff.md} +4 -3
  40. package/.agent-src/commands/judge/solo.md +90 -0
  41. package/.agent-src/commands/{do-in-steps.md → judge/steps.md} +4 -3
  42. package/.agent-src/commands/judge.md +35 -70
  43. package/.agent-src/commands/{memory-add.md → memory/add.md} +4 -3
  44. package/.agent-src/commands/{memory-full.md → memory/load.md} +4 -3
  45. package/.agent-src/commands/{memory-promote.md → memory/promote.md} +4 -3
  46. package/.agent-src/commands/{propose-memory.md → memory/propose.md} +4 -3
  47. package/.agent-src/commands/memory.md +48 -0
  48. package/.agent-src/commands/{module-create.md → module/create.md} +4 -3
  49. package/.agent-src/commands/{module-explore.md → module/explore.md} +4 -3
  50. package/.agent-src/commands/module.md +44 -0
  51. package/.agent-src/commands/{optimize-agents.md → optimize/agents.md} +4 -8
  52. package/.agent-src/commands/{optimize-augmentignore.md → optimize/augmentignore.md} +4 -9
  53. package/.agent-src/commands/{optimize-rtk-filters.md → optimize/rtk.md} +4 -8
  54. package/.agent-src/commands/{optimize-skills.md → optimize/skills.md} +4 -8
  55. package/.agent-src/commands/optimize.md +4 -10
  56. package/.agent-src/commands/{override-create.md → override/create.md} +4 -3
  57. package/.agent-src/commands/{override-manage.md → override/manage.md} +4 -3
  58. package/.agent-src/commands/override.md +44 -0
  59. package/.agent-src/commands/{roadmap-create.md → roadmap/create.md} +4 -3
  60. package/.agent-src/commands/{roadmap-execute.md → roadmap/execute.md} +4 -3
  61. package/.agent-src/commands/roadmap.md +44 -0
  62. package/.agent-src/commands/{tests-create.md → tests/create.md} +4 -3
  63. package/.agent-src/commands/{tests-execute.md → tests/execute.md} +4 -3
  64. package/.agent-src/commands/tests.md +44 -0
  65. package/.agent-src/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md +72 -0
  66. package/.agent-src/contexts/communication/rules-auto/augment-portability-mechanics.md +79 -0
  67. package/.agent-src/contexts/communication/rules-auto/augment-source-of-truth-mechanics.md +98 -0
  68. package/.agent-src/contexts/communication/rules-auto/cli-output-handling-mechanics.md +87 -0
  69. package/.agent-src/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md +62 -0
  70. package/.agent-src/contexts/communication/rules-auto/docs-sync-mechanics.md +78 -0
  71. package/.agent-src/contexts/communication/rules-auto/package-ci-checks-mechanics.md +85 -0
  72. package/.agent-src/contexts/communication/rules-auto/review-routing-awareness-mechanics.md +65 -0
  73. package/.agent-src/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md +78 -0
  74. package/.agent-src/contexts/communication/rules-auto/skill-quality-mechanics.md +62 -0
  75. package/.agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +55 -0
  76. package/.agent-src/contexts/communication/rules-auto/ui-audit-gate-mechanics.md +53 -0
  77. package/.agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +77 -0
  78. package/.agent-src/contexts/judges/no-consolidate-rationale.md +102 -0
  79. package/.agent-src/contexts/judges/persona-voice-rubric.md +140 -0
  80. package/.agent-src/rules/artifact-engagement-recording.md +13 -69
  81. package/.agent-src/rules/ask-when-uncertain.md +27 -42
  82. package/.agent-src/rules/augment-portability.md +15 -61
  83. package/.agent-src/rules/augment-source-of-truth.md +27 -93
  84. package/.agent-src/rules/cli-output-handling.md +10 -76
  85. package/.agent-src/rules/command-suggestion-policy.md +18 -59
  86. package/.agent-src/rules/commit-conventions.md +17 -14
  87. package/.agent-src/rules/context-hygiene.md +6 -0
  88. package/.agent-src/rules/direct-answers.md +35 -59
  89. package/.agent-src/rules/docker-commands.md +5 -5
  90. package/.agent-src/rules/docs-sync.md +15 -69
  91. package/.agent-src/rules/language-and-tone.md +48 -72
  92. package/.agent-src/rules/missing-tool-handling.md +28 -22
  93. package/.agent-src/rules/no-cheap-questions.md +39 -53
  94. package/.agent-src/rules/no-roadmap-references.md +73 -0
  95. package/.agent-src/rules/onboarding-gate.md +7 -0
  96. package/.agent-src/rules/package-ci-checks.md +21 -61
  97. package/.agent-src/rules/preservation-guard.md +64 -29
  98. package/.agent-src/rules/review-routing-awareness.md +24 -43
  99. package/.agent-src/rules/roadmap-progress-sync.md +31 -65
  100. package/.agent-src/rules/rule-type-governance.md +28 -0
  101. package/.agent-src/rules/security-sensitive-stop.md +8 -8
  102. package/.agent-src/rules/skill-quality.md +16 -48
  103. package/.agent-src/rules/slash-command-routing-policy.md +7 -4
  104. package/.agent-src/rules/think-before-action.md +52 -42
  105. package/.agent-src/rules/tool-safety.md +19 -16
  106. package/.agent-src/rules/ui-audit-gate.md +24 -38
  107. package/.agent-src/rules/user-interaction.md +13 -68
  108. package/.agent-src/skills/ai-council/SKILL.md +2 -0
  109. package/.agent-src/skills/api-testing/SKILL.md +1 -1
  110. package/.agent-src/skills/check-refs/SKILL.md +59 -40
  111. package/.agent-src/skills/conventional-commits-writing/SKILL.md +86 -28
  112. package/.agent-src/skills/copilot-agents-optimization/SKILL.md +5 -5
  113. package/.agent-src/skills/developer-like-execution/SKILL.md +4 -4
  114. package/.agent-src/skills/finishing-a-development-branch/SKILL.md +101 -65
  115. package/.agent-src/skills/flux/SKILL.md +30 -10
  116. package/.agent-src/skills/github-ci/SKILL.md +2 -2
  117. package/.agent-src/skills/judge-code-quality/SKILL.md +7 -8
  118. package/.agent-src/skills/judge-security-auditor/SKILL.md +4 -5
  119. package/.agent-src/skills/judge-test-coverage/SKILL.md +3 -4
  120. package/.agent-src/skills/lint-skills/SKILL.md +57 -39
  121. package/.agent-src/skills/md-language-check/SKILL.md +61 -39
  122. package/.agent-src/skills/override-management/SKILL.md +5 -5
  123. package/.agent-src/skills/quality-tools/SKILL.md +2 -2
  124. package/.agent-src/skills/react-shadcn-ui/SKILL.md +116 -43
  125. package/.agent-src/skills/readme-reviewer/SKILL.md +30 -29
  126. package/.agent-src/skills/readme-writing/SKILL.md +78 -53
  127. package/.agent-src/skills/readme-writing-package/SKILL.md +50 -47
  128. package/.agent-src/skills/receiving-code-review/SKILL.md +52 -47
  129. package/.agent-src/skills/refine-prompt/SKILL.md +0 -1
  130. package/.agent-src/skills/requesting-code-review/SKILL.md +35 -30
  131. package/.agent-src/skills/security/SKILL.md +7 -2
  132. package/.agent-src/skills/security-audit/SKILL.md +7 -3
  133. package/.agent-src/skills/systematic-debugging/SKILL.md +68 -60
  134. package/.agent-src/skills/test-driven-development/SKILL.md +59 -57
  135. package/.agent-src/skills/test-performance/SKILL.md +0 -1
  136. package/.agent-src/skills/traefik/SKILL.md +4 -4
  137. package/.agent-src/skills/verify-completion-evidence/SKILL.md +28 -26
  138. package/.agent-src/templates/roadmaps.md +4 -0
  139. package/.claude-plugin/marketplace.json +22 -11
  140. package/AGENTS.md +2 -2
  141. package/CHANGELOG.md +125 -1
  142. package/README.md +18 -17
  143. package/docs/architecture.md +4 -6
  144. package/docs/catalog.md +67 -39
  145. package/docs/contracts/STABILITY.md +13 -7
  146. package/docs/contracts/adr-chat-history-split.md +1 -3
  147. package/docs/contracts/adr-command-suggestion.md +0 -2
  148. package/docs/contracts/adr-implement-ticket-runtime.md +1 -2
  149. package/docs/contracts/adr-product-ui-track.md +3 -6
  150. package/docs/contracts/adr-prompt-driven-execution.md +3 -4
  151. package/docs/contracts/agent-memory-contract.md +6 -11
  152. package/docs/contracts/artifact-engagement-flow.md +6 -9
  153. package/docs/contracts/command-clusters.md +56 -46
  154. package/docs/contracts/command-suggestion-flow.md +1 -3
  155. package/docs/contracts/context-paths.md +99 -0
  156. package/docs/contracts/file-ownership-matrix.json +6722 -0
  157. package/docs/contracts/file-ownership-matrix.md +134 -0
  158. package/docs/contracts/implement-ticket-flow.md +6 -9
  159. package/docs/contracts/linear-ai-rules-inclusion.md +0 -1
  160. package/docs/contracts/linear-ai-three-layers.md +0 -2
  161. package/docs/contracts/load-context-budget-model.md +258 -0
  162. package/docs/contracts/load-context-schema.md +21 -3
  163. package/docs/contracts/roadmap-complexity-standard.md +137 -0
  164. package/docs/contracts/rule-interactions.md +0 -1
  165. package/docs/contracts/rule-priority-hierarchy.md +1 -1
  166. package/docs/contracts/ui-track-flow.md +7 -17
  167. package/docs/customization.md +2 -0
  168. package/docs/getting-started.md +5 -4
  169. package/docs/guidelines/agent-infra/ask-when-uncertain-demos.md +134 -0
  170. package/docs/guidelines/agent-infra/asking-and-brevity-examples.md +100 -0
  171. package/docs/guidelines/agent-infra/direct-answers-demos.md +145 -0
  172. package/docs/guidelines/agent-infra/verify-before-complete-demos.md +128 -0
  173. package/package.json +1 -1
  174. package/scripts/_phase2_shim_helper.py +109 -0
  175. package/scripts/agent-config +30 -0
  176. package/scripts/ai_council/one_off_archive/2026-05/README.md +45 -0
  177. package/scripts/ai_council/one_off_archive/2026-05/_one_off_2a4_acceptance.py +208 -0
  178. package/scripts/ai_council/one_off_archive/2026-05/_one_off_budget_v2_audit.py +206 -0
  179. package/scripts/ai_council/one_off_archive/2026-05/_one_off_context_layer_v1_estimate.py +67 -0
  180. package/scripts/ai_council/one_off_archive/2026-05/_one_off_context_layer_v1_review.py +292 -0
  181. package/scripts/ai_council/one_off_archive/2026-05/_one_off_followups_review.py +259 -0
  182. package/scripts/ai_council/one_off_archive/2026-05/_one_off_nondestructive_inline_audit.py +209 -0
  183. package/scripts/ai_council/one_off_archive/2026-05/_one_off_phase4_dispatch_latency.py +108 -0
  184. package/scripts/ai_council/one_off_archive/2026-05/_one_off_phase6_trigger_jaccard.py +92 -0
  185. package/scripts/ai_council/one_off_archive/2026-05/_one_off_phase_2a_budget_rebalance.py +257 -0
  186. package/scripts/ai_council/one_off_archive/2026-05/_one_off_phase_2a_post_revert.py +197 -0
  187. package/scripts/ai_council/one_off_archive/2026-05/_one_off_rule_hardening_v1.py +251 -0
  188. package/scripts/ai_council/one_off_archive/2026-05/_one_off_structural_open_questions.py +232 -0
  189. package/scripts/ai_council/one_off_archive/2026-05/_one_off_structural_optimization.py +144 -0
  190. package/scripts/ai_council/one_off_archive/2026-05/_one_off_structural_v3_gaps.py +252 -0
  191. package/scripts/ai_council/one_off_archive/2026-05/_one_off_structural_v3_review.py +240 -0
  192. package/scripts/build_rule_trigger_matrix.py +360 -0
  193. package/scripts/check_always_budget.py +402 -45
  194. package/scripts/check_cluster_patterns.py +159 -0
  195. package/scripts/check_command_count_messaging.py +14 -7
  196. package/scripts/check_context_paths.py +201 -0
  197. package/scripts/check_no_roadmap_refs.py +155 -0
  198. package/scripts/check_one_off_location.py +81 -0
  199. package/scripts/check_phase_coupling.py +148 -0
  200. package/scripts/check_portability.py +2 -0
  201. package/scripts/check_references.py +35 -2
  202. package/scripts/check_safety_floor_untouched.py +125 -0
  203. package/scripts/command_suggester/loader.py +4 -1
  204. package/scripts/compress.py +64 -15
  205. package/scripts/context_hygiene_hook.py +173 -0
  206. package/scripts/generate_index.py +6 -2
  207. package/scripts/generate_ownership_matrix.py +323 -0
  208. package/scripts/hooks/augment-context-hygiene.sh +55 -0
  209. package/scripts/hooks/augment-onboarding-gate.sh +55 -0
  210. package/scripts/hooks/augment-roadmap-progress.sh +57 -0
  211. package/scripts/install.py +105 -45
  212. package/scripts/lint_examples.py +98 -0
  213. package/scripts/lint_no_new_atomic_commands.py +12 -11
  214. package/scripts/lint_roadmap_complexity.py +127 -0
  215. package/scripts/onboarding_gate_hook.py +137 -0
  216. package/scripts/requirements-evals.txt +1 -0
  217. package/scripts/roadmap_progress_hook.py +159 -0
  218. package/scripts/schemas/command.schema.json +4 -3
  219. package/scripts/schemas/rule.schema.json +5 -0
  220. package/scripts/skill_linter.py +1 -0
  221. package/scripts/sync_agent_settings.py +25 -2
  222. package/scripts/update_counts.py +7 -0
  223. /package/scripts/ai_council/{_one_off_rebalancing_audit.py → one_off_archive/2026-05/_one_off_rebalancing_audit.py} +0 -0
  224. /package/scripts/ai_council/{_one_off_roundtrip.py → one_off_archive/2026-05/_one_off_roundtrip.py} +0 -0
package/docs/catalog.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # agent-config — Public Catalog
2
2
 
3
- Consumer-facing catalog of all **299 public artefacts** shipped by
3
+ Consumer-facing catalog of all **327 public artefacts** shipped by
4
4
  this package. Internal package-maintenance rules and deprecation shims
5
5
  are excluded.
6
6
 
@@ -141,7 +141,7 @@ are excluded.
141
141
  | skill | [`verify-completion-evidence`](../.agent-src/skills/verify-completion-evidence/SKILL.md) | | Use when claiming 'done', suggesting a commit, push, or PR — runs the evidence gate so completion claims come from fresh output in this message, not memory or earlier runs. |
142
142
  | skill | [`websocket`](../.agent-src/skills/websocket/SKILL.md) | | Use when building real-time features — WebSocket broadcasting, live updates, presence channels, connection state — even when the user just says 'push this to the client live'. |
143
143
 
144
- ## Rules (54)
144
+ ## Rules (55)
145
145
 
146
146
  | kind | name | type | description |
147
147
  |---|---|---|---|
@@ -175,6 +175,7 @@ are excluded.
175
175
  | rule | [`missing-tool-handling`](../.agent-src/rules/missing-tool-handling.md) | auto | When a CLI tool needed for the task is not installed — ask before working around it; do NOT install silently |
176
176
  | rule | [`model-recommendation`](../.agent-src/rules/model-recommendation.md) | auto | Starting a new task, switching task type, or invoking a command — detect task complexity and recommend the optimal model (Opus/Sonnet/GPT) before any work |
177
177
  | rule | [`no-cheap-questions`](../.agent-src/rules/no-cheap-questions.md) | always | No cheap questions — never ask what context answers, never offer Iron-Law-violating options, never stage no-trade-off choices; mode-independent (off / auto / on) |
178
+ | rule | [`no-roadmap-references`](../.agent-src/rules/no-roadmap-references.md) | auto | Adding a link to a specific file in agents/roadmaps/ from any stable artifact (rule, skill, command, context, guideline) — roadmaps are transient; promote durable findings to agents/contexts/ instead |
178
179
  | rule | [`non-destructive-by-default`](../.agent-src/rules/non-destructive-by-default.md) | always | Agent is never destructive — Hard Floor always asks for prod-trunk merges, deploys, pushes, prod data/infra, bulk deletions, and bulk-deletion/infra commits; no autonomy or roadmap bypass |
179
180
  | rule | [`onboarding-gate`](../.agent-src/rules/onboarding-gate.md) | auto | First turn of a conversation on a project — check onboarding.onboarded in .agent-settings.yml; when false, prompt the user to run /onboard before executing any other request |
180
181
  | rule | [`package-ci-checks`](../.agent-src/rules/package-ci-checks.md) | auto | Before pushing to remote or creating a PR in the agent-config package — run all CI checks locally first |
@@ -200,85 +201,112 @@ are excluded.
200
201
  | rule | [`user-interaction`](../.agent-src/rules/user-interaction.md) | auto | Asking the user a question, presenting options, or summarizing progress — numbered-options Iron Law, single-recommendation rule, progress indicators |
201
202
  | rule | [`verify-before-complete`](../.agent-src/rules/verify-before-complete.md) | always | Verify before completion — run tests and quality tools before claiming done |
202
203
 
203
- ## Commands (69)
204
+ ## Commands (95)
204
205
 
205
206
  | kind | name | cluster | description |
206
207
  |---|---|---|---|
207
208
  | command | [`agent-handoff`](../.agent-src/commands/agent-handoff.md) | | Generate a context summary for continuing work in a fresh chat. Replaces the session system. |
208
209
  | command | [`agent-status`](../.agent-src/commands/agent-status.md) | | Show current conversation stats — message count, token costs, task progress, next freshness check. |
209
- | command | [`agents-audit`](../.agent-src/commands/agents-audit.md) | | Audits agents/ and module agents/ directories — finds outdated docs, structural issues, duplicates, orphaned overrides, and creates an improvement roadmap. |
210
- | command | [`agents-cleanup`](../.agent-src/commands/agents-cleanup.md) | | Execute cleanup actions from an agents-audit — move, merge, delete, and update agent docs |
211
- | command | [`agents-prepare`](../.agent-src/commands/agents-prepare.md) | | Scaffold the agents/ directory structure with all required subdirectories and .gitkeep files |
210
+ | command | [`agents:audit`](../.agent-src/commands/agents/audit.md) | cluster: agents | Audits agents/ and module agents/ directories — finds outdated docs, structural issues, duplicates, orphaned overrides, and creates an improvement roadmap. |
211
+ | command | [`agents:cleanup`](../.agent-src/commands/agents/cleanup.md) | cluster: agents | Execute cleanup actions from an agents-audit — move, merge, delete, and update agent docs |
212
+ | command | [`agents:prepare`](../.agent-src/commands/agents/prepare.md) | cluster: agents | Scaffold the agents/ directory structure with all required subdirectories and .gitkeep files |
213
+ | command | [`agents`](../.agent-src/commands/agents.md) | cluster: agents | Agents-folder orchestrator — routes to audit, cleanup, prepare |
212
214
  | command | [`analyze-reference-repo`](../.agent-src/commands/analyze-reference-repo.md) | | Analyze an external reference repository (competitor, inspiration, peer) and produce a structured comparison + adoption plan for this project. |
213
215
  | command | [`bug-fix`](../.agent-src/commands/bug-fix.md) | | Plan and implement a bug fix — based on investigation, with quality checks and test verification |
214
216
  | command | [`bug-investigate`](../.agent-src/commands/bug-investigate.md) | | Investigate a bug — auto-detect ticket from branch, gather Jira/Sentry/description context, trace root cause |
215
- | command | [`chat-history-checkpoint`](../.agent-src/commands/chat-history-checkpoint.md) | | Append a phase-boundary entry to .agent-chat-history — CHECKPOINT fallback for platforms without a native hook (Augment IDE, Cursor pre-1.7, Cline non-Mac/Linux). ~1s. |
216
- | command | [`chat-history-clear`](../.agent-src/commands/chat-history-clear.md) | | Manually delete the persistent chat-history log — asks for confirmation, optionally archives to a timestamped backup before wiping |
217
- | command | [`chat-history-resume`](../.agent-src/commands/chat-history-resume.md) | | Load the persistent chat-history log into the current conversation — picks match/returning/foreign flow and supports resume, merge, replace, or continue |
218
- | command | [`chat-history`](../.agent-src/commands/chat-history.md) | | Show the status of the persistent chat-history log — file size, entry count, header fingerprint, age, and the last few entries |
217
+ | command | [`chat-history:checkpoint`](../.agent-src/commands/chat-history/checkpoint.md) | cluster: chat-history | Append a phase-boundary entry to .agent-chat-history — CHECKPOINT fallback for platforms without a native hook (Augment IDE, Cursor pre-1.7, Cline non-Mac/Linux). ~1s. |
218
+ | command | [`chat-history:clear`](../.agent-src/commands/chat-history/clear.md) | cluster: chat-history | Manually delete the persistent chat-history log — asks for confirmation, optionally archives to a timestamped backup before wiping |
219
+ | command | [`chat-history:resume`](../.agent-src/commands/chat-history/resume.md) | cluster: chat-history | Load the persistent chat-history log into the current conversation — picks match/returning/foreign flow and supports resume, merge, replace, or continue |
220
+ | command | [`chat-history:show`](../.agent-src/commands/chat-history/show.md) | cluster: chat-history | Show the status of the persistent chat-history log — file size, entry count, header fingerprint, age, and the last few entries |
221
+ | command | [`chat-history`](../.agent-src/commands/chat-history.md) | cluster: chat-history | Chat-history orchestrator — routes to show, resume, clear, checkpoint |
219
222
  | command | [`check-current-md`](../.agent-src/commands/check-current-md.md) | | Check the open .md file (or a passed path) for German outside DE:/EN: anchor blocks — umlauts, function words, untranslated quotes. Reports and offers fixes. |
220
- | command | [`commit-in-chunks`](../.agent-src/commands/commit-in-chunks.md) | | Stage and commit all uncommitted changes in logical chunks WITHOUT confirmation — sibling of /commit for autonomous flows |
221
- | command | [`commit`](../.agent-src/commands/commit.md) | | Stage and commit all uncommitted changes — splits into logical commits following Conventional Commits |
223
+ | command | [`commit:in-chunks`](../.agent-src/commands/commit/in-chunks.md) | cluster: commit | Stage and commit all uncommitted changes in logical chunks WITHOUT confirmation — sibling of /commit for autonomous flows |
224
+ | command | [`commit`](../.agent-src/commands/commit.md) | cluster: commit | Stage and commit all uncommitted changes — splits into logical commits following Conventional Commits |
222
225
  | command | [`compress`](../.agent-src/commands/compress.md) | | Compress .md files from .agent-src.uncompressed/ into caveman format and write to .agent-src/ |
223
- | command | [`context-create`](../.agent-src/commands/context-create.md) | | Analyze a codebase area and create a structured context document |
224
- | command | [`context-refactor`](../.agent-src/commands/context-refactor.md) | | Analyze, update, and extend an existing context document |
225
- | command | [`copilot-agents-init`](../.agent-src/commands/copilot-agents-init.md) | | Create AGENTS.md and .github/copilot-instructions.md from scratch in the consumer project interactive, auto-detects stack, never leaks other projects' identifiers. |
226
- | command | [`copilot-agents-optimize`](../.agent-src/commands/copilot-agents-optimize.md) | | Analyzes and refactors AGENTS.md and copilot-instructions.md removes duplications, enforces line budgets, and ensures both files are optimized for their audience. |
227
- | command | [`council-design`](../.agent-src/commands/council-design.md) | cluster: optimize | Run the council on a design document, ADR, or architecture proposal surfaces hidden coupling, missing rollback, and sequencing risk before commitment. |
228
- | command | [`council-optimize`](../.agent-src/commands/council-optimize.md) | cluster: optimize | Run the council on an optimization target perf hot path, memory pattern, query, or an /optimize-* output — for ranked, evidence-based suggestions instead of generic advice. |
229
- | command | [`council-pr`](../.agent-src/commands/council-pr.md) | cluster: optimize | Pull a GitHub PR via gh CLI and run the council on the diff with a PR-specific neutrality preamble read-only by default; comment posting is opt-in. |
230
- | command | [`council`](../.agent-src/commands/council.md) | cluster: optimize | Consult external AIs (OpenAI, Anthropic) for an independent second opinion on a prompt, roadmap, diff, or file setneutral framing, redacted context, advisory output only. |
231
- | command | [`create-pr-description`](../.agent-src/commands/create-pr-description.md) | | Generate a PR description as a copyable markdown blockused standalone or by create-pr |
232
- | command | [`create-pr`](../.agent-src/commands/create-pr.md) | | Create a GitHub PR with structured description from Jira ticket and code changes |
233
- | command | [`do-and-judge`](../.agent-src/commands/do-and-judge.md) | | Run a single change through an implementer→judge loop with a two-revision ceiling, then hand back to the user |
234
- | command | [`do-in-steps`](../.agent-src/commands/do-in-steps.md) | | Execute an ordered plan step by step with a judge gate between steps stops on first failed verdict |
226
+ | command | [`context:create`](../.agent-src/commands/context/create.md) | cluster: context | Analyze a codebase area and create a structured context document |
227
+ | command | [`context:refactor`](../.agent-src/commands/context/refactor.md) | cluster: context | Analyze, update, and extend an existing context document |
228
+ | command | [`context`](../.agent-src/commands/context.md) | cluster: context | Context orchestratorroutes to create, refactor |
229
+ | command | [`copilot-agents:init`](../.agent-src/commands/copilot-agents/init.md) | cluster: copilot-agents | Create AGENTS.md and .github/copilot-instructions.md from scratch in the consumer project interactive, auto-detects stack, never leaks other projects' identifiers. |
230
+ | command | [`copilot-agents:optimize`](../.agent-src/commands/copilot-agents/optimize.md) | cluster: copilot-agents | Analyzes and refactors AGENTS.md and copilot-instructions.md removes duplications, enforces line budgets, and ensures both files are optimized for their audience. |
231
+ | command | [`copilot-agents`](../.agent-src/commands/copilot-agents.md) | cluster: copilot-agents | Copilot agents-doc orchestratorroutes to init, optimize |
232
+ | command | [`council:default`](../.agent-src/commands/council/default.md) | cluster: council | Default council lens neutral framing, redacted context, advisory output only. Run `/council default <input>` for prompt/roadmap/diff/files; the cluster shows a menu when invoked bare. |
233
+ | command | [`council:design`](../.agent-src/commands/council/design.md) | cluster: council | Run the council on a design document, ADR, or architecture proposalsurfaces hidden coupling, missing rollback, and sequencing risk before commitment. |
234
+ | command | [`council:optimize`](../.agent-src/commands/council/optimize.md) | cluster: council | Run the council on an optimization target perf hot path, memory pattern, query, or an /optimize-* output — for ranked, evidence-based suggestions instead of generic advice. |
235
+ | command | [`council:pr`](../.agent-src/commands/council/pr.md) | cluster: council | Pull a GitHub PR via gh CLI and run the council on the diff with a PR-specific neutrality preamble read-only by default; comment posting is opt-in. |
236
+ | command | [`council`](../.agent-src/commands/council.md) | cluster: council | Council orchestrator routes to default, pr, design, optimize |
237
+ | command | [`create-pr:description-only`](../.agent-src/commands/create-pr/description-only.md) | cluster: create-pr | Generate a PR description as a copyable markdown blockused standalone or by create-pr |
238
+ | command | [`create-pr`](../.agent-src/commands/create-pr.md) | cluster: create-pr | Create a GitHub PR with structured description from Jira ticket and code changes |
235
239
  | command | [`e2e-heal`](../.agent-src/commands/e2e-heal.md) | | Find, debug, and fix failing Playwright E2E tests |
236
240
  | command | [`e2e-plan`](../.agent-src/commands/e2e-plan.md) | | Explore the application and create a structured E2E test plan in Markdown |
237
241
  | command | [`estimate-ticket`](../.agent-src/commands/estimate-ticket.md) | | Estimate a Jira/Linear ticket before sprint planning — size + risk + split recommendation + uncertainty, sibling to /refine-ticket, ends with a close-prompt |
238
- | command | [`feature-dev`](../.agent-src/commands/feature-dev.md) | | Full 7-phase feature development workflow for complex features. |
242
+ | command | [`feature:dev`](../.agent-src/commands/feature/dev.md) | cluster: feature | Full 7-phase feature development workflow for complex features. |
243
+ | command | [`feature:explore`](../.agent-src/commands/feature/explore.md) | cluster: feature | Brainstorm and explore a feature idea before committing to a full plan |
244
+ | command | [`feature:plan`](../.agent-src/commands/feature/plan.md) | cluster: feature | Interactively plan a feature — research, discuss, and create a structured feature document |
245
+ | command | [`feature:refactor`](../.agent-src/commands/feature/refactor.md) | cluster: feature | Refine and update an existing feature plan through interactive discussion |
246
+ | command | [`feature:roadmap`](../.agent-src/commands/feature/roadmap.md) | cluster: feature | Generate implementation roadmap(s) from a feature plan and link them |
239
247
  | command | [`feature`](../.agent-src/commands/feature.md) | cluster: feature | Feature orchestrator — routes to explore, plan, refactor, roadmap, dev |
248
+ | command | [`fix:ci`](../.agent-src/commands/fix/ci.md) | cluster: fix | Fetch CI errors from GitHub Actions and fix them |
249
+ | command | [`fix:portability`](../.agent-src/commands/fix/portability.md) | cluster: fix | Find and fix project-specific references in shared .augment/ package files |
250
+ | command | [`fix:pr-bots`](../.agent-src/commands/fix/pr-bots.md) | cluster: fix | Fix and reply to bot review comments (Copilot, Augment, Greptile, etc.) on a GitHub PR |
251
+ | command | [`fix:pr-developers`](../.agent-src/commands/fix/pr-developers.md) | cluster: fix | Fix and reply to human reviewer comments on a GitHub PR |
252
+ | command | [`fix:pr`](../.agent-src/commands/fix/pr.md) | cluster: fix | Fix and reply to all open review comments (bots + human reviewers) on a GitHub PR |
253
+ | command | [`fix:refs`](../.agent-src/commands/fix/refs.md) | cluster: fix | Find and fix broken cross-references in .augment/ and agents/ files |
254
+ | command | [`fix:seeder`](../.agent-src/commands/fix/seeder.md) | cluster: fix | Scan seeder data files for broken foreign key references — find constants used without getReference() and fix them |
240
255
  | command | [`fix`](../.agent-src/commands/fix.md) | cluster: fix | Fix orchestrator — routes to ci, references, portability, seeder, pr-comments, pr-bot-comments, pr-developer-comments |
241
256
  | command | [`implement-ticket`](../.agent-src/commands/implement-ticket.md) | | 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. |
242
257
  | command | [`jira-ticket`](../.agent-src/commands/jira-ticket.md) | | Read Jira ticket from branch name, analyze linked Sentry issues, implement feature or fix bug |
243
- | command | [`judge`](../.agent-src/commands/judge.md) | | Run a standalone judge on an existing diff or code change no implementer, no revision loop, verdict only |
244
- | command | [`memory-add`](../.agent-src/commands/memory-add.md) | | Interactively add a validated entry to an engineering-memory file (domain-invariants, architecture-decisions, incident-learnings, product-rules) |
245
- | command | [`memory-full`](../.agent-src/commands/memory-full.md) | | Load ALL curated entries of a given memory type into the current context opt-in full load for deep analysis, never auto-triggered |
246
- | command | [`memory-promote`](../.agent-src/commands/memory-promote.md) | | Promote an intake signal (or provisional proposal) into a curated memory entry opens a PR and runs the admission gate. |
258
+ | command | [`judge:on-diff`](../.agent-src/commands/judge/on-diff.md) | cluster: judge | Run a single change through an implementer→judge loop with a two-revision ceiling, then hand back to the user |
259
+ | command | [`judge:solo`](../.agent-src/commands/judge/solo.md) | cluster: judge | Run a standalone judge on an existing diff or code change — no implementer, no revision loop, verdict only |
260
+ | command | [`judge:steps`](../.agent-src/commands/judge/steps.md) | cluster: judge | Execute an ordered plan step by step with a judge gate between steps stops on first failed verdict |
261
+ | command | [`judge`](../.agent-src/commands/judge.md) | cluster: judge | Judge orchestratorroutes to solo, steps, on-diff |
262
+ | command | [`memory:add`](../.agent-src/commands/memory/add.md) | cluster: memory | Interactively add a validated entry to an engineering-memory file (domain-invariants, architecture-decisions, incident-learnings, product-rules) |
263
+ | command | [`memory:load`](../.agent-src/commands/memory/load.md) | cluster: memory | Load ALL curated entries of a given memory type into the current context — opt-in full load for deep analysis, never auto-triggered |
264
+ | command | [`memory:promote`](../.agent-src/commands/memory/promote.md) | cluster: memory | Promote an intake signal (or provisional proposal) into a curated memory entry — opens a PR and runs the admission gate. |
265
+ | command | [`memory:propose`](../.agent-src/commands/memory/propose.md) | cluster: memory | Append a provisional memory signal to the intake stream — the universal fallback for any producer (human or agent) to record a finding without committing to a curated entry. |
266
+ | command | [`memory`](../.agent-src/commands/memory.md) | cluster: memory | Memory orchestrator — routes to add, load, promote, propose |
247
267
  | command | [`mode`](../.agent-src/commands/mode.md) | | Set the active role mode — prints the contract, lists default skills, and refuses work outside the contract (see role-contracts) |
248
- | command | [`module-create`](../.agent-src/commands/module-create.md) | | Create a new module from .module-template with interactive setup |
249
- | command | [`module-explore`](../.agent-src/commands/module-explore.md) | | Explore a module — load its structure, docs, and context into the current conversation |
268
+ | command | [`module:create`](../.agent-src/commands/module/create.md) | cluster: module | Create a new module from .module-template with interactive setup |
269
+ | command | [`module:explore`](../.agent-src/commands/module/explore.md) | cluster: module | Explore a module — load its structure, docs, and context into the current conversation |
270
+ | command | [`module`](../.agent-src/commands/module.md) | cluster: module | Module orchestrator — routes to create, explore |
250
271
  | command | [`onboard`](../.agent-src/commands/onboard.md) | | 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 |
272
+ | command | [`optimize:agents`](../.agent-src/commands/optimize/agents.md) | cluster: optimize | Audits agent infrastructure — measures token overhead, checks rule triggers, verifies AGENTS.md. Suggest only, never auto-apply. |
273
+ | command | [`optimize:augmentignore`](../.agent-src/commands/optimize/augmentignore.md) | cluster: optimize | Creates or updates .augmentignore based on the project's actual tech stack, large files, generated artifacts, and irrelevant agent skills/rules. |
274
+ | command | [`optimize:rtk`](../.agent-src/commands/optimize/rtk.md) | cluster: optimize | Create or optimize project-local rtk filters based on the actual toolchain |
275
+ | command | [`optimize:skills`](../.agent-src/commands/optimize/skills.md) | cluster: optimize | Audits skills — measures baseline, finds duplicates/merge candidates, runs linter. Suggest only, never auto-apply. |
251
276
  | command | [`optimize`](../.agent-src/commands/optimize.md) | cluster: optimize | Optimize orchestrator — routes to skills, agents, augmentignore, rtk-filters |
252
- | command | [`override-create`](../.agent-src/commands/override-create.md) | | Creates a project-level override for a shared skill, rule, or command. |
253
- | command | [`override-manage`](../.agent-src/commands/override-manage.md) | | Reviews, updates, and refactors existing project-level overrides. |
277
+ | command | [`override:create`](../.agent-src/commands/override/create.md) | cluster: override | Creates a project-level override for a shared skill, rule, or command. |
278
+ | command | [`override:manage`](../.agent-src/commands/override/manage.md) | cluster: override | Reviews, updates, and refactors existing project-level overrides. |
279
+ | command | [`override`](../.agent-src/commands/override.md) | cluster: override | Override orchestrator — routes to create, manage |
254
280
  | command | [`package-reset`](../.agent-src/commands/package-reset.md) | | /package-reset |
255
281
  | command | [`package-test`](../.agent-src/commands/package-test.md) | | /package-test |
256
282
  | command | [`prepare-for-review`](../.agent-src/commands/prepare-for-review.md) | | Prepare a PR branch for local review — updates main and merges the full branch chain so the branch is up to date |
257
283
  | command | [`project-analyze`](../.agent-src/commands/project-analyze.md) | | Full project analysis — detect stack, inventory modules, audit docs, create missing contexts |
258
284
  | command | [`project-health`](../.agent-src/commands/project-health.md) | | Quick project health check — show status of docs, modules, contexts, and roadmaps without creating anything |
259
- | command | [`propose-memory`](../.agent-src/commands/propose-memory.md) | | Append a provisional memory signal to the intake stream — the universal fallback for any producer (human or agent) to record a finding without committing to a curated entry. |
260
285
  | command | [`quality-fix`](../.agent-src/commands/quality-fix.md) | | Run quality pipeline (PHP and/or JS/TS) and fix all errors — auto-detects language from changed files |
261
286
  | command | [`refine-ticket`](../.agent-src/commands/refine-ticket.md) | | Refine a Jira/Linear ticket before planning — rewritten ticket + Top-5 risks + persona voices, orchestrates validate-feature-fit and threat-modeling, ends with a close-prompt |
262
287
  | command | [`review-changes`](../.agent-src/commands/review-changes.md) | | Self-review local changes before creating a PR — dispatches to four specialized judges (bug, security, tests, quality) and consolidates verdicts |
263
288
  | command | [`review-routing`](../.agent-src/commands/review-routing.md) | | Compute reviewer roles and matched historical bug patterns for the current diff, using project-local ownership-map.yml and historical-bug-patterns.yml |
264
- | command | [`roadmap-create`](../.agent-src/commands/roadmap-create.md) | | Interactively create a new roadmap file in agents/roadmaps/ |
265
- | command | [`roadmap-execute`](../.agent-src/commands/roadmap-execute.md) | | Read and interactively execute a roadmap from agents/roadmaps/ |
289
+ | command | [`roadmap:create`](../.agent-src/commands/roadmap/create.md) | cluster: roadmap | Interactively create a new roadmap file in agents/roadmaps/ |
290
+ | command | [`roadmap:execute`](../.agent-src/commands/roadmap/execute.md) | cluster: roadmap | Read and interactively execute a roadmap from agents/roadmaps/ |
291
+ | command | [`roadmap`](../.agent-src/commands/roadmap.md) | cluster: roadmap | Roadmap orchestrator — routes to create, execute |
266
292
  | command | [`rule-compliance-audit`](../.agent-src/commands/rule-compliance-audit.md) | | Audit rule trigger quality, simulate activation, detect overlaps, and find never-activating rules |
267
293
  | command | [`set-cost-profile`](../.agent-src/commands/set-cost-profile.md) | | Change the cost_profile in .agent-settings.yml — shows each profile's meaning and applies the selection |
268
294
  | command | [`sync-agent-settings`](../.agent-src/commands/sync-agent-settings.md) | | Sync `.agent-settings.yml` against the current template + profile — adds new sections/keys, preserves user values, shows a diff before writing |
269
295
  | command | [`sync-gitignore`](../.agent-src/commands/sync-gitignore.md) | | Sync the `event4u/agent-config` block in the consumer project's .gitignore — adds missing entries, preserves user-added lines, shows a diff before writing |
270
- | command | [`tests-create`](../.agent-src/commands/tests-create.md) | | Write meaningful tests for the changes in the current branch |
271
- | command | [`tests-execute`](../.agent-src/commands/tests-execute.md) | | Run PHP tests inside the Docker container |
296
+ | command | [`tests:create`](../.agent-src/commands/tests/create.md) | cluster: tests | Write meaningful tests for the changes in the current branch |
297
+ | command | [`tests:execute`](../.agent-src/commands/tests/execute.md) | cluster: tests | Run PHP tests inside the Docker container |
298
+ | command | [`tests`](../.agent-src/commands/tests.md) | cluster: tests | Tests orchestrator — routes to create, execute |
272
299
  | command | [`threat-model`](../.agent-src/commands/threat-model.md) | | Run a pre-implementation threat model on a proposed change — enumerates abuse cases, trust boundaries, and authorization gaps before the first line of code is written |
273
300
  | command | [`update-form-request-messages`](../.agent-src/commands/update-form-request-messages.md) | | Sync the messages() method of a FormRequest class — add missing entries, link them to language keys, and clean up stale ones |
274
301
  | command | [`upstream-contribute`](../.agent-src/commands/upstream-contribute.md) | | Contribute a learning, skill, rule, or fix from a consumer project back to the shared agent-config package |
275
302
  | command | [`work`](../.agent-src/commands/work.md) | | Drive a free-form prompt end-to-end through refine → score → plan → implement → test → verify → report — Option-A loop over the `work_engine` Python engine, confidence-band gated, no auto-git. |
276
303
 
277
- ## Guidelines (47)
304
+ ## Guidelines (48)
278
305
 
279
306
  | kind | name | category | description |
280
307
  |---|---|---|---|
281
308
  | guideline | [`agent-interaction-and-decision-quality`](../docs/guidelines/agent-infra/agent-interaction-and-decision-quality.md) | agent-infra | |
309
+ | guideline | [`asking-and-brevity-examples`](../docs/guidelines/agent-infra/asking-and-brevity-examples.md) | agent-infra | |
282
310
  | guideline | [`break-glass-usage`](../docs/guidelines/agent-infra/break-glass-usage.md) | agent-infra | |
283
311
  | guideline | [`developer-judgment`](../docs/guidelines/agent-infra/developer-judgment.md) | agent-infra | |
284
312
  | guideline | [`engineering-memory-data-format`](../docs/guidelines/agent-infra/engineering-memory-data-format.md) | agent-infra | |
@@ -95,13 +95,21 @@ Numeric caps on the always-active rule surface. These are **load-bearing
95
95
  constants** — every reply the agent emits pays the always-rule cost, so
96
96
  the budget is part of the public contract, not an implementation detail.
97
97
 
98
+ The accounting model since Phase 0.2 of `road-to-structural-optimization`
99
+ is **Model (b) literal** — a rule's effective size is its own char count
100
+ plus every context it loads (transitively, depth ≤ 2). See
101
+ [`load-context-budget-model.md`](load-context-budget-model.md) (beta)
102
+ for the contract and the transitional allowlist.
103
+
98
104
  | Constant | Value | Stability | Owner |
99
105
  |---|---|---|---|
100
- | Total always-rule budget | **49,000 chars** | `stable` | `tests/test_always_budget.py::test_always_rules_total_chars_under_cap` |
101
- | Warn threshold (CI) | **80% (39,200 chars)** | `beta` | `scripts/check_always_budget.py` |
102
- | Fail threshold (CI) | **90% (44,100 chars)** | `beta` | `scripts/check_always_budget.py` |
103
- | Per-rule cap | **6,000 chars** | `beta` | `tests/test_always_budget.py::test_no_single_always_rule_over_per_rule_cap` · `scripts/check_always_budget.py` |
104
- | Top-3 combined cap | **24,500 chars** (50% of total) | `beta` | `tests/test_always_budget.py::test_top3_always_rules_under_cap` · `scripts/check_always_budget.py` |
106
+ | Total always-rule budget | **49,000 chars** (extended) | `stable` | `tests/test_always_budget.py::test_always_rules_total_extended_within_tolerance` |
107
+ | G3 tolerance band | **2 % overshoot** (≤ 49,980 chars) | `beta` | `scripts/check_always_budget.py` · `tests/test_always_budget.py` |
108
+ | Warn threshold (CI) | **80 % (39,200 chars)** | `beta` | `scripts/check_always_budget.py` |
109
+ | Fail threshold (CI) | **90 % (44,100 chars)** below 100 %; **> 102 %** above | `beta` | `scripts/check_always_budget.py` |
110
+ | Per-rule cap | **6,000 chars** (extended) with transitional allowlist | `beta` | `tests/test_always_budget.py::test_no_unallowlisted_per_rule_breach` · `scripts/check_always_budget.py` |
111
+ | Top-3 combined cap | **24,500 chars** (extended, 50 % of total) | `beta` | `tests/test_always_budget.py::test_top3_extended_under_cap` · `scripts/check_always_budget.py` |
112
+ | `load_context:` nesting cap | **depth ≤ 2** | `beta` | `tests/test_always_budget.py::test_load_context_depth_within_cap` · `scripts/check_always_budget.py` |
105
113
 
106
114
  **Promises a consumer can rely on:**
107
115
 
@@ -128,7 +136,5 @@ the budget is part of the public contract, not an implementation detail.
128
136
 
129
137
  ## See also
130
138
 
131
- - [`agents/roadmaps/road-to-post-pr29-optimize.md`](../../agents/roadmaps/road-to-post-pr29-optimize.md) — P0.1, P0.1a, P0.1b
132
- - [`agents/roadmaps/road-to-pr-34-followups.md`](../../agents/roadmaps/road-to-pr-34-followups.md) — Phase 7 (budget hardening)
133
139
  - [`docs/architecture.md`](../architecture.md) — package architecture overview
134
140
  - [`rule-priority-hierarchy.md`](rule-priority-hierarchy.md) — which always-rule wins on conflict
@@ -4,9 +4,7 @@ stability: beta
4
4
 
5
5
  # ADR — Chat-history rule split
6
6
 
7
- > **Status:** Decided · 2026-05-02 · scoped under
8
- > [`road-to-post-pr29-optimize.md`](../../agents/roadmaps/archive/road-to-post-pr29-optimize.md)
9
- > Phase 2 item P2.1.
7
+ > **Status:** Decided · 2026-05-02
10
8
  > **Context:** AI #1, AI #3, AI #5 review of PR #29 flagged the
11
9
  > 200-line monolithic `rules/chat-history.md` as the rule the agent
12
10
  > revisited 12+ times during the 1.14.0 cycle — three independent
@@ -5,7 +5,6 @@ stability: stable
5
5
  # ADR — Context-Aware Command Suggestion
6
6
 
7
7
  > **Status:** Decided · Phases 1–7 shipped · 2026-04-30
8
- > **Roadmap:** [`road-to-context-aware-command-suggestion.md`](../../agents/roadmaps/road-to-context-aware-command-suggestion.md)
9
8
  > **Rule:** [`command-suggestion`](../../.agent-src.uncompressed/rules/command-suggestion-policy.md)
10
9
  > **Eligibility table:** [`command-suggestion-eligibility.md`](command-suggestion-eligibility.md)
11
10
  > **Engine:** `scripts/command_suggester/`
@@ -141,6 +140,5 @@ retirement candidates without a hard SLA.
141
140
 
142
141
  - [`command-suggestion`](../../.agent-src.uncompressed/rules/command-suggestion-policy.md) — runtime rule
143
142
  - [`command-suggestion-eligibility.md`](command-suggestion-eligibility.md) — locked eligibility table
144
- - [`road-to-context-aware-command-suggestion.md`](../../agents/roadmaps/road-to-context-aware-command-suggestion.md) — phased delivery
145
143
  - [`adr-prompt-driven-execution.md`](adr-prompt-driven-execution.md) — `/work` entrypoint that explicit slash invocations route to
146
144
  - [`agent-settings`](../../.agent-src.uncompressed/templates/agent-settings.md) — `commands.suggestion.*` reference
@@ -5,8 +5,7 @@ stability: stable
5
5
  # ADR — `/implement-ticket` runtime: Python
6
6
 
7
7
  > **Status:** Decided · Phase 0 spike closed · 2026-04-22
8
- > **Context:** [`implement-ticket-flow.md`](implement-ticket-flow.md) ·
9
- > [`road-to-implement-ticket.md`](../../agents/roadmaps/road-to-implement-ticket.md)
8
+ > **Context:** [`implement-ticket-flow.md`](implement-ticket-flow.md)
10
9
  > **Supersedes:** the `Runtime: TBD` placeholder in `implement-ticket-flow.md`.
11
10
 
12
11
  ## Decision
@@ -5,13 +5,11 @@ stability: stable
5
5
  # ADR — Product UI Track: audit-as-hard-gate, design-review loop, stack dispatch
6
6
 
7
7
  > **Status:** Decided · R3 Phases 1–6 shipped · 2026-05-01
8
- > **Context:** [`ui-track-flow.md`](ui-track-flow.md) ·
9
- > [`road-to-product-ui-track.md`](../../agents/roadmaps/road-to-product-ui-track.md) ·
10
- > [`road-to-product-ui-track-followup.md`](../../agents/roadmaps/archive/road-to-product-ui-track-followup.md)
8
+ > **Context:** [`ui-track-flow.md`](ui-track-flow.md)
11
9
  > **Builds on:** [`adr-prompt-driven-execution.md`](adr-prompt-driven-execution.md)
12
10
  > — R2 envelope routing and the band-action gate that R3 widens to UI.
13
- > **Defers to:** Roadmap 4 (`road-to-visual-review-loop.md`, stub) for
14
- > headless-browser screenshot capture and visual-regression assertions.
11
+ > **Defers to:** the visual-review-loop track for headless-browser
12
+ > screenshot capture and visual-regression assertions.
15
13
 
16
14
  ## Decision
17
15
 
@@ -315,7 +313,6 @@ the contract first costs one halt and saves an entire polish round.
315
313
  ## R4 amendment — Visual Review Loop (2026-05-01)
316
314
 
317
315
  > **Status:** Decided · R4 Phases 0–4 shipped · Phase 5 in progress
318
- > **Roadmap:** [`road-to-visual-review-loop.md`](../../agents/roadmaps/road-to-visual-review-loop.md)
319
316
 
320
317
  R4 narrows the polish-termination contract from "subjective ceiling
321
318
  only" to "subjective ceiling **plus** objective a11y block", adds a
@@ -5,12 +5,11 @@ stability: stable
5
5
  # ADR — Prompt-Driven Execution: `/work` and the confidence-band gate
6
6
 
7
7
  > **Status:** Decided · R2 Phases 1–6 shipped · 2026-04-28
8
- > **Context:** [`implement-ticket-flow.md`](implement-ticket-flow.md) ·
9
- > [`road-to-prompt-driven-execution.md`](../../agents/roadmaps/archive/road-to-prompt-driven-execution.md)
8
+ > **Context:** [`implement-ticket-flow.md`](implement-ticket-flow.md)
10
9
  > **Builds on:** [`adr-work-engine-rename.md`](adr-work-engine-rename.md) —
11
10
  > the universal-dispatcher refactor that this entrypoint slots into.
12
- > **Defers to:** Roadmap 3 (`road-to-product-ui-track.md`) for UI- and
13
- > mixed-intent prompts; this ADR is backend-only.
11
+ > **Defers to:** [`adr-product-ui-track.md`](adr-product-ui-track.md) for
12
+ > UI- and mixed-intent prompts; this ADR is backend-only.
14
13
 
15
14
  ## Decision
16
15
 
@@ -20,9 +20,9 @@ Last refreshed: 2026-04-22.
20
20
 
21
21
  ## What this doc is *not*
22
22
 
23
- - Not a replacement for
24
- [`road-to-retrieval-contract.md`](../../agents/roadmaps/agent-memory/road-to-retrieval-contract.md)
25
- — that is the spec we hand to the agent-memory implementer.
23
+ - Not a replacement for the agent-memory retrieval-contract spec —
24
+ that lives in the agent-memory package and is the spec we hand to
25
+ the implementer.
26
26
  - Not a commitment that consumer code looks exactly like this forever
27
27
  — it is a point-in-time pin.
28
28
  - Not an agent-facing skill. Humans read this when the package lands.
@@ -64,9 +64,9 @@ If the released package diverges from these names, we update
64
64
 
65
65
  ## Expected retrieval shape (present path)
66
66
 
67
- Source of truth:
68
- [`road-to-retrieval-contract.md`](../../agents/roadmaps/agent-memory/road-to-retrieval-contract.md).
69
- Consumer skills call the shared abstraction, not the package directly.
67
+ Source of truth: the retrieval-contract spec in the agent-memory
68
+ package. Consumer skills call the shared abstraction, not the package
69
+ directly.
70
70
 
71
71
  **Request** (Python):
72
72
 
@@ -139,11 +139,6 @@ holds:
139
139
 
140
140
  ## See also
141
141
 
142
- - [`road-to-memory-self-consumption.md`](../../agents/roadmaps/road-to-memory-self-consumption.md)
143
- - [`road-to-agent-memory-integration.md`](../../agents/roadmaps/road-to-agent-memory-integration.md)
144
- - [`agent-memory/road-to-retrieval-contract.md`](../../agents/roadmaps/agent-memory/road-to-retrieval-contract.md)
145
- - [`agent-memory/road-to-promotion-flow.md`](../../agents/roadmaps/agent-memory/road-to-promotion-flow.md)
146
142
  - [`memory-access guideline`](../../docs/guidelines/agent-infra/memory-access.md)
147
143
  - [`scripts/memory_status.py`](../../.agent-src.uncompressed/templates/scripts/memory_status.py)
148
144
  - [`scripts/memory_lookup.py`](../../.agent-src.uncompressed/templates/scripts/memory_lookup.py)
149
- - [`open-questions-2.md`](../../agents/roadmaps/archive/open-questions-2.md) — Q29
@@ -4,15 +4,13 @@ stability: beta
4
4
 
5
5
  # Artifact Engagement — Flow & Recording Contract
6
6
 
7
- > Cross-cutting reference for the artifact-engagement telemetry system
8
- > shipped under
9
- > [`road-to-artifact-engagement-telemetry.md`](../../agents/roadmaps/road-to-artifact-engagement-telemetry.md).
10
- > Phase 1 + 2 ship the schema, CLI, and engine. Phase 3 ships the
11
- > agent-side hooks (this document).
7
+ > Cross-cutting reference for the artifact-engagement telemetry system.
8
+ > The schema, CLI, and engine ship first; the agent-side hooks (this
9
+ > document) ship after.
12
10
  >
13
11
  > - **Created:** 2026-04-30
14
- > - **Status:** Phase 5 — schema, engine, recording, aggregator, renderer,
15
- > and redaction validator are in place. Phase 6 (dogfooding) next.
12
+ > - **Status:** schema, engine, recording, aggregator, renderer, and
13
+ > redaction validator are in place. Dogfooding next.
16
14
 
17
15
  This document is the stable reference for **what gets recorded, when, and
18
16
  under which constraints**. The roadmap tracks phased delivery; the rule
@@ -255,8 +253,7 @@ layers reject.
255
253
 
256
254
  ## See also
257
255
 
258
- - [`road-to-artifact-engagement-telemetry`](../../agents/roadmaps/road-to-artifact-engagement-telemetry.md) — phased delivery
259
256
  - [`artifact-engagement-recording`](../../.agent-src.uncompressed/rules/artifact-engagement-recording.md) — agent-side trigger
260
257
  - [`implement-ticket-flow`](implement-ticket-flow.md) — the eight-step contract this rule observes
261
258
  - [`scripts/telemetry/`](../../.agent-src.uncompressed/templates/scripts/telemetry/) — schema, boundary session, settings reader
262
- - [`tests/telemetry/`](../../tests/telemetry/) — contract enforcement (104 cases through Phase 5: schema, settings, aggregator, renderer, CLI, cost-floor, redaction)
259
+ - [`tests/telemetry/`](../../tests/telemetry/) — contract enforcement (schema, settings, aggregator, renderer, CLI, cost-floor, redaction)
@@ -4,10 +4,9 @@ stability: beta
4
4
 
5
5
  # Command-cluster contract
6
6
 
7
- > **Status:** beta — locked for `1.15.0` Phase 1 (top-3 clusters).
8
- > Phase 2 (remaining 12 clusters) waits one deprecation cycle.
9
- > Source roadmap: [`agents/roadmaps/archive/road-to-governance-cleanup.md`](../../agents/roadmaps/archive/road-to-governance-cleanup.md)
10
- > § F2.
7
+ > **Status:** beta — Phase 1 locked for `1.15.0` (top-3 clusters);
8
+ > Phase 2 locked for `1.17.0` (the remaining 12 clusters);
9
+ > Phase 3 locked for `1.17.0` (`council` cluster).
11
10
 
12
11
  The agent-config command surface collapses related atomic commands
13
12
  into **verb clusters**. A cluster is a single top-level command
@@ -21,35 +20,36 @@ linter (`scripts/lint_no_new_atomic_commands.py`) reads this file;
21
20
  new atomic commands without a `cluster:` field pointing to an
22
21
  entry below fail CI.
23
22
 
24
- ## Phase 1 clusters (locked, ship in 1.15.0)
25
-
26
- | Cluster | Sub-commands | Replaces |
27
- |---|---|---|
28
- | `fix` | `ci` · `pr` · `pr-bots` · `pr-developers` · `portability` · `refs` · `seeder` | `fix-ci` · `fix-pr-comments` · `fix-pr-bot-comments` · `fix-pr-developer-comments` · `fix-portability` · `fix-references` · `fix-seeder` |
29
- | `optimize` | `agents` · `augmentignore` · `rtk` · `skills` | `optimize-agents` · `optimize-augmentignore` · `optimize-rtk-filters` · `optimize-skills` |
30
- | `feature` | `explore` · `plan` · `refactor` · `roadmap` | `feature-explore` · `feature-plan` · `feature-refactor` · `feature-roadmap` |
31
-
32
- **Net Phase 1:** 15 atomic commands 3 cluster commands.
33
-
34
- ## Phase 2 clusters (deferred to next minor release)
35
-
36
- Listed in `road-to-governance-cleanup.md` § Finding 2. Not yet locked
37
- into the linter; new atomic commands matching these prefixes still
38
- fail CI without a `cluster:` field once a Phase 2 entry is added
39
- here.
40
-
41
- - `chat-history` (`show` · `resume` · `clear` · `checkpoint`)
42
- - `agents` (`audit` · `cleanup` · `prepare`)
43
- - `memory` (`add` · `load` · `promote` · `propose`)
44
- - `roadmap` (`create` · `execute`)
45
- - `module` (`create` · `explore`)
46
- - `tests` (`create` · `execute`)
47
- - `context` (`create` · `refactor`)
48
- - `override` (`create` · `manage`)
49
- - `copilot-agents` (`init` · `optimize`)
50
- - `commit` (flag: `--in-chunks`)
51
- - `judge` (`solo` · `steps` · `on-diff`) + standalone `/review`
52
- - `create-pr` (flag: `--description-only`)
23
+ ## Locked clusters
24
+
25
+ The full set, both phases. Linter parses every backticked name in
26
+ column 1 of this table.
27
+
28
+ | Cluster | Phase | Sub-commands | Replaces |
29
+ |---|:-:|---|---|
30
+ | `fix` | 1 | `ci` · `pr` · `pr-bots` · `pr-developers` · `portability` · `refs` · `seeder` | `fix-ci` · `fix-pr-comments` · `fix-pr-bot-comments` · `fix-pr-developer-comments` · `fix-portability` · `fix-references` · `fix-seeder` |
31
+ | `optimize` | 1 | `agents` · `augmentignore` · `rtk` · `skills` | `optimize-agents` · `optimize-augmentignore` · `optimize-rtk-filters` · `optimize-skills` |
32
+ | `feature` | 1 | `explore` · `plan` · `refactor` · `roadmap` · `dev` | `feature-explore` · `feature-plan` · `feature-refactor` · `feature-roadmap` · `feature-dev` |
33
+ | `chat-history` | 2 | `show` · `resume` · `clear` · `checkpoint` | `chat-history` (legacy status) · `chat-history-resume` · `chat-history-clear` · `chat-history-checkpoint` |
34
+ | `agents` | 2 | `audit` · `cleanup` · `prepare` | `agents-audit` · `agents-cleanup` · `agents-prepare` |
35
+ | `memory` | 2 | `add` · `load` · `promote` · `propose` | `memory-add` · `memory-full` · `memory-promote` · `propose-memory` |
36
+ | `roadmap` | 2 | `create` · `execute` | `roadmap-create` · `roadmap-execute` |
37
+ | `module` | 2 | `create` · `explore` | `module-create` · `module-explore` |
38
+ | `tests` | 2 | `create` · `execute` | `tests-create` · `tests-execute` |
39
+ | `context` | 2 | `create` · `refactor` | `context-create` · `context-refactor` |
40
+ | `override` | 2 | `create` · `manage` | `override-create` · `override-manage` |
41
+ | `copilot-agents` | 2 | `init` · `optimize` | `copilot-agents-init` · `copilot-agents-optimize` |
42
+ | `judge` | 2 | `solo` · `on-diff` · `steps` | `judge` (legacy standalone) · `do-and-judge` · `do-in-steps` |
43
+ | `commit` | 2 | `in-chunks` | `commit-in-chunks` |
44
+ | `create-pr` | 2 | `description-only` | `create-pr-description` |
45
+ | `council` | 3 | `default` · `pr` · `design` · `optimize` | `council` (legacy default lens) · `council-pr` · `council-design` · `council-optimize` |
46
+
47
+ **Net change:** Phase 1 collapsed 15 atomics → 3 clusters; Phase 2
48
+ collapses 26 atomics → 11 sub-command clusters. Sub-commands use
49
+ colon syntax (`/cluster:sub`) so Claude Code's command palette can
50
+ autocomplete them. The standalone `/review` surface that mirrors
51
+ `judge solo` lives at
52
+ [`commands/review-changes.md`](../../.agent-src.uncompressed/commands/review-changes.md).
53
53
 
54
54
  ## Frontmatter contract
55
55
 
@@ -70,7 +70,7 @@ The linter only flags **newly-added** files under `commands/`
70
70
  (git status `A`). Pre-existing commands without `cluster:` are
71
71
  grandfathered indefinitely; modifying them does NOT require adding
72
72
  the field. The goal is to stop the atomic surface from growing,
73
- not to retro-fit every legacy command into a Phase 1 cluster.
73
+ not to retro-fit every legacy command into a cluster.
74
74
 
75
75
  ## Deprecation shim contract
76
76
 
@@ -92,22 +92,24 @@ file with `superseded_by:` set.
92
92
 
93
93
  ## Removal cycle
94
94
 
95
- | State | Release |
96
- |---|---|
97
- | Cluster command shipped, shim active | `1.15.0` |
98
- | Shim emits warning, both work | `1.15.x` (one minor cycle) |
99
- | Shim removed, only cluster works | `1.16.0` |
95
+ | State | Phase 1 | Phase 2 |
96
+ |---|---|---|
97
+ | Cluster command shipped, shim active | `1.15.0` | `1.17.0` |
98
+ | Shim emits warning, both work | `1.15.x` / `1.16.x` (one minor cycle) | `1.17.x` (one minor cycle) |
99
+ | Shim removed, only cluster works | `1.17.0` (Phase 1 atomics removed alongside Phase 2 lock-in) | next minor after `1.17.x` |
100
100
 
101
- No permanent aliases. Consumers who pin a 1.15 minor get a full
102
- release window of warnings; the 1.16 release notes call out the
103
- removal explicitly.
101
+ No permanent aliases. Consumers who pin a 1.17 minor get a full
102
+ release window of warnings; the next-minor release notes call out
103
+ the removal explicitly. The 1.17.0 release ships Phase 2 cluster
104
+ locks **and** drops the seven Phase 1 atomic shims at the end of
105
+ their deprecation cycle.
104
106
 
105
107
  ## Linter behavior
106
108
 
107
109
  `scripts/lint_no_new_atomic_commands.py`:
108
110
 
109
111
  - Reads the locked cluster names from this file (parsed from the
110
- Phase 1 table above).
112
+ "Locked clusters" table above — column 1 backticks).
111
113
  - Finds every command file **added** since `--baseline`
112
114
  (default: `main`) — modifications to existing files are ignored.
113
115
  - For each new file, requires `cluster:` to be set to one of the
@@ -116,11 +118,19 @@ removal explicitly.
116
118
 
117
119
  `--all` mode (manual audit only, not in CI) lints every command
118
120
  file and surfaces grandfathered ones — useful when planning a
119
- Phase 2 cluster expansion.
121
+ future cluster expansion.
122
+
123
+ `scripts/check_cluster_patterns.py` (Phase 2 onward):
124
+
125
+ - Compares each cluster dispatcher's structure against the Phase 1
126
+ reference patterns (`commands/fix.md`, `commands/optimize.md`,
127
+ `commands/feature.md`).
128
+ - Required sections: top-of-file `# /<cluster>`, `## Sub-commands`
129
+ table with `Sub-command | Routes to | Purpose` columns, `## Dispatch`
130
+ steps, `## Migration` notice, `## Rules` block.
131
+ - Fails CI if a new cluster invents a different dispatch shape.
120
132
 
121
133
  ## See also
122
134
 
123
- - [`agents/roadmaps/archive/road-to-governance-cleanup.md`](../../agents/roadmaps/archive/road-to-governance-cleanup.md) — F2 phased-collapse decision.
124
- - [`agents/roadmaps/road-to-post-pr29-optimize.md`](../../agents/roadmaps/road-to-post-pr29-optimize.md) — P0.8 anchors this contract in 1.15.0.
125
135
  - [`docs/migrations/commands-1.15.0.md`](../migrations/commands-1.15.0.md) — user-facing migration notes.
126
136
  - [`docs/contracts/STABILITY.md`](STABILITY.md) — `beta` level rules apply.
@@ -4,8 +4,7 @@ stability: beta
4
4
 
5
5
  # Command Suggestion — Flow & Scoring Contract
6
6
 
7
- > Cross-cutting reference for the suggestion layer shipped under
8
- > [`road-to-context-aware-command-suggestion.md`](../../agents/roadmaps/road-to-context-aware-command-suggestion.md).
7
+ > Cross-cutting reference for the suggestion layer.
9
8
  > The runtime rule is [`command-suggestion`](../../.agent-src.uncompressed/rules/command-suggestion-policy.md);
10
9
  > the architectural decision lives in [`adr-command-suggestion.md`](adr-command-suggestion.md).
11
10
  >
@@ -144,5 +143,4 @@ Cursor, Cline, Windsurf) get the engine via `scripts/`.
144
143
  - [`command-suggestion`](../../.agent-src.uncompressed/rules/command-suggestion-policy.md) — runtime rule
145
144
  - [`adr-command-suggestion.md`](adr-command-suggestion.md) — architectural decision
146
145
  - [`command-suggestion-eligibility.md`](command-suggestion-eligibility.md) — locked eligibility table
147
- - [`road-to-context-aware-command-suggestion.md`](../../agents/roadmaps/road-to-context-aware-command-suggestion.md) — phased delivery
148
146
  - [`agent-settings`](../../.agent-src.uncompressed/templates/agent-settings.md) — `commands.suggestion.*` reference