@event4u/agent-config 6.0.0 → 6.1.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 (378) hide show
  1. package/.claude-plugin/marketplace.json +5 -5
  2. package/CHANGELOG.md +167 -440
  3. package/README.md +3 -3
  4. package/dist/agent-src/commands/agent-handoff.md +5 -4
  5. package/dist/agent-src/commands/agent-status.md +1 -0
  6. package/dist/agent-src/commands/agents/audit.md +1 -0
  7. package/dist/agent-src/commands/agents/init.md +3 -0
  8. package/dist/agent-src/commands/agents/optimize.md +1 -0
  9. package/dist/agent-src/commands/agents/user/accept.md +1 -0
  10. package/dist/agent-src/commands/agents/user/init.md +1 -0
  11. package/dist/agent-src/commands/agents/user/review.md +1 -0
  12. package/dist/agent-src/commands/agents/user/show.md +1 -0
  13. package/dist/agent-src/commands/agents/user/update.md +1 -0
  14. package/dist/agent-src/commands/agents/user.md +1 -0
  15. package/dist/agent-src/commands/agents.md +1 -0
  16. package/dist/agent-src/commands/analytics/prune.md +3 -2
  17. package/dist/agent-src/commands/analytics/show.md +3 -2
  18. package/dist/agent-src/commands/analytics.md +3 -2
  19. package/dist/agent-src/commands/analyze-reference-repo.md +1 -0
  20. package/dist/agent-src/commands/bug-fix.md +1 -0
  21. package/dist/agent-src/commands/bug-investigate.md +1 -0
  22. package/dist/agent-src/commands/challenge-me/vision.md +3 -2
  23. package/dist/agent-src/commands/challenge-me/with-docs.md +3 -2
  24. package/dist/agent-src/commands/challenge-me.md +3 -2
  25. package/dist/agent-src/commands/chat-history/import.md +9 -9
  26. package/dist/agent-src/commands/chat-history.md +32 -30
  27. package/dist/agent-src/commands/check-current-md.md +1 -0
  28. package/dist/agent-src/commands/commit/in-chunks.md +1 -0
  29. package/dist/agent-src/commands/commit.md +1 -0
  30. package/dist/agent-src/commands/condense.md +1 -0
  31. package/dist/agent-src/commands/context/create.md +1 -0
  32. package/dist/agent-src/commands/context/refactor.md +1 -0
  33. package/dist/agent-src/commands/context.md +1 -0
  34. package/dist/agent-src/commands/cost-report.md +5 -4
  35. package/dist/agent-src/commands/council/analysis.md +3 -2
  36. package/dist/agent-src/commands/council/debate.md +5 -4
  37. package/dist/agent-src/commands/council/default.md +3 -2
  38. package/dist/agent-src/commands/council/design.md +3 -2
  39. package/dist/agent-src/commands/council/optimize.md +3 -2
  40. package/dist/agent-src/commands/council/pr.md +3 -2
  41. package/dist/agent-src/commands/council.md +4 -3
  42. package/dist/agent-src/commands/e2e-heal.md +1 -0
  43. package/dist/agent-src/commands/e2e-plan.md +1 -0
  44. package/dist/agent-src/commands/estimate-ticket.md +1 -0
  45. package/dist/agent-src/commands/feature/dev.md +1 -0
  46. package/dist/agent-src/commands/feature/explore.md +1 -0
  47. package/dist/agent-src/commands/feature/plan.md +6 -6
  48. package/dist/agent-src/commands/feature/refactor.md +1 -0
  49. package/dist/agent-src/commands/feature/roadmap.md +1 -0
  50. package/dist/agent-src/commands/feature.md +1 -0
  51. package/dist/agent-src/commands/fix/ci.md +1 -0
  52. package/dist/agent-src/commands/fix/portability.md +1 -0
  53. package/dist/agent-src/commands/fix/pr-comments.md +147 -15
  54. package/dist/agent-src/commands/fix/refs.md +1 -0
  55. package/dist/agent-src/commands/fix/seeder.md +1 -0
  56. package/dist/agent-src/commands/fix.md +8 -8
  57. package/dist/agent-src/commands/ghostwriter/delete.md +1 -0
  58. package/dist/agent-src/commands/ghostwriter/fetch.md +1 -0
  59. package/dist/agent-src/commands/ghostwriter/list.md +1 -0
  60. package/dist/agent-src/commands/ghostwriter/show.md +1 -0
  61. package/dist/agent-src/commands/ghostwriter/write.md +1 -0
  62. package/dist/agent-src/commands/ghostwriter.md +1 -0
  63. package/dist/agent-src/commands/grill-me.md +3 -2
  64. package/dist/agent-src/commands/image/analyse.md +1 -0
  65. package/dist/agent-src/commands/image/create.md +1 -0
  66. package/dist/agent-src/commands/image/verify.md +1 -0
  67. package/dist/agent-src/commands/image.md +1 -0
  68. package/dist/agent-src/commands/implement-ticket.md +1 -0
  69. package/dist/agent-src/commands/jira-ticket.md +1 -0
  70. package/dist/agent-src/commands/judge/on-diff.md +1 -0
  71. package/dist/agent-src/commands/judge/solo.md +1 -0
  72. package/dist/agent-src/commands/judge/steps.md +1 -0
  73. package/dist/agent-src/commands/judge.md +1 -0
  74. package/dist/agent-src/commands/knowledge/cross-repo.md +1 -0
  75. package/dist/agent-src/commands/knowledge/forget.md +1 -0
  76. package/dist/agent-src/commands/knowledge/ingest.md +1 -0
  77. package/dist/agent-src/commands/knowledge/list.md +1 -0
  78. package/dist/agent-src/commands/knowledge.md +1 -0
  79. package/dist/agent-src/commands/memory/add.md +8 -6
  80. package/dist/agent-src/commands/memory/learn-low-impact.md +3 -2
  81. package/dist/agent-src/commands/memory/load.md +7 -7
  82. package/dist/agent-src/commands/memory/mine-session.md +39 -12
  83. package/dist/agent-src/commands/memory/promote.md +3 -2
  84. package/dist/agent-src/commands/memory/propose.md +7 -6
  85. package/dist/agent-src/commands/memory.md +3 -2
  86. package/dist/agent-src/commands/mode.md +1 -0
  87. package/dist/agent-src/commands/module/create.md +1 -0
  88. package/dist/agent-src/commands/module/explore.md +1 -0
  89. package/dist/agent-src/commands/module.md +1 -0
  90. package/dist/agent-src/commands/optimize/agents-dir.md +1 -0
  91. package/dist/agent-src/commands/optimize/augmentignore.md +1 -0
  92. package/dist/agent-src/commands/optimize/rtk.md +1 -0
  93. package/dist/agent-src/commands/optimize/skills.md +1 -0
  94. package/dist/agent-src/commands/optimize-prompt.md +1 -0
  95. package/dist/agent-src/commands/optimize.md +1 -0
  96. package/dist/agent-src/commands/orchestrate.md +1 -0
  97. package/dist/agent-src/commands/override/create.md +1 -0
  98. package/dist/agent-src/commands/override/manage.md +1 -0
  99. package/dist/agent-src/commands/override.md +1 -0
  100. package/dist/agent-src/commands/package-reset.md +1 -0
  101. package/dist/agent-src/commands/package-test.md +1 -0
  102. package/dist/agent-src/commands/post-as/ghostwriter.md +1 -0
  103. package/dist/agent-src/commands/post-as/me.md +1 -0
  104. package/dist/agent-src/commands/post-as.md +1 -0
  105. package/dist/agent-src/commands/pr/create/description-only.md +1 -0
  106. package/dist/agent-src/commands/pr/create.md +25 -0
  107. package/dist/agent-src/commands/prediction-pool.md +1 -0
  108. package/dist/agent-src/commands/prepare-for-review.md +1 -0
  109. package/dist/agent-src/commands/profile/activate.md +1 -0
  110. package/dist/agent-src/commands/profile/deactivate.md +1 -0
  111. package/dist/agent-src/commands/profile/show.md +1 -0
  112. package/dist/agent-src/commands/profile.md +1 -0
  113. package/dist/agent-src/commands/project-analyze.md +1 -0
  114. package/dist/agent-src/commands/project-health.md +1 -0
  115. package/dist/agent-src/commands/quality-fix.md +1 -0
  116. package/dist/agent-src/commands/refine-ticket.md +1 -0
  117. package/dist/agent-src/commands/research/deep.md +1 -0
  118. package/dist/agent-src/commands/research/report.md +1 -0
  119. package/dist/agent-src/commands/research.md +1 -0
  120. package/dist/agent-src/commands/review-changes.md +1 -0
  121. package/dist/agent-src/commands/review-routing.md +1 -0
  122. package/dist/agent-src/commands/roadmap/ai-council.md +1 -0
  123. package/dist/agent-src/commands/roadmap/create.md +1 -0
  124. package/dist/agent-src/commands/roadmap/process-full.md +1 -0
  125. package/dist/agent-src/commands/roadmap/process-phase.md +1 -0
  126. package/dist/agent-src/commands/roadmap/process-step.md +1 -0
  127. package/dist/agent-src/commands/roadmap.md +1 -0
  128. package/dist/agent-src/commands/rule-compliance-audit.md +1 -0
  129. package/dist/agent-src/commands/security-audit-config.md +84 -0
  130. package/dist/agent-src/commands/set-cost-profile.md +1 -0
  131. package/dist/agent-src/commands/skill/preview.md +1 -0
  132. package/dist/agent-src/commands/skill.md +1 -0
  133. package/dist/agent-src/commands/skills/discover.md +1 -0
  134. package/dist/agent-src/commands/skills.md +1 -0
  135. package/dist/agent-src/commands/sync-agent-settings.md +1 -0
  136. package/dist/agent-src/commands/sync-gitignore/fix.md +1 -0
  137. package/dist/agent-src/commands/sync-gitignore.md +1 -0
  138. package/dist/agent-src/commands/tests/create.md +1 -0
  139. package/dist/agent-src/commands/tests/execute.md +1 -0
  140. package/dist/agent-src/commands/tests.md +1 -0
  141. package/dist/agent-src/commands/threat-model.md +1 -0
  142. package/dist/agent-src/commands/update-form-request-messages.md +1 -0
  143. package/dist/agent-src/commands/upstream-contribute.md +1 -0
  144. package/dist/agent-src/commands/video/from-script.md +1 -0
  145. package/dist/agent-src/commands/video/from-song.md +1 -0
  146. package/dist/agent-src/commands/video/scene.md +1 -0
  147. package/dist/agent-src/commands/video/stitch.md +1 -0
  148. package/dist/agent-src/commands/video/storyboard.md +1 -0
  149. package/dist/agent-src/commands/video.md +1 -0
  150. package/dist/agent-src/commands/work.md +1 -0
  151. package/dist/agent-src/contexts/augment-infrastructure.md +1 -1
  152. package/dist/agent-src/contexts/communication/rules-auto/skill-quality-mechanics.md +1 -1
  153. package/dist/agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +2 -2
  154. package/dist/agent-src/contexts/communication/rules-auto/think-before-action-mechanics.md +6 -6
  155. package/dist/agent-src/contexts/contracts/consumer-agents-md-guide.md +2 -2
  156. package/dist/agent-src/contexts/execution/rdp-gate.md +75 -0
  157. package/dist/agent-src/contexts/subagent-configuration.md +1 -0
  158. package/dist/agent-src/personas/advisors/contrarian.md +1 -1
  159. package/dist/agent-src/personas/advisors/executor.md +1 -1
  160. package/dist/agent-src/personas/advisors/expansionist.md +1 -1
  161. package/dist/agent-src/personas/advisors/first-principles.md +1 -1
  162. package/dist/agent-src/personas/advisors/outsider.md +1 -1
  163. package/dist/agent-src/rules/autonomous-execution.md +12 -0
  164. package/dist/agent-src/rules/external-reference-deep-dive.md +1 -1
  165. package/dist/agent-src/rules/git-history-discipline.md +47 -1
  166. package/dist/agent-src/rules/improve-before-implement.md +12 -0
  167. package/dist/agent-src/rules/lethal-trifecta-guard.md +80 -0
  168. package/dist/agent-src/rules/no-pr-progress-comments.md +3 -4
  169. package/dist/agent-src/rules/notes-first-reasoning.md +71 -0
  170. package/dist/agent-src/rules/roadmap-progress-sync.md +48 -31
  171. package/dist/agent-src/rules/security-sensitive-stop.md +14 -1
  172. package/dist/agent-src/rules/source-confidentiality.md +97 -0
  173. package/dist/agent-src/rules/think-before-action.md +9 -1
  174. package/dist/agent-src/rules/untrusted-input-defense.md +76 -0
  175. package/dist/agent-src/scripts/archive_completed_roadmaps.py +171 -0
  176. package/dist/agent-src/skills/adversarial-review/SKILL.md +14 -0
  177. package/dist/agent-src/skills/agent-security-review/SKILL.md +113 -0
  178. package/dist/agent-src/skills/agent-security-review/evals/triggers.json +51 -0
  179. package/dist/agent-src/skills/ai-council/SKILL.md +3 -3
  180. package/dist/agent-src/skills/async-python-patterns/SKILL.md +1 -1
  181. package/dist/agent-src/skills/blast-radius-analyzer/SKILL.md +12 -11
  182. package/dist/agent-src/skills/command-routing/SKILL.md +1 -1
  183. package/dist/agent-src/skills/complexity-first-planning/SKILL.md +96 -0
  184. package/dist/agent-src/skills/complexity-first-planning/evals/triggers.json +16 -0
  185. package/dist/agent-src/skills/copilot-config/SKILL.md +3 -4
  186. package/dist/agent-src/skills/defense-in-depth/SKILL.md +1 -1
  187. package/dist/agent-src/skills/developer-like-execution/SKILL.md +5 -4
  188. package/dist/agent-src/skills/error-handling-patterns/SKILL.md +1 -1
  189. package/dist/agent-src/skills/feature-planning/SKILL.md +2 -2
  190. package/dist/agent-src/skills/mcp-builder/SKILL.md +1 -1
  191. package/dist/agent-src/skills/memory-consolidation/SKILL.md +63 -17
  192. package/dist/agent-src/skills/prompt-engineering-patterns/SKILL.md +1 -1
  193. package/dist/agent-src/skills/readme-writing-package/SKILL.md +1 -1
  194. package/dist/agent-src/skills/reasoning-orchestrator/SKILL.md +119 -0
  195. package/dist/agent-src/skills/reasoning-orchestrator/evals/triggers.json +16 -0
  196. package/dist/agent-src/skills/receiving-code-review/SKILL.md +6 -6
  197. package/dist/agent-src/skills/refine-prompt/SKILL.md +1 -1
  198. package/dist/agent-src/skills/refine-ticket/SKILL.md +1 -1
  199. package/dist/agent-src/skills/repomix-packer/SKILL.md +1 -1
  200. package/dist/agent-src/skills/secrets-management/SKILL.md +1 -1
  201. package/dist/agent-src/skills/subagent-orchestration/SKILL.md +10 -3
  202. package/dist/agent-src/skills/testing-anti-patterns/SKILL.md +1 -1
  203. package/dist/agent-src/skills/testing-anti-patterns/process-anti-patterns.md +1 -1
  204. package/dist/agent-src/skills/token-optimizer/SKILL.md +1 -1
  205. package/dist/agent-src/templates/agents/.gitattributes.fragment +0 -1
  206. package/dist/agent-src/templates/agents/agent-project-settings.example.yml +4 -4
  207. package/dist/agent-src/templates/scripts/check_memory.py +1 -2
  208. package/dist/agent-src/templates/scripts/check_memory_proposal.py +1 -1
  209. package/dist/agent-src/templates/scripts/memory_lookup.py +148 -289
  210. package/dist/agent-src/templates/scripts/memory_report.py +132 -2
  211. package/dist/agent-src/templates/scripts/memory_signal.py +7 -9
  212. package/dist/agent-src/templates/scripts/memory_status.py +25 -206
  213. package/dist/agent-src/templates/scripts/work_engine/directives/backend/memory.py +6 -6
  214. package/dist/agent-src/templates/scripts/work_engine/directives/ui/_passthrough.py +3 -3
  215. package/dist/agent-src/templates/scripts/work_engine/scoring/memory_visibility.py +0 -1
  216. package/dist/cli/agent-config.js +31 -300
  217. package/dist/cli/agent-config.js.map +1 -1
  218. package/dist/cli/commands/commands.js +10 -5
  219. package/dist/cli/commands/commands.js.map +1 -1
  220. package/dist/cli/discovery/loadManifest.js.map +1 -1
  221. package/dist/cli/main.js +309 -0
  222. package/dist/cli/main.js.map +1 -0
  223. package/dist/discovery/deprecation-report.md +1 -1
  224. package/dist/discovery/discovery-manifest.json +645 -342
  225. package/dist/discovery/discovery-manifest.json.sha256 +1 -1
  226. package/dist/discovery/discovery-manifest.summary.md +8 -5
  227. package/dist/discovery/orphan-report.md +1 -1
  228. package/dist/discovery/packs.json +149 -37
  229. package/dist/discovery/trust-report.md +3 -3
  230. package/dist/discovery/workspaces.json +61 -36
  231. package/dist/mcp/registry-manifest.json +4 -4
  232. package/dist/router.json +1 -1
  233. package/dist/server/routes/wizard.js +4 -3
  234. package/dist/server/routes/wizard.js.map +1 -1
  235. package/dist/server/schemas/settings.js +18 -0
  236. package/dist/server/schemas/settings.js.map +1 -1
  237. package/docs/MIGRATION.md +1 -1
  238. package/docs/adrs/cost/0001-hard-stop-hook.md +5 -5
  239. package/docs/adrs/memory/0001-consumer-side-snapshot.md +15 -7
  240. package/docs/adrs/memory/README.md +6 -5
  241. package/docs/adrs/router/0001-three-tier-routing.md +2 -2
  242. package/docs/adrs/schema/0001-json-schema-frontmatter.md +2 -2
  243. package/docs/adrs/smoke/0001-per-tier-smoke-scripts.md +5 -5
  244. package/docs/adrs/telegraph/0001-default-off-until-bench.md +3 -3
  245. package/docs/architecture.md +9 -9
  246. package/docs/archive/CHANGELOG-pre-2.2.0.md +30 -30
  247. package/docs/archive/CHANGELOG-pre-2.25.0.md +1 -1
  248. package/docs/archive/CHANGELOG-pre-4.5.0.md +1 -1
  249. package/docs/archive/CHANGELOG-pre-6.0.0.md +473 -0
  250. package/docs/benchmark.md +54 -53
  251. package/docs/benchmarks.md +2 -2
  252. package/docs/case-studies/{frontend-design-vs-ui-ux-pro-max.md → frontend-design-positioning.md} +4 -4
  253. package/docs/catalog.md +20 -13
  254. package/docs/command-flows.md +90 -92
  255. package/docs/contracts/adr-layout.md +2 -3
  256. package/docs/contracts/adr-level-6-productization.md +1 -1
  257. package/docs/contracts/ai-council-config.md +42 -7
  258. package/docs/contracts/command-clusters.md +1 -1
  259. package/docs/contracts/cost-enforcement.md +1 -1
  260. package/docs/contracts/cost-summary-schema.md +1 -1
  261. package/docs/contracts/daily-workspace.md +1 -0
  262. package/docs/contracts/discovery-manifest.schema.json +4 -2
  263. package/docs/contracts/explain-modes.md +1 -1
  264. package/docs/contracts/implement-ticket-flow.md +6 -7
  265. package/docs/contracts/mcp-tool-inventory.md +10 -10
  266. package/docs/contracts/measurement-baseline.md +1 -1
  267. package/docs/contracts/memory-visibility-v1.md +1 -5
  268. package/docs/contracts/namespace.md +1 -1
  269. package/docs/contracts/persona-schema.md +1 -1
  270. package/docs/contracts/rule-interactions.md +1 -1
  271. package/docs/contracts/smoke-contracts.md +1 -1
  272. package/docs/contracts/universal-skills.md +0 -1
  273. package/docs/contracts/workspace-boundary.md +84 -0
  274. package/docs/customization.md +3 -3
  275. package/docs/decisions/ADR-009-event4u-namespace.md +1 -1
  276. package/docs/decisions/ADR-013-discovery-frontmatter-contract.md +1 -1
  277. package/docs/decisions/ADR-026-explain-mode-translation.md +1 -1
  278. package/docs/decisions/ADR-088-no-external-runtime-federation.md +26 -27
  279. package/docs/decisions/ADR-090-visibility-command-frontmatter-field.md +95 -0
  280. package/docs/decisions/ADR-091-split-meta-capability-packs.md +113 -0
  281. package/docs/decisions/ADR-092-defer-command-tier-alias-removal.md +93 -0
  282. package/docs/decisions/ADR-093-ai-council-config-user-global.md +111 -0
  283. package/docs/decisions/ADR-094-agent-memory-layer-removal.md +94 -0
  284. package/docs/decisions/ADR-095-workspace-boundary-contract.md +108 -0
  285. package/docs/decisions/INDEX.md +6 -0
  286. package/docs/development.md +5 -7
  287. package/docs/getting-started.md +4 -4
  288. package/docs/guidelines/agent-infra/5w2h-analysis.md +1 -1
  289. package/docs/guidelines/agent-infra/comparison-matrix.md +1 -1
  290. package/docs/guidelines/agent-infra/corpus-grounding-authoring.md +1 -1
  291. package/docs/guidelines/agent-infra/critical-thinking.md +1 -1
  292. package/docs/guidelines/agent-infra/engineering-memory-data-format.md +1 -5
  293. package/docs/guidelines/agent-infra/first-principles.md +1 -1
  294. package/docs/guidelines/agent-infra/frontier-reasoning-operating-profile.md +164 -0
  295. package/docs/guidelines/agent-infra/inversion-thinking.md +1 -1
  296. package/docs/guidelines/agent-infra/ios-simulator-guide.md +9 -14
  297. package/docs/guidelines/agent-infra/mcp-request-signing.md +19 -22
  298. package/docs/guidelines/agent-infra/memory-access.md +25 -31
  299. package/docs/guidelines/agent-infra/mental-models.md +1 -1
  300. package/docs/guidelines/agent-infra/model-recommendation.md +29 -0
  301. package/docs/guidelines/agent-infra/scqa-framework.md +3 -3
  302. package/docs/guidelines/agent-infra/security-lint-containment.md +81 -0
  303. package/docs/guidelines/agent-infra/six-hats.md +1 -1
  304. package/docs/guidelines/agent-infra/systems-thinking.md +1 -1
  305. package/docs/guidelines/agent-infra/untrusted-input-spotlighting.md +72 -0
  306. package/docs/installation.md +1 -1
  307. package/docs/mcp.md +2 -2
  308. package/docs/parity/{bench-ruflo.json → bench-external.json} +10 -10
  309. package/docs/parity/{ruflo.md → external-runtime.md} +9 -9
  310. package/docs/quality.md +3 -3
  311. package/docs/safety.md +3 -3
  312. package/docs/skills-catalog.md +4 -1
  313. package/llms.txt +3 -0
  314. package/package.json +1 -1
  315. package/src/config/agent-settings.template.yml +65 -3
  316. package/src/config/discovery/packs.yml +29 -0
  317. package/src/config/discovery/workspaces.yml +3 -1
  318. package/src/config/gitignore-block.txt +6 -0
  319. package/src/scripts/__pycache__/validate_frontmatter.cpython-312.pyc +0 -0
  320. package/src/scripts/_cli/cmd_doctor.py +99 -13
  321. package/src/scripts/_lib/__pycache__/__init__.cpython-312.pyc +0 -0
  322. package/src/scripts/_lib/__pycache__/agent_src.cpython-312.pyc +0 -0
  323. package/src/scripts/_lib/bench_ab_scoring_v2.py +227 -0
  324. package/src/scripts/_lib/global_deploy_inventory.py +39 -9
  325. package/src/scripts/_lib/link_crypto.py +206 -0
  326. package/src/scripts/_lib/security_lint.py +228 -0
  327. package/src/scripts/ai_council/clients.py +2 -2
  328. package/src/scripts/ai_council/config.py +55 -0
  329. package/src/scripts/audit_adr_coverage.py +0 -2
  330. package/src/scripts/audit_command_surface.py +18 -5
  331. package/src/scripts/audit_mcp_tools.py +2 -2
  332. package/src/scripts/audit_skill_descriptions.py +2 -2
  333. package/src/scripts/bench_ab_clone.py +62 -12
  334. package/src/scripts/bench_ab_task_runner.py +475 -30
  335. package/src/scripts/bench_ab_v2_run.py +247 -0
  336. package/src/scripts/bench_ab_v2_stats.py +347 -0
  337. package/src/scripts/bench_run.py +1 -1
  338. package/src/scripts/build_discovery_manifest.py +10 -0
  339. package/src/scripts/check_bite_sized_granularity.py +1 -2
  340. package/src/scripts/check_memory.py +49 -63
  341. package/src/scripts/check_memory_proposal.py +1 -1
  342. package/src/scripts/check_no_external_sources.py +101 -0
  343. package/src/scripts/check_references.py +2 -0
  344. package/src/scripts/cost_by_conversation.py +1 -1
  345. package/src/scripts/council_cli.py +28 -14
  346. package/src/scripts/external_sources_denylist.json +91 -0
  347. package/src/scripts/hook_manifest.yaml +14 -6
  348. package/src/scripts/injection_scan_hook.py +145 -0
  349. package/src/scripts/install-hooks.sh +11 -0
  350. package/src/scripts/install.py +88 -13
  351. package/src/scripts/lint_agent_security.py +112 -0
  352. package/src/scripts/lint_bench_ab.py +5 -4
  353. package/src/scripts/lint_command_tiers.py +63 -22
  354. package/src/scripts/lint_discovery_vocabulary.py +2 -0
  355. package/src/scripts/lint_empty_roadmaps.py +80 -0
  356. package/src/scripts/lint_hidden_unicode.py +132 -0
  357. package/src/scripts/lint_instruction_smuggling.py +107 -0
  358. package/src/scripts/lint_marketplace.py +1 -1
  359. package/src/scripts/lint_mcp_config_security.py +124 -0
  360. package/src/scripts/lint_skill_frontmatter_safety.py +144 -0
  361. package/src/scripts/lint_workspace_boundary.py +122 -0
  362. package/src/scripts/mcp_server/consumer_tool_catalog.json +2 -3
  363. package/src/scripts/mcp_server/tools.py +8 -32
  364. package/src/scripts/memory_lookup.py +27 -296
  365. package/src/scripts/memory_report.py +1 -23
  366. package/src/scripts/memory_signal.py +6 -53
  367. package/src/scripts/memory_status.py +25 -206
  368. package/src/scripts/mine_session.py +118 -41
  369. package/src/scripts/pack_dependency_allowlist.json +2 -2
  370. package/src/scripts/render_benchmark_md.py +141 -52
  371. package/src/scripts/schemas/command.schema.json +6 -1
  372. package/src/scripts/security_audit_config.py +153 -0
  373. package/dist/agent-src/commands/chat-history/learn.md +0 -184
  374. package/dist/agent-src/commands/chat-history/show.md +0 -113
  375. package/dist/agent-src/commands/fix/pr-bot-comments.md +0 -157
  376. package/dist/agent-src/commands/fix/pr-developer-comments.md +0 -163
  377. package/dist/agent-src/templates/agents/memory/architecture-decisions.example.yml +0 -95
  378. package/docs/contracts/agent-memory-contract.md +0 -159
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  model_tier: inherit
3
3
  name: council-optimize
4
- pack: meta
4
+ pack: product-reasoning
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: council
7
8
  sub: optimize
8
9
  skills: [ai-council]
@@ -14,7 +15,7 @@ suggestion:
14
15
  workspaces:
15
16
  - agent-config-maintainer
16
17
  packs:
17
- - meta
18
+ - product-reasoning
18
19
  ---
19
20
 
20
21
  # /council optimize
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  model_tier: inherit
3
3
  name: council-pr
4
- pack: meta
4
+ pack: product-reasoning
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: council
7
8
  sub: pr
8
9
  skills: [ai-council]
@@ -14,7 +15,7 @@ suggestion:
14
15
  workspaces:
15
16
  - agent-config-maintainer
16
17
  packs:
17
- - meta
18
+ - product-reasoning
18
19
  ---
19
20
 
20
21
  # /council pr
@@ -2,11 +2,12 @@
2
2
  model_tier: medium
3
3
  name: council
4
4
  disable-model-invocation: true
5
- pack: meta
5
+ pack: product-reasoning
6
6
  intent: "Poll external AIs for a neutral second opinion (pr/design/optimize/analysis lenses)"
7
7
  routes_to: [council-default, council-pr, council-design, council-analysis]
8
8
  replaces: []
9
9
  tier: 1
10
+ visibility: advanced
10
11
  description: Council orchestrator — routes to default, pr, design, optimize, analysis, debate
11
12
  cluster: council
12
13
  type: orchestrator
@@ -17,7 +18,7 @@ suggestion:
17
18
  workspaces:
18
19
  - agent-config-maintainer
19
20
  packs:
20
- - meta
21
+ - product-reasoning
21
22
  ---
22
23
 
23
24
  # /council
@@ -75,7 +76,7 @@ Sub-command names match the locked contract in
75
76
  ## Advisor mode (replace-mode personas)
76
77
 
77
78
  Any sub-command above can run in **advisor mode** by enabling one or
78
- more advisors in `agents/settings/.ai-council.yml` under `advisors:` (Contrarian,
79
+ more advisors in `~/.event4u/agent-config/settings/.ai-council.yml` under `advisors:` (Contrarian,
79
80
  First-Principles, Expansionist, Outsider, Executor). An enabled advisor
80
81
  swaps its bound member's plain call for the same provider running the
81
82
  advisor persona — **same call count, same budget**. `council:estimate`
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: e2e-heal
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [playwright-testing]
7
8
  description: Find, debug, and fix failing Playwright E2E tests
8
9
  suggestion:
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: e2e-plan
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [playwright-testing]
7
8
  description: Explore the application and create a structured E2E test plan in Markdown
8
9
  suggestion:
@@ -6,6 +6,7 @@ intent: "Estimate a tracker ticket's size, risk, and whether to split it"
6
6
  routes_to: [estimate-ticket]
7
7
  replaces: []
8
8
  tier: 1
9
+ visibility: advanced
9
10
  skills: [estimate-ticket]
10
11
  description: Estimate a Jira/Linear ticket before sprint planning — size + risk + split recommendation + uncertainty, sibling to /refine-ticket, ends with a close-prompt
11
12
  suggestion:
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: feature-dev
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: feature
7
8
  sub: dev
8
9
  description: Full 7-phase feature development workflow for complex features.
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: feature-explore
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: feature
7
8
  sub: explore
8
9
  skills: [laravel]
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: feature-plan
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: feature
7
8
  sub: plan
8
9
  skills: [feature-planning]
@@ -113,12 +114,11 @@ Before asking detailed questions, **proactively research**:
113
114
  - Similar patterns already implemented
114
115
  - Database tables that would be affected
115
116
  - Read module-level `agents/` docs if a specific module is involved.
116
- - **Read `agents/memory/architecture-decisions.yml`** (if it exists) for active
117
- ADRs whose `scope:` covers the affected modules. An ADR with
118
- `status: active` is a binding constraint — propose structure that
119
- respects it. If the feature needs to contradict an ADR, surface that
120
- as a decision for the user before drafting the plan. See
121
- [`engineering-memory-data-format`](../../docs/guidelines/agent-infra/engineering-memory-data-format.md).
117
+ - **Read the ADR index `docs/decisions/INDEX.md`** for active ADRs whose
118
+ scope covers the affected modules. An ADR with `status: accepted` is a
119
+ binding constraint — propose structure that respects it. If the feature
120
+ needs to contradict an ADR, surface that as a decision for the user before
121
+ drafting the plan.
122
122
 
123
123
  **Share key findings with the user** — this informs the discussion:
124
124
 
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: feature-refactor
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: feature
7
8
  sub: refactor
8
9
  skills: [laravel, php-coder]
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: feature-roadmap
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: feature
7
8
  sub: roadmap
8
9
  skills: [agent-docs-writing]
@@ -7,6 +7,7 @@ intent: "Feature-workflow dispatcher — explore, plan, refactor, roadmap, dev"
7
7
  routes_to: [feature-explore, feature-plan, feature-refactor, feature-roadmap, feature-dev]
8
8
  replaces: []
9
9
  tier: 1
10
+ visibility: advanced
10
11
  description: Feature orchestrator — routes to explore, plan, refactor, roadmap, dev
11
12
  cluster: feature
12
13
  type: orchestrator
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: fix-ci
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: fix
7
8
  sub: ci
8
9
  skills: [github-ci, quality-tools]
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: fix-portability
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: fix
7
8
  sub: portability
8
9
  skills: [check-refs]
@@ -3,9 +3,10 @@ model_tier: medium
3
3
  name: fix-pr-comments
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: fix
7
8
  sub: pr-comments
8
- skills: [php-coder]
9
+ skills: [php-coder, quality-tools]
9
10
  description: Fix and reply to all open review comments (bots + human reviewers) on a GitHub PR
10
11
  suggestion:
11
12
  eligible: true
@@ -18,7 +19,12 @@ packs:
18
19
  ---
19
20
 
20
21
  # /fix pr-comments
21
- This command runs `/fix pr-bot-comments` and `/fix pr-developer-comments` in sequence on the same PR.
22
+
23
+ Single surface for addressing all open PR review comments — **bot**
24
+ (Copilot, Greptile, Augment, …) and **human reviewers** — in one pass.
25
+ Each unresolved comment is classified by author type and handled with the
26
+ right detection and reply style. Dedupes by comment id + reply marker;
27
+ never replies twice.
22
28
 
23
29
  ## Input
24
30
 
@@ -38,32 +44,158 @@ The user may or may not provide a PR URL.
38
44
 
39
45
  ## Mode selection
40
46
 
41
- After the PR is confirmed, ask the user:
47
+ After the PR is confirmed, ask the user (use numbered options per `user-interaction` rule):
42
48
 
43
49
  ```
44
50
  > 1. Interactive — ask before each comment
45
51
  > 2. Automatic — handle all independently
46
52
  ```
47
53
 
48
- The chosen mode applies to **both** phases.
54
+ - **Option 1** follow the "Interactive flow" below.
55
+ - **Option 2** → follow the "Auto flow" below.
56
+
57
+ The chosen mode applies to **every** comment, bot and human alike.
58
+
59
+ ## Comment classification
60
+
61
+ - A comment is from a **bot** if the GitHub user has `type: "Bot"` or the
62
+ login matches a known bot account: `Copilot`, `github-actions[bot]`,
63
+ `greptile[bot]`, `augment[bot]`, or any login ending in `[bot]`.
64
+ - A comment is from a **human reviewer** if the user `type` is `"User"`, the
65
+ login does NOT end in `[bot]`, and the user is NOT the PR author (never
66
+ process your own comments).
67
+
68
+ ## Instructions (shared)
69
+
70
+ 1. **Fetch all review comments** from the PR using the GitHub API
71
+ (`/pulls/{number}/comments`, `per_page: 100`). Also fetch **PR reviews**
72
+ (`/pulls/{number}/reviews`) for top-level human review comments. Filter for
73
+ comments that have **no reply yet** from the PR author.
74
+ 2. **Classify** each unresolved comment as bot or human (rules above).
75
+ 3. **For each comment**, read the affected file and surrounding context to
76
+ understand the code and the suggestion / request.
77
+ 4. **Report the totals** to the user: "Found X unresolved bot comments and Y
78
+ unresolved reviewer comments."
79
+
80
+ ---
81
+
82
+ ## Interactive flow
83
+
84
+ For each comment, present it to the user **before** taking action.
85
+
86
+ ### 1. Summarize the comment
87
+
88
+ In the **user's language**, briefly explain:
89
+ - Whether it's a bot or a named human reviewer (login)
90
+ - Which file/line is affected
91
+ - What is being suggested / requested
92
+ - Your assessment: valid, partially valid, a question, a style preference, or not applicable
93
+
94
+ ### 2. Offer options
95
+
96
+ Present numbered options. Always include a "leave as-is" / "skip" option.
97
+
98
+ **Bot — one clear fix:**
99
+ > **Comment 1/3** — `WorkingTimeService.php:108`
100
+ > Bot says: The guard condition only checks `job_start`, but the comment also mentions `job_stop`.
101
+ >
102
+ > 1. Fix the comment (only mention `job_start`)
103
+ > 2. Extend the guard condition (also check `job_stop`)
104
+ > 3. Leave as-is, dismiss comment
105
+
106
+ **Bot — multiple valid approaches:**
107
+ > **Comment 2/3** — `AbsencePlannerService.php:520`
108
+ > Bot says: When an exception occurs mid-loop, log entries are missing.
109
+ >
110
+ > 1. `writeLogBulk()` in einen `finally`-Block verschieben
111
+ > 2. Die gesamte Schleife in eine DB-Transaction wrappen
112
+ > 3. Leave as-is, dismiss comment
113
+
114
+ **Human — change request:**
115
+ > **Comment 1/3** — @cjost1988 in `WorkingTimeService.php:108`
116
+ > Reviewer asks: Why is the fallback `float`? `$time` is `$hours * 60`.
117
+ >
118
+ > 1. Reply and explain why (no code change needed)
119
+ > 2. Adjust type annotation to `float|int|string`
120
+ > 3. Skip
121
+
122
+ **Human — question (no code change needed):**
123
+ > **Comment 3/3** — @cjost1988 in `KS21Client.php:42`
124
+ > Reviewer asks: Is this fallback ever reached?
125
+ >
126
+ > 1. Reply with explanation
127
+ > 2. Skip
128
+
129
+ ### 3. Wait for the user's choice
130
+
131
+ - Do NOT proceed until the user picks an option.
132
+ - If the user wants a custom reply, let them dictate the text.
133
+ - If the user asks a follow-up question, answer it before proceeding.
134
+ - After the user chooses, apply the fix (or skip) and reply on GitHub.
135
+
136
+ ### 4. Move to the next comment
137
+
138
+ Repeat until all comments are handled.
139
+
140
+ ---
141
+
142
+ ## Auto flow
143
+
144
+ Process all comments without asking. For each comment:
145
+
146
+ **Bot comments:**
147
+ 1. Analyze whether the suggestion is valid.
148
+ 2. **If valid** — fix it and reply on GitHub.
149
+ 3. **If not valid** — reply on GitHub explaining why, do NOT change the code.
150
+
151
+ **Human reviewer comments:**
152
+ 1. **Clear code fix** — fix it and reply on GitHub.
153
+ 2. **Question** — reply with a concise explanation on GitHub.
154
+ 3. **Ambiguous or a design decision** — do NOT guess; collect these and present
155
+ them at the end: "These comments need your decision: …".
156
+
157
+ ---
158
+
159
+ ## Common bot patterns to watch for
160
+
161
+ - **Duplicate PHPDoc tags** → fix by keeping the more specific/typed version.
162
+ - **Split PHPDoc blocks** → merge into a single docblock.
163
+ - **Wrong PHPDoc tag order** → `@param` before `@return` before `@throws`.
164
+ - **Conflicting PHPDoc types** → remove incorrect PHPDoc, trust the method signature.
165
+ - **Broad ignore patterns / intentional config** → reply explaining rationale, don't change.
166
+ - **Validation/logic bugs** → fix the code.
167
+
168
+ ## Reply style — write like a human developer, not an AI
169
+
170
+ - The GitHub API token authenticates as the PR author. Write replies as if you ARE the developer.
171
+ - Keep it casual, short, and natural. Like a real dev replying to a code review.
172
+ - Vary your wording — never use the same opening phrase twice in a row.
173
+ - Don't over-explain. A dev who fixed something doesn't write a paragraph about it.
174
+ - For reviewer questions: answer directly and concisely.
175
+ - Be respectful — human reviewers are colleagues, not bots. Don't dismiss feedback.
176
+ - Good examples: `"Good catch, fixed."`, `"Yep, consolidated into one docblock now."`,
177
+ `"Removed the duplicate 👍"`, `"That's intentional — [reason]"`,
178
+ `"The fallback covers legacy data where getTime() returns a string."`
179
+ - Never start multiple replies with "Fixed". Mix it up: "Done", "Good catch", "Yep", etc.
49
180
 
50
- ## Execution
181
+ ### Bot icon prefix
51
182
 
52
- ### Phase 1: Bot comments
183
+ Read `personal.pr_comment_bot_icon` from `.agent-settings.yml`. If `true` (default),
184
+ prefix every reply with `🤖 ` so reviewers can see at a glance that the reply was
185
+ bot-authored.
53
186
 
54
- Follow the full `/fix pr-bot-comments` instructions (see `commands/fix/pr-bot-comments.md`).
55
- Use the already-confirmed PR and mode — do not ask again.
187
+ Example: `🤖 Good catch, fixed.`
56
188
 
57
- Report when done: "Bot comments done. Continuing with reviewer comments..."
189
+ If `false` or `.agent-settings.yml` doesn't exist, do NOT add the prefix.
58
190
 
59
- ### Phase 2: Developer comments
191
+ ## Replying via GitHub API
60
192
 
61
- Follow the full `/fix pr-developer-comments` instructions (see `commands/fix/pr-developer-comments.md`).
62
- Use the same PR and mode.
193
+ Read `github.pr_reply_method` from `.agent-settings.yml` to determine the correct endpoint.
194
+ See the `command-routing` skill → "GitHub API: Replying to PR review comments" for full details.
63
195
 
64
- ### After both phases
196
+ ## After all comments
65
197
 
66
198
  1. Run a PHP syntax check (`php -l`) on all modified files to verify nothing is broken.
67
- 2. Report a final summary: how many bot comments handled, how many developer comments handled,
68
- how many files modified.
199
+ 2. Report a final summary: how many bot comments handled, how many reviewer
200
+ comments handled, how many files modified.
69
201
  3. **Do NOT commit or push.** Just apply the fixes locally and reply to all comments on GitHub.
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: fix-refs
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: fix
7
8
  sub: refs
8
9
  skills: [check-refs]
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: fix-seeder
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: fix
7
8
  sub: seeder
8
9
  skills: [eloquent]
@@ -7,7 +7,8 @@ intent: "Fix-workflow dispatcher — ci, pr-comments, refs, seeder, portability"
7
7
  routes_to: [fix-ci, fix-pr-comments, fix-refs, fix-seeder, fix-portability]
8
8
  replaces: []
9
9
  tier: 1
10
- description: Fix orchestrator — routes to ci, references, portability, seeder, pr-comments, pr-bot-comments, pr-developer-comments
10
+ visibility: advanced
11
+ description: Fix orchestrator — routes to ci, references, portability, seeder, pr-comments
11
12
  cluster: fix
12
13
  type: orchestrator
13
14
  auto_detect: true
@@ -34,9 +35,7 @@ with a single entry point + sub-command dispatch.
34
35
  | `/fix refs` | `commands/fix/refs.md` | Find and fix broken cross-references in `.augment/` and `agents/` |
35
36
  | `/fix portability` | `commands/fix/portability.md` | Find and fix project-specific references in shared `.augment/` files |
36
37
  | `/fix seeder` | `commands/fix/seeder.md` | Scan seeder data files for broken FK references |
37
- | `/fix pr-comments` | `commands/fix/pr-comments.md` | Fix and reply to open review comments — **detects bot / human / both** and asks which when ambiguous; dedupes by comment id + reply marker |
38
- | `/fix pr-bot-comments` | `commands/fix/pr-bot-comments.md` | **Deprecated → `fix pr-comments`** (the "bots" answer to its prompt) |
39
- | `/fix pr-developer-comments` | `commands/fix/pr-developer-comments.md` | **Deprecated → `fix pr-comments`** (the "human" answer to its prompt) |
38
+ | `/fix pr-comments` | `commands/fix/pr-comments.md` | Fix and reply to all open review comments — **bot + human, classified per comment**; dedupes by comment id + reply marker |
40
39
 
41
40
  Sub-command names match the locked contract in
42
41
  [`docs/contracts/command-clusters.md`](../docs/contracts/command-clusters.md).
@@ -57,10 +56,11 @@ the `auto_detect` kill-switch, rollback). Detection table:
57
56
  | Project-specific leakage in shared package named | `fix/portability` | MEDIUM |
58
57
  | No clear signal, or ≥ 2 conflict | — | LOW → menu (interactive) / `ambiguous_routing` (CI) |
59
58
 
60
- `fix/pr-comments` is the single PR-review-comment surface: it absorbs the
61
- deprecated bot- and developer-only variants by detecting unanswered
62
- comments and asking "fix bot / human / both?" (deduped by id + reply
63
- marker). Auto-detection never routes to the deprecated variants.
59
+ `fix/pr-comments` is the single PR-review-comment surface: it handles bot
60
+ and human comments in one pass classifying each unanswered comment by
61
+ author type and applying the right detection + reply style (deduped by id +
62
+ reply marker). The former bot-only and developer-only variants were folded
63
+ into it and removed.
64
64
 
65
65
  ## Dispatch
66
66
 
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: ghostwriter-delete
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: ghostwriter
7
8
  sub: delete
8
9
  skills: [ghostwriter]
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: ghostwriter-fetch
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: ghostwriter
7
8
  sub: fetch
8
9
  description: Build or refresh a public-figure voice profile under agents/reference/ghostwriter/ from a URL or bare name; runs the public-figure attestation gate; delegates web-fetch/web-search to host.
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: ghostwriter-list
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: ghostwriter
7
8
  sub: list
8
9
  skills: [ghostwriter]
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: ghostwriter-show
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: ghostwriter
7
8
  sub: show
8
9
  skills: [ghostwriter]
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: ghostwriter-write
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: ghostwriter
7
8
  sub: write
8
9
  description: Draft a markdown post in the voice of a captured public-figure ghostwriter profile; appends the mandatory non-removable disclosure footer.
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: ghostwriter
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  description: Ghostwriter cluster — fetch, write, list, show, and delete public-figure voice profiles (the third voice primitive alongside personas/ and .agent-user.md).
7
8
  cluster: ghostwriter
8
9
  type: orchestrator
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  model_tier: inherit
3
3
  name: grill-me
4
- pack: meta
4
+ pack: product-reasoning
5
5
  tier: 2
6
+ visibility: internal
6
7
  description: Alias for /challenge-me — interactive grill-style interview that sharpens a fuzzy plan/idea into a copyable Markdown pitch
7
8
  cluster: challenge-me
8
9
  type: orchestrator
@@ -13,7 +14,7 @@ suggestion:
13
14
  workspaces:
14
15
  - agent-config-maintainer
15
16
  packs:
16
- - meta
17
+ - product-reasoning
17
18
  ---
18
19
 
19
20
  # /grill-me
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: image-analyse
4
4
  pack: ai-video
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: image
7
8
  sub: analyse
8
9
  description: Analyse a character image down to the smallest mole and diff it against a canon — per-feature spec, OCR tattoo text, severity-ranked drift report.
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: image-create
4
4
  pack: ai-video
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: image
7
8
  sub: create
8
9
  description: Generate a character image to spec — assemble a max-fidelity, anchors-first prompt from a Canon Spec; governance- and provider-gated, dry-run by default.
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: image-verify
4
4
  pack: ai-video
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: image
7
8
  sub: verify
8
9
  description: Verify a candidate render against its canon — run the analyser in loop mode, emit the gate verdict + remaining diff, halt-and-surface on non-pass.
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: image
4
4
  pack: ai-video
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: image
7
8
  description: Character-image fidelity orchestrator — analyse, create, and verify a character image against its canon. Routes to analyse, create, verify.
8
9
  type: orchestrator
@@ -6,6 +6,7 @@ intent: "Implement a tracker ticket end-to-end from its id"
6
6
  routes_to: [refine-ticket, feature-planning]
7
7
  replaces: []
8
8
  tier: 0
9
+ visibility: visible
9
10
  skills: [refine-ticket, feature-planning]
10
11
  description: Drive a ticket end-to-end through refine → memory → analyze → plan → implement → test → verify → report — Option-A loop over the `work_engine` Python engine, block-on-ambiguity, no auto-git.
11
12
  suggestion:
@@ -6,6 +6,7 @@ intent: "Read a Jira ticket from the branch and implement the feature or fix the
6
6
  routes_to: [jira-integration, feature-planning]
7
7
  replaces: []
8
8
  tier: 1
9
+ visibility: advanced
9
10
  skills: [laravel]
10
11
  description: Read Jira ticket from branch name, analyze linked Sentry issues, implement feature or fix bug
11
12
  suggestion:
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: judge-on-diff
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: judge
7
8
  sub: on-diff
8
9
  skills: [subagent-orchestration, verify-completion-evidence]
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: judge-solo
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: judge
7
8
  sub: solo
8
9
  skills: [subagent-orchestration]
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: judge-steps
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: judge
7
8
  sub: steps
8
9
  skills: [subagent-orchestration, verify-completion-evidence]
@@ -7,6 +7,7 @@ intent: "Adversarial-judging dispatcher — solo, on-diff, steps"
7
7
  routes_to: [judge-solo, judge-on-diff, judge-steps]
8
8
  replaces: []
9
9
  tier: 1
10
+ visibility: advanced
10
11
  description: Judge orchestrator — routes to solo, steps, on-diff
11
12
  cluster: judge
12
13
  type: orchestrator
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: knowledge-cross-repo
4
4
  pack: product-discovery
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: knowledge
7
8
  sub: cross-repo
8
9
  description: Targeted, read-only retrieval over opted-in linked-project siblings (ADR-032 Option A). Pulls a shared type / API contract / config without bulk-including sibling files.
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: knowledge-forget
4
4
  pack: product-discovery
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: knowledge
7
8
  sub: forget
8
9
  description: Drop a knowledge ingest from `agents/memory/knowledge/` by id prefix. Atomic, no partial state. Pinning protects from LRU eviction, not from explicit forget — pinned ingests are dropped the same.
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: knowledge-ingest
4
4
  pack: product-discovery
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: knowledge
7
8
  sub: ingest
8
9
  description: Walk a local path (folder, .zip, single file), redact PII + secrets, chunk to 2 KB markdown, and persist into the agent memory namespace under `knowledge/<ingest-id>/`.
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: knowledge-list
4
4
  pack: product-discovery
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: knowledge
7
8
  sub: list
8
9
  description: List existing knowledge ingests in `agents/memory/knowledge/` (table or JSON); pin / unpin by id prefix to control LRU eviction.
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: knowledge
4
4
  pack: product-discovery
5
5
  tier: 2
6
+ visibility: internal
6
7
  description: Knowledge orchestrator — routes to ingest, list, forget. Local-only file ingestion into the agent memory namespace.
7
8
  cluster: knowledge
8
9
  type: orchestrator