@askdkc/kiokuko 0.1.31 → 0.2.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 (160) hide show
  1. package/README.ja.md +55 -4
  2. package/README.ko.md +50 -4
  3. package/README.md +55 -4
  4. package/README.zh-CN.md +50 -4
  5. package/dist/agent-file/render.d.ts +1 -1
  6. package/dist/agent-file/render.d.ts.map +1 -1
  7. package/dist/agent-file/render.js +11 -6
  8. package/dist/agent-file/render.js.map +1 -1
  9. package/dist/akinator/agent-task.d.ts +2 -0
  10. package/dist/akinator/agent-task.d.ts.map +1 -1
  11. package/dist/akinator/agent-task.js +39 -12
  12. package/dist/akinator/agent-task.js.map +1 -1
  13. package/dist/akinator/capabilities.d.ts.map +1 -1
  14. package/dist/akinator/capabilities.js +21 -14
  15. package/dist/akinator/capabilities.js.map +1 -1
  16. package/dist/akinator/skill-discovery-attempt.d.ts +1 -0
  17. package/dist/akinator/skill-discovery-attempt.d.ts.map +1 -1
  18. package/dist/akinator/skill-discovery-attempt.js +20 -18
  19. package/dist/akinator/skill-discovery-attempt.js.map +1 -1
  20. package/dist/cli.d.ts.map +1 -1
  21. package/dist/cli.js +5 -1
  22. package/dist/cli.js.map +1 -1
  23. package/dist/commands/agent.d.ts.map +1 -1
  24. package/dist/commands/agent.js +18 -9
  25. package/dist/commands/agent.js.map +1 -1
  26. package/dist/commands/enno.d.ts +7 -0
  27. package/dist/commands/enno.d.ts.map +1 -0
  28. package/dist/commands/enno.js +76 -0
  29. package/dist/commands/enno.js.map +1 -0
  30. package/dist/commands/setup.d.ts +5 -1
  31. package/dist/commands/setup.d.ts.map +1 -1
  32. package/dist/commands/setup.js +83 -18
  33. package/dist/commands/setup.js.map +1 -1
  34. package/dist/config/paths.d.ts +6 -0
  35. package/dist/config/paths.d.ts.map +1 -1
  36. package/dist/config/paths.js +40 -0
  37. package/dist/config/paths.js.map +1 -1
  38. package/dist/enno-oduno/adapters.d.ts +18 -0
  39. package/dist/enno-oduno/adapters.d.ts.map +1 -0
  40. package/dist/enno-oduno/adapters.js +216 -0
  41. package/dist/enno-oduno/adapters.js.map +1 -0
  42. package/dist/enno-oduno/directives.d.ts +12 -0
  43. package/dist/enno-oduno/directives.d.ts.map +1 -0
  44. package/dist/enno-oduno/directives.js +215 -0
  45. package/dist/enno-oduno/directives.js.map +1 -0
  46. package/dist/enno-oduno/enno-oduno.d.mts +2 -0
  47. package/dist/enno-oduno/enno-oduno.d.mts.map +1 -0
  48. package/dist/enno-oduno/enno-oduno.mjs +3 -0
  49. package/dist/enno-oduno/enno-oduno.mjs.map +1 -0
  50. package/dist/enno-oduno/experts.d.ts +6 -0
  51. package/dist/enno-oduno/experts.d.ts.map +1 -0
  52. package/dist/enno-oduno/experts.js +18 -0
  53. package/dist/enno-oduno/experts.js.map +1 -0
  54. package/dist/enno-oduno/goki.d.mts +2 -0
  55. package/dist/enno-oduno/goki.d.mts.map +1 -0
  56. package/dist/enno-oduno/goki.mjs +3 -0
  57. package/dist/enno-oduno/goki.mjs.map +1 -0
  58. package/dist/enno-oduno/handoff.d.ts +4 -0
  59. package/dist/enno-oduno/handoff.d.ts.map +1 -0
  60. package/dist/enno-oduno/handoff.js +18 -0
  61. package/dist/enno-oduno/handoff.js.map +1 -0
  62. package/dist/enno-oduno/harness.d.ts +20 -0
  63. package/dist/enno-oduno/harness.d.ts.map +1 -0
  64. package/dist/enno-oduno/harness.js +65 -0
  65. package/dist/enno-oduno/harness.js.map +1 -0
  66. package/dist/enno-oduno/instructions.d.ts +2 -0
  67. package/dist/enno-oduno/instructions.d.ts.map +1 -0
  68. package/dist/enno-oduno/instructions.js +3 -0
  69. package/dist/enno-oduno/instructions.js.map +1 -0
  70. package/dist/enno-oduno/role-runner.d.ts +9 -0
  71. package/dist/enno-oduno/role-runner.d.ts.map +1 -0
  72. package/dist/enno-oduno/role-runner.js +171 -0
  73. package/dist/enno-oduno/role-runner.js.map +1 -0
  74. package/dist/enno-oduno/schemas.d.ts +615 -0
  75. package/dist/enno-oduno/schemas.d.ts.map +1 -0
  76. package/dist/enno-oduno/schemas.js +336 -0
  77. package/dist/enno-oduno/schemas.js.map +1 -0
  78. package/dist/enno-oduno/service.d.ts +47 -0
  79. package/dist/enno-oduno/service.d.ts.map +1 -0
  80. package/dist/enno-oduno/service.js +841 -0
  81. package/dist/enno-oduno/service.js.map +1 -0
  82. package/dist/enno-oduno/skills.d.ts +22 -0
  83. package/dist/enno-oduno/skills.d.ts.map +1 -0
  84. package/dist/enno-oduno/skills.js +127 -0
  85. package/dist/enno-oduno/skills.js.map +1 -0
  86. package/dist/enno-oduno/store.d.ts +61 -0
  87. package/dist/enno-oduno/store.d.ts.map +1 -0
  88. package/dist/enno-oduno/store.js +337 -0
  89. package/dist/enno-oduno/store.js.map +1 -0
  90. package/dist/enno-oduno/types.d.ts +191 -0
  91. package/dist/enno-oduno/types.d.ts.map +1 -0
  92. package/dist/enno-oduno/types.js +41 -0
  93. package/dist/enno-oduno/types.js.map +1 -0
  94. package/dist/enno-oduno/verifier.d.ts +9 -0
  95. package/dist/enno-oduno/verifier.d.ts.map +1 -0
  96. package/dist/enno-oduno/verifier.js +101 -0
  97. package/dist/enno-oduno/verifier.js.map +1 -0
  98. package/dist/enno-oduno/zenki.d.mts +2 -0
  99. package/dist/enno-oduno/zenki.d.mts.map +1 -0
  100. package/dist/enno-oduno/zenki.mjs +3 -0
  101. package/dist/enno-oduno/zenki.mjs.map +1 -0
  102. package/dist/ledger/types.d.ts +1 -1
  103. package/dist/ledger/types.d.ts.map +1 -1
  104. package/dist/ledger/types.js +5 -0
  105. package/dist/ledger/types.js.map +1 -1
  106. package/dist/mcp/server.d.ts.map +1 -1
  107. package/dist/mcp/server.js +66 -26
  108. package/dist/mcp/server.js.map +1 -1
  109. package/dist/setup/claude-config.d.ts +2 -0
  110. package/dist/setup/claude-config.d.ts.map +1 -1
  111. package/dist/setup/claude-config.js +12 -0
  112. package/dist/setup/claude-config.js.map +1 -1
  113. package/dist/setup/enno-client-config.d.ts +9 -0
  114. package/dist/setup/enno-client-config.d.ts.map +1 -0
  115. package/dist/setup/enno-client-config.js +172 -0
  116. package/dist/setup/enno-client-config.js.map +1 -0
  117. package/dist/setup/opencode-config.d.ts +2 -0
  118. package/dist/setup/opencode-config.d.ts.map +1 -1
  119. package/dist/setup/opencode-config.js +12 -0
  120. package/dist/setup/opencode-config.js.map +1 -1
  121. package/dist/setup/render.d.ts +2 -0
  122. package/dist/setup/render.d.ts.map +1 -1
  123. package/dist/setup/render.js +21 -12
  124. package/dist/setup/render.js.map +1 -1
  125. package/dist/setup/standard-skills.d.ts +23 -4
  126. package/dist/setup/standard-skills.d.ts.map +1 -1
  127. package/dist/setup/standard-skills.js +51 -1
  128. package/dist/setup/standard-skills.js.map +1 -1
  129. package/dist/skills/discovery-service.d.ts.map +1 -1
  130. package/dist/skills/discovery-service.js +2 -1
  131. package/dist/skills/discovery-service.js.map +1 -1
  132. package/dist/skills/types.d.ts +1 -0
  133. package/dist/skills/types.d.ts.map +1 -1
  134. package/dist/web/i18n.d.ts +19 -0
  135. package/dist/web/i18n.d.ts.map +1 -1
  136. package/dist/web/i18n.js +76 -0
  137. package/dist/web/i18n.js.map +1 -1
  138. package/dist/web/ui.d.ts.map +1 -1
  139. package/dist/web/ui.js +76 -4
  140. package/dist/web/ui.js.map +1 -1
  141. package/migrations/013_enno_oduno.sql +176 -0
  142. package/migrations/014_oduno_reflection_phases.sql +40 -0
  143. package/package.json +7 -1
  144. package/skills/kiokuko-enno-oduno/SKILL.md +122 -0
  145. package/skills/kiokuko-enno-oduno/enno-oduno.png +0 -0
  146. package/skills/kiokuko-single-purpose-functions/SKILL.md +44 -258
  147. package/skills/kiokuko-single-purpose-functions/references/boundaries-and-ownership.md +50 -0
  148. package/skills/kiokuko-single-purpose-functions/references/domain-and-types.md +48 -0
  149. package/skills/kiokuko-single-purpose-functions/references/effects-and-data.md +43 -0
  150. package/skills/kiokuko-single-purpose-functions/references/protocols-and-idempotency.md +42 -0
  151. package/skills/kiokuko-single-purpose-functions/references/verification.md +41 -0
  152. package/skills/kiokuko-soul/SKILL.md +72 -0
  153. package/skills/kiokuko-ui-design-soul/SKILL.md +39 -1178
  154. package/skills/kiokuko-ui-design-soul/references/accessibility-and-navigation.md +31 -0
  155. package/skills/kiokuko-ui-design-soul/references/async-recovery.md +49 -0
  156. package/skills/kiokuko-ui-design-soul/references/forms-and-controls.md +35 -0
  157. package/skills/kiokuko-ui-design-soul/references/interaction-feedback.md +34 -0
  158. package/skills/kiokuko-ui-design-soul/references/responsive-and-platform.md +38 -0
  159. package/skills/kiokuko-ui-design-soul/references/safety-and-review.md +39 -0
  160. package/templates/AGENTS.md +9 -6
@@ -0,0 +1,615 @@
1
+ import * as z from 'zod/v4';
2
+ import { type EnnoOdunoContract, type EnnoRequestHandoff, type OdunoIdeal, type OdunoMeditation, type VerifierSpec, type WorkPlan, type WorkReportResult } from './types.js';
3
+ export declare const verifierSpecSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ kind: z.ZodEnum<{
6
+ build: "build";
7
+ custom: "custom";
8
+ test: "test";
9
+ typecheck: "typecheck";
10
+ lint: "lint";
11
+ }>;
12
+ executable: z.ZodString;
13
+ args: z.ZodArray<z.ZodString>;
14
+ cwd: z.ZodString;
15
+ timeoutMs: z.ZodNumber;
16
+ }, z.core.$strict>;
17
+ export declare const expertRefSchema: z.ZodObject<{
18
+ id: z.ZodEnum<{
19
+ "ui.interaction.v1": "ui.interaction.v1";
20
+ "ui.async.v1": "ui.async.v1";
21
+ "ui.forms.v1": "ui.forms.v1";
22
+ "ui.accessibility.v1": "ui.accessibility.v1";
23
+ "ui.layout.v1": "ui.layout.v1";
24
+ "ui.safety.v1": "ui.safety.v1";
25
+ "code.boundary.v1": "code.boundary.v1";
26
+ "code.domain.v1": "code.domain.v1";
27
+ "code.effects.v1": "code.effects.v1";
28
+ "code.protocol.v1": "code.protocol.v1";
29
+ "code.verification.v1": "code.verification.v1";
30
+ }>;
31
+ reason: z.ZodString;
32
+ }, z.core.$strict>;
33
+ export declare const workUnitSchema: z.ZodObject<{
34
+ id: z.ZodString;
35
+ objective: z.ZodString;
36
+ scope: z.ZodArray<z.ZodString>;
37
+ dependencies: z.ZodArray<z.ZodString>;
38
+ skillNames: z.ZodArray<z.ZodString>;
39
+ expertRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
40
+ id: z.ZodEnum<{
41
+ "ui.interaction.v1": "ui.interaction.v1";
42
+ "ui.async.v1": "ui.async.v1";
43
+ "ui.forms.v1": "ui.forms.v1";
44
+ "ui.accessibility.v1": "ui.accessibility.v1";
45
+ "ui.layout.v1": "ui.layout.v1";
46
+ "ui.safety.v1": "ui.safety.v1";
47
+ "code.boundary.v1": "code.boundary.v1";
48
+ "code.domain.v1": "code.domain.v1";
49
+ "code.effects.v1": "code.effects.v1";
50
+ "code.protocol.v1": "code.protocol.v1";
51
+ "code.verification.v1": "code.verification.v1";
52
+ }>;
53
+ reason: z.ZodString;
54
+ }, z.core.$strict>>>;
55
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
56
+ focusedVerifiers: z.ZodArray<z.ZodObject<{
57
+ id: z.ZodString;
58
+ kind: z.ZodEnum<{
59
+ build: "build";
60
+ custom: "custom";
61
+ test: "test";
62
+ typecheck: "typecheck";
63
+ lint: "lint";
64
+ }>;
65
+ executable: z.ZodString;
66
+ args: z.ZodArray<z.ZodString>;
67
+ cwd: z.ZodString;
68
+ timeoutMs: z.ZodNumber;
69
+ }, z.core.$strict>>;
70
+ }, z.core.$strict>;
71
+ export declare const workPlanSchema: z.ZodObject<{
72
+ objective: z.ZodString;
73
+ units: z.ZodArray<z.ZodObject<{
74
+ id: z.ZodString;
75
+ objective: z.ZodString;
76
+ scope: z.ZodArray<z.ZodString>;
77
+ dependencies: z.ZodArray<z.ZodString>;
78
+ skillNames: z.ZodArray<z.ZodString>;
79
+ expertRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
80
+ id: z.ZodEnum<{
81
+ "ui.interaction.v1": "ui.interaction.v1";
82
+ "ui.async.v1": "ui.async.v1";
83
+ "ui.forms.v1": "ui.forms.v1";
84
+ "ui.accessibility.v1": "ui.accessibility.v1";
85
+ "ui.layout.v1": "ui.layout.v1";
86
+ "ui.safety.v1": "ui.safety.v1";
87
+ "code.boundary.v1": "code.boundary.v1";
88
+ "code.domain.v1": "code.domain.v1";
89
+ "code.effects.v1": "code.effects.v1";
90
+ "code.protocol.v1": "code.protocol.v1";
91
+ "code.verification.v1": "code.verification.v1";
92
+ }>;
93
+ reason: z.ZodString;
94
+ }, z.core.$strict>>>;
95
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
96
+ focusedVerifiers: z.ZodArray<z.ZodObject<{
97
+ id: z.ZodString;
98
+ kind: z.ZodEnum<{
99
+ build: "build";
100
+ custom: "custom";
101
+ test: "test";
102
+ typecheck: "typecheck";
103
+ lint: "lint";
104
+ }>;
105
+ executable: z.ZodString;
106
+ args: z.ZodArray<z.ZodString>;
107
+ cwd: z.ZodString;
108
+ timeoutMs: z.ZodNumber;
109
+ }, z.core.$strict>>;
110
+ }, z.core.$strict>>;
111
+ }, z.core.$strict>;
112
+ export declare const acceptanceCriterionSchema: z.ZodObject<{
113
+ id: z.ZodString;
114
+ description: z.ZodString;
115
+ }, z.core.$strict>;
116
+ export declare const skillRequirementSchema: z.ZodObject<{
117
+ name: z.ZodString;
118
+ purposes: z.ZodArray<z.ZodEnum<{
119
+ review: "review";
120
+ implementation: "implementation";
121
+ testing: "testing";
122
+ planning: "planning";
123
+ ui: "ui";
124
+ operations: "operations";
125
+ }>>;
126
+ required: z.ZodBoolean;
127
+ }, z.core.$strict>;
128
+ export declare const ennoContractSchema: z.ZodObject<{
129
+ revision: z.ZodNumber;
130
+ scope: z.ZodArray<z.ZodString>;
131
+ exclusions: z.ZodArray<z.ZodString>;
132
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
133
+ id: z.ZodString;
134
+ description: z.ZodString;
135
+ }, z.core.$strict>>;
136
+ workPlan: z.ZodUnion<readonly [z.ZodObject<{
137
+ objective: z.ZodString;
138
+ units: z.ZodArray<z.ZodObject<{
139
+ id: z.ZodString;
140
+ objective: z.ZodString;
141
+ scope: z.ZodArray<z.ZodString>;
142
+ dependencies: z.ZodArray<z.ZodString>;
143
+ skillNames: z.ZodArray<z.ZodString>;
144
+ expertRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
145
+ id: z.ZodEnum<{
146
+ "ui.interaction.v1": "ui.interaction.v1";
147
+ "ui.async.v1": "ui.async.v1";
148
+ "ui.forms.v1": "ui.forms.v1";
149
+ "ui.accessibility.v1": "ui.accessibility.v1";
150
+ "ui.layout.v1": "ui.layout.v1";
151
+ "ui.safety.v1": "ui.safety.v1";
152
+ "code.boundary.v1": "code.boundary.v1";
153
+ "code.domain.v1": "code.domain.v1";
154
+ "code.effects.v1": "code.effects.v1";
155
+ "code.protocol.v1": "code.protocol.v1";
156
+ "code.verification.v1": "code.verification.v1";
157
+ }>;
158
+ reason: z.ZodString;
159
+ }, z.core.$strict>>>;
160
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
161
+ focusedVerifiers: z.ZodArray<z.ZodObject<{
162
+ id: z.ZodString;
163
+ kind: z.ZodEnum<{
164
+ build: "build";
165
+ custom: "custom";
166
+ test: "test";
167
+ typecheck: "typecheck";
168
+ lint: "lint";
169
+ }>;
170
+ executable: z.ZodString;
171
+ args: z.ZodArray<z.ZodString>;
172
+ cwd: z.ZodString;
173
+ timeoutMs: z.ZodNumber;
174
+ }, z.core.$strict>>;
175
+ }, z.core.$strict>>;
176
+ }, z.core.$strict>, z.ZodObject<{
177
+ objective: z.ZodString;
178
+ units: z.ZodArray<z.ZodObject<{
179
+ id: z.ZodString;
180
+ objective: z.ZodString;
181
+ scope: z.ZodArray<z.ZodString>;
182
+ dependencies: z.ZodArray<z.ZodString>;
183
+ skillNames: z.ZodArray<z.ZodString>;
184
+ expertRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
185
+ id: z.ZodEnum<{
186
+ "ui.interaction.v1": "ui.interaction.v1";
187
+ "ui.async.v1": "ui.async.v1";
188
+ "ui.forms.v1": "ui.forms.v1";
189
+ "ui.accessibility.v1": "ui.accessibility.v1";
190
+ "ui.layout.v1": "ui.layout.v1";
191
+ "ui.safety.v1": "ui.safety.v1";
192
+ "code.boundary.v1": "code.boundary.v1";
193
+ "code.domain.v1": "code.domain.v1";
194
+ "code.effects.v1": "code.effects.v1";
195
+ "code.protocol.v1": "code.protocol.v1";
196
+ "code.verification.v1": "code.verification.v1";
197
+ }>;
198
+ reason: z.ZodString;
199
+ }, z.core.$strict>>>;
200
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
201
+ focusedVerifiers: z.ZodArray<z.ZodObject<{
202
+ id: z.ZodString;
203
+ kind: z.ZodEnum<{
204
+ build: "build";
205
+ custom: "custom";
206
+ test: "test";
207
+ typecheck: "typecheck";
208
+ lint: "lint";
209
+ }>;
210
+ executable: z.ZodString;
211
+ args: z.ZodArray<z.ZodString>;
212
+ cwd: z.ZodString;
213
+ timeoutMs: z.ZodNumber;
214
+ }, z.core.$strict>>;
215
+ }, z.core.$strict>>;
216
+ }, z.core.$strict>]>;
217
+ skillSet: z.ZodObject<{
218
+ entries: z.ZodArray<z.ZodObject<{
219
+ name: z.ZodString;
220
+ purposes: z.ZodArray<z.ZodEnum<{
221
+ review: "review";
222
+ implementation: "implementation";
223
+ testing: "testing";
224
+ planning: "planning";
225
+ ui: "ui";
226
+ operations: "operations";
227
+ }>>;
228
+ required: z.ZodBoolean;
229
+ availability: z.ZodEnum<{
230
+ unavailable: "unavailable";
231
+ local: "local";
232
+ imported_fresh: "imported_fresh";
233
+ external_reference: "external_reference";
234
+ }>;
235
+ referenceId: z.ZodNullable<z.ZodString>;
236
+ }, z.core.$strict>>;
237
+ intakeDiscovery: z.ZodObject<{
238
+ attempted: z.ZodBoolean;
239
+ mode: z.ZodEnum<{
240
+ off: "off";
241
+ official: "official";
242
+ community: "community";
243
+ }>;
244
+ requirements: z.ZodArray<z.ZodString>;
245
+ queries: z.ZodArray<z.ZodString>;
246
+ cacheHits: z.ZodNumber;
247
+ candidates: z.ZodNumber;
248
+ selected: z.ZodArray<z.ZodObject<{
249
+ skillId: z.ZodString;
250
+ name: z.ZodString;
251
+ source: z.ZodString;
252
+ officialStatus: z.ZodEnum<{
253
+ unknown: "unknown";
254
+ curated: "curated";
255
+ "catalog-verified": "catalog-verified";
256
+ "owner-verified": "owner-verified";
257
+ "registry-only": "registry-only";
258
+ }>;
259
+ imported: z.ZodBoolean;
260
+ updated: z.ZodBoolean;
261
+ }, z.core.$strict>>;
262
+ failures: z.ZodArray<z.ZodObject<{
263
+ stage: z.ZodEnum<{
264
+ search: "search";
265
+ source: "source";
266
+ validation: "validation";
267
+ persistence: "persistence";
268
+ }>;
269
+ code: z.ZodString;
270
+ }, z.core.$strict>>;
271
+ }, z.core.$strict>;
272
+ zenkiDiscovery: z.ZodObject<{
273
+ attempted: z.ZodBoolean;
274
+ mode: z.ZodEnum<{
275
+ off: "off";
276
+ official: "official";
277
+ community: "community";
278
+ }>;
279
+ requirements: z.ZodArray<z.ZodString>;
280
+ queries: z.ZodArray<z.ZodString>;
281
+ cacheHits: z.ZodNumber;
282
+ candidates: z.ZodNumber;
283
+ selected: z.ZodArray<z.ZodObject<{
284
+ skillId: z.ZodString;
285
+ name: z.ZodString;
286
+ source: z.ZodString;
287
+ officialStatus: z.ZodEnum<{
288
+ unknown: "unknown";
289
+ curated: "curated";
290
+ "catalog-verified": "catalog-verified";
291
+ "owner-verified": "owner-verified";
292
+ "registry-only": "registry-only";
293
+ }>;
294
+ imported: z.ZodBoolean;
295
+ updated: z.ZodBoolean;
296
+ }, z.core.$strict>>;
297
+ failures: z.ZodArray<z.ZodObject<{
298
+ stage: z.ZodEnum<{
299
+ search: "search";
300
+ source: "source";
301
+ validation: "validation";
302
+ persistence: "persistence";
303
+ }>;
304
+ code: z.ZodString;
305
+ }, z.core.$strict>>;
306
+ }, z.core.$strict>;
307
+ }, z.core.$strict>;
308
+ finalVerifiers: z.ZodArray<z.ZodObject<{
309
+ id: z.ZodString;
310
+ kind: z.ZodEnum<{
311
+ build: "build";
312
+ custom: "custom";
313
+ test: "test";
314
+ typecheck: "typecheck";
315
+ lint: "lint";
316
+ }>;
317
+ executable: z.ZodString;
318
+ args: z.ZodArray<z.ZodString>;
319
+ cwd: z.ZodString;
320
+ timeoutMs: z.ZodNumber;
321
+ }, z.core.$strict>>;
322
+ maxAttempts: z.ZodNumber;
323
+ provenance: z.ZodObject<{
324
+ scope: z.ZodEnum<{
325
+ explicit_user: "explicit_user";
326
+ repository_evidence: "repository_evidence";
327
+ inferred: "inferred";
328
+ }>;
329
+ exclusions: z.ZodEnum<{
330
+ explicit_user: "explicit_user";
331
+ repository_evidence: "repository_evidence";
332
+ inferred: "inferred";
333
+ }>;
334
+ acceptanceCriteria: z.ZodEnum<{
335
+ explicit_user: "explicit_user";
336
+ repository_evidence: "repository_evidence";
337
+ inferred: "inferred";
338
+ }>;
339
+ workPlan: z.ZodEnum<{
340
+ explicit_user: "explicit_user";
341
+ repository_evidence: "repository_evidence";
342
+ inferred: "inferred";
343
+ }>;
344
+ skillSet: z.ZodEnum<{
345
+ explicit_user: "explicit_user";
346
+ repository_evidence: "repository_evidence";
347
+ inferred: "inferred";
348
+ }>;
349
+ finalVerifiers: z.ZodEnum<{
350
+ explicit_user: "explicit_user";
351
+ repository_evidence: "repository_evidence";
352
+ inferred: "inferred";
353
+ }>;
354
+ maxAttempts: z.ZodEnum<{
355
+ explicit_user: "explicit_user";
356
+ repository_evidence: "repository_evidence";
357
+ inferred: "inferred";
358
+ }>;
359
+ }, z.core.$strict>;
360
+ }, z.core.$strict>;
361
+ export declare const ennoRequestHandoffSchema: z.ZodObject<{
362
+ sourceRole: z.ZodLiteral<"enno-oduno">;
363
+ taskType: z.ZodEnum<{
364
+ build: "build";
365
+ debug: "debug";
366
+ review: "review";
367
+ devops: "devops";
368
+ }>;
369
+ objective: z.ZodString;
370
+ target: z.ZodNullable<z.ZodString>;
371
+ expected: z.ZodNullable<z.ZodString>;
372
+ constraints: z.ZodArray<z.ZodString>;
373
+ verification: z.ZodArray<z.ZodString>;
374
+ stopConditions: z.ZodArray<z.ZodString>;
375
+ }, z.core.$strict>;
376
+ export declare const odunoIdealSchema: z.ZodObject<{
377
+ objective: z.ZodString;
378
+ principles: z.ZodArray<z.ZodString>;
379
+ skillContributions: z.ZodArray<z.ZodObject<{
380
+ skillName: z.ZodString;
381
+ contribution: z.ZodString;
382
+ }, z.core.$strict>>;
383
+ successSignals: z.ZodArray<z.ZodString>;
384
+ }, z.core.$strict>;
385
+ export declare const odunoMeditationSchema: z.ZodObject<{
386
+ summary: z.ZodString;
387
+ inspectedPaths: z.ZodArray<z.ZodString>;
388
+ deletionCandidates: z.ZodArray<z.ZodObject<{
389
+ kind: z.ZodEnum<{
390
+ function: "function";
391
+ test: "test";
392
+ }>;
393
+ path: z.ZodString;
394
+ name: z.ZodString;
395
+ reason: z.ZodString;
396
+ evidence: z.ZodArray<z.ZodString>;
397
+ }, z.core.$strict>>;
398
+ }, z.core.$strict>;
399
+ export declare const idealSubmissionSchema: z.ZodObject<{
400
+ runId: z.ZodString;
401
+ workspace: z.ZodString;
402
+ orchestrationId: z.ZodString;
403
+ expectedRevision: z.ZodNumber;
404
+ idempotencyKey: z.ZodString;
405
+ ideal: z.ZodObject<{
406
+ objective: z.ZodString;
407
+ principles: z.ZodArray<z.ZodString>;
408
+ skillContributions: z.ZodArray<z.ZodObject<{
409
+ skillName: z.ZodString;
410
+ contribution: z.ZodString;
411
+ }, z.core.$strict>>;
412
+ successSignals: z.ZodArray<z.ZodString>;
413
+ }, z.core.$strict>;
414
+ }, z.core.$strict>;
415
+ export declare const planSubmissionSchema: z.ZodObject<{
416
+ runId: z.ZodString;
417
+ workspace: z.ZodString;
418
+ orchestrationId: z.ZodString;
419
+ expectedRevision: z.ZodNumber;
420
+ idempotencyKey: z.ZodString;
421
+ scope: z.ZodArray<z.ZodString>;
422
+ exclusions: z.ZodArray<z.ZodString>;
423
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
424
+ id: z.ZodString;
425
+ description: z.ZodString;
426
+ }, z.core.$strict>>;
427
+ workPlan: z.ZodObject<{
428
+ objective: z.ZodString;
429
+ units: z.ZodArray<z.ZodObject<{
430
+ id: z.ZodString;
431
+ objective: z.ZodString;
432
+ scope: z.ZodArray<z.ZodString>;
433
+ dependencies: z.ZodArray<z.ZodString>;
434
+ skillNames: z.ZodArray<z.ZodString>;
435
+ expertRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
436
+ id: z.ZodEnum<{
437
+ "ui.interaction.v1": "ui.interaction.v1";
438
+ "ui.async.v1": "ui.async.v1";
439
+ "ui.forms.v1": "ui.forms.v1";
440
+ "ui.accessibility.v1": "ui.accessibility.v1";
441
+ "ui.layout.v1": "ui.layout.v1";
442
+ "ui.safety.v1": "ui.safety.v1";
443
+ "code.boundary.v1": "code.boundary.v1";
444
+ "code.domain.v1": "code.domain.v1";
445
+ "code.effects.v1": "code.effects.v1";
446
+ "code.protocol.v1": "code.protocol.v1";
447
+ "code.verification.v1": "code.verification.v1";
448
+ }>;
449
+ reason: z.ZodString;
450
+ }, z.core.$strict>>>;
451
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
452
+ focusedVerifiers: z.ZodArray<z.ZodObject<{
453
+ id: z.ZodString;
454
+ kind: z.ZodEnum<{
455
+ build: "build";
456
+ custom: "custom";
457
+ test: "test";
458
+ typecheck: "typecheck";
459
+ lint: "lint";
460
+ }>;
461
+ executable: z.ZodString;
462
+ args: z.ZodArray<z.ZodString>;
463
+ cwd: z.ZodString;
464
+ timeoutMs: z.ZodNumber;
465
+ }, z.core.$strict>>;
466
+ }, z.core.$strict>>;
467
+ }, z.core.$strict>;
468
+ skillRequirements: z.ZodArray<z.ZodObject<{
469
+ name: z.ZodString;
470
+ purposes: z.ZodArray<z.ZodEnum<{
471
+ review: "review";
472
+ implementation: "implementation";
473
+ testing: "testing";
474
+ planning: "planning";
475
+ ui: "ui";
476
+ operations: "operations";
477
+ }>>;
478
+ required: z.ZodBoolean;
479
+ }, z.core.$strict>>;
480
+ finalVerifiers: z.ZodArray<z.ZodObject<{
481
+ id: z.ZodString;
482
+ kind: z.ZodEnum<{
483
+ build: "build";
484
+ custom: "custom";
485
+ test: "test";
486
+ typecheck: "typecheck";
487
+ lint: "lint";
488
+ }>;
489
+ executable: z.ZodString;
490
+ args: z.ZodArray<z.ZodString>;
491
+ cwd: z.ZodString;
492
+ timeoutMs: z.ZodNumber;
493
+ }, z.core.$strict>>;
494
+ maxAttempts: z.ZodDefault<z.ZodNumber>;
495
+ provenance: z.ZodObject<{
496
+ scope: z.ZodEnum<{
497
+ explicit_user: "explicit_user";
498
+ repository_evidence: "repository_evidence";
499
+ inferred: "inferred";
500
+ }>;
501
+ exclusions: z.ZodEnum<{
502
+ explicit_user: "explicit_user";
503
+ repository_evidence: "repository_evidence";
504
+ inferred: "inferred";
505
+ }>;
506
+ acceptanceCriteria: z.ZodEnum<{
507
+ explicit_user: "explicit_user";
508
+ repository_evidence: "repository_evidence";
509
+ inferred: "inferred";
510
+ }>;
511
+ workPlan: z.ZodEnum<{
512
+ explicit_user: "explicit_user";
513
+ repository_evidence: "repository_evidence";
514
+ inferred: "inferred";
515
+ }>;
516
+ skillSet: z.ZodEnum<{
517
+ explicit_user: "explicit_user";
518
+ repository_evidence: "repository_evidence";
519
+ inferred: "inferred";
520
+ }>;
521
+ finalVerifiers: z.ZodEnum<{
522
+ explicit_user: "explicit_user";
523
+ repository_evidence: "repository_evidence";
524
+ inferred: "inferred";
525
+ }>;
526
+ maxAttempts: z.ZodEnum<{
527
+ explicit_user: "explicit_user";
528
+ repository_evidence: "repository_evidence";
529
+ inferred: "inferred";
530
+ }>;
531
+ }, z.core.$strict>;
532
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
533
+ }, z.core.$strict>;
534
+ export declare const ennoAnswerSchema: z.ZodObject<{
535
+ runId: z.ZodString;
536
+ workspace: z.ZodString;
537
+ orchestrationId: z.ZodString;
538
+ expectedRevision: z.ZodNumber;
539
+ idempotencyKey: z.ZodString;
540
+ action: z.ZodEnum<{
541
+ approve: "approve";
542
+ revise: "revise";
543
+ cancel: "cancel";
544
+ }>;
545
+ requestedChanges: z.ZodOptional<z.ZodString>;
546
+ }, z.core.$strict>;
547
+ export declare const workReportSchema: z.ZodObject<{
548
+ runId: z.ZodString;
549
+ workspace: z.ZodString;
550
+ orchestrationId: z.ZodString;
551
+ expectedRevision: z.ZodNumber;
552
+ idempotencyKey: z.ZodString;
553
+ workUnitId: z.ZodString;
554
+ result: z.ZodObject<{
555
+ outcome: z.ZodEnum<{
556
+ completed: "completed";
557
+ failed: "failed";
558
+ blocked: "blocked";
559
+ }>;
560
+ summary: z.ZodString;
561
+ mutated: z.ZodBoolean;
562
+ changedPaths: z.ZodArray<z.ZodString>;
563
+ }, z.core.$strict>;
564
+ }, z.core.$strict>;
565
+ export declare const finishSchema: z.ZodObject<{
566
+ runId: z.ZodString;
567
+ workspace: z.ZodString;
568
+ orchestrationId: z.ZodString;
569
+ expectedRevision: z.ZodNumber;
570
+ idempotencyKey: z.ZodString;
571
+ review: z.ZodObject<{
572
+ decision: z.ZodEnum<{
573
+ accept: "accept";
574
+ replan: "replan";
575
+ }>;
576
+ summary: z.ZodString;
577
+ }, z.core.$strict>;
578
+ }, z.core.$strict>;
579
+ export declare const meditationSubmissionSchema: z.ZodObject<{
580
+ runId: z.ZodString;
581
+ workspace: z.ZodString;
582
+ orchestrationId: z.ZodString;
583
+ expectedRevision: z.ZodNumber;
584
+ idempotencyKey: z.ZodString;
585
+ meditation: z.ZodObject<{
586
+ summary: z.ZodString;
587
+ inspectedPaths: z.ZodArray<z.ZodString>;
588
+ deletionCandidates: z.ZodArray<z.ZodObject<{
589
+ kind: z.ZodEnum<{
590
+ function: "function";
591
+ test: "test";
592
+ }>;
593
+ path: z.ZodString;
594
+ name: z.ZodString;
595
+ reason: z.ZodString;
596
+ evidence: z.ZodArray<z.ZodString>;
597
+ }, z.core.$strict>>;
598
+ }, z.core.$strict>;
599
+ }, z.core.$strict>;
600
+ export declare function parseWorkPlan(input: unknown): WorkPlan;
601
+ export declare function parseEnnoContract(input: unknown): EnnoOdunoContract;
602
+ export declare function parseEnnoRequestHandoff(input: unknown): EnnoRequestHandoff;
603
+ export declare function parseOdunoIdeal(input: unknown): OdunoIdeal;
604
+ export declare function parseOdunoMeditation(input: unknown): OdunoMeditation;
605
+ export declare function parseVerifierSpec(input: unknown): VerifierSpec;
606
+ export declare function parseWorkReportResult(input: unknown): WorkReportResult;
607
+ export declare function parsePlanSubmission(input: unknown): z.infer<typeof planSubmissionSchema>;
608
+ export declare function parseIdealSubmission(input: unknown): z.infer<typeof idealSubmissionSchema>;
609
+ export declare function parseEnnoAnswer(input: unknown): z.infer<typeof ennoAnswerSchema>;
610
+ export declare function parseWorkReport(input: unknown): z.infer<typeof workReportSchema>;
611
+ export declare function parseFinishRequest(input: unknown): z.infer<typeof finishSchema>;
612
+ export declare function parseMeditationSubmission(input: unknown): z.infer<typeof meditationSubmissionSchema>;
613
+ export declare function assertVerifierCwd(repositoryRoot: string, verifier: VerifierSpec): void;
614
+ export declare function assertContractVerifierCwds(repositoryRoot: string, contract: Pick<EnnoOdunoContract, 'workPlan' | 'finalVerifiers'>): void;
615
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/enno-oduno/schemas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAS5B,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACtB,MAAM,YAAY,CAAC;AAepB,eAAO,MA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