@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,11 +1,12 @@
1
1
  ---
2
2
  model_tier: medium
3
3
  name: memory-add
4
- pack: meta
4
+ pack: memory
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: memory
7
8
  sub: add
8
- description: Interactively add a validated entry to an engineering-memory file (domain-invariants, architecture-decisions, incident-learnings, product-rules)
9
+ description: Interactively add a validated entry to an engineering-memory file (domain-invariants, incident-learnings, product-rules, ownership, historical-patterns)
9
10
  skills: [file-editor]
10
11
  suggestion:
11
12
  eligible: true
@@ -14,7 +15,7 @@ suggestion:
14
15
  workspaces:
15
16
  - agent-config-maintainer
16
17
  packs:
17
- - meta
18
+ - memory
18
19
  ---
19
20
 
20
21
  # /memory add
@@ -41,9 +42,10 @@ the first write and for every subsequent addition.
41
42
  > Which memory type is this entry for?
42
43
  >
43
44
  > 1. domain-invariants — architectural boundaries, module rules
44
- > 2. architecture-decisionsADR-style decisions with alternatives
45
- > 3. incident-learningspost-mortem patterns with guardrails
46
- > 4. product-rules — intentional business constraints
45
+ > 2. incident-learningspost-mortem patterns with guardrails
46
+ > 3. product-rulesintentional business constraints
47
+ >
48
+ > (Architecture decisions belong in ADRs — `docs/decisions/` — not memory.)
47
49
  ```
48
50
 
49
51
  If the user cannot pick one confidently, stop and ask what the entry
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  model_tier: medium
3
3
  name: memory-learn-low-impact
4
- pack: meta
4
+ pack: memory
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: memory
7
8
  sub: learn-low-impact
8
9
  skills: [ai-council, upstream-contribute]
@@ -14,7 +15,7 @@ suggestion:
14
15
  workspaces:
15
16
  - agent-config-maintainer
16
17
  packs:
17
- - meta
18
+ - memory
18
19
  ---
19
20
 
20
21
  # /memory learn-low-impact
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  model_tier: medium
3
3
  name: memory-load
4
- pack: meta
4
+ pack: memory
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: memory
7
8
  sub: load
8
9
  description: Load ALL curated entries of a given memory type into the current context — opt-in full load for deep analysis, never auto-triggered
@@ -13,7 +14,7 @@ suggestion:
13
14
  workspaces:
14
15
  - agent-config-maintainer
15
16
  packs:
16
- - meta
17
+ - memory
17
18
  ---
18
19
 
19
20
  # /memory load
@@ -40,11 +41,10 @@ in the entry count and the signal-to-noise degrades fast on large types.
40
41
  > Which memory type should I load in full?
41
42
  >
42
43
  > 1. domain-invariants
43
- > 2. architecture-decisions
44
- > 3. incident-learnings
45
- > 4. product-rules
46
- > 5. historical-patterns
47
- > 6. ownership
44
+ > 2. incident-learnings
45
+ > 3. product-rules
46
+ > 4. historical-patterns
47
+ > 5. ownership
48
48
  ```
49
49
 
50
50
  ### 1b. Surface the Tier-0 critical slice
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  model_tier: medium
3
3
  name: memory-mine-session
4
- pack: meta
4
+ pack: memory
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: memory
7
8
  sub: mine-session
8
- description: Mine the active session transcript for memory signals (corrections, preferences, decisions, recurring patterns) preview-by-default, opt-in transcript access, host-agnostic via TranscriptAdapter.
9
+ description: Mine a session (cross-host chat-history log) for memory signals and/or rule/skill proposal seeds via --mode=[signals|proposals|both]. Preview-default, opt-in. Folds in /chat-history learn.
9
10
  skills: [memory-consolidation, file-editor]
10
11
  suggestion:
11
12
  eligible: false
@@ -13,15 +14,28 @@ suggestion:
13
14
  workspaces:
14
15
  - agent-config-maintainer
15
16
  packs:
16
- - meta
17
+ - memory
17
18
  ---
18
19
 
19
20
  # /memory mine-session
20
21
 
21
- Runs the **GATHER SIGNAL** phase of the [`memory-consolidation`](../../skills/memory-consolidation/SKILL.md)
22
- loop against the current host's transcripts and surfaces normalised
23
- project-scoped facts as a preview. No file is written without
24
- `--commit-intake`. No transcript is read without
22
+ The **single session-mining command**. Runs the **GATHER SIGNAL** phase of
23
+ the [`memory-consolidation`](../../skills/memory-consolidation/SKILL.md) loop
24
+ against the **cross-host chat-history JSONL log**
25
+ (`agents/runtime/.agent-chat-history`, written by platform hooks on every
26
+ host) — falling back to the per-host Claude-Code transcript when the log is
27
+ absent — and surfaces normalised project-scoped facts as a preview.
28
+
29
+ `--mode` selects the output:
30
+
31
+ - **`signals`** (default) — normalised facts → intake preview / `--commit-intake`.
32
+ - **`proposals`** — frames the facts as candidate rule/skill learnings, then
33
+ run [`learning-to-rule-or-skill`](../../skills/learning-to-rule-or-skill/SKILL.md)
34
+ on each seed to draft proposals. **This folds in the former
35
+ `/chat-history learn`.**
36
+ - **`both`** — render signals + proposal seeds together.
37
+
38
+ No file is written without `--commit-intake`. No source is read without
25
39
  `--confirm-transcript-access`.
26
40
 
27
41
  ## When to use
@@ -41,11 +55,13 @@ and confirmed.
41
55
 
42
56
  | Flag | Default | Purpose |
43
57
  |---|---|---|
58
+ | `--mode <signals\|proposals\|both>` | `signals` | Output selector. `signals` → intake facts; `proposals` → proposal seeds for `learning-to-rule-or-skill`; `both` → both. |
59
+ | `--source <auto\|chat-history\|claude-code>` | `auto` | `auto` prefers the cross-host chat-history log, then the Claude-Code transcript. |
44
60
  | `--since <ISO-date>` | 14 days ago | Only mine turns at or after this date. Re-anchors relative phrases like "yesterday" with `YYYY-MM-DD`. |
45
61
  | `--confirm-transcript-access` | off | Opt-in gate. Without it, the miner reads zero turns and prints the opt-in hint. Per-invocation, not persistent. |
46
- | `--preview` | on | Render normalised facts to stdout. No file write. Default behaviour. |
47
- | `--commit-intake` | off | Mutually exclusive with `--preview`. Append normalised facts to `agents/memory/intake/<primary-tag>.jsonl`. |
48
- | `--host <claude-code\|cursor\|augment>` | auto-detect | Force the `TranscriptAdapter`. Phase 1 ships `claude-code` only; others print `not-supported-on-this-host` and exit. |
62
+ | `--preview` | on | Render to stdout. No file write. Default behaviour. |
63
+ | `--commit-intake` | off | `signals` only. Append normalised facts to `agents/memory/intake/<primary-tag>.jsonl`. |
64
+ | `--host <name>` | auto-detect | Labels the source host. The chat-history log is cross-host, so any host mines via it; `claude-code` additionally resolves the local transcript fallback. |
49
65
 
50
66
  ## Steps
51
67
 
@@ -91,6 +107,17 @@ If the normalised count exceeds 5, **stop after the 5th** and print:
91
107
 
92
108
  This is the strict-gate exit per the skill's exit criteria.
93
109
 
110
+ **Failure-mode review lens** (adapted from MemSkill, Apache-2.0). Before
111
+ emitting a fact, ask which failure it prevents — and drop it if it prevents
112
+ none:
113
+
114
+ - **Storage failure** — a durable fact the next agent will need was never
115
+ written. Capture it.
116
+ - **Retrieval failure** — the fact exists but its `key` / anchor path won't
117
+ match how a future skill queries. Fix the anchor, don't duplicate.
118
+ - **Quality failure** — the fact is too vague or narrative to act on. Sharpen
119
+ it to one durable PATTERN / INVARIANT / GOTCHA, or drop it.
120
+
94
121
  ### 4. Render preview
95
122
 
96
123
  Print one Markdown block to stdout:
@@ -153,5 +180,5 @@ Confirm:
153
180
  `TranscriptAdapter` matches the current host.
154
181
  - [`memory:promote`](promote.md) — lifts validated intake lines into
155
182
  curated YAML.
156
- - [`agent-memory-contract`](../../../docs/contracts/agent-memory-contract.md) —
157
- intake JSONL schema, including the `tags` field.
183
+ - [`memory-access`](../../../docs/guidelines/agent-infra/memory-access.md) —
184
+ file-backed retrieval contract for curated + intake entries.
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  model_tier: medium
3
3
  name: memory-promote
4
- pack: meta
4
+ pack: memory
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: memory
7
8
  sub: promote
8
9
  description: Promote an intake signal (or provisional proposal) into a curated memory entry — opens a PR and runs the admission gate.
@@ -13,7 +14,7 @@ suggestion:
13
14
  workspaces:
14
15
  - agent-config-maintainer
15
16
  packs:
16
- - meta
17
+ - memory
17
18
  ---
18
19
 
19
20
  # /memory promote
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  model_tier: medium
3
3
  name: memory-propose
4
- pack: meta
4
+ pack: memory
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: memory
7
8
  sub: propose
8
9
  description: Append a provisional memory signal to the intake stream — the universal fallback for any producer (human or agent) to record a finding without committing to a curated entry.
@@ -13,7 +14,7 @@ suggestion:
13
14
  workspaces:
14
15
  - agent-config-maintainer
15
16
  packs:
16
- - meta
17
+ - memory
17
18
  ---
18
19
 
19
20
  # /memory propose
@@ -35,8 +36,9 @@ not yet justify a human reviewer's attention.
35
36
 
36
37
  Do NOT use when:
37
38
 
38
- - The entry is a **decision** — go to [`/memory-add`](memory-add.md)
39
- with `architecture-decisions` or `product-rules`.
39
+ - The entry is a **product decision** — go to [`/memory-add`](memory-add.md)
40
+ with `product-rules`. (Architecture decisions belong in ADRs —
41
+ `docs/decisions/` — not memory.)
40
42
  - The finding contradicts an existing curated entry — open a
41
43
  supersede-chain discussion instead.
42
44
 
@@ -51,8 +53,7 @@ Do NOT use when:
51
53
  > 2. incident-learnings — a post-mortem guardrail
52
54
  > 3. ownership — a path → team mapping
53
55
  > 4. domain-invariants — a module boundary rule
54
- > 5. architecture-decisions a decision to revisit
55
- > 6. product-rules — an intentional constraint
56
+ > 5. product-rules an intentional constraint
56
57
  ```
57
58
 
58
59
  ### 2. Gather minimum fields
@@ -2,11 +2,12 @@
2
2
  model_tier: medium
3
3
  name: memory
4
4
  disable-model-invocation: true
5
- pack: meta
5
+ pack: memory
6
6
  intent: "Manage the agent memory layer — add, load, promote, propose"
7
7
  routes_to: [memory-add, memory-load, memory-promote, memory-propose]
8
8
  replaces: []
9
9
  tier: 1
10
+ visibility: advanced
10
11
  description: Memory orchestrator — routes to add, load, mine-session, promote, propose
11
12
  cluster: memory
12
13
  type: orchestrator
@@ -17,7 +18,7 @@ suggestion:
17
18
  workspaces:
18
19
  - agent-config-maintainer
19
20
  packs:
20
- - meta
21
+ - memory
21
22
  ---
22
23
 
23
24
  # /memory
@@ -6,6 +6,7 @@ intent: "Switch the active role-mode (developer/reviewer/tester/po/incident/plan
6
6
  routes_to: [role-mode-adherence]
7
7
  replaces: []
8
8
  tier: 1
9
+ visibility: advanced
9
10
  description: Set the active role mode — prints the contract, lists default skills, and refuses work outside the contract (see role-contracts)
10
11
  suggestion:
11
12
  eligible: false
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: module-create
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: module
7
8
  sub: create
8
9
  skills: [laravel]
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: module-explore
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: module
7
8
  sub: explore
8
9
  skills: [laravel, symfony-workflow, php-coder]
@@ -4,6 +4,7 @@ name: module
4
4
  disable-model-invocation: true
5
5
  pack: engineering-base
6
6
  tier: 2
7
+ visibility: internal
7
8
  description: Module orchestrator — routes to create, explore
8
9
  cluster: module
9
10
  type: orchestrator
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: optimize-agents-dir
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: optimize
7
8
  sub: agents-dir
8
9
  description: Manage the agents/ directory — scaffold, folder-audit, fix. Single command with three modes (--scaffold / --audit / --fix); default = interactive wizard.
@@ -4,6 +4,7 @@ skills: [agent-docs-writing]
4
4
  name: optimize-augmentignore
5
5
  pack: meta
6
6
  tier: 2
7
+ visibility: internal
7
8
  cluster: optimize
8
9
  sub: augmentignore
9
10
  description: Creates or updates .augmentignore based on the project's actual tech stack, large files, generated artifacts, and irrelevant agent skills/rules.
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: optimize-rtk
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: optimize
7
8
  sub: rtk
8
9
  skills: [agent-docs-writing]
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: optimize-skills
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: optimize
7
8
  sub: skills
8
9
  description: Audits skills — measures baseline, finds duplicates/merge candidates, runs linter. Suggest only, never auto-apply.
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: optimize-prompt
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: optimize
7
8
  description: "Optimize a raw prompt for ChatGPT, Claude, Gemini, or another AI via the 4-D methodology — BASIC vs DETAIL auto-detect, one clarifying question per turn, returns the polished prompt."
8
9
  skills: [prompt-optimizer]
@@ -7,6 +7,7 @@ intent: "Optimization dispatcher — skills, rtk, augmentignore, agents-dir"
7
7
  routes_to: [optimize-skills, optimize-rtk, optimize-augmentignore, optimize-agents-dir]
8
8
  replaces: []
9
9
  tier: 1
10
+ visibility: advanced
10
11
  description: Optimize orchestrator — routes to skills, agents-dir, augmentignore, rtk-filters
11
12
  cluster: optimize
12
13
  type: orchestrator
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: orchestrate
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: orchestrate
7
8
  skills: [subagent-orchestration]
8
9
  description: Run a YAML pipeline defined under `.agent-config/orchestrations/` — chains personas / skills / commands / sub-agents per the orchestration-dsl-v1 contract
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: override-create
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: override
7
8
  sub: create
8
9
  description: Creates a project-level override for a shared skill, rule, or command.
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: override-manage
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: override
7
8
  sub: manage
8
9
  description: Reviews, updates, and refactors existing project-level overrides.
@@ -4,6 +4,7 @@ name: override
4
4
  disable-model-invocation: true
5
5
  pack: meta
6
6
  tier: 2
7
+ visibility: internal
7
8
  description: Override orchestrator — routes to create, manage
8
9
  cluster: override
9
10
  type: orchestrator
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: package-reset
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [composer, npm]
7
8
  description: /package-reset
8
9
  suggestion:
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: package-test
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [composer, npm, python-packages, go-modules, cargo-packages]
7
8
  description: /package-test
8
9
  suggestion:
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: post-as-ghostwriter
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: post-as
7
8
  sub: ghostwriter
8
9
  skills: [post-as, ghostwriter]
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: post-as-me
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: post-as
7
8
  sub: me
8
9
  skills: [post-as]
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: post-as
4
4
  pack: gtm-marketing
5
5
  tier: 2
6
+ visibility: internal
6
7
  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).
7
8
  cluster: post-as
8
9
  type: orchestrator
@@ -4,6 +4,7 @@ name: git-pr-create-description-only
4
4
  pack: git
5
5
  replaces: [create-pr-description-only, create-pr:description-only]
6
6
  tier: 2
7
+ visibility: internal
7
8
  cluster: git-pr-create
8
9
  sub: description-only
9
10
  skills: [git-workflow]
@@ -7,6 +7,7 @@ intent: "Open a pull request with a generated description and stripped attributi
7
7
  routes_to: [git-workflow]
8
8
  replaces: [create-pr]
9
9
  tier: 1
10
+ visibility: advanced
10
11
  cluster: git-pr-create
11
12
  skills: [git-workflow]
12
13
  description: Create a GitHub PR with structured description from Jira ticket and code changes
@@ -80,6 +81,30 @@ Never improvise the base or silently proceed when the branch is behind
80
81
  and overlap exists. The 10-second fetch beats hours of rebase
81
82
  reconciliation after the parent PR lands.
82
83
 
84
+ ### 1c. PR-gate — archive completed roadmaps (MANDATORY)
85
+
86
+ A roadmap that reached 100% (`count_open == 0 && count_deferred == 0`) must
87
+ land **already archived** in this PR — never merged-but-unarchived into the
88
+ trunk (that rot is exactly what the PR-gate replaces; see
89
+ [`roadmap-progress-sync`](../../../rules/roadmap-progress-sync.md) § PR-gate).
90
+ Run the deterministic sweep:
91
+
92
+ ```bash
93
+ python3 .augment/scripts/archive_completed_roadmaps.py # --changed-only (default)
94
+ ```
95
+
96
+ It `git mv`s each completed roadmap (that this branch touched, per
97
+ `git log origin/main..HEAD`) into `agents/roadmaps/archive/`, rewrites inbound
98
+ `agents/roadmaps/<x>.md` references to the archive path, regenerates the
99
+ dashboard, and stages all of it. No agent-set annotation is involved —
100
+ completion is read from the checkbox counts.
101
+
102
+ - **It staged changes → commit them onto this branch** (`chore(roadmaps):
103
+ archive completed roadmaps`) and include them in the push, so the PR carries
104
+ the archival. Do **not** create the PR with completed-but-unarchived roadmaps
105
+ in the working tree.
106
+ - **It reported nothing → proceed.** No completed roadmap in this branch.
107
+
83
108
  ### 2. Generate PR content
84
109
 
85
110
  Run `/create-pr:description-only` Steps 1–4 to generate the PR title and body.
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: prediction-pool
4
4
  pack: fun
5
5
  tier: 2
6
+ visibility: internal
6
7
  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'."
7
8
  skills: [prediction-pool-optimizer]
8
9
  suggestion:
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: prepare-for-review
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [git-workflow, quality-tools]
7
8
  description: Prepare a PR branch for local review — updates main and merges the full branch chain so the branch is up to date
8
9
  suggestion:
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: profile-activate
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: profile
7
8
  sub: activate
8
9
  description: Activate a session profile — surface only the named profile/pack closure plus core artefacts, no persistence
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: profile-deactivate
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: profile
7
8
  sub: deactivate
8
9
  description: Deactivate the session profile — clear the overlay (or drop named packs) so the full surface returns
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: profile-show
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: profile
7
8
  sub: show
8
9
  description: Show the active session profile — active packs and surfaced/hidden command+skill counts (observability surface)
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: profile
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  description: Session-profile orchestrator — activate / deactivate / show the active packs for this session (recommendation-bias surface filter, no persistence)
7
8
  cluster: profile
8
9
  type: orchestrator
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: project-analyze
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [project-analyzer]
7
8
  description: Full project analysis — detect stack, inventory modules, audit docs, create missing contexts
8
9
  suggestion:
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: project-health
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [quality-tools]
7
8
  description: Quick project health check — show status of docs, modules, contexts, and roadmaps without creating anything
8
9
  suggestion:
@@ -3,6 +3,7 @@ model_tier: medium
3
3
  name: quality-fix
4
4
  pack: engineering-base
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [quality-tools]
7
8
  description: Run quality pipeline (PHP and/or JS/TS) and fix all errors — auto-detects language from changed files
8
9
  suggestion:
@@ -6,6 +6,7 @@ intent: "Refine a vague ticket into a clear, implementable spec"
6
6
  routes_to: [refine-ticket]
7
7
  replaces: []
8
8
  tier: 1
9
+ visibility: advanced
9
10
  skills: [refine-ticket]
10
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
11
12
  suggestion:
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: research-deep
4
4
  pack: product-discovery
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: research
7
8
  sub: deep
8
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."
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: research-report
4
4
  pack: product-discovery
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: research
7
8
  sub: report
8
9
  description: "Summarise per-item JSON results from `/research:deep` into `report.md`. Agent renders directly + emits an optional `jq` template for deterministic regeneration. No Python runtime."
@@ -4,6 +4,7 @@ name: research
4
4
  disable-model-invocation: true
5
5
  pack: product-discovery
6
6
  tier: 2
7
+ visibility: internal
7
8
  cluster: research
8
9
  description: "Preliminary research scaffolder — pick objects, define fields, emit `outline.yaml` + `fields.yaml` for downstream deep research. Use for surveys, benchmarks, tech selection, competitive scans."
9
10
  skills: [project-analyzer, deep-reading-analyst]
@@ -6,6 +6,7 @@ intent: "Multi-judge review of the current diff — bugs, security, tests, quali
6
6
  routes_to: [code-review, judge-bug-hunter, judge-security-auditor, judge-test-coverage, judge-code-quality, architecture-review-lens]
7
7
  replaces: []
8
8
  tier: 1
9
+ visibility: advanced
9
10
  skills: [code-review, subagent-orchestration, judge-bug-hunter, judge-security-auditor, judge-test-coverage, judge-code-quality, architecture-review-lens, git-workflow]
10
11
  description: Self-review local changes before creating a PR — dispatches to five specialized judges (bug, security, tests, quality, architecture) and consolidates verdicts
11
12
  suggestion:
@@ -3,6 +3,7 @@ model_tier: high
3
3
  name: review-routing
4
4
  pack: meta
5
5
  tier: 2
6
+ visibility: internal
6
7
  skills: [review-routing, reviewer-awareness]
7
8
  description: Compute reviewer roles and matched historical bug patterns for the current diff, using project-local ownership-map.yml and historical-bug-patterns.yml
8
9
  suggestion:
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: roadmap-ai-council
4
4
  pack: product-basic
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: roadmap
7
8
  sub: ai-council
8
9
  skills: [ai-council, agent-docs-writing, roadmap-management]
@@ -3,6 +3,7 @@ model_tier: inherit
3
3
  name: roadmap-create
4
4
  pack: product-basic
5
5
  tier: 2
6
+ visibility: internal
6
7
  cluster: roadmap
7
8
  sub: create
8
9
  skills: [agent-docs-writing]