@kynetic-ai/spec 0.9.0 → 0.10.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 (291) hide show
  1. package/README.md +2 -1
  2. package/dist/acp/client.d.ts +13 -1
  3. package/dist/acp/client.d.ts.map +1 -1
  4. package/dist/acp/client.js +17 -2
  5. package/dist/acp/client.js.map +1 -1
  6. package/dist/acp/framing.d.ts +12 -1
  7. package/dist/acp/framing.d.ts.map +1 -1
  8. package/dist/acp/framing.js +27 -4
  9. package/dist/acp/framing.js.map +1 -1
  10. package/dist/agent-runtime/dispatch.d.ts +261 -0
  11. package/dist/agent-runtime/dispatch.d.ts.map +1 -0
  12. package/dist/agent-runtime/dispatch.js +791 -0
  13. package/dist/agent-runtime/dispatch.js.map +1 -0
  14. package/dist/agent-runtime/index.d.ts +11 -0
  15. package/dist/agent-runtime/index.d.ts.map +1 -0
  16. package/dist/agent-runtime/index.js +11 -0
  17. package/dist/agent-runtime/index.js.map +1 -0
  18. package/dist/agent-runtime/invocation.d.ts +86 -0
  19. package/dist/agent-runtime/invocation.d.ts.map +1 -0
  20. package/dist/agent-runtime/invocation.js +442 -0
  21. package/dist/agent-runtime/invocation.js.map +1 -0
  22. package/dist/agent-runtime/prompts.d.ts +50 -0
  23. package/dist/agent-runtime/prompts.d.ts.map +1 -0
  24. package/dist/agent-runtime/prompts.js +108 -0
  25. package/dist/agent-runtime/prompts.js.map +1 -0
  26. package/dist/agents/spawner.d.ts.map +1 -1
  27. package/dist/agents/spawner.js +60 -4
  28. package/dist/agents/spawner.js.map +1 -1
  29. package/dist/cli/batch-exec.d.ts.map +1 -1
  30. package/dist/cli/batch-exec.js +183 -81
  31. package/dist/cli/batch-exec.js.map +1 -1
  32. package/dist/cli/batch-write-buffer.d.ts +141 -0
  33. package/dist/cli/batch-write-buffer.d.ts.map +1 -0
  34. package/dist/cli/batch-write-buffer.js +400 -0
  35. package/dist/cli/batch-write-buffer.js.map +1 -0
  36. package/dist/cli/commands/agent.d.ts +20 -0
  37. package/dist/cli/commands/agent.d.ts.map +1 -0
  38. package/dist/cli/commands/agent.js +831 -0
  39. package/dist/cli/commands/agent.js.map +1 -0
  40. package/dist/cli/commands/agents.d.ts +1 -1
  41. package/dist/cli/commands/agents.d.ts.map +1 -1
  42. package/dist/cli/commands/agents.js +2 -1
  43. package/dist/cli/commands/agents.js.map +1 -1
  44. package/dist/cli/commands/batch.js +1 -1
  45. package/dist/cli/commands/batch.js.map +1 -1
  46. package/dist/cli/commands/inbox.d.ts.map +1 -1
  47. package/dist/cli/commands/inbox.js +46 -22
  48. package/dist/cli/commands/inbox.js.map +1 -1
  49. package/dist/cli/commands/index.d.ts +1 -0
  50. package/dist/cli/commands/index.d.ts.map +1 -1
  51. package/dist/cli/commands/index.js +1 -0
  52. package/dist/cli/commands/index.js.map +1 -1
  53. package/dist/cli/commands/init.d.ts.map +1 -1
  54. package/dist/cli/commands/init.js +4 -6
  55. package/dist/cli/commands/init.js.map +1 -1
  56. package/dist/cli/commands/item.d.ts.map +1 -1
  57. package/dist/cli/commands/item.js +34 -17
  58. package/dist/cli/commands/item.js.map +1 -1
  59. package/dist/cli/commands/log.js +1 -1
  60. package/dist/cli/commands/log.js.map +1 -1
  61. package/dist/cli/commands/merge-driver.d.ts.map +1 -1
  62. package/dist/cli/commands/merge-driver.js +8 -3
  63. package/dist/cli/commands/merge-driver.js.map +1 -1
  64. package/dist/cli/commands/meta.d.ts.map +1 -1
  65. package/dist/cli/commands/meta.js +159 -6
  66. package/dist/cli/commands/meta.js.map +1 -1
  67. package/dist/cli/commands/module.d.ts.map +1 -1
  68. package/dist/cli/commands/module.js +2 -1
  69. package/dist/cli/commands/module.js.map +1 -1
  70. package/dist/cli/commands/plan-import.js +19 -3
  71. package/dist/cli/commands/plan-import.js.map +1 -1
  72. package/dist/cli/commands/plan.d.ts.map +1 -1
  73. package/dist/cli/commands/plan.js +87 -43
  74. package/dist/cli/commands/plan.js.map +1 -1
  75. package/dist/cli/commands/ralph.d.ts +5 -51
  76. package/dist/cli/commands/ralph.d.ts.map +1 -1
  77. package/dist/cli/commands/ralph.js +52 -1462
  78. package/dist/cli/commands/ralph.js.map +1 -1
  79. package/dist/cli/commands/search.d.ts.map +1 -1
  80. package/dist/cli/commands/search.js +22 -13
  81. package/dist/cli/commands/search.js.map +1 -1
  82. package/dist/cli/commands/serve.d.ts.map +1 -1
  83. package/dist/cli/commands/serve.js +70 -11
  84. package/dist/cli/commands/serve.js.map +1 -1
  85. package/dist/cli/commands/session/checkpoint.d.ts.map +1 -1
  86. package/dist/cli/commands/session/checkpoint.js +7 -2
  87. package/dist/cli/commands/session/checkpoint.js.map +1 -1
  88. package/dist/cli/commands/session/commands.d.ts.map +1 -1
  89. package/dist/cli/commands/session/commands.js +15 -0
  90. package/dist/cli/commands/session/commands.js.map +1 -1
  91. package/dist/cli/commands/session/context.d.ts.map +1 -1
  92. package/dist/cli/commands/session/context.js +10 -5
  93. package/dist/cli/commands/session/context.js.map +1 -1
  94. package/dist/cli/commands/session/log.d.ts +1 -0
  95. package/dist/cli/commands/session/log.d.ts.map +1 -1
  96. package/dist/cli/commands/session/log.js +124 -8
  97. package/dist/cli/commands/session/log.js.map +1 -1
  98. package/dist/cli/commands/session/stale-close.d.ts +17 -0
  99. package/dist/cli/commands/session/stale-close.d.ts.map +1 -0
  100. package/dist/cli/commands/session/stale-close.js +378 -0
  101. package/dist/cli/commands/session/stale-close.js.map +1 -0
  102. package/dist/cli/commands/setup.d.ts +4 -0
  103. package/dist/cli/commands/setup.d.ts.map +1 -1
  104. package/dist/cli/commands/setup.js +150 -6
  105. package/dist/cli/commands/setup.js.map +1 -1
  106. package/dist/cli/commands/skill-crud.d.ts.map +1 -1
  107. package/dist/cli/commands/skill-crud.js +4 -3
  108. package/dist/cli/commands/skill-crud.js.map +1 -1
  109. package/dist/cli/commands/skill-diff.d.ts.map +1 -1
  110. package/dist/cli/commands/skill-diff.js +15 -0
  111. package/dist/cli/commands/skill-diff.js.map +1 -1
  112. package/dist/cli/commands/skill-install.d.ts.map +1 -1
  113. package/dist/cli/commands/skill-install.js +50 -18
  114. package/dist/cli/commands/skill-install.js.map +1 -1
  115. package/dist/cli/commands/task.d.ts.map +1 -1
  116. package/dist/cli/commands/task.js +552 -323
  117. package/dist/cli/commands/task.js.map +1 -1
  118. package/dist/cli/commands/tasks.js +1 -1
  119. package/dist/cli/commands/tasks.js.map +1 -1
  120. package/dist/cli/commands/triage.d.ts.map +1 -1
  121. package/dist/cli/commands/triage.js +37 -13
  122. package/dist/cli/commands/triage.js.map +1 -1
  123. package/dist/cli/commands/validate.d.ts.map +1 -1
  124. package/dist/cli/commands/validate.js +99 -50
  125. package/dist/cli/commands/validate.js.map +1 -1
  126. package/dist/cli/help/content.d.ts.map +1 -1
  127. package/dist/cli/help/content.js +5 -0
  128. package/dist/cli/help/content.js.map +1 -1
  129. package/dist/cli/index.d.ts.map +1 -1
  130. package/dist/cli/index.js +2 -1
  131. package/dist/cli/index.js.map +1 -1
  132. package/dist/cli/output.d.ts.map +1 -1
  133. package/dist/cli/output.js +5 -1
  134. package/dist/cli/output.js.map +1 -1
  135. package/dist/cli/validators.d.ts +4 -0
  136. package/dist/cli/validators.d.ts.map +1 -1
  137. package/dist/cli/validators.js +12 -0
  138. package/dist/cli/validators.js.map +1 -1
  139. package/dist/daemon/project-context.ts +22 -0
  140. package/dist/daemon/routes/agent-dispatch.ts +272 -0
  141. package/dist/daemon/server.ts +55 -20
  142. package/dist/daemon/websocket/handler.ts +67 -6
  143. package/dist/daemon/websocket/lifecycle.ts +19 -0
  144. package/dist/daemon/websocket/pubsub.ts +74 -3
  145. package/dist/export/html.d.ts.map +1 -1
  146. package/dist/export/html.js +5 -2
  147. package/dist/export/html.js.map +1 -1
  148. package/dist/export/triage.d.ts +1 -1
  149. package/dist/export/triage.d.ts.map +1 -1
  150. package/dist/export/triage.js +5 -3
  151. package/dist/export/triage.js.map +1 -1
  152. package/dist/parser/alignment.d.ts.map +1 -1
  153. package/dist/parser/alignment.js +6 -3
  154. package/dist/parser/alignment.js.map +1 -1
  155. package/dist/parser/assess.js +1 -1
  156. package/dist/parser/assess.js.map +1 -1
  157. package/dist/parser/config.d.ts +6 -6
  158. package/dist/parser/meta.d.ts.map +1 -1
  159. package/dist/parser/meta.js +9 -8
  160. package/dist/parser/meta.js.map +1 -1
  161. package/dist/parser/plan-document.d.ts +12 -12
  162. package/dist/parser/plans.d.ts +7 -0
  163. package/dist/parser/plans.d.ts.map +1 -1
  164. package/dist/parser/plans.js +100 -15
  165. package/dist/parser/plans.js.map +1 -1
  166. package/dist/parser/refs.d.ts +5 -0
  167. package/dist/parser/refs.d.ts.map +1 -1
  168. package/dist/parser/refs.js +17 -12
  169. package/dist/parser/refs.js.map +1 -1
  170. package/dist/parser/shadow.d.ts +1 -1
  171. package/dist/parser/shadow.d.ts.map +1 -1
  172. package/dist/parser/shadow.js +241 -76
  173. package/dist/parser/shadow.js.map +1 -1
  174. package/dist/parser/skill-render.d.ts.map +1 -1
  175. package/dist/parser/skill-render.js +6 -3
  176. package/dist/parser/skill-render.js.map +1 -1
  177. package/dist/parser/validate.d.ts.map +1 -1
  178. package/dist/parser/validate.js +70 -108
  179. package/dist/parser/validate.js.map +1 -1
  180. package/dist/parser/yaml.d.ts +24 -5
  181. package/dist/parser/yaml.d.ts.map +1 -1
  182. package/dist/parser/yaml.js +228 -66
  183. package/dist/parser/yaml.js.map +1 -1
  184. package/dist/schema/meta.d.ts +442 -119
  185. package/dist/schema/meta.d.ts.map +1 -1
  186. package/dist/schema/meta.js +55 -0
  187. package/dist/schema/meta.js.map +1 -1
  188. package/dist/schema/plan.d.ts +22 -22
  189. package/dist/schema/spec.d.ts +39 -39
  190. package/dist/schema/task.d.ts +43 -32
  191. package/dist/schema/task.d.ts.map +1 -1
  192. package/dist/schema/task.js +5 -0
  193. package/dist/schema/task.js.map +1 -1
  194. package/dist/sessions/store.d.ts +112 -0
  195. package/dist/sessions/store.d.ts.map +1 -1
  196. package/dist/sessions/store.js +414 -22
  197. package/dist/sessions/store.js.map +1 -1
  198. package/dist/sessions/types.d.ts +75 -17
  199. package/dist/sessions/types.d.ts.map +1 -1
  200. package/dist/sessions/types.js +51 -1
  201. package/dist/sessions/types.js.map +1 -1
  202. package/dist/triage/actions.d.ts +1 -0
  203. package/dist/triage/actions.d.ts.map +1 -1
  204. package/dist/triage/actions.js +34 -7
  205. package/dist/triage/actions.js.map +1 -1
  206. package/dist/utils/commit.js +1 -1
  207. package/dist/utils/commit.js.map +1 -1
  208. package/dist/web-ui/_app/env.js +1 -0
  209. package/dist/web-ui/_app/immutable/assets/0.BxCxvrZR.css +1 -0
  210. package/dist/web-ui/_app/immutable/assets/select-trigger.CV-KWLNP.css +1 -0
  211. package/dist/web-ui/_app/immutable/chunks/B-CZR0q8.js +1 -0
  212. package/dist/web-ui/_app/immutable/chunks/B1IR5Su5.js +1 -0
  213. package/dist/web-ui/_app/immutable/chunks/BCkp8Hs8.js +1 -0
  214. package/dist/web-ui/_app/immutable/chunks/B_Cvvtc4.js +1 -0
  215. package/dist/web-ui/_app/immutable/chunks/BtFaGGII.js +1 -0
  216. package/dist/web-ui/_app/immutable/chunks/Bu8JVsCH.js +1 -0
  217. package/dist/web-ui/_app/immutable/chunks/C87u-CNA.js +1 -0
  218. package/dist/web-ui/_app/immutable/chunks/CrFkBTYp.js +1 -0
  219. package/dist/web-ui/_app/immutable/chunks/D1ArdqNb.js +1 -0
  220. package/dist/web-ui/_app/immutable/chunks/D28BF5MJ.js +1 -0
  221. package/dist/web-ui/_app/immutable/chunks/D6RtLpzL.js +1 -0
  222. package/dist/web-ui/_app/immutable/chunks/D7FHSgx2.js +1 -0
  223. package/dist/web-ui/_app/immutable/chunks/DBXrsxZQ.js +2 -0
  224. package/dist/web-ui/_app/immutable/chunks/Da_hHMuA.js +1 -0
  225. package/dist/web-ui/_app/immutable/chunks/Do6LchSF.js +1 -0
  226. package/dist/web-ui/_app/immutable/chunks/DoNPtcAw.js +1 -0
  227. package/dist/web-ui/_app/immutable/chunks/DtUbXRZz.js +1 -0
  228. package/dist/web-ui/_app/immutable/chunks/DyFPRlLl.js +1 -0
  229. package/dist/web-ui/_app/immutable/chunks/DzAP8lRM.js +1 -0
  230. package/dist/web-ui/_app/immutable/chunks/DzVXElzN.js +2 -0
  231. package/dist/web-ui/_app/immutable/chunks/aoPBFken.js +1 -0
  232. package/dist/web-ui/_app/immutable/chunks/i-XnOIX0.js +1 -0
  233. package/dist/web-ui/_app/immutable/chunks/laxtrUO3.js +1 -0
  234. package/dist/web-ui/_app/immutable/chunks/q1nIWgqB.js +1 -0
  235. package/dist/web-ui/_app/immutable/chunks/sTLbk5Nm.js +1 -0
  236. package/dist/web-ui/_app/immutable/chunks/vwKgQu5P.js +5 -0
  237. package/dist/web-ui/_app/immutable/entry/app.BCwMcqnT.js +2 -0
  238. package/dist/web-ui/_app/immutable/entry/start.wKCQH-tt.js +1 -0
  239. package/dist/web-ui/_app/immutable/nodes/0.CjGVMG74.js +1 -0
  240. package/dist/web-ui/_app/immutable/nodes/1.B6_AIPan.js +1 -0
  241. package/dist/web-ui/_app/immutable/nodes/2.q4oCS7Ws.js +1 -0
  242. package/dist/web-ui/_app/immutable/nodes/3.rTKZf9o2.js +1 -0
  243. package/dist/web-ui/_app/immutable/nodes/4.DVIDRu1d.js +1 -0
  244. package/dist/web-ui/_app/immutable/nodes/5.8PtPXIOd.js +1 -0
  245. package/dist/web-ui/_app/immutable/nodes/6.ZZrTemy_.js +1 -0
  246. package/dist/web-ui/_app/immutable/nodes/7.IP-gxCxi.js +1 -0
  247. package/dist/web-ui/_app/version.json +1 -0
  248. package/dist/web-ui/index.html +36 -0
  249. package/dist/web-ui/robots.txt +3 -0
  250. package/package.json +3 -2
  251. package/plugin/.claude-plugin/marketplace.json +1 -1
  252. package/plugin/.claude-plugin/plugin.json +1 -1
  253. package/plugin/plugins/kspec/skills/create-workflow/SKILL.md +1 -1
  254. package/plugin/plugins/kspec/skills/{observations → observe}/SKILL.md +1 -1
  255. package/plugin/plugins/kspec/skills/plan/SKILL.md +1 -1
  256. package/plugin/plugins/kspec/skills/task-work/SKILL.md +26 -3
  257. package/plugin/plugins/kspec/skills/triage-inbox/SKILL.md +1 -1
  258. package/plugin/plugins/kspec/skills/writing-specs/SKILL.md +1 -1
  259. package/templates/agents-sections/01-quick-start.md +1 -0
  260. package/templates/agents-sections/06-ralph-loop.md +64 -11
  261. package/templates/skills/create-workflow/SKILL.md +1 -1
  262. package/templates/skills/manifest.yaml +1 -1
  263. package/templates/skills/plan/SKILL.md +1 -1
  264. package/templates/skills/task-work/SKILL.md +26 -3
  265. package/templates/skills/triage-inbox/SKILL.md +1 -1
  266. package/templates/skills/writing-specs/SKILL.md +1 -1
  267. package/dist/ralph/cli-renderer.d.ts +0 -27
  268. package/dist/ralph/cli-renderer.d.ts.map +0 -1
  269. package/dist/ralph/cli-renderer.js +0 -250
  270. package/dist/ralph/cli-renderer.js.map +0 -1
  271. package/dist/ralph/events.d.ts +0 -65
  272. package/dist/ralph/events.d.ts.map +0 -1
  273. package/dist/ralph/events.js +0 -600
  274. package/dist/ralph/events.js.map +0 -1
  275. package/dist/ralph/index.d.ts +0 -11
  276. package/dist/ralph/index.d.ts.map +0 -1
  277. package/dist/ralph/index.js +0 -16
  278. package/dist/ralph/index.js.map +0 -1
  279. package/dist/ralph/loop-errors.d.ts +0 -83
  280. package/dist/ralph/loop-errors.d.ts.map +0 -1
  281. package/dist/ralph/loop-errors.js +0 -150
  282. package/dist/ralph/loop-errors.js.map +0 -1
  283. package/dist/ralph/subagent.d.ts +0 -96
  284. package/dist/ralph/subagent.d.ts.map +0 -1
  285. package/dist/ralph/subagent.js +0 -195
  286. package/dist/ralph/subagent.js.map +0 -1
  287. package/dist/ralph/wrap-up.d.ts +0 -127
  288. package/dist/ralph/wrap-up.d.ts.map +0 -1
  289. package/dist/ralph/wrap-up.js +0 -271
  290. package/dist/ralph/wrap-up.js.map +0 -1
  291. /package/templates/skills/{observations → observe}/SKILL.md +0 -0
@@ -21,15 +21,15 @@ export declare const AcceptanceCriterionSchema: z.ZodObject<{
21
21
  when: z.ZodString;
22
22
  then: z.ZodString;
23
23
  }, "strip", z.ZodTypeAny, {
24
+ then: string;
24
25
  id: string;
25
26
  given: string;
26
27
  when: string;
27
- then: string;
28
28
  }, {
29
+ then: string;
29
30
  id: string;
30
31
  given: string;
31
32
  when: string;
32
- then: string;
33
33
  }>;
34
34
  /**
35
35
  * Implementation traceability
@@ -123,15 +123,15 @@ export declare const SpecItemSchema: z.ZodObject<{
123
123
  when: z.ZodString;
124
124
  then: z.ZodString;
125
125
  }, "strip", z.ZodTypeAny, {
126
+ then: string;
126
127
  id: string;
127
128
  given: string;
128
129
  when: string;
129
- then: string;
130
130
  }, {
131
+ then: string;
131
132
  id: string;
132
133
  given: string;
133
134
  when: string;
134
- then: string;
135
135
  }>, "many">>;
136
136
  depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
137
137
  implements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -198,15 +198,15 @@ export declare const SpecItemSchema: z.ZodObject<{
198
198
  content: z.ZodString;
199
199
  supersedes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
200
  }, "strip", z.ZodTypeAny, {
201
+ content: string;
201
202
  _ulid: string;
202
203
  created_at: string;
203
- content: string;
204
204
  author?: string | undefined;
205
205
  supersedes?: string | null | undefined;
206
206
  }, {
207
+ content: string;
207
208
  _ulid: string;
208
209
  created_at: string;
209
- content: string;
210
210
  author?: string | undefined;
211
211
  supersedes?: string | null | undefined;
212
212
  }>, "many">>;
@@ -215,9 +215,9 @@ export declare const SpecItemSchema: z.ZodObject<{
215
215
  tags: string[];
216
216
  depends_on: string[];
217
217
  notes: {
218
+ content: string;
218
219
  _ulid: string;
219
220
  created_at: string;
220
- content: string;
221
221
  author?: string | undefined;
222
222
  supersedes?: string | null | undefined;
223
223
  }[];
@@ -232,14 +232,14 @@ export declare const SpecItemSchema: z.ZodObject<{
232
232
  implementation: "not_started" | "in_progress" | "implemented" | "verified";
233
233
  } | undefined;
234
234
  type?: "task" | "module" | "feature" | "requirement" | "constraint" | "decision" | "trait" | undefined;
235
+ priority?: number | "high" | "medium" | "low" | undefined;
235
236
  description?: string | undefined;
236
237
  supersedes?: string | null | undefined;
237
- priority?: number | "high" | "medium" | "low" | undefined;
238
238
  acceptance_criteria?: {
239
+ then: string;
239
240
  id: string;
240
241
  given: string;
241
242
  when: string;
242
- then: string;
243
243
  }[] | undefined;
244
244
  traceability?: {
245
245
  issues?: string[] | undefined;
@@ -268,24 +268,24 @@ export declare const SpecItemSchema: z.ZodObject<{
268
268
  } | undefined;
269
269
  type?: "task" | "module" | "feature" | "requirement" | "constraint" | "decision" | "trait" | undefined;
270
270
  tags?: string[] | undefined;
271
+ priority?: number | "high" | "medium" | "low" | undefined;
271
272
  description?: string | undefined;
272
273
  depends_on?: string[] | undefined;
273
274
  notes?: {
275
+ content: string;
274
276
  _ulid: string;
275
277
  created_at: string;
276
- content: string;
277
278
  author?: string | undefined;
278
279
  supersedes?: string | null | undefined;
279
280
  }[] | undefined;
280
281
  supersedes?: string | null | undefined;
281
282
  slugs?: string[] | undefined;
282
- priority?: number | "high" | "medium" | "low" | undefined;
283
283
  tests?: string[] | undefined;
284
284
  acceptance_criteria?: {
285
+ then: string;
285
286
  id: string;
286
287
  given: string;
287
288
  when: string;
288
- then: string;
289
289
  }[] | undefined;
290
290
  implements?: string[] | undefined;
291
291
  relates_to?: string[] | undefined;
@@ -336,15 +336,15 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
336
336
  when: z.ZodString;
337
337
  then: z.ZodString;
338
338
  }, "strip", z.ZodTypeAny, {
339
+ then: string;
339
340
  id: string;
340
341
  given: string;
341
342
  when: string;
342
- then: string;
343
343
  }, {
344
+ then: string;
344
345
  id: string;
345
346
  given: string;
346
347
  when: string;
347
- then: string;
348
348
  }>, "many">>;
349
349
  depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
350
350
  implements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -411,15 +411,15 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
411
411
  content: z.ZodString;
412
412
  supersedes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
413
  }, "strip", z.ZodTypeAny, {
414
+ content: string;
414
415
  _ulid: string;
415
416
  created_at: string;
416
- content: string;
417
417
  author?: string | undefined;
418
418
  supersedes?: string | null | undefined;
419
419
  }, {
420
+ content: string;
420
421
  _ulid: string;
421
422
  created_at: string;
422
- content: string;
423
423
  author?: string | undefined;
424
424
  supersedes?: string | null | undefined;
425
425
  }>, "many">>;
@@ -429,9 +429,9 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
429
429
  tags: string[];
430
430
  depends_on: string[];
431
431
  notes: {
432
+ content: string;
432
433
  _ulid: string;
433
434
  created_at: string;
434
- content: string;
435
435
  author?: string | undefined;
436
436
  supersedes?: string | null | undefined;
437
437
  }[];
@@ -447,14 +447,14 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
447
447
  } | undefined;
448
448
  type?: "task" | "module" | "feature" | "requirement" | "constraint" | "decision" | "trait" | undefined;
449
449
  _ulid?: string | undefined;
450
+ priority?: number | "high" | "medium" | "low" | undefined;
450
451
  description?: string | undefined;
451
452
  supersedes?: string | null | undefined;
452
- priority?: number | "high" | "medium" | "low" | undefined;
453
453
  acceptance_criteria?: {
454
+ then: string;
454
455
  id: string;
455
456
  given: string;
456
457
  when: string;
457
- then: string;
458
458
  }[] | undefined;
459
459
  traceability?: {
460
460
  issues?: string[] | undefined;
@@ -483,24 +483,24 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
483
483
  type?: "task" | "module" | "feature" | "requirement" | "constraint" | "decision" | "trait" | undefined;
484
484
  _ulid?: string | undefined;
485
485
  tags?: string[] | undefined;
486
+ priority?: number | "high" | "medium" | "low" | undefined;
486
487
  description?: string | undefined;
487
488
  depends_on?: string[] | undefined;
488
489
  notes?: {
490
+ content: string;
489
491
  _ulid: string;
490
492
  created_at: string;
491
- content: string;
492
493
  author?: string | undefined;
493
494
  supersedes?: string | null | undefined;
494
495
  }[] | undefined;
495
496
  supersedes?: string | null | undefined;
496
497
  slugs?: string[] | undefined;
497
- priority?: number | "high" | "medium" | "low" | undefined;
498
498
  tests?: string[] | undefined;
499
499
  acceptance_criteria?: {
500
+ then: string;
500
501
  id: string;
501
502
  given: string;
502
503
  when: string;
503
- then: string;
504
504
  }[] | undefined;
505
505
  implements?: string[] | undefined;
506
506
  relates_to?: string[] | undefined;
@@ -541,6 +541,7 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
541
541
  }>>>;
542
542
  type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["module", "feature", "requirement", "constraint", "decision", "task", "trait"]>>>;
543
543
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
544
+ priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
544
545
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
545
546
  depends_on: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
546
547
  notes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -550,22 +551,21 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
550
551
  content: z.ZodString;
551
552
  supersedes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
552
553
  }, "strip", z.ZodTypeAny, {
554
+ content: string;
553
555
  _ulid: string;
554
556
  created_at: string;
555
- content: string;
556
557
  author?: string | undefined;
557
558
  supersedes?: string | null | undefined;
558
559
  }, {
560
+ content: string;
559
561
  _ulid: string;
560
562
  created_at: string;
561
- content: string;
562
563
  author?: string | undefined;
563
564
  supersedes?: string | null | undefined;
564
565
  }>, "many">>>;
565
566
  supersedes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
566
567
  slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
567
568
  title: z.ZodOptional<z.ZodString>;
568
- priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
569
569
  tests: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
570
570
  acceptance_criteria: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
571
571
  id: z.ZodString;
@@ -573,15 +573,15 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
573
573
  when: z.ZodString;
574
574
  then: z.ZodString;
575
575
  }, "strip", z.ZodTypeAny, {
576
+ then: string;
576
577
  id: string;
577
578
  given: string;
578
579
  when: string;
579
- then: string;
580
580
  }, {
581
+ then: string;
581
582
  id: string;
582
583
  given: string;
583
584
  when: string;
584
- then: string;
585
585
  }>, "many">>>;
586
586
  implements: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
587
587
  relates_to: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -652,6 +652,7 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
652
652
  }>>>;
653
653
  type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["module", "feature", "requirement", "constraint", "decision", "task", "trait"]>>>;
654
654
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
655
+ priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
655
656
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
656
657
  depends_on: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
657
658
  notes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -661,22 +662,21 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
661
662
  content: z.ZodString;
662
663
  supersedes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
664
  }, "strip", z.ZodTypeAny, {
665
+ content: string;
664
666
  _ulid: string;
665
667
  created_at: string;
666
- content: string;
667
668
  author?: string | undefined;
668
669
  supersedes?: string | null | undefined;
669
670
  }, {
671
+ content: string;
670
672
  _ulid: string;
671
673
  created_at: string;
672
- content: string;
673
674
  author?: string | undefined;
674
675
  supersedes?: string | null | undefined;
675
676
  }>, "many">>>;
676
677
  supersedes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
677
678
  slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
678
679
  title: z.ZodOptional<z.ZodString>;
679
- priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
680
680
  tests: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
681
681
  acceptance_criteria: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
682
682
  id: z.ZodString;
@@ -684,15 +684,15 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
684
684
  when: z.ZodString;
685
685
  then: z.ZodString;
686
686
  }, "strip", z.ZodTypeAny, {
687
+ then: string;
687
688
  id: string;
688
689
  given: string;
689
690
  when: string;
690
- then: string;
691
691
  }, {
692
+ then: string;
692
693
  id: string;
693
694
  given: string;
694
695
  when: string;
695
- then: string;
696
696
  }>, "many">>>;
697
697
  implements: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
698
698
  relates_to: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -763,6 +763,7 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
763
763
  }>>>;
764
764
  type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["module", "feature", "requirement", "constraint", "decision", "task", "trait"]>>>;
765
765
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
766
+ priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
766
767
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
767
768
  depends_on: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
768
769
  notes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -772,22 +773,21 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
772
773
  content: z.ZodString;
773
774
  supersedes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
774
775
  }, "strip", z.ZodTypeAny, {
776
+ content: string;
775
777
  _ulid: string;
776
778
  created_at: string;
777
- content: string;
778
779
  author?: string | undefined;
779
780
  supersedes?: string | null | undefined;
780
781
  }, {
782
+ content: string;
781
783
  _ulid: string;
782
784
  created_at: string;
783
- content: string;
784
785
  author?: string | undefined;
785
786
  supersedes?: string | null | undefined;
786
787
  }>, "many">>>;
787
788
  supersedes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
788
789
  slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
789
790
  title: z.ZodOptional<z.ZodString>;
790
- priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
791
791
  tests: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
792
792
  acceptance_criteria: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
793
793
  id: z.ZodString;
@@ -795,15 +795,15 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
795
795
  when: z.ZodString;
796
796
  then: z.ZodString;
797
797
  }, "strip", z.ZodTypeAny, {
798
+ then: string;
798
799
  id: string;
799
800
  given: string;
800
801
  when: string;
801
- then: string;
802
802
  }, {
803
+ then: string;
803
804
  id: string;
804
805
  given: string;
805
806
  when: string;
806
- then: string;
807
807
  }>, "many">>>;
808
808
  implements: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
809
809
  relates_to: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -872,8 +872,8 @@ export declare const ManifestSchema: z.ZodObject<{
872
872
  version: z.ZodDefault<z.ZodString>;
873
873
  status: z.ZodDefault<z.ZodEnum<["draft", "proposed", "stable", "deferred", "deprecated"]>>;
874
874
  }, "strip", z.ZodTypeAny, {
875
- status: "draft" | "proposed" | "stable" | "deferred" | "deprecated";
876
875
  name: string;
876
+ status: "draft" | "proposed" | "stable" | "deferred" | "deprecated";
877
877
  version: string;
878
878
  }, {
879
879
  name: string;
@@ -901,8 +901,8 @@ export declare const ManifestSchema: z.ZodObject<{
901
901
  }>>;
902
902
  }, "strip", z.ZodTypeAny, {
903
903
  project: {
904
- status: "draft" | "proposed" | "stable" | "deferred" | "deprecated";
905
904
  name: string;
905
+ status: "draft" | "proposed" | "stable" | "deferred" | "deprecated";
906
906
  version: string;
907
907
  };
908
908
  kynetic: string;