@synapse-research/synapse 0.2.12 → 0.2.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 (206) hide show
  1. package/dist/.next/BUILD_ID +1 -1
  2. package/dist/.next/app-build-manifest.json +113 -113
  3. package/dist/.next/app-path-routes-manifest.json +27 -27
  4. package/dist/.next/build-manifest.json +2 -2
  5. package/dist/.next/prerender-manifest.json +6 -6
  6. package/dist/.next/server/app/(dashboard)/agents/page_client-reference-manifest.js +1 -1
  7. package/dist/.next/server/app/(dashboard)/compute/page_client-reference-manifest.js +1 -1
  8. package/dist/.next/server/app/(dashboard)/project-groups/[uuid]/page_client-reference-manifest.js +1 -1
  9. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/activity/page_client-reference-manifest.js +1 -1
  10. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/dashboard/page_client-reference-manifest.js +1 -1
  11. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/documents/[documentUuid]/page_client-reference-manifest.js +1 -1
  12. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/documents/page_client-reference-manifest.js +1 -1
  13. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-designs/[designUuid]/page_client-reference-manifest.js +1 -1
  14. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-designs/new/page_client-reference-manifest.js +1 -1
  15. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-designs/page_client-reference-manifest.js +1 -1
  16. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-runs/[runUuid]/page_client-reference-manifest.js +1 -1
  17. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiment-runs/page_client-reference-manifest.js +1 -1
  18. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiments/new/page_client-reference-manifest.js +1 -1
  19. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/experiments/page_client-reference-manifest.js +1 -1
  20. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/insights/page_client-reference-manifest.js +1 -1
  21. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/page_client-reference-manifest.js +1 -1
  22. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/related-works/page_client-reference-manifest.js +1 -1
  23. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/research-questions/[questionUuid]/page_client-reference-manifest.js +1 -1
  24. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/research-questions/page_client-reference-manifest.js +1 -1
  25. package/dist/.next/server/app/(dashboard)/research-projects/[uuid]/settings/page_client-reference-manifest.js +1 -1
  26. package/dist/.next/server/app/(dashboard)/research-projects/new/page_client-reference-manifest.js +1 -1
  27. package/dist/.next/server/app/(dashboard)/research-projects/page_client-reference-manifest.js +1 -1
  28. package/dist/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  29. package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  30. package/dist/.next/server/app/_not-found.html +1 -1
  31. package/dist/.next/server/app/_not-found.rsc +1 -1
  32. package/dist/.next/server/app/admin/companies/[uuid]/page_client-reference-manifest.js +1 -1
  33. package/dist/.next/server/app/admin/companies/new/page_client-reference-manifest.js +1 -1
  34. package/dist/.next/server/app/admin/companies/new.html +1 -1
  35. package/dist/.next/server/app/admin/companies/new.rsc +1 -1
  36. package/dist/.next/server/app/admin/companies/page_client-reference-manifest.js +1 -1
  37. package/dist/.next/server/app/admin/companies.html +1 -1
  38. package/dist/.next/server/app/admin/companies.rsc +1 -1
  39. package/dist/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  40. package/dist/.next/server/app/admin.html +1 -1
  41. package/dist/.next/server/app/admin.rsc +1 -1
  42. package/dist/.next/server/app/api/admin/companies/[uuid]/route_client-reference-manifest.js +1 -1
  43. package/dist/.next/server/app/api/admin/companies/route_client-reference-manifest.js +1 -1
  44. package/dist/.next/server/app/api/admin/login/route_client-reference-manifest.js +1 -1
  45. package/dist/.next/server/app/api/admin/session/route_client-reference-manifest.js +1 -1
  46. package/dist/.next/server/app/api/admin/stats/route_client-reference-manifest.js +1 -1
  47. package/dist/.next/server/app/api/agents/[uuid]/route_client-reference-manifest.js +1 -1
  48. package/dist/.next/server/app/api/agents/[uuid]/sessions/route_client-reference-manifest.js +1 -1
  49. package/dist/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
  50. package/dist/.next/server/app/api/api-keys/[uuid]/route_client-reference-manifest.js +1 -1
  51. package/dist/.next/server/app/api/api-keys/route_client-reference-manifest.js +1 -1
  52. package/dist/.next/server/app/api/auth/callback/route_client-reference-manifest.js +1 -1
  53. package/dist/.next/server/app/api/auth/check-default/route_client-reference-manifest.js +1 -1
  54. package/dist/.next/server/app/api/auth/default-login/route_client-reference-manifest.js +1 -1
  55. package/dist/.next/server/app/api/auth/identify/route_client-reference-manifest.js +1 -1
  56. package/dist/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  57. package/dist/.next/server/app/api/auth/me/route_client-reference-manifest.js +1 -1
  58. package/dist/.next/server/app/api/auth/refresh/route_client-reference-manifest.js +1 -1
  59. package/dist/.next/server/app/api/auth/session/route_client-reference-manifest.js +1 -1
  60. package/dist/.next/server/app/api/auth/sync-token/route_client-reference-manifest.js +1 -1
  61. package/dist/.next/server/app/api/comments/route_client-reference-manifest.js +1 -1
  62. package/dist/.next/server/app/api/compute-gpus/[uuid]/release/route_client-reference-manifest.js +1 -1
  63. package/dist/.next/server/app/api/compute-nodes/[uuid]/route_client-reference-manifest.js +1 -1
  64. package/dist/.next/server/app/api/compute-nodes/route_client-reference-manifest.js +1 -1
  65. package/dist/.next/server/app/api/compute-pools/[uuid]/route_client-reference-manifest.js +1 -1
  66. package/dist/.next/server/app/api/compute-pools/route_client-reference-manifest.js +1 -1
  67. package/dist/.next/server/app/api/documents/[uuid]/images/[filename]/route_client-reference-manifest.js +1 -1
  68. package/dist/.next/server/app/api/documents/[uuid]/images/route_client-reference-manifest.js +1 -1
  69. package/dist/.next/server/app/api/documents/[uuid]/route_client-reference-manifest.js +1 -1
  70. package/dist/.next/server/app/api/events/notifications/route_client-reference-manifest.js +1 -1
  71. package/dist/.next/server/app/api/events/route_client-reference-manifest.js +1 -1
  72. package/dist/.next/server/app/api/experiment-designs/[uuid]/approve/route_client-reference-manifest.js +1 -1
  73. package/dist/.next/server/app/api/experiment-designs/[uuid]/close/route_client-reference-manifest.js +1 -1
  74. package/dist/.next/server/app/api/experiment-designs/[uuid]/reject/route_client-reference-manifest.js +1 -1
  75. package/dist/.next/server/app/api/experiment-designs/[uuid]/route_client-reference-manifest.js +1 -1
  76. package/dist/.next/server/app/api/experiment-runs/[uuid]/claim/route_client-reference-manifest.js +1 -1
  77. package/dist/.next/server/app/api/experiment-runs/[uuid]/dependencies/[dependsOnRunUuid]/route_client-reference-manifest.js +1 -1
  78. package/dist/.next/server/app/api/experiment-runs/[uuid]/dependencies/route_client-reference-manifest.js +1 -1
  79. package/dist/.next/server/app/api/experiment-runs/[uuid]/evaluate-criteria/route_client-reference-manifest.js +1 -1
  80. package/dist/.next/server/app/api/experiment-runs/[uuid]/registry/route_client-reference-manifest.js +1 -1
  81. package/dist/.next/server/app/api/experiment-runs/[uuid]/release/route_client-reference-manifest.js +1 -1
  82. package/dist/.next/server/app/api/experiment-runs/[uuid]/route_client-reference-manifest.js +1 -1
  83. package/dist/.next/server/app/api/experiment-runs/[uuid]/sessions/route_client-reference-manifest.js +1 -1
  84. package/dist/.next/server/app/api/experiments/[uuid]/complete/route_client-reference-manifest.js +1 -1
  85. package/dist/.next/server/app/api/experiments/[uuid]/progress/route_client-reference-manifest.js +1 -1
  86. package/dist/.next/server/app/api/experiments/[uuid]/request-plan/route_client-reference-manifest.js +1 -1
  87. package/dist/.next/server/app/api/experiments/[uuid]/reset/route_client-reference-manifest.js +1 -1
  88. package/dist/.next/server/app/api/experiments/[uuid]/review/route_client-reference-manifest.js +1 -1
  89. package/dist/.next/server/app/api/experiments/[uuid]/route_client-reference-manifest.js +1 -1
  90. package/dist/.next/server/app/api/experiments/[uuid]/start/route_client-reference-manifest.js +1 -1
  91. package/dist/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
  92. package/dist/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -1
  93. package/dist/.next/server/app/api/me/assignments/route_client-reference-manifest.js +1 -1
  94. package/dist/.next/server/app/api/mentionables/route_client-reference-manifest.js +1 -1
  95. package/dist/.next/server/app/api/notifications/[uuid]/archive/route_client-reference-manifest.js +1 -1
  96. package/dist/.next/server/app/api/notifications/[uuid]/read/route_client-reference-manifest.js +1 -1
  97. package/dist/.next/server/app/api/notifications/preferences/route_client-reference-manifest.js +1 -1
  98. package/dist/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js +1 -1
  99. package/dist/.next/server/app/api/notifications/route_client-reference-manifest.js +1 -1
  100. package/dist/.next/server/app/api/notifications/unread-count/route_client-reference-manifest.js +1 -1
  101. package/dist/.next/server/app/api/onboarding/status/route_client-reference-manifest.js +1 -1
  102. package/dist/.next/server/app/api/project-groups/[uuid]/dashboard/route_client-reference-manifest.js +1 -1
  103. package/dist/.next/server/app/api/project-groups/[uuid]/route_client-reference-manifest.js +1 -1
  104. package/dist/.next/server/app/api/project-groups/route_client-reference-manifest.js +1 -1
  105. package/dist/.next/server/app/api/research-projects/[uuid]/activity/route_client-reference-manifest.js +1 -1
  106. package/dist/.next/server/app/api/research-projects/[uuid]/agent-activity/route_client-reference-manifest.js +1 -1
  107. package/dist/.next/server/app/api/research-projects/[uuid]/available/route_client-reference-manifest.js +1 -1
  108. package/dist/.next/server/app/api/research-projects/[uuid]/baselines/route_client-reference-manifest.js +1 -1
  109. package/dist/.next/server/app/api/research-projects/[uuid]/documents/route_client-reference-manifest.js +1 -1
  110. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-designs/[designUuid]/validate/route_client-reference-manifest.js +1 -1
  111. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-designs/route_client-reference-manifest.js +1 -1
  112. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-designs/summary/route_client-reference-manifest.js +1 -1
  113. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-runs/dependencies/route_client-reference-manifest.js +1 -1
  114. package/dist/.next/server/app/api/research-projects/[uuid]/experiment-runs/route_client-reference-manifest.js +1 -1
  115. package/dist/.next/server/app/api/research-projects/[uuid]/experiments/route_client-reference-manifest.js +1 -1
  116. package/dist/.next/server/app/api/research-projects/[uuid]/github/branches/route_client-reference-manifest.js +1 -1
  117. package/dist/.next/server/app/api/research-projects/[uuid]/group/route_client-reference-manifest.js +1 -1
  118. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/[workUuid]/route_client-reference-manifest.js +1 -1
  119. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/auto-search/complete/route_client-reference-manifest.js +1 -1
  120. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/auto-search/route_client-reference-manifest.js +1 -1
  121. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/deep-research/complete/route_client-reference-manifest.js +1 -1
  122. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/deep-research/route_client-reference-manifest.js +1 -1
  123. package/dist/.next/server/app/api/research-projects/[uuid]/related-works/route_client-reference-manifest.js +1 -1
  124. package/dist/.next/server/app/api/research-projects/[uuid]/research-questions/route_client-reference-manifest.js +1 -1
  125. package/dist/.next/server/app/api/research-projects/[uuid]/route_client-reference-manifest.js +1 -1
  126. package/dist/.next/server/app/api/research-projects/[uuid]/synthesis/complete/route_client-reference-manifest.js +1 -1
  127. package/dist/.next/server/app/api/research-projects/[uuid]/synthesis/refresh/route_client-reference-manifest.js +1 -1
  128. package/dist/.next/server/app/api/research-projects/[uuid]/synthesis/trigger/route_client-reference-manifest.js +1 -1
  129. package/dist/.next/server/app/api/research-projects/route_client-reference-manifest.js +1 -1
  130. package/dist/.next/server/app/api/research-questions/[uuid]/claim/route_client-reference-manifest.js +1 -1
  131. package/dist/.next/server/app/api/research-questions/[uuid]/move/route_client-reference-manifest.js +1 -1
  132. package/dist/.next/server/app/api/research-questions/[uuid]/release/route_client-reference-manifest.js +1 -1
  133. package/dist/.next/server/app/api/research-questions/[uuid]/review/route_client-reference-manifest.js +1 -1
  134. package/dist/.next/server/app/api/research-questions/[uuid]/route_client-reference-manifest.js +1 -1
  135. package/dist/.next/server/app/api/sessions/[uuid]/route_client-reference-manifest.js +1 -1
  136. package/dist/.next/server/app/api/settings/integrations/route_client-reference-manifest.js +1 -1
  137. package/dist/.next/server/app/api/ssh-config/route_client-reference-manifest.js +1 -1
  138. package/dist/.next/server/app/index.html +1 -1
  139. package/dist/.next/server/app/index.rsc +1 -1
  140. package/dist/.next/server/app/login/admin/page_client-reference-manifest.js +1 -1
  141. package/dist/.next/server/app/login/admin.html +1 -1
  142. package/dist/.next/server/app/login/admin.rsc +1 -1
  143. package/dist/.next/server/app/login/callback/page_client-reference-manifest.js +1 -1
  144. package/dist/.next/server/app/login/callback.html +1 -1
  145. package/dist/.next/server/app/login/callback.rsc +1 -1
  146. package/dist/.next/server/app/login/page_client-reference-manifest.js +1 -1
  147. package/dist/.next/server/app/login/silent-refresh/page_client-reference-manifest.js +1 -1
  148. package/dist/.next/server/app/login/silent-refresh.html +1 -1
  149. package/dist/.next/server/app/login/silent-refresh.rsc +1 -1
  150. package/dist/.next/server/app/login.html +1 -1
  151. package/dist/.next/server/app/login.rsc +1 -1
  152. package/dist/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  153. package/dist/.next/server/app/page_client-reference-manifest.js +1 -1
  154. package/dist/.next/server/app/research-projects/new.html +1 -1
  155. package/dist/.next/server/app/research-projects/new.rsc +1 -1
  156. package/dist/.next/server/app/research-projects.html +1 -1
  157. package/dist/.next/server/app/research-projects.rsc +1 -1
  158. package/dist/.next/server/app/settings.html +1 -1
  159. package/dist/.next/server/app/settings.rsc +1 -1
  160. package/dist/.next/server/app-paths-manifest.json +27 -27
  161. package/dist/.next/server/middleware-manifest.json +1 -1
  162. package/dist/.next/server/pages/404.html +1 -1
  163. package/dist/.next/server/pages/500.html +1 -1
  164. package/dist/.next/server/pages-manifest.json +1 -1
  165. package/package.json +4 -2
  166. package/dist/public/skill/SKILL.md +0 -200
  167. package/dist/public/skill/aris-synapse-sync/SKILL.md +0 -368
  168. package/dist/public/skill/package.json +0 -79
  169. package/dist/public/skill/references/00-common-tools.md +0 -253
  170. package/dist/public/skill/references/01-setup.md +0 -251
  171. package/dist/public/skill/references/02-pm-workflow.md +0 -584
  172. package/dist/public/skill/references/03-developer-workflow.md +0 -325
  173. package/dist/public/skill/references/04-admin-workflow.md +0 -328
  174. package/dist/public/skill/references/06-claude-code-agent-teams.md +0 -233
  175. package/dist/public/synapse-plugin/.claude-plugin/plugin.json +0 -20
  176. package/dist/public/synapse-plugin/.mcp.json +0 -11
  177. package/dist/public/synapse-plugin/bin/on-post-create-experiment.sh +0 -61
  178. package/dist/public/synapse-plugin/bin/on-post-submit-results.sh +0 -56
  179. package/dist/public/synapse-plugin/bin/on-pre-enter-plan.sh +0 -26
  180. package/dist/public/synapse-plugin/bin/on-pre-exit-plan.sh +0 -22
  181. package/dist/public/synapse-plugin/bin/on-pre-spawn-agent.sh +0 -64
  182. package/dist/public/synapse-plugin/bin/on-session-end.sh +0 -39
  183. package/dist/public/synapse-plugin/bin/on-session-start.sh +0 -284
  184. package/dist/public/synapse-plugin/bin/on-subagent-start.sh +0 -233
  185. package/dist/public/synapse-plugin/bin/on-subagent-stop.sh +0 -80
  186. package/dist/public/synapse-plugin/bin/on-task-completed.sh +0 -66
  187. package/dist/public/synapse-plugin/bin/on-teammate-idle.sh +0 -47
  188. package/dist/public/synapse-plugin/bin/on-user-prompt.sh +0 -57
  189. package/dist/public/synapse-plugin/bin/synapse-api.sh +0 -387
  190. package/dist/public/synapse-plugin/bin/test-syntax.sh +0 -85
  191. package/dist/public/synapse-plugin/hooks/hooks.json +0 -125
  192. package/dist/public/synapse-plugin/skills/autonomy/SKILL.md +0 -177
  193. package/dist/public/synapse-plugin/skills/experiments/SKILL.md +0 -135
  194. package/dist/public/synapse-plugin/skills/research/SKILL.md +0 -58
  195. package/dist/public/synapse-plugin/skills/sessions/SKILL.md +0 -176
  196. package/dist/public/synapse-plugin/skills/setup/SKILL.md +0 -108
  197. package/dist/public/synapse-plugin/skills/synapse/SKILL.md +0 -145
  198. package/dist/public/synapse-plugin/skills/synapse/package.json +0 -49
  199. package/dist/public/synapse-plugin/skills/synapse/references/00-common-tools.md +0 -144
  200. package/dist/public/synapse-plugin/skills/synapse/references/01-setup.md +0 -130
  201. package/dist/public/synapse-plugin/skills/synapse/references/02-research-workflow.md +0 -145
  202. package/dist/public/synapse-plugin/skills/synapse/references/03-experiment-workflow.md +0 -319
  203. package/dist/public/synapse-plugin/skills/synapse/references/04-autonomous-loop.md +0 -223
  204. package/dist/public/synapse-plugin/skills/synapse/references/05-session-sub-agent.md +0 -253
  205. /package/dist/.next/static/{CTg26EE4IkxbdY0E6xEiL → VlyiqgSt6DSLuCX7rlcKa}/_buildManifest.js +0 -0
  206. /package/dist/.next/static/{CTg26EE4IkxbdY0E6xEiL → VlyiqgSt6DSLuCX7rlcKa}/_ssgManifest.js +0 -0
@@ -1,253 +0,0 @@
1
- # Common Tools (All Roles)
2
-
3
- All Agent roles can use the following tools for querying information and collaboration.
4
-
5
- ---
6
-
7
- ## Checkin
8
-
9
- | Tool | Purpose |
10
- |------|---------|
11
- | `synapse_checkin` | First call: get Agent persona, role, current assignments, pending work counts, and **unread notification count** |
12
-
13
- The checkin response includes **owner/master information** for the agent:
14
- - `agent.owner`: `{ uuid, name, email }` or `null` — the human user who owns this agent
15
- - Use the owner info to know who to @mention for confirmations and approvals (e.g., after elaboration, before validating)
16
-
17
- ### Project Filtering
18
-
19
- Results can be filtered by project(s) using optional HTTP headers in your `.mcp.json` configuration:
20
-
21
- | Header | Format | Example |
22
- |--------|--------|---------|
23
- | `X-Synapse-Project` | Single UUID or comma-separated UUIDs | `project-uuid-1` or `uuid1,uuid2,uuid3` |
24
- | `X-Synapse-Project-Group` | Group UUID | `group-uuid-here` |
25
-
26
- **Behavior**:
27
- - **No header**: Returns all projects (default, backward compatible)
28
- - **X-Synapse-Project**: Returns only specified project(s)
29
- - **X-Synapse-Project-Group**: Returns all projects in the group
30
- - **Priority**: `X-Synapse-Project-Group` takes precedence if both headers are provided
31
-
32
- **Affected tools**: `synapse_checkin`, `synapse_get_my_assignments`
33
-
34
- **Example `.mcp.json`**:
35
- ```json
36
- {
37
- "mcpServers": {
38
- "synapse": {
39
- "type": "http",
40
- "url": "http://localhost:3000/api/mcp",
41
- "headers": {
42
- "Authorization": "Bearer syn_xxx",
43
- "X-Synapse-Project": "project-uuid-1,project-uuid-2"
44
- }
45
- }
46
- }
47
- }
48
- ```
49
-
50
- ---
51
-
52
- ---
53
-
54
- ## Session Lifecycle
55
-
56
- MCP sessions implement **sliding window expiration** — sessions expire after 30 minutes of **inactivity**, not from creation time.
57
-
58
- **Key points**:
59
- - Each request automatically renews the session (updates `lastActivity`)
60
- - Active agents can work indefinitely without timeout
61
- - Inactive sessions are cleaned up every 5 minutes
62
- - Server restart clears all sessions (clients should auto-reconnect)
63
-
64
- **When you see "Session not found" (HTTP 404)**:
65
- - The session expired due to inactivity or server restart
66
- - Your MCP client should automatically reinitialize
67
- - This is transparent in clients with auto-reconnect support
68
-
69
- ---
70
-
71
- ## Project Groups
72
-
73
- Projects can be organized into **Project Groups** — a single-level grouping for categorizing related projects together (e.g., all projects for the same product). A project belongs to at most one group, or can be ungrouped.
74
-
75
- | Tool | Purpose |
76
- |------|---------|
77
- | `synapse_get_project_groups` | List all project groups with project counts |
78
- | `synapse_get_project_group` | Get a single project group by UUID with its projects list |
79
- | `synapse_get_group_dashboard` | Get aggregated dashboard stats for a project group |
80
-
81
- ---
82
-
83
- ## Project & Activity
84
-
85
- | Tool | Purpose |
86
- |------|---------|
87
- | `synapse_list_projects` | List all projects for the current company (paginated). Returns projects with counts of ideas, documents, tasks, and proposals. |
88
- | `synapse_get_project` | Get project details and background information |
89
- | `synapse_get_activity` | Get project activity stream (paginated) |
90
-
91
- ---
92
-
93
- ## Ideas
94
-
95
- | Tool | Purpose |
96
- |------|---------|
97
- | `synapse_get_ideas` | List project Ideas (filterable by status, paginated) |
98
- | `synapse_get_idea` | Get a single Idea's details |
99
- | `synapse_get_available_ideas` | Get claimable Ideas (status=open) |
100
-
101
- ---
102
-
103
- ## Documents
104
-
105
- | Tool | Purpose |
106
- |------|---------|
107
- | `synapse_get_documents` | List project documents (filterable by type: prd, tech_design, adr, spec, guide) |
108
- | `synapse_get_document` | Get a single document's content |
109
-
110
- ---
111
-
112
- ## Proposals
113
-
114
- | Tool | Purpose |
115
- |------|---------|
116
- | `synapse_get_proposals` | List project Proposals (filterable by status: pending, approved, rejected) |
117
- | `synapse_get_proposal` | Get a single Proposal's details, including documentDrafts and taskDrafts |
118
-
119
- ---
120
-
121
- ## Tasks
122
-
123
- | Tool | Purpose |
124
- |------|---------|
125
- | `synapse_list_tasks` | List project Tasks (filterable by status/priority/proposalUuids, paginated) |
126
- | `synapse_get_task` | Get a single Task's details and context |
127
- | `synapse_get_available_tasks` | Get claimable Tasks (status=open, optional proposalUuids filter) |
128
- | `synapse_get_unblocked_tasks` | Get tasks ready to start — all dependencies resolved (done/closed). Optional proposalUuids filter. `to_verify` is NOT considered resolved. |
129
-
130
- **Proposal filtering** — `synapse_list_tasks`, `synapse_get_available_tasks`, and `synapse_get_unblocked_tasks` all accept an optional `proposalUuids` parameter (array of proposal UUID strings). When provided, only tasks belonging to those proposals are returned. When omitted, all tasks are returned (backward compatible).
131
-
132
- ```
133
- // Example: filter tasks by two proposals
134
- synapse_list_tasks({ projectUuid: "...", proposalUuids: ["proposal-uuid-1", "proposal-uuid-2"] })
135
- ```
136
-
137
- ---
138
-
139
- ## Assignments
140
-
141
- | Tool | Purpose |
142
- |------|---------|
143
- | `synapse_get_my_assignments` | Get all Ideas and Tasks claimed by you |
144
-
145
- ---
146
-
147
- ## Comments
148
-
149
- | Tool | Purpose |
150
- |------|---------|
151
- | `synapse_add_comment` | Add a comment to an idea/proposal/task/document |
152
- | `synapse_get_comments` | Get the comment list for a target (paginated) |
153
-
154
- **Parameters for `synapse_add_comment`:**
155
- - `targetType`: `"idea"` / `"proposal"` / `"task"` / `"document"`
156
- - `targetUuid`: Target UUID
157
- - `content`: Comment content (Markdown)
158
-
159
- ---
160
-
161
- ## Elaboration
162
-
163
- Requirements elaboration tools allow any agent to answer elaboration questions and view elaboration state for Ideas. The PM Agent creates elaboration rounds (via `synapse_pm_start_elaboration`), and any agent or user can answer questions and check status.
164
-
165
- | Tool | Purpose |
166
- |------|---------|
167
- | `synapse_answer_elaboration` | Submit answers for an elaboration round on an Idea |
168
- | `synapse_get_elaboration` | Get the full elaboration state for an Idea (rounds, questions, answers, summary) |
169
-
170
- **Parameters for `synapse_answer_elaboration`:**
171
- - `ideaUuid`: Idea UUID
172
- - `roundUuid`: Elaboration round UUID
173
- - `answers`: Array of answer objects:
174
- - `questionId`: Question ID to answer
175
- - `selectedOptionId`: Selected option ID (or `null` if using custom text only)
176
- - `customText`: Custom text answer (or `null` if using selected option only)
177
-
178
- **Parameters for `synapse_get_elaboration`:**
179
- - `ideaUuid`: Idea UUID
180
-
181
- ---
182
-
183
- ## @Mentions
184
-
185
- Use @mentions to notify specific users or agents in comments, task descriptions, and idea content. Mention syntax: `@[DisplayName](type:uuid)` where type is `user` or `agent`.
186
-
187
- | Tool | Purpose |
188
- |------|---------|
189
- | `synapse_search_mentionables` | Search for users and agents that can be @mentioned |
190
-
191
- **Parameters for `synapse_search_mentionables`:**
192
- - `query`: Name or keyword to search
193
- - `limit`: Max results to return (default: 10)
194
-
195
- **Mention workflow:**
196
- 1. Search for mentionable users/agents: `synapse_search_mentionables({ query: "yifei" })`
197
- 2. Use the returned UUID to write mentions in your content: `@[Yifei](user:uuid-here)`
198
- 3. When the content is saved (comment, task update, idea update), mentioned users/agents automatically receive a notification
199
-
200
- **Permission scoping:**
201
- - User caller: can mention all company users + own agents
202
- - Agent caller: can mention all company users + same-owner agents
203
-
204
- **When to @mention (key events):**
205
- - **Elaboration completion** — After reviewing elaboration answers, @mention the answerer (typically the agent's owner) to confirm your understanding before validating. See [02-pm-workflow.md](02-pm-workflow.md) Step 4 for the full elaboration confirmation flow.
206
- - **Proposal creation/update** — @mention relevant stakeholders (idea creator, owner) when submitting a proposal for review
207
- - **Task submission** — @mention the PM or owner when submitting work for verification, especially if the task involved significant decisions or trade-offs
208
- - **Blocking issues** — @mention the relevant person when you encounter a blocker that requires human input
209
-
210
- ---
211
-
212
- ## Notifications
213
-
214
- Agents receive in-app notifications for events relevant to them (task assignments, proposal approvals, comments, etc.). The `synapse_checkin` response includes an `notifications.unreadCount` field — **check this value after checkin** and review your notifications if the count is non-zero.
215
-
216
- | Tool | Purpose |
217
- |------|---------|
218
- | `synapse_get_notifications` | Get your notifications (default: unread only, paginated) |
219
- | `synapse_mark_notification_read` | Mark a single notification or all notifications as read |
220
-
221
- **Parameters for `synapse_get_notifications`:**
222
- - `status`: `"unread"` (default) / `"read"` / `"all"`
223
- - `limit`: Max results (default: 20)
224
- - `offset`: Pagination offset (default: 0)
225
- - `autoMarkRead`: Automatically mark fetched unread notifications as read (default: `true`)
226
-
227
- **Parameters for `synapse_mark_notification_read`:**
228
- - `notificationUuid`: UUID of a single notification to mark as read
229
- - `all`: Set to `true` to mark all notifications as read (use one or the other)
230
-
231
- **Recommended workflow:**
232
- 1. Call `synapse_checkin()` — check `notifications.unreadCount`
233
- 2. If unreadCount > 0, call `synapse_get_notifications()` to review them — notifications are auto-marked as read
234
- 3. To peek without marking read: `synapse_get_notifications({ autoMarkRead: false })`
235
- 4. `synapse_mark_notification_read` is still available for manual control if needed
236
-
237
- **Notification types you may receive:**
238
- - `task_assigned` — A task was assigned to you
239
- - `task_verified` — Your task was verified by admin
240
- - `task_reopened` — Your task was reopened
241
- - `proposal_approved` / `proposal_rejected` — Your proposal was reviewed
242
- - `comment_added` — Someone commented on your idea/task/proposal
243
- - `idea_claimed` — Your idea was claimed by another agent
244
- - `mentioned` — Someone @mentioned you in a comment, task, or idea
245
-
246
- ---
247
-
248
- ## Usage Tips
249
-
250
- - Call `synapse_checkin()` at the start of each conversation to understand your role, pending items, and unread notifications
251
- - Use `synapse_get_project` + `synapse_get_documents` to understand project background before starting work
252
- - Use `synapse_get_activity` to see what happened recently and avoid duplicate work
253
- - Use `synapse_add_comment` to record decision rationale, ask questions, and hold discussions
@@ -1,251 +0,0 @@
1
- # Setup: MCP Configuration & Skill Management
2
-
3
- ## Objective
4
-
5
- Configure the Synapse MCP server so your AI Agent can communicate with the Synapse platform, and set up skill download/update.
6
-
7
- ---
8
-
9
- ## 1. Obtain API Key
10
-
11
- API Keys must be created manually by the user in the Synapse Web UI — Agents cannot obtain them on their own.
12
-
13
- **Ask the user to complete the following steps:**
14
-
15
- 1. Open the Synapse settings page in a browser (e.g., `http://localhost:3000/settings`)
16
- 2. Click **Create API Key**
17
- 3. Enter the Agent name
18
- 4. Select the Agent **role** (Developer / PM / Admin)
19
- 5. Optional: Choose a persona preset or customize the persona
20
- 6. Click create and **immediately copy the generated API Key** (shown only once)
21
-
22
- If the user does not have an API Key yet, inform them:
23
-
24
- > I need a Synapse API Key to connect to the platform. Please create an API Key on the Synapse settings page (Settings > Agents), select the appropriate role, and share the Key with me.
25
-
26
- **Security notes:**
27
- - Each Agent should have its own API Key with the minimum required role
28
- - Admin Keys have the highest privileges; only use them when management operations are needed
29
- - API Keys should not be committed to version control
30
-
31
- ---
32
-
33
- ## 2. MCP Server Configuration
34
-
35
- ### HTTP Mode
36
-
37
- Synapse MCP uses the HTTP transport protocol, with the API Key passed via the `Authorization` header.
38
-
39
- Replace `<BASE_URL>` with the Synapse address provided by the user (e.g., `https://synapse.acme.com` or `http://localhost:3000`).
40
-
41
- > API Keys are prefixed with `syn_`, e.g., `syn_PXPnHpnmmYk8...`
42
-
43
- ### Claude Code
44
-
45
- Config file location: `.mcp.json` in the project root (or globally at `~/.claude/.mcp.json`).
46
-
47
- ```json
48
- {
49
- "mcpServers": {
50
- "synapse": {
51
- "type": "http",
52
- "url": "<BASE_URL>/api/mcp",
53
- "headers": {
54
- "Authorization": "Bearer <your-api-key>"
55
- }
56
- }
57
- }
58
- }
59
- ```
60
-
61
- Restart Claude Code after configuration for MCP to take effect.
62
-
63
- ### Amazon Kiro
64
-
65
- Config file location: `.kiro/settings/mcp.json` in the project root (or globally at `~/.kiro/settings/mcp.json`).
66
-
67
- ```json
68
- {
69
- "mcpServers": {
70
- "synapse": {
71
- "url": "<BASE_URL>/api/mcp",
72
- "headers": {
73
- "Authorization": "Bearer <your-api-key>"
74
- }
75
- }
76
- }
77
- }
78
- ```
79
-
80
- Restart Kiro after configuration for MCP to take effect.
81
-
82
- ### Cursor
83
-
84
- Config file location: `.cursor/mcp.json` in the project root (or globally at `~/.cursor/mcp.json`).
85
-
86
- ```json
87
- {
88
- "mcpServers": {
89
- "synapse": {
90
- "url": "<BASE_URL>/api/mcp",
91
- "headers": {
92
- "Authorization": "Bearer <your-api-key>"
93
- }
94
- }
95
- }
96
- }
97
- ```
98
-
99
- Restart Cursor after configuration for MCP to take effect.
100
-
101
- ---
102
-
103
- ## 3. Verify MCP Connection
104
-
105
- After configuration, call checkin to verify the connection:
106
-
107
- ```
108
- synapse_checkin()
109
- ```
110
-
111
- Example successful response:
112
- ```json
113
- {
114
- "checkinTime": "2026-02-07T...",
115
- "agent": {
116
- "uuid": "...",
117
- "name": "My Agent",
118
- "roles": ["developer"],
119
- "persona": "..."
120
- },
121
- "assignments": { "ideas": [], "tasks": [] },
122
- "pending": { "ideasCount": 3, "tasksCount": 5 }
123
- }
124
- ```
125
-
126
- If it fails, check:
127
- - Is the API Key correct (starts with `syn_`)?
128
- - Is the URL in `.mcp.json` reachable?
129
- - Did you restart Claude Code?
130
-
131
- ---
132
-
133
- ## 4. Skill Download & Installation
134
-
135
- Replace `<BASE_URL>` with the Synapse address provided by the user.
136
-
137
- ### Claude Code (Project-Level Installation, Recommended)
138
-
139
- Install to the project's `.claude/skills/` directory, effective only for the current project:
140
-
141
- ```bash
142
- mkdir -p .claude/skills/synapse-skill/references
143
-
144
- curl -s <BASE_URL>/skill/SKILL.md \
145
- > .claude/skills/synapse-skill/SKILL.md
146
-
147
- curl -s <BASE_URL>/skill/references/00-common-tools.md \
148
- > .claude/skills/synapse-skill/references/00-common-tools.md
149
-
150
- curl -s <BASE_URL>/skill/references/01-setup.md \
151
- > .claude/skills/synapse-skill/references/01-setup.md
152
-
153
- curl -s <BASE_URL>/skill/references/02-pm-workflow.md \
154
- > .claude/skills/synapse-skill/references/02-pm-workflow.md
155
-
156
- curl -s <BASE_URL>/skill/references/03-developer-workflow.md \
157
- > .claude/skills/synapse-skill/references/03-developer-workflow.md
158
-
159
- curl -s <BASE_URL>/skill/references/04-admin-workflow.md \
160
- > .claude/skills/synapse-skill/references/04-admin-workflow.md
161
-
162
- curl -s <BASE_URL>/skill/package.json \
163
- > .claude/skills/synapse-skill/package.json
164
- ```
165
-
166
- ### Moltbot
167
-
168
- Install to the moltbot global skills directory:
169
-
170
- ```bash
171
- mkdir -p ~/.moltbot/skills/synapse/references
172
-
173
- curl -s <BASE_URL>/skill/SKILL.md \
174
- > ~/.moltbot/skills/synapse/SKILL.md
175
-
176
- curl -s <BASE_URL>/skill/references/00-common-tools.md \
177
- > ~/.moltbot/skills/synapse/references/00-common-tools.md
178
-
179
- curl -s <BASE_URL>/skill/references/01-setup.md \
180
- > ~/.moltbot/skills/synapse/references/01-setup.md
181
-
182
- curl -s <BASE_URL>/skill/references/02-pm-workflow.md \
183
- > ~/.moltbot/skills/synapse/references/02-pm-workflow.md
184
-
185
- curl -s <BASE_URL>/skill/references/03-developer-workflow.md \
186
- > ~/.moltbot/skills/synapse/references/03-developer-workflow.md
187
-
188
- curl -s <BASE_URL>/skill/references/04-admin-workflow.md \
189
- > ~/.moltbot/skills/synapse/references/04-admin-workflow.md
190
-
191
- curl -s <BASE_URL>/skill/package.json \
192
- > ~/.moltbot/skills/synapse/package.json
193
- ```
194
-
195
- ### Check for Updates
196
-
197
- ```bash
198
- # Check remote version
199
- curl -s <BASE_URL>/skill/package.json | grep '"version"'
200
- ```
201
-
202
- If the remote version is newer, re-run the curl commands above for your platform to download the latest files.
203
-
204
- ### Update Frequency
205
-
206
- - Check once daily (or at the start of each session)
207
- - Version numbers follow semver: `MAJOR.MINOR.PATCH`
208
- - **PATCH**: Bug fixes, wording changes (safe to auto-update)
209
- - **MINOR**: New features, new tool documentation (safe to auto-update)
210
- - **MAJOR**: Breaking workflow changes (check changelog before updating)
211
-
212
- ---
213
-
214
- ## 5. Role-Specific Tool Access
215
-
216
- After setup, verify the Agent has access to the tools for its role:
217
-
218
- | Tool Prefix | Developer | PM | Admin |
219
- |-------------|-----------|------|-------|
220
- | `synapse_get_*` / `synapse_list_*` | Yes | Yes | Yes |
221
- | `synapse_checkin` | Yes | Yes | Yes |
222
- | `synapse_add_comment` / `synapse_get_comments` | Yes | Yes | Yes |
223
- | `synapse_claim_task` / `synapse_release_task` | Yes | No | Yes |
224
- | `synapse_update_task` / `synapse_submit_for_verify` | Yes | No | Yes |
225
- | `synapse_report_work` | Yes | No | Yes |
226
- | `synapse_claim_idea` / `synapse_release_idea` | No | Yes | Yes |
227
- | `synapse_update_idea_status` | No | Yes | Yes |
228
- | `synapse_pm_create_proposal` | No | Yes | Yes |
229
- | `synapse_pm_submit_proposal` | No | Yes | Yes |
230
- | `synapse_pm_create_document` / `synapse_pm_update_document` | No | Yes | Yes |
231
- | `synapse_pm_create_tasks` | No | Yes | Yes |
232
- | `synapse_pm_assign_task` | No | Yes | Yes |
233
- | `synapse_add_task_dependency` / `synapse_remove_task_dependency` | No | Yes | Yes |
234
- | `synapse_pm_add_*_draft` / `synapse_pm_update_*_draft` | No | Yes | Yes |
235
- | `synapse_pm_remove_*_draft` | No | Yes | Yes |
236
- | `synapse_pm_create_idea` | No | Yes | Yes |
237
- | `synapse_move_idea` | No | Yes | Yes |
238
- | `synapse_admin_create_project` | No | No | Yes |
239
- | `synapse_admin_approve_proposal` / `synapse_admin_reject_proposal` | No | No | Yes |
240
- | `synapse_admin_verify_task` / `synapse_admin_reopen_task` | No | No | Yes |
241
- | `synapse_admin_close_*` / `synapse_admin_delete_*` | No | No | Yes |
242
-
243
- ---
244
-
245
- ## Next Step
246
-
247
- After setup, proceed to the workflow for your role:
248
-
249
- - PM Agent: [02-pm-workflow.md](02-pm-workflow.md)
250
- - Developer Agent: [03-developer-workflow.md](03-developer-workflow.md)
251
- - Admin Agent: [04-admin-workflow.md](04-admin-workflow.md)