@event4u/agent-config 10.4.0 → 12.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 (303) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +73 -182
  3. package/dist/agent-src/commands/agent-handoff.md +0 -1
  4. package/dist/agent-src/commands/agent-status.md +0 -1
  5. package/dist/agent-src/commands/agents/audit.md +0 -1
  6. package/dist/agent-src/commands/agents/init.md +0 -1
  7. package/dist/agent-src/commands/agents/optimize.md +0 -1
  8. package/dist/agent-src/commands/agents/user/accept.md +0 -1
  9. package/dist/agent-src/commands/agents/user/delete.md +0 -1
  10. package/dist/agent-src/commands/agents/user/init.md +0 -1
  11. package/dist/agent-src/commands/agents/user/review.md +0 -1
  12. package/dist/agent-src/commands/agents/user/show.md +0 -1
  13. package/dist/agent-src/commands/agents/user/update.md +0 -1
  14. package/dist/agent-src/commands/agents/user.md +0 -1
  15. package/dist/agent-src/commands/agents.md +0 -1
  16. package/dist/agent-src/commands/analytics/prune.md +0 -1
  17. package/dist/agent-src/commands/analytics/show.md +0 -1
  18. package/dist/agent-src/commands/analytics.md +0 -1
  19. package/dist/agent-src/commands/analyze/conformance.md +0 -1
  20. package/dist/agent-src/commands/analyze/decision.md +0 -1
  21. package/dist/agent-src/commands/analyze/inbox.md +0 -1
  22. package/dist/agent-src/commands/analyze/incident.md +0 -1
  23. package/dist/agent-src/commands/analyze/near-miss.md +0 -1
  24. package/dist/agent-src/commands/analyze/postmortem.md +0 -1
  25. package/dist/agent-src/commands/analyze/premortem.md +0 -1
  26. package/dist/agent-src/commands/analyze/reference-repo.md +0 -1
  27. package/dist/agent-src/commands/analyze.md +0 -1
  28. package/dist/agent-src/commands/brand/identity.md +0 -1
  29. package/dist/agent-src/commands/brand/review.md +0 -1
  30. package/dist/agent-src/commands/brand/strategy.md +0 -1
  31. package/dist/agent-src/commands/brand/tokens.md +0 -1
  32. package/dist/agent-src/commands/brand/voice.md +0 -1
  33. package/dist/agent-src/commands/brand.md +0 -1
  34. package/dist/agent-src/commands/bug/fix.md +0 -1
  35. package/dist/agent-src/commands/bug/investigate.md +0 -1
  36. package/dist/agent-src/commands/bug.md +0 -1
  37. package/dist/agent-src/commands/challenge-me/vision.md +0 -1
  38. package/dist/agent-src/commands/challenge-me/with-docs.md +0 -1
  39. package/dist/agent-src/commands/challenge-me.md +0 -1
  40. package/dist/agent-src/commands/chat-history/import.md +0 -1
  41. package/dist/agent-src/commands/chat-history.md +0 -1
  42. package/dist/agent-src/commands/check-current-md.md +0 -1
  43. package/dist/agent-src/commands/commit/in-chunks.md +0 -1
  44. package/dist/agent-src/commands/commit.md +0 -1
  45. package/dist/agent-src/commands/condense.md +0 -1
  46. package/dist/agent-src/commands/context/create.md +0 -1
  47. package/dist/agent-src/commands/context/refactor.md +0 -1
  48. package/dist/agent-src/commands/context.md +0 -1
  49. package/dist/agent-src/commands/contribution-precheck.md +0 -1
  50. package/dist/agent-src/commands/cost/profile.md +0 -1
  51. package/dist/agent-src/commands/cost/report.md +0 -1
  52. package/dist/agent-src/commands/cost.md +0 -1
  53. package/dist/agent-src/commands/council/analysis.md +0 -1
  54. package/dist/agent-src/commands/council/debate.md +13 -5
  55. package/dist/agent-src/commands/council/default.md +26 -12
  56. package/dist/agent-src/commands/council/design.md +0 -1
  57. package/dist/agent-src/commands/council/optimize.md +0 -1
  58. package/dist/agent-src/commands/council/pr.md +0 -1
  59. package/dist/agent-src/commands/council.md +1 -2
  60. package/dist/agent-src/commands/design-system/capture.md +0 -1
  61. package/dist/agent-src/commands/design-system/generate.md +23 -2
  62. package/dist/agent-src/commands/design-system/import.md +0 -1
  63. package/dist/agent-src/commands/design-system.md +0 -1
  64. package/dist/agent-src/commands/estimate-ticket.md +0 -1
  65. package/dist/agent-src/commands/explain-run.md +0 -1
  66. package/dist/agent-src/commands/feature/dev.md +0 -1
  67. package/dist/agent-src/commands/feature/explore.md +0 -1
  68. package/dist/agent-src/commands/feature/plan.md +0 -1
  69. package/dist/agent-src/commands/feature/refactor.md +0 -1
  70. package/dist/agent-src/commands/feature/roadmap.md +0 -1
  71. package/dist/agent-src/commands/feature.md +0 -1
  72. package/dist/agent-src/commands/fix/ci.md +0 -1
  73. package/dist/agent-src/commands/fix/comments.md +0 -1
  74. package/dist/agent-src/commands/fix/portability.md +0 -1
  75. package/dist/agent-src/commands/fix/pr-comments-loop.md +0 -1
  76. package/dist/agent-src/commands/fix/pr-comments.md +0 -1
  77. package/dist/agent-src/commands/fix/quality.md +0 -1
  78. package/dist/agent-src/commands/fix/refs.md +0 -1
  79. package/dist/agent-src/commands/fix/route.md +0 -1
  80. package/dist/agent-src/commands/fix/seeder.md +0 -1
  81. package/dist/agent-src/commands/fix.md +0 -1
  82. package/dist/agent-src/commands/ghostwriter/delete.md +0 -1
  83. package/dist/agent-src/commands/ghostwriter/fetch.md +0 -1
  84. package/dist/agent-src/commands/ghostwriter/list.md +0 -1
  85. package/dist/agent-src/commands/ghostwriter/show.md +0 -1
  86. package/dist/agent-src/commands/ghostwriter/write.md +0 -1
  87. package/dist/agent-src/commands/ghostwriter.md +0 -1
  88. package/dist/agent-src/commands/grill-me.md +0 -1
  89. package/dist/agent-src/commands/humanize.md +0 -1
  90. package/dist/agent-src/commands/image/analyse.md +0 -1
  91. package/dist/agent-src/commands/image/create.md +0 -1
  92. package/dist/agent-src/commands/image/verify.md +0 -1
  93. package/dist/agent-src/commands/image.md +0 -1
  94. package/dist/agent-src/commands/implement-ticket.md +0 -1
  95. package/dist/agent-src/commands/jira-ticket.md +0 -1
  96. package/dist/agent-src/commands/judge/on-diff.md +0 -1
  97. package/dist/agent-src/commands/judge/solo.md +0 -1
  98. package/dist/agent-src/commands/judge/steps.md +0 -1
  99. package/dist/agent-src/commands/judge.md +0 -1
  100. package/dist/agent-src/commands/knowledge/cross-repo.md +0 -1
  101. package/dist/agent-src/commands/knowledge/forget.md +0 -1
  102. package/dist/agent-src/commands/knowledge/ingest.md +0 -1
  103. package/dist/agent-src/commands/knowledge/list.md +0 -1
  104. package/dist/agent-src/commands/knowledge.md +0 -1
  105. package/dist/agent-src/commands/memory/add.md +0 -1
  106. package/dist/agent-src/commands/memory/learn-low-impact.md +0 -1
  107. package/dist/agent-src/commands/memory/load.md +0 -1
  108. package/dist/agent-src/commands/memory/mine-session.md +0 -1
  109. package/dist/agent-src/commands/memory/promote.md +0 -1
  110. package/dist/agent-src/commands/memory/propose.md +0 -1
  111. package/dist/agent-src/commands/memory.md +0 -1
  112. package/dist/agent-src/commands/mission/upgrade.md +0 -1
  113. package/dist/agent-src/commands/mode.md +0 -1
  114. package/dist/agent-src/commands/module/create.md +0 -1
  115. package/dist/agent-src/commands/module/explore.md +0 -1
  116. package/dist/agent-src/commands/module.md +0 -1
  117. package/dist/agent-src/commands/optimize/agents-dir.md +0 -1
  118. package/dist/agent-src/commands/optimize/augmentignore.md +0 -1
  119. package/dist/agent-src/commands/optimize/deep.md +0 -1
  120. package/dist/agent-src/commands/optimize/project.md +0 -1
  121. package/dist/agent-src/commands/optimize/prompt.md +0 -1
  122. package/dist/agent-src/commands/optimize/rtk.md +0 -1
  123. package/dist/agent-src/commands/optimize/skills.md +0 -1
  124. package/dist/agent-src/commands/optimize.md +0 -1
  125. package/dist/agent-src/commands/orchestrate.md +0 -1
  126. package/dist/agent-src/commands/override/create.md +0 -1
  127. package/dist/agent-src/commands/override/manage.md +0 -1
  128. package/dist/agent-src/commands/override.md +0 -1
  129. package/dist/agent-src/commands/package/reset.md +0 -1
  130. package/dist/agent-src/commands/package/test.md +0 -1
  131. package/dist/agent-src/commands/package.md +0 -1
  132. package/dist/agent-src/commands/post-as/ghostwriter.md +0 -1
  133. package/dist/agent-src/commands/post-as/me.md +0 -1
  134. package/dist/agent-src/commands/post-as.md +0 -1
  135. package/dist/agent-src/commands/pr/create/description-only.md +0 -1
  136. package/dist/agent-src/commands/pr/create.md +67 -28
  137. package/dist/agent-src/commands/prediction-pool.md +0 -1
  138. package/dist/agent-src/commands/prepare-for-review.md +0 -1
  139. package/dist/agent-src/commands/profile/activate.md +0 -1
  140. package/dist/agent-src/commands/profile/deactivate.md +0 -1
  141. package/dist/agent-src/commands/profile/show.md +0 -1
  142. package/dist/agent-src/commands/profile.md +0 -1
  143. package/dist/agent-src/commands/project/analyze.md +0 -1
  144. package/dist/agent-src/commands/project/health.md +0 -1
  145. package/dist/agent-src/commands/project.md +0 -1
  146. package/dist/agent-src/commands/refine-ticket.md +0 -1
  147. package/dist/agent-src/commands/research/deep.md +0 -1
  148. package/dist/agent-src/commands/research/report.md +0 -1
  149. package/dist/agent-src/commands/research.md +0 -1
  150. package/dist/agent-src/commands/review/changes.md +0 -1
  151. package/dist/agent-src/commands/review/routing.md +0 -1
  152. package/dist/agent-src/commands/review.md +0 -1
  153. package/dist/agent-src/commands/roadmap/ai-council.md +0 -1
  154. package/dist/agent-src/commands/roadmap/create.md +0 -1
  155. package/dist/agent-src/commands/roadmap/materialize.md +0 -1
  156. package/dist/agent-src/commands/roadmap/next.md +0 -1
  157. package/dist/agent-src/commands/roadmap/process-full.md +0 -1
  158. package/dist/agent-src/commands/roadmap/process-phase.md +0 -1
  159. package/dist/agent-src/commands/roadmap/process-step.md +0 -1
  160. package/dist/agent-src/commands/roadmap.md +0 -1
  161. package/dist/agent-src/commands/rule-compliance-audit.md +0 -1
  162. package/dist/agent-src/commands/security-audit-config.md +0 -1
  163. package/dist/agent-src/commands/skill/preview.md +0 -1
  164. package/dist/agent-src/commands/skill.md +0 -1
  165. package/dist/agent-src/commands/skills/discover.md +0 -1
  166. package/dist/agent-src/commands/skills.md +0 -1
  167. package/dist/agent-src/commands/sync/agent-settings.md +0 -1
  168. package/dist/agent-src/commands/sync/gitignore/fix.md +0 -1
  169. package/dist/agent-src/commands/sync/gitignore.md +0 -1
  170. package/dist/agent-src/commands/sync.md +0 -1
  171. package/dist/agent-src/commands/tdd/green.md +0 -1
  172. package/dist/agent-src/commands/tdd/red.md +0 -1
  173. package/dist/agent-src/commands/tdd/refactor.md +0 -1
  174. package/dist/agent-src/commands/tdd.md +0 -1
  175. package/dist/agent-src/commands/team/adversarial.md +0 -1
  176. package/dist/agent-src/commands/team/delegate.md +0 -1
  177. package/dist/agent-src/commands/team/review.md +0 -1
  178. package/dist/agent-src/commands/team/status.md +0 -1
  179. package/dist/agent-src/commands/team-knowledge/bootstrap.md +0 -1
  180. package/dist/agent-src/commands/team-knowledge/consolidate.md +0 -1
  181. package/dist/agent-src/commands/team-knowledge.md +0 -1
  182. package/dist/agent-src/commands/team.md +0 -1
  183. package/dist/agent-src/commands/tests/create.md +0 -1
  184. package/dist/agent-src/commands/tests/e2e-heal.md +0 -1
  185. package/dist/agent-src/commands/tests/e2e-plan.md +0 -1
  186. package/dist/agent-src/commands/tests/execute.md +0 -1
  187. package/dist/agent-src/commands/tests.md +0 -1
  188. package/dist/agent-src/commands/threat-model.md +0 -1
  189. package/dist/agent-src/commands/update-form-request-messages.md +0 -1
  190. package/dist/agent-src/commands/upstream-contribute.md +0 -1
  191. package/dist/agent-src/commands/video/from-script.md +0 -1
  192. package/dist/agent-src/commands/video/from-song.md +0 -1
  193. package/dist/agent-src/commands/video/scene.md +0 -1
  194. package/dist/agent-src/commands/video/stitch.md +0 -1
  195. package/dist/agent-src/commands/video/storyboard.md +0 -1
  196. package/dist/agent-src/commands/video.md +0 -1
  197. package/dist/agent-src/commands/work.md +0 -1
  198. package/dist/agent-src/commands/worktree/cleanup.md +0 -1
  199. package/dist/agent-src/commands/worktree/create.md +5 -4
  200. package/dist/agent-src/commands/worktree/status.md +0 -1
  201. package/dist/agent-src/commands/worktree/verify.md +0 -1
  202. package/dist/agent-src/commands/worktree.md +0 -1
  203. package/dist/agent-src/rules/settings-ask-protocol.md +14 -9
  204. package/dist/agent-src/skills/ai-council/SKILL.md +24 -6
  205. package/dist/agent-src/skills/corpus-grounding/SKILL.md +12 -1
  206. package/dist/agent-src/skills/corpus-grounding/scripts/decision_engine.ts +215 -7
  207. package/dist/agent-src/skills/corpus-grounding/scripts/ground.ts +39 -1
  208. package/dist/agent-src/skills/design-intelligence/ATTRIBUTION.md +19 -2
  209. package/dist/agent-src/skills/design-intelligence/data/manifest.json +36 -1
  210. package/dist/agent-src/skills/design-intelligence/data/motion.csv +17 -0
  211. package/dist/agent-src/skills/docx-authoring/SKILL.md +1 -0
  212. package/dist/agent-src/skills/git-workflow/SKILL.md +17 -3
  213. package/dist/agent-src/skills/pdf-tools/SKILL.md +1 -0
  214. package/dist/agent-src/skills/skill-writing/SKILL.md +35 -0
  215. package/dist/agent-src/skills/subagent-orchestration/SKILL.md +9 -6
  216. package/dist/agent-src/skills/using-git-worktrees/SKILL.md +25 -21
  217. package/dist/agent-src/templates/agent-settings.md +0 -1
  218. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
  219. package/dist/cli/commands/commands.candidates.test.js +1 -1
  220. package/dist/cli/commands/commands.candidates.test.js.map +1 -1
  221. package/dist/cli/commands/commands.js +9 -15
  222. package/dist/cli/commands/commands.js.map +1 -1
  223. package/dist/cli/commands/profiles.test.js +7 -7
  224. package/dist/cli/commands/profiles.test.js.map +1 -1
  225. package/dist/cli/discovery/loadManifest.js.map +1 -1
  226. package/dist/cli/main.js +2 -2
  227. package/dist/cli/main.js.map +1 -1
  228. package/dist/cli-delegate/{chunk-BV3WR67D.js → chunk-55WZN5VF.js} +3 -6
  229. package/dist/cli-delegate/{chunk-X3VOARZD.js → chunk-L565YFXH.js} +3 -3
  230. package/dist/cli-delegate/{chunk-JMQZ7MM5.js → chunk-MNWRDMR5.js} +1 -1
  231. package/dist/cli-delegate/{chunk-IR3IVRVC.js → chunk-NLP54U3J.js} +2 -1
  232. package/dist/cli-delegate/{chunk-FV34EGEX.js → chunk-NN4KW4HZ.js} +1 -1
  233. package/dist/cli-delegate/{chunk-6ENSXSBW.js → chunk-PPQO4NGR.js} +1 -1
  234. package/dist/cli-delegate/{chunk-6LOPHJLD.js → chunk-RYNADUFG.js} +1 -1
  235. package/dist/cli-delegate/cmd_analyze_session.js +1 -1
  236. package/dist/cli-delegate/cmd_brand_status.js +1 -1
  237. package/dist/cli-delegate/cmd_conformance.js +16 -4
  238. package/dist/cli-delegate/cmd_doctor.js +2 -2
  239. package/dist/cli-delegate/cmd_explain.js +2 -2
  240. package/dist/cli-delegate/cmd_export.js +4 -4
  241. package/dist/cli-delegate/cmd_handoff.js +2 -2
  242. package/dist/cli-delegate/cmd_mcp_available.js +1 -1
  243. package/dist/cli-delegate/cmd_migrate.js +2 -2
  244. package/dist/cli-delegate/cmd_packs_active.js +2 -2
  245. package/dist/cli-delegate/cmd_prune.js +4 -4
  246. package/dist/cli-delegate/cmd_route_audit.js +2 -2
  247. package/dist/cli-delegate/cmd_route_explain.js +1 -1
  248. package/dist/cli-delegate/cmd_session_recycle.js +1 -1
  249. package/dist/cli-delegate/cmd_settings_get.js +1 -1
  250. package/dist/cli-delegate/cmd_settings_migrate.js +4 -4
  251. package/dist/cli-delegate/cmd_settings_set.js +1 -1
  252. package/dist/cli-delegate/cmd_sync.js +4 -4
  253. package/dist/cli-delegate/cmd_uninstall.js +4 -4
  254. package/dist/cli-delegate/cmd_update.js +1 -1
  255. package/dist/cli-delegate/cmd_upgrade.js +1 -1
  256. package/dist/cli-delegate/cmd_validate.js +4 -4
  257. package/dist/cli-delegate/cmd_versions.js +1 -1
  258. package/dist/discovery/deprecation-report.md +1 -1
  259. package/dist/discovery/discovery-manifest.json +216 -415
  260. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  261. package/dist/discovery/discovery-manifest.summary.md +2 -2
  262. package/dist/discovery/dormancy-report.md +1 -1
  263. package/dist/discovery/orphan-report.md +1 -1
  264. package/dist/discovery/packs.json +3 -3
  265. package/dist/discovery/trust-report.md +1 -1
  266. package/dist/discovery/workspaces.json +3 -3
  267. package/dist/hooks/dispatch.js +68 -14
  268. package/dist/install/install.mjs +5 -7
  269. package/dist/mcp/registry-manifest.json +3 -3
  270. package/dist/mcp/server.json +2 -2
  271. package/dist/mcp/server.mjs +48 -6
  272. package/dist/scripts/_lib/agent_settings.js +8 -0
  273. package/dist/scripts/_lib/agent_settings.js.map +1 -1
  274. package/dist/server/schemas/settings.js +3 -4
  275. package/dist/server/schemas/settings.js.map +1 -1
  276. package/dist/ui/assets/{index-5fXOHoVh.js → index-B0aMJnuz.js} +2 -2
  277. package/dist/ui/assets/{index-5fXOHoVh.js.map → index-B0aMJnuz.js.map} +1 -1
  278. package/dist/ui/index.html +1 -1
  279. package/docs/MIGRATION.md +1 -0
  280. package/docs/contracts/settings-classes.md +53 -9
  281. package/package.json +1 -1
  282. package/src/config/agent-settings.template.yml +49 -18
  283. package/src/config/gate-coverage.yml +13 -3
  284. package/src/config/gate-violation-baselines.json +4 -4
  285. package/src/config/pack-size-budget.json +3 -2
  286. package/src/scripts/_dispatch.bash +42 -5
  287. package/src/scripts/_lib/agent_settings.ts +8 -0
  288. package/src/scripts/audit_command_surface.ts +21 -15
  289. package/src/scripts/build_catalog_index.ts +1 -1
  290. package/src/scripts/build_discovery_manifest.ts +30 -34
  291. package/src/scripts/check_branch_freshness.ts +393 -12
  292. package/src/scripts/external_sources_denylist.json +7 -2
  293. package/src/scripts/gen_discovery_baseline.ts +3 -3
  294. package/src/scripts/hook_manifest.yaml +20 -0
  295. package/src/scripts/hooks/subagent_ledger_hook.ts +17 -4
  296. package/src/scripts/lint_command_tiers.ts +29 -75
  297. package/src/scripts/lint_originality.ts +101 -14
  298. package/src/scripts/schemas/command.schema.json +4 -9
  299. package/src/scripts/schemas/skill.schema.json +10 -1
  300. package/src/scripts/session_register_hook.ts +120 -10
  301. package/src/scripts/skill_linter.ts +82 -2
  302. package/src/scripts/worktree_cleanup_check.ts +111 -7
  303. package/src/server/schemas/settings.ts +3 -6
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: ghostwriter
4
4
  pack: gtm-marketing
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Ghostwriter cluster — fetch, write, list, show, and delete public-figure voice profiles (the third voice primitive alongside personas/ and .agent-user.md).
8
7
  argument-hint: "[fetch|write|list|show|delete] [args]"
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: grill-me
4
4
  pack: product-reasoning
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Alias for /challenge-me — interactive grill-style interview that sharpens a fuzzy plan/idea into a copyable Markdown pitch
8
7
  argument-hint: "[vision|with-docs] [flags] [seed]"
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: humanize
4
4
  pack: gtm-marketing
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Remove AI-writing tells from pasted text or a file — runs the humanizer skill's draft→audit→final loop and prints the rewrite plus a detector summary.
8
7
  argument-hint: "[path] [--voice=<slug|me>] [--language=en|de|auto]"
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: image-analyse
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: image
8
7
  sub: analyse
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: image-create
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: image
8
7
  sub: create
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: image-verify
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: image
8
7
  sub: verify
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: image
4
4
  pack: ai-video
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: image
8
7
  description: Character-image fidelity orchestrator — analyse, create, and verify a character image against its canon. Routes to analyse, create, verify.
@@ -5,7 +5,6 @@ pack: engineering-base
5
5
  intent: "Implement a tracker ticket end-to-end from its id"
6
6
  routes_to: [refine-ticket, feature-planning]
7
7
  replaces: []
8
- tier: 0
9
8
  visibility: visible
10
9
  skills: [refine-ticket, feature-planning]
11
10
  description: Drive a ticket end-to-end through refine → memory → analyze → plan → implement → test → verify → report — Option-A loop over the `work_engine` engine, block-on-ambiguity, no auto-git.
@@ -5,7 +5,6 @@ pack: product-basic
5
5
  intent: "Read a Jira ticket from the branch and implement the feature or fix the bug"
6
6
  routes_to: [jira-integration, feature-planning]
7
7
  replaces: []
8
- tier: 1
9
8
  visibility: advanced
10
9
  skills: [laravel]
11
10
  description: Read Jira ticket from branch name, analyze linked Sentry issues, implement feature or fix bug
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: judge-on-diff
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: judge
8
7
  sub: on-diff
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: judge-solo
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: judge
8
7
  sub: solo
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: judge-steps
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: judge
8
7
  sub: steps
@@ -7,7 +7,6 @@ pack: engineering-base
7
7
  intent: "Adversarial-judging dispatcher — solo, on-diff, steps"
8
8
  routes_to: [judge-solo, judge-on-diff, judge-steps]
9
9
  replaces: []
10
- tier: 1
11
10
  visibility: advanced
12
11
  description: Judge orchestrator — routes to solo, steps, on-diff
13
12
  cluster: judge
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: knowledge-cross-repo
4
4
  pack: product-discovery
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: knowledge
8
7
  sub: cross-repo
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: knowledge-forget
4
4
  pack: product-discovery
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: knowledge
8
7
  sub: forget
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: knowledge-ingest
4
4
  pack: product-discovery
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: knowledge
8
7
  sub: ingest
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: knowledge-list
4
4
  pack: product-discovery
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: knowledge
8
7
  sub: list
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: knowledge
4
4
  pack: product-discovery
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Knowledge orchestrator — routes to ingest, list, forget. Local-only file ingestion into the agent memory namespace.
8
7
  argument-hint: "[ingest|list|forget|cross-repo] [args]"
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: memory-add
4
4
  pack: memory
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: memory
8
7
  sub: add
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: memory-learn-low-impact
4
4
  pack: memory
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: memory
8
7
  sub: learn-low-impact
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: memory-load
4
4
  pack: memory
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: memory
8
7
  sub: load
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: memory-mine-session
4
4
  pack: memory
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: memory
8
7
  sub: mine-session
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: memory-promote
4
4
  pack: memory
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: memory
8
7
  sub: promote
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: memory-propose
4
4
  pack: memory
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: memory
8
7
  sub: propose
@@ -7,7 +7,6 @@ pack: memory
7
7
  intent: "Manage the agent memory layer — add, load, promote, propose"
8
8
  routes_to: [memory-add, memory-load, memory-mine-session, memory-promote, memory-propose, memory-learn-low-impact]
9
9
  replaces: []
10
- tier: 1
11
10
  visibility: advanced
12
11
  description: Memory orchestrator — routes to add, load, mine-session, promote, propose
13
12
  cluster: memory
@@ -5,7 +5,6 @@ pack: engineering-base
5
5
  intent: "Upgrade a Laravel application one major version (10→11, 11→12) via the gated /work engine with a structured breaking-change catalog"
6
6
  routes_to: [dependency-upgrade]
7
7
  replaces: []
8
- tier: 1
9
8
  visibility: advanced
10
9
  skills: [dependency-upgrade]
11
10
  framework: laravel
@@ -5,7 +5,6 @@ pack: meta
5
5
  intent: "Switch the active role-mode (developer/reviewer/tester/po/incident/planner)"
6
6
  routes_to: [role-mode-adherence]
7
7
  replaces: []
8
- tier: 1
9
8
  visibility: advanced
10
9
  description: Set the active role mode — prints the contract, lists default skills, and refuses work outside the contract (see role-contracts)
11
10
  argument-hint: "[developer|reviewer|tester|po|incident|planner|none]"
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: module-create
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: module
8
7
  sub: create
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: module-explore
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: module
8
7
  sub: explore
@@ -4,7 +4,6 @@ name: module
4
4
  disable-model-invocation: true
5
5
  argument-hint: "[create|explore] [args]"
6
6
  pack: engineering-base
7
- tier: 2
8
7
  visibility: internal
9
8
  description: Module orchestrator — routes to create, explore
10
9
  cluster: module
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: optimize-agents-dir
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: optimize
8
7
  sub: agents-dir
@@ -3,7 +3,6 @@ model_tier: medium
3
3
  skills: [agent-docs-writing]
4
4
  name: optimize-augmentignore
5
5
  pack: meta
6
- tier: 2
7
6
  visibility: internal
8
7
  cluster: optimize
9
8
  sub: augmentignore
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: optimize-deep
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: deep
8
7
  cluster: optimize
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: optimize-project
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: project
8
7
  cluster: optimize
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: optimize-prompt
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: prompt
8
7
  cluster: optimize
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: optimize-rtk
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: optimize
8
7
  sub: rtk
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: optimize-skills
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: optimize
8
7
  sub: skills
@@ -7,7 +7,6 @@ pack: meta
7
7
  intent: "Optimization dispatcher — skills, rtk, augmentignore, agents-dir, project sweep, prompt, deep autonomous loop"
8
8
  routes_to: [optimize-skills, optimize-rtk, optimize-augmentignore, optimize-agents-dir, optimize-project, optimize-prompt, optimize-deep]
9
9
  replaces: []
10
- tier: 1
11
10
  visibility: advanced
12
11
  description: Optimize orchestrator — routes to skills, agents-dir, augmentignore, rtk-filters, project (project-wide sweep), prompt (AI-prompt polish), deep (autonomous deep-refactoring loop)
13
12
  cluster: optimize
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: orchestrate
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: orchestrate
8
7
  skills: [subagent-orchestration]
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: override-create
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: override
8
7
  sub: create
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: override-manage
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: override
8
7
  sub: manage
@@ -4,7 +4,6 @@ name: override
4
4
  disable-model-invocation: true
5
5
  argument-hint: "[create|manage] [args]"
6
6
  pack: meta
7
- tier: 2
8
7
  visibility: internal
9
8
  description: Override orchestrator — routes to create, manage
10
9
  cluster: override
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: package-reset
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: reset
8
7
  cluster: package
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: package-test
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: test
8
7
  cluster: package
@@ -7,7 +7,6 @@ pack: meta
7
7
  intent: "Package dispatcher — test the package install or reset the installed state"
8
8
  routes_to: [package-test, package-reset]
9
9
  replaces: []
10
- tier: 2
11
10
  visibility: internal
12
11
  description: Package orchestrator — routes to test (verify the package install) and reset (restore installed state)
13
12
  cluster: package
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: post-as-ghostwriter
4
4
  pack: gtm-marketing
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: post-as
8
7
  sub: ghostwriter
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: post-as-me
4
4
  pack: gtm-marketing
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: post-as
8
7
  sub: me
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: post-as
4
4
  pack: gtm-marketing
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Consumer-facing write entry points — :me drafts in the maintainer's own voice from .agent-user.md (no disclosure); :ghostwriter is a thin alias for /ghostwriter:write (mandatory disclosure footer).
8
7
  argument-hint: "[me|ghostwriter] [args]"
@@ -3,7 +3,6 @@ model_tier: medium
3
3
  name: git-pr-create-description-only
4
4
  pack: git
5
5
  replaces: [create-pr-description-only, create-pr:description-only]
6
- tier: 2
7
6
  visibility: internal
8
7
  cluster: git-pr-create
9
8
  sub: description-only
@@ -7,7 +7,6 @@ pack: git
7
7
  intent: "Open a pull request with a generated description and stripped attribution footers"
8
8
  routes_to: [git-workflow]
9
9
  replaces: [create-pr]
10
- tier: 1
11
10
  visibility: advanced
12
11
  cluster: git-pr-create
13
12
  skills: [git-workflow]
@@ -68,52 +67,92 @@ gate.
68
67
 
69
68
  Run, in order:
70
69
 
71
- 1. `git fetch origin {target-base} --quiet` (default: `main`).
72
- 2. `git rev-list --count HEAD..origin/{target-base}` — number of
73
- commits HEAD is **behind** the base.
74
- 3. `gh pr list --state open --base {target-base} --limit 20 --json number,headRefName,files`
75
- — open PRs targeting the same base.
70
+ 1. **Ask the gate, never hand-roll the comparison:**
71
+
72
+ ```bash
73
+ npx tsx node_modules/@event4u/agent-config/src/scripts/check_branch_freshness.ts
74
+ ```
75
+
76
+ It resolves the base itself — explicit `--base`, else the base of the **open
77
+ PR for this branch** as the forge reports it, else the repo default the server
78
+ reports for `HEAD`. Do **not** substitute
79
+ `git rev-list --count HEAD..origin/main`: that hardcodes a base this branch may
80
+ not target, and it reads the local tracking ref, which is a fetch from earlier
81
+ in the session — a memory, not a check (`direct-answers` Iron Law 2).
82
+
83
+ **Exit `0` is not a verdict — it means only "did not refuse".** `1` = behind.
84
+ `0` covers "current", "could not verify", and every path with nothing to
85
+ check: a no-op in CI, a detached HEAD, and standing on the base branch
86
+ itself. Read the line, not just the status. A run that could not reach the
87
+ base prints `NOT VERIFIED` and still exits `0`, deliberately, so an offline
88
+ push is never blocked by a network failure; treating that as a clean pass is
89
+ the one misread this gate cannot protect you from.
90
+
91
+ **And under `--quiet` a genuine pass prints nothing at all** — that is how
92
+ `taskfiles/ci-fast.yml` invokes it, so silence there is the success case, not
93
+ a missing verdict. Every path that has NOT verified stays loud even under
94
+ `--quiet`. Run it without the flag when you need to read a verdict.
95
+
96
+ 2. `gh pr list --state open --base {resolved-base} --limit 20 --json number,headRefName,files`
97
+ — open PRs targeting the same base, for the overlap question below.
76
98
 
77
99
  **Decision matrix:**
78
100
 
79
- | Behind | Overlapping open PR touches same files? | Action |
101
+ | Gate | Overlapping open PR touches same files? | Action |
80
102
  |---|---|---|
81
- | `0` | — | Proceed to Step 2 |
82
- | `1–N` | No | **Merge `origin/main` in** — `git merge origin/{target-base} --no-edit` — then proceed. No need to ask; state that you did it. Abort + surface only on conflict. |
83
- | `1–N` | **Yes** | STOP — surface the overlapping PR number, ask: stack on top of it / wait for it to land / proceed-anyway-and-accept-conflicts / cancel |
84
-
85
- A branch behind its base is **not** current — bring `main` in **before** the PR
103
+ | exit `0`, prints `branch is current` | — | Proceed to Step 2 |
104
+ | exit `1` | No | **Merge the base in** — `git fetch origin && git merge origin/{resolved-base} --no-edit` — then run the regeneration set below, then proceed. No need to ask; state that you did it. |
105
+ | exit `1` | **Yes** | STOP — surface the overlapping PR number, ask: stack on top of it / wait for it to land / proceed-anyway-and-accept-conflicts / cancel |
106
+ | exit `0`, prints `NOT VERIFIED` | — | The base could not be reached, so freshness is **unknown** — not confirmed. Re-run once; if it persists, say the check did not run rather than reporting a pass. A base that `ls-remote` cannot resolve (deleted or renamed after the PR opened, or a fork base) lands here too. |
107
+ | warns `could not ask the forge` | — | The **default** base was checked and an open PR against a different base was **not** ruled out. Say so; do not report it as a clean freshness pass. |
108
+ | exit `0`, prints nothing, `--quiet` given | — | The success case for the preflight invocation. Any non-verifying path would have printed even under `--quiet`. |
109
+ | exit `0`, says `standing on <base> itself` / `detached HEAD` / `no-op in CI` | — | Nothing to check — a branch cannot be behind itself, a detached HEAD has no branch, and in CI the forge owns mergeability. Not a freshness pass; do not cite it as one. |
110
+
111
+ A branch behind its base is **not** current — bring the base in **before** the PR
86
112
  exists, never after. Auto-merge when there is no file overlap (the common case);
87
113
  only ask when an overlapping open PR makes the base genuinely ambiguous. Never
88
114
  improvise the base or silently proceed when behind **and** overlapping. The
89
115
  10-second fetch beats hours of rebase reconciliation after the parent PR lands.
90
116
 
91
- **On merge conflict: regenerate, don't abort.** Most conflicts on this class of
92
- branch are in **generated files** — the roadmap dashboard
93
- (`agents/roadmaps-progress.md`), `docs/proof.md`, the `dist/agent-src/`
94
- projection, tool projections. Those are resolved **by regenerating from the merged sources**,
95
- never by hand-picking hunks:
96
-
97
- 1. `./agent-config roadmap:progress` → resolves the dashboard.
98
- 2. `./scripts-run src/scripts/build_proof` → resolves `docs/proof.md`.
99
- 3. `bash src/scripts/condense.sh --sync`, then `--check` → resolves any
100
- conflict inside `dist/agent-src/` by re-projecting from the merged source.
117
+ **After EVERY merge — not only on conflict — regenerate the derived files.**
118
+ This is the half that gets skipped, because a merge that lands cleanly *looks*
119
+ finished. It is not: these files are **generated**, so a clean auto-merge of
120
+ them produces a file that describes neither side's sources. The dashboard is the
121
+ usual casualty — it merges without a conflict marker and then reports a roadmap
122
+ set that no longer exists.
123
+
124
+ 1. `./agent-config roadmap:progress` → the roadmap dashboard.
125
+ 2. `./scripts-run src/scripts/build_proof` → `docs/proof.md`.
126
+ 3. `bash src/scripts/condense.sh --sync`, then `--check` → re-projects
127
+ `dist/agent-src/` from the merged source.
101
128
  4. Stage the regenerated files, complete the merge, and re-run the touched
102
129
  verification before pushing.
103
130
 
104
- Only a conflict in **hand-authored** content (source code, prose you or the
105
- other PR wrote) is surfaced to the user; a generated-file conflict never is.
131
+ On a **conflict**, the same four steps are the resolution — regenerate from the
132
+ merged sources, never hand-pick hunks. Only a conflict in **hand-authored**
133
+ content (source code, prose you or the other PR wrote) is surfaced to the user;
134
+ a generated-file conflict never is.
106
135
 
107
136
  ### 1b-ii. Update freshness — MANDATORY on EVERY later push to an open PR
108
137
 
109
138
  The gate above is not creation-only. **Every subsequent push** to a branch with
110
139
  an open PR (a CI fix, a review response, a follow-up commit) re-runs the same
111
- sequence first: `git fetch origin {target-base}` → behind-check → merge
112
- `origin/{target-base}` in (regenerating on conflict as above) → verify → push.
140
+ sequence first: `check_branch_freshness` → on exit `1`, merge
141
+ `origin/{resolved-base}` in → regenerate the derived files → verify → push.
113
142
  A PR that sits open while its base advances goes stale silently; keeping the
114
143
  base merged **at every touch** means it stays `mergeStateStatus: CLEAN` instead
115
- of accumulating conflicts for the moment the user wants to merge. If the
116
- behind-check shows `0`, the step costs one fetch and nothing else.
144
+ of accumulating conflicts for the moment the user wants to merge. If the gate
145
+ exits `0`, the step costs one `ls-remote` and nothing else.
146
+
147
+ Once the PR exists, this is also when the resolution gets *more* precise rather
148
+ than less: the gate can now read the PR's real `baseRefName` from the forge, so
149
+ a stacked or release-line PR is measured against the branch it will actually
150
+ merge into instead of against the repo default.
151
+
152
+ Where the project wires this gate into its pre-push chain, a push that goes out
153
+ through the hook is covered without a separate step. Run it by hand when you push
154
+ with the hook bypassed, or when you are about to open the PR some time after the
155
+ last push — that gap is exactly where a base moves unseen.
117
156
 
118
157
  ### 1c. PR-gate — archive completed roadmaps (MANDATORY)
119
158
 
@@ -2,7 +2,6 @@
2
2
  model_tier: inherit
3
3
  name: prediction-pool
4
4
  pack: fun
5
- tier: 2
6
5
  visibility: internal
7
6
  description: "Fill a prediction pool (kicktipp, football/basketball WM): optimize expected points under the rules, enter tips via Playwright. Triggers 'Tippspiel', 'kicktipp', 'predict the pool'."
8
7
  argument-hint: "[event] [--pool-url <url>] [--council off|event|match] [--submit] [--fresh|--continue]"
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: prepare-for-review
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  skills: [git-workflow, quality-tools]
8
7
  description: Prepare a PR branch for local review — updates main and merges the full branch chain so the branch is up to date
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: profile-activate
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: profile
8
7
  sub: activate
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: profile-deactivate
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: profile
8
7
  sub: deactivate
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: profile-show
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  cluster: profile
8
7
  sub: show
@@ -2,7 +2,6 @@
2
2
  model_tier: medium
3
3
  name: profile
4
4
  pack: meta
5
- tier: 2
6
5
  visibility: internal
7
6
  description: Session-profile orchestrator — activate / deactivate / show the active packs for this session (recommendation-bias surface filter, no persistence)
8
7
  argument-hint: "[activate|deactivate|show] [args]"
@@ -2,7 +2,6 @@
2
2
  model_tier: high
3
3
  name: project-analyze
4
4
  pack: engineering-base
5
- tier: 2
6
5
  visibility: internal
7
6
  sub: analyze
8
7
  cluster: project