@hailer/mcp 1.1.12 → 1.1.13

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 (271) hide show
  1. package/CHANGELOG.md +0 -7
  2. package/{.claude → dist}/CLAUDE.md +2 -2
  3. package/dist/app.js +18 -5
  4. package/dist/bot/bot-config.d.ts +10 -1
  5. package/dist/bot/bot-config.js +64 -3
  6. package/dist/bot/bot-manager.d.ts +2 -0
  7. package/dist/bot/bot-manager.js +9 -2
  8. package/dist/bot/bot.d.ts +33 -0
  9. package/dist/bot/bot.js +461 -160
  10. package/dist/bot/services/message-classifier.js +17 -0
  11. package/dist/bot/services/permission-guard.d.ts +52 -0
  12. package/dist/bot/services/permission-guard.js +149 -0
  13. package/dist/bot/services/types.d.ts +5 -0
  14. package/dist/bot/services/typing-indicator.d.ts +6 -1
  15. package/dist/bot/services/typing-indicator.js +19 -3
  16. package/dist/cli.js +0 -0
  17. package/dist/config.d.ts +6 -1
  18. package/dist/config.js +43 -0
  19. package/dist/core.js +3 -6
  20. package/dist/lib/discussion-lock.d.ts +42 -0
  21. package/dist/lib/discussion-lock.js +110 -0
  22. package/dist/mcp/UserContextCache.d.ts +5 -0
  23. package/dist/mcp/UserContextCache.js +51 -19
  24. package/dist/mcp/hailer-clients.d.ts +19 -1
  25. package/dist/mcp/hailer-clients.js +158 -24
  26. package/dist/mcp/session-store.d.ts +68 -0
  27. package/dist/mcp/session-store.js +169 -0
  28. package/dist/mcp/signal-handler.js +2 -0
  29. package/dist/mcp/tool-registry.d.ts +17 -4
  30. package/dist/mcp/tool-registry.js +37 -7
  31. package/dist/mcp/tools/activity.js +99 -7
  32. package/dist/mcp/tools/app-scaffold.js +304 -336
  33. package/dist/mcp/tools/bot-config/constants.d.ts +23 -0
  34. package/dist/mcp/tools/bot-config/constants.js +94 -0
  35. package/dist/mcp/tools/bot-config/core.d.ts +253 -0
  36. package/dist/mcp/tools/bot-config/core.js +2456 -0
  37. package/dist/mcp/tools/bot-config/index.d.ts +10 -0
  38. package/dist/mcp/tools/bot-config/index.js +59 -0
  39. package/dist/mcp/tools/bot-config/tools.d.ts +7 -0
  40. package/dist/mcp/tools/bot-config/tools.js +15 -0
  41. package/dist/mcp/tools/bot-config/types.d.ts +50 -0
  42. package/dist/mcp/tools/bot-config/types.js +6 -0
  43. package/dist/mcp/tools/bug-fixer-tools.d.ts +45 -0
  44. package/dist/mcp/tools/bug-fixer-tools.js +1096 -0
  45. package/dist/mcp/tools/company.d.ts +9 -0
  46. package/dist/mcp/tools/company.js +88 -0
  47. package/dist/mcp/tools/discussion.js +68 -0
  48. package/dist/mcp/tools/document.d.ts +11 -0
  49. package/dist/mcp/tools/document.js +741 -0
  50. package/dist/mcp/tools/investigate.d.ts +9 -0
  51. package/dist/mcp/tools/investigate.js +254 -0
  52. package/dist/mcp/tools/workflow-permissions.d.ts +15 -0
  53. package/dist/mcp/tools/workflow-permissions.js +204 -0
  54. package/dist/mcp/tools/workflow.js +57 -18
  55. package/dist/mcp/utils/index.d.ts +2 -0
  56. package/dist/mcp/utils/index.js +12 -1
  57. package/dist/mcp/utils/role-utils.d.ts +74 -0
  58. package/dist/mcp/utils/role-utils.js +151 -0
  59. package/dist/mcp/utils/types.d.ts +43 -1
  60. package/dist/mcp/utils/types.js +14 -0
  61. package/dist/mcp/webhook-handler.d.ts +4 -0
  62. package/dist/mcp/webhook-handler.js +8 -0
  63. package/dist/mcp-server.d.ts +23 -2
  64. package/dist/mcp-server.js +639 -127
  65. package/dist/plugins/vipunen/client.d.ts +150 -0
  66. package/dist/plugins/vipunen/client.js +535 -0
  67. package/dist/plugins/vipunen/config/schema-config.json +19 -0
  68. package/dist/plugins/vipunen/config/schema-doc.json +22 -0
  69. package/dist/plugins/vipunen/index.d.ts +41 -0
  70. package/dist/plugins/vipunen/index.js +88 -0
  71. package/dist/plugins/vipunen/tools.d.ts +26 -0
  72. package/dist/plugins/vipunen/tools.js +501 -0
  73. package/dist/stdio-server.d.ts +14 -0
  74. package/dist/stdio-server.js +101 -0
  75. package/package.json +2 -1
  76. package/.claude/agents/agent-ada-skill-builder.md +0 -94
  77. package/.claude/agents/agent-alejandro-function-fields.md +0 -342
  78. package/.claude/agents/agent-bjorn-config-audit.md +0 -103
  79. package/.claude/agents/agent-builder-agent-creator.md +0 -130
  80. package/.claude/agents/agent-code-simplifier.md +0 -53
  81. package/.claude/agents/agent-dmitri-activity-crud.md +0 -159
  82. package/.claude/agents/agent-giuseppe-app-builder.md +0 -247
  83. package/.claude/agents/agent-gunther-mcp-tools.md +0 -39
  84. package/.claude/agents/agent-helga-workflow-config.md +0 -204
  85. package/.claude/agents/agent-igor-activity-mover-automation.md +0 -125
  86. package/.claude/agents/agent-ingrid-doc-templates.md +0 -261
  87. package/.claude/agents/agent-ivan-monolith.md +0 -154
  88. package/.claude/agents/agent-kenji-data-reader.md +0 -86
  89. package/.claude/agents/agent-lars-code-inspector.md +0 -102
  90. package/.claude/agents/agent-marco-mockup-builder.md +0 -110
  91. package/.claude/agents/agent-marcus-api-documenter.md +0 -323
  92. package/.claude/agents/agent-marketplace-publisher.md +0 -280
  93. package/.claude/agents/agent-marketplace-reviewer.md +0 -309
  94. package/.claude/agents/agent-permissions-handler.md +0 -208
  95. package/.claude/agents/agent-simple-writer.md +0 -48
  96. package/.claude/agents/agent-svetlana-code-review.md +0 -171
  97. package/.claude/agents/agent-tanya-test-runner.md +0 -333
  98. package/.claude/agents/agent-ui-designer.md +0 -100
  99. package/.claude/agents/agent-viktor-sql-insights.md +0 -212
  100. package/.claude/agents/agent-web-search.md +0 -55
  101. package/.claude/agents/agent-yevgeni-discussions.md +0 -45
  102. package/.claude/agents/agent-zara-zapier.md +0 -159
  103. package/.claude/commands/app-squad.md +0 -135
  104. package/.claude/commands/audit-squad.md +0 -158
  105. package/.claude/commands/autoplan.md +0 -563
  106. package/.claude/commands/cleanup-squad.md +0 -98
  107. package/.claude/commands/config-squad.md +0 -106
  108. package/.claude/commands/crud-squad.md +0 -87
  109. package/.claude/commands/data-squad.md +0 -97
  110. package/.claude/commands/debug-squad.md +0 -303
  111. package/.claude/commands/doc-squad.md +0 -65
  112. package/.claude/commands/handoff.md +0 -137
  113. package/.claude/commands/health.md +0 -49
  114. package/.claude/commands/help.md +0 -29
  115. package/.claude/commands/help:agents.md +0 -151
  116. package/.claude/commands/help:commands.md +0 -78
  117. package/.claude/commands/help:faq.md +0 -79
  118. package/.claude/commands/help:plugins.md +0 -50
  119. package/.claude/commands/help:skills.md +0 -93
  120. package/.claude/commands/help:tools.md +0 -75
  121. package/.claude/commands/hotfix-squad.md +0 -112
  122. package/.claude/commands/integration-squad.md +0 -82
  123. package/.claude/commands/janitor-squad.md +0 -167
  124. package/.claude/commands/learn-auto.md +0 -120
  125. package/.claude/commands/learn.md +0 -120
  126. package/.claude/commands/mcp-list.md +0 -27
  127. package/.claude/commands/onboard-squad.md +0 -140
  128. package/.claude/commands/plan-workspace.md +0 -732
  129. package/.claude/commands/prd.md +0 -130
  130. package/.claude/commands/project-status.md +0 -82
  131. package/.claude/commands/publish.md +0 -138
  132. package/.claude/commands/recap.md +0 -69
  133. package/.claude/commands/restore.md +0 -64
  134. package/.claude/commands/review-squad.md +0 -152
  135. package/.claude/commands/save.md +0 -24
  136. package/.claude/commands/stats.md +0 -19
  137. package/.claude/commands/swarm.md +0 -210
  138. package/.claude/commands/tool-builder.md +0 -39
  139. package/.claude/commands/ws-pull.md +0 -44
  140. package/.claude/hooks/_shared-memory.cjs +0 -305
  141. package/.claude/hooks/_utils.cjs +0 -108
  142. package/.claude/hooks/agent-failure-detector.cjs +0 -383
  143. package/.claude/hooks/agent-usage-logger.cjs +0 -204
  144. package/.claude/hooks/app-edit-guard.cjs +0 -494
  145. package/.claude/hooks/auto-learn.cjs +0 -304
  146. package/.claude/hooks/bash-guard.cjs +0 -272
  147. package/.claude/hooks/builder-mode-manager.cjs +0 -354
  148. package/.claude/hooks/bulk-activity-guard.cjs +0 -271
  149. package/.claude/hooks/context-watchdog.cjs +0 -230
  150. package/.claude/hooks/delegation-reminder.cjs +0 -465
  151. package/.claude/hooks/design-system-lint.cjs +0 -271
  152. package/.claude/hooks/post-scaffold-hook.cjs +0 -181
  153. package/.claude/hooks/prompt-guard.cjs +0 -354
  154. package/.claude/hooks/publish-template-guard.cjs +0 -147
  155. package/.claude/hooks/session-start.cjs +0 -35
  156. package/.claude/hooks/shared-memory-writer.cjs +0 -147
  157. package/.claude/hooks/skill-injector.cjs +0 -140
  158. package/.claude/hooks/skill-usage-logger.cjs +0 -258
  159. package/.claude/hooks/src-edit-guard.cjs +0 -240
  160. package/.claude/hooks/sync-marketplace-agents.cjs +0 -346
  161. package/.claude/settings.json +0 -257
  162. package/.claude/skills/SDK-activity-patterns/SKILL.md +0 -428
  163. package/.claude/skills/SDK-document-templates/SKILL.md +0 -1033
  164. package/.claude/skills/SDK-function-fields/SKILL.md +0 -542
  165. package/.claude/skills/SDK-generate-skill/SKILL.md +0 -92
  166. package/.claude/skills/SDK-init-skill/SKILL.md +0 -127
  167. package/.claude/skills/SDK-insight-queries/SKILL.md +0 -787
  168. package/.claude/skills/SDK-ws-config-skill/SKILL.md +0 -1139
  169. package/.claude/skills/agent-structure/SKILL.md +0 -98
  170. package/.claude/skills/api-documentation-patterns/SKILL.md +0 -474
  171. package/.claude/skills/chrome-mcp-reference/SKILL.md +0 -370
  172. package/.claude/skills/delegation-routing/SKILL.md +0 -202
  173. package/.claude/skills/frontend-design/SKILL.md +0 -254
  174. package/.claude/skills/hailer-activity-mover/SKILL.md +0 -213
  175. package/.claude/skills/hailer-api-client/SKILL.md +0 -518
  176. package/.claude/skills/hailer-app-builder/SKILL.md +0 -1434
  177. package/.claude/skills/hailer-apps-pictures/SKILL.md +0 -269
  178. package/.claude/skills/hailer-design-system/SKILL.md +0 -235
  179. package/.claude/skills/hailer-monolith-automations/SKILL.md +0 -686
  180. package/.claude/skills/hailer-permissions-system/SKILL.md +0 -121
  181. package/.claude/skills/hailer-project-protocol/SKILL.md +0 -488
  182. package/.claude/skills/hailer-rest-api/SKILL.md +0 -61
  183. package/.claude/skills/hailer-rest-api/hailer-activities.md +0 -184
  184. package/.claude/skills/hailer-rest-api/hailer-admin.md +0 -473
  185. package/.claude/skills/hailer-rest-api/hailer-calendar.md +0 -256
  186. package/.claude/skills/hailer-rest-api/hailer-feed.md +0 -249
  187. package/.claude/skills/hailer-rest-api/hailer-insights.md +0 -195
  188. package/.claude/skills/hailer-rest-api/hailer-messaging.md +0 -276
  189. package/.claude/skills/hailer-rest-api/hailer-workflows.md +0 -283
  190. package/.claude/skills/insight-join-patterns/SKILL.md +0 -174
  191. package/.claude/skills/integration-patterns/SKILL.md +0 -421
  192. package/.claude/skills/json-only-output/SKILL.md +0 -72
  193. package/.claude/skills/lsp-setup/SKILL.md +0 -160
  194. package/.claude/skills/mcp-direct-tools/SKILL.md +0 -153
  195. package/.claude/skills/optional-parameters/SKILL.md +0 -72
  196. package/.claude/skills/publish-hailer-app/SKILL.md +0 -244
  197. package/.claude/skills/testing-patterns/SKILL.md +0 -630
  198. package/.claude/skills/tool-builder/SKILL.md +0 -250
  199. package/.claude/skills/tool-parameter-usage/SKILL.md +0 -126
  200. package/.claude/skills/tool-response-verification/SKILL.md +0 -92
  201. package/.claude/skills/zapier-hailer-patterns/SKILL.md +0 -581
  202. package/.mcp.json +0 -13
  203. package/.opencode/agent/agent-ada-skill-builder.md +0 -35
  204. package/.opencode/agent/agent-alejandro-function-fields.md +0 -39
  205. package/.opencode/agent/agent-bjorn-config-audit.md +0 -36
  206. package/.opencode/agent/agent-builder-agent-creator.md +0 -39
  207. package/.opencode/agent/agent-code-simplifier.md +0 -31
  208. package/.opencode/agent/agent-dmitri-activity-crud.md +0 -40
  209. package/.opencode/agent/agent-giuseppe-app-builder.md +0 -37
  210. package/.opencode/agent/agent-gunther-mcp-tools.md +0 -39
  211. package/.opencode/agent/agent-helga-workflow-config.md +0 -203
  212. package/.opencode/agent/agent-igor-activity-mover-automation.md +0 -46
  213. package/.opencode/agent/agent-ingrid-doc-templates.md +0 -39
  214. package/.opencode/agent/agent-ivan-monolith.md +0 -46
  215. package/.opencode/agent/agent-kenji-data-reader.md +0 -53
  216. package/.opencode/agent/agent-lars-code-inspector.md +0 -28
  217. package/.opencode/agent/agent-marco-mockup-builder.md +0 -42
  218. package/.opencode/agent/agent-marcus-api-documenter.md +0 -53
  219. package/.opencode/agent/agent-marketplace-publisher.md +0 -44
  220. package/.opencode/agent/agent-marketplace-reviewer.md +0 -42
  221. package/.opencode/agent/agent-permissions-handler.md +0 -50
  222. package/.opencode/agent/agent-simple-writer.md +0 -45
  223. package/.opencode/agent/agent-svetlana-code-review.md +0 -39
  224. package/.opencode/agent/agent-tanya-test-runner.md +0 -57
  225. package/.opencode/agent/agent-ui-designer.md +0 -56
  226. package/.opencode/agent/agent-viktor-sql-insights.md +0 -34
  227. package/.opencode/agent/agent-web-search.md +0 -42
  228. package/.opencode/agent/agent-yevgeni-discussions.md +0 -37
  229. package/.opencode/agent/agent-zara-zapier.md +0 -53
  230. package/.opencode/commands/app-squad.md +0 -135
  231. package/.opencode/commands/audit-squad.md +0 -158
  232. package/.opencode/commands/autoplan.md +0 -563
  233. package/.opencode/commands/cleanup-squad.md +0 -98
  234. package/.opencode/commands/config-squad.md +0 -106
  235. package/.opencode/commands/crud-squad.md +0 -87
  236. package/.opencode/commands/data-squad.md +0 -97
  237. package/.opencode/commands/debug-squad.md +0 -303
  238. package/.opencode/commands/doc-squad.md +0 -65
  239. package/.opencode/commands/handoff.md +0 -137
  240. package/.opencode/commands/health.md +0 -49
  241. package/.opencode/commands/help-agents.md +0 -151
  242. package/.opencode/commands/help-commands.md +0 -32
  243. package/.opencode/commands/help-faq.md +0 -29
  244. package/.opencode/commands/help-plugins.md +0 -28
  245. package/.opencode/commands/help-skills.md +0 -7
  246. package/.opencode/commands/help-tools.md +0 -40
  247. package/.opencode/commands/help.md +0 -28
  248. package/.opencode/commands/hotfix-squad.md +0 -112
  249. package/.opencode/commands/integration-squad.md +0 -82
  250. package/.opencode/commands/janitor-squad.md +0 -167
  251. package/.opencode/commands/learn-auto.md +0 -120
  252. package/.opencode/commands/learn.md +0 -120
  253. package/.opencode/commands/mcp-list.md +0 -27
  254. package/.opencode/commands/onboard-squad.md +0 -140
  255. package/.opencode/commands/plan-workspace.md +0 -732
  256. package/.opencode/commands/prd.md +0 -131
  257. package/.opencode/commands/project-status.md +0 -82
  258. package/.opencode/commands/publish.md +0 -138
  259. package/.opencode/commands/recap.md +0 -69
  260. package/.opencode/commands/restore.md +0 -64
  261. package/.opencode/commands/review-squad.md +0 -152
  262. package/.opencode/commands/save.md +0 -24
  263. package/.opencode/commands/stats.md +0 -19
  264. package/.opencode/commands/swarm.md +0 -210
  265. package/.opencode/commands/tool-builder.md +0 -39
  266. package/.opencode/commands/ws-pull.md +0 -44
  267. package/.opencode/opencode.json +0 -28
  268. package/SESSION-HANDOFF.md +0 -68
  269. package/inbox/2026-03-04-bot-config-patterns.md +0 -24
  270. package/scripts/postinstall.cjs +0 -64
  271. package/scripts/test-hal-tools.ts +0 -154
@@ -1,137 +0,0 @@
1
- ---
2
- description: Create or update session handoff for continuity
3
- argument-hint: [optional summary]
4
- ---
5
- # Session Handoff
6
-
7
- Context is getting full or session is ending. Create/update handoff for next session.
8
-
9
- ## Step 0: Capture Learnings (Auto-Learn)
10
-
11
- Before creating handoff, scan for learnings from this session.
12
-
13
- **Run the learn-auto logic:**
14
- 1. Scan conversation for: error→fix patterns, user corrections, explicit insights, agent failures
15
- 2. Present any findings to user for confirmation
16
- 3. Write confirmed learnings to inbox
17
-
18
- This ensures valuable insights aren't lost when session ends.
19
-
20
- If no learnings found or user skips, continue to Step 1.
21
-
22
- ---
23
-
24
- ## Step 1: Gather Current State
25
-
26
- Collect:
27
- - What was worked on this session
28
- - Current state of in-progress work
29
- - Any blockers or issues found
30
- - Uncommitted changes (`git status`)
31
- - Next steps
32
-
33
- ## Step 2: Graduate Auto Memory
34
-
35
- Check if the project has auto memory entries to graduate.
36
-
37
- **Find the memory file:**
38
- 1. Get project root from working directory
39
- 2. Transform path: replace `/` with `-` (e.g., `/Users/timoahonen/my-project` → `-Users-timoahonen-my-project`)
40
- 3. Memory path: `~/.claude/projects/<transformed-path>/memory/MEMORY.md`
41
-
42
- **If MEMORY.md exists and has content:**
43
- 1. Read it
44
- 2. For each entry, decide:
45
- - **Project-specific gotcha** (field ID quirks, workflow-specific behavior) → Move to SESSION-HANDOFF.md "Context to Preserve"
46
- - **Reusable pattern** (SDK behavior, API gotchas, agent tips) → Capture via `/learn-hub` or note for inbox
47
- - **Already in a skill or CLAUDE.md** → Remove (it graduated in a previous session)
48
- - **Stale or wrong** → Remove
49
- 3. Remove graduated/stale entries from MEMORY.md
50
- 4. Keep only entries that are still being validated (discovered this session, not yet confirmed)
51
-
52
- **Goal:** MEMORY.md is a scratch buffer, not permanent storage. At handoff, everything graduates out.
53
-
54
- ## Step 3: Check for Active Tasks
55
-
56
- Run `TaskList`. If tasks exist:
57
- - Export pending/in_progress tasks to handoff
58
- - Summarize completed tasks in "What Was Done"
59
-
60
- ## Step 4: Update Documentation (if applicable)
61
-
62
- **Did this session complete any features?**
63
-
64
- If YES:
65
- - Update the PRD file (docs/prd-*.md): change Status to "Complete", check off completed items
66
- - Update DEVELOPMENT.md Roadmap: mark feature as Complete
67
- - Update "Current Status"
68
- - Add any technical decisions
69
- - Note new issues discovered
70
-
71
- ## Step 5: Create/Update SESSION-HANDOFF.md
72
-
73
- If file exists → UPDATE it (remove stale items, keep relevant context)
74
- If not exists → CREATE it
75
-
76
- ```markdown
77
- # Session Handoff
78
-
79
- **Last Updated:** YYYY-MM-DD HH:MM
80
-
81
- ## What Was Done
82
- - [Completed items with context]
83
-
84
- ## Current Work
85
- - [What's actively being worked on]
86
- - [State of in-progress features]
87
-
88
- ## Pending Tasks
89
- _From TaskList - will be recreated next session_
90
- - [ ] Task description
91
- - [ ] Task description
92
-
93
- ## Blockers / Issues
94
- - [Problems encountered]
95
- - [Things that need investigation]
96
-
97
- ## Next Steps
98
- 1. [First thing to do when resuming]
99
- 2. [Second thing]
100
- 3. [Third thing]
101
-
102
- ## Key Decisions
103
- - [Decision]: [Why]
104
-
105
- ## Files Modified
106
- - `path/to/file` - [what changed]
107
-
108
- ## Context to Preserve
109
- - [Important notes that shouldn't be lost]
110
- - [Gotchas discovered]
111
- ```
112
-
113
- ## Step 6: Save Progress
114
-
115
- If git is initialized and there are changes:
116
- ```
117
- /save "Session handoff: [brief summary]"
118
- ```
119
-
120
- ## Step 7: Report
121
-
122
- Tell user:
123
- ```
124
- Session handoff complete:
125
- - SESSION-HANDOFF.md updated
126
- - DEVELOPMENT.md updated (if features completed)
127
- - [X] files have uncommitted changes
128
-
129
- To continue: Start new session - handoff will be read automatically.
130
- ```
131
-
132
- ## Notes
133
-
134
- - **UPDATE, don't delete** - SESSION-HANDOFF.md accumulates context
135
- - Remove items that are no longer relevant
136
- - Keep decisions and gotchas even after tasks complete
137
- - Next session reads handoff, then updates it (removes completed items)
@@ -1,49 +0,0 @@
1
- ---
2
- description: Run project health check and config audit
3
- allowed-tools: Task, Bash, Read
4
- ---
5
- # Project Health Check
6
-
7
- Run a quick audit of the current project configuration.
8
-
9
- **Check the following:**
10
-
11
- 1. **Workspace sync status**
12
- - Run `npm run pull` to check connectivity
13
- - Compare local workspace/ timestamps with server
14
-
15
- 2. **CLAUDE.md accuracy**
16
- - Does CLAUDE.md exist?
17
- - Are listed agents present in .claude/agents/?
18
- - Are referenced skills present in .claude/skills/?
19
-
20
- 3. **Hooks integrity**
21
- - Are all hooks in settings.json present in .claude/hooks/?
22
- - Do hook files have execute permissions?
23
-
24
- 4. **Dependencies**
25
- - Run `npm outdated` to check for updates
26
- - Check if node_modules exists
27
-
28
- 5. **Git status**
29
- - Any uncommitted changes?
30
- - Is branch up to date with remote?
31
-
32
- **Output format:**
33
-
34
- ```
35
- ## Health Check - [Project Name]
36
-
37
- [x] Workspace synced (last pull: X minutes ago)
38
- [x] CLAUDE.md valid (15 agents, 10 skills)
39
- [x] Hooks intact (8/8 present)
40
- [ ] Dependencies outdated (3 packages)
41
- [x] Git clean
42
-
43
- ### Issues Found
44
- - @hailer/sdk outdated: 0.8.3 → 0.8.5
45
- - Missing hook: xyz.cjs referenced but not found
46
-
47
- ### Recommendations
48
- - Run `npm update @hailer/sdk`
49
- ```
@@ -1,151 +0,0 @@
1
- ---
2
- description: Agent usage help for Hailer MCP
3
- ---
4
-
5
- # Agents Help
6
-
7
- Display agent usage instructions to the user.
8
-
9
- ## Output
10
-
11
- ```
12
- ╭─────────────────────────────────────────╮
13
- │ HAILER MCP - AGENTS │
14
- ╰─────────────────────────────────────────╯
15
-
16
- Agents are AI specialists that handle specific tasks. The orchestrator
17
- (Claude) delegates work to them based on the task type.
18
-
19
- HOW IT WORKS:
20
-
21
- 1. You ask Claude to do something
22
- 2. Claude identifies the right agent
23
- 3. Claude spawns the agent with your task
24
- 4. Agent does the work, returns JSON result
25
- 5. Claude interprets result and reports back
26
-
27
- ─────────────────────────────────────────────────────────────────────────
28
-
29
- AGENT RELATIONSHIPS (who calls who):
30
-
31
- Kenji → Dmitri Kenji gets IDs, Dmitri creates/updates
32
- Kenji → Helga Kenji gets structure, Helga modifies config
33
- Kenji → Alejandro Kenji gets field IDs, Alejandro creates functions
34
- Kenji → Viktor Kenji gets schema, Viktor creates insights
35
- Kenji → Giuseppe Kenji gets data structure, Giuseppe builds app
36
- Marco → Giuseppe Marco validates mockup, Giuseppe builds production
37
- Ada ← (any failure) Ada creates skills from repeated failures
38
-
39
- Common chains:
40
- • Add field: Kenji → Helga → (push) → Kenji (verify)
41
- • Create app: Kenji → Viktor → Giuseppe → Tanya
42
- • Activity CRUD: Kenji → Dmitri
43
-
44
- ─────────────────────────────────────────────────────────────────────────
45
-
46
- AGENT TOOL ACCESS:
47
-
48
- MCP Tools Only (restricted):
49
- Kenji - list_workflows, count_activities, list_activities
50
- Dmitri - create_activity, update_activity
51
- Permissions - list_apps, add/remove_app_member, search_users
52
- Yevgeni - discussion tools (list, fetch, post, invite)
53
-
54
- Code Tools (Bash, Read, Write, Edit):
55
- Giuseppe - App building (+scaffold_hailer_app)
56
- Gunther - MCP tool building
57
- Helga - Workflow config
58
- Igor - Activity movers
59
- Ivan - Monolith automations
60
- Marco - Mockups
61
- Ingrid - Document templates
62
-
63
- Read-Only (Read, Glob, Grep):
64
- Svetlana - Code review
65
- Bjorn - Config audit
66
- Tanya - Test runner (+ Bash for test execution)
67
-
68
- Light Edit (Read, Edit, Glob):
69
- Simple Writer - Basic edits only (haiku model, fast)
70
- Code Simplifier - Simplify code for clarity (sonnet model)
71
-
72
- Special:
73
- Lars - LSP only (code inspection)
74
- Ada - Read, Write, Edit, Glob (skill creation)
75
-
76
- ─────────────────────────────────────────────────────────────────────────
77
-
78
- AGENT CATEGORIES:
79
-
80
- Data Operations:
81
- agent-kenji-data-reader - Read workflows, fields, activities (LOCAL FIRST)
82
- agent-dmitri-activity-crud - Create/update activities
83
- agent-yevgeni-discussions - Read/post discussion messages
84
- agent-permissions-handler - Manage app access
85
- agent-simple-writer - Basic code edits (ID swaps, string replacements)
86
-
87
- Configuration:
88
- agent-helga-workflow-config - Manage workflows, fields, phases
89
- agent-alejandro-function-fields - Calculated fields + name functions
90
- agent-viktor-sql-insights - SQL-like reports
91
- agent-ingrid-doc-templates - PDF/CSV document templates
92
-
93
- Development:
94
- agent-giuseppe-app-builder - Build Hailer apps (production)
95
- agent-marco-mockup-builder - Build demo apps (validation)
96
- agent-gunther-mcp-tools - Build MCP tools
97
- agent-igor-activity-mover - Phase cascade microservices
98
- agent-ivan-monolith - Monolith automations
99
- agent-zara-zapier - Zapier integrations
100
-
101
- Quality:
102
- agent-svetlana-code-review - Code review (READ-ONLY)
103
- agent-tanya-test-runner - Run tests
104
- agent-lars-code-inspector - Find bugs, dead code (LSP)
105
- agent-bjorn-config-audit - Audit configuration
106
- agent-code-simplifier - Simplify code for clarity
107
-
108
- Meta:
109
- agent-ada-skill-builder - Create skills from failures
110
- agent-builder-agent-creator - Create new agents
111
- agent-marcus-api-documenter - Document API endpoints
112
- agent-marketplace-publisher - Publish plugins
113
- agent-marketplace-reviewer - Review plugin PRs
114
-
115
- ─────────────────────────────────────────────────────────────────────────
116
-
117
- CRITICAL BOUNDARIES:
118
-
119
- Kenji vs Dmitri:
120
- Kenji = READ (schema, lists, counts)
121
- Dmitri = WRITE (create, update)
122
- Dmitri needs IDs from Kenji first!
123
-
124
- Marco vs Giuseppe:
125
- Marco = DEMO apps (non-functional, for validation)
126
- Giuseppe = PRODUCTION apps (real data, functional)
127
- Use Marco first to validate concept, then Giuseppe
128
-
129
- ─────────────────────────────────────────────────────────────────────────
130
-
131
- EXAMPLE USAGE:
132
-
133
- "Create a customer activity in the CRM workflow"
134
- → Kenji (get IDs) → Dmitri (create activity)
135
-
136
- "Build a dashboard app showing orders"
137
- → Kenji (get schema) → Giuseppe (build app)
138
-
139
- "Add a calculated total field"
140
- → Kenji (get field IDs) → Alejandro (create function)
141
-
142
- "Review my code changes"
143
- → Svetlana (code review)
144
-
145
- ─────────────────────────────────────────────────────────────────────────
146
-
147
- SEE ALSO:
148
- /stats - View agent usage statistics
149
- /help plugins - Install more agents
150
- /help commands - All slash commands
151
- ```
@@ -1,32 +0,0 @@
1
- ---
2
- description: All slash commands for Hailer MCP
3
- ---
4
-
5
- Display this commands reference:
6
-
7
- ```
8
- HAILER MCP - ALL COMMANDS
9
-
10
- HELP:
11
- /help Show help topics
12
- /help-plugins Plugin system guide
13
- /help-agents Agent usage guide
14
- /help-commands This reference
15
- /help-tools MCP tools reference
16
- /help-faq Common questions
17
-
18
- PLUGINS:
19
- /marketplace-setup Clone/update marketplace
20
- /list-plugins List available plugins
21
- /install-plugin <name> Install a plugin
22
- /uninstall-plugin <name> Remove a plugin
23
- /publish-plugin Publish to marketplace
24
-
25
- DEVELOPMENT:
26
- /tool-builder Build a new MCP tool
27
- /ws-pull Pull workspace config from Hailer
28
-
29
- Examples:
30
- /list-plugins
31
- /install-plugin tanya-test-runner
32
- ```
@@ -1,29 +0,0 @@
1
- ---
2
- description: Frequently asked questions
3
- ---
4
-
5
- Display this FAQ:
6
-
7
- ```
8
- HAILER MCP - FAQ
9
-
10
- Q: Why restart after installing a plugin?
11
- A: Agents load at startup. Use 'claude -c' to keep context.
12
-
13
- Q: Can I create my own agents?
14
- A: Yes. Add markdown to .claude/agents/
15
-
16
- Q: How to publish an agent?
17
- A: Use /publish-plugin. Creates auto-reviewed PR.
18
-
19
- Q: Where is config stored?
20
- A: Agents: .claude/agents/
21
- Skills: .claude/skills/
22
- Hooks: .claude/hooks/
23
- Settings: .claude/settings.json
24
-
25
- Q: How to update a plugin?
26
- A: /uninstall-plugin <name> then /install-plugin <name>
27
-
28
- SEE ALSO: /help-plugins, /help-agents
29
- ```
@@ -1,28 +0,0 @@
1
- ---
2
- description: Plugin system help for Hailer MCP
3
- ---
4
-
5
- Display this plugin help:
6
-
7
- ```
8
- HAILER MCP - PLUGIN SYSTEM
9
-
10
- COMMANDS:
11
- /marketplace-setup Clone/pull marketplace repo
12
- /list-plugins List available plugins
13
- /install-plugin <name> Install plugin to .claude/
14
- /uninstall-plugin <name> Remove plugin
15
- /publish-plugin Publish to marketplace
16
-
17
- PLUGIN TYPES:
18
- Agents - AI specialists (.claude/agents/)
19
- Skills - On-demand docs (.claude/skills/)
20
- Hooks - Event scripts (.claude/hooks/)
21
-
22
- WORKFLOW:
23
- 1. /list-plugins
24
- 2. /install-plugin <name>
25
- 3. Restart: claude -c
26
-
27
- SEE ALSO: /help-agents, /help-faq
28
- ```
@@ -1,7 +0,0 @@
1
- ---
2
- description: Skills reference for Hailer MCP
3
- ---
4
-
5
- # Skills Reference
6
-
7
- [See content from .claude/commands/help:skills.md - displays skills reference with same formatting]
@@ -1,40 +0,0 @@
1
- ---
2
- description: MCP tools reference for Hailer MCP
3
- ---
4
-
5
- Display this tools reference:
6
-
7
- ```
8
- HAILER MCP - TOOLS REFERENCE
9
-
10
- WORKFLOW:
11
- list_workflows, list_workflows_minimal, list_workflow_phases
12
- get_workflow_schema, install_workflow
13
-
14
- ACTIVITY:
15
- list_activities, show_activity_by_id, create_activity
16
- update_activity, count_activities
17
-
18
- DISCUSSION:
19
- list_my_discussions, fetch_discussion_messages
20
- add_discussion_message, join_discussion, leave_discussion
21
-
22
- INSIGHT:
23
- list_insights, create_insight, preview_insight
24
- get_insight_data, update_insight
25
-
26
- APP:
27
- list_apps, create_app, update_app
28
- scaffold_hailer_app, publish_hailer_app
29
-
30
- FILE:
31
- upload_files, download_file
32
-
33
- USER:
34
- search_workspace_users
35
-
36
- TEMPLATE:
37
- list_templates, get_template, install_template, publish_template
38
-
39
- SEE ALSO: /help-agents, /help-commands
40
- ```
@@ -1,28 +0,0 @@
1
- ---
2
- description: Show help topics for Hailer MCP
3
- ---
4
-
5
- # Hailer MCP Help
6
-
7
- Display available help topics to the user.
8
-
9
- ## Output
10
-
11
- ```
12
- ╭─────────────────────────────────────────╮
13
- │ HAILER MCP HELP SYSTEM │
14
- ╰─────────────────────────────────────────╯
15
-
16
- Available topics:
17
-
18
- /help agents How agents work and delegation
19
- /help skills Skills reference (patterns, templates, fixes)
20
- /help commands All slash commands
21
- /help tools MCP tools reference
22
- /help faq Common questions
23
-
24
- ───────────────────────────────────────────
25
- Type /help <topic> for details
26
- ```
27
-
28
- ## Always show this exactly as formatted above.
@@ -1,112 +0,0 @@
1
- ---
2
- description: Quick bug fix with Tanya, Simple Writer, and Svetlana
3
- argument-hint: "bug description"
4
- allowed-tools: Task, Bash
5
- ---
6
- # Hotfix Squad
7
-
8
- Sequential pipeline with iterative loop: Reproduce bug, apply fix, verify, review. Loops back if review fails.
9
-
10
- **Agents:**
11
- 1. **Tanya** - Test runner (create failing test, verify fix)
12
- 2. **Simple Writer** - Code editor (apply minimal fix)
13
- 3. **Svetlana** - Code review (security audit of the fix)
14
-
15
- **Goal:** $ARGUMENTS
16
-
17
- ## Protocol
18
-
19
- ### Step 1: Tanya (Reproduce Bug)
20
-
21
- Spawn Tanya to create a test that demonstrates the bug:
22
-
23
- ```
24
- Task(subagent_type="agent-tanya-test-runner", prompt="Create a test that reproduces this bug: $ARGUMENTS.\n\nThe test should:\n- Fail with the current code (red)\n- Clearly demonstrate the bug\n- Be minimal and focused\n\nDo NOT fix the bug yet. Just create the failing test and report the failure.")
25
- ```
26
-
27
- Wait for result. The test should be failing (RED state).
28
-
29
- ### Step 2: Fix-Verify-Review Loop
30
-
31
- Track iteration count. Max **3 iterations** before escalating to user with remaining issues.
32
-
33
- **Set:** `iteration = 1`
34
-
35
- #### Step 2a: Simple Writer (Apply Fix)
36
-
37
- Spawn Simple Writer with accumulated context from all previous iterations:
38
-
39
- ```
40
- Task(subagent_type="agent-simple-writer", prompt="Fix the bug in: $ARGUMENTS.\n\nContext:\nTanya created a failing test that reproduces the bug:\n[PASTE TANYA'S TEST CODE AND FAILURE OUTPUT]\n\n[IF iteration > 1: Include ALL accumulated feedback:\n- Tanya's latest test results (pass/fail details)\n- Svetlana's review feedback (if review was reached in previous iteration)\n- What was already tried and why it didn't fully work\nThis prevents repeating previous mistakes.]\n\nMake the MINIMAL change needed to make the test pass (GREEN state). Do not refactor or improve surrounding code.")
41
- ```
42
-
43
- #### Step 2b: Tanya (Verify Fix)
44
-
45
- Run the test to confirm the fix works:
46
-
47
- ```
48
- Task(subagent_type="agent-tanya-test-runner", prompt="Re-run the test for: $ARGUMENTS. Confirm it now passes with Simple Writer's fix. Also run any related tests to check for regressions.")
49
- ```
50
-
51
- If tests FAIL:
52
- - If `iteration < 3`: increment iteration, go back to **Step 2a** with the test failure output
53
- - If `iteration >= 3`: escalate to user (see Step 3)
54
-
55
- #### Step 2c: Svetlana (Security Review)
56
-
57
- Tests passed. Spawn Svetlana to audit the fix:
58
-
59
- ```
60
- Task(subagent_type="agent-svetlana-code-review", prompt="Security review of the hotfix for: $ARGUMENTS.\n\nFix applied by Simple Writer:\n[PASTE SIMPLE WRITER'S CHANGES]\n\nIteration: [iteration] of 3\n\nCheck for:\n- Security vulnerabilities\n- Data validation issues\n- Authentication/authorization concerns\n- Edge cases that could be exploited\n\nReturn verdict: APPROVED or REQUEST_CHANGES with specific issues to fix.")
61
- ```
62
-
63
- **If APPROVED:** proceed to Step 3 (report).
64
-
65
- **If REQUEST_CHANGES:**
66
- - If `iteration < 3`: increment iteration, go back to **Step 2a** with Svetlana's feedback
67
- - If `iteration >= 3`: escalate to user (see Step 3)
68
-
69
- ### Step 3: Report
70
-
71
- ```markdown
72
- ## Hotfix Squad Complete
73
-
74
- ### Loop Summary
75
- - Iterations: [count] of 3 max
76
- - Final status: FIXED / ESCALATED
77
-
78
- ### Tanya (Test)
79
- - Bug reproduced: YES
80
- - Test status before fix: FAILED
81
- - Test status after fix: PASSED / STILL FAILING
82
- - Regressions found: [yes/no]
83
-
84
- ### Simple Writer (Fix)
85
- - Files modified: [list]
86
- - Lines changed: [count]
87
- - Approach: [brief description]
88
-
89
- ### Svetlana (Security)
90
- - Verdict: APPROVED / REQUEST_CHANGES
91
- - Critical issues: [count]
92
- - Warnings: [count]
93
- - [If REQUEST_CHANGES: list remaining issues]
94
-
95
- ### Next Steps
96
- [If FIXED:]
97
- - Deploy to staging
98
- - Monitor error logs
99
-
100
- [If ESCALATED after 3 iterations:]
101
- - Manual intervention needed
102
- - Remaining issues: [list from Svetlana/Tanya]
103
- - Attempted fixes: [summary of what was tried]
104
- ```
105
-
106
- ## Notes
107
-
108
- - RED -> GREEN -> REVIEW loop ensures quality
109
- - Fix must be minimal - no refactoring
110
- - Max 3 iterations prevents infinite loops
111
- - Each iteration passes previous feedback to Simple Writer so it doesn't repeat mistakes
112
- - Security check is mandatory before reporting success