@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,310 +1,41 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * `agent-config` — TS shell entry point.
3
+ * `agent-config` — bin entry point (thin launcher).
4
4
  *
5
- * Phase 2 behaviour:
6
- * - Parses `--version`, `--help`, `versions`, `doctor-shell` natively.
7
- * - Forwards every other registered subcommand to the Bash dispatcher
8
- * via `delegateToBash` (preserves all existing dispatch logic).
9
- * - Unknown subcommands also forward (the Bash dispatcher prints
10
- * the canonical "unknown command" error) so the TS shell never
11
- * drifts from the Bash subcommand surface.
5
+ * This file MUST NOT statically import any third-party package. The real
6
+ * CLI lives in `./main.ts` and statically imports `commander` (+ the rest of
7
+ * the dependency graph); if `node_modules` is missing, that import fails at
8
+ * module-load with a raw `ERR_MODULE_NOT_FOUND` and no guidance before any
9
+ * of our code can run.
12
10
  *
13
- * Phase 5 will reverse the delegation direction.
11
+ * So the launcher runs a dependency preflight using Node built-ins only, then
12
+ * dynamically imports `./main.js`. A missing install surfaces as an
13
+ * actionable "run npm ci" message instead of a stack trace.
14
14
  */
15
- import { readFileSync } from 'node:fs';
16
- import { Command } from 'commander';
17
- import { PACKAGE_JSON } from './paths.js';
18
- import { delegateToBash } from './bash/runBash.js';
19
- import { runVersions } from './commands/versions.js';
20
- import { runDoctorShell } from './commands/doctorShell.js';
21
- import { runUiServe } from './commands/uiServe.js';
22
- import { shouldInitLaunchGui, buildInitGuiOptions } from './initRouting.js';
23
- import { runSettings } from './commands/settings.js';
24
- import { runMcpServer } from './commands/mcpServer.js';
25
- import { runWorkspacesLs } from './commands/workspaces.js';
26
- import { runPacksLs } from './commands/packs.js';
27
- import { runCommandsLs, runCommandsExplain, looksLikeCommandTarget } from './commands/commands.js';
28
- import { logger } from './log/logger.js';
29
- import { REGISTRY } from './registry.js';
30
- function readVersion() {
31
- const pkg = JSON.parse(readFileSync(PACKAGE_JSON, 'utf8'));
32
- return typeof pkg.version === 'string' ? pkg.version : '0.0.0';
15
+ import { createRequire } from 'node:module';
16
+ import { fileURLToPath } from 'node:url';
17
+ import { dirname, join } from 'node:path';
18
+ const require = createRequire(import.meta.url);
19
+ // `commander` is the first runtime dependency `./main.ts` imports; if it does
20
+ // not resolve, the install is incomplete (no `node_modules`, partial install,
21
+ // or a corrupted tree). Probe it cheaply before loading the real CLI.
22
+ try {
23
+ require.resolve('commander');
33
24
  }
34
- function buildHelp() {
35
- const lines = [
36
- 'agent-config event4u/agent-config CLI (TS shell)',
37
- '',
38
- 'Usage:',
39
- ' agent-config <command> [options]',
40
- ' agent-config --help',
41
- ' agent-config --version',
42
- '',
43
- 'Native commands (TS shell):',
44
- ];
45
- for (const entry of REGISTRY) {
46
- if (entry.disposition !== 'native')
47
- continue;
48
- const synopsis = entry.synopsis ?? '';
49
- lines.push(` ${entry.name.padEnd(22)} ${synopsis}`);
50
- }
51
- lines.push('');
52
- lines.push('All other subcommands delegate to the Bash dispatcher.');
53
- lines.push('Run `agent-config help --tier=all` for the full Bash-side surface.');
54
- return lines.join('\n');
55
- }
56
- async function main(argv) {
57
- const program = new Command();
58
- program
59
- .name('agent-config')
60
- .description('event4u/agent-config CLI shell')
61
- .version(readVersion(), '-V, --version', 'Print package version')
62
- .helpOption('-h, --help', 'Show this help')
63
- .allowUnknownOption(true)
64
- .allowExcessArguments(true);
65
- program
66
- .command('versions')
67
- .description('List @event4u/agent-config versions')
68
- .option('--offline', 'Skip npm registry probe')
69
- .option('--json', 'Emit machine-readable JSON')
70
- .option('--limit <n>', 'Show at most N recent versions', (v) => Number.parseInt(v, 10), 10)
71
- .action(async (opts) => {
72
- const code = await runVersions(opts);
73
- process.exit(code);
74
- });
75
- program
76
- .command('doctor-shell')
77
- .description('Probe the TS-shell environment')
78
- .action(() => {
79
- const code = runDoctorShell();
80
- process.exit(code);
81
- });
82
- program
83
- .command('mcp-server')
84
- .description('Run the turnkey read-only stdio MCP server (no repo clone; ADR-085)')
85
- .action(async () => {
86
- // No hard process.exit() — that truncates buffered stdout writes
87
- // (the JSON-RPC responses) on a pipe. Set the code and let the
88
- // process exit naturally once stdin is at EOF and stdout drained.
89
- process.exitCode = await runMcpServer();
90
- });
91
- program
92
- .command('ui:serve')
93
- .description('Start the local UI server (127.0.0.1, auto-picked port)')
94
- .option('--port <n>', 'Override the auto-picked port', (v) => Number.parseInt(v, 10))
95
- .option('--no-open', 'Do not launch the browser')
96
- .option('--ui-dist <path>', 'Override the dist/ui directory')
97
- .option('--allow-headless', 'Start even when SSH/no-DISPLAY is detected')
98
- .option('--project-root <path>', 'Override the project root used to resolve .agent-config/')
99
- .option('--dry-run', 'Boot with all writes suppressed (preview-only — no .agent-settings.yml / .agent-user.md / wizard-state.json mutations)')
100
- .action(async (opts) => {
101
- const code = await runUiServe(opts);
102
- process.exit(code);
103
- });
104
- program
105
- .command('settings')
106
- .description('Open the local Settings GUI (boots the UI server and lands on #/settings)')
107
- .option('--port <n>', 'Override the auto-picked port', (v) => Number.parseInt(v, 10))
108
- .option('--no-open', 'Do not launch the browser')
109
- .option('--ui-dist <path>', 'Override the dist/ui directory')
110
- .option('--allow-headless', 'Start even when SSH/no-DISPLAY is detected')
111
- .option('--project-root <path>', 'Override the project root used to resolve .agent-config/')
112
- .option('--dry-run', 'Boot with all writes suppressed (preview-only)')
113
- .action(async (opts) => {
114
- const code = await runSettings(opts);
115
- process.exit(code);
116
- });
117
- // `install` — install-flow alias for `ui:serve` that lands on Step 1
118
- // (AI tools, index 0) of the extended 13-step wizard. road-to-unified-setup
119
- // § B0 — same Fastify server, same bundle, only the initial step
120
- // differs from `setup`.
121
- program
122
- .command('install')
123
- .description('Open the install wizard (boots the UI server and lands on Step 1 / AI tools)')
124
- .option('--port <n>', 'Override the auto-picked port', (v) => Number.parseInt(v, 10))
125
- .option('--no-open', 'Do not launch the browser')
126
- .option('--ui-dist <path>', 'Override the dist/ui directory')
127
- .option('--allow-headless', 'Start even when SSH/no-DISPLAY is detected')
128
- .option('--project-root <path>', 'Override the project root used to resolve .agent-config/')
129
- .option('--dry-run', 'Boot with all writes suppressed (preview-only)')
130
- .action(async (opts) => {
131
- const forwarded = {
132
- initialRoute: '/wizard',
133
- extendedSteps: true,
134
- initialStep: 0,
135
- wizardMode: 'install',
136
- };
137
- if (opts.port !== undefined)
138
- forwarded.port = opts.port;
139
- if (opts.open !== undefined)
140
- forwarded.open = opts.open;
141
- if (opts.uiDist !== undefined)
142
- forwarded.uiDist = opts.uiDist;
143
- if (opts.allowHeadless !== undefined)
144
- forwarded.allowHeadless = opts.allowHeadless;
145
- if (opts.projectRoot !== undefined)
146
- forwarded.projectRoot = opts.projectRoot;
147
- if (opts.dryRun !== undefined)
148
- forwarded.dryRun = opts.dryRun;
149
- const code = await runUiServe(forwarded);
150
- process.exit(code);
151
- });
152
- // `setup` — onboarding-only alias for `ui:serve` that lands on the
153
- // `#/wizard` route. Replaces the deprecated `/onboard` chat skill.
154
- // road-to-unified-setup § B0: `setup` defaults to the extended
155
- // 13-step flow and lands on Identity (index 4) so the install-only lead
156
- // (ai-tools + roles + packs) is skipped. The project `modules` step is
157
- // NOT skipped — it sits at the end of the flow, so setup still walks it
158
- // (before review). Pass `--no-extended` to fall back to the
159
- // settings-only wizard.
160
- program
161
- .command('setup')
162
- .description('Open the onboarding wizard (boots the UI server and lands on Identity)')
163
- .option('--port <n>', 'Override the auto-picked port', (v) => Number.parseInt(v, 10))
164
- .option('--no-open', 'Do not launch the browser')
165
- .option('--ui-dist <path>', 'Override the dist/ui directory')
166
- .option('--allow-headless', 'Start even when SSH/no-DISPLAY is detected')
167
- .option('--project-root <path>', 'Override the project root used to resolve .agent-config/')
168
- .option('--dry-run', 'Boot with all writes suppressed (preview-only)')
169
- .option('--no-extended', 'Use the settings-only wizard (skip ai-tools, roles, packs, modules)')
170
- .action(async (opts) => {
171
- const extended = opts.extended !== false;
172
- const forwarded = {
173
- initialRoute: '/wizard',
174
- extendedSteps: extended,
175
- // Setup skips the welcome step (it keeps name/language in the
176
- // user-md form) and the install-only lead (ai-tools/roles/
177
- // packs). Extended → jump to Identity/editor (index 4);
178
- // non-extended → skip welcome to the first settings step (1).
179
- // The project `modules` step is reached later (end of the
180
- // flow), not skipped.
181
- initialStep: extended ? 4 : 1,
182
- wizardMode: 'setup',
183
- };
184
- if (opts.port !== undefined)
185
- forwarded.port = opts.port;
186
- if (opts.open !== undefined)
187
- forwarded.open = opts.open;
188
- if (opts.uiDist !== undefined)
189
- forwarded.uiDist = opts.uiDist;
190
- if (opts.allowHeadless !== undefined)
191
- forwarded.allowHeadless = opts.allowHeadless;
192
- if (opts.projectRoot !== undefined)
193
- forwarded.projectRoot = opts.projectRoot;
194
- if (opts.dryRun !== undefined)
195
- forwarded.dryRun = opts.dryRun;
196
- const code = await runUiServe(forwarded);
197
- process.exit(code);
198
- });
199
- const workspaces = program
200
- .command('workspaces')
201
- .description('Inspect workspaces from the discovery manifest');
202
- workspaces
203
- .command('ls')
204
- .description('List workspaces (id, label, default_packs)')
205
- .option('--json', 'Emit machine-readable JSON')
206
- .action((opts) => {
207
- const code = runWorkspacesLs(opts);
208
- process.exit(code);
209
- });
210
- const packs = program
211
- .command('packs')
212
- .description('Inspect packs from the discovery manifest');
213
- packs
214
- .command('ls')
215
- .description('List packs (id, label, workspaces, artefact_count)')
216
- .option('--json', 'Emit machine-readable JSON')
217
- .action((opts) => {
218
- const code = runPacksLs(opts);
219
- process.exit(code);
220
- });
221
- const commands = program
222
- .command('commands')
223
- .description('Inspect the command surface from the discovery manifest');
224
- commands
225
- .command('ls', { isDefault: true })
226
- .description('List commands (command, pack, tier, visibility, intent)')
227
- .option('--pack <id>', 'Restrict to one owning pack')
228
- .option('--visible', 'Restrict to visible commands (tier 0/1)')
229
- .option('--profile <id>', 'Render a profile\'s curated command view (developer, founder, …)')
230
- .option('--expanded', 'With --profile: add the active packs\' full command set')
231
- .option('--json', 'Emit machine-readable JSON')
232
- .action((opts) => {
233
- // exitCode (not process.exit) — the JSON payload exceeds the
234
- // 8 KiB pipe buffer; a hard exit truncates async stdout on macOS.
235
- process.exitCode = runCommandsLs(opts);
236
- });
237
- commands
238
- .command('explain <name>')
239
- .description("Print a command's intent, routes_to, owning pack, and tier")
240
- .option('--json', 'Emit machine-readable JSON')
241
- .action((name, opts) => {
242
- process.exitCode = runCommandsExplain(name, opts);
243
- });
244
- program
245
- .command('help')
246
- .description('Show help (delegates to Bash for --tier=1|all)')
247
- .allowUnknownOption(true)
248
- .allowExcessArguments(true)
249
- .action(async () => {
250
- const rest = argv.slice(argv.indexOf('help') + 1);
251
- if (rest.length === 0) {
252
- process.stdout.write(`${buildHelp()}\n`);
253
- process.exit(0);
254
- }
255
- const code = await delegateToBash({ args: ['help', ...rest] });
256
- process.exit(code);
257
- });
258
- // Bare invocation → print TS-shell help.
259
- if (argv.length === 0) {
260
- process.stdout.write(`${buildHelp()}\n`);
261
- return 0;
262
- }
263
- const head = argv[0];
264
- if (head === '--help' || head === '-h') {
265
- process.stdout.write(`${buildHelp()}\n`);
266
- return 0;
267
- }
268
- if (head === '--version' || head === '-V') {
269
- process.stdout.write(`${readVersion()}\n`);
270
- return 0;
271
- }
272
- // Native subcommand → commander handles it (exits inside action).
273
- const native = ['versions', 'doctor-shell', 'mcp-server', 'ui:serve', 'settings', 'install', 'setup', 'workspaces', 'packs', 'commands', 'help'];
274
- if (head !== undefined && native.includes(head)) {
275
- await program.parseAsync(['node', 'agent-config', ...argv]);
276
- // Actions that don't hard-exit signal failure via process.exitCode.
277
- return typeof process.exitCode === 'number' ? process.exitCode : 0;
278
- }
279
- // `explain <command-name>` / `explain <cluster:sub>` → native command
280
- // explanation (6.0.0-C Step 5b). The legacy decision-trace explain
281
- // (`explain config|rule|route`) still delegates to Bash below.
282
- if (head === 'explain' && looksLikeCommandTarget(argv[1])) {
283
- return runCommandsExplain(argv[1], { json: argv.includes('--json') });
284
- }
285
- // `init` is the install front-end: when the browser wizard can actually be
286
- // used (interactive TTY, display, no CLI-mode flags), open it and let it
287
- // drive the install via /api/v1/wizard/apply → install.py --apply-payload —
288
- // no CLI tool-picker, one installer. Otherwise fall through to the bash CLI
289
- // install (road-to-single-install-source-of-truth § Phase 4 follow-up).
290
- if (head === 'init' && shouldInitLaunchGui(argv.slice(1))) {
291
- return runUiServe(buildInitGuiOptions(argv.slice(1)));
292
- }
293
- // Everything else forwards to the Bash dispatcher verbatim.
294
- return delegateToBash({ args: argv });
25
+ catch {
26
+ // Entry is `<packageRoot>/dist/cli/agent-config.js` → up two dirs.
27
+ const packageRoot = join(dirname(fileURLToPath(import.meta.url)), '..', '..');
28
+ process.stderr.write("❌ agent-config: runtime dependencies are not installed " +
29
+ "(could not resolve 'commander').\n" +
30
+ ` Fix: ( cd "${packageRoot}" && npm ci )\n` +
31
+ " Then re-run your command.\n");
32
+ process.exit(1);
295
33
  }
296
- main(process.argv.slice(2))
297
- .then((code) => {
298
- // Flush queued async stdout before the hard exit on macOS a pipe'd
299
- // stdout is async and process.exit() truncates anything past the
300
- // 8 KiB pipe buffer (e.g. `commands ls --json`). The empty write's
301
- // callback fires only after every prior chunk reached the OS.
302
- process.exitCode = code;
303
- process.stdout.write('', () => process.exit(code));
304
- })
305
- .catch((err) => {
306
- const message = err instanceof Error ? err.message : String(err);
307
- logger.error(message);
34
+ // Deps present — hand off to the real CLI. Keep this a dynamic import so the
35
+ // `commander` graph is only resolved after the preflight passes. `main.ts`
36
+ // owns its own argv parsing, exit-code handling, and error catch.
37
+ void import('./main.js').catch((err) => {
38
+ process.stderr.write(`${err instanceof Error ? (err.stack ?? err.message) : String(err)}\n`);
308
39
  process.exit(1);
309
40
  });
310
41
  //# sourceMappingURL=agent-config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-config.js","sourceRoot":"","sources":["../../src/cli/agent-config.ts"],"names":[],"mappings":";AACA;;;;;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AM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE/C,8EAA8E;AAC9E,8EAA8E;AAC9E,sEAAsE;AACtE,IAAI,CAAC;IACD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;AACjC,CAAC;AAAC,MAAM,CAAC;IACL,mEAAmE;IACnE,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9E,OAAO,CAAC,MAAM,CAAC,KAAK,CAChB,yDAAyD;QACrD,oCAAoC;QACpC,kBAAkB,WAAW,iBAAiB;QAC9C,gCAAgC,CACvC,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAED,6EAA6E;AAC7E,2EAA2E;AAC3E,kEAAkE;AAClE,KAAK,MAAM,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;IAC5C,OAAO,CAAC,MAAM,CAAC,KAAK,CAChB,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CACzE,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC"}
@@ -15,7 +15,6 @@
15
15
  import { loadManifest, ManifestNotFoundError, ManifestParseError } from '../discovery/loadManifest.js';
16
16
  import { logger } from '../log/logger.js';
17
17
  import { loadProfile, resolveProfileView } from './profiles.js';
18
- const VISIBLE_TIERS = new Set([0, 1]);
19
18
  function loadOrReport() {
20
19
  try {
21
20
  return loadManifest();
@@ -44,6 +43,11 @@ function tierOf(a) {
44
43
  function visibilityLabel(tier) {
45
44
  return tier === 0 ? 'visible' : tier === 1 ? 'advanced' : 'internal';
46
45
  }
46
+ // ADR-090: prefer the named `visibility` field; fall back to the integer
47
+ // `tier` alias when the manifest entry predates the backfill.
48
+ function visibilityOf(a) {
49
+ return a.visibility ?? visibilityLabel(tierOf(a));
50
+ }
47
51
  function renderTable(cmds) {
48
52
  const header = ['command', 'pack', 'tier', 'visibility', 'intent'];
49
53
  const rows = cmds.map((c) => [
@@ -51,7 +55,7 @@ function renderTable(cmds) {
51
55
  c.slug ?? c.name ?? '',
52
56
  c.pack ?? (c.packs[0] ?? '—'),
53
57
  String(tierOf(c)),
54
- visibilityLabel(tierOf(c)),
58
+ visibilityOf(c),
55
59
  c.intent ?? '—',
56
60
  ]);
57
61
  const widths = header.map((h, i) => Math.max(h.length, rows.reduce((acc, r) => Math.max(acc, (r[i] ?? '').length), 0)));
@@ -78,7 +82,7 @@ export function runCommandsLs(opts = {}) {
78
82
  }
79
83
  cmds = resolveProfileView(profile, cmds, { expanded: Boolean(opts.expanded) });
80
84
  if (opts.visible)
81
- cmds = cmds.filter((c) => VISIBLE_TIERS.has(tierOf(c)));
85
+ cmds = cmds.filter((c) => visibilityOf(c) !== 'internal');
82
86
  if (opts.json) {
83
87
  process.stdout.write(`${JSON.stringify({ profile: profile.id, expanded: Boolean(opts.expanded), commands: cmds }, null, 2)}\n`);
84
88
  return 0;
@@ -91,7 +95,7 @@ export function runCommandsLs(opts = {}) {
91
95
  return 0;
92
96
  }
93
97
  if (opts.visible)
94
- cmds = cmds.filter((c) => VISIBLE_TIERS.has(tierOf(c)));
98
+ cmds = cmds.filter((c) => visibilityOf(c) !== 'internal');
95
99
  // Filter on the canonical OWNER pack (`pack`), the budget/surfacing unit —
96
100
  // not the additive `packs` discovery tags.
97
101
  if (opts.pack)
@@ -126,7 +130,8 @@ export function runCommandsExplain(name, opts = {}) {
126
130
  const lines = [
127
131
  `/${match.name}`,
128
132
  ` pack: ${match.pack ?? (match.packs[0] ?? '—')}`,
129
- ` tier: ${tier} (${visibilityLabel(tier)})`,
133
+ ` visibility: ${visibilityOf(match)}`,
134
+ ` tier: ${tier} (alias)`,
130
135
  ` intent: ${match.intent ?? '—'}`,
131
136
  ` routes_to: ${(match.routes_to ?? []).join(', ') || '—'}`,
132
137
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../src/cli/commands/commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvG,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAchE,MAAM,aAAa,GAAG,IAAI,GAAG,CAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE9C,SAAS,YAAY;IACjB,IAAI,CAAC;QACD,OAAO,YAAY,EAAE,CAAC;IAC1B,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACX,IAAI,GAAG,YAAY,qBAAqB,EAAE,CAAC;YACvC,MAAM,CAAC,KAAK,CACR,mCAAmC,GAAG,CAAC,IAAI,SAAS;gBAChD,4DAA4D;gBAC5D,iCAAiC,CACxC,CAAC;YACF,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,IAAI,GAAG,YAAY,kBAAkB,EAAE,CAAC;YACpC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC1B,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,MAAM,CAAC,KAAK,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;QAC/D,OAAO,IAAI,CAAC;IAChB,CAAC;AACL,CAAC;AAED,SAAS,gBAAgB,CAAC,QAA2B;IACjD,OAAO,QAAQ,CAAC,SAAS,CA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