@event4u/agent-config 1.20.0 → 1.21.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 (238) hide show
  1. package/.agent-src/commands/agents.md +1 -1
  2. package/.agent-src/commands/bug-fix.md +1 -1
  3. package/.agent-src/commands/bug-investigate.md +2 -2
  4. package/.agent-src/commands/chat-history/import.md +60 -64
  5. package/.agent-src/commands/compress.md +12 -0
  6. package/.agent-src/commands/context/create.md +2 -2
  7. package/.agent-src/commands/context.md +1 -1
  8. package/.agent-src/commands/copilot-agents.md +1 -1
  9. package/.agent-src/commands/council/default.md +17 -5
  10. package/.agent-src/commands/council.md +1 -1
  11. package/.agent-src/commands/e2e-heal.md +1 -1
  12. package/.agent-src/commands/e2e-plan.md +1 -1
  13. package/.agent-src/commands/feature/dev.md +3 -3
  14. package/.agent-src/commands/feature.md +1 -1
  15. package/.agent-src/commands/fix/seeder.md +2 -2
  16. package/.agent-src/commands/fix.md +1 -1
  17. package/.agent-src/commands/jira-ticket.md +1 -1
  18. package/.agent-src/commands/judge.md +2 -2
  19. package/.agent-src/commands/memory.md +1 -1
  20. package/.agent-src/commands/mode.md +5 -5
  21. package/.agent-src/commands/module.md +1 -1
  22. package/.agent-src/commands/onboard.md +4 -4
  23. package/.agent-src/commands/optimize/augmentignore.md +1 -1
  24. package/.agent-src/commands/optimize-prompt.md +61 -0
  25. package/.agent-src/commands/optimize.md +1 -1
  26. package/.agent-src/commands/override.md +1 -1
  27. package/.agent-src/commands/review-changes.md +1 -1
  28. package/.agent-src/commands/review-routing.md +1 -1
  29. package/.agent-src/commands/roadmap.md +1 -1
  30. package/.agent-src/commands/set-cost-profile.md +3 -3
  31. package/.agent-src/commands/sync-agent-settings.md +2 -2
  32. package/.agent-src/commands/tests/create.md +2 -2
  33. package/.agent-src/commands/tests.md +1 -1
  34. package/.agent-src/commands/threat-model.md +4 -4
  35. package/.agent-src/contexts/authority/commit-mechanics.md +14 -1
  36. package/.agent-src/contexts/authority/destructive-mechanics.md +14 -1
  37. package/.agent-src/contexts/authority/scope-mechanics.md +5 -0
  38. package/.agent-src/contexts/communication/rules-auto/guidelines-mechanics.md +76 -0
  39. package/.agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +1 -1
  40. package/.agent-src/contexts/communication/rules-auto/think-before-action-mechanics.md +98 -0
  41. package/.agent-src/contexts/communication/rules-auto/token-efficiency-mechanics.md +93 -0
  42. package/.agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +128 -5
  43. package/.agent-src/contexts/execution/autonomy-mechanics.md +44 -0
  44. package/.agent-src/contexts/model-recommendations.md +2 -2
  45. package/.agent-src/contexts/override-system.md +1 -1
  46. package/.agent-src/personas/product-owner.md +2 -2
  47. package/.agent-src/personas/qa.md +1 -1
  48. package/.agent-src/rules/agent-authority.md +5 -6
  49. package/.agent-src/rules/agent-docs.md +11 -53
  50. package/.agent-src/rules/analysis-skill-routing.md +10 -40
  51. package/.agent-src/rules/architecture.md +6 -1
  52. package/.agent-src/rules/artifact-drafting-protocol.md +5 -0
  53. package/.agent-src/rules/artifact-engagement-recording.md +23 -59
  54. package/.agent-src/rules/ask-when-uncertain.md +24 -47
  55. package/.agent-src/rules/augment-portability.md +14 -62
  56. package/.agent-src/rules/augment-source-of-truth.md +10 -1
  57. package/.agent-src/rules/autonomous-execution.md +17 -98
  58. package/.agent-src/rules/capture-learnings.md +9 -80
  59. package/.agent-src/rules/cli-output-handling.md +12 -42
  60. package/.agent-src/rules/command-suggestion-policy.md +25 -73
  61. package/.agent-src/rules/commit-conventions.md +9 -58
  62. package/.agent-src/rules/commit-policy.md +16 -47
  63. package/.agent-src/rules/context-hygiene.md +5 -0
  64. package/.agent-src/rules/direct-answers.md +21 -50
  65. package/.agent-src/rules/docker-commands.md +11 -45
  66. package/.agent-src/rules/docs-sync.md +10 -56
  67. package/.agent-src/rules/downstream-changes.md +5 -0
  68. package/.agent-src/rules/e2e-testing.md +9 -44
  69. package/.agent-src/rules/guidelines.md +13 -75
  70. package/.agent-src/rules/improve-before-implement.md +10 -2
  71. package/.agent-src/rules/language-and-tone.md +41 -106
  72. package/.agent-src/rules/laravel-translations.md +11 -40
  73. package/.agent-src/rules/markdown-safe-codeblocks.md +4 -0
  74. package/.agent-src/rules/minimal-safe-diff.md +4 -0
  75. package/.agent-src/rules/missing-tool-handling.md +4 -0
  76. package/.agent-src/rules/model-recommendation.md +9 -61
  77. package/.agent-src/rules/no-attribution-footers.md +5 -0
  78. package/.agent-src/rules/no-cheap-questions.md +11 -27
  79. package/.agent-src/rules/no-council-references.md +76 -0
  80. package/.agent-src/rules/no-roadmap-references.md +7 -0
  81. package/.agent-src/rules/non-destructive-by-default.md +13 -43
  82. package/.agent-src/rules/onboarding-gate.md +9 -117
  83. package/.agent-src/rules/package-ci-checks.md +10 -37
  84. package/.agent-src/rules/php-coding.md +10 -55
  85. package/.agent-src/rules/preservation-guard.md +9 -0
  86. package/.agent-src/rules/review-routing-awareness.md +9 -97
  87. package/.agent-src/rules/reviewer-awareness.md +8 -83
  88. package/.agent-src/rules/roadmap-progress-sync.md +7 -170
  89. package/.agent-src/rules/role-mode-adherence.md +6 -2
  90. package/.agent-src/rules/rule-type-governance.md +8 -66
  91. package/.agent-src/rules/runtime-safety.md +5 -0
  92. package/.agent-src/rules/scope-control.md +17 -62
  93. package/.agent-src/rules/security-sensitive-stop.md +7 -1
  94. package/.agent-src/rules/size-enforcement.md +6 -1
  95. package/.agent-src/rules/skill-improvement-trigger.md +9 -49
  96. package/.agent-src/rules/skill-quality.md +7 -113
  97. package/.agent-src/rules/slash-command-routing-policy.md +11 -63
  98. package/.agent-src/rules/think-before-action.md +22 -87
  99. package/.agent-src/rules/token-efficiency.md +10 -74
  100. package/.agent-src/rules/token-optimizer-maintenance.md +68 -0
  101. package/.agent-src/rules/tool-safety.md +4 -0
  102. package/.agent-src/rules/ui-audit-gate.md +25 -61
  103. package/.agent-src/rules/upstream-proposal.md +9 -67
  104. package/.agent-src/rules/user-interaction.md +22 -108
  105. package/.agent-src/rules/verify-before-complete.md +1 -1
  106. package/.agent-src/skills/agent-docs-writing/SKILL.md +1 -1
  107. package/.agent-src/skills/ai-council/SKILL.md +65 -0
  108. package/.agent-src/skills/analysis-autonomous-mode/SKILL.md +1 -1
  109. package/.agent-src/skills/analysis-skill-router/SKILL.md +3 -3
  110. package/.agent-src/skills/artisan-commands/SKILL.md +2 -2
  111. package/.agent-src/skills/authz-review/SKILL.md +1 -1
  112. package/.agent-src/skills/aws-infrastructure/SKILL.md +5 -5
  113. package/.agent-src/skills/blast-radius-analyzer/SKILL.md +8 -8
  114. package/.agent-src/skills/bug-analyzer/SKILL.md +5 -5
  115. package/.agent-src/skills/code-refactoring/SKILL.md +4 -4
  116. package/.agent-src/skills/code-review/SKILL.md +2 -2
  117. package/.agent-src/skills/command-writing/SKILL.md +11 -0
  118. package/.agent-src/skills/composer-packages/SKILL.md +2 -2
  119. package/.agent-src/skills/context-authoring/SKILL.md +11 -0
  120. package/.agent-src/skills/context-document/SKILL.md +1 -1
  121. package/.agent-src/skills/copilot-agents-optimization/SKILL.md +23 -0
  122. package/.agent-src/skills/copilot-config/SKILL.md +1 -1
  123. package/.agent-src/skills/dependency-upgrade/SKILL.md +2 -2
  124. package/.agent-src/skills/devcontainer/SKILL.md +2 -2
  125. package/.agent-src/skills/developer-like-execution/SKILL.md +1 -1
  126. package/.agent-src/skills/docker/SKILL.md +1 -1
  127. package/.agent-src/skills/dto-creator/SKILL.md +1 -1
  128. package/.agent-src/skills/estimate-ticket/SKILL.md +2 -2
  129. package/.agent-src/skills/fe-design/SKILL.md +4 -4
  130. package/.agent-src/skills/feature-planning/SKILL.md +5 -5
  131. package/.agent-src/skills/funnel-analysis/SKILL.md +1 -1
  132. package/.agent-src/skills/laravel/SKILL.md +1 -1
  133. package/.agent-src/skills/laravel-notifications/SKILL.md +5 -5
  134. package/.agent-src/skills/laravel-pennant/SKILL.md +1 -1
  135. package/.agent-src/skills/laravel-pulse/SKILL.md +4 -4
  136. package/.agent-src/skills/laravel-reverb/SKILL.md +2 -2
  137. package/.agent-src/skills/laravel-scheduling/SKILL.md +1 -1
  138. package/.agent-src/skills/migration-creator/SKILL.md +7 -7
  139. package/.agent-src/skills/multi-tenancy/SKILL.md +8 -8
  140. package/.agent-src/skills/performance-analysis/SKILL.md +3 -3
  141. package/.agent-src/skills/pest-testing/SKILL.md +6 -6
  142. package/.agent-src/skills/php-service/SKILL.md +2 -2
  143. package/.agent-src/skills/project-analysis-hypothesis-driven/SKILL.md +3 -3
  144. package/.agent-src/skills/project-analysis-react/SKILL.md +1 -1
  145. package/.agent-src/skills/project-analysis-symfony/SKILL.md +1 -1
  146. package/.agent-src/skills/project-analysis-zend-laminas/SKILL.md +2 -2
  147. package/.agent-src/skills/project-analyzer/SKILL.md +4 -4
  148. package/.agent-src/skills/prompt-optimizer/SKILL.md +108 -0
  149. package/.agent-src/skills/readme-reviewer/SKILL.md +1 -1
  150. package/.agent-src/skills/rule-writing/SKILL.md +33 -0
  151. package/.agent-src/skills/sentry-integration/SKILL.md +1 -1
  152. package/.agent-src/skills/skill-writing/SKILL.md +14 -0
  153. package/.agent-src/skills/terraform/SKILL.md +2 -2
  154. package/.agent-src/skills/terragrunt/SKILL.md +8 -8
  155. package/.agent-src/skills/test-performance/SKILL.md +5 -5
  156. package/.agent-src/skills/threat-modeling/SKILL.md +2 -2
  157. package/.agent-src/skills/token-optimizer/SKILL.md +110 -0
  158. package/.agent-src/skills/universal-project-analysis/SKILL.md +1 -1
  159. package/.agent-src/templates/AGENTS.md +1 -1
  160. package/.agent-src/templates/agent-settings.md +21 -16
  161. package/.agent-src/templates/contexts/tenant-boundaries.md +2 -2
  162. package/.agent-src/templates/contexts.md +1 -1
  163. package/.agent-src/templates/copilot-instructions.md +21 -0
  164. package/.agent-src/templates/copilot-review-instructions.md +76 -0
  165. package/.agent-src/templates/features.md +1 -1
  166. package/.agent-src/templates/rule.md +127 -0
  167. package/.claude-plugin/marketplace.json +4 -1
  168. package/AGENTS.md +32 -5
  169. package/CHANGELOG.md +69 -3
  170. package/README.md +22 -21
  171. package/config/agent-settings.template.yml +44 -10
  172. package/config/gitignore-block.txt +7 -0
  173. package/docs/architecture.md +86 -5
  174. package/docs/catalog.md +16 -6
  175. package/docs/contracts/agent-memory-contract.md +1 -1
  176. package/docs/contracts/context-paths.md +2 -1
  177. package/docs/contracts/file-ownership-matrix.json +354 -500
  178. package/docs/contracts/iron-law-overrides.txt +25 -0
  179. package/docs/contracts/kernel-membership.md +273 -0
  180. package/docs/contracts/load-context-schema.md +26 -11
  181. package/docs/contracts/pilot/agent-authority.md +24 -0
  182. package/docs/contracts/pilot/direct-answers.md +70 -0
  183. package/docs/contracts/pilot/language-and-tone.md +63 -0
  184. package/docs/contracts/rule-classification.md +170 -0
  185. package/docs/contracts/rule-router.md +153 -0
  186. package/docs/customization.md +17 -6
  187. package/docs/decisions/ADR-001-kernel-swap-deferred.md +109 -0
  188. package/docs/decisions/ADR-002-kernel-bucket-overrides.md +124 -0
  189. package/docs/decisions/ADR-rule-kernel-and-router.md +122 -0
  190. package/docs/getting-started.md +2 -2
  191. package/docs/guidelines/agent-infra/roadmap-progress-mechanics.md +176 -0
  192. package/docs/guidelines/agent-infra/rule-type-governance.md +73 -0
  193. package/docs/guidelines/agent-infra/size-and-scope.md +13 -2
  194. package/docs/guidelines/agent-infra/skill-quality-checklist.md +119 -0
  195. package/docs/guidelines/augment-portability-patterns.md +68 -0
  196. package/docs/guidelines/php/php-coding-patterns.md +62 -0
  197. package/package.json +1 -1
  198. package/scripts/_p43_bodies.py +235 -0
  199. package/scripts/_p43_compress.py +118 -0
  200. package/scripts/_p4_migrate.py +199 -0
  201. package/scripts/_pilot_council_question.py +57 -0
  202. package/scripts/_pilot_measure.py +53 -0
  203. package/scripts/ai_council/session.py +107 -5
  204. package/scripts/build_linear_digest.py +3 -5
  205. package/scripts/check_always_budget.py +39 -6
  206. package/scripts/check_compressed_paths.py +213 -0
  207. package/scripts/check_compression.py +15 -0
  208. package/scripts/check_context_paths.py +1 -0
  209. package/scripts/check_council_layout.py +105 -0
  210. package/scripts/check_council_references.py +145 -0
  211. package/scripts/check_portability.py +2 -0
  212. package/scripts/check_references.py +2 -0
  213. package/scripts/check_token_optimizer_freshness.py +131 -0
  214. package/scripts/compile_router.py +148 -0
  215. package/scripts/compress.py +219 -11
  216. package/scripts/council_cli.py +9 -5
  217. package/scripts/council_prune.py +81 -0
  218. package/scripts/count_token_optimizer_usage.sh +54 -0
  219. package/scripts/install.sh +44 -2
  220. package/scripts/iron_law_sha.py +98 -0
  221. package/scripts/lint_load_context.py +35 -5
  222. package/scripts/measure_rule_budget.py +314 -0
  223. package/scripts/prototype_lint_contradictions.py +150 -0
  224. package/scripts/schemas/rule.schema.json +55 -6
  225. package/scripts/skill_linter.py +196 -6
  226. package/scripts/smoke_path_resolution.py +93 -0
  227. package/scripts/validate_frontmatter.py +41 -1
  228. package/.agent-src/contexts/communication/rules-auto/artifact-engagement-recording-mechanics.md +0 -72
  229. package/.agent-src/contexts/communication/rules-auto/augment-portability-mechanics.md +0 -79
  230. package/.agent-src/contexts/communication/rules-auto/cli-output-handling-mechanics.md +0 -87
  231. package/.agent-src/contexts/communication/rules-auto/command-suggestion-policy-mechanics.md +0 -62
  232. package/.agent-src/contexts/communication/rules-auto/docs-sync-mechanics.md +0 -78
  233. package/.agent-src/contexts/communication/rules-auto/package-ci-checks-mechanics.md +0 -85
  234. package/.agent-src/contexts/communication/rules-auto/review-routing-awareness-mechanics.md +0 -65
  235. package/.agent-src/contexts/communication/rules-auto/roadmap-progress-sync-mechanics.md +0 -78
  236. package/.agent-src/contexts/communication/rules-auto/ui-audit-gate-mechanics.md +0 -53
  237. /package/{docs → .agent-src/contexts}/contracts/artifact-engagement-flow.md +0 -0
  238. /package/{docs → .agent-src/contexts}/contracts/command-suggestion-flow.md +0 -0
@@ -23,7 +23,7 @@ commands with a single entry point + sub-command dispatch.
23
23
  | `/agents prepare` | `commands/agents/prepare.md` | Scaffold the `agents/` directory structure |
24
24
 
25
25
  Sub-command names match the locked contract in
26
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
26
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
27
27
 
28
28
  ## Dispatch
29
29
 
@@ -182,4 +182,4 @@ What next?
182
182
 
183
183
  ## See also
184
184
 
185
- - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
185
+ - [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
@@ -175,5 +175,5 @@ What's next?
175
175
 
176
176
  ## See also
177
177
 
178
- - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#incident) — Incident mode output contract (Symptom / Reproduction / Minimal reversible change / Deferred verification / Follow-up commitment) — use when the bug is a live production issue with `break-glass: true`
179
- - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract for non-incident bugs
178
+ - [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md#incident) — Incident mode output contract (Symptom / Reproduction / Minimal reversible change / Deferred verification / Follow-up commitment) — use when the bug is a live production issue with `break-glass: true`
179
+ - [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract for non-incident bugs
@@ -2,31 +2,30 @@
2
2
  name: chat-history:import
3
3
  cluster: chat-history
4
4
  sub: import
5
- description: Surface prior chat-history sessions as numbered options, let the user pick exactly one, then render its entries verbatim into the current chat — selective, user-driven cross-session import
5
+ description: Surface prior chat-history sessions as a numbered table, let the user pick one, read it silently, and emit a short summary plus a resume offer — selective, user-driven cross-session import
6
6
  disable-model-invocation: true
7
7
  suggestion:
8
8
  eligible: true
9
9
  trigger_description: "import a past session into the current chat, pull a prior session into context, pick a session to read"
10
- trigger_context: "user wants to selectively pull verbatim context from one earlier session into the current one"
10
+ trigger_context: "user wants to selectively pull a prior session's context into the current one as a short summary"
11
11
  ---
12
12
  <!-- cloud_safe: noop -->
13
13
 
14
14
  # /chat-history import
15
15
 
16
16
  Read-only, **user-driven** cross-session import. Surfaces prior
17
- sessions logged in `agents/.agent-chat-history` as numbered options, the
18
- user picks **one**, the agent reads that session's entries
19
- **verbatim** and renders them in the chat. Any subsequent
20
- extraction or summarisation happens in dialogue, user-directed
21
- the agent does **not** auto-summarise, auto-import, or rewrite the
22
- user's context (Council Round 2 / R2-2 — verbatim is the honest v1
23
- contract).
17
+ sessions logged in `agents/.agent-chat-history` as a numbered table,
18
+ the user picks **one**, the agent reads that session **silently**
19
+ and emits a 2–5 sentence summary, then offers to resume the last
20
+ task from that session. The agent does **not** render entries
21
+ verbatim, auto-import, or rewrite the user's context without an
22
+ explicit instruction.
24
23
 
25
24
  This is the opt-in counterpart to the read-path filter (Phase 3 of
26
25
  `road-to-chat-history-session-isolation`): default reads stay
27
26
  session-scoped; `import` is the explicit surface for crossing the
28
- session boundary verbatim. For project-improving learnings derived
29
- from a prior session, see [`/chat-history learn`](learn.md).
27
+ session boundary. For project-improving learnings derived from a
28
+ prior session, see [`/chat-history learn`](learn.md).
30
29
 
31
30
  ## When NOT to use
32
31
 
@@ -70,33 +69,35 @@ If the array is empty, stop:
70
69
  > 📒 No prior sessions found in agents/.agent-chat-history.
71
70
  ```
72
71
 
73
- ### 3. Surface as numbered options
72
+ ### 3. Surface as a numbered table
74
73
 
75
- Render each session as a numbered option (per the `user-interaction`
76
- rule Iron Law: numbered options for any picker). Lead with the
77
- helper's `summary` field — that is the rough arc the user picks by
78
- (`<first user msg> <last user msg>` for normal sessions, or
79
- `(N entries — no user prompts; t-mix: …)` for tool-only sessions).
80
- The session `id` is noise to humans; keep it **internal** for step
81
- 5's `read --session <id>` call and never render it in the listing.
74
+ Render the sessions as a markdown table the row number is the
75
+ option (per `user-interaction` Iron Law: numbered options for any
76
+ picker). The session `id` is noise to humans; keep it **internal**
77
+ for step 5's `read --session <id>` call and never render it.
82
78
  Format:
83
79
 
84
80
  ```
85
- > Pick a session to import verbatim:
86
- >
87
- > 1. {summary}
88
- > {YYYY-MM-DD HH:MM} · {count} entries
89
- > 2. ...
90
- > ...
91
- > N. abort — do not read any session
81
+ Pick a session to import:
82
+
83
+ | # | Date | Entries | Summary |
84
+ |----|------------------|---------|---------|
85
+ | 1 | YYYY-MM-DD HH:MM | N | {summary} |
86
+ | 2 | YYYY-MM-DD HH:MM | N | {summary} |
87
+ | … | | | |
88
+ | N | — | — | abort — do not read any session |
92
89
  ```
93
90
 
94
91
  Format the timestamp as `YYYY-MM-DD HH:MM` (drop seconds and
95
- timezone — the listing is for orientation, not forensics). Do
96
- **not** truncate or rewrite `summary` — the helper already shapes
97
- it. Always include an explicit abort option as the last numbered
98
- choice. Track option-number `id` internally so step 5 can call
99
- `scripts/chat_history.py read --session <id>` with the right id.
92
+ timezone — the listing is for orientation, not forensics). Lead the
93
+ `Summary` cell with the helper's `summary` field that is the
94
+ rough arc the user picks by (`<first user msg> → <last user msg>`
95
+ for normal sessions, or `(N entries no user prompts; t-mix: …)`
96
+ for tool-only sessions). Do **not** truncate or rewrite `summary`
97
+ markdown table wrap handles long values. Always include an explicit
98
+ `abort` row as the last numbered option. Track option-number → `id`
99
+ internally so step 5 can call `scripts/chat_history.py read
100
+ --session <id>` with the right id.
100
101
 
101
102
  ### 4. Wait for the pick
102
103
 
@@ -106,51 +107,46 @@ default. Wait for the user's response.
106
107
 
107
108
  If the user picks the abort option, stop without reading.
108
109
 
109
- ### 5. Read the picked session verbatim
110
+ ### 5. Read the picked session silently
110
111
 
111
- Run `scripts/chat_history.py read --session <id>` with the picked
112
- `id`. The helper returns the entries as JSON.
112
+ Run `scripts/chat_history.py read --session <id> --last <count>`,
113
+ where `<count>` is the picked row's `count` from step 2. The
114
+ `--last` flag is **required** — the helper defaults to 5 entries,
115
+ which would silently truncate any longer session. The helper returns
116
+ the entries as JSON.
113
117
 
114
- Render them **verbatim** in the chat do not summarise, do not
115
- re-format, do not drop fields. One entry per line is acceptable;
116
- preserve `t`, `text`, `name`, `ts`, and any other fields the helper
117
- emits. Use a fenced block so timestamps and JSON survive markdown
118
- rendering:
118
+ **Do not render the entries.** The verbose dump was reversed by the
119
+ user token cost and scroll fatigue outweighed the verbatim
120
+ contract. Read the JSON in-context, then proceed to step 6.
119
121
 
120
- ````
121
- > 📒 Session {id} — {count} entries
122
+ ### 6. Summarise and offer to resume
122
123
 
123
- ```json
124
- {...entry 1...}
125
- {...entry 2...}
126
- ...
127
- ```
128
- ````
129
-
130
- If the session is large (>50 entries), still render verbatim — but
131
- prepend a one-line note that the listing is long, so the user can
132
- scroll. Do not silently truncate.
133
-
134
- ### 6. Hand back
124
+ Emit a **2–5 sentence** summary of the picked session: the topic,
125
+ what was decided or built, and where it left off (the last task in
126
+ progress, if any). Plain prose — no bullets, no headings, no
127
+ verbatim quotes.
135
128
 
136
- After rendering, **do not** auto-act on the content. Hand back to
137
- the user with a short prompt:
129
+ Then offer the resume choice as numbered options
130
+ (per `user-interaction`), one question per turn:
138
131
 
139
132
  ```
140
- > Picked session is rendered above. What would you like to extract?
133
+ 1. resume pick up the last task from that session
134
+ 2. stop — keep the summary in context, do nothing else
141
135
  ```
142
136
 
143
- Any follow-up (extract decisions, copy specific entries into the
144
- current session, etc.) is user-directed in subsequent turns. The
145
- agent does not write to the current session's log on the user's
146
- behalf without an explicit instruction.
137
+ Wait for the pick. Do **not** auto-resume. If the user picks
138
+ `resume`, hand off to the relevant skill or command for that work;
139
+ do not silently start editing files. The agent does not write to
140
+ the current session's log on the user's behalf without an explicit
141
+ instruction.
147
142
 
148
143
  ## Gotchas
149
144
 
150
- - **Verbatim, not structured.** Council Round 2 (R2-2) resolved an
151
- earlier contradiction in favour of verbatim. Do not "helpfully"
152
- pre-summarise the user reads the source, then directs the
153
- extraction.
145
+ - **Summary, not verbatim.** Earlier Council R2-2 favoured verbatim
146
+ rendering; reversed in practice too slow, too token-expensive.
147
+ The agent reads the picked session in-context and emits a 2–5
148
+ sentence summary. Verbatim rendering is no longer part of the
149
+ contract.
154
150
  - **One pick per invocation.** Multi-pick is v2. If the user wants
155
151
  a second session, run `/chat-history import` again.
156
152
  - **Read-only.** This command never writes to `agents/.agent-chat-history`
@@ -50,6 +50,18 @@ For each changed `.md` file:
50
50
  pleasantries, hedging, connective fluff (however, furthermore, additionally),
51
51
  redundant wording, obvious framework knowledge, repeated explanations, decorative prose
52
52
  - **Shorten:** "in order to" → "to", "make sure to" → "ensure", use short synonyms
53
+ - **Abbreviate** common terms when context unambiguous: `DB`, `auth`,
54
+ `config`, `req`, `res`, `fn`, `impl`, `env`, `deps`, `ctx`. Skip on
55
+ first occurrence of the concept in the file, or when the
56
+ abbreviation collides with a domain term (`auth` stays
57
+ `authentication` inside an auth-module file). Never abbreviate
58
+ inside code blocks, frontmatter, file paths, command strings, or
59
+ Iron Law fenced blocks.
60
+ - **Arrows for causality:** `X causes Y` / `X leads to Y` / `X, then Y`
61
+ → `X → Y`. Keep arrows out of code blocks, frontmatter, and Iron
62
+ Law fenced blocks; surrounding prose only. (Example phrases
63
+ backticked on purpose — inline-code protection skips them; never
64
+ strip the backticks.)
53
65
  - **Fragments OK:** "Run tests before commit" not "You should always run tests before committing"
54
66
  - **Drop:** "you should", "make sure to", "remember to" — state action directly
55
67
  - **Merge** redundant bullets that say the same thing differently
@@ -76,9 +76,9 @@ Based on the type, analyze the relevant code area:
76
76
  - Identify all models and tables involved
77
77
 
78
78
  **Service context:**
79
- - Read the service class and its dependencies
79
+ - Read the service class and its deps
80
80
  - Trace call chain (who calls it, what it calls)
81
- - Identify configuration and env dependencies
81
+ - Identify configuration and env deps
82
82
 
83
83
  **Integration context:**
84
84
  - Find API client classes, HTTP calls
@@ -22,7 +22,7 @@ commands with a single entry point + sub-command dispatch.
22
22
  | `/context refactor` | `commands/context/refactor.md` | Analyze, update, and extend an existing context document |
23
23
 
24
24
  Sub-command names match the locked contract in
25
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
25
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
26
26
 
27
27
  ## Dispatch
28
28
 
@@ -22,7 +22,7 @@ standalone commands with a single entry point + sub-command dispatch.
22
22
  | `/copilot-agents optimize` | `commands/copilot-agents/optimize.md` | Refactor existing AGENTS.md and copilot-instructions.md for line budgets |
23
23
 
24
24
  Sub-command names match the locked contract in
25
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
25
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
26
26
 
27
27
  ## Dispatch
28
28
 
@@ -30,11 +30,17 @@ The user invoked `/council default` on exactly one input mode:
30
30
  Optional invocation flag: `mode:api|manual` overrides the per-member
31
31
  and global mode for this call only (see Step 2.5).
32
32
 
33
- Optional **rounds**: `rounds:N` (1-3) enables multi-round debate. Round
34
- 1 sees the artefact alone. Round 2+ sees the artefact plus anonymised
35
- critiques from the previous round (provider/model identity stripped).
36
- Total spend = N × single-round cost; surface this in the cost gate.
37
- Default `rounds:1`.
33
+ Optional **rounds**: `rounds:N` (1-3) overrides the multi-round debate
34
+ count. Round 1 sees the artefact alone. Round 2+ sees the artefact plus
35
+ anonymised critiques from the previous round (provider/model identity
36
+ stripped). Total spend = N × single-round cost; surface in cost gate.
37
+
38
+ Default comes from `ai_council.min_rounds` in `.agent-settings.yml`
39
+ (default `2` so members critique each other at least once before
40
+ convergence). **Do NOT ask "how many rounds?"** when `rounds:N` is
41
+ unset or `N <= min_rounds` — proceed with the settings default. Ask
42
+ only when the artefact is genuinely complex; surface as a numbered
43
+ choice with the cost delta.
38
44
 
39
45
  Optional **mode_override**: `mode_override=pr|design|optimize` swaps
40
46
  the system-prompt addendum for one of the specialised lenses
@@ -133,6 +139,12 @@ Once the user picks `1`, invoke the same arguments with `run` plus
133
139
  [--original-ask "<framing sentence>"]
134
140
  ```
135
141
 
142
+ `--rounds` defaults to `ai_council.min_rounds` from
143
+ `.agent-settings.yml` (or `2` if unset). Pass `--rounds N` only when
144
+ the user explicitly asked for a different count or a complex
145
+ artefact justifies more depth — do not pass `--rounds 1` to "save
146
+ money" by default; settings owner already chose `min_rounds`.
147
+
136
148
  The CLI:
137
149
 
138
150
  - bundles the artefact via `scripts.ai_council.bundler` (redaction +
@@ -26,7 +26,7 @@ sub-command swaps the mode-specific addendum.
26
26
  | `/council optimize` | `commands/council/optimize.md` | Run the council on an optimization target — ranked, evidence-based suggestions |
27
27
 
28
28
  Sub-command names match the locked contract in
29
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
29
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
30
30
 
31
31
  ## Dispatch
32
32
 
@@ -21,7 +21,7 @@ suggestion:
21
21
  > 2. Fix a specific test file — which one?
22
22
  > 3. Fix tests that failed in CI — provide the CI run URL or error output
23
23
 
24
- - Read the Playwright guideline: `../../docs/guidelines/e2e/playwright.md`
24
+ - Read the Playwright guideline: `../docs/guidelines/e2e/playwright.md`
25
25
 
26
26
  ### 2. Run failing tests
27
27
 
@@ -21,7 +21,7 @@ suggestion:
21
21
  > 2. Which feature area? (e.g., "checkout flow", "user settings", or "all visible flows")
22
22
  > 3. Is there an existing seed/setup file? (e.g., `tests/e2e/fixtures/auth.ts`)
23
23
 
24
- - Read the Playwright guideline: `../../docs/guidelines/e2e/playwright.md`
24
+ - Read the Playwright guideline: `../docs/guidelines/e2e/playwright.md`
25
25
  - Check for existing test plans in `specs/` or `tests/e2e/specs/`.
26
26
 
27
27
  ### 2. Explore the application
@@ -78,15 +78,15 @@ Do NOT use for single-line fixes, trivial changes, or urgent hotfixes.
78
78
  ### Phase 5: Implementation
79
79
 
80
80
  1. **Wait for explicit approval** before writing code.
81
- 2. Create a task list with all implementation steps.
81
+ 2. Create a task list with all impl steps.
82
82
  3. Follow chosen architecture from Phase 4.
83
83
  4. Follow codebase conventions strictly (read guidelines).
84
84
  5. Update task list as progress is made.
85
- 6. Write tests alongside the implementation.
85
+ 6. Write tests alongside the impl.
86
86
 
87
87
  ### Phase 6: Quality Review
88
88
 
89
- 1. Review the implementation for:
89
+ 1. Review the impl for:
90
90
  - **Simplicity & DRY** — is the code as simple as possible?
91
91
  - **Correctness** — are there logic errors or missing edge cases?
92
92
  - **Conventions** — does it follow project patterns?
@@ -27,7 +27,7 @@ commands with a single entry point + sub-command dispatch.
27
27
  ## Workflow ordering
28
28
 
29
29
  Typical sequence: `explore` → `plan` → `roadmap` → `dev` (or per-step
30
- implementation). Use `refactor` whenever an existing plan needs an update.
30
+ impl). Use `refactor` whenever an existing plan needs an update.
31
31
 
32
32
  ## Dispatch
33
33
 
@@ -63,9 +63,9 @@ where the seeder class is NOT the owner of the data file.
63
63
 
64
64
  ### Known Exceptions
65
65
 
66
- Currently there are **no exceptions**. All circular dependencies have been resolved.
66
+ Currently there are **no exceptions**. All circular deps have been resolved.
67
67
 
68
- **Pattern for resolving circular dependencies:** Use two-phase seeding. The data file seeds
68
+ **Pattern for resolving circular deps:** Use two-phase seeding. The data file seeds
69
69
  records with placeholder values (e.g., empty arrays). The Seeder's `run()` method then updates
70
70
  records with the real values using `getReference()`. Since `run()` is called after all seeders
71
71
  are initialized, the circular dependency is broken.
@@ -27,7 +27,7 @@ with a single entry point + sub-command dispatch.
27
27
  | `/fix pr-developers` | `commands/fix/pr-developers.md` | Fix and reply to **human** reviewer comments only |
28
28
 
29
29
  Sub-command names match the locked contract in
30
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
30
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
31
31
 
32
32
  ## Dispatch
33
33
 
@@ -72,4 +72,4 @@ suggestion:
72
72
 
73
73
  ## See also
74
74
 
75
- - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
75
+ - [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md#developer) — Developer mode output contract (Goal / Plan / Changes / Tests / Open questions)
@@ -23,7 +23,7 @@ commands with a single entry point + sub-command dispatch.
23
23
  | `/judge steps` | `commands/judge/steps.md` | Execute an ordered plan step by step, judge gate between steps |
24
24
 
25
25
  Sub-command names match the locked contract in
26
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
26
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
27
27
  The standalone reviewer surface lives at [`/review`](review-changes.md).
28
28
 
29
29
  ## Dispatch
@@ -51,4 +51,4 @@ The standalone reviewer surface lives at [`/review`](review-changes.md).
51
51
 
52
52
  - [`subagent-orchestration`](../skills/subagent-orchestration/SKILL.md)
53
53
  - [`/review`](review-changes.md) — human-oriented self-review (Reviewer-mode contract)
54
- - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#reviewer)
54
+ - [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md#reviewer)
@@ -24,7 +24,7 @@ commands with a single entry point + sub-command dispatch.
24
24
  | `/memory propose` | `commands/memory/propose.md` | Append a provisional signal to the intake stream |
25
25
 
26
26
  Sub-command names match the locked contract in
27
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
27
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
28
28
 
29
29
  ## Dispatch
30
30
 
@@ -11,7 +11,7 @@ suggestion:
11
11
 
12
12
  Sets `roles.active_role` in `.agent-settings.yml` and surfaces the active
13
13
  contract before any work. Six modes are defined in
14
- [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md):
14
+ [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md):
15
15
 
16
16
  - `developer` · `reviewer` · `tester` · `po` · `incident` · `planner`
17
17
 
@@ -37,7 +37,7 @@ Anything else: refuse. List the valid values and stop.
37
37
 
38
38
  ### 2. Validate the mode name
39
39
 
40
- Read [`role-contracts.md`](../../docs/guidelines/agent-infra/role-contracts.md).
40
+ Read [`role-contracts.md`](../docs/guidelines/agent-infra/role-contracts.md).
41
41
  Extract H3 headings under `## Contract skeletons` and lowercase them.
42
42
  If `<name>` is not in that set, refuse and print the valid list.
43
43
 
@@ -62,7 +62,7 @@ exactly what the contract demands.
62
62
  ### 5. Write the active role
63
63
 
64
64
  Update `roles.active_role` in `.agent-settings.yml` using the
65
- [section-aware merge rules](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
65
+ [section-aware merge rules](../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
66
66
  (preserve comments, preserve key order, touch only the changed field).
67
67
 
68
68
  For `/mode none`: set `active_role: ""`.
@@ -118,7 +118,7 @@ For `/mode` (status only):
118
118
 
119
119
  ## See also
120
120
 
121
- - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md) — the six modes
121
+ - [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md) — the six modes
122
122
  - [`role-mode-adherence`](../rules/role-mode-adherence.md) — closing-output gate
123
- - [`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md) — merge rules for settings edits
123
+ - [`layered-settings`](../docs/guidelines/agent-infra/layered-settings.md) — merge rules for settings edits
124
124
  - [`ask-when-uncertain`](../rules/ask-when-uncertain.md) — never invent modes
@@ -22,7 +22,7 @@ commands with a single entry point + sub-command dispatch.
22
22
  | `/module explore` | `commands/module/explore.md` | Load a module's structure, docs, and context into the conversation |
23
23
 
24
24
  Sub-command names match the locked contract in
25
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
25
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
26
26
 
27
27
  ## Dispatch
28
28
 
@@ -25,7 +25,7 @@ Triggered by the [`onboarding-gate`](../rules/onboarding-gate.md) rule when
25
25
  - Change cost profile only → [`/set-cost-profile`](set-cost-profile.md).
26
26
  - Single-value edit → ask the agent to change it, or edit
27
27
  `.agent-settings.yml` directly. The agent follows the merge rules in
28
- [`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md).
28
+ [`layered-settings`](../docs/guidelines/agent-infra/layered-settings.md).
29
29
 
30
30
  ## Preconditions
31
31
 
@@ -134,7 +134,7 @@ template — `minimal` + `skill_improvement: true`):
134
134
 
135
135
  Write `onboarding.onboarded: true` to `.agent-settings.yml` using the
136
136
  section-aware merge rules from
137
- [`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
137
+ [`layered-settings`](../docs/guidelines/agent-infra/layered-settings.md#section-aware-merge-rules)
138
138
  (preserve comments, key order, touch only the changed fields).
139
139
 
140
140
  ### 8. Summary
@@ -174,7 +174,7 @@ and stays off unless explicitly enabled.
174
174
 
175
175
  The log is local-only JSONL — nothing uploaded, nothing shared across
176
176
  projects. Reports: ./agent-config telemetry:report
177
- Contract + privacy floor: docs/contracts/artifact-engagement-flow.md
177
+ Contract + privacy floor: .augment/contexts/contracts/artifact-engagement-flow.md
178
178
  ```
179
179
 
180
180
  Skip this block in cloud surfaces (no settings file, no log path).
@@ -200,5 +200,5 @@ local-agent concern; the cloud agent should proceed without invoking it.
200
200
 
201
201
  - [`onboarding-gate`](../rules/onboarding-gate.md) — rule that triggers this command
202
202
  - [`set-cost-profile`](set-cost-profile.md) — isolated profile change
203
- - [`layered-settings`](../../docs/guidelines/agent-infra/layered-settings.md) — merge rules for mid-life edits
203
+ - [`layered-settings`](../docs/guidelines/agent-infra/layered-settings.md) — merge rules for mid-life edits
204
204
  - [`agent-settings` template](../templates/agent-settings.md) — settings reference
@@ -261,7 +261,7 @@ echo "Rules ignored: $rules_count"
261
261
  - **Lock files are always ignored** — they're huge and provide zero code insight.
262
262
  - **IDE helpers are always ignored** — generated, 20k+ lines, stale quickly.
263
263
  - **When in doubt, ignore files** — false positive is easy to fix, false negative wastes tokens silently.
264
- - **When in doubt, keep skills** — ignoring a needed skill causes bad output, keeping an unneeded one just wastes ~3 lines.
264
+ - **When in doubt, keep skills** — ignoring a needed skill bad output, keeping an unneeded one just wastes ~3 lines.
265
265
  - **Never ignore always-active rules** — only auto-loaded rules (those with `description` frontmatter) may be ignored.
266
266
  - **Never ignore meta/agent-system skills** — `agent-docs-writing-writing`, `commands`, `context-create`, `override-management`, `guidelines`, `project-docs`, `roadmap-management`, `naming`, `skill-reviewer`, `file-editor`, `copilot-config`, `copilot-agents-optimization`.
267
267
  - **Restore previously ignored skills** when the stack changes (e.g., Vue added to project → restore `vue` skill).
@@ -0,0 +1,61 @@
1
+ ---
2
+ name: optimize-prompt
3
+ cluster: optimize
4
+ description: "Optimize a raw prompt for ChatGPT, Claude, Gemini, or another AI via the 4-D methodology — BASIC vs DETAIL auto-detect, one clarifying question per turn, returns the polished prompt."
5
+ disable-model-invocation: true
6
+ skills: [prompt-optimizer]
7
+ suggestion:
8
+ eligible: true
9
+ trigger_description: "optimize this prompt, make it better for ChatGPT, rewrite for Claude, sharpen this AI prompt"
10
+ trigger_context: "user pastes a rough prompt or names a target AI and asks for it to be improved"
11
+ ---
12
+
13
+ # /optimize-prompt
14
+
15
+ Entry point for the [`prompt-optimizer`](../skills/prompt-optimizer/SKILL.md) skill (persona: **Lyra**). Use when the user wants a polished prompt to paste into an external AI — not when they want the answer that prompt would produce.
16
+
17
+ ## Welcome
18
+
19
+ On the first turn (or whenever the user invokes `/optimize-prompt` with no prompt body), respond with:
20
+
21
+ ```
22
+ Hi! I'm Lyra, your AI prompt optimizer.
23
+
24
+ Tell me:
25
+ 1. Your target AI — ChatGPT · Claude · Gemini · Perplexity · Other
26
+ 2. Your prompt style — DETAIL (I'll ask one question at a time first) or BASIC (I'll apply smart defaults and return the optimized prompt immediately)
27
+
28
+ Examples
29
+ - "DETAIL using ChatGPT — write me a marketing email"
30
+ - "BASIC using Claude — help with my resume"
31
+
32
+ Or just paste your rough prompt — I'll auto-detect the mode and announce it.
33
+ ```
34
+
35
+ Render the welcome **once** per session. If the user invokes `/optimize-prompt <prompt>` directly, skip the welcome and run the skill.
36
+
37
+ ## Instructions
38
+
39
+ ### 1. Parse input
40
+
41
+ Three input shapes:
42
+
43
+ 1. `/optimize-prompt` (no body) → render welcome, wait.
44
+ 2. `/optimize-prompt <prompt>` → load the skill, run mode auto-detect, proceed.
45
+ 3. `/optimize-prompt DETAIL|BASIC [using <AI>] — <prompt>` → load the skill, honor the explicit mode + target AI, proceed.
46
+
47
+ ### 2. Delegate to the skill
48
+
49
+ Load [`prompt-optimizer`](../skills/prompt-optimizer/SKILL.md) and follow its `## Procedure` verbatim. The skill owns mode detection, the 4-D methodology, the output format, and gotchas.
50
+
51
+ ### 3. Hand back
52
+
53
+ After the optimized prompt is delivered, end the turn. Do **not** propose to also execute the optimized prompt. Do **not** offer to commit, push, or save the result to a file — this is conversational output the user copies elsewhere.
54
+
55
+ ## Rules
56
+
57
+ - **One question per turn** — DETAIL mode iterates; never batch clarifications (`ask-when-uncertain`).
58
+ - **No auto-execution** — produce the prompt, not the answer it would generate, unless the user explicitly asks for both.
59
+ - **No file writes** — the skill is conversational; no commits, no roadmap edits, no `agents/` writes.
60
+ - **Welcome once** — don't re-render the welcome on every turn within the same session.
61
+ - **Mirror the user's language** — the optimized prompt body uses the language the user wrote in; the skill's own scaffolding (mode announcement, "what changed" labels) stays English when the user is in English, German when they're in German (`language-and-tone` Iron Law).
@@ -24,7 +24,7 @@ commands with a single entry point + sub-command dispatch.
24
24
  | `/optimize rtk` | `commands/optimize/rtk.md` | Create or refine project-local rtk filters |
25
25
 
26
26
  Sub-command names match the locked contract in
27
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
27
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
28
28
 
29
29
  ## Dispatch
30
30
 
@@ -22,7 +22,7 @@ commands with a single entry point + sub-command dispatch.
22
22
  | `/override manage` | `commands/override/manage.md` | Review, update, and refactor existing overrides |
23
23
 
24
24
  Sub-command names match the locked contract in
25
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
25
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
26
26
 
27
27
  ## Dispatch
28
28
 
@@ -175,7 +175,7 @@ or the equivalent configured command).
175
175
  - [`/do-and-judge`](do-and-judge.md) — implementer + judge loop for a single change
176
176
  - [`/judge`](judge.md) — standalone judge, no review-changes dispatch
177
177
  - [`code-review`](../skills/code-review/SKILL.md) — human-oriented review patterns (tone, feedback handling)
178
- - [`role-contracts`](../../docs/guidelines/agent-infra/role-contracts.md#reviewer) — Reviewer mode output contract (Summary / Risks / Findings / Required actions / Verdict)
178
+ - [`role-contracts`](../docs/guidelines/agent-infra/role-contracts.md#reviewer) — Reviewer mode output contract (Summary / Risks / Findings / Required actions / Verdict)
179
179
 
180
180
  ## References
181
181
 
@@ -107,7 +107,7 @@ After the block, ask:
107
107
  - [`reviewer-awareness`](../rules/reviewer-awareness.md) — role vocabulary
108
108
  - [`review-routing-awareness`](../rules/review-routing-awareness.md) —
109
109
  data-source rules
110
- - [`review-routing-data-format`](../../docs/guidelines/agent-infra/review-routing-data-format.md)
110
+ - [`review-routing-data-format`](../docs/guidelines/agent-infra/review-routing-data-format.md)
111
111
  — YAML schemas
112
112
  - [`create-pr-description`](../skills/create-pr-description/SKILL.md) —
113
113
  consumes the routing block
@@ -22,7 +22,7 @@ commands with a single entry point + sub-command dispatch.
22
22
  | `/roadmap execute` | `commands/roadmap/execute.md` | Read and interactively execute a roadmap |
23
23
 
24
24
  Sub-command names match the locked contract in
25
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
25
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
26
26
 
27
27
  ## Dispatch
28
28