@goondocks/myco 0.20.1 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/agent-eval-RJSQI5S2.js +355 -0
  2. package/dist/agent-eval-RJSQI5S2.js.map +1 -0
  3. package/dist/{agent-run-PQXC246Y.js → agent-run-2JSYFOKU.js} +10 -8
  4. package/dist/{agent-run-PQXC246Y.js.map → agent-run-2JSYFOKU.js.map} +1 -1
  5. package/dist/{agent-tasks-323BZEBX.js → agent-tasks-APFJIM2T.js} +10 -8
  6. package/dist/{agent-tasks-323BZEBX.js.map → agent-tasks-APFJIM2T.js.map} +1 -1
  7. package/dist/{chunk-SRXTSI25.js → chunk-53RPGOEN.js} +57 -9
  8. package/dist/chunk-53RPGOEN.js.map +1 -0
  9. package/dist/chunk-54SXG5HF.js +26 -0
  10. package/dist/chunk-54SXG5HF.js.map +1 -0
  11. package/dist/{chunk-DCSGJ7W4.js → chunk-5ZG4RMUH.js} +2 -2
  12. package/dist/{chunk-FLLBJLHM.js → chunk-6C6QZ4PM.js} +9 -5
  13. package/dist/chunk-6C6QZ4PM.js.map +1 -0
  14. package/dist/chunk-6LB7XELY.js +406 -0
  15. package/dist/chunk-6LB7XELY.js.map +1 -0
  16. package/dist/{chunk-22JALAXN.js → chunk-75Z7UKDY.js} +4 -4
  17. package/dist/{chunk-AIYFHQRX.js → chunk-BUTL6IFS.js} +2 -2
  18. package/dist/chunk-CESKJD44.js +586 -0
  19. package/dist/chunk-CESKJD44.js.map +1 -0
  20. package/dist/chunk-CISWUP5W.js +101 -0
  21. package/dist/chunk-CISWUP5W.js.map +1 -0
  22. package/dist/chunk-DJ3IHNYO.js +50 -0
  23. package/dist/chunk-DJ3IHNYO.js.map +1 -0
  24. package/dist/chunk-F3OEQYLS.js +847 -0
  25. package/dist/chunk-F3OEQYLS.js.map +1 -0
  26. package/dist/{chunk-6RFZWV4R.js → chunk-FCJ5JV54.js} +1 -1
  27. package/dist/{chunk-6RFZWV4R.js.map → chunk-FCJ5JV54.js.map} +1 -1
  28. package/dist/{chunk-63ZGP4Q2.js → chunk-G6QIBNZM.js} +9 -6
  29. package/dist/{chunk-63ZGP4Q2.js.map → chunk-G6QIBNZM.js.map} +1 -1
  30. package/dist/{chunk-57O67XVF.js → chunk-ILJPRYES.js} +6 -4
  31. package/dist/{chunk-57O67XVF.js.map → chunk-ILJPRYES.js.map} +1 -1
  32. package/dist/{chunk-US4LNCAT.js → chunk-IPPMYQ2Y.js} +5 -1
  33. package/dist/chunk-IPPMYQ2Y.js.map +1 -0
  34. package/dist/{chunk-UEWMSIL3.js → chunk-JR54LTPP.js} +4 -4
  35. package/dist/{chunk-4M7EWPIA.js → chunk-JZS6GZ6T.js} +16 -93
  36. package/dist/chunk-JZS6GZ6T.js.map +1 -0
  37. package/dist/{chunk-5XIVBO25.js → chunk-LVIY7P35.js} +2 -2
  38. package/dist/chunk-NGH7U6A3.js +13844 -0
  39. package/dist/chunk-NGH7U6A3.js.map +1 -0
  40. package/dist/chunk-OUJSQSKE.js +113 -0
  41. package/dist/chunk-OUJSQSKE.js.map +1 -0
  42. package/dist/{chunk-3WWJOTYG.js → chunk-P66DLD6G.js} +22 -10
  43. package/dist/chunk-P66DLD6G.js.map +1 -0
  44. package/dist/{chunk-QS5TWZBL.js → chunk-R2JIJBCL.js} +18 -4
  45. package/dist/{chunk-QS5TWZBL.js.map → chunk-R2JIJBCL.js.map} +1 -1
  46. package/dist/{chunk-MYOZLMB2.js → chunk-RL5R4CQU.js} +538 -19
  47. package/dist/chunk-RL5R4CQU.js.map +1 -0
  48. package/dist/{chunk-EVDQKYCG.js → chunk-RQSJLWP4.js} +13 -2
  49. package/dist/chunk-RQSJLWP4.js.map +1 -0
  50. package/dist/{chunk-BPRIYNLE.js → chunk-TKAJ3JVF.js} +3 -3
  51. package/dist/{chunk-LZP4IJB3.js → chunk-VHNRMM4O.js} +3 -2
  52. package/dist/{chunk-FMRZ26U5.js → chunk-X3IGT5RV.js} +5 -2
  53. package/dist/{chunk-FMRZ26U5.js.map → chunk-X3IGT5RV.js.map} +1 -1
  54. package/dist/{chunk-KHT24OWC.js → chunk-YDUOSRGD.js} +8 -94
  55. package/dist/{chunk-KHT24OWC.js.map → chunk-YDUOSRGD.js.map} +1 -1
  56. package/dist/{cli-UWBAOHLL.js → cli-LNYSTDQM.js} +49 -42
  57. package/dist/cli-LNYSTDQM.js.map +1 -0
  58. package/dist/{client-SLDDMSKN.js → client-NWE4TCNO.js} +4 -4
  59. package/dist/{config-XPV5GDE4.js → config-VC4ACP42.js} +6 -4
  60. package/dist/{config-XPV5GDE4.js.map → config-VC4ACP42.js.map} +1 -1
  61. package/dist/{detect-providers-5KOPZ7J2.js → detect-providers-ILLQZROY.js} +4 -4
  62. package/dist/{doctor-UUUOVDZS.js → doctor-TI7EZ3RW.js} +48 -15
  63. package/dist/doctor-TI7EZ3RW.js.map +1 -0
  64. package/dist/executor-F2YU7HXJ.js +44 -0
  65. package/dist/{init-UDH3ZBDD.js → init-KG3TYVGE.js} +14 -12
  66. package/dist/{init-UDH3ZBDD.js.map → init-KG3TYVGE.js.map} +1 -1
  67. package/dist/{installer-I6KRGJOO.js → installer-UMH7OJ5A.js} +6 -4
  68. package/dist/{llm-TH4NLIRM.js → llm-AGVEF5XD.js} +5 -4
  69. package/dist/{loader-H7OFASVC.js → loader-LX7TFRM6.js} +5 -3
  70. package/dist/{loader-TSB5M7FD.js → loader-NAVVZK63.js} +4 -3
  71. package/dist/{main-E7HU4QYR.js → main-5PRQNEEE.js} +2457 -649
  72. package/dist/main-5PRQNEEE.js.map +1 -0
  73. package/dist/{open-4UGDPBKN.js → open-5A27BCSB.js} +10 -8
  74. package/dist/{open-4UGDPBKN.js.map → open-5A27BCSB.js.map} +1 -1
  75. package/dist/{post-compact-BFU3WZSV.js → post-compact-USAODKPQ.js} +6 -6
  76. package/dist/{post-tool-use-RYHXLCTC.js → post-tool-use-GMMSYBII.js} +9 -7
  77. package/dist/post-tool-use-GMMSYBII.js.map +1 -0
  78. package/dist/{post-tool-use-failure-DCVHK2P3.js → post-tool-use-failure-NZVSL2PO.js} +6 -6
  79. package/dist/{pre-compact-EZZCJ6AG.js → pre-compact-LZ57DLUS.js} +6 -6
  80. package/dist/{provider-check-43LAMSMH.js → provider-check-ZEV5P4KM.js} +4 -4
  81. package/dist/{registry-MGJSJBAS.js → registry-M2Z5QBWH.js} +5 -4
  82. package/dist/{remove-GBBQG3SJ.js → remove-T3KE6C5N.js} +10 -8
  83. package/dist/{remove-GBBQG3SJ.js.map → remove-T3KE6C5N.js.map} +1 -1
  84. package/dist/{restart-RMIGKMA6.js → restart-YWDEVZUJ.js} +11 -9
  85. package/dist/{restart-RMIGKMA6.js.map → restart-YWDEVZUJ.js.map} +1 -1
  86. package/dist/{search-2A5AJVNG.js → search-GKFDGELR.js} +11 -9
  87. package/dist/{search-2A5AJVNG.js.map → search-GKFDGELR.js.map} +1 -1
  88. package/dist/{server-TSYZMFFK.js → server-AHUR6CWF.js} +368 -269
  89. package/dist/server-AHUR6CWF.js.map +1 -0
  90. package/dist/{session-NKREOTEO.js → session-2ZEPLWW6.js} +11 -9
  91. package/dist/{session-NKREOTEO.js.map → session-2ZEPLWW6.js.map} +1 -1
  92. package/dist/{session-end-DQELLTGJ.js → session-end-LWJYQAXX.js} +5 -5
  93. package/dist/session-start-WTA6GCOQ.js +134 -0
  94. package/dist/session-start-WTA6GCOQ.js.map +1 -0
  95. package/dist/{setup-llm-SLX5764H.js → setup-llm-E7UU5IO7.js} +11 -9
  96. package/dist/{setup-llm-SLX5764H.js.map → setup-llm-E7UU5IO7.js.map} +1 -1
  97. package/dist/src/agent/definitions/agent.yaml +9 -5
  98. package/dist/src/agent/definitions/tasks/cortex-instructions.yaml +93 -0
  99. package/dist/src/agent/definitions/tasks/cortex-prompt-builder.yaml +67 -0
  100. package/dist/src/agent/definitions/tasks/digest-only.yaml +1 -1
  101. package/dist/src/agent/definitions/tasks/extract-only.yaml +1 -1
  102. package/dist/src/agent/definitions/tasks/review-session.yaml +10 -39
  103. package/dist/src/agent/definitions/tasks/skill-evolve.yaml +5 -4
  104. package/dist/src/agent/definitions/tasks/skill-generate.yaml +2 -1
  105. package/dist/src/agent/definitions/tasks/skill-survey.yaml +25 -13
  106. package/dist/src/agent/definitions/tasks/supersession-sweep.yaml +1 -1
  107. package/dist/src/agent/definitions/tasks/title-summary.yaml +12 -19
  108. package/dist/src/agent/definitions/tasks/{full-intelligence.yaml → vault-evolve.yaml} +18 -83
  109. package/dist/src/agent/definitions/tasks/vault-seed.yaml +370 -0
  110. package/dist/src/agent/prompts/agent.md +12 -38
  111. package/dist/src/cli.js +1 -1
  112. package/dist/src/daemon/main.js +1 -1
  113. package/dist/src/hooks/post-tool-use.js +1 -1
  114. package/dist/src/hooks/session-end.js +1 -1
  115. package/dist/src/hooks/session-start.js +1 -1
  116. package/dist/src/hooks/stop.js +1 -1
  117. package/dist/src/hooks/user-prompt-submit.js +1 -1
  118. package/dist/src/mcp/server.js +1 -1
  119. package/dist/src/symbionts/manifests/claude-code.yaml +4 -0
  120. package/dist/src/symbionts/manifests/pi.yaml +22 -0
  121. package/dist/src/symbionts/templates/pi/package.json +6 -0
  122. package/dist/src/symbionts/templates/pi/plugin.ts +559 -0
  123. package/dist/{stats-ARBLNEE3.js → stats-DFG6S23S.js} +11 -9
  124. package/dist/{stats-ARBLNEE3.js.map → stats-DFG6S23S.js.map} +1 -1
  125. package/dist/{stop-5AJXBKEE.js → stop-WRBTXEVT.js} +5 -5
  126. package/dist/{stop-failure-XGKTZPLR.js → stop-failure-32MGIG2Q.js} +6 -6
  127. package/dist/{subagent-start-2JLIPGJN.js → subagent-start-VFGHQFVL.js} +6 -6
  128. package/dist/{subagent-stop-FV4EOKWZ.js → subagent-stop-663FXG3P.js} +6 -6
  129. package/dist/{task-completed-XJKT366I.js → task-completed-ZCQYEFMZ.js} +6 -6
  130. package/dist/{team-3JKF7VAD.js → team-JTI5CDUO.js} +7 -5
  131. package/dist/{turns-YFNI5CQC.js → turns-HU2CTZAP.js} +2 -2
  132. package/dist/ui/assets/index-DGf1h-Ha.js +842 -0
  133. package/dist/ui/assets/index-_OP4ifzH.css +1 -0
  134. package/dist/ui/index.html +2 -2
  135. package/dist/{update-XVSAMN4O.js → update-3NBQTG32.js} +10 -8
  136. package/dist/{update-XVSAMN4O.js.map → update-3NBQTG32.js.map} +1 -1
  137. package/dist/{user-prompt-submit-TTBTHBBH.js → user-prompt-submit-ME2TBKOS.js} +8 -7
  138. package/dist/{user-prompt-submit-TTBTHBBH.js.map → user-prompt-submit-ME2TBKOS.js.map} +1 -1
  139. package/dist/{verify-LMHNEYIP.js → verify-R76ZFJSZ.js} +8 -5
  140. package/dist/{verify-LMHNEYIP.js.map → verify-R76ZFJSZ.js.map} +1 -1
  141. package/dist/{version-HRVSEMUR.js → version-GQAFBBPX.js} +2 -2
  142. package/dist/version-GQAFBBPX.js.map +1 -0
  143. package/package.json +3 -1
  144. package/skills/myco/SKILL.md +16 -1
  145. package/skills/myco/references/cli-usage.md +1 -1
  146. package/skills/myco-curate/SKILL.md +1 -1
  147. package/dist/chunk-3WWJOTYG.js.map +0 -1
  148. package/dist/chunk-4M7EWPIA.js.map +0 -1
  149. package/dist/chunk-4YFKBL3F.js +0 -195
  150. package/dist/chunk-4YFKBL3F.js.map +0 -1
  151. package/dist/chunk-EVDQKYCG.js.map +0 -1
  152. package/dist/chunk-FGY7J6EZ.js +0 -2276
  153. package/dist/chunk-FGY7J6EZ.js.map +0 -1
  154. package/dist/chunk-FLLBJLHM.js.map +0 -1
  155. package/dist/chunk-MYOZLMB2.js.map +0 -1
  156. package/dist/chunk-SRXTSI25.js.map +0 -1
  157. package/dist/chunk-US4LNCAT.js.map +0 -1
  158. package/dist/cli-UWBAOHLL.js.map +0 -1
  159. package/dist/doctor-UUUOVDZS.js.map +0 -1
  160. package/dist/executor-J4IBXSBY.js +0 -2472
  161. package/dist/executor-J4IBXSBY.js.map +0 -1
  162. package/dist/main-E7HU4QYR.js.map +0 -1
  163. package/dist/post-tool-use-RYHXLCTC.js.map +0 -1
  164. package/dist/server-TSYZMFFK.js.map +0 -1
  165. package/dist/session-start-5SUTR5GP.js +0 -189
  166. package/dist/session-start-5SUTR5GP.js.map +0 -1
  167. package/dist/src/agent/definitions/tasks/graph-maintenance.yaml +0 -93
  168. package/dist/ui/assets/index-C2JuNtRB.css +0 -1
  169. package/dist/ui/assets/index-JLVaQKV2.js +0 -832
  170. /package/dist/{chunk-DCSGJ7W4.js.map → chunk-5ZG4RMUH.js.map} +0 -0
  171. /package/dist/{chunk-22JALAXN.js.map → chunk-75Z7UKDY.js.map} +0 -0
  172. /package/dist/{chunk-AIYFHQRX.js.map → chunk-BUTL6IFS.js.map} +0 -0
  173. /package/dist/{chunk-UEWMSIL3.js.map → chunk-JR54LTPP.js.map} +0 -0
  174. /package/dist/{chunk-5XIVBO25.js.map → chunk-LVIY7P35.js.map} +0 -0
  175. /package/dist/{chunk-BPRIYNLE.js.map → chunk-TKAJ3JVF.js.map} +0 -0
  176. /package/dist/{chunk-LZP4IJB3.js.map → chunk-VHNRMM4O.js.map} +0 -0
  177. /package/dist/{client-SLDDMSKN.js.map → client-NWE4TCNO.js.map} +0 -0
  178. /package/dist/{detect-providers-5KOPZ7J2.js.map → detect-providers-ILLQZROY.js.map} +0 -0
  179. /package/dist/{installer-I6KRGJOO.js.map → executor-F2YU7HXJ.js.map} +0 -0
  180. /package/dist/{llm-TH4NLIRM.js.map → installer-UMH7OJ5A.js.map} +0 -0
  181. /package/dist/{loader-H7OFASVC.js.map → llm-AGVEF5XD.js.map} +0 -0
  182. /package/dist/{loader-TSB5M7FD.js.map → loader-LX7TFRM6.js.map} +0 -0
  183. /package/dist/{provider-check-43LAMSMH.js.map → loader-NAVVZK63.js.map} +0 -0
  184. /package/dist/{post-compact-BFU3WZSV.js.map → post-compact-USAODKPQ.js.map} +0 -0
  185. /package/dist/{post-tool-use-failure-DCVHK2P3.js.map → post-tool-use-failure-NZVSL2PO.js.map} +0 -0
  186. /package/dist/{pre-compact-EZZCJ6AG.js.map → pre-compact-LZ57DLUS.js.map} +0 -0
  187. /package/dist/{registry-MGJSJBAS.js.map → provider-check-ZEV5P4KM.js.map} +0 -0
  188. /package/dist/{team-3JKF7VAD.js.map → registry-M2Z5QBWH.js.map} +0 -0
  189. /package/dist/{session-end-DQELLTGJ.js.map → session-end-LWJYQAXX.js.map} +0 -0
  190. /package/dist/{stop-5AJXBKEE.js.map → stop-WRBTXEVT.js.map} +0 -0
  191. /package/dist/{stop-failure-XGKTZPLR.js.map → stop-failure-32MGIG2Q.js.map} +0 -0
  192. /package/dist/{subagent-start-2JLIPGJN.js.map → subagent-start-VFGHQFVL.js.map} +0 -0
  193. /package/dist/{subagent-stop-FV4EOKWZ.js.map → subagent-stop-663FXG3P.js.map} +0 -0
  194. /package/dist/{task-completed-XJKT366I.js.map → task-completed-ZCQYEFMZ.js.map} +0 -0
  195. /package/dist/{turns-YFNI5CQC.js.map → team-JTI5CDUO.js.map} +0 -0
  196. /package/dist/{version-HRVSEMUR.js.map → turns-HU2CTZAP.js.map} +0 -0
@@ -10,7 +10,7 @@ prompt: >-
10
10
  overlap. The instruction contains pre-filtered skills with their
11
11
  content, new spore IDs, and pre-computed similarity analysis.
12
12
  isDefault: false
13
- model: claude-sonnet-4-6
13
+ reasoningLevel: default
14
14
  maxTurns: 48
15
15
  timeoutSeconds: 1800
16
16
  schedule:
@@ -18,13 +18,14 @@ schedule:
18
18
  intervalSeconds: 900
19
19
  runIn:
20
20
  - idle
21
+ - sleep
21
22
  preCondition: has-active-skills
22
23
  params:
23
24
  assess_interval_hours: 24
24
25
  max_skills_per_run: 8
25
26
  phases:
26
27
  - name: inventory
27
- model: claude-haiku-4-5-20251001
28
+ reasoningLevel: low
28
29
  prompt: |
29
30
  The instruction contains pre-computed structural analysis of
30
31
  all active skills. Two mechanical signals are provided:
@@ -81,7 +82,7 @@ phases:
81
82
  readOnly: true
82
83
 
83
84
  - name: assess
84
- model: claude-sonnet-4-6
85
+ reasoningLevel: default
85
86
  prompt: |
86
87
  Read the inventory analysis from vault_state
87
88
  (key: skill-evolve-inventory).
@@ -156,7 +157,7 @@ phases:
156
157
  - inventory
157
158
 
158
159
  - name: act
159
- model: claude-haiku-4-5-20251001
160
+ reasoningLevel: low
160
161
  prompt: |
161
162
  Read classifications from vault_state
162
163
  (key: skill-evolve-classifications). Parse the JSON.
@@ -10,7 +10,7 @@ prompt: >-
10
10
  The instruction contains the candidate metadata and pre-assembled
11
11
  source material. Stage the skill, validate it, then finalize it.
12
12
  isDefault: false
13
- model: claude-sonnet-4-6
13
+ reasoningLevel: default
14
14
  maxTurns: 30
15
15
  timeoutSeconds: 900
16
16
  schedule:
@@ -18,6 +18,7 @@ schedule:
18
18
  intervalSeconds: 600
19
19
  runIn:
20
20
  - idle
21
+ - sleep
21
22
  preCondition: has-approved-candidates
22
23
  phases:
23
24
  - name: draft
@@ -9,14 +9,16 @@ prompt: >-
9
9
  Survey the vault knowledge graph for procedural domain candidates.
10
10
  The instruction contains pre-assembled vault context.
11
11
  isDefault: false
12
- model: claude-sonnet-4-6
12
+ reasoningLevel: default
13
13
  maxTurns: 35
14
14
  timeoutSeconds: 1800
15
15
  schedule:
16
16
  enabled: true
17
- intervalSeconds: 600
17
+ intervalSeconds: 21600
18
18
  runIn:
19
19
  - idle
20
+ - sleep
21
+ preCondition: has-skill-survey-evidence
20
22
  phases:
21
23
  - name: explore
22
24
  prompt: |
@@ -57,6 +59,9 @@ phases:
57
59
  ## Process
58
60
 
59
61
  1. Read the pre-assembled context for orientation.
62
+ It already excludes active-session data and only exists when
63
+ the vault has enough settled knowledge to support a serious
64
+ candidate review.
60
65
 
61
66
  2. Use vault tools for TARGETED follow-up on promising
62
67
  clusters. The baseline gives you direction — follow threads
@@ -67,8 +72,6 @@ phases:
67
72
  a domain you spotted in the digest
68
73
  - vault_spores to read full content of high-signal spores
69
74
  summarized in the baseline
70
- - vault_entities for components with high mention counts
71
- that might anchor a domain
72
75
 
73
76
  Do NOT exhaustively paginate or search every keyword.
74
77
  You have ~12 tool calls — use them purposefully.
@@ -77,11 +80,13 @@ phases:
77
80
  note: the core theme, which procedures it covers, and
78
81
  which source items provide evidence.
79
82
 
83
+ 4. Reject generic engineering domains even if they are common.
84
+ A valid candidate must be specific to this project's named
85
+ components, files, commands, or conventions.
86
+
80
87
  Store your domain clusters in working notes for the next phase.
81
88
  tools:
82
89
  - vault_spores
83
- - vault_entities
84
- - vault_edges
85
90
  - vault_sessions
86
91
  - vault_search_fts
87
92
  - vault_search_semantic
@@ -90,7 +95,7 @@ phases:
90
95
  readOnly: true
91
96
 
92
97
  - name: synthesize-evaluate
93
- model: claude-sonnet-4-6
98
+ reasoningLevel: default
94
99
  prompt: |
95
100
  The explore phase identified procedural domain clusters from
96
101
  the vault. Now evaluate each and create candidates for domains
@@ -103,27 +108,34 @@ phases:
103
108
 
104
109
  ## Evaluation criteria
105
110
 
106
- Each candidate must pass ALL of these at the DOMAIN level:
111
+ Each candidate must pass ALL of these at the DOMAIN level.
112
+ If any required criterion fails, reject the domain and do not
113
+ create or update a candidate.
107
114
 
108
115
  1. PROCEDURE TEST: Does this domain describe "how to do a
109
116
  family of related tasks in this project"? A domain about
110
117
  "what X is" or "X exists" is knowledge, not a skill.
111
118
 
112
- 2. REPEATABILITY TEST: Will developers need these procedures
119
+ 2. PROJECT-SPECIFICITY TEST: Is this domain meaningfully tied
120
+ to THIS repository? It must be anchored to named project
121
+ components, files, commands, or conventions. Generic
122
+ engineering topics FAIL.
123
+
124
+ 3. REPEATABILITY TEST: Will developers need these procedures
113
125
  again as the project grows? Domains covering extension
114
126
  points (adding new X, extending Y) are strong candidates.
115
127
  One-time fixes and bug patches are NOT skills.
116
128
 
117
- 3. BREADTH TEST: Does this domain cover 2+ distinct procedures
129
+ 4. BREADTH TEST: Does this domain cover 2+ distinct procedures
118
130
  that share prerequisite knowledge? A single procedure is
119
131
  too narrow — it should be a section within a broader domain.
120
132
  If you can't imagine 3+ major section headings, it's not
121
133
  broad enough.
122
134
 
123
- 4. CROSS-SESSION EVIDENCE: Knowledge from 2+ sessions and 3+
135
+ 5. CROSS-SESSION EVIDENCE: Knowledge from 2+ sessions and 3+
124
136
  source items (spores, sessions, plans).
125
137
 
126
- 5. DEDUPLICATION: Check BOTH lists from step 0.
138
+ 6. DEDUPLICATION: Check BOTH lists from step 0.
127
139
  - If an active skill already covers this domain, skip.
128
140
  - If the domain SUBSUMES existing narrow skills (the domain
129
141
  is broader and the narrow skills are sections within it),
@@ -136,7 +148,7 @@ phases:
136
148
  warning. If the dismissed topic is a narrow subset of
137
149
  your broader domain, proceed.
138
150
 
139
- 6. CONFIDENCE SCORE (0.0-1.0):
151
+ 7. CONFIDENCE SCORE (0.0-1.0):
140
152
  - Domain breadth (more procedures covered = higher)
141
153
  - Cross-session evidence (wider = higher)
142
154
  - Wisdom spore presence (higher quality signal)
@@ -13,7 +13,7 @@ description: >
13
13
  Records resolution events for audit trail.
14
14
  agent: myco-agent
15
15
  isDefault: false
16
- model: claude-haiku-4-5-20251001
16
+ reasoningLevel: low
17
17
  maxTurns: 30
18
18
  timeoutSeconds: 300
19
19
 
@@ -13,9 +13,9 @@ description: >
13
13
  title and informative summary.
14
14
  agent: myco-agent
15
15
  isDefault: false
16
- model: claude-haiku-4-5-20251001
16
+ reasoningLevel: low
17
17
  maxTurns: 15
18
- timeoutSeconds: 120
18
+ timeoutSeconds: 300
19
19
 
20
20
  prompt: |
21
21
  Generate or update session titles and summaries. Budget: ~12 turns.
@@ -28,27 +28,24 @@ prompt: |
28
28
 
29
29
  **If a target session ID is specified above:**
30
30
  Always process it — the user explicitly requested regeneration.
31
- Call `vault_sessions` with `include_active: true` to get its current
32
- title/summary (the session may still be active). Call `vault_search_fts`
33
- with the session ID to find ALL its prompt batches (processed and
34
- unprocessed). Do NOT skip even if there are no new unprocessed batches.
31
+ Call `vault_session_summary_material` with `session_id: <target session>`
32
+ to get the current title/summary plus the compact ordered prompt-batch arc.
33
+ Do NOT skip even if there are no new unprocessed batches.
35
34
 
36
35
  **If no target session specified (automatic run):**
37
36
  Call `vault_unprocessed` with `include_active: true` — titles are needed
38
37
  mid-flight, not just after a session completes. Group by session_id —
39
- each session with unprocessed batches needs its summary updated. Call
40
- `vault_sessions` with `include_active: true` for those sessions. If no
41
- sessions have unprocessed batches, report "skip" and finish.
38
+ each session with unprocessed batches needs its summary updated. For each
39
+ session, call `vault_session_summary_material`. If no sessions have
40
+ unprocessed batches, report "skip" and finish.
42
41
 
43
42
  ## Phase 2 — Update Each Session (budget: 8 turns)
44
43
 
45
44
  For each session to process:
46
45
  1. Read the EXISTING title and summary — context from prior runs.
47
- 2. Read the session's prompt batches — user_prompt + response_summary.
48
- For targeted sessions, use `vault_search_fts` results from Phase 1.
49
- For automatic runs, use `vault_unprocessed` results.
50
- This is your PRIMARY source — read through the full set to understand
51
- the complete arc of work.
46
+ 2. Read the session's compact prompt-batch arc — user_prompt +
47
+ response_summary. This is your PRIMARY source read through the full
48
+ set to understand the complete arc of work.
52
49
  3. Generate a title and summary from the full session content.
53
50
  4. Call `vault_update_session` with BOTH title and summary.
54
51
 
@@ -81,10 +78,6 @@ prompt: |
81
78
 
82
79
  toolOverrides:
83
80
  - vault_unprocessed
84
- - vault_sessions
85
- - vault_spores
86
- - vault_search_fts
87
- - vault_state
81
+ - vault_session_summary_material
88
82
  - vault_update_session
89
- - vault_set_state
90
83
  - vault_report
@@ -1,5 +1,5 @@
1
1
  # =============================================================================
2
- # Built-in Task: Full Intelligence (Phased)
2
+ # Built-in Task: Vault Evolve (Phased)
3
3
  # =============================================================================
4
4
  # Default task for: myco-agent
5
5
  #
@@ -8,30 +8,30 @@
8
8
  # controls the loop — the LLM cannot skip phases.
9
9
  # =============================================================================
10
10
 
11
- name: full-intelligence
12
- displayName: Full Intelligence
11
+ name: vault-evolve
12
+ displayName: Vault Evolve
13
13
  description: >
14
14
  Complete intelligence pass over all unprocessed session data. Extracts
15
15
  observations as spores, updates session summaries, consolidates related
16
- spores into wisdom, builds knowledge graph entities and edges, and
17
- regenerates digest extracts.
16
+ spores into wisdom, and regenerates digest extracts. Runs automatically
17
+ on a schedule once sessions have settled.
18
18
  agent: myco-agent
19
19
  isDefault: true
20
20
  maxTurns: 150
21
21
  timeoutSeconds: 1800
22
- model: claude-sonnet-4-6
22
+ reasoningLevel: default
23
23
 
24
24
  schedule:
25
25
  enabled: true
26
26
  intervalSeconds: 300
27
27
  runIn:
28
- - active
29
28
  - idle
29
+ - sleep
30
30
  preCondition: has-unprocessed-batches
31
31
 
32
32
  orchestrator:
33
33
  enabled: true
34
- model: claude-sonnet-4-6
34
+ reasoningLevel: default
35
35
  maxTurns: 3
36
36
 
37
37
  contextQueries:
@@ -61,7 +61,7 @@ prompt: >
61
61
 
62
62
  phases:
63
63
  - name: read-state
64
- model: claude-haiku-4-5-20251001
64
+ reasoningLevel: low
65
65
  # Root phase — no dependsOn
66
66
  prompt: |
67
67
  Read the current vault state to determine what needs processing.
@@ -81,7 +81,7 @@ phases:
81
81
  readOnly: true
82
82
 
83
83
  - name: extract
84
- model: claude-haiku-4-5-20251001
84
+ reasoningLevel: low
85
85
  dependsOn: [read-state]
86
86
  prompt: |
87
87
  Extract observations from unprocessed batches as spores.
@@ -134,7 +134,7 @@ phases:
134
134
  required: true
135
135
 
136
136
  - name: summarize
137
- model: claude-haiku-4-5-20251001
137
+ reasoningLevel: low
138
138
  dependsOn: [read-state]
139
139
  prompt: |
140
140
  Update session titles and summaries for sessions touched during extraction.
@@ -189,7 +189,7 @@ phases:
189
189
  required: false
190
190
 
191
191
  - name: consolidate
192
- model: claude-sonnet-4-6
192
+ reasoningLevel: default
193
193
  dependsOn: [extract]
194
194
  prompt: |
195
195
  Consolidate related spores into wisdom and clean up redundancy.
@@ -254,76 +254,12 @@ phases:
254
254
  maxTurns: 25
255
255
  required: false
256
256
 
257
- - name: graph
258
- model: claude-sonnet-4-6
259
- dependsOn: [extract]
260
- prompt: |
261
- Build the knowledge graph: create entities, then link spores to them.
262
-
263
- New graph work may still be warranted even when extract skipped, because
264
- spores and entities can be created by coding agents or manual curation.
265
- Focus on recent or high-signal active spores and obvious entity gaps.
266
- If a quick review shows no meaningful new graph work, report "skip".
267
-
268
- The graph has two layers:
269
- - Lineage (automatic): spore→session, spore→batch — already done
270
- - Semantic (your job): spore→entity, entity→entity — you create these
271
-
272
- ## Step 1: Review spores and existing entities (2 turns)
273
-
274
- 1. Call `vault_spores` with status "active" to see current spores
275
- 2. Call `vault_entities` to see existing graph entities
276
- 3. Call `vault_edges` to see existing relationships
277
-
278
- ## Step 2: Create entities (budget: 6 turns)
279
-
280
- For components/concepts/people that appear across multiple spores:
281
- - Call `vault_create_entity` with type: component | concept | person
282
- - Focus on entities that help understand the system architecture
283
- - Prefer fewer well-defined entities over many vague ones
284
-
285
- ## Step 3: Link spores to entities (budget: 12 turns) — CRITICAL
286
-
287
- For EACH entity (newly created AND existing unlinked ones):
288
- 1. Call `vault_search_semantic` with the entity name to find related spores
289
- 2. Before creating an edge, call `vault_edges` with `source_id` and
290
- `target_id` to verify it does not already exist
291
- 3. For each relevant search result, call `vault_create_edge`:
292
- - type: REFERENCES
293
- - source_id: the spore ID, source_type: spore
294
- - target_id: the entity ID, target_type: entity
295
- 4. Entities without edges are invisible — always link after creating
296
-
297
- ## Step 4: Structural edges between entities (remaining turns)
298
-
299
- For architectural dependencies between entities:
300
- - DEPENDS_ON (entity→entity): "daemon" depends on "SQLite"
301
- - AFFECTS (spore→entity): a gotcha that impacts a component
302
-
303
- Do NOT create lineage edges (FROM_SESSION, EXTRACTED_FROM, etc.)
304
-
305
- Call `vault_report` with action "graph" reporting:
306
- - Entities created: N
307
- - Spore→entity REFERENCES edges: N
308
- - Entity→entity structural edges: N
309
- tools:
310
- - vault_spores
311
- - vault_sessions
312
- - vault_search_semantic
313
- - vault_entities
314
- - vault_edges
315
- - vault_create_entity
316
- - vault_create_edge
317
- - vault_report
318
- maxTurns: 35
319
- required: false
320
-
321
257
  # ---- Digest: assess + 3 parallel tier writes ----
322
258
  # The assess phase gathers context, then each tier runs independently
323
259
  # in the same wave via Promise.allSettled().
324
260
 
325
261
  - name: digest-assess
326
- model: claude-sonnet-4-6
262
+ reasoningLevel: default
327
263
  dependsOn: [consolidate]
328
264
  prompt: |
329
265
  Assess current digest state and gather material for tier updates.
@@ -390,7 +326,7 @@ phases:
390
326
  required: true
391
327
 
392
328
  - name: digest-10000
393
- model: claude-haiku-4-5-20251001
329
+ reasoningLevel: low
394
330
  dependsOn: [digest-assess]
395
331
  prompt: |
396
332
  Update digest tier 10000 — Full institutional knowledge.
@@ -427,7 +363,7 @@ phases:
427
363
  required: false
428
364
 
429
365
  - name: digest-5000
430
- model: claude-haiku-4-5-20251001
366
+ reasoningLevel: low
431
367
  dependsOn: [digest-assess]
432
368
  prompt: |
433
369
  Update digest tier 5000 — Deep onboarding.
@@ -463,7 +399,7 @@ phases:
463
399
  required: false
464
400
 
465
401
  - name: digest-1500
466
- model: claude-haiku-4-5-20251001
402
+ reasoningLevel: low
467
403
  dependsOn: [digest-assess]
468
404
  prompt: |
469
405
  Update digest tier 1500 — Executive briefing.
@@ -499,8 +435,8 @@ phases:
499
435
  required: false
500
436
 
501
437
  - name: report
502
- model: claude-haiku-4-5-20251001
503
- dependsOn: [extract, summarize, consolidate, graph, digest-assess, digest-10000, digest-5000, digest-1500]
438
+ reasoningLevel: low
439
+ dependsOn: [extract, summarize, consolidate, digest-assess, digest-10000, digest-5000, digest-1500]
504
440
  prompt: |
505
441
  Summarize what was done across all phases.
506
442
 
@@ -509,7 +445,6 @@ phases:
509
445
  - Spores created: N (by type)
510
446
  - Sessions updated: N
511
447
  - Wisdom created: N
512
- - Entities created: N, edges created: N
513
448
  - Digest tiers written: N
514
449
 
515
450
  This report MUST be the last tool call of the run.