oh-my-knowledge 1.0.0-beta.0 → 1.0.0-beta.10

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 (1297) hide show
  1. package/README.md +26 -198
  2. package/README.zh.md +27 -199
  3. package/dist/assets/agent-skills/omk/SKILL.md +17 -9
  4. package/dist/assets/agent-skills/omk/references/commands.md +101 -61
  5. package/dist/cli/commands/doctor.d.ts +0 -1
  6. package/dist/cli/commands/doctor.js +11 -125
  7. package/dist/cli/commands/eval/gold/compare.d.ts +5 -4
  8. package/dist/cli/commands/eval/gold/compare.js +28 -19
  9. package/dist/cli/commands/eval/gold/index.js +2 -8
  10. package/dist/cli/commands/eval/gold/validate.js +7 -3
  11. package/dist/cli/commands/eval/index.d.ts +14 -3
  12. package/dist/cli/commands/eval/index.js +60 -46
  13. package/dist/cli/commands/evolve.d.ts +28 -31
  14. package/dist/cli/commands/evolve.js +87 -151
  15. package/dist/cli/commands/init.js +17 -19
  16. package/dist/cli/commands/install.js +56 -70
  17. package/dist/cli/commands/observe/inbox.d.ts +4 -2
  18. package/dist/cli/commands/observe/inbox.js +34 -106
  19. package/dist/cli/commands/observe/index.d.ts +0 -18
  20. package/dist/cli/commands/observe/index.js +37 -72
  21. package/dist/cli/commands/observe/knowledge.d.ts +26 -0
  22. package/dist/cli/commands/observe/knowledge.js +124 -0
  23. package/dist/cli/commands/promote.js +6 -14
  24. package/dist/cli/commands/rollback.js +6 -14
  25. package/dist/cli/commands/sample.d.ts +21 -26
  26. package/dist/cli/commands/sample.js +92 -199
  27. package/dist/cli/commands/studio.d.ts +4 -2
  28. package/dist/cli/commands/studio.js +51 -19
  29. package/dist/cli/index.js +9 -6
  30. package/dist/cli/lib/actor.d.ts +2 -0
  31. package/dist/cli/lib/actor.js +13 -0
  32. package/dist/cli/lib/cli-exit.d.ts +0 -2
  33. package/dist/cli/lib/cli-exit.js +0 -2
  34. package/dist/cli/lib/cmd-flags.d.ts +12 -233
  35. package/dist/cli/lib/cmd-flags.js +0 -44
  36. package/dist/cli/lib/core-report-service.d.ts +3 -0
  37. package/dist/cli/lib/core-report-service.js +55 -0
  38. package/dist/cli/lib/eval-output.d.ts +3 -0
  39. package/dist/cli/lib/eval-output.js +75 -0
  40. package/dist/cli/lib/evaluation-composition.d.ts +3 -0
  41. package/dist/cli/lib/evaluation-composition.js +96 -0
  42. package/dist/cli/lib/i18n-dict/common.d.ts +1 -1
  43. package/dist/cli/lib/i18n-dict/common.js +2 -14
  44. package/dist/cli/lib/i18n-dict/help.d.ts +1 -1
  45. package/dist/cli/lib/i18n-dict/help.js +0 -226
  46. package/dist/cli/lib/i18n-dict/init.js +2 -2
  47. package/dist/cli/lib/i18n-dict/run.d.ts +1 -1
  48. package/dist/cli/lib/i18n-dict/run.js +34 -156
  49. package/dist/cli/lib/i18n.d.ts +1 -11
  50. package/dist/cli/lib/i18n.js +8 -14
  51. package/dist/cli/lib/observation-window.d.ts +9 -0
  52. package/dist/cli/lib/observation-window.js +31 -0
  53. package/dist/cli/lib/parse-run-config/judge-models.d.ts +0 -21
  54. package/dist/cli/lib/parse-run-config/judge-models.js +1 -43
  55. package/dist/cli/lib/parse-run-config/samples-discovery.d.ts +1 -1
  56. package/dist/cli/lib/parse-run-config/samples-discovery.js +3 -3
  57. package/dist/cli/lib/prepare-evaluation.d.ts +15 -0
  58. package/dist/cli/lib/prepare-evaluation.js +45 -0
  59. package/dist/cli/lib/progress.d.ts +1 -24
  60. package/dist/cli/lib/progress.js +1 -61
  61. package/dist/cli/lib/resolve-skill-input.d.ts +4 -1
  62. package/dist/cli/lib/resolve-skill-input.js +3 -3
  63. package/dist/cli/lib/run-core-evaluation.d.ts +4 -11
  64. package/dist/cli/lib/run-core-evaluation.js +52 -314
  65. package/dist/cli/lib/runtime-defaults.js +10 -4
  66. package/dist/cli/lib/update-check.d.ts +5 -2
  67. package/dist/cli/lib/update-check.js +18 -15
  68. package/dist/cli/lib/update-fetch-worker.js +5 -5
  69. package/dist/cli/oclif/base-command.d.ts +1 -0
  70. package/dist/cli/oclif/base-command.js +13 -0
  71. package/dist/cli/oclif/help.js +2 -5
  72. package/dist/cli/oclif/i18n.js +6 -9
  73. package/dist/cli/oclif/parsers.d.ts +2 -0
  74. package/dist/cli/oclif/parsers.js +11 -0
  75. package/dist/cli/oclif/projection.d.ts +1 -4
  76. package/dist/cli/oclif/run.js +36 -8
  77. package/dist/cli/templates/init-samples.js +113 -133
  78. package/dist/diagnosis/observe-mapper.d.ts +1 -2
  79. package/dist/diagnosis/observe-mapper.js +0 -9
  80. package/dist/dsh-plugin/core-adapter.d.ts +2 -2
  81. package/dist/dsh-plugin/core-adapter.js +5 -5
  82. package/dist/dsh-plugin/core-command.d.ts +1 -1
  83. package/dist/dsh-plugin/core-command.js +46 -214
  84. package/dist/dsh-plugin/core-protocol.d.ts +1 -1
  85. package/dist/dsh-plugin/core-protocol.js +2 -2
  86. package/dist/dsh-plugin/index.js +6 -4
  87. package/dist/dsh-plugin/observe.js +1 -1
  88. package/dist/eval-core/analysis/builtins.d.ts +8 -0
  89. package/dist/eval-core/analysis/builtins.js +1334 -33
  90. package/dist/eval-core/analysis/decision.d.ts +1 -3
  91. package/dist/eval-core/analysis/decision.js +2 -8
  92. package/dist/eval-core/analysis/runtime.d.ts +1 -3
  93. package/dist/eval-core/analysis/runtime.js +42 -11
  94. package/dist/eval-core/analysis/types.d.ts +4 -0
  95. package/dist/eval-core/analysis/types.js +2 -0
  96. package/dist/eval-core/compiler/immutability.d.ts +1 -1
  97. package/dist/eval-core/compiler/immutability.js +1 -12
  98. package/dist/eval-core/compiler/index.d.ts +2 -2
  99. package/dist/eval-core/compiler/index.js +48 -9
  100. package/dist/eval-core/compiler/types.d.ts +9 -1
  101. package/dist/eval-core/compiler/types.js +1 -0
  102. package/dist/eval-core/compiler/validation.d.ts +3 -0
  103. package/dist/eval-core/compiler/validation.js +307 -25
  104. package/dist/eval-core/contracts/analysis-bundle.d.ts +15 -0
  105. package/dist/eval-core/contracts/analysis-bundle.js +61 -3
  106. package/dist/eval-core/contracts/analysis-input-matching.d.ts +4 -0
  107. package/dist/eval-core/contracts/analysis-input-matching.js +29 -0
  108. package/dist/eval-core/contracts/artifacts.d.ts +65 -4
  109. package/dist/eval-core/contracts/artifacts.js +6 -4
  110. package/dist/eval-core/contracts/common.d.ts +5 -0
  111. package/dist/eval-core/contracts/comparability.d.ts +11 -12
  112. package/dist/eval-core/contracts/comparability.js +56 -52
  113. package/dist/eval-core/contracts/definition.d.ts +263 -7
  114. package/dist/eval-core/contracts/definition.js +35 -3
  115. package/dist/eval-core/contracts/digests.d.ts +8 -1
  116. package/dist/eval-core/contracts/digests.js +168 -5
  117. package/dist/eval-core/contracts/evaluation-bundle.js +5 -16
  118. package/dist/eval-core/contracts/execution-controls.d.ts +162 -0
  119. package/dist/eval-core/contracts/execution-controls.js +43 -1
  120. package/dist/eval-core/contracts/execution-identities.d.ts +1 -1
  121. package/dist/eval-core/contracts/execution-identities.js +33 -3
  122. package/dist/eval-core/contracts/immutability.d.ts +2 -0
  123. package/dist/eval-core/contracts/immutability.js +20 -0
  124. package/dist/eval-core/contracts/index.d.ts +1 -0
  125. package/dist/eval-core/contracts/index.js +1 -0
  126. package/dist/eval-core/contracts/json-schema.d.ts +2 -0
  127. package/dist/eval-core/contracts/json-schema.js +11 -4
  128. package/dist/eval-core/contracts/json.d.ts +0 -1
  129. package/dist/eval-core/contracts/json.js +3 -19
  130. package/dist/eval-core/contracts/plans.d.ts +329 -14
  131. package/dist/eval-core/contracts/plans.js +12 -6
  132. package/dist/eval-core/contracts/schemas/v1/analysis-bundle.schema.json +1 -1
  133. package/dist/eval-core/contracts/schemas/v1/budget-summary.schema.json +1 -1
  134. package/dist/eval-core/contracts/schemas/v1/comparability-assessment.schema.json +1 -1
  135. package/dist/eval-core/contracts/schemas/v1/comparability-policy.schema.json +1 -1
  136. package/dist/eval-core/contracts/schemas/v1/decision-plan.schema.json +1 -1
  137. package/dist/eval-core/contracts/schemas/v1/evaluation-bundle.schema.json +1 -1
  138. package/dist/eval-core/contracts/schemas/v1/evaluation-event.schema.json +1 -1
  139. package/dist/eval-core/contracts/schemas/v1/evaluation-plan.schema.json +1 -1
  140. package/dist/eval-core/contracts/schemas/v1/evaluation-report.schema.json +1 -1
  141. package/dist/eval-core/contracts/schemas/v1/evaluation-series-definition.schema.json +1 -1
  142. package/dist/eval-core/contracts/schemas/v1/evaluation-series-plan.schema.json +1 -1
  143. package/dist/eval-core/contracts/schemas/v1/evaluation-series-report.schema.json +1 -1
  144. package/dist/eval-core/contracts/schemas/v1/execution-bundle.schema.json +1 -1
  145. package/dist/eval-core/contracts/schemas/v1/execution-facts.schema.json +1 -1
  146. package/dist/eval-core/contracts/schemas/v1/executor-capabilities.schema.json +1 -1
  147. package/dist/eval-core/contracts/schemas/v1/measurement-policy.schema.json +9 -1
  148. package/dist/eval-core/contracts/schemas/v1/series-analysis-bundle.schema.json +1 -1
  149. package/dist/eval-core/contracts/schemas/v2/analysis-bundle.schema.json +1022 -0
  150. package/dist/eval-core/contracts/schemas/v2/comparability-assessment.schema.json +452 -0
  151. package/dist/eval-core/contracts/schemas/v2/evaluation-report.schema.json +1041 -0
  152. package/dist/eval-core/contracts/schemas/v2/execution-plan.schema.json +1130 -0
  153. package/dist/eval-core/contracts/schemas/v2/series-analysis-bundle.schema.json +1299 -0
  154. package/dist/eval-core/contracts/schemas/v3/analysis-plan.schema.json +1006 -0
  155. package/dist/eval-core/contracts/schemas/v3/evaluation-definition.schema.json +1360 -0
  156. package/dist/eval-core/contracts/schemas/v3/execution-plan.schema.json +1177 -0
  157. package/dist/eval-core/contracts/schemas/v3/run-plan.schema.json +2663 -0
  158. package/dist/eval-core/contracts/schemas/v4/evaluation-definition.schema.json +1407 -0
  159. package/dist/eval-core/contracts/schemas/v4/execution-plan.schema.json +1221 -0
  160. package/dist/eval-core/contracts/schemas/v4/run-plan.schema.json +2710 -0
  161. package/dist/eval-core/contracts/schemas/v5/evaluation-definition.schema.json +1451 -0
  162. package/dist/eval-core/contracts/schemas/v5/run-plan.schema.json +2762 -0
  163. package/dist/eval-core/contracts/sealed-run-plan.d.ts +14 -0
  164. package/dist/eval-core/contracts/sealed-run-plan.js +12 -0
  165. package/dist/eval-core/contracts/series.d.ts +9 -9
  166. package/dist/eval-core/contracts/series.js +3 -3
  167. package/dist/eval-core/contracts/statistics.d.ts +2 -0
  168. package/dist/eval-core/contracts/statistics.js +19 -0
  169. package/dist/eval-core/engine/index.d.ts +21 -1
  170. package/dist/eval-core/engine/index.js +59 -25
  171. package/dist/eval-core/engine/types.d.ts +2 -0
  172. package/dist/eval-core/evaluation/runtime.d.ts +1 -3
  173. package/dist/eval-core/evaluation/runtime.js +53 -17
  174. package/dist/eval-core/evaluation/types.d.ts +1 -1
  175. package/dist/eval-core/evaluation/types.js +1 -0
  176. package/dist/eval-core/execution/runtime.d.ts +0 -3
  177. package/dist/eval-core/execution/runtime.js +11 -13
  178. package/dist/eval-core/execution/types.d.ts +2 -0
  179. package/dist/eval-core/facade.d.ts +1 -1
  180. package/dist/eval-core/facade.js +1 -1
  181. package/dist/eval-core/index.d.ts +3 -3
  182. package/dist/eval-core/index.js +1 -1
  183. package/dist/eval-core/schema-url.d.ts +2 -2
  184. package/dist/eval-core/schema-url.js +3 -3
  185. package/dist/eval-core/schemas.d.ts +1 -0
  186. package/dist/eval-core/schemas.js +18 -0
  187. package/dist/eval-core/series/builtins.d.ts +30 -0
  188. package/dist/eval-core/series/builtins.js +226 -0
  189. package/dist/eval-core/series/index.d.ts +1 -0
  190. package/dist/eval-core/series/index.js +1 -0
  191. package/dist/eval-core/series/runtime.js +10 -1
  192. package/dist/eval-runtime/adapters/command-executor.d.ts +50 -0
  193. package/dist/eval-runtime/adapters/command-executor.js +404 -0
  194. package/dist/eval-runtime/adapters/executor-fn.d.ts +21 -0
  195. package/dist/eval-runtime/adapters/executor-fn.js +74 -0
  196. package/dist/eval-runtime/adapters/invoke-contract.d.ts +159 -0
  197. package/dist/eval-runtime/adapters/invoke-contract.js +64 -0
  198. package/dist/eval-runtime/adapters/json-executor.d.ts +99 -0
  199. package/dist/eval-runtime/adapters/json-executor.js +928 -0
  200. package/dist/eval-runtime/adapters/same-process.d.ts +112 -0
  201. package/dist/eval-runtime/adapters/same-process.js +322 -0
  202. package/dist/eval-runtime/builders/exact-match.d.ts +31 -0
  203. package/dist/eval-runtime/builders/exact-match.js +48 -0
  204. package/dist/eval-runtime/builders/paired-comparison.d.ts +42 -0
  205. package/dist/eval-runtime/builders/paired-comparison.js +130 -0
  206. package/dist/eval-runtime/builders/policy.d.ts +245 -0
  207. package/dist/eval-runtime/builders/policy.js +224 -0
  208. package/dist/eval-runtime/clock.d.ts +3 -0
  209. package/dist/eval-runtime/clock.js +25 -0
  210. package/dist/eval-runtime/conformance/cache.d.ts +26 -0
  211. package/dist/eval-runtime/conformance/cache.js +305 -0
  212. package/dist/eval-runtime/conformance/content-store.d.ts +27 -0
  213. package/dist/eval-runtime/conformance/content-store.js +98 -0
  214. package/dist/eval-runtime/conformance/evaluator.d.ts +38 -0
  215. package/dist/eval-runtime/conformance/evaluator.js +281 -0
  216. package/dist/eval-runtime/conformance/executor.d.ts +53 -0
  217. package/dist/eval-runtime/conformance/executor.js +246 -0
  218. package/dist/eval-runtime/conformance/judge.d.ts +43 -0
  219. package/dist/eval-runtime/conformance/judge.js +276 -0
  220. package/dist/eval-runtime/conformance/runtime.d.ts +48 -0
  221. package/dist/eval-runtime/conformance/runtime.js +130 -0
  222. package/dist/eval-runtime/conformance/workspace-provider.d.ts +20 -0
  223. package/dist/eval-runtime/conformance/workspace-provider.js +260 -0
  224. package/dist/eval-runtime/custom-evaluator.d.ts +106 -0
  225. package/dist/eval-runtime/custom-evaluator.js +285 -0
  226. package/dist/eval-runtime/evaluate.d.ts +11 -0
  227. package/dist/eval-runtime/evaluate.js +7 -0
  228. package/dist/eval-runtime/evaluation/capture-evaluators.d.ts +28 -0
  229. package/dist/eval-runtime/evaluation/capture-evaluators.js +516 -0
  230. package/dist/eval-runtime/evaluation/capture-input.d.ts +38 -0
  231. package/dist/eval-runtime/evaluation/capture-input.js +460 -0
  232. package/dist/eval-runtime/evaluation/conformance.d.ts +7 -0
  233. package/dist/eval-runtime/evaluation/conformance.js +117 -0
  234. package/dist/eval-runtime/evaluation/contracts.d.ts +535 -0
  235. package/dist/eval-runtime/evaluation/definition.d.ts +12 -0
  236. package/dist/eval-runtime/evaluation/definition.js +659 -0
  237. package/dist/eval-runtime/evaluation/errors.d.ts +32 -0
  238. package/dist/eval-runtime/evaluation/errors.js +27 -0
  239. package/dist/eval-runtime/evaluation/execute-stage.d.ts +9 -0
  240. package/dist/eval-runtime/evaluation/execute-stage.js +62 -0
  241. package/dist/eval-runtime/evaluation/ordering.d.ts +1 -0
  242. package/dist/eval-runtime/evaluation/ordering.js +3 -0
  243. package/dist/eval-runtime/evaluation/prepare.d.ts +15 -0
  244. package/dist/eval-runtime/evaluation/prepare.js +368 -0
  245. package/dist/eval-runtime/evaluation/result-state.d.ts +29 -0
  246. package/dist/eval-runtime/evaluation/result-state.js +59 -0
  247. package/dist/eval-runtime/evaluation/reuse.d.ts +28 -0
  248. package/dist/eval-runtime/evaluation/reuse.js +267 -0
  249. package/dist/eval-runtime/evaluation/schemas.d.ts +442 -0
  250. package/dist/eval-runtime/evaluation/schemas.js +260 -0
  251. package/dist/eval-runtime/evaluation/stage-session.d.ts +55 -0
  252. package/dist/eval-runtime/evaluation/stage-session.js +227 -0
  253. package/dist/eval-runtime/evaluators/abstention.d.ts +54 -0
  254. package/dist/eval-runtime/evaluators/abstention.js +123 -0
  255. package/dist/eval-runtime/evaluators/exact-match.d.ts +18 -0
  256. package/dist/eval-runtime/evaluators/exact-match.js +71 -0
  257. package/dist/eval-runtime/evaluators/formula.d.ts +28 -0
  258. package/dist/eval-runtime/evaluators/formula.js +204 -0
  259. package/dist/eval-runtime/evaluators/retrieval.d.ts +30 -0
  260. package/dist/eval-runtime/evaluators/retrieval.js +172 -0
  261. package/dist/eval-runtime/evaluators/tool-trajectory.d.ts +22 -0
  262. package/dist/eval-runtime/evaluators/tool-trajectory.js +177 -0
  263. package/dist/eval-runtime/executed-store.d.ts +48 -0
  264. package/dist/eval-runtime/executed-store.js +256 -0
  265. package/dist/eval-runtime/execution-controls.d.ts +6 -0
  266. package/dist/eval-runtime/execution-controls.js +57 -0
  267. package/dist/eval-runtime/execution.d.ts +60 -0
  268. package/dist/eval-runtime/execution.js +183 -0
  269. package/dist/eval-runtime/identity.d.ts +78 -0
  270. package/dist/eval-runtime/identity.js +116 -0
  271. package/dist/eval-runtime/index.d.ts +64 -0
  272. package/dist/eval-runtime/index.js +28 -0
  273. package/dist/eval-runtime/infrastructure.d.ts +51 -0
  274. package/dist/eval-runtime/infrastructure.js +89 -0
  275. package/dist/eval-runtime/judges/invocation.d.ts +43 -0
  276. package/dist/eval-runtime/judges/invocation.js +72 -0
  277. package/dist/eval-runtime/judges/rubric-contracts.d.ts +58 -0
  278. package/dist/eval-runtime/judges/rubric-contracts.js +74 -0
  279. package/dist/eval-runtime/judges/rubric-judge.d.ts +84 -0
  280. package/dist/eval-runtime/judges/rubric-judge.js +486 -0
  281. package/dist/eval-runtime/judges/rubric-kit.d.ts +51 -0
  282. package/dist/eval-runtime/judges/rubric-kit.js +139 -0
  283. package/dist/eval-runtime/judges/rubric-prompt.d.ts +5 -0
  284. package/dist/eval-runtime/judges/rubric-prompt.js +59 -0
  285. package/dist/eval-runtime/judges/trace-summary.js +98 -0
  286. package/dist/eval-runtime/mcp-config.d.ts +48 -0
  287. package/dist/eval-runtime/mcp-config.js +90 -0
  288. package/dist/eval-runtime/mock-interception.d.ts +65 -0
  289. package/dist/eval-runtime/mock-interception.js +109 -0
  290. package/dist/eval-runtime/provider.d.ts +38 -0
  291. package/dist/eval-runtime/provider.js +13 -0
  292. package/dist/eval-runtime/result-store.d.ts +45 -0
  293. package/dist/eval-runtime/result-store.js +247 -0
  294. package/dist/eval-runtime/runner.d.ts +47 -0
  295. package/dist/eval-runtime/runner.js +116 -0
  296. package/dist/eval-runtime/runtime.d.ts +35 -0
  297. package/dist/eval-runtime/runtime.js +111 -0
  298. package/dist/eval-runtime/series.d.ts +85 -0
  299. package/dist/eval-runtime/series.js +383 -0
  300. package/dist/eval-runtime/tool-policy.d.ts +12 -0
  301. package/dist/eval-runtime/tool-policy.js +69 -0
  302. package/dist/eval-runtime/traces/source-neutral.js +216 -0
  303. package/dist/eval-runtime/workspace.d.ts +49 -0
  304. package/dist/eval-runtime/workspace.js +84 -0
  305. package/dist/eval-workflows/analysis/binomial-confidence.d.ts +13 -0
  306. package/dist/eval-workflows/analysis/binomial-confidence.js +122 -0
  307. package/dist/eval-workflows/analysis/bootstrap.d.ts +17 -12
  308. package/dist/eval-workflows/analysis/bootstrap.js +73 -40
  309. package/dist/eval-workflows/analysis/sample-size.d.ts +16 -0
  310. package/dist/eval-workflows/analysis/sample-size.js +83 -0
  311. package/dist/eval-workflows/artifact-store/contracts.d.ts +6 -6
  312. package/dist/eval-workflows/artifact-store/node-run-store.js +10 -1
  313. package/dist/eval-workflows/assertions/deterministic.d.ts +0 -4
  314. package/dist/eval-workflows/assertions/deterministic.js +0 -19
  315. package/dist/eval-workflows/evaluation-defaults.d.ts +4 -0
  316. package/dist/eval-workflows/evaluation-defaults.js +4 -0
  317. package/dist/eval-workflows/gold/cli.d.ts +1 -1
  318. package/dist/eval-workflows/gold/cli.js +4 -4
  319. package/dist/eval-workflows/gold/dataset.d.ts +4 -0
  320. package/dist/eval-workflows/gold/dataset.js +60 -12
  321. package/dist/eval-workflows/gold/human.d.ts +48 -20
  322. package/dist/eval-workflows/gold/human.js +113 -50
  323. package/dist/eval-workflows/hosts/adapters/anthropic/api.js +286 -0
  324. package/dist/eval-workflows/hosts/adapters/anthropic/input.d.ts +7 -0
  325. package/dist/eval-workflows/hosts/adapters/anthropic/input.js +28 -0
  326. package/dist/eval-workflows/hosts/adapters/anthropic/protocol.d.ts +67 -0
  327. package/dist/eval-workflows/hosts/adapters/anthropic/protocol.js +192 -0
  328. package/dist/eval-workflows/hosts/adapters/claude/cli-protocol.d.ts +19 -0
  329. package/dist/eval-workflows/hosts/adapters/claude/cli-protocol.js +274 -0
  330. package/dist/eval-workflows/hosts/adapters/claude/cli.js +607 -0
  331. package/dist/eval-workflows/hosts/adapters/claude/core-protocol-contract.d.ts +5 -0
  332. package/dist/eval-workflows/hosts/adapters/claude/core-protocol-contract.js +57 -0
  333. package/dist/eval-workflows/hosts/adapters/claude/resources.d.ts +125 -0
  334. package/dist/eval-workflows/hosts/adapters/claude/resources.js +713 -0
  335. package/dist/eval-workflows/hosts/adapters/claude/sdk-protocol.d.ts +7 -0
  336. package/dist/eval-workflows/hosts/adapters/claude/sdk-protocol.js +36 -0
  337. package/dist/eval-workflows/hosts/adapters/claude/sdk.js +507 -0
  338. package/dist/eval-workflows/hosts/adapters/codex/cli-protocol.d.ts +65 -0
  339. package/dist/eval-workflows/hosts/adapters/codex/cli-protocol.js +63 -0
  340. package/dist/eval-workflows/hosts/adapters/codex/cli-resources.d.ts +13 -0
  341. package/dist/eval-workflows/hosts/adapters/codex/cli-resources.js +16 -0
  342. package/dist/eval-workflows/hosts/adapters/codex/cli.d.ts +44 -0
  343. package/dist/eval-workflows/hosts/adapters/codex/cli.js +315 -0
  344. package/dist/eval-workflows/hosts/adapters/codex/protocol-core.js +232 -0
  345. package/dist/eval-workflows/hosts/adapters/codex/reference-evaluator.d.ts +7 -0
  346. package/dist/eval-workflows/hosts/adapters/codex/reference-evaluator.js +49 -0
  347. package/dist/eval-workflows/hosts/adapters/codex/reference-executor.d.ts +70 -0
  348. package/dist/eval-workflows/hosts/adapters/codex/reference-executor.js +385 -0
  349. package/dist/eval-workflows/hosts/adapters/codex/reference-model.d.ts +3 -0
  350. package/dist/eval-workflows/hosts/adapters/codex/reference-model.js +48 -0
  351. package/dist/eval-workflows/hosts/adapters/codex/resources.d.ts +120 -0
  352. package/dist/eval-workflows/hosts/adapters/codex/resources.js +352 -0
  353. package/dist/eval-workflows/hosts/adapters/codex/sdk-protocol.d.ts +59 -0
  354. package/dist/eval-workflows/hosts/adapters/codex/sdk-protocol.js +18 -0
  355. package/dist/eval-workflows/hosts/adapters/codex/sdk.d.ts +32 -0
  356. package/dist/eval-workflows/hosts/adapters/codex/sdk.js +385 -0
  357. package/dist/eval-workflows/hosts/adapters/codex/version.d.ts +11 -0
  358. package/dist/eval-workflows/hosts/adapters/codex/version.js +50 -0
  359. package/dist/eval-workflows/hosts/adapters/custom/executor.d.ts +240 -0
  360. package/dist/eval-workflows/hosts/adapters/custom/executor.js +838 -0
  361. package/dist/eval-workflows/hosts/adapters/openai/api.js +292 -0
  362. package/dist/eval-workflows/hosts/adapters/openai/input.d.ts +7 -0
  363. package/dist/eval-workflows/hosts/adapters/openai/input.js +19 -0
  364. package/dist/eval-workflows/hosts/adapters/openai/protocol.d.ts +67 -0
  365. package/dist/eval-workflows/hosts/adapters/openai/protocol.js +236 -0
  366. package/dist/eval-workflows/hosts/adapters/shared/api-protocol-core.js +100 -0
  367. package/dist/eval-workflows/hosts/adapters/shared/classified-environment.js +47 -0
  368. package/dist/eval-workflows/hosts/adapters/shared/readonly-map-snapshot.d.ts +2 -0
  369. package/dist/eval-workflows/hosts/adapters/shared/readonly-map-snapshot.js +17 -0
  370. package/dist/eval-workflows/hosts/adapters/shared/sample-input.d.ts +18 -0
  371. package/dist/eval-workflows/hosts/adapters/shared/sample-input.js +40 -0
  372. package/dist/eval-workflows/hosts/adapters/shared/stateless-api-resources.d.ts +86 -0
  373. package/dist/eval-workflows/hosts/adapters/shared/stateless-api-resources.js +249 -0
  374. package/dist/eval-workflows/hosts/adapters/shared/trial-workspace.d.ts +10 -0
  375. package/dist/eval-workflows/hosts/adapters/shared/trial-workspace.js +52 -0
  376. package/dist/eval-workflows/hosts/application.d.ts +83 -0
  377. package/dist/eval-workflows/hosts/application.js +126 -0
  378. package/dist/eval-workflows/hosts/composition/assembly.d.ts +6 -0
  379. package/dist/eval-workflows/hosts/composition/assembly.js +767 -0
  380. package/dist/eval-workflows/hosts/composition/builtins.d.ts +7 -0
  381. package/dist/eval-workflows/hosts/composition/builtins.js +130 -0
  382. package/dist/eval-workflows/hosts/composition/evolution-evaluation.d.ts +4 -0
  383. package/dist/eval-workflows/hosts/composition/evolution-evaluation.js +21 -0
  384. package/dist/eval-workflows/hosts/composition/judge-provider-identity.d.ts +9 -0
  385. package/dist/eval-workflows/hosts/composition/judge-provider-identity.js +91 -0
  386. package/dist/eval-workflows/hosts/composition/node-preflight.d.ts +3 -0
  387. package/dist/eval-workflows/hosts/composition/node-preflight.js +163 -0
  388. package/dist/eval-workflows/hosts/composition/node-runtime.d.ts +22 -0
  389. package/dist/eval-workflows/hosts/composition/node-runtime.js +165 -0
  390. package/dist/eval-workflows/hosts/composition/preflight.d.ts +54 -0
  391. package/dist/eval-workflows/hosts/composition/preflight.js +248 -0
  392. package/dist/eval-workflows/hosts/composition/registered-runtime.d.ts +20 -0
  393. package/dist/eval-workflows/hosts/composition/registered-runtime.js +19 -0
  394. package/dist/eval-workflows/hosts/composition/runtime-registry.d.ts +62 -0
  395. package/dist/eval-workflows/hosts/composition/runtime-registry.js +240 -0
  396. package/dist/eval-workflows/hosts/composition/runtime.d.ts +79 -0
  397. package/dist/eval-workflows/hosts/composition/runtime.js +756 -0
  398. package/dist/eval-workflows/hosts/evaluators/executor-judge-invocation.d.ts +5 -0
  399. package/dist/eval-workflows/hosts/evaluators/executor-judge-invocation.js +57 -0
  400. package/dist/eval-workflows/hosts/evaluators/llm-assertion-factory.d.ts +6 -0
  401. package/dist/eval-workflows/hosts/evaluators/llm-assertion-factory.js +43 -0
  402. package/dist/eval-workflows/hosts/evaluators/llm-judge-invocation.d.ts +8 -0
  403. package/dist/eval-workflows/hosts/evaluators/llm-judge-invocation.js +1 -0
  404. package/dist/eval-workflows/hosts/evaluators/rubric-judge.d.ts +6 -0
  405. package/dist/eval-workflows/hosts/evaluators/rubric-judge.js +47 -0
  406. package/dist/eval-workflows/hosts/input-resolution/node-cli-evaluation-resolver.d.ts +20 -0
  407. package/dist/eval-workflows/hosts/input-resolution/node-cli-evaluation-resolver.js +938 -0
  408. package/dist/eval-workflows/hosts/input-resolution/node-sample-content-resolver.d.ts +43 -0
  409. package/dist/eval-workflows/hosts/input-resolution/node-sample-content-resolver.js +270 -0
  410. package/dist/eval-workflows/hosts/input-resolution/safe-http-content-resolver.d.ts +4 -0
  411. package/dist/eval-workflows/hosts/reference-executors.d.ts +12 -0
  412. package/dist/eval-workflows/hosts/reference-executors.js +11 -0
  413. package/dist/eval-workflows/hosts/resource-leases/access.js +130 -0
  414. package/dist/eval-workflows/hosts/resource-leases/node.d.ts +19 -0
  415. package/dist/eval-workflows/hosts/resource-leases/node.js +794 -0
  416. package/dist/eval-workflows/hosts/resource-leases/types.d.ts +106 -0
  417. package/dist/eval-workflows/input-compilation/compile.js +45 -16
  418. package/dist/eval-workflows/input-compilation/error.d.ts +1 -1
  419. package/dist/eval-workflows/input-compilation/parse.d.ts +2 -0
  420. package/dist/eval-workflows/input-compilation/parse.js +148 -87
  421. package/dist/eval-workflows/input-compilation/registry.d.ts +1 -1
  422. package/dist/eval-workflows/input-compilation/registry.js +34 -38
  423. package/dist/eval-workflows/input-compilation/types.d.ts +18 -5
  424. package/dist/eval-workflows/input-compilation/types.js +3 -3
  425. package/dist/eval-workflows/inputs/append-samples.d.ts +15 -0
  426. package/dist/eval-workflows/inputs/append-samples.js +72 -0
  427. package/dist/eval-workflows/inputs/assertion-types.d.ts +0 -1
  428. package/dist/eval-workflows/inputs/assertion-types.js +0 -1
  429. package/dist/eval-workflows/inputs/batch-discovery.d.ts +5 -0
  430. package/dist/eval-workflows/inputs/batch-discovery.js +28 -0
  431. package/dist/eval-workflows/inputs/contracts/config-schema.d.ts +375 -0
  432. package/dist/eval-workflows/inputs/contracts/config-schema.js +173 -0
  433. package/dist/eval-workflows/inputs/contracts/config.d.ts +1 -68
  434. package/dist/eval-workflows/inputs/contracts/sample-input.d.ts +35 -0
  435. package/dist/eval-workflows/inputs/contracts/sample.d.ts +41 -6
  436. package/dist/eval-workflows/inputs/contracts/schemas/v3/eval-sample-set.schema.json +1021 -0
  437. package/dist/eval-workflows/inputs/contracts/variant.d.ts +1 -8
  438. package/dist/eval-workflows/inputs/eval-config.d.ts +1 -1
  439. package/dist/eval-workflows/inputs/eval-config.js +21 -274
  440. package/dist/eval-workflows/inputs/eval-samples.d.ts +3 -2
  441. package/dist/eval-workflows/inputs/eval-samples.js +3 -2
  442. package/dist/eval-workflows/inputs/judge-models.d.ts +2 -0
  443. package/dist/eval-workflows/inputs/judge-models.js +23 -0
  444. package/dist/eval-workflows/inputs/load-samples.d.ts +3 -9
  445. package/dist/eval-workflows/inputs/load-samples.js +22 -38
  446. package/dist/eval-workflows/inputs/rubric-contract.d.ts +2 -0
  447. package/dist/eval-workflows/inputs/rubric-contract.js +2 -0
  448. package/dist/eval-workflows/inputs/sample-contract.js +41 -10
  449. package/dist/eval-workflows/inputs/sample-document.d.ts +1 -7
  450. package/dist/eval-workflows/inputs/sample-document.js +10 -74
  451. package/dist/eval-workflows/inputs/sample-locator.d.ts +0 -1
  452. package/dist/eval-workflows/inputs/sample-locator.js +0 -51
  453. package/dist/eval-workflows/inputs/sample-mapping.d.ts +4 -0
  454. package/dist/eval-workflows/inputs/sample-mapping.js +26 -0
  455. package/dist/eval-workflows/inputs/schemas/error.d.ts +5 -0
  456. package/dist/eval-workflows/inputs/schemas/error.js +12 -0
  457. package/dist/eval-workflows/inputs/schemas/json-schema.js +29 -2
  458. package/dist/eval-workflows/inputs/schemas/sample-input.d.ts +6 -0
  459. package/dist/eval-workflows/inputs/schemas/sample-input.js +102 -0
  460. package/dist/eval-workflows/inputs/schemas/sample-set.d.ts +8 -4
  461. package/dist/eval-workflows/inputs/schemas/sample-set.js +85 -11
  462. package/dist/eval-workflows/instruments/contracts/config.d.ts +7 -2
  463. package/dist/eval-workflows/instruments/prompts/debias-instructions.d.ts +1 -2
  464. package/dist/eval-workflows/instruments/prompts/debias-instructions.js +1 -16
  465. package/dist/eval-workflows/instruments/prompts/judge-prompts.d.ts +11 -8
  466. package/dist/eval-workflows/instruments/prompts/judge-prompts.js +4 -54
  467. package/dist/eval-workflows/measurement/analysis/agreement-node-contract.d.ts +15 -0
  468. package/dist/eval-workflows/measurement/analysis/agreement-node-contract.js +147 -0
  469. package/dist/eval-workflows/measurement/analysis/agreement-node.d.ts +3 -0
  470. package/dist/eval-workflows/measurement/analysis/agreement-node.js +74 -0
  471. package/dist/eval-workflows/measurement/analysis/agreement-source-adapter-v1.js +47 -0
  472. package/dist/eval-workflows/measurement/analysis/agreement-source-adapter.d.ts +11 -0
  473. package/dist/eval-workflows/measurement/analysis/agreement-source-adapter.js +47 -0
  474. package/dist/eval-workflows/measurement/analysis/agreement-source-pairs.d.ts +9 -0
  475. package/dist/eval-workflows/measurement/analysis/agreement-source-pairs.js +72 -0
  476. package/dist/eval-workflows/measurement/analysis/agreement-table.d.ts +465 -0
  477. package/dist/eval-workflows/measurement/analysis/agreement-table.js +432 -0
  478. package/dist/eval-workflows/measurement/analysis/assertion-layer-node.d.ts +5 -0
  479. package/dist/eval-workflows/measurement/analysis/assertion-layer-node.js +226 -0
  480. package/dist/eval-workflows/measurement/analysis/assertion-layer-parameters.d.ts +41 -0
  481. package/dist/eval-workflows/measurement/analysis/assertion-layer-parameters.js +58 -0
  482. package/dist/eval-workflows/measurement/analysis/assertion-layer.d.ts +552 -0
  483. package/dist/eval-workflows/measurement/analysis/assertion-layer.js +301 -0
  484. package/dist/eval-workflows/measurement/analysis/bootstrap-family-node-contract.d.ts +3 -0
  485. package/dist/eval-workflows/measurement/analysis/bootstrap-family-node-contract.js +56 -0
  486. package/dist/eval-workflows/measurement/analysis/bootstrap-family-node-support.d.ts +7 -0
  487. package/dist/eval-workflows/measurement/analysis/bootstrap-family-node-support.js +36 -0
  488. package/dist/eval-workflows/measurement/analysis/bootstrap-family-node-v2.d.ts +5 -0
  489. package/dist/eval-workflows/measurement/analysis/bootstrap-family-node-v2.js +90 -0
  490. package/dist/eval-workflows/measurement/analysis/bootstrap-family-node.js +36 -0
  491. package/dist/eval-workflows/measurement/analysis/bootstrap-family-table-v2.d.ts +320 -0
  492. package/dist/eval-workflows/measurement/analysis/bootstrap-family-table-v2.js +265 -0
  493. package/dist/eval-workflows/measurement/analysis/bootstrap-family-table.d.ts +272 -0
  494. package/dist/eval-workflows/measurement/analysis/bootstrap-family-table.js +378 -0
  495. package/dist/eval-workflows/measurement/analysis/composite-node-contract.d.ts +10 -0
  496. package/dist/eval-workflows/measurement/analysis/composite-node-contract.js +80 -0
  497. package/dist/eval-workflows/measurement/analysis/composite-source-adapter.js +60 -0
  498. package/dist/eval-workflows/measurement/analysis/dimension-binding.d.ts +7 -0
  499. package/dist/eval-workflows/measurement/analysis/dimension-binding.js +17 -0
  500. package/dist/eval-workflows/measurement/analysis/dimension-node.d.ts +5 -0
  501. package/dist/eval-workflows/measurement/analysis/dimension-node.js +195 -0
  502. package/dist/eval-workflows/measurement/analysis/dimension-parameters.d.ts +32 -0
  503. package/dist/eval-workflows/measurement/analysis/dimension-parameters.js +76 -0
  504. package/dist/eval-workflows/measurement/analysis/dimension-table-v1.d.ts +131 -0
  505. package/dist/eval-workflows/measurement/analysis/dimension-table-v1.js +170 -0
  506. package/dist/eval-workflows/measurement/analysis/dimension-table.d.ts +141 -0
  507. package/dist/eval-workflows/measurement/analysis/dimension-table.js +201 -0
  508. package/dist/eval-workflows/measurement/analysis/judge-agreement.d.ts +8 -0
  509. package/dist/eval-workflows/measurement/analysis/judge-agreement.js +55 -0
  510. package/dist/eval-workflows/measurement/analysis/release-decision-parameters.d.ts +144 -0
  511. package/dist/eval-workflows/measurement/analysis/release-decision-parameters.js +284 -0
  512. package/dist/eval-workflows/measurement/analysis/release-decision.d.ts +25 -0
  513. package/dist/eval-workflows/measurement/analysis/release-decision.js +837 -0
  514. package/dist/eval-workflows/measurement/analysis/series-variance.d.ts +6 -0
  515. package/dist/eval-workflows/measurement/analysis/series-variance.js +94 -0
  516. package/dist/eval-workflows/measurement/evaluators/execution-assertions.d.ts +38 -0
  517. package/dist/eval-workflows/measurement/evaluators/execution-assertions.js +307 -0
  518. package/dist/eval-workflows/measurement/evaluators/llm-assertions.d.ts +76 -0
  519. package/dist/eval-workflows/measurement/evaluators/llm-assertions.js +467 -0
  520. package/dist/eval-workflows/measurement/evaluators/output-assertions.d.ts +33 -0
  521. package/dist/eval-workflows/messages.d.ts +1 -1
  522. package/dist/eval-workflows/messages.js +0 -12
  523. package/dist/eval-workflows/orchestration/evaluation-service.d.ts +26 -0
  524. package/dist/eval-workflows/orchestration/evaluation-service.js +82 -0
  525. package/dist/eval-workflows/orchestration/measurement-design.js +633 -0
  526. package/dist/eval-workflows/orchestration/orchestration.d.ts +38 -0
  527. package/dist/eval-workflows/orchestration/orchestration.js +185 -0
  528. package/dist/eval-workflows/orchestration/sample-content-resolution.d.ts +44 -0
  529. package/dist/eval-workflows/orchestration/sample-content-resolution.js +239 -0
  530. package/dist/eval-workflows/orchestration/workflow.d.ts +74 -0
  531. package/dist/eval-workflows/orchestration/workflow.js +213 -0
  532. package/dist/eval-workflows/projections/contracts.d.ts +45 -8
  533. package/dist/eval-workflows/projections/contracts.js +1 -1
  534. package/dist/eval-workflows/projections/gold.d.ts +2 -0
  535. package/dist/eval-workflows/projections/gold.js +107 -14
  536. package/dist/eval-workflows/sample-generation/generator.d.ts +102 -0
  537. package/dist/eval-workflows/sample-generation/generator.js +1038 -0
  538. package/dist/eval-workflows/sample-generation/skill-samples.d.ts +62 -0
  539. package/dist/eval-workflows/sample-generation/skill-samples.js +144 -0
  540. package/dist/eval-workflows/sample-generation/trace-drafts.d.ts +31 -0
  541. package/dist/eval-workflows/sample-generation/trace-drafts.js +39 -0
  542. package/dist/evidence/storage/default-dirs.d.ts +1 -2
  543. package/dist/evidence/storage/default-dirs.js +1 -2
  544. package/dist/evidence/storage/directories.js +5 -10
  545. package/dist/evidence/storage/directory-selection.d.ts +5 -0
  546. package/dist/evidence/storage/directory-selection.js +13 -0
  547. package/dist/evidence/storage/discovery-index.d.ts +0 -2
  548. package/dist/evidence/storage/discovery-index.js +0 -4
  549. package/dist/evidence/storage/file-names.d.ts +0 -2
  550. package/dist/evidence/storage/file-names.js +0 -6
  551. package/dist/evidence/storage/layout.d.ts +1 -0
  552. package/dist/evidence/storage/layout.js +1 -0
  553. package/dist/evidence/storage/user-settings.d.ts +44 -0
  554. package/dist/evidence/storage/user-settings.js +55 -0
  555. package/dist/executors/contracts/tool-call-status-schema.d.ts +7 -0
  556. package/dist/executors/contracts/tool-call-status-schema.js +7 -0
  557. package/dist/executors/contracts/trace-source-schema.d.ts +9 -0
  558. package/dist/executors/contracts/trace-source-schema.js +9 -0
  559. package/dist/executors/contracts/trace-source.d.ts +3 -1
  560. package/dist/executors/contracts/trace.d.ts +3 -1
  561. package/dist/executors/core/capabilities.d.ts +0 -5
  562. package/dist/executors/core/capabilities.js +3 -26
  563. package/dist/executors/core/registry.d.ts +11 -4
  564. package/dist/executors/core/registry.js +0 -9
  565. package/dist/executors/core/trace-source-kind.js +2 -10
  566. package/dist/executors/index.d.ts +1 -1
  567. package/dist/executors/index.js +1 -1
  568. package/dist/executors/mock-runtime/runtime.d.ts +0 -3
  569. package/dist/executors/mock-runtime/runtime.js +1 -9
  570. package/dist/executors/openai/codex/cli-arguments.d.ts +12 -0
  571. package/dist/executors/openai/codex/cli-arguments.js +24 -0
  572. package/dist/executors/openai/codex/cli.d.ts +1 -0
  573. package/dist/executors/openai/codex/cli.js +9 -24
  574. package/dist/executors/openai/codex/protocol.d.ts +2 -0
  575. package/dist/executors/openai/codex/protocol.js +9 -1
  576. package/dist/executors/result-validation.d.ts +0 -1
  577. package/dist/executors/result-validation.js +0 -5
  578. package/dist/executors/script/index.js +2 -1
  579. package/dist/executors/tool-call-status.d.ts +0 -1
  580. package/dist/executors/tool-call-status.js +2 -10
  581. package/dist/index.d.ts +3 -4
  582. package/dist/index.js +3 -4
  583. package/dist/knowledge/admission.d.ts +19 -0
  584. package/dist/knowledge/admission.js +109 -0
  585. package/dist/knowledge/contracts.d.ts +477 -0
  586. package/dist/knowledge/contracts.js +85 -0
  587. package/dist/knowledge/history.d.ts +4 -0
  588. package/dist/knowledge/history.js +87 -0
  589. package/dist/knowledge/store.d.ts +305 -0
  590. package/dist/knowledge/store.js +36 -0
  591. package/dist/knowledge-artifacts/authoring/core-evolver.d.ts +1 -0
  592. package/dist/knowledge-artifacts/authoring/core-evolver.js +7 -1
  593. package/dist/knowledge-artifacts/authoring/scaffold.d.ts +8 -0
  594. package/dist/knowledge-artifacts/authoring/scaffold.js +109 -0
  595. package/dist/knowledge-artifacts/contracts.d.ts +7 -0
  596. package/dist/knowledge-artifacts/doctor/contracts.d.ts +2 -0
  597. package/dist/knowledge-artifacts/doctor/endpoint-rule.js +1 -1
  598. package/dist/knowledge-artifacts/doctor/fixer.d.ts +1 -0
  599. package/dist/knowledge-artifacts/doctor/fixer.js +43 -35
  600. package/dist/knowledge-artifacts/doctor/health/composer.js +4 -0
  601. package/dist/knowledge-artifacts/doctor/index.js +4 -1
  602. package/dist/knowledge-artifacts/doctor/persistence.d.ts +3 -0
  603. package/dist/knowledge-artifacts/doctor/persistence.js +126 -0
  604. package/dist/knowledge-artifacts/doctor/rules.js +1 -1
  605. package/dist/knowledge-artifacts/governance/evidence.d.ts +1 -0
  606. package/dist/knowledge-artifacts/governance/evidence.js +6 -4
  607. package/dist/knowledge-artifacts/governance/evolve-outcome.js +41 -0
  608. package/dist/knowledge-artifacts/governance/install.d.ts +29 -0
  609. package/dist/knowledge-artifacts/governance/install.js +63 -0
  610. package/dist/knowledge-artifacts/governance/observe-feedback.d.ts +13 -0
  611. package/dist/knowledge-artifacts/governance/observe-feedback.js +10 -0
  612. package/dist/knowledge-artifacts/governance/source-probe.js +1 -1
  613. package/dist/knowledge-artifacts/governance/store.d.ts +7 -3
  614. package/dist/knowledge-artifacts/governance/store.js +29 -20
  615. package/dist/knowledge-artifacts/sources/artifact-resolution.d.ts +184 -0
  616. package/dist/knowledge-artifacts/sources/artifact-resolution.js +818 -0
  617. package/dist/knowledge-artifacts/sources/content-hash.js +2 -6
  618. package/dist/knowledge-artifacts/sources/deploy-artifact.d.ts +4 -0
  619. package/dist/knowledge-artifacts/sources/deploy-artifact.js +65 -0
  620. package/dist/knowledge-artifacts/sources/install-source.d.ts +37 -0
  621. package/dist/knowledge-artifacts/sources/install-source.js +124 -0
  622. package/dist/knowledge-artifacts/sources/materialize-copy.js +193 -0
  623. package/dist/observability/analysis/coverage-analyzer.d.ts +0 -1
  624. package/dist/observability/analysis/coverage-analyzer.js +0 -48
  625. package/dist/observability/analysis/gap-analyzer.d.ts +0 -8
  626. package/dist/observability/analysis/gap-analyzer.js +0 -15
  627. package/dist/observability/contracts/experience-enums.d.ts +227 -0
  628. package/dist/observability/contracts/experience-enums.js +227 -0
  629. package/dist/observability/contracts/experience-evidence-schema.d.ts +33130 -0
  630. package/dist/observability/contracts/experience-evidence-schema.js +704 -0
  631. package/dist/observability/contracts/experience.d.ts +75 -646
  632. package/dist/observability/contracts/inbox.d.ts +4 -4
  633. package/dist/observability/contracts/problem-patterns.d.ts +6 -30
  634. package/dist/observability/contracts/trace-metadata-schema.d.ts +10 -0
  635. package/dist/observability/contracts/trace-metadata-schema.js +10 -0
  636. package/dist/observability/contracts/trace.d.ts +3 -12
  637. package/dist/observability/conversation/catalog.d.ts +11 -2
  638. package/dist/observability/conversation/catalog.js +30 -12
  639. package/dist/observability/conversation/knowledge-debugger.js +1 -1
  640. package/dist/observability/conversation/project.d.ts +3 -0
  641. package/dist/observability/conversation/project.js +47 -0
  642. package/dist/observability/experience/report-codec.d.ts +8 -22
  643. package/dist/observability/experience/report-codec.js +22 -33
  644. package/dist/observability/experience/report-reference-validator.d.ts +2 -2
  645. package/dist/observability/experience/report-reference-validator.js +45 -88
  646. package/dist/observability/experience/report-structure.d.ts +1 -1
  647. package/dist/observability/experience/report-structure.js +2 -1
  648. package/dist/observability/experience/report-value-guards.d.ts +8 -21
  649. package/dist/observability/experience/report-value-guards.js +230 -1003
  650. package/dist/observability/experience/review-checklist.d.ts +1 -0
  651. package/dist/observability/experience/review-checklist.js +9 -5
  652. package/dist/observability/experience/reviewer-report.d.ts +1 -2
  653. package/dist/observability/experience/reviewer-report.js +2 -2
  654. package/dist/observability/experience/session-story.js +0 -2
  655. package/dist/observability/experience.d.ts +19 -0
  656. package/dist/observability/experience.js +8 -3
  657. package/dist/observability/inbox/effective-review.d.ts +25 -0
  658. package/dist/observability/inbox/effective-review.js +141 -0
  659. package/dist/observability/inbox/explicit-capture.js +1 -1
  660. package/dist/observability/inbox/feedback-matchers.d.ts +3 -4
  661. package/dist/observability/inbox/feedback-matchers.js +3 -4
  662. package/dist/observability/inbox/index.d.ts +4 -6
  663. package/dist/observability/inbox/index.js +7 -86
  664. package/dist/observability/inbox/metric-semantics.d.ts +8 -0
  665. package/dist/observability/inbox/metric-semantics.js +157 -0
  666. package/dist/observability/inbox/paths.js +4 -5
  667. package/dist/observability/inbox/report-filter.d.ts +2 -0
  668. package/dist/observability/inbox/report-filter.js +19 -0
  669. package/dist/observability/inbox/resolved-review.d.ts +0 -1
  670. package/dist/observability/inbox/resolved-review.js +3 -38
  671. package/dist/observability/inbox/review-semantics.d.ts +46 -0
  672. package/dist/observability/inbox/review-semantics.js +67 -0
  673. package/dist/observability/inbox/session-time-range.d.ts +2 -0
  674. package/dist/observability/inbox/session-time-range.js +10 -0
  675. package/dist/observability/inbox/severity-reason.d.ts +3 -0
  676. package/dist/observability/inbox/severity-reason.js +47 -0
  677. package/dist/observability/inbox/signal-semantics.d.ts +27 -0
  678. package/dist/observability/inbox/signal-semantics.js +113 -0
  679. package/dist/observability/inbox/skill-rollups.d.ts +58 -0
  680. package/dist/observability/inbox/skill-rollups.js +186 -0
  681. package/dist/observability/inbox/view-model.d.ts +2 -15
  682. package/dist/observability/inbox/view-model.js +5 -48
  683. package/dist/observability/knowledge-extraction/adapters/codex-evidence.d.ts +12 -0
  684. package/dist/observability/knowledge-extraction/adapters/codex-evidence.js +160 -0
  685. package/dist/observability/knowledge-extraction/adapters/executor.d.ts +3 -0
  686. package/dist/observability/knowledge-extraction/adapters/executor.js +38 -0
  687. package/dist/observability/knowledge-extraction/adapters/knowledge-store.d.ts +13 -0
  688. package/dist/observability/knowledge-extraction/adapters/knowledge-store.js +68 -0
  689. package/dist/observability/knowledge-extraction/adapters/run-store.d.ts +11 -0
  690. package/dist/observability/knowledge-extraction/adapters/run-store.js +49 -0
  691. package/dist/observability/knowledge-extraction/application.d.ts +1061 -0
  692. package/dist/observability/knowledge-extraction/application.js +155 -0
  693. package/dist/observability/knowledge-extraction/evidence.d.ts +51 -0
  694. package/dist/observability/knowledge-extraction/evidence.js +21 -0
  695. package/dist/observability/knowledge-extraction/local.d.ts +3 -0
  696. package/dist/observability/knowledge-extraction/local.js +21 -0
  697. package/dist/observability/knowledge-extraction/prompt.d.ts +2 -0
  698. package/dist/observability/knowledge-extraction/prompt.js +13 -0
  699. package/dist/observability/knowledge-extraction/proposals.d.ts +168 -0
  700. package/dist/observability/knowledge-extraction/proposals.js +57 -0
  701. package/dist/observability/knowledge-extraction/runs.d.ts +263 -0
  702. package/dist/observability/knowledge-extraction/runs.js +25 -0
  703. package/dist/observability/skill-health/analyzer.d.ts +9 -9
  704. package/dist/observability/skill-health/analyzer.js +32 -32
  705. package/dist/observability/skill-health/persistence.d.ts +18 -0
  706. package/dist/observability/skill-health/persistence.js +43 -0
  707. package/dist/observability/soft-standards/index.d.ts +1 -12
  708. package/dist/observability/soft-standards/index.js +1 -12
  709. package/dist/observability/soft-standards/llm-extractor.js +3 -0
  710. package/dist/observability/soft-standards/runtime-evidence.d.ts +4 -0
  711. package/dist/observability/soft-standards/runtime-evidence.js +57 -0
  712. package/dist/observability/soft-standards/skill-standards-store.d.ts +1 -2
  713. package/dist/observability/soft-standards/skill-standards-store.js +0 -22
  714. package/dist/observability/soft-standards/types.d.ts +1 -0
  715. package/dist/observability/trace/attribution.d.ts +0 -33
  716. package/dist/observability/trace/attribution.js +0 -92
  717. package/dist/observability/trace/index.d.ts +4 -4
  718. package/dist/observability/trace/index.js +3 -3
  719. package/dist/observability/trace/segmentation.d.ts +0 -3
  720. package/dist/observability/trace/segmentation.js +2 -7
  721. package/dist/observability/trace/source.d.ts +1 -32
  722. package/dist/observability/trace/source.js +2 -36
  723. package/dist/observability/trace/trace-ir.d.ts +0 -2
  724. package/dist/observability/trace/trace-ir.js +0 -6
  725. package/dist/observability/view-models/conversation.d.ts +8 -2
  726. package/dist/observability/view-models/knowledge-debugger.d.ts +2 -2
  727. package/dist/shared/atomic-json.d.ts +2 -4
  728. package/dist/shared/atomic-json.js +12 -17
  729. package/dist/shared/file-lock.d.ts +2 -0
  730. package/dist/shared/file-lock.js +1 -1
  731. package/dist/studio/application/conversations/conversation-activity.d.ts +4 -0
  732. package/dist/studio/application/conversations/conversation-activity.js +50 -0
  733. package/dist/studio/application/conversations/conversation-extraction.d.ts +41 -0
  734. package/dist/studio/application/conversations/conversation-extraction.js +53 -0
  735. package/dist/studio/application/conversations/conversation-reader.d.ts +7 -0
  736. package/dist/studio/application/conversations/conversation-reader.js +26 -0
  737. package/dist/studio/application/conversations/replay/format.d.ts +7 -0
  738. package/dist/studio/application/conversations/replay/format.js +52 -0
  739. package/dist/studio/application/conversations/replay/inline-markdown.d.ts +1 -0
  740. package/dist/studio/application/conversations/replay/inline-markdown.js +99 -0
  741. package/dist/studio/application/conversations/replay/layout.d.ts +15 -0
  742. package/dist/studio/application/conversations/replay/layout.js +171 -0
  743. package/dist/studio/application/conversations/replay/projection.d.ts +4 -0
  744. package/dist/studio/application/conversations/replay/projection.js +291 -0
  745. package/dist/studio/application/conversations/replay/routing.d.ts +3 -0
  746. package/dist/studio/application/conversations/replay/routing.js +317 -0
  747. package/dist/studio/application/conversations/replay/summary.d.ts +25 -0
  748. package/dist/studio/application/conversations/replay/summary.js +497 -0
  749. package/dist/studio/application/conversations/trajectory-evidence.d.ts +3 -0
  750. package/dist/studio/application/conversations/trajectory-evidence.js +9 -0
  751. package/dist/studio/application/knowledge/doctor-format.d.ts +84 -0
  752. package/dist/studio/application/knowledge/doctor-format.js +115 -0
  753. package/dist/studio/application/knowledge/knowledge-candidates.d.ts +3 -0
  754. package/dist/studio/application/knowledge/knowledge-candidates.js +79 -0
  755. package/dist/studio/application/knowledge/knowledge-query.d.ts +25 -0
  756. package/dist/studio/application/knowledge/knowledge-query.js +30 -0
  757. package/dist/studio/application/knowledge/knowledge-reports.d.ts +17 -0
  758. package/dist/studio/application/knowledge/knowledge-reports.js +232 -0
  759. package/dist/studio/application/knowledge/managed-format.d.ts +58 -0
  760. package/dist/studio/application/knowledge/managed-format.js +113 -0
  761. package/dist/studio/application/knowledge/skill-health.d.ts +6 -0
  762. package/dist/studio/application/knowledge/skill-health.js +41 -0
  763. package/dist/studio/application/knowledge/skill-index.d.ts +24 -0
  764. package/dist/studio/application/knowledge/skill-index.js +357 -0
  765. package/dist/studio/application/knowledge/skill-insights.d.ts +3 -0
  766. package/dist/studio/application/knowledge/skill-insights.js +218 -0
  767. package/dist/studio/application/measure/core-run-catalog.d.ts +3 -0
  768. package/dist/studio/application/measure/core-run-catalog.js +15 -0
  769. package/dist/studio/application/measure/core-run-format.d.ts +29 -0
  770. package/dist/studio/application/measure/core-run-format.js +104 -0
  771. package/dist/studio/application/measure/core-run-projection.d.ts +6 -0
  772. package/dist/studio/application/measure/core-run-projection.js +308 -0
  773. package/dist/studio/application/observe/health-format.d.ts +155 -0
  774. package/dist/studio/application/observe/health-format.js +231 -0
  775. package/dist/studio/application/settings/settings.d.ts +37 -0
  776. package/dist/studio/application/settings/settings.js +11 -0
  777. package/dist/studio/http/app-host.d.ts +7 -0
  778. package/dist/studio/http/contracts.d.ts +20 -2
  779. package/dist/studio/http/errors.d.ts +10 -0
  780. package/dist/studio/http/errors.js +18 -0
  781. package/dist/studio/http/managed-root.d.ts +12 -0
  782. package/dist/studio/http/managed-root.js +19 -0
  783. package/dist/studio/http/next-context.d.ts +27 -0
  784. package/dist/studio/http/next-context.js +38 -0
  785. package/dist/studio/http/next-server.d.ts +3 -0
  786. package/dist/studio/http/next-server.js +224 -0
  787. package/dist/studio/http/pages/health-page.d.ts +38 -0
  788. package/dist/studio/http/pages/health-page.js +52 -0
  789. package/dist/studio/http/pages/inbox-page.d.ts +11 -0
  790. package/dist/studio/http/pages/inbox-page.js +9 -0
  791. package/dist/studio/http/pages/knowledge-page.d.ts +36 -0
  792. package/dist/studio/http/pages/knowledge-page.js +51 -0
  793. package/dist/studio/http/pages/managed-page.d.ts +30 -0
  794. package/dist/studio/http/pages/managed-page.js +45 -0
  795. package/dist/studio/http/pages/observe-page.d.ts +27 -0
  796. package/dist/studio/http/pages/observe-page.js +36 -0
  797. package/dist/studio/http/report-server.d.ts +2 -2
  798. package/dist/studio/http/report-server.js +46 -12
  799. package/dist/studio/http/request-errors.d.ts +3 -1
  800. package/dist/studio/http/request-errors.js +11 -9
  801. package/dist/studio/http/request-handler.d.ts +2 -2
  802. package/dist/studio/http/request-handler.js +68 -59
  803. package/dist/studio/http/routes/contracts.d.ts +0 -3
  804. package/dist/studio/http/routes/conversations.d.ts +2 -2
  805. package/dist/studio/http/routes/conversations.js +164 -216
  806. package/dist/studio/http/routes/core-runs.d.ts +21 -0
  807. package/dist/studio/http/routes/core-runs.js +75 -0
  808. package/dist/studio/http/routes/knowledge-candidates.d.ts +3 -0
  809. package/dist/studio/http/routes/knowledge-candidates.js +37 -0
  810. package/dist/studio/http/routes/knowledge.d.ts +6 -6
  811. package/dist/studio/http/routes/knowledge.js +98 -780
  812. package/dist/studio/http/routes/observations.d.ts +5 -3
  813. package/dist/studio/http/routes/observations.js +113 -188
  814. package/dist/studio/http/routes/router.d.ts +20 -0
  815. package/dist/studio/http/routes/router.js +91 -0
  816. package/dist/studio/http/routes/settings.d.ts +1 -0
  817. package/dist/studio/http/routes/settings.js +36 -0
  818. package/dist/studio/view-models/conversations/conversation-activity.d.ts +11 -0
  819. package/dist/studio/view-models/conversations/conversation-reader.d.ts +15 -0
  820. package/dist/studio/view-models/conversations/inline-markdown.d.ts +17 -0
  821. package/dist/studio/view-models/conversations/replay.d.ts +85 -0
  822. package/dist/studio/view-models/conversations/trajectory-evidence.d.ts +5 -0
  823. package/dist/studio/view-models/conversations/trajectory-routing.d.ts +40 -0
  824. package/dist/studio/view-models/conversations/trajectory-routing.js +1 -0
  825. package/dist/studio/view-models/knowledge/health-assessment.d.ts +5 -0
  826. package/dist/studio/view-models/knowledge/health-assessment.js +1 -0
  827. package/dist/studio/view-models/knowledge/insight.d.ts +69 -0
  828. package/dist/studio/view-models/knowledge/insight.js +1 -0
  829. package/dist/studio/view-models/knowledge/knowledge-candidates.d.ts +20 -0
  830. package/dist/studio/view-models/knowledge/knowledge-candidates.js +1 -0
  831. package/dist/studio/view-models/knowledge/knowledge-reports.d.ts +59 -0
  832. package/dist/studio/view-models/knowledge/knowledge-reports.js +1 -0
  833. package/dist/studio/view-models/knowledge/skill-index.d.ts +107 -0
  834. package/dist/studio/view-models/knowledge/skill-index.js +1 -0
  835. package/dist/studio/view-models/measure/core-runs.d.ts +225 -0
  836. package/dist/studio/view-models/measure/core-runs.js +1 -0
  837. package/dist/studio/view-models/settings/settings.d.ts +9 -0
  838. package/dist/studio/view-models/settings/settings.js +1 -0
  839. package/dist/studio/web/.next/BUILD_ID +1 -0
  840. package/dist/studio/web/.next/app-path-routes-manifest.json +19 -0
  841. package/dist/studio/web/.next/build-manifest.json +20 -0
  842. package/dist/studio/web/.next/export-marker.json +6 -0
  843. package/dist/studio/web/.next/images-manifest.json +68 -0
  844. package/dist/studio/web/.next/next-minimal-server.js.nft.json +1 -0
  845. package/dist/studio/web/.next/next-server.js.nft.json +1 -0
  846. package/dist/studio/web/.next/package.json +1 -0
  847. package/dist/studio/web/.next/prerender-manifest.json +40 -0
  848. package/dist/studio/web/.next/react-loadable-manifest.json +1 -0
  849. package/dist/studio/web/.next/required-server-files.js +353 -0
  850. package/dist/studio/web/.next/required-server-files.json +353 -0
  851. package/dist/studio/web/.next/routes-manifest.json +163 -0
  852. package/dist/studio/web/.next/server/app/_global-error/page.js +31 -0
  853. package/dist/studio/web/.next/server/app/_global-error/page.js.nft.json +1 -0
  854. package/dist/studio/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -0
  855. package/dist/studio/web/.next/server/app/_global-error.html +1 -0
  856. package/dist/studio/web/.next/server/app/_global-error.meta +27 -0
  857. package/dist/studio/web/.next/server/app/_global-error.rsc +18 -0
  858. package/dist/studio/web/.next/server/app/_global-error.segments/_full.segment.rsc +18 -0
  859. package/dist/studio/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +24 -0
  860. package/dist/studio/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  861. package/dist/studio/web/.next/server/app/_not-found/page.js +1 -0
  862. package/dist/studio/web/.next/server/app/_not-found/page.js.nft.json +1 -0
  863. package/dist/studio/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  864. package/dist/studio/web/.next/server/app/knowledge/candidates/page.js +1 -0
  865. package/dist/studio/web/.next/server/app/knowledge/candidates/page.js.nft.json +1 -0
  866. package/dist/studio/web/.next/server/app/knowledge/candidates/page_client-reference-manifest.js +1 -0
  867. package/dist/studio/web/.next/server/app/knowledge/managed/[managedId]/page.js +1 -0
  868. package/dist/studio/web/.next/server/app/knowledge/managed/[managedId]/page.js.nft.json +1 -0
  869. package/dist/studio/web/.next/server/app/knowledge/managed/[managedId]/page_client-reference-manifest.js +1 -0
  870. package/dist/studio/web/.next/server/app/knowledge/managed/page.js +1 -0
  871. package/dist/studio/web/.next/server/app/knowledge/managed/page.js.nft.json +1 -0
  872. package/dist/studio/web/.next/server/app/knowledge/managed/page_client-reference-manifest.js +1 -0
  873. package/dist/studio/web/.next/server/app/knowledge/page.js +1 -0
  874. package/dist/studio/web/.next/server/app/knowledge/page.js.nft.json +1 -0
  875. package/dist/studio/web/.next/server/app/knowledge/page_client-reference-manifest.js +1 -0
  876. package/dist/studio/web/.next/server/app/knowledge/skills/[skillName]/page.js +1 -0
  877. package/dist/studio/web/.next/server/app/knowledge/skills/[skillName]/page.js.nft.json +1 -0
  878. package/dist/studio/web/.next/server/app/knowledge/skills/[skillName]/page_client-reference-manifest.js +1 -0
  879. package/dist/studio/web/.next/server/app/measure/[runId]/page.js +1 -0
  880. package/dist/studio/web/.next/server/app/measure/[runId]/page.js.nft.json +1 -0
  881. package/dist/studio/web/.next/server/app/measure/[runId]/page_client-reference-manifest.js +1 -0
  882. package/dist/studio/web/.next/server/app/measure/page.js +1 -0
  883. package/dist/studio/web/.next/server/app/measure/page.js.nft.json +1 -0
  884. package/dist/studio/web/.next/server/app/measure/page_client-reference-manifest.js +1 -0
  885. package/dist/studio/web/.next/server/app/observe/conversations/[threadId]/page.js +1 -0
  886. package/dist/studio/web/.next/server/app/observe/conversations/[threadId]/page.js.nft.json +1 -0
  887. package/dist/studio/web/.next/server/app/observe/conversations/[threadId]/page_client-reference-manifest.js +1 -0
  888. package/dist/studio/web/.next/server/app/observe/conversations/[threadId]/tasks/[turnId]/page.js +1 -0
  889. package/dist/studio/web/.next/server/app/observe/conversations/[threadId]/tasks/[turnId]/page.js.nft.json +1 -0
  890. package/dist/studio/web/.next/server/app/observe/conversations/[threadId]/tasks/[turnId]/page_client-reference-manifest.js +1 -0
  891. package/dist/studio/web/.next/server/app/observe/health/[analysisId]/page.js +1 -0
  892. package/dist/studio/web/.next/server/app/observe/health/[analysisId]/page.js.nft.json +1 -0
  893. package/dist/studio/web/.next/server/app/observe/health/[analysisId]/page_client-reference-manifest.js +1 -0
  894. package/dist/studio/web/.next/server/app/observe/health/page.js +1 -0
  895. package/dist/studio/web/.next/server/app/observe/health/page.js.nft.json +1 -0
  896. package/dist/studio/web/.next/server/app/observe/health/page_client-reference-manifest.js +1 -0
  897. package/dist/studio/web/.next/server/app/observe/health-diff/page.js +1 -0
  898. package/dist/studio/web/.next/server/app/observe/health-diff/page.js.nft.json +1 -0
  899. package/dist/studio/web/.next/server/app/observe/health-diff/page_client-reference-manifest.js +1 -0
  900. package/dist/studio/web/.next/server/app/observe/inbox/page.js +10 -0
  901. package/dist/studio/web/.next/server/app/observe/inbox/page.js.nft.json +1 -0
  902. package/dist/studio/web/.next/server/app/observe/inbox/page_client-reference-manifest.js +1 -0
  903. package/dist/studio/web/.next/server/app/observe/page.js +1 -0
  904. package/dist/studio/web/.next/server/app/observe/page.js.nft.json +1 -0
  905. package/dist/studio/web/.next/server/app/observe/page_client-reference-manifest.js +1 -0
  906. package/dist/studio/web/.next/server/app/observe/skill-trend/[skillName]/page.js +1 -0
  907. package/dist/studio/web/.next/server/app/observe/skill-trend/[skillName]/page.js.nft.json +1 -0
  908. package/dist/studio/web/.next/server/app/observe/skill-trend/[skillName]/page_client-reference-manifest.js +1 -0
  909. package/dist/studio/web/.next/server/app-paths-manifest.json +19 -0
  910. package/dist/studio/web/.next/server/chunks/166.js +1 -0
  911. package/dist/studio/web/.next/server/chunks/190.js +583 -0
  912. package/dist/studio/web/.next/server/chunks/208.js +1 -0
  913. package/dist/studio/web/.next/server/chunks/286.js +1 -0
  914. package/dist/studio/web/.next/server/chunks/335.js +53 -0
  915. package/dist/studio/web/.next/server/chunks/342.js +1 -0
  916. package/dist/studio/web/.next/server/chunks/374.js +16 -0
  917. package/dist/studio/web/.next/server/chunks/464.js +9 -0
  918. package/dist/studio/web/.next/server/chunks/499.js +1 -0
  919. package/dist/studio/web/.next/server/chunks/584.js +16 -0
  920. package/dist/studio/web/.next/server/chunks/670.js +1 -0
  921. package/dist/studio/web/.next/server/chunks/767.js +6 -0
  922. package/dist/studio/web/.next/server/chunks/772.js +8 -0
  923. package/dist/studio/web/.next/server/chunks/84.js +4 -0
  924. package/dist/studio/web/.next/server/chunks/864.js +1 -0
  925. package/dist/studio/web/.next/server/chunks/881.js +1 -0
  926. package/dist/studio/web/.next/server/functions-config-manifest.json +4 -0
  927. package/dist/studio/web/.next/server/interception-route-rewrite-manifest.js +1 -0
  928. package/dist/studio/web/.next/server/middleware-build-manifest.js +1 -0
  929. package/dist/studio/web/.next/server/middleware-manifest.json +6 -0
  930. package/dist/studio/web/.next/server/middleware-react-loadable-manifest.js +1 -0
  931. package/dist/studio/web/.next/server/next-font-manifest.js +1 -0
  932. package/dist/studio/web/.next/server/next-font-manifest.json +1 -0
  933. package/dist/studio/web/.next/server/pages/500.html +1 -0
  934. package/dist/studio/web/.next/server/pages-manifest.json +3 -0
  935. package/dist/studio/web/.next/server/prefetch-hints.json +16 -0
  936. package/dist/studio/web/.next/server/server-reference-manifest.js +1 -0
  937. package/dist/studio/web/.next/server/server-reference-manifest.json +1 -0
  938. package/dist/studio/web/.next/server/webpack-runtime.js +1 -0
  939. package/dist/studio/web/.next/static/2l1orR2TyYw7vnmDqxoyT/_buildManifest.js +1 -0
  940. package/dist/studio/web/.next/static/2l1orR2TyYw7vnmDqxoyT/_ssgManifest.js +1 -0
  941. package/dist/studio/web/.next/static/chunks/0937d497-e4b3c577da4da67b.js +1 -0
  942. package/dist/studio/web/.next/static/chunks/1858-53aecb176156ec2f.js +52 -0
  943. package/dist/studio/web/.next/static/chunks/2038-80da4319005c0706.js +1 -0
  944. package/dist/studio/web/.next/static/chunks/258-9e85d3d73100f7d7.js +10 -0
  945. package/dist/studio/web/.next/static/chunks/2953-5840070bcce6a075.js +53 -0
  946. package/dist/studio/web/.next/static/chunks/4684-ad2bc276b9605508.js +1 -0
  947. package/dist/studio/web/.next/static/chunks/5810-594b07e59946b7ae.js +8 -0
  948. package/dist/studio/web/.next/static/chunks/5834-fd19cbd0c65fcabb.js +1 -0
  949. package/dist/studio/web/.next/static/chunks/6250-7ac45071499be5a5.js +1 -0
  950. package/dist/studio/web/.next/static/chunks/6651-cad53455cca8c430.js +16 -0
  951. package/dist/studio/web/.next/static/chunks/7086-b6d6e13ce6f28429.js +86 -0
  952. package/dist/studio/web/.next/static/chunks/7576-af77927e85dd21cd.js +142 -0
  953. package/dist/studio/web/.next/static/chunks/7754-d2d1b4242648f987.js +4 -0
  954. package/dist/studio/web/.next/static/chunks/8202-d22828e45db31cd7.js +1 -0
  955. package/dist/studio/web/.next/static/chunks/8284-1a543f77443488b5.js +1 -0
  956. package/dist/studio/web/.next/static/chunks/8342-af342dbe9c2f0bfa.js +6 -0
  957. package/dist/studio/web/.next/static/chunks/8448-d4140d31b4fd5886.js +1 -0
  958. package/dist/studio/web/.next/static/chunks/8791-628c2e7b0dab299a.js +1 -0
  959. package/dist/studio/web/.next/static/chunks/900-afd29ea08f2e1714.js +1 -0
  960. package/dist/studio/web/.next/static/chunks/9688-568cb3f8978b37e8.js +1 -0
  961. package/dist/studio/web/.next/static/chunks/9804-2d943d62c12ddbd6.js +16 -0
  962. package/dist/studio/web/.next/static/chunks/9953-e991c2f9674aeb7b.js +1 -0
  963. package/dist/studio/web/.next/static/chunks/9978-2b5578a391a0f389.js +9 -0
  964. package/dist/studio/web/.next/static/chunks/app/_global-error/page-e609dd5f58d4d1da.js +1 -0
  965. package/dist/studio/web/.next/static/chunks/app/_not-found/page-e609dd5f58d4d1da.js +1 -0
  966. package/dist/studio/web/.next/static/chunks/app/error-f4e4f5c25ab4ea68.js +1 -0
  967. package/dist/studio/web/.next/static/chunks/app/knowledge/candidates/page-8d7ffd0346a5e4c3.js +1 -0
  968. package/dist/studio/web/.next/static/chunks/app/knowledge/managed/[managedId]/page-587bb53c0988665e.js +1 -0
  969. package/dist/studio/web/.next/static/chunks/app/knowledge/managed/page-f73e3830d520a4ea.js +1 -0
  970. package/dist/studio/web/.next/static/chunks/app/knowledge/page-0f6f64c058be91bf.js +1 -0
  971. package/dist/studio/web/.next/static/chunks/app/knowledge/skills/[skillName]/page-9e044c9d1e32d815.js +1 -0
  972. package/dist/studio/web/.next/static/chunks/app/layout-457e2c191c2308c1.js +1 -0
  973. package/dist/studio/web/.next/static/chunks/app/loading-6897e47422bee0f6.js +1 -0
  974. package/dist/studio/web/.next/static/chunks/app/measure/[runId]/page-e065af1890b883a6.js +1 -0
  975. package/dist/studio/web/.next/static/chunks/app/measure/page-5dbcaa3fc0f36148.js +1 -0
  976. package/dist/studio/web/.next/static/chunks/app/not-found-a0e503a733ff0da1.js +1 -0
  977. package/dist/studio/web/.next/static/chunks/app/observe/conversations/[threadId]/page-b0175ec26507705d.js +1 -0
  978. package/dist/studio/web/.next/static/chunks/app/observe/conversations/[threadId]/tasks/[turnId]/page-79ae079fccc7f06a.js +1 -0
  979. package/dist/studio/web/.next/static/chunks/app/observe/health/[analysisId]/page-7ade4dd62ed66ece.js +1 -0
  980. package/dist/studio/web/.next/static/chunks/app/observe/health/page-59f723ecc9f7e5a3.js +1 -0
  981. package/dist/studio/web/.next/static/chunks/app/observe/health-diff/page-a04d6bbda0bb1945.js +1 -0
  982. package/dist/studio/web/.next/static/chunks/app/observe/inbox/page-0f824de8119624e4.js +1 -0
  983. package/dist/studio/web/.next/static/chunks/app/observe/page-22a89d134108381c.js +1 -0
  984. package/dist/studio/web/.next/static/chunks/app/observe/skill-trend/[skillName]/page-899dcb452d814b80.js +1 -0
  985. package/dist/studio/web/.next/static/chunks/framework-9d2daf55218bfcdb.js +1 -0
  986. package/dist/studio/web/.next/static/chunks/main-app-679042091c356b7b.js +1 -0
  987. package/dist/studio/web/.next/static/chunks/main-c86d24af6df62a67.js +5 -0
  988. package/dist/studio/web/.next/static/chunks/next/dist/client/components/builtin/app-error-e609dd5f58d4d1da.js +1 -0
  989. package/dist/studio/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-e609dd5f58d4d1da.js +1 -0
  990. package/dist/studio/web/.next/static/chunks/next/dist/client/components/builtin/global-error-fb3b4a28100823de.js +1 -0
  991. package/dist/studio/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-e609dd5f58d4d1da.js +1 -0
  992. package/dist/studio/web/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  993. package/dist/studio/web/.next/static/chunks/webpack-040077c7c5b63775.js +1 -0
  994. package/dist/studio/web/.next/static/css/f2bdbbde745c8ff8.css +1 -0
  995. package/dist/studio/web/.next/trace +41 -0
  996. package/dist/studio/web/.next/trace-build +1 -0
  997. package/dist/studio/web/next.config.mjs +14 -0
  998. package/package.json +38 -36
  999. package/dist/cli/lib/parse-run-config/variant-resolution.d.ts +0 -23
  1000. package/dist/cli/lib/parse-run-config/variant-resolution.js +0 -98
  1001. package/dist/cli/lib/parse-run-config.d.ts +0 -93
  1002. package/dist/cli/lib/parse-run-config.js +0 -163
  1003. package/dist/cli/lib/record-evolve-outcome.js +0 -42
  1004. package/dist/cli/lib/shared.d.ts +0 -4
  1005. package/dist/cli/lib/shared.js +0 -10
  1006. package/dist/cli/lib/source-probe.d.ts +0 -15
  1007. package/dist/cli/lib/source-probe.js +0 -129
  1008. package/dist/eval-core/contracts/schemas/v1/analysis-plan.schema.json +0 -889
  1009. package/dist/eval-core/contracts/schemas/v1/evaluation-definition.schema.json +0 -1243
  1010. package/dist/eval-core/contracts/schemas/v1/execution-plan.schema.json +0 -1007
  1011. package/dist/eval-core/contracts/schemas/v1/run-plan.schema.json +0 -2514
  1012. package/dist/eval-core/internal/sealed-run-plan.d.ts +0 -14
  1013. package/dist/eval-core/internal/sealed-run-plan.js +0 -12
  1014. package/dist/eval-workflows/inputs/contracts/index.d.ts +0 -5
  1015. package/dist/eval-workflows/inputs/contracts/schemas/v1/eval-sample-set.schema.json +0 -620
  1016. package/dist/eval-workflows/inputs/materialize-copy.js +0 -193
  1017. package/dist/eval-workflows/inputs/skill-loader.d.ts +0 -191
  1018. package/dist/eval-workflows/inputs/skill-loader.js +0 -836
  1019. package/dist/eval-workflows/inputs/source-resolver.d.ts +0 -35
  1020. package/dist/eval-workflows/inputs/source-resolver.js +0 -105
  1021. package/dist/eval-workflows/instruments/contracts/index.d.ts +0 -2
  1022. package/dist/eval-workflows/instruments/contracts/result.d.ts +0 -54
  1023. package/dist/eval-workflows/instruments/judge-trace.js +0 -94
  1024. package/dist/eval-workflows/instruments/judge.d.ts +0 -78
  1025. package/dist/eval-workflows/instruments/judge.js +0 -323
  1026. package/dist/eval-workflows/production-host/index.d.ts +0 -9
  1027. package/dist/eval-workflows/production-host/index.js +0 -9
  1028. package/dist/eval-workflows/production-host/measurement-design.js +0 -562
  1029. package/dist/eval-workflows/production-host/node-cli-composition.d.ts +0 -26
  1030. package/dist/eval-workflows/production-host/node-cli-composition.js +0 -474
  1031. package/dist/eval-workflows/production-host/node-cli-evaluation-resolver.d.ts +0 -20
  1032. package/dist/eval-workflows/production-host/node-cli-evaluation-resolver.js +0 -755
  1033. package/dist/eval-workflows/production-host/node-sample-content-resolver.d.ts +0 -43
  1034. package/dist/eval-workflows/production-host/node-sample-content-resolver.js +0 -270
  1035. package/dist/eval-workflows/production-host/orchestration.d.ts +0 -78
  1036. package/dist/eval-workflows/production-host/orchestration.js +0 -274
  1037. package/dist/eval-workflows/production-host/runtime-registry.d.ts +0 -57
  1038. package/dist/eval-workflows/production-host/runtime-registry.js +0 -270
  1039. package/dist/eval-workflows/production-host/safe-http-content-resolver.d.ts +0 -4
  1040. package/dist/eval-workflows/production-host/sample-content-resolution.d.ts +0 -44
  1041. package/dist/eval-workflows/production-host/sample-content-resolution.js +0 -242
  1042. package/dist/eval-workflows/production-host/workflow.d.ts +0 -76
  1043. package/dist/eval-workflows/production-host/workflow.js +0 -200
  1044. package/dist/eval-workflows/runtime-adapter/adapters/anthropic/api.js +0 -286
  1045. package/dist/eval-workflows/runtime-adapter/adapters/anthropic/protocol.d.ts +0 -67
  1046. package/dist/eval-workflows/runtime-adapter/adapters/anthropic/protocol.js +0 -192
  1047. package/dist/eval-workflows/runtime-adapter/adapters/claude/cli-protocol.d.ts +0 -19
  1048. package/dist/eval-workflows/runtime-adapter/adapters/claude/cli-protocol.js +0 -322
  1049. package/dist/eval-workflows/runtime-adapter/adapters/claude/cli.js +0 -607
  1050. package/dist/eval-workflows/runtime-adapter/adapters/claude/resources.d.ts +0 -151
  1051. package/dist/eval-workflows/runtime-adapter/adapters/claude/resources.js +0 -664
  1052. package/dist/eval-workflows/runtime-adapter/adapters/claude/sdk-protocol.d.ts +0 -7
  1053. package/dist/eval-workflows/runtime-adapter/adapters/claude/sdk-protocol.js +0 -84
  1054. package/dist/eval-workflows/runtime-adapter/adapters/claude/sdk.js +0 -507
  1055. package/dist/eval-workflows/runtime-adapter/adapters/codex/cli-protocol.d.ts +0 -61
  1056. package/dist/eval-workflows/runtime-adapter/adapters/codex/cli-protocol.js +0 -36
  1057. package/dist/eval-workflows/runtime-adapter/adapters/codex/cli-resources.d.ts +0 -13
  1058. package/dist/eval-workflows/runtime-adapter/adapters/codex/cli-resources.js +0 -16
  1059. package/dist/eval-workflows/runtime-adapter/adapters/codex/cli.d.ts +0 -44
  1060. package/dist/eval-workflows/runtime-adapter/adapters/codex/cli.js +0 -348
  1061. package/dist/eval-workflows/runtime-adapter/adapters/codex/protocol-core.js +0 -232
  1062. package/dist/eval-workflows/runtime-adapter/adapters/codex/resources.d.ts +0 -108
  1063. package/dist/eval-workflows/runtime-adapter/adapters/codex/resources.js +0 -331
  1064. package/dist/eval-workflows/runtime-adapter/adapters/codex/sdk-protocol.d.ts +0 -61
  1065. package/dist/eval-workflows/runtime-adapter/adapters/codex/sdk-protocol.js +0 -20
  1066. package/dist/eval-workflows/runtime-adapter/adapters/codex/sdk.d.ts +0 -32
  1067. package/dist/eval-workflows/runtime-adapter/adapters/codex/sdk.js +0 -375
  1068. package/dist/eval-workflows/runtime-adapter/adapters/custom/command.d.ts +0 -207
  1069. package/dist/eval-workflows/runtime-adapter/adapters/custom/command.js +0 -696
  1070. package/dist/eval-workflows/runtime-adapter/adapters/index.d.ts +0 -8
  1071. package/dist/eval-workflows/runtime-adapter/adapters/index.js +0 -8
  1072. package/dist/eval-workflows/runtime-adapter/adapters/openai/api.js +0 -292
  1073. package/dist/eval-workflows/runtime-adapter/adapters/openai/protocol.d.ts +0 -67
  1074. package/dist/eval-workflows/runtime-adapter/adapters/openai/protocol.js +0 -236
  1075. package/dist/eval-workflows/runtime-adapter/adapters/shared/api-protocol-core.js +0 -96
  1076. package/dist/eval-workflows/runtime-adapter/adapters/shared/classified-environment.js +0 -43
  1077. package/dist/eval-workflows/runtime-adapter/adapters/shared/same-process.d.ts +0 -109
  1078. package/dist/eval-workflows/runtime-adapter/adapters/shared/same-process.js +0 -322
  1079. package/dist/eval-workflows/runtime-adapter/adapters/shared/stateless-api-resources.d.ts +0 -80
  1080. package/dist/eval-workflows/runtime-adapter/adapters/shared/stateless-api-resources.js +0 -230
  1081. package/dist/eval-workflows/runtime-adapter/analysis/agreement-node-contract.d.ts +0 -10
  1082. package/dist/eval-workflows/runtime-adapter/analysis/agreement-node-contract.js +0 -78
  1083. package/dist/eval-workflows/runtime-adapter/analysis/agreement-node.d.ts +0 -3
  1084. package/dist/eval-workflows/runtime-adapter/analysis/agreement-node.js +0 -29
  1085. package/dist/eval-workflows/runtime-adapter/analysis/agreement-source-adapter.js +0 -114
  1086. package/dist/eval-workflows/runtime-adapter/analysis/agreement-table.d.ts +0 -259
  1087. package/dist/eval-workflows/runtime-adapter/analysis/agreement-table.js +0 -303
  1088. package/dist/eval-workflows/runtime-adapter/analysis/assertion-layer-node.d.ts +0 -5
  1089. package/dist/eval-workflows/runtime-adapter/analysis/assertion-layer-node.js +0 -218
  1090. package/dist/eval-workflows/runtime-adapter/analysis/assertion-layer-parameters.d.ts +0 -39
  1091. package/dist/eval-workflows/runtime-adapter/analysis/assertion-layer-parameters.js +0 -49
  1092. package/dist/eval-workflows/runtime-adapter/analysis/assertion-layer.d.ts +0 -552
  1093. package/dist/eval-workflows/runtime-adapter/analysis/assertion-layer.js +0 -289
  1094. package/dist/eval-workflows/runtime-adapter/analysis/bootstrap-family-node-contract.d.ts +0 -10
  1095. package/dist/eval-workflows/runtime-adapter/analysis/bootstrap-family-node-contract.js +0 -89
  1096. package/dist/eval-workflows/runtime-adapter/analysis/bootstrap-family-node.js +0 -35
  1097. package/dist/eval-workflows/runtime-adapter/analysis/bootstrap-family-table.d.ts +0 -240
  1098. package/dist/eval-workflows/runtime-adapter/analysis/bootstrap-family-table.js +0 -368
  1099. package/dist/eval-workflows/runtime-adapter/analysis/composite-node-contract.d.ts +0 -10
  1100. package/dist/eval-workflows/runtime-adapter/analysis/composite-node-contract.js +0 -80
  1101. package/dist/eval-workflows/runtime-adapter/analysis/composite-source-adapter.js +0 -60
  1102. package/dist/eval-workflows/runtime-adapter/analysis/dimension-node.d.ts +0 -5
  1103. package/dist/eval-workflows/runtime-adapter/analysis/dimension-node.js +0 -169
  1104. package/dist/eval-workflows/runtime-adapter/analysis/dimension-parameters.d.ts +0 -24
  1105. package/dist/eval-workflows/runtime-adapter/analysis/dimension-parameters.js +0 -44
  1106. package/dist/eval-workflows/runtime-adapter/analysis/dimension-table.d.ts +0 -135
  1107. package/dist/eval-workflows/runtime-adapter/analysis/dimension-table.js +0 -195
  1108. package/dist/eval-workflows/runtime-adapter/analysis/index.d.ts +0 -21
  1109. package/dist/eval-workflows/runtime-adapter/analysis/index.js +0 -21
  1110. package/dist/eval-workflows/runtime-adapter/analysis/release-decision-parameters.d.ts +0 -36
  1111. package/dist/eval-workflows/runtime-adapter/analysis/release-decision-parameters.js +0 -114
  1112. package/dist/eval-workflows/runtime-adapter/analysis/release-decision.d.ts +0 -6
  1113. package/dist/eval-workflows/runtime-adapter/analysis/release-decision.js +0 -406
  1114. package/dist/eval-workflows/runtime-adapter/assembly.d.ts +0 -6
  1115. package/dist/eval-workflows/runtime-adapter/assembly.js +0 -787
  1116. package/dist/eval-workflows/runtime-adapter/builtins.d.ts +0 -7
  1117. package/dist/eval-workflows/runtime-adapter/builtins.js +0 -106
  1118. package/dist/eval-workflows/runtime-adapter/composition.d.ts +0 -82
  1119. package/dist/eval-workflows/runtime-adapter/composition.js +0 -824
  1120. package/dist/eval-workflows/runtime-adapter/evaluators/execution-assertions.d.ts +0 -38
  1121. package/dist/eval-workflows/runtime-adapter/evaluators/execution-assertions.js +0 -307
  1122. package/dist/eval-workflows/runtime-adapter/evaluators/index.d.ts +0 -5
  1123. package/dist/eval-workflows/runtime-adapter/evaluators/index.js +0 -5
  1124. package/dist/eval-workflows/runtime-adapter/evaluators/llm-assertions.d.ts +0 -71
  1125. package/dist/eval-workflows/runtime-adapter/evaluators/llm-assertions.js +0 -493
  1126. package/dist/eval-workflows/runtime-adapter/evaluators/llm-judge-invocation.d.ts +0 -49
  1127. package/dist/eval-workflows/runtime-adapter/evaluators/llm-judge-invocation.js +0 -72
  1128. package/dist/eval-workflows/runtime-adapter/evaluators/output-assertions.d.ts +0 -33
  1129. package/dist/eval-workflows/runtime-adapter/evaluators/rubric-judge.d.ts +0 -73
  1130. package/dist/eval-workflows/runtime-adapter/evaluators/rubric-judge.js +0 -431
  1131. package/dist/eval-workflows/runtime-adapter/index.d.ts +0 -11
  1132. package/dist/eval-workflows/runtime-adapter/index.js +0 -11
  1133. package/dist/eval-workflows/runtime-adapter/preflight.d.ts +0 -54
  1134. package/dist/eval-workflows/runtime-adapter/preflight.js +0 -248
  1135. package/dist/eval-workflows/runtime-adapter/resource-leases/access.js +0 -173
  1136. package/dist/eval-workflows/runtime-adapter/resource-leases/index.d.ts +0 -3
  1137. package/dist/eval-workflows/runtime-adapter/resource-leases/index.js +0 -3
  1138. package/dist/eval-workflows/runtime-adapter/resource-leases/node.d.ts +0 -24
  1139. package/dist/eval-workflows/runtime-adapter/resource-leases/node.js +0 -803
  1140. package/dist/eval-workflows/runtime-adapter/resource-leases/types.d.ts +0 -105
  1141. package/dist/eval-workflows/runtime-adapter/series-variance.d.ts +0 -6
  1142. package/dist/eval-workflows/runtime-adapter/series-variance.js +0 -94
  1143. package/dist/eval-workflows/runtime-adapter/source-neutral-trace.js +0 -66
  1144. package/dist/executors/contracts/index.d.ts +0 -4
  1145. package/dist/knowledge-artifacts/authoring/generator.d.ts +0 -100
  1146. package/dist/knowledge-artifacts/authoring/generator.js +0 -1019
  1147. package/dist/knowledge-artifacts/doctor/preflight.d.ts +0 -32
  1148. package/dist/knowledge-artifacts/doctor/preflight.js +0 -31
  1149. package/dist/observability/contracts/index.d.ts +0 -7
  1150. package/dist/observability/conversation/view-model.d.ts +0 -5
  1151. package/dist/observability/conversation/view-model.js +0 -100
  1152. package/dist/observability/inbox/feedback-projection.d.ts +0 -20
  1153. package/dist/observability/inbox/feedback-projection.js +0 -19
  1154. package/dist/studio/application/index.d.ts +0 -2
  1155. package/dist/studio/application/index.js +0 -2
  1156. package/dist/studio/application/skill-index.d.ts +0 -9
  1157. package/dist/studio/application/skill-index.js +0 -347
  1158. package/dist/studio/application/skill-insights.d.ts +0 -6
  1159. package/dist/studio/application/skill-insights.js +0 -231
  1160. package/dist/studio/core-runs/catalog.d.ts +0 -3
  1161. package/dist/studio/core-runs/catalog.js +0 -15
  1162. package/dist/studio/core-runs/contracts.d.ts +0 -227
  1163. package/dist/studio/core-runs/contracts.js +0 -2
  1164. package/dist/studio/core-runs/index.d.ts +0 -5
  1165. package/dist/studio/core-runs/index.js +0 -5
  1166. package/dist/studio/core-runs/projection.d.ts +0 -4
  1167. package/dist/studio/core-runs/projection.js +0 -307
  1168. package/dist/studio/core-runs/renderer.d.ts +0 -11
  1169. package/dist/studio/core-runs/renderer.js +0 -414
  1170. package/dist/studio/core-runs/route-handler.d.ts +0 -19
  1171. package/dist/studio/core-runs/route-handler.js +0 -122
  1172. package/dist/studio/index.d.ts +0 -1
  1173. package/dist/studio/index.js +0 -1
  1174. package/dist/studio/presentation/conversation-renderer.d.ts +0 -17
  1175. package/dist/studio/presentation/conversation-renderer.js +0 -526
  1176. package/dist/studio/presentation/doctor-detail-renderer.d.ts +0 -10
  1177. package/dist/studio/presentation/doctor-detail-renderer.js +0 -142
  1178. package/dist/studio/presentation/icons.d.ts +0 -29
  1179. package/dist/studio/presentation/icons.js +0 -71
  1180. package/dist/studio/presentation/inline-markdown.d.ts +0 -6
  1181. package/dist/studio/presentation/inline-markdown.js +0 -158
  1182. package/dist/studio/presentation/knowledge-debugger-renderer.d.ts +0 -9
  1183. package/dist/studio/presentation/knowledge-debugger-renderer.js +0 -2393
  1184. package/dist/studio/presentation/layout.d.ts +0 -16
  1185. package/dist/studio/presentation/layout.js +0 -788
  1186. package/dist/studio/presentation/managed-history-renderer.d.ts +0 -5
  1187. package/dist/studio/presentation/managed-history-renderer.js +0 -333
  1188. package/dist/studio/presentation/observation-inbox/client-script.d.ts +0 -2
  1189. package/dist/studio/presentation/observation-inbox/client-script.js +0 -1795
  1190. package/dist/studio/presentation/observation-inbox/experience-workspace-renderer.d.ts +0 -35
  1191. package/dist/studio/presentation/observation-inbox/experience-workspace-renderer.js +0 -1799
  1192. package/dist/studio/presentation/observation-inbox/helpers.d.ts +0 -13
  1193. package/dist/studio/presentation/observation-inbox/helpers.js +0 -74
  1194. package/dist/studio/presentation/observation-inbox/metric-renderer.d.ts +0 -50
  1195. package/dist/studio/presentation/observation-inbox/metric-renderer.js +0 -750
  1196. package/dist/studio/presentation/observation-inbox/page-renderer.d.ts +0 -12
  1197. package/dist/studio/presentation/observation-inbox/page-renderer.js +0 -275
  1198. package/dist/studio/presentation/observation-inbox/process-workspace-renderer.d.ts +0 -52
  1199. package/dist/studio/presentation/observation-inbox/process-workspace-renderer.js +0 -380
  1200. package/dist/studio/presentation/observation-inbox/review-renderer.d.ts +0 -28
  1201. package/dist/studio/presentation/observation-inbox/review-renderer.js +0 -323
  1202. package/dist/studio/presentation/observation-inbox/reviewer-report.d.ts +0 -8
  1203. package/dist/studio/presentation/observation-inbox/reviewer-report.js +0 -449
  1204. package/dist/studio/presentation/observation-inbox/signal-renderer.d.ts +0 -20
  1205. package/dist/studio/presentation/observation-inbox/signal-renderer.js +0 -133
  1206. package/dist/studio/presentation/observation-inbox/skill-chain-renderer.d.ts +0 -17
  1207. package/dist/studio/presentation/observation-inbox/skill-chain-renderer.js +0 -738
  1208. package/dist/studio/presentation/observation-inbox/styles.d.ts +0 -1
  1209. package/dist/studio/presentation/observation-inbox/styles.js +0 -5183
  1210. package/dist/studio/presentation/observation-inbox/timeline.d.ts +0 -18
  1211. package/dist/studio/presentation/observation-inbox/timeline.js +0 -772
  1212. package/dist/studio/presentation/observation-inbox-renderer.d.ts +0 -4
  1213. package/dist/studio/presentation/observation-inbox-renderer.js +0 -130
  1214. package/dist/studio/presentation/report-shell.d.ts +0 -77
  1215. package/dist/studio/presentation/report-shell.js +0 -228
  1216. package/dist/studio/presentation/skill-detail-renderer.d.ts +0 -12
  1217. package/dist/studio/presentation/skill-detail-renderer.js +0 -71
  1218. package/dist/studio/presentation/skill-health-renderer.d.ts +0 -19
  1219. package/dist/studio/presentation/skill-health-renderer.js +0 -315
  1220. package/dist/studio/presentation/skill-list-renderer.d.ts +0 -3
  1221. package/dist/studio/presentation/skill-list-renderer.js +0 -36
  1222. package/dist/studio/presentation/trajectory-evidence.d.ts +0 -8
  1223. package/dist/studio/presentation/trajectory-evidence.js +0 -12
  1224. package/dist/studio/presentation/trajectory-live.d.ts +0 -43
  1225. package/dist/studio/presentation/trajectory-live.js +0 -261
  1226. package/dist/studio/presentation/trajectory-routing.d.ts +0 -60
  1227. package/dist/studio/presentation/trajectory-routing.js +0 -351
  1228. package/dist/studio/view-models/index.d.ts +0 -2
  1229. package/dist/studio/view-models/insight.d.ts +0 -68
  1230. package/dist/studio/view-models/skill-index.d.ts +0 -110
  1231. /package/dist/{eval-workflows/inputs/contracts/index.js → eval-runtime/evaluation/contracts.js} +0 -0
  1232. /package/dist/{eval-workflows/instruments/judge-trace.d.ts → eval-runtime/judges/trace-summary.d.ts} +0 -0
  1233. /package/dist/{eval-workflows/runtime-adapter/source-neutral-trace.d.ts → eval-runtime/traces/source-neutral.d.ts} +0 -0
  1234. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/anthropic/api.d.ts +0 -0
  1235. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/claude/cli.d.ts +0 -0
  1236. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/claude/sdk-runtime.d.ts +0 -0
  1237. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/claude/sdk-runtime.js +0 -0
  1238. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/claude/sdk.d.ts +0 -0
  1239. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/codex/content-identity.d.ts +0 -0
  1240. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/codex/content-identity.js +0 -0
  1241. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/codex/environment.d.ts +0 -0
  1242. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/codex/environment.js +0 -0
  1243. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/codex/protocol-core.d.ts +0 -0
  1244. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/codex/sdk-runtime.d.ts +0 -0
  1245. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/codex/sdk-runtime.js +0 -0
  1246. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/openai/api.d.ts +0 -0
  1247. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/shared/api-http.d.ts +0 -0
  1248. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/shared/api-http.js +0 -0
  1249. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/shared/api-protocol-core.d.ts +0 -0
  1250. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/shared/classified-environment.d.ts +0 -0
  1251. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/shared/content-identity.d.ts +0 -0
  1252. /package/dist/eval-workflows/{runtime-adapter → hosts}/adapters/shared/content-identity.js +0 -0
  1253. /package/dist/eval-workflows/{production-host → hosts/input-resolution}/safe-http-content-resolver.js +0 -0
  1254. /package/dist/eval-workflows/{runtime-adapter → hosts}/resource-leases/access.d.ts +0 -0
  1255. /package/dist/eval-workflows/{runtime-adapter → hosts}/resource-leases/types.js +0 -0
  1256. /package/dist/eval-workflows/{runtime-adapter → hosts}/types.d.ts +0 -0
  1257. /package/dist/eval-workflows/{runtime-adapter → hosts}/types.js +0 -0
  1258. /package/dist/eval-workflows/{instruments/contracts/index.js → inputs/contracts/sample-input.js} +0 -0
  1259. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/agreement-parameters.d.ts +0 -0
  1260. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/agreement-parameters.js +0 -0
  1261. /package/dist/eval-workflows/{runtime-adapter/analysis/agreement-source-adapter.d.ts → measurement/analysis/agreement-source-adapter-v1.d.ts} +0 -0
  1262. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/analysis-support.d.ts +0 -0
  1263. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/analysis-support.js +0 -0
  1264. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/bootstrap-family-node.d.ts +0 -0
  1265. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/bootstrap-family-parameters.d.ts +0 -0
  1266. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/bootstrap-family-parameters.js +0 -0
  1267. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/bootstrap-family-source-adapter.d.ts +0 -0
  1268. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/bootstrap-family-source-adapter.js +0 -0
  1269. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/composite-node.d.ts +0 -0
  1270. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/composite-node.js +0 -0
  1271. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/composite-parameters.d.ts +0 -0
  1272. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/composite-parameters.js +0 -0
  1273. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/composite-source-adapter.d.ts +0 -0
  1274. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/composite-table.d.ts +0 -0
  1275. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/composite-table.js +0 -0
  1276. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/judge-aggregation.d.ts +0 -0
  1277. /package/dist/eval-workflows/{runtime-adapter → measurement}/analysis/judge-aggregation.js +0 -0
  1278. /package/dist/eval-workflows/{runtime-adapter → measurement}/evaluators/assertion-common.d.ts +0 -0
  1279. /package/dist/eval-workflows/{runtime-adapter → measurement}/evaluators/assertion-common.js +0 -0
  1280. /package/dist/eval-workflows/{runtime-adapter → measurement}/evaluators/output-assertions.js +0 -0
  1281. /package/dist/eval-workflows/{production-host → orchestration}/artifact-graph-persistence.d.ts +0 -0
  1282. /package/dist/eval-workflows/{production-host → orchestration}/artifact-graph-persistence.js +0 -0
  1283. /package/dist/eval-workflows/{production-host → orchestration}/environment.d.ts +0 -0
  1284. /package/dist/eval-workflows/{production-host → orchestration}/environment.js +0 -0
  1285. /package/dist/eval-workflows/{production-host → orchestration}/holdout.d.ts +0 -0
  1286. /package/dist/eval-workflows/{production-host → orchestration}/holdout.js +0 -0
  1287. /package/dist/eval-workflows/{production-host → orchestration}/measurement-design.d.ts +0 -0
  1288. /package/dist/eval-workflows/{runtime-adapter/event-projection.d.ts → projections/runtime-progress.d.ts} +0 -0
  1289. /package/dist/eval-workflows/{runtime-adapter/event-projection.js → projections/runtime-progress.js} +0 -0
  1290. /package/dist/{cli/lib/record-evolve-outcome.d.ts → knowledge-artifacts/governance/evolve-outcome.d.ts} +0 -0
  1291. /package/dist/{eval-workflows/inputs → knowledge-artifacts/sources}/materialize-copy.d.ts +0 -0
  1292. /package/dist/{eval-workflows/instruments/contracts/result.js → studio/http/app-host.js} +0 -0
  1293. /package/dist/{executors/contracts/index.js → studio/view-models/conversations/conversation-activity.js} +0 -0
  1294. /package/dist/{observability/contracts/index.js → studio/view-models/conversations/conversation-reader.js} +0 -0
  1295. /package/dist/studio/view-models/{index.js → conversations/inline-markdown.js} +0 -0
  1296. /package/dist/studio/view-models/{insight.js → conversations/replay.js} +0 -0
  1297. /package/dist/studio/view-models/{skill-index.js → conversations/trajectory-evidence.js} +0 -0
package/README.md CHANGED
@@ -8,236 +8,64 @@
8
8
 
9
9
  **English** | [简体中文](./README.zh.md)
10
10
 
11
- **Observe. Measure. Know.**
11
+ **Observe. Measure. Know.** Make knowledge changes in your AI application evidence-backed.
12
12
 
13
- **OMK makes every knowledge change in your AI application evidence-backed.**
13
+ OMK helps authors of prompts, RAG systems, skills, and agents compare versions, inspect evidence, and find knowledge gaps in real tasks. A controlled comparison keeps the **same model and evaluation samples, changing only the knowledge artifact**.
14
14
 
15
- Observe real-world performance, measure version differences, and determine whether the change is effective and the version is ready to ship.
15
+ Version 1.0 is still **in Beta iteration**; APIs and storage contracts may change. Read the [migration guide](docs/guides/v1-preview-migration.md) before upgrading an older installation.
16
16
 
17
- **Same model. Same evaluation samples. Only the knowledge artifact changes.**
17
+ ![OMK: from controlled evaluation to real-world feedback](./docs/public/omk-knowledge-flow-en-animated.gif)
18
18
 
19
- **DeepSeek Harness users:** install OMK as a native bundle, reuse the current profile for controlled evaluations, and open persisted DSH task trajectories in Studio. [Set up the DSH host plugin →](docs/reference/executors.md#deepseek-harness-prefer-the-host-plugin)
19
+ ## Start with your goal
20
20
 
21
- ![omk knowledge artifact evaluation flow: doctor / eval / observe / sample / evolve loop](./docs/public/omk-knowledge-flow-en-animated.gif)
22
-
23
- 📖 **Full documentation: [oh-my-knowledge.pages.dev](https://oh-my-knowledge.pages.dev)** (searchable, English / 简体中文)
24
-
25
- ## What OMK helps you know
26
-
27
- | Decision | Command | Evidence you get |
28
- |---|---|---|
29
- | Is this artifact coherent enough to evaluate? | `omk doctor` | structure, dependencies, safety, and measurability checks |
30
- | Is v2 actually better than v1? | `omk eval` | one-line verdict, confidence interval, failed samples, cost |
31
- | Why did it pass or fail? | `omk studio` | report view with scores, diagnostics, and examples |
32
- | Should this version become the accepted one? | `omk promote` / `omk evolve` | evidence-gated accept or generate a better candidate |
33
- | What happened during one real AI task? | `omk observe` / Studio Task Trajectory | a trace-backed view of the request, visible Knowledge, tool calls, results, response, and user correction |
34
- | What did real usage expose? | `omk observe` / `omk sample --from-traces` | production gaps drafted for review; reviewed drafts can become eval samples |
21
+ | Goal | Entry point |
22
+ |---|---|
23
+ | Compare two skills and inspect the verdict, interval, and failed cases | [CLI quickstart](docs/quickstart-skill-eval.md) |
24
+ | Add scoring and version comparisons to a Node.js service | [Service integration guide](docs/guides/eval-runtime.md), including an example without model credentials |
25
+ | Inspect one task or find problems in historical logs | [Observation and task trajectories](docs/guides/observe-production.md) |
35
26
 
36
27
  ## Quick start
37
28
 
29
+ You need Node.js >=22 and an authenticated model runtime; see [Requirements](#requirements). Install the Beta and preview your first comparison:
30
+
38
31
  ```bash
39
- npm i -g oh-my-knowledge
40
- omk init demo && cd demo
32
+ npm i -g oh-my-knowledge@next
33
+ omk init demo
34
+ cd demo
41
35
  omk eval --control code-review-v1 --treatment code-review-v2 --dry-run
42
- omk eval --control code-review-v1 --treatment code-review-v2
43
36
  ```
44
37
 
45
- Runs out of the box — no edits needed first. `omk init` scaffolds two skill variants and three sample cases; `--dry-run` previews the sealed task plan and estimated calls; `omk eval` runs the controlled A/B and opens the authenticated Core run in Studio. Once it runs, swap in your own skills and cases. To start directly with the first-party 20-case pack, replace the first command with `omk init demo --samples 20`.
46
-
47
- Prerequisite: configure one authenticated model runtime (Codex CLI, Claude Code, or an API executor; see [Requirements](#requirements)). Inside a Codex task in the ChatGPT desktop app, omk automatically selects `codex`, reads the model from `~/.codex/config.toml`, and uses the same Codex model as the default judge. Claude is not required.
48
-
49
- To make Codex the default in regular terminals, add the preference to your shell profile (for example `~/.zshrc`):
38
+ After checking the plan and estimated calls, run the evaluation (this calls the model):
50
39
 
51
40
  ```bash
52
- export OMK_EXECUTOR=codex
53
- # Optional: export OMK_MODEL="your-codex-model"
54
- ```
55
-
56
- Without `OMK_MODEL`, omk reads the model from `~/.codex/config.toml`. You can still pass `--executor codex --model <codex-model>` per command. Pass `--judge-models` or set `OMK_JUDGE_MODELS` only when you want a different judge.
57
-
58
- > The default 3-case pack is a low-cost workflow check, so `UNDERPOWERED` is expected. `--samples 20` selects a first-party, difficulty-stratified starter pack that meets omk's registered sample-size floor. Its provenance is `llm-generated`: use it to learn the statistical workflow, then review and replace it with real domain cases before making a release decision.
59
-
60
- > The CLI notifies you when a newer version is available (at most once per 20h); set `OMK_SKIP_UPDATE_CHECK=1` to silence it permanently.
61
-
62
- Walkthrough: [5-minute quickstart guide](docs/quickstart-skill-eval.md) (recommended for first-time users; includes demo → own skill → verdict actions). More runnable examples (Skill Map, offline executor, agent runtime, RAG, Observe) live in the repo's [example gallery](examples/README.md).
63
-
64
- Deeper: [who omk is for](docs/explanation/who-omk-is-for.md) · [CLI reference](docs/reference/cli.md) · [how it works](docs/explanation/architecture.md) · [eval sample format](docs/reference/eval-sample-format.md) · [executors](docs/reference/executors.md) · [artifact layout](docs/reference/artifact-layout.md)
65
-
66
- ## Inspect one Codex task
67
-
68
- If you only want to see what happened behind one Codex conversation, you do not need to run `observe ingest` first:
69
-
70
- ```bash
71
- omk studio
41
+ omk eval --control code-review-v1 --treatment code-review-v2
72
42
  ```
73
43
 
74
- Studio opens the local Codex conversation overview at `http://127.0.0.1:7799` by default. Select a conversation, then a task, to open **Task Trajectory**. Its four lanes — **Conversation, Actions, Results, and Knowledge** — show the request, AI responses, tool calls, tool returns, and observable context, with drill-downs into normalized events and raw logs.
75
-
76
- Running tasks are prioritized and update live. While **Following**, the trajectory advances smoothly as events arrive; after you inspect an earlier point, Studio keeps your position and offers **View updates**. Old logs without a terminal event are marked **End status not recorded** instead of remaining live forever.
77
-
78
- Task Trajectory only reconstructs facts observable in the log. It does not reveal or infer hidden reasoning. See [Observe production traces](docs/guides/observe-production.md#inspect-one-task) for the full model.
79
-
80
- ## The OMK loop
81
-
82
- OMK is for authors and maintainers of LLM knowledge artifacts who need a release decision, not for passive end-users of a skill. The main loop is deliberately controlled:
83
-
84
- ```text
85
- change a prompt / RAG / skill / agent artifact
86
- → run omk doctor before evaluation
87
- → run omk eval with the same model and the same samples
88
- → read the report / Studio evidence
89
- → promote a proven version or evolve a candidate
90
- → observe real usage and draft gap-derived samples for review
91
- ```
44
+ The scaffold contains two skills and three cases. This small default set checks the workflow; `UNDERPOWERED` is expected. Starter cases are marked `llm-generated`. Even the full pack created with `omk init demo-full --samples 20` only meets the default heuristic evidence floor, not an a priori power plan or a release-evidence requirement. Review and replace starter cases with real domain cases before relying on the results.
92
45
 
93
- The first value is the pre-ship `doctor → eval` decision. The long-term value is the closed loop: `observe` surfaces production gaps, `sample --from-traces` drafts regression samples for human review, and reviewed drafts can become fixed eval samples that make the next `eval` harder to game.
46
+ The [full walkthrough](docs/quickstart-skill-eval.md) covers runtime selection, your own skills, and interpreting results. The [example gallery](examples/README.md) offers more runnable scenarios.
94
47
 
95
48
  ## Use inside AI Coding Agents
96
49
 
97
- Install the official omk Agent Skill to let your coding agent run omk workflows from natural language:
98
-
99
50
  ```bash
100
51
  omk install omk-agent-skill
101
52
  ```
102
53
 
103
- By default, omk installs only into detected local targets it explicitly supports: Codex/AGENTS when `~/.codex` or `~/.agents` exists, and Claude Code when `~/.claude` exists. Use `--to all` to force every target omk currently knows, or `--dest` for a custom skill root.
104
-
105
- ### Use inside Claude Code
106
-
107
- When the `omk` skill is available in Claude Code, you can invoke it directly:
108
-
109
- ```bash
110
- /omk eval # evaluate the artifact(s) in the current project
111
- /omk evolve # auto-iterate to improve a skill
112
- /omk sample # generate or fill test cases
113
- ```
114
-
115
- These slash commands are natural-language entry points — the agent reads the conversation context to figure out which skill to operate on. You can also just say "compare v1 vs v2 for me" or "improve this artifact" and omk picks the right command.
54
+ Then ask your coding agent: “Use omk to compare these two skills.” See the [quickstart](docs/quickstart-skill-eval.md#use-inside-an-agent) for installation targets and usage. DeepSeek Harness users can use the [host plugin](docs/reference/executors.md#deepseek-harness-prefer-the-host-plugin) to reuse their current profile.
116
55
 
117
- ### Use inside Codex
56
+ The [MCP integration](docs/guides/mcp-integration.md) accepts user-authorized knowledge feedback. It records partial evidence submitted at its tool boundary; it does not automatically monitor complete conversations.
118
57
 
119
- Codex does not support Claude Code style `/omk ...` slash commands. Ask the agent to run the `omk` CLI directly. Inside a Codex task, omk automatically selects the Codex runtime and locally configured model:
120
-
121
- ```bash
122
- omk eval
123
- omk evolve skills/my-skill.md # one-shot: doctor → (auto-generate samples if missing) → self-iterate
124
- omk sample skills/my-skill.md
125
- ```
126
-
127
- You can also describe the goal in natural language, such as "compare v1 vs v2" or "generate test cases for this skill".
128
-
129
- `eval`, `doctor`, `sample`, `evolve`, and the LLM-enhanced observe review share the same runtime resolution. Once Codex is selected, the default judge reuses the evaluated Codex model instead of falling back to `claude:haiku`.
130
-
131
- > `omk evolve` is a one-shot loop: it runs the doctor gate first, auto-generates eval samples when the target skill has none, then self-iterates. For a brand-new skill, just run `omk evolve skills/foo.md`.
132
-
133
- ## Why this tool
134
-
135
- Knowledge engineering creates a versioning problem: every prompt, RAG recipe, skill, agent, or workflow can change behavior without changing application code. When someone asks "can we ship v2, and why?", a prettier answer or a higher anecdotal success rate is not enough.
136
-
137
- omk treats the knowledge artifact as the variable under test: **same model, same evaluation samples, only the artifact changes.** That makes the comparison explainable, repeatable, and suitable for CI or release review.
138
-
139
- ## Why omk over alternatives
140
-
141
- | | omk | promptfoo | DeepEval | LangSmith |
142
- |--|--|--|--|--|
143
- | Bootstrap CI | ✓ default | ✗ | ✗ | ✗ |
144
- | Krippendorff α (judge ↔ human) | ✓ with gold set | ✗ | ✗ | ✗ |
145
- | Length-debias judge prompt | ✓ default | ✗ | ✗ | ✗ |
146
- | Fail-closed evidence coverage | ✓ | ✗ | ✗ | ✗ |
147
- | Three-layer scoring isolation | ✓ | ✗ | partial | ✗ |
148
- | Per-variant skill isolation (construct validity) | ✓ default | ✗ | ✗ | ✗ |
149
- | Native Agent Skill | ✓ | ✗ | ✗ | ✗ |
150
- | Hosted SaaS dashboard | ✗ | ✗ | ✓ | ✓ |
151
-
152
- omk's moat is a **default-on safety net**: Bootstrap CI and length-debias are normal measurement behavior, missing evidence fails closed, and explicit Gold comparison provides judge ↔ human alpha calibration. Need a hosted SaaS dashboard? Choose LangSmith. Want quick local prompt iteration without statistics? Choose promptfoo. **Shipping to production and someone will ask "why should I trust this number?" Choose omk.**
153
-
154
- RAG-specific evals: see RAGAS (separate niche, complementary to omk). Full comparison with 7 tools across 25+ dimensions: [docs/reference/comparison.md](docs/reference/comparison.md).
155
-
156
- ## Features
157
-
158
- | Feature | What it does |
159
- |---|---|
160
- | **Core release decision** | Six conclusions + stable reason codes + exit-code routing; Studio projects the same authenticated Decision |
161
- | **Five-layer evidence graph** | Assertion / LLM / Judge / Dimension / Composite stay distinct, with coverage, cost, status, and lineage kept orthogonal |
162
- | **Multi-executor** | Claude CLI / Claude SDK / Codex CLI / Codex SDK / DeepSeek Harness / OpenAI / Anthropic API / any custom command |
163
- | **30+ assertion types** | substring, regex, JSON Schema, ROUGE/BLEU/Levenshtein similarity, agent tool-call assertions, semantic similarity, custom JS |
164
- | **Statistical rigor** | Bootstrap comparison families, length-debias, fail-closed evidence coverage, and explicit Gold agreement calibration. [Details →](docs/explanation/statistical-rigor.md) |
165
- | **RAG metrics** | `faithfulness` / `answer_relevancy` / `context_recall` — anti-hallucination + answer relevance + context coverage |
166
- | **LLM health audit** | `omk doctor` grades 7 builtin dimensions; repeats the audit (`--repeat`) and merges findings by k/n consensus |
167
- | **Production observability** | normalize Codex, Claude Code, OpenClaw, and markdown logs into source-neutral Trace IR; measure per-skill outcomes / latency / token use / knowledge-gap signals |
168
- | **Active MCP knowledge feedback (experimental)** | an MCP client actively calls a tool to write user-authorized knowledge feedback into Observation Inbox; it does not monitor conversations, and every record is marked `coverage: partial` |
169
- | **Knowledge-gap detection** | severity-weighted signals quantify risk exposure instead of claiming completeness |
170
- | **Construct-validity isolation** | `--strict-baseline` (default ON) cuts three contamination channels so baseline doesn't silently see the skill it's being compared against |
171
- | **Git & remote sources** | install / eval from a local git ref or a remote git URL (`--git-url`); directory-skills run in a content-addressed **isolated copy** so `references/` assets are real measured input, not just `SKILL.md` |
172
- | **Evidence-gated management** | `omk install` registers a managed record; `omk eval` auto-writes evidence bound by content fingerprint, moving a skill `installed → measurable`; `omk list` surfaces each managed skill's status (installed / measurable / promoted / stale); `omk promote` accepts a version once its evidence passes the gate (default PROGRESS only); `omk rollback` revokes that acceptance, returning the skill to `measurable`. [spec →](docs/specs/evidence-gated-management.md) |
173
- | **Sample design science** | sample schema with `capability` / `difficulty` / `construct` / `provenance` metadata (HF Dataset Cards style); studio surfaces coverage breakdown plus `rubric_clarity_low` / `capability_thin` flags. [docs/specs/sample-design-spec.md](docs/specs/sample-design-spec.md) |
174
- | **Multi-judge ensemble** | `--judge-models claude:opus,openai-api:gpt-4o` cross-vendor scoring + agreement metrics |
175
- | **Multi-run variance** | `--repeat N` publishes independent Core runs and an Evaluation Series variance analysis |
176
- | **MCP URL fetching** | pull content from private-doc URLs via an MCP server (SSO-protected knowledge bases, etc.) |
177
- | **Auto analysis** | detects low-discrimination assertions, flat scores, all-pass / all-fail, expensive samples |
178
- | **Traceability** | reports carry CLI version, Node version, artifact version fingerprint, judge prompt hash |
179
- | **EN / ZH views** | bilingual local Studio views selected through the report URL |
180
-
181
- ### Run inside an existing DeepSeek Harness
182
-
183
- Install OMK as a DSH bundle to reuse the profile's model, credentials, tools, and sandbox:
184
-
185
- ```bash
186
- dsh plugin --profile web add oh-my-knowledge
187
- dsh --profile web
188
- ```
189
-
190
- Inside DSH:
191
-
192
- - `/omk eval eval.yaml` runs every sample in an isolated DSH session while OMK owns the report and statistics;
193
- - `/omk observe` lists recent terminal sessions;
194
- - `/omk observe <session-id>` reads a consistent snapshot and returns its Studio Task Trajectory URL.
195
-
196
- Observe uses the profile's `sessionPersistence` directly, so users do not export or locate JSONL / SQLite files. The first version is offline-only and does not live-follow a session that is still being written. See the [executor guide](docs/reference/executors.md#deepseek-harness-prefer-the-host-plugin) and [observe guide](docs/guides/observe-production.md#inspect-a-task-inside-deepseek-harness).
197
-
198
- ### Connect an MCP client (experimental)
199
-
200
- > **Positioning: OMK MCP is an active knowledge-feedback interface, not a conversation monitor.** OMK MCP alone cannot automatically monitor or subscribe to complete conversations in Codex, ChatGPT, or another client. OMK receives a record only after the client, model, or component actively calls `save_observation` with authorized content. An Agent Skill may automatically recognize a potential feedback moment, but saving it still requires user confirmation and an explicit MCP tool call.
201
-
202
- `omk-mcp` is a client-neutral stdio MCP server. Codex and other local MCP clients can start it directly; a private host can compose the exported Streamable HTTP adapter. The client calls `save_observation` only after the user explicitly asks to record feedback, appends the feedback and optional evidence under `.omk/observe/inbox/captures/`, and can render an inline MCP Apps review card for a human verdict and regression-sample draft.
203
-
204
- In Codex, explicitly invoke the OMK Skill to submit the current knowledge feedback:
205
-
206
- ```text
207
- $omk feedback
208
- ```
209
-
210
- The explicit invocation itself confirms the save. The agent selects the most recent clear issue from the visible conversation and calls `save_observation` with `confirmedByUser: true`; it asks first when the candidate is ambiguous. This shortcut is not a CLI command, and it does not automatically review the observation, draft a sample, or write to a gold set.
211
-
212
- ```bash
213
- omk-mcp
214
- ```
58
+ ## Use the evidence
215
59
 
216
- Every record carries `coverageStatus: partial`: OMK observes its tool boundary, submitted feedback, and optional evidence, but not the full conversation, other tool calls, or hidden reasoning. Continuous monitoring requires a host that is authorized to access an event stream and actively forwards those events; that is a host-integration capability, not an OMK MCP capability. Conversation IDs, turn IDs, and idempotency keys are hashed rather than persisted verbatim. For a private-host Streamable HTTP integration, see [Compose the OMK MCP integration](docs/guides/mcp-integration.md).
60
+ `doctor` checks the artifact, `eval` compares versions, and `studio` presents results and raw evidence. When evidence meets the gate, `promote` can accept a version; `evolve` can generate a candidate. Gaps found by `observe` can become draft cases for review before the next evaluation.
217
61
 
218
- ### Local storage
62
+ Conclusions depend on the cases, scoring criteria, and execution environment. Observation signals are not causal conclusions, and generated cases are not an independent release-validation set. See [statistical rigor](docs/explanation/statistical-rigor.md) and the [three-stage workflow](docs/explanation/three-stage-workflow.md) for the method and limits.
219
63
 
220
- Project data uses the domain-oriented `.omk/` v2 layout: durable evidence lives under `eval/`, `doctor/`, and `observe/`; governance records live under `governance/`; backups remain recoverable; and only rebuildable work belongs in `state/`. Machine tools, tunnels, caches, and materialized copies stay under `~/.oh-my-knowledge/state/`, never in a project. This release neither reads nor migrates the earlier storage layout.
64
+ Project evidence lives under `.omk/`; machine-level state lives under `~/.oh-my-knowledge/`. The current version neither reads nor migrates the old storage layout. Back up before upgrading and follow the [migration guide](docs/guides/v1-preview-migration.md) to establish new evidence.
221
65
 
222
66
  ## Documentation
223
67
 
224
- The full docs are published at **[oh-my-knowledge.pages.dev](https://oh-my-knowledge.pages.dev)** — searchable, with an English / 简体中文 switcher. Key pages:
225
-
226
- - **[How it works](docs/explanation/architecture.md)** — input compilation, sealed Core execution, analysis, persistence, and Studio projections
227
- - **[Eval sample format](docs/reference/eval-sample-format.md)** — sample schema, scoring formulas, 30+ assertion types, custom JS assertions
228
- - **[CLI reference](docs/reference/cli.md)** — all top-level commands with bash examples and flag tables
229
- - **[Migrate to the 1.0 preview](docs/guides/v1-preview-migration.md)** — install channel, storage reset, sample protocol, CLI automation, and embedded API changes since 0.54
230
- - **[Evaluation Core cutover](docs/guides/eval-core-cutover.md)** — `BREAKING-SCHEMA` storage, resume, Studio, Gold, managed-evidence, and evolve migration
231
- - **[Storage layout v2](docs/specs/storage-layout-spec.md)** — project/global domains, compatibility boundary, and Git policy
232
- - **[Executors](docs/reference/executors.md)** & **[artifact layout](docs/reference/artifact-layout.md)** — built-in / custom executors; how `variant` resolves to an artifact + runtime context
233
- - **[How-to guides](docs/guides/agent-eval.md)** — [evaluate an agent](docs/guides/agent-eval.md) (project runtime context) and [use non-Claude models](docs/guides/non-claude-models.md) (GLM / Qwen / DeepSeek / Moonshot / Ollama)
234
- - **[Observe & inspect task trajectories](docs/guides/observe-production.md)** — browse local Codex conversations, drill into one task, and follow its observable execution live
235
- - **[Quickstart](docs/quickstart-skill-eval.md)** — first-time five-minute walkthrough
236
- - **[Example gallery](https://github.com/lizhiyao/oh-my-knowledge/tree/main/examples)** — a set of runnable examples in the repo, arranged simplest-to-richest
237
- - **[Sample design spec](docs/specs/sample-design-spec.md)** — capability / construct / provenance metadata; industry-gap mapping
238
- - **[Statistical rigor](docs/explanation/statistical-rigor.md)** — why Bootstrap CI / Gold agreement / length-debias / evidence coverage matter
239
- - **[Comparison with 7 tools](docs/reference/comparison.md)** — 25+ dimensions across promptfoo / DeepEval / RAGAS / OpenAI Evals / LangSmith / lm-eval-harness / inspect-ai
240
- - **[Evidence-gated management](docs/specs/evidence-gated-management.md)** — managed records, lifecycle states (installed / measurable / promoted / stale), install → eval → measurable → promote → rollback
68
+ [Documentation index](docs/README.md) · [Online docs](https://oh-my-knowledge.pages.dev) · [CLI reference](docs/reference/cli.md) · [Sample format](docs/reference/eval-sample-format.md) · [Executors](docs/reference/executors.md) · [How OMK understands knowledge](docs/explanation/knowledge.md)
241
69
 
242
70
  ## Environment variables
243
71
 
package/README.zh.md CHANGED
@@ -8,236 +8,64 @@
8
8
 
9
9
  [English](./README.md) | **简体中文**
10
10
 
11
- **Observe. Measure. Know.**
11
+ **Observe. Measure. Know.** 让 AI 应用的知识改动有据可依。
12
12
 
13
- **OMK,让 AI 应用的知识改动有据可依。**
13
+ OMK 帮助 prompt、RAG、skill 和 agent 的作者比较版本、检查证据,并从真实任务中发现知识缺口。受控比较遵循:**相同模型,相同评测用例,只改变知识载体。**
14
14
 
15
- 观测真实表现,量出版本差异,判断改动是否有效、版本能否发布。
15
+ 当前 1.0 仍处于 **Beta 迭代期**,接口与存储契约可能继续变化。从旧版本升级前,请先阅读[迁移指南](docs/zh/guides/v1-preview-migration.md)。
16
16
 
17
- **相同模型,相同评测用例,只改变知识载体。**
17
+ ![OMK:从受控评测到真实使用反馈](./docs/public/omk-knowledge-flow-animated.gif)
18
18
 
19
- **DeepSeek Harness 用户:** OMK 可作为原生 bundle 安装,复用当前 profile 做受控评测,并在 Studio 打开已持久化的 DSH 任务轨迹。[接入 DSH 宿主插件 →](docs/zh/reference/executors.md#deepseek-harness优先使用宿主插件)
19
+ ## 从你的目标开始
20
20
 
21
- ![omk 知识载体评测流程:doctor / eval / observe / sample / evolve 闭环](./docs/public/omk-knowledge-flow-animated.gif)
22
-
23
- 📖 **完整文档:[oh-my-knowledge.pages.dev/zh](https://oh-my-knowledge.pages.dev/zh/)**(可搜索,可切换英文)
24
-
25
- ## OMK 让你知道什么
26
-
27
- | 决策问题 | 命令 | 你会得到的证据 |
28
- |------|------|------|
29
- | 这份知识载体是否清楚到值得评测? | `omk doctor` | 结构、依赖、安全性、可测性检查 |
30
- | v2 是否真的优于 v1? | `omk eval` | 一行 verdict、置信区间、失败样本、成本 |
31
- | 它为什么通过或失败? | `omk studio` | 分数、诊断、样本证据的报告视图 |
32
- | 这个版本是否应成为接受版本? | `omk promote` / `omk evolve` | 基于证据接受,或生成更好的候选版 |
33
- | 一次真实 AI 任务中发生了什么? | `omk observe` / Studio 任务轨迹 | 请求、可见知识、工具调用与结果、回答和用户纠正的可核验轨迹 |
34
- | 真实使用暴露了哪些知识缺口? | `omk observe` / `omk sample --from-traces` | 将线上缺口生成待复核草稿,复核后再沉淀为评测样本 |
21
+ | 想做什么 | 入口 |
22
+ |---|---|
23
+ | 比较两版 skill,获得判定、置信区间与失败用例 | [命令行快速上手](docs/zh/quickstart-skill-eval.md) |
24
+ | 在 Node.js 服务中接入评分与版本对比 | [服务接入指南](docs/zh/guides/eval-runtime.md),含无需模型凭证的示例 |
25
+ | 看清一次任务,或从历史日志发现问题 | [观测与任务轨迹](docs/zh/guides/observe-production.md) |
35
26
 
36
27
  ## 快速开始
37
28
 
38
- ```bash
39
- npm i -g oh-my-knowledge
40
- omk init demo && cd demo
41
- omk eval --control code-review-v1 --treatment code-review-v2 --dry-run
42
- omk eval --control code-review-v1 --treatment code-review-v2
43
- ```
44
-
45
- 开箱即跑:`omk init` 脚手架好两版 skill 和三条评测用例,不用先改任何文件;`--dry-run` 预览 sealed task plan 与预估调用次数;`omk eval` 跑控制变量 A/B,并在 Studio 打开经过认证的 Core run。跑通后再把 skill 和用例换成你自己的。希望首次就使用官方 20 条完整起步集时,把第一条命令换成 `omk init demo --samples 20`。
46
-
47
- 前置:准备一个已认证的模型 runtime(Codex CLI、Claude Code 或 API 执行器,见[系统要求](#系统要求))。在 ChatGPT desktop 的 Codex 任务里,omk 会自动使用 `codex`,从 `~/.codex/config.toml` 读取模型,并默认用同一个 Codex 模型担任评委,不依赖 Claude。
48
-
49
- 普通终端想固定使用 Codex,可以把偏好加入 shell 配置,例如 `~/.zshrc`:
29
+ 需要 Node.js >=22 和一个已认证的模型 runtime,详见[系统要求](#系统要求)。安装 Beta 并预览第一次比较:
50
30
 
51
31
  ```bash
52
- export OMK_EXECUTOR=codex
53
- # 可选:export OMK_MODEL="你的 Codex 模型"
32
+ npm i -g oh-my-knowledge@next
33
+ omk init demo
34
+ cd demo
35
+ omk eval --control code-review-v1 --treatment code-review-v2 --dry-run
54
36
  ```
55
37
 
56
- 不设置 `OMK_MODEL` 时,omk 会读取 `~/.codex/config.toml` 的模型。也可以继续逐次显式传 `--executor codex --model <codex-model>`。自定义评委时再传 `--judge-models` 或设置 `OMK_JUDGE_MODELS`。
57
-
58
- > 默认 3 条用例是低成本流程检查,出现「数据不足(UNDERPOWERED)」符合预期。`--samples 20` 会选择经过难度分层的官方起步用例集,达到 omk 注册的样本量下限。其来源明确标记为 `llm-generated`:它适合学习统计流程,发布判断前仍应人工复核并替换为真实领域用例。
59
-
60
- > 命令行有新版本时会自动提示(每 20 小时最多一次);想永久关闭该提醒,设环境变量 `OMK_SKIP_UPDATE_CHECK=1` 即可。
61
-
62
- 手把手教程:[5 分钟快速上手](docs/zh/quickstart-skill-eval.md)(推荐第一次跑评测的用户,覆盖 demo → 自己的 skill → verdict 动作)。更多可跑示例(Skill Map、离线执行器、agent runtime、RAG、Observe)见仓库的[示例画廊](examples/README.zh.md)。
63
-
64
- 深入:[为谁、解决什么](docs/zh/explanation/who-omk-is-for.md) · [CLI 参考](docs/zh/reference/cli.md) · [工作原理](docs/zh/explanation/architecture.md) · [评测用例格式](docs/zh/reference/eval-sample-format.md) · [执行器](docs/zh/reference/executors.md) · [知识载体布局](docs/zh/reference/artifact-layout.md)
65
-
66
- ## 先看清一次 Codex 任务
67
-
68
- 只想知道一次 Codex 对话背后发生了什么,不需要先运行 `observe ingest`:
38
+ 检查计划和预估调用次数后,执行评测(会调用模型):
69
39
 
70
40
  ```bash
71
- omk studio
72
- ```
73
-
74
- Studio 默认在 `http://127.0.0.1:7799` 打开本机 Codex 对话总览。先选择一段对话,再选择其中一次任务,即可进入「任务轨迹」:按**对话、执行、结果、知识**四条泳道查看请求、AI 回答、工具调用、工具返回和可见上下文,并可下钻到规范化事件与原始日志。
75
-
76
- 进行中的任务会优先显示并实时更新。保持「跟随中」时,轨迹会随新事件平滑前进;手动查看历史位置后,页面保留当前位置并提示「查看更新」。旧日志如果没有记录结束事件,会标记为「未记录结束状态」,不会一直冒充进行中。
77
-
78
- 任务轨迹只还原日志中可观测的事实,不展示或推断隐藏思维。完整说明见[观测与任务轨迹](docs/zh/guides/observe-production.md#查看一次任务)。
79
-
80
- ## OMK 的闭环
81
-
82
- OMK 主要给 LLM 知识载体的作者 / 维护者用,帮他们做发布判断;它不是给被动安装 skill 的普通使用者用的。主流程刻意保持受控:
83
-
84
- ```text
85
- 改了一份 prompt / RAG / skill / agent 知识载体
86
- → 先跑 omk doctor
87
- → 用相同模型、相同评测用例跑 omk eval
88
- → 看 report / Studio 里的证据
89
- → 证据足够则 promote,证据不足则 evolve 候选版
90
- → observe 真实使用,把缺口生成待复核评测草稿
41
+ omk eval --control code-review-v1 --treatment code-review-v2
91
42
  ```
92
43
 
93
- 第一价值是发布前的 `doctor → eval` 判断。长期价值是闭环:`observe` 暴露真实使用里的知识缺口,`sample --from-traces` 先生成待人工复核的评测用例草稿,复核后的草稿再沉淀为固定评测样本,下一次 `eval` 就更难被偶然样本骗过。
44
+ 脚手架包含两版 skill 和三条用例。默认小样本用于检查流程,出现 `UNDERPOWERED` 符合预期。官方起步用例标记为 `llm-generated`;即使用 `omk init demo-full --samples 20` 创建完整起步集,也只是达到默认启发式证据下限,不等于完成功效规划或具备发布证据。实际使用前应人工复核并替换为真实领域用例。
94
45
 
95
- ## 在 AI Coding Agent 中使用
46
+ [完整教程](docs/zh/quickstart-skill-eval.md)介绍模型选择、换成自己的 skill 和结果解读;[示例画廊](examples/README.zh.md)提供更多可运行场景。
96
47
 
97
- 安装 omk 官方 Agent Skill 后,可以直接用自然语言让 coding agent 跑 omk 工作流:
48
+ ## 在 Agent 中使用
98
49
 
99
50
  ```bash
100
51
  omk install omk-agent-skill
101
52
  ```
102
53
 
103
- 默认只会安装到本机已检测到、且 omk 明确支持的目标:检测到 `~/.codex` 或 `~/.agents` 时写入 Codex/AGENTS,检测到 `~/.claude` 时写入 Claude Code。要强制写入当前 omk 已知的全部目标,用 `--to all`;要指定自定义 skill 根目录,用 `--dest`。
104
-
105
- ### 在 Claude Code 中使用
106
-
107
- 当 `omk` skill 已在 Claude Code 中可用时,可以直接这样调用:
108
-
109
- ```bash
110
- /omk eval # 评测当前项目的知识载体
111
- /omk evolve # 多轮自动迭代改进 skill
112
- /omk sample # 生成或补齐评测用例
113
- ```
114
-
115
- 这些 slash command 是自然语言入口 —— agent 会从对话上下文里推断要操作哪个 skill。也可以直接说「帮我评测 v1 和 v2 的差异」、「改进一下这个知识载体」,omk 会自动理解意图并调用对应命令。
116
-
117
- ### 在 Codex 中使用
54
+ 安装后,可以对 coding agent 说:“用 omk 比较这两版 skill。”安装目标与使用方法见[快速上手](docs/zh/quickstart-skill-eval.md#在-agent-中使用)。DeepSeek Harness 用户可直接使用[宿主插件](docs/zh/reference/executors.md#deepseek-harness优先使用宿主插件),复用当前 profile。
118
55
 
119
- Codex 默认不支持 `/omk ...` 这种 Claude Code 风格的 slash command。直接让 agent 执行 `omk` CLI 即可;在 Codex 任务里,omk 会自动选择 Codex runtime 和本机配置的模型:
56
+ [MCP 集成](docs/zh/guides/mcp-integration.md)提供用户授权的主动知识反馈入口。它仅记录提交到工具边界的部分证据,不自动监听完整对话。
120
57
 
121
- ```bash
122
- omk eval
123
- omk evolve skills/my-skill.md # 一键:体检 →(无用例则自动生成)→ 自迭代
124
- omk sample skills/my-skill.md
125
- ```
126
-
127
- 也可以直接用自然语言描述目标,例如「比较 v1 和 v2 的评测差异」、「为这个 skill 生成评测用例」。
128
-
129
- `eval`、`doctor`、`sample`、`evolve` 和 observe 的 LLM 增强复盘共用同一套 runtime 解析。Codex 被选中后,默认评委沿用被测 Codex 模型,不会回落到 `claude:haiku`。
130
-
131
- > `omk evolve` 是一键闭环:默认先跑 doctor 体检,目标 skill 没有评测用例时会自动生成一批,再进入多轮自迭代。全新 skill 直接 `omk evolve skills/foo.md` 即可。
132
-
133
- ## 为什么需要这个工具
134
-
135
- 知识工程带来的是一个版本治理问题:prompt、RAG 配方、skill、agent、workflow 都会改变模型行为,但这些改动未必体现在应用代码里。当有人追问「v2 能不能发、为什么」时,回答更顺眼、体感更好,远远不够。
136
-
137
- omk 把知识载体当作被测变量:**相同模型、相同评测用例,只改变知识载体。** 这样得到的对比才可解释、可复跑,也适合进入 CI 或发布评审。
138
-
139
- ## 为什么选 omk
140
-
141
- | | omk | promptfoo | DeepEval | LangSmith |
142
- |--|--|--|--|--|
143
- | Bootstrap 置信区间 | ✓ 默认 | ✗ | ✗ | ✗ |
144
- | Krippendorff α(评委 ↔ 人工) | ✓ 加 gold 即开 | ✗ | ✗ | ✗ |
145
- | 长度去偏的评委 prompt | ✓ 默认 | ✗ | ✗ | ✗ |
146
- | 缺失证据失败关闭 | ✓ | ✗ | ✗ | ✗ |
147
- | 三层独立评分 | ✓ | ✗ | 部分 | ✗ |
148
- | 用例隔离(construct validity) | ✓ 默认 | ✗ | ✗ | ✗ |
149
- | 原生 Agent Skill | ✓ | ✗ | ✗ | ✗ |
150
- | 托管 SaaS 看板 | ✗ | ✗ | ✓ | ✓ |
151
-
152
- omk 的护城河是 **default-on 安全网**:Bootstrap CI 与长度去偏属于正常测量行为,缺失证据失败关闭,显式 Gold comparison 提供评委 ↔ 人工 alpha 校准。需要 SaaS 看板?选 LangSmith。要快速 prompt 迭代不要统计层?选 promptfoo。**要发到生产且会被问「为什么应该相信这个数字」?选 omk。**
153
-
154
- RAG 专项评测请看 RAGAS(独立 niche,跟 omk 互补)。完整对比(7 个工具 × 25+ 维度): [docs/zh/reference/comparison.md](docs/zh/reference/comparison.md)
155
-
156
- ## 特性
157
-
158
- | 特性 | 说明 |
159
- |------|------|
160
- | **Core 发布决定** | 六种结论 + 稳定 reason code + exit code 路由;Studio 投影同一份经过认证的 Decision |
161
- | **五层 evidence graph** | Assertion / LLM / Judge / Dimension / Composite 保持独立,coverage、成本、状态与 lineage 与分数正交 |
162
- | **多执行器** | 支持 Claude CLI / Claude SDK / Codex CLI / Codex SDK / DeepSeek Harness / OpenAI / Anthropic API 及自定义命令 |
163
- | **30+ 种断言** | 包含子串、正则、JSON Schema、ROUGE/BLEU/Levenshtein 相似度、Agent 工具调用、语义相似度、自定义函数等 |
164
- | **统计严谨性** | Bootstrap comparison family、长度去偏、缺失证据失败关闭与显式 Gold agreement 校准。[详情 →](docs/zh/explanation/statistical-rigor.md) |
165
- | **RAG metrics** | `faithfulness` / `answer_relevancy` / `context_recall` 三 metric — 反幻觉 + 切题度 + context 覆盖 |
166
- | **LLM 健康度审计** | `omk doctor` 给 7 个内置维度独立打分;重复采样(`--repeat`)+ k/n 共识归并 |
167
- | **线上 session 观测** | 将 Codex、Claude Code、OpenClaw 与 markdown 日志统一为 source-neutral Trace IR,测量各 skill 的执行结果、耗时、token 使用和知识缺口信号 |
168
- | **MCP 主动知识反馈(实验性)** | 由 MCP 客户端主动调用工具,把用户明确授权的 knowledge 反馈写入 Observation Inbox;不监听对话,并固定标记 `coverage: partial` |
169
- | **知识缺口识别** | 严重度加权的信号量化风险敞口,不宣称完备性 |
170
- | **用例隔离 (construct validity)** | `--strict-baseline`(默认开)三堵 baseline 拿到被测 skill 的污染路径 |
171
- | **Git / 远端源** | install / eval 支持本地 git ref 或远端 git URL(`--git-url`);目录-skill 在内容寻址**隔离副本**里执行,`references/` 资产是真实测量输入,不只是 `SKILL.md` |
172
- | **证据门控管理** | `omk install` 登记受管记录;`omk eval` 按内容指纹自动写入证据,把 skill 从 `installed` 推到 `measurable`;`omk list` 查看各受管 skill 的状态(installed / measurable / promoted / stale);`omk promote` 在证据过门禁(默认仅 PROGRESS)后把该版本接受为当前版本;`omk rollback` 撤销这次接受,让 skill 回到 `measurable`。[规范 →](docs/zh/specs/evidence-gated-management.md) |
173
- | **用例设计科学性** | Sample schema 加 `capability` / `difficulty` / `construct` / `provenance` 元数据字段(HF Dataset Cards 风),studio 输出 coverage 分桶 + `rubric_clarity_low` / `capability_thin` issue。[docs/zh/specs/sample-design-spec.md](docs/zh/specs/sample-design-spec.md) |
174
- | **多评委 ensemble** | `--judge-models claude:opus,openai-api:gpt-4o` 跨厂商评分 + agreement 度量 |
175
- | **多轮方差分析** | `--repeat N` 发布相互独立的 Core run 与 Evaluation Series 方差分析 |
176
- | **MCP URL 获取** | 通过 MCP Server 获取私有文档 URL 内容(SSO 保护的知识库等) |
177
- | **自动分析** | 检测低区分度断言、均匀分数、全通过/全失败、高成本用例 |
178
- | **可追溯性** | 报告含 CLI 版本、Node 版本、知识载体版本指纹、judge prompt hash |
179
- | **中英视图** | 通过报告 URL 选择中英文的本地 Studio 视图 |
180
-
181
- ### 在已有 DeepSeek Harness 中运行
182
-
183
- OMK 可以作为 DSH bundle 安装到现有 profile,直接复用其模型、凭证、工具与 sandbox:
184
-
185
- ```bash
186
- dsh plugin --profile web add oh-my-knowledge
187
- dsh --profile web
188
- ```
189
-
190
- 进入 DSH 后:
191
-
192
- - `/omk eval eval.yaml`:每条用例使用独立 DSH session,报告仍由 OMK 生成;
193
- - `/omk observe`:列出最近已结束的 session;
194
- - `/omk observe <session-id>`:只读摄取一致快照,并返回 Studio 任务轨迹链接。
195
-
196
- observe 直接使用 profile 的 `sessionPersistence`,无需导出或定位 JSONL/SQLite 文件;首版不实时跟随正在写入的 session。详见[执行器文档](docs/zh/reference/executors.md#deepseek-harness优先使用宿主插件)与[观测指南](docs/zh/guides/observe-production.md#在-deepseek-harness-中查看任务轨迹)。
197
-
198
- ### 连接 MCP 客户端(实验性)
199
-
200
- > **定位:OMK MCP 是主动知识反馈接口,不是对话监听器。** 仅靠 OMK MCP 无法自动监听或订阅 Codex、ChatGPT 等客户端的完整对话。只有客户端、模型或 component 主动调用 `save_observation` 并提交授权内容后,OMK 才能收到并保存这条反馈。Agent Skill 可以自动识别潜在反馈时机,但识别结果仍须经过用户确认和一次显式 MCP 工具调用。
201
-
202
- `omk-mcp` 提供与客户端无关的 stdio MCP Server。Codex 等本地 MCP 客户端可直接启动它,私有宿主也可组合导出的 Streamable HTTP adapter。客户端只在用户明确要求记录时调用 `save_observation`,把反馈和可选证据追加到 `.omk/observe/inbox/captures/`,并可渲染对话内 MCP Apps 复核卡片,供人工确认问题和生成 regression sample 草稿。
203
-
204
- 在 Codex 中可以显式调用 OMK Skill 快捷提交当前知识反馈:
205
-
206
- ```text
207
- $omk feedback
208
- ```
209
-
210
- 这次显式调用本身视为保存确认。Agent 会从当前可见对话中选择最近一个明确问题,以 `confirmedByUser: true` 调用 `save_observation`;候选不明确时会先追问。该快捷入口不是 CLI 命令,也不会自动复核、生成 sample 或写入 gold set。
211
-
212
- ```bash
213
- omk-mcp
214
- ```
58
+ ## 如何使用证据
215
59
 
216
- 每条记录都固定携带 `coverageStatus: partial`:已观测的是 OMK 工具边界、用户提交的反馈及可选证据;未观测的是完整对话、其他工具调用和隐藏推理。需要持续监听时,必须由有权访问事件流的宿主系统主动转交事件,这属于宿主集成能力,不属于 OMK MCP 自身能力。对话 ID、turn ID 与幂等键只用于生成哈希,不会原样落盘。私有宿主的 Streamable HTTP 组合方式见[组合 OMK MCP 集成](docs/zh/guides/mcp-integration.md)。
60
+ `doctor` 检查知识载体,`eval` 做受控比较,`studio` 展示结果与原始证据。证据满足条件后可以 `promote` 接受版本,或用 `evolve` 生成候选;`observe` 暴露的缺口可转成待复核用例,再进入下一轮评测。
217
61
 
218
- ### 本地存储
62
+ 结论受用例、评分准则和执行环境约束。观测信号不等于因果结论,生成的样本也不能直接充当独立发布验证集。原理与限制见[统计严谨性](docs/zh/explanation/statistical-rigor.md)和[三阶段工作流](docs/zh/explanation/three-stage-workflow.md)。
219
63
 
220
- 项目数据采用领域化的 `.omk/` v2 布局:持久证据进入 `eval/`、`doctor/`、`observe/`,治理记录进入 `governance/`,备份保持可恢复,只有可重建工作进入 `state/`。机器工具、隧道、缓存和物化副本只能进入 `~/.oh-my-knowledge/state/`,不得写进项目。本期不读取、也不迁移旧存储布局。
64
+ 项目证据保存在 `.omk/`,机器级状态位于 `~/.oh-my-knowledge/`。当前版本不读取或迁移旧存储布局;升级前备份,按[迁移指南](docs/zh/guides/v1-preview-migration.md)重新建立证据。
221
65
 
222
66
  ## 文档
223
67
 
224
- 完整文档已发布到 **[oh-my-knowledge.pages.dev/zh](https://oh-my-knowledge.pages.dev/zh/)** —— 可搜索,可切换英文。重点页面:
225
-
226
- - **[工作原理](docs/zh/explanation/architecture.md)** —— 输入编译、sealed Core 执行、分析、持久化与 Studio projection
227
- - **[评测用例格式](docs/zh/reference/eval-sample-format.md)** —— sample schema、评分公式、30+ 断言类型、自定义 JS 断言
228
- - **[CLI 参考](docs/zh/reference/cli.md)** —— 顶层命令的 bash 示例和 flag 表
229
- - **[迁移到 1.0 预览版](docs/zh/guides/v1-preview-migration.md)** —— 从 `0.54` 升级时的安装渠道、存储重建、用例协议、CLI 自动化与嵌入式 API 变化
230
- - **[Evaluation Core 生产切换](docs/zh/guides/eval-core-cutover.md)** —— `BREAKING-SCHEMA` 存储、resume、Studio、Gold、受管证据与 evolve 迁移
231
- - **[存储布局 v2](docs/zh/specs/storage-layout-spec.md)** —— 项目/全局领域、迁移兼容与 Git 策略
232
- - **[执行器](docs/zh/reference/executors.md)** & **[知识载体布局](docs/zh/reference/artifact-layout.md)** —— 内置 / 自定义执行器;variant 如何解析为 artifact + runtime context
233
- - **[操作指南](docs/zh/guides/agent-eval.md)** —— [评测 agent](docs/zh/guides/agent-eval.md)(项目 runtime context)与[使用非 Claude 模型](docs/zh/guides/non-claude-models.md)(GLM / 通义 / DeepSeek / Moonshot / Ollama)
234
- - **[观测与任务轨迹](docs/zh/guides/observe-production.md)** —— 浏览本机 Codex 对话,下钻一次任务,并实时跟随可观测执行过程
235
- - **[快速上手](docs/zh/quickstart-skill-eval.md)** —— 第一次跑评测的 5 分钟教程
236
- - **[示例画廊](https://github.com/lizhiyao/oh-my-knowledge/tree/main/examples)** —— 仓库里一组可直接跑的示例,按由简到全排成上手路径
237
- - **[用例设计规范](docs/zh/specs/sample-design-spec.md)** —— capability / construct / provenance 元数据;行业 gap 映射
238
- - **[统计严谨性](docs/zh/explanation/statistical-rigor.md)** —— 为什么 Bootstrap CI / Gold agreement / 长度去偏 / evidence coverage 重要
239
- - **[7 工具对比](docs/zh/reference/comparison.md)** —— promptfoo / DeepEval / RAGAS / OpenAI Evals / LangSmith / lm-eval-harness / inspect-ai 等 25+ 维度横评
240
- - **[证据门控管理](docs/zh/specs/evidence-gated-management.md)** —— 受管记录、生命周期状态(installed / measurable / promoted / stale)、install → eval → measurable → promote → rollback
68
+ [完整文档与导航](docs/zh/README.md) · [在线文档](https://oh-my-knowledge.pages.dev/zh/) · [CLI 参考](docs/zh/reference/cli.md) · [用例格式](docs/zh/reference/eval-sample-format.md) · [执行器](docs/zh/reference/executors.md) · [OMK 如何理解知识](docs/zh/explanation/knowledge.md)
241
69
 
242
70
  ## 环境变量
243
71
 
@@ -26,7 +26,7 @@ argument-hint: "<doctor|eval|evolve|init|install|list|observe|promote|rollback|s
26
26
  除 `$omk feedback` 快捷入口外,运行 `which omk` 检查是否已安装。如果未安装,告诉用户:
27
27
 
28
28
  ```
29
- npm i oh-my-knowledge -g
29
+ npm i -g oh-my-knowledge@next
30
30
  ```
31
31
 
32
32
  omk CLI 顶层命令包括:`init` / `install` / `list` / `promote` / `rollback` / `doctor` / `eval` / `observe` / `evolve` / `sample` / `studio`。没有 `bench` / `improve` / `gen-samples` 这些旧子命令名 —— 如果你在历史 SKILL / 文档里看到了,那是 v0.30 命令树重构之前的写法。
@@ -191,7 +191,7 @@ omk studio --host 0.0.0.0 # 局域网访问(默认 127.0.0.1
191
191
  omk studio --no-open # 不自动开浏览器
192
192
  ```
193
193
 
194
- Studio 首页直接索引本机 Codex 对话。先选择对话,再选择任务查看四泳道任务轨迹;进行中的任务支持实时跟随。顶部「知识载体」入口用于浏览 doctor / eval / observe 报告,`/observe-inbox` 用于复核 observation。无需为了浏览本机 Codex 对话而先运行 `omk observe ingest`。
194
+ Studio 首页直接索引本机 Codex 对话。先选择对话,再选择任务查看四泳道任务轨迹;进行中的任务支持实时跟随。顶部「知识载体」入口用于浏览 doctor / eval / observe 报告,`/observe/inbox` 用于复核 observation。无需为了浏览本机 Codex 对话而先运行 `omk observe ingest`。
195
195
 
196
196
  ## 第五步:解读结果
197
197
 
@@ -227,15 +227,23 @@ v2 比 v1 更好(verdict: PROGRESS,Δ=+0.7,95% CI [+0.3, +1.1]):
227
227
 
228
228
  ## 指定工作目录(cwd)
229
229
 
230
- 当评测用例需要模型读取特定仓库的代码时,可在 sample 中设置 `cwd` 字段:
230
+ 当评测用例需要模型读取特定仓库的代码时,可在 sample 中设置 `executionContext.cwd` 字段:
231
231
 
232
232
  ```yaml
233
- - sample_id: task-001
234
- prompt: "实现用户登录功能,要求支持手机号和邮箱两种方式"
235
- cwd: "/path/to/target-repo"
236
- assertions:
237
- - type: contains_all
238
- values: ["auth.ts", "login.tsx"]
233
+ schemaVersion: omk.eval-sample-set/v3
234
+ samples:
235
+ - sampleId: task-001
236
+ input:
237
+ inputKind: text
238
+ text: 实现用户登录功能,要求支持手机号和邮箱两种方式
239
+ executionContext:
240
+ cwd: /path/to/target-repo
241
+ evaluationContext:
242
+ assertions:
243
+ - type: contains_all
244
+ values:
245
+ - auth.ts
246
+ - login.tsx
239
247
  ```
240
248
 
241
249
  `cwd` 会作为 executor 的工作目录,Codex / Claude 等 agent runtime 会在该目录下运行并读取仓库代码。适用于「给一个任务 query,断言应该修改哪些文件」的 A/B 评测场景。