@event4u/agent-config 8.13.0 → 9.0.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 (279) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +136 -0
  3. package/README.md +1 -1
  4. package/dist/agent-src/commands/agent-handoff.md +35 -0
  5. package/dist/agent-src/commands/agents/init.md +1 -0
  6. package/dist/agent-src/commands/agents/optimize.md +1 -0
  7. package/dist/agent-src/commands/agents/user/accept.md +3 -2
  8. package/dist/agent-src/commands/agents/user/init.md +5 -4
  9. package/dist/agent-src/commands/agents/user/update.md +3 -2
  10. package/dist/agent-src/commands/agents/user.md +1 -0
  11. package/dist/agent-src/commands/agents.md +1 -0
  12. package/dist/agent-src/commands/analytics/show.md +1 -0
  13. package/dist/agent-src/commands/analytics.md +1 -0
  14. package/dist/agent-src/commands/analyze/decision.md +1 -0
  15. package/dist/agent-src/commands/analyze/incident.md +1 -0
  16. package/dist/agent-src/commands/analyze/near-miss.md +1 -0
  17. package/dist/agent-src/commands/analyze/postmortem.md +1 -0
  18. package/dist/agent-src/commands/analyze/premortem.md +1 -0
  19. package/dist/agent-src/commands/analyze/reference-repo.md +1 -0
  20. package/dist/agent-src/commands/analyze.md +3 -2
  21. package/dist/agent-src/commands/brand/identity.md +6 -5
  22. package/dist/agent-src/commands/brand/review.md +6 -5
  23. package/dist/agent-src/commands/brand/strategy.md +6 -4
  24. package/dist/agent-src/commands/brand/tokens.md +7 -6
  25. package/dist/agent-src/commands/brand/voice.md +5 -4
  26. package/dist/agent-src/commands/brand.md +9 -7
  27. package/dist/agent-src/commands/bug/fix.md +1 -0
  28. package/dist/agent-src/commands/bug/investigate.md +1 -0
  29. package/dist/agent-src/commands/bug.md +2 -1
  30. package/dist/agent-src/commands/challenge-me/vision.md +1 -0
  31. package/dist/agent-src/commands/challenge-me/with-docs.md +1 -0
  32. package/dist/agent-src/commands/challenge-me.md +28 -6
  33. package/dist/agent-src/commands/chat-history.md +1 -0
  34. package/dist/agent-src/commands/check-current-md.md +1 -0
  35. package/dist/agent-src/commands/commit.md +1 -0
  36. package/dist/agent-src/commands/context/create.md +3 -2
  37. package/dist/agent-src/commands/context.md +1 -0
  38. package/dist/agent-src/commands/cost/profile.md +1 -0
  39. package/dist/agent-src/commands/cost.md +2 -1
  40. package/dist/agent-src/commands/council/analysis.md +1 -0
  41. package/dist/agent-src/commands/council/debate.md +1 -0
  42. package/dist/agent-src/commands/council/default.md +21 -20
  43. package/dist/agent-src/commands/council/design.md +1 -0
  44. package/dist/agent-src/commands/council/optimize.md +1 -0
  45. package/dist/agent-src/commands/council/pr.md +1 -0
  46. package/dist/agent-src/commands/council.md +1 -0
  47. package/dist/agent-src/commands/estimate-ticket.md +1 -0
  48. package/dist/agent-src/commands/feature/dev.md +1 -0
  49. package/dist/agent-src/commands/feature/explore.md +1 -0
  50. package/dist/agent-src/commands/feature/plan.md +1 -0
  51. package/dist/agent-src/commands/feature/refactor.md +1 -0
  52. package/dist/agent-src/commands/feature/roadmap.md +1 -0
  53. package/dist/agent-src/commands/feature.md +2 -1
  54. package/dist/agent-src/commands/fix/pr-comments.md +19 -0
  55. package/dist/agent-src/commands/fix.md +2 -1
  56. package/dist/agent-src/commands/ghostwriter/delete.md +1 -0
  57. package/dist/agent-src/commands/ghostwriter/fetch.md +1 -0
  58. package/dist/agent-src/commands/ghostwriter/show.md +1 -0
  59. package/dist/agent-src/commands/ghostwriter/write.md +1 -0
  60. package/dist/agent-src/commands/ghostwriter.md +1 -0
  61. package/dist/agent-src/commands/grill-me.md +17 -12
  62. package/dist/agent-src/commands/humanize.md +1 -0
  63. package/dist/agent-src/commands/image/analyse.md +2 -1
  64. package/dist/agent-src/commands/image/create.md +1 -0
  65. package/dist/agent-src/commands/image/verify.md +1 -0
  66. package/dist/agent-src/commands/image.md +16 -12
  67. package/dist/agent-src/commands/implement-ticket.md +1 -0
  68. package/dist/agent-src/commands/judge/on-diff.md +1 -0
  69. package/dist/agent-src/commands/judge/solo.md +1 -0
  70. package/dist/agent-src/commands/judge/steps.md +1 -0
  71. package/dist/agent-src/commands/judge.md +1 -0
  72. package/dist/agent-src/commands/knowledge/cross-repo.md +1 -0
  73. package/dist/agent-src/commands/knowledge/forget.md +1 -0
  74. package/dist/agent-src/commands/knowledge/ingest.md +1 -0
  75. package/dist/agent-src/commands/knowledge/list.md +10 -0
  76. package/dist/agent-src/commands/knowledge.md +1 -0
  77. package/dist/agent-src/commands/memory/learn-low-impact.md +1 -0
  78. package/dist/agent-src/commands/memory/mine-session.md +1 -0
  79. package/dist/agent-src/commands/memory/promote.md +3 -2
  80. package/dist/agent-src/commands/memory.md +1 -0
  81. package/dist/agent-src/commands/mission/upgrade.md +45 -24
  82. package/dist/agent-src/commands/mode.md +1 -0
  83. package/dist/agent-src/commands/module/create.md +1 -0
  84. package/dist/agent-src/commands/module/explore.md +1 -0
  85. package/dist/agent-src/commands/module.md +1 -0
  86. package/dist/agent-src/commands/optimize/agents-dir.md +1 -0
  87. package/dist/agent-src/commands/optimize/project.md +1 -0
  88. package/dist/agent-src/commands/optimize/prompt.md +1 -0
  89. package/dist/agent-src/commands/optimize.md +2 -1
  90. package/dist/agent-src/commands/orchestrate.md +1 -0
  91. package/dist/agent-src/commands/override.md +1 -0
  92. package/dist/agent-src/commands/package.md +2 -1
  93. package/dist/agent-src/commands/post-as/ghostwriter.md +1 -0
  94. package/dist/agent-src/commands/post-as/me.md +1 -0
  95. package/dist/agent-src/commands/post-as.md +1 -0
  96. package/dist/agent-src/commands/pr/create/description-only.md +1 -0
  97. package/dist/agent-src/commands/pr/create.md +19 -17
  98. package/dist/agent-src/commands/prediction-pool.md +7 -6
  99. package/dist/agent-src/commands/prepare-for-review.md +1 -0
  100. package/dist/agent-src/commands/profile/activate.md +1 -0
  101. package/dist/agent-src/commands/profile/deactivate.md +1 -0
  102. package/dist/agent-src/commands/profile.md +1 -0
  103. package/dist/agent-src/commands/project.md +2 -1
  104. package/dist/agent-src/commands/refine-ticket.md +7 -0
  105. package/dist/agent-src/commands/research/deep.md +1 -0
  106. package/dist/agent-src/commands/research.md +1 -0
  107. package/dist/agent-src/commands/review/routing.md +1 -0
  108. package/dist/agent-src/commands/review.md +2 -1
  109. package/dist/agent-src/commands/roadmap/ai-council.md +1 -0
  110. package/dist/agent-src/commands/roadmap/materialize.md +1 -0
  111. package/dist/agent-src/commands/roadmap/process-full.md +1 -0
  112. package/dist/agent-src/commands/roadmap/process-phase.md +1 -0
  113. package/dist/agent-src/commands/roadmap/process-step.md +1 -0
  114. package/dist/agent-src/commands/roadmap.md +1 -0
  115. package/dist/agent-src/commands/security-audit-config.md +2 -1
  116. package/dist/agent-src/commands/skill/preview.md +1 -0
  117. package/dist/agent-src/commands/skill.md +1 -0
  118. package/dist/agent-src/commands/skills/discover.md +1 -0
  119. package/dist/agent-src/commands/skills.md +1 -0
  120. package/dist/agent-src/commands/sync/agent-settings.md +1 -0
  121. package/dist/agent-src/commands/sync.md +2 -1
  122. package/dist/agent-src/commands/team/adversarial.md +3 -2
  123. package/dist/agent-src/commands/team/delegate.md +3 -2
  124. package/dist/agent-src/commands/team/review.md +3 -2
  125. package/dist/agent-src/commands/team/status.md +49 -18
  126. package/dist/agent-src/commands/team-knowledge.md +8 -6
  127. package/dist/agent-src/commands/team.md +21 -16
  128. package/dist/agent-src/commands/tests/e2e-heal.md +1 -0
  129. package/dist/agent-src/commands/tests/e2e-plan.md +1 -0
  130. package/dist/agent-src/commands/tests/execute.md +1 -0
  131. package/dist/agent-src/commands/tests.md +2 -1
  132. package/dist/agent-src/commands/update-form-request-messages.md +1 -0
  133. package/dist/agent-src/commands/upstream-contribute.md +1 -0
  134. package/dist/agent-src/commands/video/from-script.md +3 -2
  135. package/dist/agent-src/commands/video/from-song.md +22 -21
  136. package/dist/agent-src/commands/video/scene.md +1 -0
  137. package/dist/agent-src/commands/video/stitch.md +2 -1
  138. package/dist/agent-src/commands/video/storyboard.md +1 -0
  139. package/dist/agent-src/commands/video.md +1 -0
  140. package/dist/agent-src/commands/work.md +1 -0
  141. package/dist/agent-src/commands/worktree/cleanup.md +8 -7
  142. package/dist/agent-src/commands/worktree/create.md +1 -0
  143. package/dist/agent-src/commands/worktree/verify.md +1 -0
  144. package/dist/agent-src/commands/worktree.md +1 -0
  145. package/dist/agent-src/rules/active-remediation.md +12 -36
  146. package/dist/agent-src/rules/artifact-drafting-protocol.md +7 -64
  147. package/dist/agent-src/rules/context-hygiene.md +19 -113
  148. package/dist/agent-src/rules/design-fidelity.md +4 -60
  149. package/dist/agent-src/rules/domain-adoption-policy.md +10 -106
  150. package/dist/agent-src/rules/framework-neutrality-in-generic-skills.md +12 -60
  151. package/dist/agent-src/rules/improve-before-implement.md +4 -0
  152. package/dist/agent-src/rules/minimal-safe-diff.md +6 -86
  153. package/dist/agent-src/rules/size-enforcement.md +10 -0
  154. package/dist/agent-src/rules/tool-safety.md +17 -3
  155. package/dist/agent-src/skills/agent-security-review/SKILL.md +12 -1
  156. package/dist/agent-src/skills/ai-council/SKILL.md +11 -0
  157. package/dist/agent-src/skills/bug-analyzer/SKILL.md +24 -2
  158. package/dist/agent-src/skills/code-review/SKILL.md +105 -93
  159. package/dist/agent-src/skills/code-review/checklists/backend.md +50 -0
  160. package/dist/agent-src/skills/code-review/checklists/database.md +19 -0
  161. package/dist/agent-src/skills/code-review/checklists/dependency.md +18 -0
  162. package/dist/agent-src/skills/code-review/checklists/docs.md +14 -0
  163. package/dist/agent-src/skills/code-review/checklists/frontend.md +19 -0
  164. package/dist/agent-src/skills/code-review/checklists/infra.md +17 -0
  165. package/dist/agent-src/skills/code-review/checklists/producing-the-review.md +62 -0
  166. package/dist/agent-src/skills/code-review/checklists/test-only.md +13 -0
  167. package/dist/agent-src/skills/code-review/evals/evals.json +53 -15
  168. package/dist/agent-src/skills/condense-memory/SKILL.md +3 -2
  169. package/dist/agent-src/skills/conventional-commits-writing/evals/evals.json +15 -0
  170. package/dist/agent-src/skills/docker/SKILL.md +10 -0
  171. package/dist/agent-src/skills/docx-authoring/SKILL.md +102 -0
  172. package/dist/agent-src/skills/github-ci/evals/evals.json +25 -0
  173. package/dist/agent-src/skills/humanizer/SKILL.md +79 -3
  174. package/dist/agent-src/skills/humanizer/references/anti-aiisms.md +112 -0
  175. package/dist/agent-src/skills/humanizer/references/fixtures.md +70 -0
  176. package/dist/agent-src/skills/judge-bug-hunter/SKILL.md +7 -1
  177. package/dist/agent-src/skills/laravel/SKILL.md +10 -0
  178. package/dist/agent-src/skills/launch-readiness/SKILL.md +35 -0
  179. package/dist/agent-src/skills/merge-conflicts/SKILL.md +30 -0
  180. package/dist/agent-src/skills/pdf-tools/SKILL.md +101 -0
  181. package/dist/agent-src/skills/quality-tools/evals/evals.json +15 -0
  182. package/dist/agent-src/skills/security-audit/SKILL.md +29 -0
  183. package/dist/agent-src/skills/security-maturity-assessment/SKILL.md +90 -0
  184. package/dist/agent-src/skills/security-maturity-assessment/evals/triggers.json +52 -0
  185. package/dist/agent-src/skills/skill-writing/SKILL.md +79 -0
  186. package/dist/agent-src/skills/spreadsheet-authoring/SKILL.md +11 -3
  187. package/dist/agent-src/skills/subagent-orchestration/schemas/team-review-status.json +103 -0
  188. package/dist/agent-src/skills/terraform/SKILL.md +10 -0
  189. package/dist/agent-src/skills/test-driven-development/SKILL.md +31 -0
  190. package/dist/agent-src/skills/threat-modeling/SKILL.md +15 -0
  191. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  192. package/dist/agent-src/templates/scripts/telemetry/aggregator.ts +0 -0
  193. package/dist/agent-src/templates/scripts/telemetry/engagement.ts +30 -0
  194. package/dist/agent-src/templates/scripts/telemetry/report_renderer.ts +22 -9
  195. package/dist/agent-src/templates/scripts/telemetry_record.ts +5 -0
  196. package/dist/discovery/deprecation-report.md +1 -1
  197. package/dist/discovery/discovery-manifest.json +256 -190
  198. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  199. package/dist/discovery/discovery-manifest.summary.md +5 -5
  200. package/dist/discovery/orphan-report.md +1 -1
  201. package/dist/discovery/packs.json +20 -17
  202. package/dist/discovery/trust-report.md +3 -3
  203. package/dist/discovery/workspaces.json +16 -13
  204. package/dist/install/install.mjs +10 -2
  205. package/dist/mcp/registry-manifest.json +3 -3
  206. package/dist/router.json +1 -1
  207. package/dist/scripts/condense.js +5 -0
  208. package/dist/scripts/condense.js.map +1 -1
  209. package/dist/server/schemas/settings.js +5 -1
  210. package/dist/server/schemas/settings.js.map +1 -1
  211. package/docs/CLAIMS.md +8 -1
  212. package/docs/SKILL_CENSUS.md +8 -0
  213. package/docs/architecture.md +2 -2
  214. package/docs/benchmark.md +67 -2
  215. package/docs/catalog.md +2 -2
  216. package/docs/contracts/ai-council-config.md +9 -2
  217. package/docs/contracts/ai-team-config.md +37 -4
  218. package/docs/contracts/prelaunch-diagnostics.md +151 -0
  219. package/docs/contracts/release-pr-gating.md +1 -0
  220. package/docs/decisions/ADR-049-configuration-trust-boundary.md +9 -1
  221. package/docs/featured-skills.md +2 -2
  222. package/docs/getting-started-by-role.md +1 -1
  223. package/docs/getting-started.md +16 -5
  224. package/docs/governance-advantage.md +1 -1
  225. package/docs/guidelines/agent-infra/active-remediation-mechanics.md +45 -0
  226. package/docs/guidelines/agent-infra/agent-interaction-and-decision-quality.md +28 -0
  227. package/docs/guidelines/agent-infra/artifact-drafting-protocol-mechanics.md +76 -0
  228. package/docs/guidelines/agent-infra/context-hygiene-mechanics.md +90 -0
  229. package/docs/guidelines/agent-infra/domain-adoption-gates.md +112 -0
  230. package/docs/guidelines/agent-infra/framework-neutrality-patterns.md +66 -0
  231. package/docs/guidelines/agent-infra/minimal-safe-diff-mechanics.md +99 -0
  232. package/docs/guidelines/agent-infra/skill-quality-checklist.md +13 -0
  233. package/docs/guidelines/design-fidelity-mechanics.md +76 -0
  234. package/docs/parity/command-frontmatter.md +60 -0
  235. package/docs/proof.md +6 -5
  236. package/package.json +1 -1
  237. package/src/agent-src/templates/scripts/telemetry/aggregator.ts +0 -0
  238. package/src/agent-src/templates/scripts/telemetry/engagement.ts +30 -0
  239. package/src/agent-src/templates/scripts/telemetry/report_renderer.ts +22 -9
  240. package/src/agent-src/templates/scripts/telemetry_record.ts +5 -0
  241. package/src/config/agent-settings.template.yml +34 -10
  242. package/src/config/prelaunch-areas.yml +36 -0
  243. package/src/scripts/_cli/cmd_doctor.ts +118 -26
  244. package/src/scripts/_lib/claude_plugin.ts +77 -2
  245. package/src/scripts/_lib/orchestration_record.ts +5 -0
  246. package/src/scripts/_lib/tool_adapter_registry.ts +120 -0
  247. package/src/scripts/ai_team/config.ts +73 -1
  248. package/src/scripts/ai_team/review_gate.ts +636 -0
  249. package/src/scripts/ai_team/team_dispatch.ts +612 -0
  250. package/src/scripts/bench_ab_task_runner.ts +11 -1
  251. package/src/scripts/bench_parity_count.ts +279 -0
  252. package/src/scripts/build_linear_digest.ts +3 -1
  253. package/src/scripts/check_bridge_derivation.ts +172 -0
  254. package/src/scripts/check_consumer_scope_flip.ts +179 -0
  255. package/src/scripts/check_council_config_location.ts +115 -15
  256. package/src/scripts/check_host_loadability.ts +81 -0
  257. package/src/scripts/condense.ts +5 -0
  258. package/src/scripts/hook_manifest.yaml +12 -1
  259. package/src/scripts/lint_handoffs.ts +42 -0
  260. package/src/scripts/lint_skill_descriptions.ts +228 -0
  261. package/src/scripts/lint_skill_descriptions_allowlist.json +1 -0
  262. package/src/scripts/lint_skill_scripts_readonly.ts +145 -0
  263. package/src/scripts/lint_skill_scripts_readonly_allowlist.json +8 -0
  264. package/src/scripts/lint_supported_tools_matrix.ts +35 -0
  265. package/src/scripts/optimize_skill_description.ts +144 -0
  266. package/src/scripts/orchestration_record.ts +2 -1
  267. package/src/scripts/prelaunch_diagnostics.ts +248 -0
  268. package/src/scripts/run_skill_evals.ts +70 -4
  269. package/src/scripts/schemas/command.schema.json +7 -0
  270. package/src/scripts/schemas/evals.schema.json +105 -14
  271. package/src/scripts/schemas/prelaunch-report.schema.json +107 -0
  272. package/src/scripts/schemas/skill.schema.json +18 -1
  273. package/src/scripts/schemas/subagent.schema.json +6 -0
  274. package/src/scripts/skill_linter.ts +43 -3
  275. package/src/scripts/smoke_host_loadability.sh +73 -0
  276. package/src/scripts/team_review_gate_hook.ts +115 -0
  277. package/src/scripts/trigger_eval_grandfather.json +1 -2
  278. package/src/scripts/utilization_report.ts +225 -0
  279. package/src/server/schemas/settings.ts +9 -1
@@ -5,6 +5,7 @@ pack: meta
5
5
  tier: 2
6
6
  visibility: internal
7
7
  description: Session-profile orchestrator — activate / deactivate / show the active packs for this session (recommendation-bias surface filter, no persistence)
8
+ argument-hint: "[activate|deactivate|show] [args]"
8
9
  cluster: profile
9
10
  type: orchestrator
10
11
  suggestion:
@@ -2,6 +2,7 @@
2
2
  model_tier: medium
3
3
  name: project
4
4
  disable-model-invocation: true
5
+ argument-hint: "[analyze|health]"
5
6
  pack: engineering-base
6
7
  intent: "Project dispatcher — full analysis or quick health check"
7
8
  routes_to: [project-analyze, project-health]
@@ -37,7 +38,7 @@ Top-level orchestrator for the `/project` family — project-wide inspection.
37
38
  | `/project health` | `commands/project/health.md` | Quick health check — status of docs, modules, contexts, roadmaps; creates nothing |
38
39
 
39
40
  Sub-command names match the locked contract in
40
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
41
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
41
42
 
42
43
  ## Dispatch
43
44
 
@@ -9,6 +9,7 @@ tier: 1
9
9
  visibility: advanced
10
10
  skills: [refine-ticket]
11
11
  description: 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
12
+ argument-hint: "[ticket-key | url | text] [--personas=<list>] [--user-type=<id>] [--fresh-eyes]"
12
13
  suggestion:
13
14
  eligible: true
14
15
  trigger_description: "refine PROJ-123, tighten the acceptance criteria, is this ticket clear"
@@ -68,6 +69,12 @@ application, synthesis, and close-prompt.
68
69
  - `--personas=<list>` — comma-separated override of the Core-6 default
69
70
  (e.g. `--personas=developer,senior-engineer,critical-challenger`)
70
71
  - `--personas=+qa` — add the QA specialist to the Core-6
72
+ - `--user-type=<id>` — load one user-type from `user-types/<id>.md` and
73
+ add an end-user simulation lens to the persona stack (e.g.
74
+ `--user-type=galabau-field-crew`). Composes orthogonally with
75
+ `--personas=`; persona = methodology lens, user-type = end-user lens.
76
+ v1 is CLI-only (no skill-level default). Contract:
77
+ [`docs/contracts/user-type-schema.md`](../docs/contracts/user-type-schema.md).
71
78
  - `--fresh-eyes` — reweight toward first-time-reader confusion signals
72
79
  (critical-challenger voice gets more lines; less assumed context)
73
80
 
@@ -7,6 +7,7 @@ visibility: internal
7
7
  cluster: research
8
8
  sub: deep
9
9
  description: "Read `outline.yaml`, research each item in batches, write per-item JSON validated against the project-local research-schema. No Python runtime, no `~/.claude/` paths."
10
+ argument-hint: "[--batch-confirm=each|once|auto]"
10
11
  skills: [deep-reading-analyst]
11
12
  suggestion:
12
13
  eligible: true
@@ -2,6 +2,7 @@
2
2
  model_tier: high
3
3
  name: research
4
4
  disable-model-invocation: true
5
+ argument-hint: "[<topic>|deep|report] [args]"
5
6
  pack: product-discovery
6
7
  tier: 2
7
8
  visibility: internal
@@ -8,6 +8,7 @@ sub: routing
8
8
  cluster: review
9
9
  skills: [review-routing, reviewer-awareness]
10
10
  description: Compute reviewer roles and matched historical bug patterns for the current diff, using project-local ownership-map.yml and historical-bug-patterns.yml
11
+ argument-hint: "[base-ref head-ref]"
11
12
  suggestion:
12
13
  eligible: true
13
14
  trigger_description: "who should review this, suggest reviewers for this PR"
@@ -2,6 +2,7 @@
2
2
  model_tier: medium
3
3
  name: review
4
4
  disable-model-invocation: true
5
+ argument-hint: "[changes|routing]"
5
6
  pack: engineering-base
6
7
  intent: "Review dispatcher — multi-judge self-review of the current diff, or reviewer routing"
7
8
  routes_to: [review-changes, review-routing]
@@ -38,7 +39,7 @@ reviewer selection.
38
39
  | `/review routing` | `commands/review/routing.md` | Compute reviewer roles + matched historical bug patterns for the current diff (ownership-map.yml, historical-bug-patterns.yml) |
39
40
 
40
41
  Sub-command names match the locked contract in
41
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
42
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
42
43
 
43
44
  ## Dispatch
44
45
 
@@ -8,6 +8,7 @@ cluster: roadmap
8
8
  sub: ai-council
9
9
  skills: [ai-council, agent-docs-writing, roadmap-management]
10
10
  description: Challenge a roadmap with the AI council (deep tier) and refactor from convergence findings. Wraps `/council default` pinned to `--input-mode roadmap --depth deep`; patches surface as numbered options.
11
+ argument-hint: "[roadmap-name | path]"
11
12
  council_depth: deep
12
13
  suggestion:
13
14
  eligible: true
@@ -8,6 +8,7 @@ cluster: roadmap
8
8
  sub: materialize
9
9
  skills: [emit-tickets]
10
10
  description: Materialise a roadmap into a self-contained, importable ticket bundle under agents/tickets/
11
+ argument-hint: "[roadmap-path]"
11
12
  suggestion:
12
13
  eligible: true
13
14
  trigger_description: "turn this roadmap into tickets, materialise the roadmap, mach Tickets aus der Roadmap"
@@ -8,6 +8,7 @@ cluster: roadmap
8
8
  sub: process-full
9
9
  skills: [agent-docs-writing, ai-council, roadmap-management]
10
10
  description: Autonomously process every open step across every phase of a roadmap until the file is fully closed. Largest execution scope of the /roadmap cluster — runs continuously across phase boundaries.
11
+ argument-hint: "[roadmap]"
11
12
  suggestion:
12
13
  eligible: true
13
14
  trigger_description: "process the whole roadmap, finish the roadmap, komplette roadmap abarbeiten"
@@ -8,6 +8,7 @@ cluster: roadmap
8
8
  sub: process-phase
9
9
  skills: [agent-docs-writing, ai-council, roadmap-management]
10
10
  description: Autonomously process every open step in the next or current phase of a roadmap, then stop. Default execution scope of the /roadmap cluster.
11
+ argument-hint: "[roadmap]"
11
12
  suggestion:
12
13
  eligible: true
13
14
  trigger_description: "process the next phase, finish this phase autonomously, eine phase abarbeiten"
@@ -8,6 +8,7 @@ cluster: roadmap
8
8
  sub: process-step
9
9
  skills: [agent-docs-writing, ai-council, roadmap-management]
10
10
  description: Autonomously process the single next open step of a roadmap and stop. Smallest execution scope of the /roadmap cluster — one step in, one step out.
11
+ argument-hint: "[roadmap]"
11
12
  suggestion:
12
13
  eligible: true
13
14
  trigger_description: "process the next step, do the next roadmap step, einen schritt abarbeiten"
@@ -2,6 +2,7 @@
2
2
  model_tier: medium
3
3
  name: roadmap
4
4
  disable-model-invocation: true
5
+ argument-hint: "[create|ai-council|process-step|process-phase|process-full] [args]"
5
6
  pack: product-basic
6
7
  intent: "Roadmap dispatcher — create, process-step, process-phase, process-full, ai-council"
7
8
  routes_to: [roadmap-create, roadmap-process-step, roadmap-process-phase, roadmap-process-full]
@@ -6,6 +6,7 @@ tier: 2
6
6
  visibility: internal
7
7
  skills: [judge-security-auditor, threat-modeling, security-audit]
8
8
  description: Audit an assembled agent config (CLAUDE.md, .cursor/rules, settings, MCP, hooks, skills) for prompt-injection / supply-chain risk — A–F score per category, mapped to OWASP Agentic Top 10
9
+ argument-hint: "[repo-root]"
9
10
  council_depth: deep
10
11
  suggestion:
11
12
  eligible: true
@@ -35,7 +36,7 @@ suite's own `lint_agent_security` self-audit gate.
35
36
 
36
37
  (omit `--root` to audit the current repo). The script reuses the Phase-1
37
38
  detection library under the false-positive containment convention
38
- ([`security-lint-containment`](../../../docs/guidelines/agent-infra/security-lint-containment.md)),
39
+ ([`security-lint-containment`](../../docs/guidelines/agent-infra/security-lint-containment.md)),
39
40
  so doc/example files do not tank the score. It scans instruction files
40
41
  (`CLAUDE.md`, `AGENTS.md`, `.cursor/rules`, `.github/copilot-instructions.md`,
41
42
  `.clinerules`, `.windsurfrules`), MCP configs (`.mcp.json`, `.cursor/mcp.json`,
@@ -7,6 +7,7 @@ visibility: internal
7
7
  cluster: skill
8
8
  sub: preview
9
9
  description: Non-destructive preview of a skill — its declared steps, execution type, allowed tools, and file/command targets — before you run it. Read-only, no execution.
10
+ argument-hint: "<skill-name> [--technical]"
10
11
  skills: [file-editor]
11
12
  suggestion:
12
13
  eligible: true
@@ -5,6 +5,7 @@ pack: meta
5
5
  tier: 2
6
6
  visibility: internal
7
7
  description: Single-skill orchestrator — routes to preview. Non-destructive "what will this skill do?" before you run it.
8
+ argument-hint: "[preview] <skill-name>"
8
9
  cluster: skill
9
10
  type: orchestrator
10
11
  suggestion:
@@ -7,6 +7,7 @@ visibility: internal
7
7
  cluster: skills
8
8
  sub: discover
9
9
  description: Recommend skills for a role — ranked by four explained classes (most-useful-for-role, related-to-current-task, recently-adopted, popular-in-role). Local-only; every result carries a why.
10
+ argument-hint: "[role]"
10
11
  skills: [file-editor]
11
12
  suggestion:
12
13
  eligible: true
@@ -5,6 +5,7 @@ pack: meta
5
5
  tier: 2
6
6
  visibility: internal
7
7
  description: Skill discovery orchestrator — routes to discover. Local, explained skill recommendations over the catalog + role shortlists + optional local analytics.
8
+ argument-hint: "[discover] [role]"
8
9
  cluster: skills
9
10
  type: orchestrator
10
11
  suggestion:
@@ -8,6 +8,7 @@ sub: agent-settings
8
8
  cluster: sync
9
9
  skills: [sync-agent-settings]
10
10
  description: Sync `.agent-settings.yml` against the current template + profile — adds new sections/keys, preserves user values, shows a diff before writing
11
+ argument-hint: "[--path <file>] [--profile minimal|balanced|full] [--check]"
11
12
  suggestion:
12
13
  eligible: false
13
14
  rationale: "Settings sync — must be deliberate."
@@ -2,6 +2,7 @@
2
2
  model_tier: medium
3
3
  name: sync
4
4
  disable-model-invocation: true
5
+ argument-hint: "[agent-settings|gitignore|gitignore-fix]"
5
6
  pack: meta
6
7
  intent: "Sync dispatcher — agent settings or the managed .gitignore block"
7
8
  routes_to: [sync-agent-settings, sync-gitignore, sync-gitignore-fix]
@@ -34,7 +35,7 @@ managed files in step with the package templates.
34
35
  | `/sync gitignore-fix` | `commands/sync/gitignore/fix.md` | Scrub legacy pre-`/agents/` patterns anywhere in the `.gitignore`, then re-sync the canonical entries |
35
36
 
36
37
  Sub-command names match the locked contract in
37
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
38
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
38
39
 
39
40
  ## Dispatch
40
41
 
@@ -2,7 +2,8 @@
2
2
  model_tier: inherit
3
3
  name: team-adversarial
4
4
  disable-model-invocation: true
5
- pack: product-reasoning
5
+ argument-hint: "<focus>"
6
+ pack: meta
6
7
  tier: 2
7
8
  visibility: internal
8
9
  skills: [adversarial-review]
@@ -16,7 +17,7 @@ suggestion:
16
17
  workspaces:
17
18
  - agent-config-maintainer
18
19
  packs:
19
- - product-reasoning
20
+ - meta
20
21
  ---
21
22
 
22
23
  # /team adversarial
@@ -2,7 +2,8 @@
2
2
  model_tier: inherit
3
3
  name: team-delegate
4
4
  disable-model-invocation: true
5
- pack: product-reasoning
5
+ argument-hint: "<task>"
6
+ pack: meta
6
7
  tier: 2
7
8
  visibility: internal
8
9
  description: Thin wrapper — hand a task to the second model as a native worker via the official plugin (/codex:rescue). The only write-access wrapper; double-gated behind ai_team.allow_delegate.
@@ -14,7 +15,7 @@ suggestion:
14
15
  workspaces:
15
16
  - agent-config-maintainer
16
17
  packs:
17
- - product-reasoning
18
+ - meta
18
19
  ---
19
20
 
20
21
  # /team delegate
@@ -2,7 +2,8 @@
2
2
  model_tier: inherit
3
3
  name: team-review
4
4
  disable-model-invocation: true
5
- pack: product-reasoning
5
+ argument-hint: "[--background]"
6
+ pack: meta
6
7
  tier: 2
7
8
  visibility: internal
8
9
  description: Thin wrapper — cross-model review of the current diff via the official plugin (/codex:review). Gated on ai_team.enabled; fails closed when the plugin is absent.
@@ -15,7 +16,7 @@ suggestion:
15
16
  workspaces:
16
17
  - agent-config-maintainer
17
18
  packs:
18
- - product-reasoning
19
+ - meta
19
20
  ---
20
21
 
21
22
  # /team review
@@ -2,10 +2,10 @@
2
2
  model_tier: inherit
3
3
  name: team-status
4
4
  disable-model-invocation: true
5
- pack: product-reasoning
5
+ pack: meta
6
6
  tier: 2
7
7
  visibility: internal
8
- description: Thin wrapper — plugin job status via /codex:status plus a ledger line with today's cli_call_budget openai count. Gated on ai_team.enabled; fails closed when the plugin is absent.
8
+ description: Thin wrapper — plugin job status via /codex:status plus a quota block (shared openai counter vs team + council ceilings). Gated on ai_team.enabled; fails closed without the plugin.
9
9
  cluster: team
10
10
  sub: status
11
11
  suggestion:
@@ -14,7 +14,7 @@ suggestion:
14
14
  workspaces:
15
15
  - agent-config-maintainer
16
16
  packs:
17
- - product-reasoning
17
+ - meta
18
18
  ---
19
19
 
20
20
  # /team status
@@ -22,7 +22,7 @@ packs:
22
22
  ## Instructions
23
23
 
24
24
  Thin wrapper: team-mode status. On Claude Code hosts it delegates to the
25
- official plugin's `/codex:status` and appends **our** quota ledger line —
25
+ official plugin's `/codex:status` and appends **our** quota block —
26
26
  the one piece of state the plugin does not know about.
27
27
 
28
28
  ### 1. Gate — `ai_team.enabled`
@@ -38,7 +38,7 @@ print the fail-closed block from `/team` (master) § "Fail-closed contract"
38
38
  (`agent-config doctor --check team`) and **STOP** — never a silent no-op.
39
39
 
40
40
  On a non-Claude-Code host: state that plugin job status requires the Claude
41
- Code plugin, then still print the ledger line (Step 4) — the quota counter
41
+ Code plugin, then still print the quota block (Step 4) — the quota counter
42
42
  is ours and host-independent.
43
43
 
44
44
  ### 3. Delegate
@@ -49,28 +49,59 @@ Invoke the plugin:
49
49
 
50
50
  Render its job/status output verbatim.
51
51
 
52
- ### 4. Append the quota ledger line
52
+ ### 4. Append the quota block — two ceilings, one counter
53
53
 
54
- Read today's openai CLI-call count from the shared counter state at
55
- `~/.event4u/agent-config/cli-calls.json` (daily UTC reset — the same file
56
- the council's CLI transport maintains for
57
- `cli_call_budget.max_calls_per_day.openai`). Append one line:
54
+ Team mode and the council share **one** daily counter but enforce **two
55
+ independent ceilings** against it. The status output must show all three
56
+ live numbers and say which path — if any — is currently blocked:
57
+
58
+ 1. **Counter** — today's openai CLI-call count from the shared counter
59
+ state at `~/.event4u/agent-config/cli-calls.json` (daily UTC reset —
60
+ the same file the council's CLI transport maintains). `0` when the
61
+ file or today's entry is absent.
62
+ 2. **Team ceiling** — `ai_team.max_calls_per_day` from
63
+ `.agent-settings.yml` (`unset` when absent).
64
+ 3. **Council ceiling** — `cli_call_budget.max_calls_per_day.openai` from
65
+ the council config (`unset` when absent).
66
+
67
+ Render:
58
68
 
59
69
  ```
60
- Ledger: <N> openai CLI calls today (UTC) · cap: <max_calls_per_day or "unset">
70
+ Quota: <N> openai CLI calls today (UTC) — one shared counter
71
+ team ceiling (ai_team.max_calls_per_day): <T or "unset"> → <OPEN | BLOCKED>
72
+ council ceiling (cli_call_budget.max_calls_per_day.openai): <C or "unset"> → <OPEN | BLOCKED>
61
73
  ```
62
74
 
63
- - `<N>` = today's openai count from the counter file; `0` when the file or
64
- today's entry is absent.
65
- - `<cap>` = `ai_team.max_calls_per_day` when set; fall back to
66
- `cli_call_budget.max_calls_per_day.openai`; `unset` when neither exists.
75
+ - A path is `BLOCKED` when the counter has reached its ceiling
76
+ (`N >= ceiling`); an `unset` ceiling is `OPEN`.
77
+ - The two paths block **independently** — always name WHICH path is
78
+ blocked, never a bare "quota exhausted".
67
79
  - One counter, one subscription — never introduce a parallel team-only
68
80
  counting file.
69
81
 
82
+ **Worked example.** Council ceiling 100, team ceiling 50, counter at 45:
83
+ both paths are open. Five team calls later the shared counter reads 50 —
84
+ team calls are now `BLOCKED` (50 >= 50) while council CLI calls continue
85
+ until the counter reaches 100. Whichever path fires a call, the same
86
+ counter moves; each surface only enforces its own ceiling against that
87
+ shared count.
88
+
89
+ ### 5. Review-gate ledger lines (when present)
90
+
91
+ When the council events ledger contains review-gate lines of the form
92
+ `team.gate: BLOCK n/N`, render them verbatim after the quota block — they
93
+ record how often the plugin's Stop-hook Review Gate blocked, out of N gate
94
+ evaluations. Absent lines are not an error: print nothing (the review-gate
95
+ envelope is a later team-mode phase; this step is read-only forward
96
+ compatibility).
97
+
70
98
  ## Output format
71
99
 
72
100
  - The plugin's status output, verbatim.
73
- - Exactly one trailing `Ledger:` line in the format above.
101
+ - Exactly one trailing `Quota:` block in the format above (counter + both
102
+ ceilings + per-path OPEN/BLOCKED verdict).
103
+ - Any `team.gate: BLOCK n/N` ledger lines, verbatim, after the quota
104
+ block — only when present.
74
105
  - Gate failures print exactly one block (enable pointer or fail-closed
75
106
  block) and stop.
76
107
 
@@ -78,11 +109,11 @@ Ledger: <N> openai CLI calls today (UTC) · cap: <max_calls_per_day or "unset">
78
109
 
79
110
  - Do NOT run when `ai_team.enabled` is false — enable pointer, stop.
80
111
  - Do NOT fabricate a count when the counter file is unreadable — print
81
- `Ledger: unavailable (<reason>)` instead of a guessed number.
112
+ `Quota: unavailable (<reason>)` instead of a guessed number.
82
113
  - Do NOT write to `cli-calls.json` — the transport owns the counter; this
83
114
  wrapper is read-only.
84
115
  - Do NOT reimplement job tracking inline when the plugin is absent — fail
85
- closed with the doctor pointer (the ledger line alone is still printed on
116
+ closed with the doctor pointer (the quota block alone is still printed on
86
117
  non-Claude-Code hosts, per Step 2).
87
118
 
88
119
  ## See also
@@ -2,6 +2,7 @@
2
2
  model_tier: medium
3
3
  name: team-knowledge
4
4
  disable-model-invocation: true
5
+ argument-hint: "[consolidate|bootstrap]"
5
6
  pack: meta
6
7
  intent: "Manage the repo-tracked team-knowledge layer — consolidate typed observation events into agents/knowledge/ pages, bootstrap a project baseline"
7
8
  routes_to: [team-knowledge-consolidate, team-knowledge-bootstrap]
@@ -26,13 +27,14 @@ packs:
26
27
  Top-level orchestrator for the `/team-knowledge` family — the
27
28
  consolidation gate over the typed knowledge-observation events
28
29
  captured during normal task work (see
29
- [`knowledge-pages`](../templates/contexts/knowledge-pages.md) and the
30
- event schema in `src/scripts/_lib/knowledge_events.ts`).
30
+ [`knowledge-pages`](../../agent-src/templates/contexts/knowledge-pages.md)
31
+ and the event schema in `src/scripts/_lib/knowledge_events.ts`).
31
32
 
32
- Not to be confused with the pre-existing `/knowledge` cluster (local
33
- file ingestion into `agents/memory/knowledge/`) — different concern
34
- (arbitrary local documents), unrelated to this repo-tracked,
35
- lifecycle-typed team-knowledge layer under `agents/knowledge/`.
33
+ Not to be confused with the pre-existing [`/knowledge`](../../product-discovery/knowledge/command.md)
34
+ cluster (local file ingestion into `agents/memory/knowledge/`) — that
35
+ is a different concern (arbitrary local documents), unrelated to this
36
+ repo-tracked, lifecycle-typed team-knowledge layer under
37
+ `agents/knowledge/`.
36
38
 
37
39
  ## Sub-commands
38
40
 
@@ -2,13 +2,14 @@
2
2
  model_tier: inherit
3
3
  name: team
4
4
  disable-model-invocation: true
5
- pack: product-reasoning
5
+ argument-hint: "[review|adversarial|delegate|status] [args]"
6
+ pack: meta
6
7
  intent: "Route a cross-model team-mode request (review, adversarial, delegate, status) to the official plugin under ai_team governance"
7
8
  routes_to: [team-review, team-adversarial, team-delegate, team-status]
8
9
  replaces: []
9
10
  tier: 2
10
11
  visibility: internal
11
- description: Team orchestrator — cross-model depth review (one strong model builds, a second reviews the real diff); routes to review, adversarial, delegate, status
12
+ description: Team orchestrator — governed cross-model access layer (a second strong model reviews the real diff; read-only multi-host fallback); routes to review, adversarial, delegate, status
12
13
  cluster: team
13
14
  type: orchestrator
14
15
  suggestion:
@@ -18,25 +19,27 @@ suggestion:
18
19
  workspaces:
19
20
  - agent-config-maintainer
20
21
  packs:
21
- - product-reasoning
22
+ - meta
22
23
  ---
23
24
 
24
25
  # /team
25
26
 
26
- Top-level orchestrator for the `/team` family — governed **team mode**: the
27
- depth complement to the council. One strong model builds; a second strong
28
- model reviews the **real diff with repo access** and iterates. On Claude Code
29
- hosts every sub-command is a **thin delegation** to the official
27
+ Top-level orchestrator for the `/team` family — governed **team mode**: a
28
+ governed access layer with a read-only multi-host fallback, the depth
29
+ complement to the council. A second strong model reviews the **real diff
30
+ with repo access** and returns its findings. On Claude Code hosts every
31
+ sub-command is a **thin delegation** to the official
30
32
  `openai/codex-plugin-cc` plugin (`/codex:*`) — this family adds governance
31
33
  (default-off gate, delegate opt-in, quota visibility, fail-closed setup
32
- checks), never a reimplementation.
34
+ checks), never a reimplementation. An iterated build → review → fix loop is
35
+ **gated future work** — it unlocks only with a positive verdict from the
36
+ pre-registered benchmark (§ No-claims note).
33
37
 
34
38
  ## What team mode is — and is not
35
39
 
36
40
  - **Is:** a single strong reviewer running inside the working tree via the
37
- Codex CLI under the user's subscription. It reads git state itself,
38
- iterates build → review → fix, and returns an opinionated review of the
39
- actual change.
41
+ Codex CLI under the user's subscription. It reads git state itself and
42
+ returns an opinionated review of the actual change.
40
43
  - **Is not:** the council. The council is breadth under a neutrality
41
44
  contract — N members see the artefact text only, never the repo, never the
42
45
  host's framing. Team mode is the inverse on every axis (table below). The
@@ -46,7 +49,7 @@ checks), never a reimplementation.
46
49
 
47
50
  | Axis | `/council` | `/team` |
48
51
  |---|---|---|
49
- | Shape | Breadth — N members, one round by default | Depth — one strong reviewer, iterated |
52
+ | Shape | Breadth — N members, one round by default | Depth — one strong reviewer on the real diff |
50
53
  | Context | Artefact text only; never the repo, never host framing (neutrality contract) | Full repo access — the reviewer reads git state itself |
51
54
  | Cost model | Billable API members by default; USD cost gate | Subscription-authed Codex CLI; daily call quota (`cli_call_budget.max_calls_per_day.openai`) |
52
55
  | Model choice | Mid-tier default (cost decision) | Strongest available — `ai_team.model: 'auto'` defers to the CLI default |
@@ -79,7 +82,7 @@ a wrapper is invoked directly.
79
82
  | `/team review [--background]` | `/codex:review` | Cross-model review of the current working-tree / staged diff |
80
83
  | `/team adversarial <focus>` | `/codex:adversarial-review` | Adversarial cross-model review on a named focus — the escalation rung above the single-model `adversarial-review` skill |
81
84
  | `/team delegate <task>` | `/codex:rescue` | Hand a task to the second model as a native worker — the only write-access wrapper; gated behind `ai_team.allow_delegate` |
82
- | `/team status` | `/codex:status` + ledger line | Plugin job status plus today's `cli_call_budget` openai count |
85
+ | `/team status` | `/codex:status` + quota block | Plugin job status plus the shared openai counter against both ceilings (team + council), naming any blocked path |
83
86
 
84
87
  ## Dispatch
85
88
 
@@ -110,9 +113,11 @@ never an inline reimplementation of the plugin:
110
113
  > agent-config doctor --check team
111
114
  > ```
112
115
 
113
- On non-Claude-Code hosts the fallback transport (repo-diff bundle via the
114
- council's `OpenAICliClient`) is a later phase; until it lands, wrappers state
115
- that plainly and stop — same fail-closed principle.
116
+ On non-Claude-Code hosts the wrappers fall back to a **read-only** transport
117
+ (repo-diff bundle via the council's `OpenAICliClient`) — no plugin job
118
+ control, no background jobs, no delegate write path; the capability delta
119
+ vs. the native plugin is stated in the output. When the codex CLI itself is
120
+ absent, the same fail-closed principle applies: state it plainly and stop.
116
121
 
117
122
  ## No-claims note
118
123
 
@@ -9,6 +9,7 @@ sub: e2e-heal
9
9
  cluster: tests
10
10
  skills: [playwright-testing]
11
11
  description: Find, debug, and fix failing Playwright E2E tests
12
+ argument-hint: "[test-file | ci-run-url]"
12
13
  suggestion:
13
14
  eligible: true
14
15
  trigger_description: "fix the failing E2E tests, playwright tests are red"
@@ -9,6 +9,7 @@ sub: e2e-plan
9
9
  cluster: tests
10
10
  skills: [playwright-testing]
11
11
  description: Explore the application and create a structured E2E test plan in Markdown
12
+ argument-hint: "[url | feature-area]"
12
13
  suggestion:
13
14
  eligible: true
14
15
  trigger_description: "plan E2E tests for this feature, what should we cover in playwright"
@@ -8,6 +8,7 @@ cluster: tests
8
8
  sub: execute
9
9
  skills: [pest-testing, quality-tools]
10
10
  description: Run the project's test suite — stack-adaptive (pest / phpunit / vitest / jest / pytest / …)
11
+ argument-hint: "[file | filter] [--include-e2e] [--include-slow] [--php]"
11
12
  suggestion:
12
13
  eligible: true
13
14
  trigger_description: "run the tests, execute the test suite"
@@ -2,6 +2,7 @@
2
2
  model_tier: medium
3
3
  name: tests
4
4
  disable-model-invocation: true
5
+ argument-hint: "[create|execute|e2e-plan|e2e-heal] [args]"
5
6
  pack: engineering-base
6
7
  tier: 2
7
8
  visibility: internal
@@ -34,7 +35,7 @@ commands with a single entry point + sub-command dispatch.
34
35
  | `/tests e2e-heal` | `commands/tests/e2e-heal.md` | Find, debug, and fix failing Playwright E2E tests |
35
36
 
36
37
  Sub-command names match the locked contract in
37
- [`docs/contracts/command-clusters.md`](../../docs/contracts/command-clusters.md).
38
+ [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
38
39
  Both sub-commands resolve the runner via the
39
40
  [`toolchain-resolver`](../contexts/execution/toolchain-resolver.md) — they
40
41
  adapt to the consumer's stack instead of assuming one.
@@ -7,6 +7,7 @@ visibility: internal
7
7
  framework: laravel
8
8
  skills: [laravel-validation]
9
9
  description: "Sync the messages() method of a FormRequest class — add missing entries, link them to language keys, and clean up stale ones."
10
+ argument-hint: "[ClassName | file-path]"
10
11
  suggestion:
11
12
  eligible: true
12
13
  trigger_description: "sync the form request messages, update the validation messages"
@@ -6,6 +6,7 @@ tier: 2
6
6
  visibility: internal
7
7
  skills: [upstream-contribute, skill-writing, learning-to-rule-or-skill]
8
8
  description: Contribute a learning, skill, rule, or fix from a consumer project back to the shared agent-config package
9
+ argument-hint: "[path | description]"
9
10
  suggestion:
10
11
  eligible: true
11
12
  trigger_description: "contribute this back to agent-config, upstream this learning"
@@ -7,6 +7,7 @@ visibility: internal
7
7
  cluster: video
8
8
  sub: from-script
9
9
  description: Drive a script end-to-end through the AI video pipeline — scenes → blueprint → image → operator pick → motion → video → stitch. Preview default; --mode commit spends behind the cost gate.
10
+ argument-hint: "<path-to-script.md> [--mode preview|commit] [--max-spend-usd <usd>] [--image-provider <id>] [--video-provider <id>]"
10
11
  personas: [hollywood-director, ai-video-technical-director]
11
12
  skills: [scene-expander, video-director, pixar-storyteller, character-consistency, motion-choreographer]
12
13
  suggestion:
@@ -146,8 +147,8 @@ cost (commit) or summed modeled `cost_estimate` labeled *modeled*
146
147
  - **One project per invocation.** Re-running on the same project
147
148
  resumes from existing artefacts (skips completed scenes) via the
148
149
  ADR-059 resume scan: `scripts/ai-video/lib/resume-scan.sh scan
149
- <project> --plan <project>/plan.json` — `green` reused, `stale` /
150
- `missing` re-render, `failed` surfaces its `error.json`. State =
150
+ <project> --plan <project>/plan.json` — `green` is reused, `stale` /
151
+ `missing` re-render, `failed` surfaces its `error.json`. State is the
151
152
  per-scene sentinel set (`prompt.json` with `input_sha256`, the clip,
152
153
  `error.json`, `cost.json`) — no central checkpoint file.
153
154