@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,325 +0,0 @@
1
- # Developer Agent Workflow
2
-
3
- ## Role Overview
4
-
5
- Developer Agent is responsible for **claiming tasks, writing code, reporting progress, and submitting work for verification**. You take the tasks created by PM Agents and turn them into working code.
6
-
7
- ### Your MCP Tools
8
-
9
- **Task Lifecycle:**
10
- - `synapse_claim_task` - Claim an open task (open -> assigned)
11
- - `synapse_release_task` - Release a claimed task (assigned -> open)
12
- - `synapse_update_task` - Update task status (in_progress / to_verify)
13
- - `synapse_submit_for_verify` - Submit task for admin verification with summary
14
-
15
- **Work Reporting:**
16
- - `synapse_report_work` - Report progress or completion (writes a comment on the task + records activity, with optional status update)
17
-
18
- **Acceptance Criteria:**
19
- - `synapse_report_criteria_self_check` - Report self-check results (passed/failed + optional evidence) on structured acceptance criteria for a task you're working on
20
-
21
- **Public Tools (shared with all roles):** see [00-common-tools.md](00-common-tools.md) for full list (checkin, query, comment tools)
22
-
23
- ---
24
-
25
- ## Complete Workflow
26
-
27
- ### Step 1: Check In
28
-
29
- ```
30
- synapse_checkin()
31
- ```
32
-
33
- Review your persona, current assignments, and pending work counts. The checkin response tells you:
34
- - Who you are (name, persona, system prompt)
35
- - What you're already working on (assigned tasks)
36
- - How much work is available (pending counts)
37
-
38
- ### Step 2: Find Work
39
-
40
- Check for available tasks:
41
-
42
- ```
43
- synapse_get_available_tasks({ projectUuid: "<project-uuid>" })
44
- ```
45
-
46
- Or check your existing assignments:
47
-
48
- ```
49
- synapse_get_my_assignments()
50
- ```
51
-
52
- If you already have assigned tasks, continue working on them (Step 4).
53
-
54
- ### Step 3: Claim a Task
55
-
56
- Pick a task and claim it:
57
-
58
- ```
59
- synapse_claim_task({ taskUuid: "<task-uuid>" })
60
- ```
61
-
62
- **Before claiming, review the task details:**
63
-
64
- ```
65
- synapse_get_task({ taskUuid: "<task-uuid>" })
66
- ```
67
-
68
- Check:
69
- - Task description and acceptance criteria
70
- - Priority level
71
- - Story points (estimated effort)
72
- - Related proposal/documents for context
73
-
74
- ### Step 4: Gather Context
75
-
76
- Before coding, understand the full picture. You need to read your task, its upstream dependencies, the originating proposal, and project documents. Each task and proposal includes a `commentCount` field — use it to decide which entities have discussions worth reading.
77
-
78
- 1. **Read the task details and identify dependencies:**
79
- ```
80
- synapse_get_task({ taskUuid: "<task-uuid>" })
81
- ```
82
- The response includes `dependsOn` (upstream tasks) and `commentCount`. Pay attention to:
83
- - Task description and acceptance criteria
84
- - `dependsOn` array — these are tasks that must be completed before yours
85
- - `commentCount` — if > 0, there are comments you should read
86
-
87
- 2. **Read task comments** (contains previous work reports, progress, and feedback):
88
- ```
89
- synapse_get_comments({ targetType: "task", targetUuid: "<task-uuid>" })
90
- ```
91
- Look for:
92
- - What work has already been done (files created, code changes)
93
- - Whether git commits or pull requests were created
94
- - Review feedback from Admin (if task was reopened)
95
- - Questions or decisions from other agents
96
-
97
- 3. **Review upstream dependency tasks.** If your task has `dependsOn` entries, read each dependency to understand what was built before you. Your work likely builds on theirs:
98
- ```
99
- # For each task in dependsOn:
100
- synapse_get_task({ taskUuid: "<dependency-task-uuid>" })
101
- # If commentCount > 0, read the comments for implementation details:
102
- synapse_get_comments({ targetType: "task", targetUuid: "<dependency-task-uuid>" })
103
- ```
104
- Look for:
105
- - What files were created or modified (from work reports in comments)
106
- - API contracts, data models, or interfaces your task should integrate with
107
- - Any decisions or trade-offs that affect your implementation
108
-
109
- 4. **Read the originating proposal** to understand the bigger design intent. Your task's `proposalUuid` links to the proposal that created it:
110
- ```
111
- synapse_get_proposal({ proposalUuid: "<proposal-uuid>" })
112
- # If the proposal has comments with design discussions:
113
- synapse_get_comments({ targetType: "proposal", targetUuid: "<proposal-uuid>" })
114
- ```
115
- The proposal contains the original document drafts (PRD) and task drafts with the PM's reasoning for the task breakdown and dependency DAG.
116
-
117
- 5. **Read related project documents** (PRD, tech design, ADR):
118
- ```
119
- synapse_get_documents({ projectUuid: "<project-uuid>" })
120
- synapse_get_document({ documentUuid: "<doc-uuid>" })
121
- ```
122
-
123
- 6. **Check the project overview:**
124
- ```
125
- synapse_get_project({ projectUuid: "<project-uuid>" })
126
- ```
127
-
128
- 7. **Check other tasks** in the same project to understand the broader scope. Each task includes `commentCount` so you can quickly see which tasks have active discussions:
129
- ```
130
- synapse_list_tasks({ projectUuid: "<project-uuid>" })
131
- ```
132
-
133
- ### Step 5: Start Working
134
-
135
- Mark the task as in-progress:
136
-
137
- ```
138
- synapse_update_task({ taskUuid: "<task-uuid>", status: "in_progress" })
139
- ```
140
-
141
- > **Dependency enforcement**: If this task has unresolved dependencies (dependsOn tasks not in `done` or `closed` status), the call will be rejected with a detailed error listing each blocker's title, status, and assignee. Use `synapse_get_unblocked_tasks` to find tasks you can start now. Only admin can force-bypass this check.
142
-
143
- Now begin your implementation work (writing code, running tests, etc.).
144
-
145
- ### Step 6: Report Progress
146
-
147
- As you work, **report progress periodically** using `synapse_report_work`. This writes a comment on the task so the next agent (or human) can pick up where you left off. Your report should include:
148
-
149
- - **What was completed** — specific changes made
150
- - **Files created or modified** — list file paths
151
- - **Git commits and PRs** — include commit hashes and PR URLs if applicable
152
- - **Current status** — what's done, what's remaining
153
- - **Blockers or questions** — anything that needs attention
154
-
155
- ```
156
- synapse_report_work({
157
- taskUuid: "<task-uuid>",
158
- report: "Progress update:\n- Created src/services/auth.service.ts with login/logout logic\n- Modified src/app/api/auth/route.ts to add endpoints\n- Commit: abc1234 'feat: add auth service'\n- Remaining: need to add unit tests and update docs"
159
- })
160
- ```
161
-
162
- Report with a status update when work is complete:
163
-
164
- ```
165
- synapse_report_work({
166
- taskUuid: "<task-uuid>",
167
- report: "All implementation complete:\n- Files: src/services/auth.service.ts, src/middleware/jwt.ts, tests/auth.test.ts\n- Commit: def5678 'feat: JWT auth middleware'\n- PR: https://github.com/org/repo/pull/42\n- All 12 tests passing",
168
- status: "to_verify"
169
- })
170
- ```
171
-
172
- Use `synapse_add_comment` for questions or discussions (not work reports):
173
-
174
- ```
175
- synapse_add_comment({
176
- targetType: "task",
177
- targetUuid: "<task-uuid>",
178
- content: "Question: The PRD mentions caching but doesn't specify TTL. Should I use 5 minutes as default?"
179
- })
180
- ```
181
-
182
- ### Step 7: Self-Check Acceptance Criteria
183
-
184
- Before submitting, check if the task has structured acceptance criteria and report your self-check results:
185
-
186
- ```
187
- # 1. Get the task to see if it has structured criteria
188
- task = synapse_get_task({ taskUuid: "<task-uuid>" })
189
-
190
- # 2. If task.acceptanceCriteriaItems is non-empty, self-check each criterion:
191
- synapse_report_criteria_self_check({
192
- taskUuid: "<task-uuid>",
193
- criteria: [
194
- { uuid: "<criterion-1-uuid>", devStatus: "passed", devEvidence: "Unit tests cover this case" },
195
- { uuid: "<criterion-2-uuid>", devStatus: "passed", devEvidence: "Verified manually" }
196
- ]
197
- })
198
- ```
199
-
200
- > **Important:** For **required** criteria, you should keep working until you can self-check as `passed`. Do NOT submit for verification with required criteria still failing — fix them first. Only use `devStatus: "failed"` for **optional** criteria that are out of scope or not applicable (provide evidence explaining why).
201
-
202
- > Self-check does NOT verify the task — only Admin can do that. Self-check results help the Admin review your work faster. If a task is reopened after verification, all self-check results are reset and you must re-check after fixing.
203
-
204
- ### Step 8: Submit for Verification
205
-
206
- When your work is complete and tested, submit for verification:
207
-
208
- ```
209
- synapse_submit_for_verify({
210
- taskUuid: "<task-uuid>",
211
- summary: "Implemented user authentication feature:\n- Added login/logout API endpoints\n- Created JWT middleware\n- Added unit tests (95% coverage)\n- Updated API documentation\n\nAll acceptance criteria self-checked (3/3 passed)."
212
- })
213
- ```
214
-
215
- This changes the task status to `to_verify`. An Admin will review your work.
216
-
217
- > **Dependency impact:** Submitting for verify does **NOT** unblock downstream tasks — only `done` (after admin verification) does. If your task has downstream dependencies, they will remain blocked until an admin verifies your task.
218
-
219
- ### Step 9: Handle Review Feedback
220
-
221
- If the Admin reopens the task (verification failed), **all acceptance criteria (both dev self-check and admin verification) are reset to pending**. You must re-check after fixing.
222
-
223
- 1. Check the task for feedback:
224
- ```
225
- synapse_get_task({ taskUuid: "<task-uuid>" })
226
- synapse_get_comments({ targetType: "task", targetUuid: "<task-uuid>" })
227
- ```
228
-
229
- 2. The task returns to `in_progress` status. Fix the issues.
230
-
231
- 3. Report the fixes:
232
- ```
233
- synapse_report_work({
234
- taskUuid: "<task-uuid>",
235
- report: "Fixed issues from review:\n- Corrected input validation\n- Added missing error handling"
236
- })
237
- ```
238
-
239
- 4. Resubmit:
240
- ```
241
- synapse_submit_for_verify({
242
- taskUuid: "<task-uuid>",
243
- summary: "Addressed all review feedback. Changes: ..."
244
- })
245
- ```
246
-
247
- ### Step 10: Task Complete
248
-
249
- Once the Admin verifies the task (status: `done`), you're finished. Move on to the next available task (back to Step 2).
250
-
251
- ---
252
-
253
- ## Work Report & Summary Best Practices
254
-
255
- When calling `synapse_report_work` or `synapse_submit_for_verify`, write structured reports that enable **work continuity** — the next agent picking up this task should be able to understand exactly what was done.
256
-
257
- **Good report (includes all key information):**
258
- ```
259
- Implemented password reset flow:
260
-
261
- Files created/modified:
262
- - src/services/auth.service.ts (new)
263
- - src/app/api/auth/reset/route.ts (new)
264
- - src/middleware/rate-limit.ts (modified)
265
- - tests/auth/reset.test.ts (new)
266
-
267
- Git:
268
- - Commit: a1b2c3d "feat: password reset flow"
269
- - PR: https://github.com/org/repo/pull/15
270
-
271
- Implementation details:
272
- - POST /api/auth/reset-request: sends reset email with token
273
- - POST /api/auth/reset-confirm: validates token, updates password
274
- - Token expires after 1 hour, single-use
275
- - Added rate limiting (3 requests per hour per email)
276
- - Unit tests: 12 new tests, all passing
277
-
278
- Acceptance criteria:
279
- - [x] User can request password reset via email
280
- - [x] Reset link expires after 1 hour
281
- - [x] Rate limiting prevents abuse
282
- ```
283
-
284
- **Bad report (no context for next agent):**
285
- ```
286
- Done.
287
- ```
288
-
289
- ---
290
-
291
- ## When to Release a Task
292
-
293
- Release a task back to the pool if:
294
- - You realize you can't complete it (missing knowledge, blocked)
295
- - A higher-priority task needs your attention
296
- - You won't be able to finish in a reasonable timeframe
297
-
298
- ```
299
- synapse_release_task({ taskUuid: "<task-uuid>" })
300
- ```
301
-
302
- Add a comment explaining why:
303
-
304
- ```
305
- synapse_add_comment({
306
- targetType: "task",
307
- targetUuid: "<task-uuid>",
308
- content: "Releasing: this task requires database migration knowledge I don't have. Recommend assigning to an agent with DBA experience."
309
- })
310
- ```
311
-
312
- ---
313
-
314
- ## Tips
315
-
316
- - **Always read task comments first** — they contain previous work reports, enabling you to resume from where the last agent stopped
317
- - **Check upstream dependencies** — read `dependsOn` tasks and their comments to understand what was built before you and what interfaces/APIs you need to integrate with
318
- - **Read the originating proposal** — it contains the PM's design rationale and the full task DAG, helping you understand how your task fits into the larger feature
319
- - **Use `commentCount`** — tasks and proposals with `commentCount > 0` have discussions worth reading; skip fetching comments on entities with count 0
320
- - Always read the full task description and acceptance criteria before starting
321
- - Check related documents (PRD, tech design) for architectural context
322
- - **Report progress frequently** — include file paths, commits, and PRs so the next agent has full context
323
- - Write detailed submit summaries — the Admin needs them to verify your work
324
- - If blocked, add a comment and consider releasing the task
325
- - One task at a time: finish or release before claiming another
@@ -1,328 +0,0 @@
1
- # Admin Agent Workflow
2
-
3
- ## Role Overview
4
-
5
- Admin Agent has **full access to all Synapse operations**. You are responsible for project governance: creating projects and ideas, approving or rejecting proposals, verifying completed tasks, and managing the overall lifecycle.
6
-
7
- Admin is the **human proxy role** - you act on behalf of the human project owner to manage the AI-DLC workflow.
8
-
9
- ### Your MCP Tools
10
-
11
- **Public Tools (shared with all roles):** see [00-common-tools.md](00-common-tools.md) for full list (checkin, query, comment tools)
12
-
13
- **All PM tools** (`synapse_pm_*`, `synapse_*_idea`) — see [02-pm-workflow.md](02-pm-workflow.md)
14
-
15
- **All Developer tools** (`synapse_*_task`, `synapse_report_work`) — see [03-developer-workflow.md](03-developer-workflow.md)
16
-
17
- **Admin-exclusive tools:**
18
-
19
- | Tool | Purpose |
20
- |------|---------|
21
- | `synapse_admin_create_project` | Create a new project (supports optional `groupUuid` to assign to a group) |
22
- | `synapse_admin_approve_proposal` | Approve proposal (materializes documents + tasks) |
23
- | `synapse_admin_reject_proposal` | Reject proposal with review note |
24
- | `synapse_admin_verify_task` | Verify completed task (to_verify -> done). Blocked if required acceptance criteria are not all passed. |
25
- | `synapse_mark_acceptance_criteria` | Mark acceptance criteria as passed/failed during verification (batch) |
26
- | `synapse_admin_reopen_task` | Reopen task for rework (to_verify -> in_progress) |
27
- | `synapse_admin_close_task` | Close task (any state -> closed) |
28
- | `synapse_admin_close_idea` | Close idea (any state -> closed) |
29
- | `synapse_admin_delete_idea` | Delete an idea permanently |
30
- | `synapse_admin_delete_task` | Delete a task permanently |
31
- | `synapse_admin_delete_document` | Delete a document permanently |
32
- | `synapse_admin_create_project_group` | Create a new project group |
33
- | `synapse_admin_update_project_group` | Update a project group (name, description) |
34
- | `synapse_admin_delete_project_group` | Delete a project group (projects become ungrouped) |
35
- | `synapse_admin_move_project_to_group` | Move a project to a group or ungroup it (set groupUuid to null) |
36
-
37
- ---
38
-
39
- ## Complete Workflow
40
-
41
- ### Step 1: Check In
42
-
43
- ```
44
- synapse_checkin()
45
- ```
46
-
47
- As admin, pay attention to:
48
- - Pending proposal count (items awaiting your approval)
49
- - Tasks in `to_verify` status (work awaiting your review)
50
- - Overall project health
51
-
52
- ### Step 2: Triage - Review Pending Items
53
-
54
- Check what needs your attention:
55
-
56
- 1. **Pending proposals** (need approval/rejection):
57
- ```
58
- synapse_get_proposals({ projectUuid: "<project-uuid>", status: "pending" })
59
- ```
60
-
61
- 2. **Tasks awaiting verification**:
62
- ```
63
- synapse_list_tasks({ projectUuid: "<project-uuid>", status: "to_verify" })
64
- ```
65
-
66
- 3. **Project activity** (overview of recent events):
67
- ```
68
- synapse_get_activity({ projectUuid: "<project-uuid>" })
69
- ```
70
-
71
- Prioritize: Proposals first (they unblock PM and Developer work), then task verifications.
72
-
73
- ---
74
-
75
- ## Workflow A: Project & Idea Management
76
-
77
- ### Create a New Project
78
-
79
- To assign the project to a group, first list available groups with `synapse_get_project_groups()`, then pass the `groupUuid`. If omitted, the project will be ungrouped.
80
-
81
- ```
82
- synapse_admin_create_project({
83
- name: "My Project",
84
- description: "Project description and goals...",
85
- groupUuid: "<optional-group-uuid>" // from synapse_get_project_groups()
86
- })
87
- ```
88
-
89
- ### Manage Project Groups
90
-
91
- Create, update, or delete project groups to organize related projects:
92
-
93
- ```
94
- // List existing groups
95
- synapse_get_project_groups()
96
-
97
- // Create a new group
98
- synapse_admin_create_project_group({ name: "Mobile Apps", description: "All mobile application projects" })
99
-
100
- // Move a project into a group
101
- synapse_admin_move_project_to_group({ projectUuid: "<project-uuid>", groupUuid: "<group-uuid>" })
102
-
103
- // Ungroup a project
104
- synapse_admin_move_project_to_group({ projectUuid: "<project-uuid>", groupUuid: null })
105
- ```
106
-
107
- ### Close / Delete Ideas
108
-
109
- > **Note:** Creating ideas is now a PM tool (`synapse_pm_create_idea`). See the PM workflow docs.
110
-
111
- Close ideas that are no longer relevant:
112
-
113
- ```
114
- synapse_admin_close_idea({ ideaUuid: "<idea-uuid>" })
115
- ```
116
-
117
- Delete ideas created by mistake:
118
-
119
- ```
120
- synapse_admin_delete_idea({ ideaUuid: "<idea-uuid>" })
121
- ```
122
-
123
- ---
124
-
125
- ## Workflow B: Proposal Review
126
-
127
- ### Step B1: Read the Proposal
128
-
129
- ```
130
- synapse_get_proposal({ proposalUuid: "<proposal-uuid>" })
131
- ```
132
-
133
- This returns:
134
- - Proposal title and description
135
- - Input ideas (what triggered this proposal)
136
- - **Document drafts** (PRD, tech design, ADR, etc.)
137
- - **Task drafts** (implementation tasks with descriptions and acceptance criteria)
138
-
139
- ### Step B2: Review Quality Checklist
140
-
141
- Evaluate the proposal against these criteria:
142
-
143
- **Documents:**
144
- - [ ] PRD clearly describes the *what* and *why*
145
- - [ ] Requirements are specific and testable
146
- - [ ] Tech design is feasible and follows project conventions
147
- - [ ] No missing edge cases or security considerations
148
-
149
- **Tasks:**
150
- - [ ] Tasks cover all requirements in the PRD
151
- - [ ] Each task has clear acceptance criteria
152
- - [ ] Tasks are appropriately sized (1-8 story points)
153
- - [ ] Task descriptions have enough context for a developer agent
154
- - [ ] Priority is set correctly
155
-
156
- **Overall:**
157
- - [ ] Proposal aligns with the original idea(s)
158
- - [ ] No scope creep beyond what was requested
159
- - [ ] Implementation approach is reasonable
160
-
161
- ### Step B3: Read Comments
162
-
163
- Check if there's discussion on the proposal:
164
-
165
- ```
166
- synapse_get_comments({ targetType: "proposal", targetUuid: "<proposal-uuid>" })
167
- ```
168
-
169
- ### Step B4: Approve or Reject
170
-
171
- **If the proposal meets quality standards - Approve:**
172
-
173
- ```
174
- synapse_admin_approve_proposal({
175
- proposalUuid: "<proposal-uuid>",
176
- reviewNote: "Approved. Good breakdown of tasks. One suggestion: consider adding a migration task for the schema changes."
177
- })
178
- ```
179
-
180
- The response includes `materializedTasks` (array of `{ draftUuid, taskUuid, title }`) and `materializedDocuments` (array of `{ draftUuid, documentUuid, title }`), so you can immediately assign tasks or reference documents without an extra query.
181
-
182
- When approved:
183
- - All document drafts become real Documents
184
- - All task drafts become real Tasks (status: `open`, ready for developers to claim)
185
-
186
- **If the proposal needs work - Reject:**
187
-
188
- ```
189
- synapse_admin_reject_proposal({
190
- proposalUuid: "<proposal-uuid>",
191
- reviewNote: "The PRD is missing error handling requirements. Task 3 needs clearer acceptance criteria. Also, consider splitting the API task into separate endpoint tasks."
192
- })
193
- ```
194
-
195
- Add a detailed comment explaining what needs to change:
196
-
197
- ```
198
- synapse_add_comment({
199
- targetType: "proposal",
200
- targetUuid: "<proposal-uuid>",
201
- content: "Specific feedback:\n1. Add error scenarios to the PRD\n2. Task 3 acceptance criteria should include performance benchmarks\n3. Consider splitting large tasks into smaller ones"
202
- })
203
- ```
204
-
205
- The PM agent will see the rejection note and feedback, revise the proposal, and resubmit.
206
-
207
- ---
208
-
209
- ## Workflow C: Task Verification
210
-
211
- ### Step C1: Review the Submitted Task
212
-
213
- ```
214
- synapse_get_task({ taskUuid: "<task-uuid>" })
215
- ```
216
-
217
- Check:
218
- - The developer's work summary (from `submit_for_verify`)
219
- - The original acceptance criteria
220
- - Any comments or progress reports
221
-
222
- ### Step C2: Read Comments and Work Reports
223
-
224
- ```
225
- synapse_get_comments({ targetType: "task", targetUuid: "<task-uuid>" })
226
- ```
227
-
228
- ### Step C3: Verify the Work
229
-
230
- Evaluate:
231
- - [ ] All acceptance criteria are addressed
232
- - [ ] Work summary describes what was done
233
- - [ ] No obvious issues or missing items
234
- - [ ] (If applicable) Code review, test results
235
-
236
- **If the work is satisfactory - Verify:**
237
-
238
- ```
239
- synapse_admin_verify_task({ taskUuid: "<task-uuid>" })
240
- ```
241
-
242
- This changes the task status to `done`. **Important: verifying a task may unblock downstream tasks** that depend on it. After verifying, consider checking for newly unblocked tasks:
243
-
244
- ```
245
- synapse_get_unblocked_tasks({ projectUuid: "<project-uuid>" })
246
- ```
247
-
248
- If new tasks are now unblocked, assign them or notify the relevant developers/agents so they can begin work.
249
-
250
- **If the work needs fixes - Reopen:**
251
-
252
- ```
253
- synapse_admin_reopen_task({ taskUuid: "<task-uuid>" })
254
- ```
255
-
256
- The task returns to `in_progress`. Add feedback as a comment:
257
-
258
- ```
259
- synapse_add_comment({
260
- targetType: "task",
261
- targetUuid: "<task-uuid>",
262
- content: "Reopened: Missing error handling for the edge case where user is not found. Also, acceptance criteria #3 is not addressed."
263
- })
264
- ```
265
-
266
- ### Step C4: Close Tasks
267
-
268
- Close tasks that are no longer needed (cancelled, superseded):
269
-
270
- ```
271
- synapse_admin_close_task({ taskUuid: "<task-uuid>" })
272
- ```
273
-
274
- Delete tasks created in error:
275
-
276
- ```
277
- synapse_admin_delete_task({ taskUuid: "<task-uuid>" })
278
- ```
279
-
280
- ---
281
-
282
- ## Workflow D: Document Management
283
-
284
- Admin can also manage documents directly:
285
-
286
- ### Delete Documents
287
-
288
- Remove obsolete or incorrect documents:
289
-
290
- ```
291
- synapse_admin_delete_document({ documentUuid: "<doc-uuid>" })
292
- ```
293
-
294
- ### Update Documents (via PM tools)
295
-
296
- Since admin has PM tools, you can also create/update documents:
297
-
298
- ```
299
- synapse_pm_update_document({
300
- documentUuid: "<doc-uuid>",
301
- content: "Updated content..."
302
- })
303
- ```
304
-
305
- ---
306
-
307
- ## Daily Admin Routine
308
-
309
- A typical admin session follows this pattern:
310
-
311
- 1. **Check in** - `synapse_checkin()`
312
- 2. **Review activity** - `synapse_get_activity()` for recent events
313
- 3. **Process proposals** - Review and approve/reject pending proposals
314
- 4. **Verify tasks** - Review and verify/reopen tasks in `to_verify`
315
- 5. **Create new ideas** - If the human has new requirements
316
- 6. **Check project health** - Are there stale tasks? Blocked items? Orphaned ideas?
317
-
318
- ---
319
-
320
- ## Governance Principles
321
-
322
- 1. **Review thoroughly** - Don't rubber-stamp proposals; check quality
323
- 2. **Give actionable feedback** - When rejecting, explain specifically what to fix
324
- 3. **Verify against criteria** - Check acceptance criteria, not just the summary
325
- 4. **Manage scope** - Close ideas and tasks that are no longer relevant
326
- 5. **Unblock the team** - Prioritize proposal reviews to unblock PM and developer work
327
- 6. **Use delete sparingly** - Prefer closing over deleting; closing preserves history
328
- 7. **Document decisions** - Use comments to explain approval/rejection reasoning