clawvault 3.1.0 → 3.2.1

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 (273) hide show
  1. package/README.md +422 -141
  2. package/bin/clawvault.js +10 -2
  3. package/bin/command-registration.test.js +3 -1
  4. package/bin/command-runtime.js +9 -1
  5. package/bin/register-core-commands.js +23 -28
  6. package/bin/register-maintenance-commands.js +39 -3
  7. package/bin/register-query-commands.js +58 -29
  8. package/bin/register-tailscale-commands.js +106 -0
  9. package/bin/register-task-commands.js +18 -1
  10. package/bin/register-task-commands.test.js +16 -0
  11. package/bin/register-vault-operations-commands.js +29 -1
  12. package/bin/register-workgraph-commands.js +451 -0
  13. package/dashboard/lib/graph-diff.js +104 -0
  14. package/dashboard/lib/graph-diff.test.js +75 -0
  15. package/dashboard/lib/vault-parser.js +556 -0
  16. package/dashboard/lib/vault-parser.test.js +254 -0
  17. package/dashboard/public/app.js +796 -0
  18. package/dashboard/public/index.html +52 -0
  19. package/dashboard/public/styles.css +221 -0
  20. package/dashboard/server.js +374 -0
  21. package/dist/{chunk-C7OK5WKP.js → chunk-2JQ3O2YL.js} +4 -4
  22. package/dist/{chunk-VR5NE7PZ.js → chunk-2RAZ4ZFE.js} +1 -1
  23. package/dist/{chunk-F2JEUD4J.js → chunk-4ITRXIVT.js} +5 -7
  24. package/dist/{chunk-GUKMRGM7.js → chunk-4OXMU5S2.js} +1 -1
  25. package/dist/chunk-5PJ4STIC.js +465 -0
  26. package/dist/{chunk-62YTUT6J.js → chunk-AZYOKJYC.js} +2 -2
  27. package/dist/chunk-BSJ6RIT7.js +447 -0
  28. package/dist/chunk-ECRZL5XR.js +50 -0
  29. package/dist/chunk-ERNE2FZ5.js +189 -0
  30. package/dist/{chunk-WAZ3NLWL.js → chunk-F55HGNU4.js} +0 -47
  31. package/dist/{chunk-VGLOTGAS.js → chunk-FAKNOB7Y.js} +2 -2
  32. package/dist/{chunk-QK3UCXWL.js → chunk-FHFUXL6G.js} +2 -2
  33. package/dist/chunk-GNJL4YGR.js +79 -0
  34. package/dist/chunk-HR4KN6S2.js +152 -0
  35. package/dist/{chunk-OZ7RIXTO.js → chunk-IIOU45CK.js} +1 -1
  36. package/dist/chunk-IJBFGPCS.js +33 -0
  37. package/dist/chunk-IVRIKYFE.js +520 -0
  38. package/dist/chunk-K7PNYS45.js +93 -0
  39. package/dist/chunk-MDIH26GC.js +183 -0
  40. package/dist/{chunk-LYHGEHXG.js → chunk-MFAWT5O5.js} +0 -1
  41. package/dist/{chunk-H34S76MB.js → chunk-MNPUYCHQ.js} +6 -6
  42. package/dist/chunk-NTOPJI7W.js +207 -0
  43. package/dist/{chunk-QBLMXKF2.js → chunk-OIWVQYQF.js} +1 -1
  44. package/dist/chunk-PG56HX5T.js +154 -0
  45. package/dist/{chunk-LNJA2UGL.js → chunk-PI4WMLMG.js} +7 -84
  46. package/dist/chunk-QMHPQYUV.js +363 -0
  47. package/dist/{chunk-H62BP7RI.js → chunk-QPDDIHXE.js} +209 -43
  48. package/dist/{chunk-N2AXRYLC.js → chunk-QWQ3TIKS.js} +1 -1
  49. package/dist/{chunk-3DHXQHYG.js → chunk-R2MIW5G7.js} +1 -1
  50. package/dist/{chunk-SJSFRIYS.js → chunk-S5OJEGFG.js} +2 -2
  51. package/dist/chunk-SS4B7P7V.js +99 -0
  52. package/dist/chunk-TIGW564L.js +628 -0
  53. package/dist/chunk-U67V476Y.js +35 -0
  54. package/dist/{chunk-JY6FYXIT.js → chunk-UCQAOZHW.js} +6 -11
  55. package/dist/{chunk-ITPEXLHA.js → chunk-URXDAUVH.js} +24 -5
  56. package/dist/chunk-WIOLLGAD.js +190 -0
  57. package/dist/{chunk-3WRJEKN4.js → chunk-WJVWINEM.js} +72 -8
  58. package/dist/chunk-WMGIIABP.js +15 -0
  59. package/dist/{chunk-33UGEQRT.js → chunk-X3SPPUFG.js} +151 -64
  60. package/dist/{chunk-3NSBOUT3.js → chunk-Y3TIJEBP.js} +314 -79
  61. package/dist/chunk-Y6VJKXGL.js +373 -0
  62. package/dist/{chunk-LI4O6NVK.js → chunk-YDWHS4LJ.js} +49 -9
  63. package/dist/{chunk-U55BGUAU.js → chunk-YNIPYN4F.js} +5 -5
  64. package/dist/chunk-YXQCA6B7.js +226 -0
  65. package/dist/cli/index.js +26 -22
  66. package/dist/commands/archive.js +3 -3
  67. package/dist/commands/backlog.js +3 -3
  68. package/dist/commands/blocked.js +3 -3
  69. package/dist/commands/canvas.d.ts +15 -0
  70. package/dist/commands/canvas.js +200 -0
  71. package/dist/commands/checkpoint.js +2 -2
  72. package/dist/commands/compat.js +2 -2
  73. package/dist/commands/context.js +7 -5
  74. package/dist/commands/doctor.d.ts +11 -7
  75. package/dist/commands/doctor.js +16 -14
  76. package/dist/commands/embed.js +5 -6
  77. package/dist/commands/entities.js +2 -2
  78. package/dist/commands/graph.js +3 -3
  79. package/dist/commands/inject.d.ts +1 -1
  80. package/dist/commands/inject.js +4 -5
  81. package/dist/commands/kanban.js +4 -4
  82. package/dist/commands/link.js +2 -2
  83. package/dist/commands/migrate-observations.js +4 -4
  84. package/dist/commands/observe.d.ts +0 -1
  85. package/dist/commands/observe.js +13 -12
  86. package/dist/commands/project.js +5 -5
  87. package/dist/commands/rebuild-embeddings.d.ts +21 -0
  88. package/dist/commands/rebuild-embeddings.js +91 -0
  89. package/dist/commands/rebuild.js +12 -11
  90. package/dist/commands/recover.js +3 -3
  91. package/dist/commands/reflect.js +6 -7
  92. package/dist/commands/repair-session.js +1 -1
  93. package/dist/commands/replay.js +14 -14
  94. package/dist/commands/session-recap.js +1 -1
  95. package/dist/commands/setup.d.ts +2 -89
  96. package/dist/commands/setup.js +3 -21
  97. package/dist/commands/shell-init.js +1 -1
  98. package/dist/commands/sleep.d.ts +1 -1
  99. package/dist/commands/sleep.js +18 -17
  100. package/dist/commands/status.d.ts +2 -0
  101. package/dist/commands/status.js +40 -30
  102. package/dist/commands/sync-bd.d.ts +10 -0
  103. package/dist/commands/sync-bd.js +10 -0
  104. package/dist/commands/tailscale.d.ts +52 -0
  105. package/dist/commands/tailscale.js +26 -0
  106. package/dist/commands/task.js +4 -4
  107. package/dist/commands/template.js +2 -2
  108. package/dist/commands/wake.d.ts +1 -1
  109. package/dist/commands/wake.js +11 -10
  110. package/dist/index.d.ts +334 -191
  111. package/dist/index.js +432 -108
  112. package/dist/{inject-Bzi5E-By.d.ts → inject-DYUrDqQO.d.ts} +3 -3
  113. package/dist/ledger-B7g7jhqG.d.ts +44 -0
  114. package/dist/lib/auto-linker.js +1 -1
  115. package/dist/lib/canvas-layout.d.ts +115 -0
  116. package/dist/lib/canvas-layout.js +35 -0
  117. package/dist/lib/config.d.ts +27 -3
  118. package/dist/lib/config.js +4 -2
  119. package/dist/lib/entity-index.js +1 -1
  120. package/dist/lib/project-utils.js +4 -4
  121. package/dist/lib/session-repair.js +1 -1
  122. package/dist/lib/session-utils.js +1 -1
  123. package/dist/lib/tailscale.d.ts +225 -0
  124. package/dist/lib/tailscale.js +50 -0
  125. package/dist/lib/task-utils.js +3 -3
  126. package/dist/lib/template-engine.js +1 -1
  127. package/dist/lib/webdav.d.ts +109 -0
  128. package/dist/lib/webdav.js +35 -0
  129. package/dist/plugin/index.d.ts +344 -28
  130. package/dist/plugin/index.js +3919 -227
  131. package/dist/registry-BR4326o0.d.ts +30 -0
  132. package/dist/store-CA-6sKCJ.d.ts +34 -0
  133. package/dist/thread-B9LhXNU0.d.ts +41 -0
  134. package/dist/{types-Y2_Um2Ls.d.ts → types-BbWJoC1c.d.ts} +1 -44
  135. package/dist/workgraph/index.d.ts +5 -0
  136. package/dist/workgraph/index.js +23 -0
  137. package/dist/workgraph/ledger.d.ts +2 -0
  138. package/dist/workgraph/ledger.js +25 -0
  139. package/dist/workgraph/registry.d.ts +2 -0
  140. package/dist/workgraph/registry.js +19 -0
  141. package/dist/workgraph/store.d.ts +2 -0
  142. package/dist/workgraph/store.js +25 -0
  143. package/dist/workgraph/thread.d.ts +2 -0
  144. package/dist/workgraph/thread.js +25 -0
  145. package/dist/workgraph/types.d.ts +54 -0
  146. package/dist/workgraph/types.js +7 -0
  147. package/hooks/clawvault/HOOK.md +113 -0
  148. package/hooks/clawvault/handler.js +1559 -0
  149. package/hooks/clawvault/handler.test.js +510 -0
  150. package/hooks/clawvault/openclaw.plugin.json +72 -0
  151. package/openclaw.plugin.json +235 -30
  152. package/package.json +20 -20
  153. package/dist/chunk-3RG5ZIWI.js +0 -10
  154. package/dist/chunk-3ZIH425O.js +0 -871
  155. package/dist/chunk-6U6MK36V.js +0 -205
  156. package/dist/chunk-CMB7UL7C.js +0 -327
  157. package/dist/chunk-D2H45LON.js +0 -1074
  158. package/dist/chunk-E7MFQB6D.js +0 -163
  159. package/dist/chunk-GQSLDZTS.js +0 -560
  160. package/dist/chunk-MFM6K7PU.js +0 -374
  161. package/dist/chunk-MXSSG3QU.js +0 -42
  162. package/dist/chunk-OCGVIN3L.js +0 -88
  163. package/dist/chunk-PAH27GSN.js +0 -108
  164. package/dist/chunk-YCUNCH2I.js +0 -78
  165. package/dist/cli/index.cjs +0 -8584
  166. package/dist/cli/index.d.cts +0 -5
  167. package/dist/commands/archive.cjs +0 -287
  168. package/dist/commands/archive.d.cts +0 -11
  169. package/dist/commands/backlog.cjs +0 -721
  170. package/dist/commands/backlog.d.cts +0 -53
  171. package/dist/commands/blocked.cjs +0 -204
  172. package/dist/commands/blocked.d.cts +0 -26
  173. package/dist/commands/checkpoint.cjs +0 -244
  174. package/dist/commands/checkpoint.d.cts +0 -41
  175. package/dist/commands/compat.cjs +0 -294
  176. package/dist/commands/compat.d.cts +0 -28
  177. package/dist/commands/context.cjs +0 -2990
  178. package/dist/commands/context.d.cts +0 -2
  179. package/dist/commands/doctor.cjs +0 -2986
  180. package/dist/commands/doctor.d.cts +0 -21
  181. package/dist/commands/embed.cjs +0 -232
  182. package/dist/commands/embed.d.cts +0 -17
  183. package/dist/commands/entities.cjs +0 -141
  184. package/dist/commands/entities.d.cts +0 -7
  185. package/dist/commands/graph.cjs +0 -501
  186. package/dist/commands/graph.d.cts +0 -21
  187. package/dist/commands/inject.cjs +0 -1636
  188. package/dist/commands/inject.d.cts +0 -2
  189. package/dist/commands/kanban.cjs +0 -884
  190. package/dist/commands/kanban.d.cts +0 -63
  191. package/dist/commands/link.cjs +0 -965
  192. package/dist/commands/link.d.cts +0 -11
  193. package/dist/commands/migrate-observations.cjs +0 -362
  194. package/dist/commands/migrate-observations.d.cts +0 -19
  195. package/dist/commands/observe.cjs +0 -4099
  196. package/dist/commands/observe.d.cts +0 -23
  197. package/dist/commands/project.cjs +0 -1341
  198. package/dist/commands/project.d.cts +0 -85
  199. package/dist/commands/rebuild.cjs +0 -3136
  200. package/dist/commands/rebuild.d.cts +0 -11
  201. package/dist/commands/recover.cjs +0 -361
  202. package/dist/commands/recover.d.cts +0 -38
  203. package/dist/commands/reflect.cjs +0 -1008
  204. package/dist/commands/reflect.d.cts +0 -11
  205. package/dist/commands/repair-session.cjs +0 -457
  206. package/dist/commands/repair-session.d.cts +0 -38
  207. package/dist/commands/replay.cjs +0 -4103
  208. package/dist/commands/replay.d.cts +0 -16
  209. package/dist/commands/session-recap.cjs +0 -353
  210. package/dist/commands/session-recap.d.cts +0 -27
  211. package/dist/commands/setup.cjs +0 -1278
  212. package/dist/commands/setup.d.cts +0 -99
  213. package/dist/commands/shell-init.cjs +0 -75
  214. package/dist/commands/shell-init.d.cts +0 -7
  215. package/dist/commands/sleep.cjs +0 -6029
  216. package/dist/commands/sleep.d.cts +0 -36
  217. package/dist/commands/status.cjs +0 -2737
  218. package/dist/commands/status.d.cts +0 -52
  219. package/dist/commands/task.cjs +0 -1236
  220. package/dist/commands/task.d.cts +0 -97
  221. package/dist/commands/template.cjs +0 -457
  222. package/dist/commands/template.d.cts +0 -36
  223. package/dist/commands/wake.cjs +0 -2627
  224. package/dist/commands/wake.d.cts +0 -22
  225. package/dist/context-BUGaWpyL.d.cts +0 -46
  226. package/dist/index.cjs +0 -12373
  227. package/dist/index.d.cts +0 -854
  228. package/dist/inject-Bzi5E-By.d.cts +0 -137
  229. package/dist/lib/auto-linker.cjs +0 -176
  230. package/dist/lib/auto-linker.d.cts +0 -26
  231. package/dist/lib/config.cjs +0 -78
  232. package/dist/lib/config.d.cts +0 -11
  233. package/dist/lib/entity-index.cjs +0 -84
  234. package/dist/lib/entity-index.d.cts +0 -26
  235. package/dist/lib/project-utils.cjs +0 -864
  236. package/dist/lib/project-utils.d.cts +0 -97
  237. package/dist/lib/session-repair.cjs +0 -239
  238. package/dist/lib/session-repair.d.cts +0 -110
  239. package/dist/lib/session-utils.cjs +0 -209
  240. package/dist/lib/session-utils.d.cts +0 -63
  241. package/dist/lib/task-utils.cjs +0 -1137
  242. package/dist/lib/task-utils.d.cts +0 -208
  243. package/dist/lib/template-engine.cjs +0 -47
  244. package/dist/lib/template-engine.d.cts +0 -11
  245. package/dist/plugin/index.cjs +0 -1907
  246. package/dist/plugin/index.d.cts +0 -36
  247. package/dist/plugin/inject.cjs +0 -356
  248. package/dist/plugin/inject.d.cts +0 -54
  249. package/dist/plugin/inject.d.ts +0 -54
  250. package/dist/plugin/inject.js +0 -17
  251. package/dist/plugin/observe.cjs +0 -631
  252. package/dist/plugin/observe.d.cts +0 -39
  253. package/dist/plugin/observe.d.ts +0 -39
  254. package/dist/plugin/observe.js +0 -18
  255. package/dist/plugin/templates.cjs +0 -593
  256. package/dist/plugin/templates.d.cts +0 -52
  257. package/dist/plugin/templates.d.ts +0 -52
  258. package/dist/plugin/templates.js +0 -25
  259. package/dist/plugin/types.cjs +0 -18
  260. package/dist/plugin/types.d.cts +0 -209
  261. package/dist/plugin/types.d.ts +0 -209
  262. package/dist/plugin/types.js +0 -0
  263. package/dist/plugin/vault.cjs +0 -927
  264. package/dist/plugin/vault.d.cts +0 -68
  265. package/dist/plugin/vault.d.ts +0 -68
  266. package/dist/plugin/vault.js +0 -22
  267. package/dist/types-Y2_Um2Ls.d.cts +0 -205
  268. package/templates/memory-event.md +0 -67
  269. package/templates/party.md +0 -63
  270. package/templates/primitive-registry.yaml +0 -551
  271. package/templates/run.md +0 -68
  272. package/templates/trigger.md +0 -68
  273. package/templates/workspace.md +0 -50
@@ -1,551 +0,0 @@
1
- version: 1
2
- primitives:
3
- workspace:
4
- canonical: true
5
- storageDir: workspaces
6
- writerPolicyProfile: human_cli
7
- writers: [cli, human]
8
- cli:
9
- enabled: true
10
- create: true
11
- update: true
12
- list: true
13
- show: true
14
- allowCustomFields: true
15
- customFieldPrefixes: [x_]
16
- fields:
17
- type:
18
- type: string
19
- required: true
20
- default: workspace
21
- description: Primitive discriminator for workspace documents.
22
- status:
23
- type: string
24
- required: true
25
- default: active
26
- enum:
27
- - active
28
- - paused
29
- - archived
30
- description: Workspace lifecycle state.
31
- created:
32
- type: datetime
33
- required: true
34
- default: "{{datetime}}"
35
- description: ISO timestamp when the workspace was created.
36
- updated:
37
- type: datetime
38
- required: true
39
- default: "{{datetime}}"
40
- description: ISO timestamp when the workspace was last updated.
41
- owner:
42
- type: string
43
- description: Primary workspace owner.
44
- parties:
45
- type: string[]
46
- description: Related party slugs.
47
- policy_profile:
48
- type: string
49
- description: Default policy profile for automation.
50
- tags:
51
- type: string[]
52
- description: Labels used for filtering.
53
- description:
54
- type: string
55
- description: One-line summary of workspace intent.
56
- project:
57
- canonical: true
58
- storageDir: projects
59
- writerPolicyProfile: human_cli
60
- writers: [cli, human]
61
- cli:
62
- enabled: false
63
- allowCustomFields: true
64
- customFieldPrefixes: [x_]
65
- fields:
66
- type:
67
- type: string
68
- required: true
69
- default: project
70
- description: Primitive discriminator for project documents.
71
- status:
72
- type: string
73
- required: true
74
- default: active
75
- enum:
76
- - active
77
- - paused
78
- - completed
79
- - archived
80
- description: Project lifecycle state.
81
- created:
82
- type: datetime
83
- required: true
84
- default: "{{datetime}}"
85
- description: ISO timestamp when the project was created.
86
- updated:
87
- type: datetime
88
- required: true
89
- default: "{{datetime}}"
90
- description: ISO timestamp of the most recent update.
91
- owner:
92
- type: string
93
- description: Primary owner for the project.
94
- team:
95
- type: string[]
96
- description: Team members collaborating on the project.
97
- client:
98
- type: string
99
- description: Client or stakeholder name.
100
- tags:
101
- type: string[]
102
- description: Labels used for filtering.
103
- description:
104
- type: string
105
- description: One-line project summary.
106
- started:
107
- type: date
108
- description: Optional project start date.
109
- deadline:
110
- type: date
111
- description: Project due date.
112
- repo:
113
- type: string
114
- description: Source repository URL.
115
- url:
116
- type: string
117
- description: Production or staging URL.
118
- completed:
119
- type: datetime
120
- description: Completion timestamp when finished.
121
- reason:
122
- type: string
123
- description: Optional reason for archival/completion.
124
- task:
125
- canonical: true
126
- storageDir: tasks
127
- writerPolicyProfile: human_cli
128
- writers: [cli, human]
129
- cli:
130
- enabled: false
131
- allowCustomFields: true
132
- customFieldPrefixes: [x_]
133
- fields:
134
- status:
135
- type: string
136
- required: true
137
- default: open
138
- enum:
139
- - open
140
- - in-progress
141
- - blocked
142
- - done
143
- description: Task lifecycle state.
144
- source:
145
- type: string
146
- description: Origin of the task request.
147
- created:
148
- type: datetime
149
- required: true
150
- default: "{{datetime}}"
151
- description: ISO timestamp when the task was created.
152
- updated:
153
- type: datetime
154
- required: true
155
- default: "{{datetime}}"
156
- description: ISO timestamp of the latest task update.
157
- owner:
158
- type: string
159
- description: Task owner.
160
- project:
161
- type: string
162
- description: Related project slug.
163
- priority:
164
- type: string
165
- enum:
166
- - critical
167
- - high
168
- - medium
169
- - low
170
- description: Priority used for sorting and urgency.
171
- blocked_by:
172
- type: string
173
- description: Blocker description when status is blocked.
174
- completed:
175
- type: datetime
176
- description: Completion timestamp when status is done.
177
- escalation:
178
- type: boolean
179
- description: Escalation flag raised after repeated blocked transitions.
180
- confidence:
181
- type: number
182
- description: Optional confidence score for transitions.
183
- reason:
184
- type: string
185
- description: Optional reason for a transition.
186
- due:
187
- type: date
188
- description: Due date in YYYY-MM-DD format.
189
- tags:
190
- type: string[]
191
- description: Tags used for filtering.
192
- description:
193
- type: string
194
- description: One-line task summary.
195
- estimate:
196
- type: string
197
- description: Effort estimate (for example 2h, 1d, 1w).
198
- parent:
199
- type: string
200
- description: Parent task slug.
201
- depends_on:
202
- type: string[]
203
- description: Upstream task slugs that this task depends on.
204
- run:
205
- canonical: true
206
- storageDir: runs
207
- writerPolicyProfile: automation
208
- writers: [cli, human, trigger_engine]
209
- cli:
210
- enabled: true
211
- create: true
212
- update: true
213
- list: true
214
- show: true
215
- allowCustomFields: true
216
- customFieldPrefixes: [x_]
217
- fields:
218
- type:
219
- type: string
220
- required: true
221
- default: run
222
- description: Primitive discriminator for run documents.
223
- status:
224
- type: string
225
- required: true
226
- default: queued
227
- enum:
228
- - queued
229
- - running
230
- - succeeded
231
- - failed
232
- - cancelled
233
- description: Run lifecycle state.
234
- created:
235
- type: datetime
236
- required: true
237
- default: "{{datetime}}"
238
- description: ISO timestamp when the run was created.
239
- updated:
240
- type: datetime
241
- required: true
242
- default: "{{datetime}}"
243
- description: ISO timestamp of the latest run update.
244
- started:
245
- type: datetime
246
- description: Timestamp when execution started.
247
- finished:
248
- type: datetime
249
- description: Timestamp when execution ended.
250
- trigger_id:
251
- type: string
252
- description: Trigger primitive that initiated this run.
253
- task_id:
254
- type: string
255
- description: Task primitive associated with the run.
256
- project:
257
- type: string
258
- description: Related project slug.
259
- owner:
260
- type: string
261
- description: Run owner.
262
- actor:
263
- type: string
264
- description: Runtime actor responsible for execution.
265
- idempotency_key:
266
- type: string
267
- required: true
268
- description: Idempotency key used to guarantee exactly-once semantics.
269
- result:
270
- type: string
271
- description: Human-readable result summary.
272
- error:
273
- type: string
274
- description: Error summary when status is failed.
275
- trigger:
276
- canonical: true
277
- storageDir: triggers
278
- writerPolicyProfile: human_cli
279
- writers: [cli, human]
280
- cli:
281
- enabled: true
282
- create: true
283
- update: true
284
- list: true
285
- show: true
286
- allowCustomFields: true
287
- customFieldPrefixes: [x_]
288
- fields:
289
- type:
290
- type: string
291
- required: true
292
- default: trigger
293
- description: Primitive discriminator for trigger documents.
294
- status:
295
- type: string
296
- required: true
297
- default: active
298
- enum:
299
- - active
300
- - paused
301
- - archived
302
- description: Trigger lifecycle state.
303
- created:
304
- type: datetime
305
- required: true
306
- default: "{{datetime}}"
307
- description: ISO timestamp when trigger was created.
308
- updated:
309
- type: datetime
310
- required: true
311
- default: "{{datetime}}"
312
- description: ISO timestamp when trigger was last updated.
313
- trigger_type:
314
- type: string
315
- required: true
316
- enum:
317
- - manual
318
- - schedule
319
- - event
320
- description: Trigger activation mode.
321
- target:
322
- type: string
323
- required: true
324
- description: Target task or project identifier.
325
- owner:
326
- type: string
327
- description: Trigger owner.
328
- idempotency_scope:
329
- type: string
330
- required: true
331
- default: per-target
332
- enum:
333
- - per-target
334
- - global
335
- - windowed
336
- description: Strategy for idempotency key uniqueness.
337
- policy_profile:
338
- type: string
339
- description: Policy profile required for trigger execution.
340
- schedule:
341
- type: string
342
- description: Optional cron expression for scheduled triggers.
343
- description:
344
- type: string
345
- description: One-line trigger summary.
346
- party:
347
- canonical: true
348
- storageDir: parties
349
- writerPolicyProfile: human_cli
350
- writers: [cli, human]
351
- cli:
352
- enabled: true
353
- create: true
354
- update: true
355
- list: true
356
- show: true
357
- allowCustomFields: true
358
- customFieldPrefixes: [x_]
359
- fields:
360
- type:
361
- type: string
362
- required: true
363
- default: party
364
- description: Primitive discriminator for party documents.
365
- status:
366
- type: string
367
- required: true
368
- default: active
369
- enum:
370
- - active
371
- - inactive
372
- - archived
373
- description: Party lifecycle state.
374
- created:
375
- type: datetime
376
- required: true
377
- default: "{{datetime}}"
378
- description: ISO timestamp when party was added.
379
- updated:
380
- type: datetime
381
- required: true
382
- default: "{{datetime}}"
383
- description: ISO timestamp of the latest update.
384
- party_type:
385
- type: string
386
- required: true
387
- enum:
388
- - human
389
- - agent
390
- - runtime
391
- - service
392
- description: Role classification.
393
- handle:
394
- type: string
395
- required: true
396
- description: Primary identifier for routing and ownership.
397
- owner:
398
- type: string
399
- description: Owner or steward for this party entry.
400
- capabilities:
401
- type: string[]
402
- description: Capability tags used for assignment.
403
- runtime:
404
- type: string
405
- description: Runtime name when party_type is agent/runtime.
406
- policy_profile:
407
- type: string
408
- description: Policy profile applied to this party.
409
- description:
410
- type: string
411
- description: One-line party summary.
412
- memory_event:
413
- canonical: true
414
- storageDir: .clawvault/memory-events
415
- writerPolicyProfile: observer_ingest
416
- writers: [observer, runtime_adapter]
417
- cli:
418
- enabled: false
419
- allowCustomFields: true
420
- customFieldPrefixes: [x_]
421
- fields:
422
- type:
423
- type: string
424
- required: true
425
- default: memory_event
426
- description: Primitive discriminator for memory events.
427
- status:
428
- type: string
429
- required: true
430
- default: recorded
431
- enum:
432
- - recorded
433
- - superseded
434
- - corrected
435
- description: Memory event lifecycle state.
436
- created:
437
- type: datetime
438
- required: true
439
- default: "{{datetime}}"
440
- description: Event ingestion timestamp.
441
- observed_at:
442
- type: datetime
443
- required: true
444
- description: Source session timestamp for observed behavior.
445
- source:
446
- type: string
447
- required: true
448
- enum:
449
- - openclaw
450
- - claude-code
451
- - replay
452
- - manual-correction
453
- description: Event source channel.
454
- session_id:
455
- type: string
456
- description: Runtime session identifier.
457
- continuity_event:
458
- type: string
459
- enum:
460
- - none
461
- - new
462
- - reset
463
- default: none
464
- description: Continuity marker for /new or /reset transitions.
465
- confidence:
466
- type: number
467
- description: Confidence score for extracted event.
468
- importance:
469
- type: number
470
- description: Importance score used by promotion and retrieval.
471
- run_id:
472
- type: string
473
- description: Related run primitive identifier.
474
- summary:
475
- type: string
476
- required: true
477
- description: Structured summary of the observed memory event.
478
- decision:
479
- canonical: true
480
- storageDir: decisions
481
- writerPolicyProfile: promotion
482
- writers: [promotion_engine, cli, human]
483
- cli:
484
- enabled: false
485
- allowCustomFields: true
486
- customFieldPrefixes: [x_]
487
- fields:
488
- title:
489
- type: string
490
- required: true
491
- default: "{{title}}"
492
- description: Decision title.
493
- date:
494
- type: date
495
- required: true
496
- default: "{{date}}"
497
- description: Date the decision was captured.
498
- type:
499
- type: string
500
- required: true
501
- default: decision
502
- description: Primitive discriminator for decision notes.
503
- status:
504
- type: string
505
- default: decided
506
- enum:
507
- - proposed
508
- - decided
509
- - superseded
510
- description: Decision state.
511
- lesson:
512
- canonical: true
513
- storageDir: lessons
514
- writerPolicyProfile: promotion
515
- writers: [promotion_engine, cli, human]
516
- cli:
517
- enabled: false
518
- allowCustomFields: true
519
- customFieldPrefixes: [x_]
520
- fields:
521
- title:
522
- type: string
523
- required: true
524
- default: "{{title}}"
525
- description: Lesson title.
526
- date:
527
- type: date
528
- required: true
529
- default: "{{date}}"
530
- description: Date the lesson was captured.
531
- type:
532
- type: string
533
- required: true
534
- default: lesson
535
- description: Primitive discriminator for lessons.
536
- policy:
537
- canonical: true
538
- storageDir: policies
539
- writerPolicyProfile: human_cli
540
- writers: [cli, human]
541
- cli:
542
- enabled: false
543
- allowCustomFields: true
544
- customFieldPrefixes: [x_]
545
- resume_packet:
546
- canonical: false
547
- derived: true
548
- storageDir: .clawvault/resume-packets
549
- digest:
550
- canonical: false
551
- derived: true
package/templates/run.md DELETED
@@ -1,68 +0,0 @@
1
- ---
2
- primitive: run
3
- description: Canonical schema for task/project run executions.
4
- fields:
5
- type:
6
- type: string
7
- required: true
8
- default: run
9
- description: Primitive discriminator for run documents.
10
- status:
11
- type: string
12
- required: true
13
- default: queued
14
- enum:
15
- - queued
16
- - running
17
- - succeeded
18
- - failed
19
- - cancelled
20
- description: Run lifecycle state.
21
- created:
22
- type: datetime
23
- required: true
24
- default: "{{datetime}}"
25
- description: ISO timestamp when the run was created.
26
- updated:
27
- type: datetime
28
- required: true
29
- default: "{{datetime}}"
30
- description: ISO timestamp of the latest run update.
31
- started:
32
- type: datetime
33
- description: Timestamp when execution started.
34
- finished:
35
- type: datetime
36
- description: Timestamp when execution ended.
37
- trigger_id:
38
- type: string
39
- description: Trigger primitive that initiated this run.
40
- task_id:
41
- type: string
42
- description: Task primitive associated with the run.
43
- project:
44
- type: string
45
- description: Related project slug.
46
- owner:
47
- type: string
48
- description: Run owner.
49
- actor:
50
- type: string
51
- description: Runtime actor responsible for execution.
52
- idempotency_key:
53
- type: string
54
- required: true
55
- description: Idempotency key used to guarantee exactly-once semantics.
56
- result:
57
- type: string
58
- description: Human-readable result summary.
59
- error:
60
- type: string
61
- description: Error summary when status is failed.
62
- ---
63
-
64
- # {{title}}
65
-
66
- {{links_line}}
67
-
68
- {{content}}
@@ -1,68 +0,0 @@
1
- ---
2
- primitive: trigger
3
- description: Canonical schema for run trigger definitions.
4
- fields:
5
- type:
6
- type: string
7
- required: true
8
- default: trigger
9
- description: Primitive discriminator for trigger documents.
10
- status:
11
- type: string
12
- required: true
13
- default: active
14
- enum:
15
- - active
16
- - paused
17
- - archived
18
- description: Trigger lifecycle state.
19
- created:
20
- type: datetime
21
- required: true
22
- default: "{{datetime}}"
23
- description: ISO timestamp when trigger was created.
24
- updated:
25
- type: datetime
26
- required: true
27
- default: "{{datetime}}"
28
- description: ISO timestamp when trigger was last updated.
29
- trigger_type:
30
- type: string
31
- required: true
32
- enum:
33
- - manual
34
- - schedule
35
- - event
36
- description: Trigger activation mode.
37
- target:
38
- type: string
39
- required: true
40
- description: Target task or project identifier.
41
- owner:
42
- type: string
43
- description: Trigger owner.
44
- idempotency_scope:
45
- type: string
46
- required: true
47
- default: per-target
48
- enum:
49
- - per-target
50
- - global
51
- - windowed
52
- description: Strategy for idempotency key uniqueness.
53
- policy_profile:
54
- type: string
55
- description: Policy profile required for trigger execution.
56
- schedule:
57
- type: string
58
- description: Optional cron expression for scheduled triggers.
59
- description:
60
- type: string
61
- description: One-line trigger summary.
62
- ---
63
-
64
- # {{title}}
65
-
66
- {{links_line}}
67
-
68
- {{content}}