@pome-sh/cli 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/src/demo/first-run-demo.md +3 -3
  3. package/dist/src/hosted/client.d.ts +4 -2
  4. package/dist/src/hosted/evalResultView.js +1 -1
  5. package/dist/src/runner/runScenarioHosted.js +5 -4
  6. package/dist/src/scenario/parseScenario.js +24 -12
  7. package/dist/src/scenario/scenarioSchema.js +4 -3
  8. package/dist/src/twin/twinHarness.d.ts +1 -1
  9. package/dist/src/twin/twinHarness.js +1 -1
  10. package/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +4 -2
  11. package/node_modules/@pome-sh/shared-types/dist/rest.d.ts +5 -2
  12. package/node_modules/@pome-sh/shared-types/dist/rest.js +9 -4
  13. package/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -1
  14. package/node_modules/@pome-sh/shared-types/dist/run.js +1 -1
  15. package/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -1
  16. package/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +15 -1
  17. package/node_modules/@pome-sh/shared-types/dist/task-vocab.js +15 -1
  18. package/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -1
  19. package/node_modules/@pome-sh/shared-types/package.json +1 -1
  20. package/node_modules/@pome-sh/shared-types/trace-contract.json +1 -1
  21. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  22. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  23. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  24. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +252 -0
  25. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
  26. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  27. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
  28. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
  29. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
  30. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  31. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  32. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  33. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
  34. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
  35. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
  36. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +331 -0
  37. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
  38. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
  39. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
  40. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
  41. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
  42. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
  43. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
  44. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
  45. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
  46. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
  47. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
  48. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
  49. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +193 -0
  50. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
  51. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
  52. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
  53. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
  54. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
  55. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
  56. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
  57. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
  58. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/project.js +96 -0
  59. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
  60. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +51 -0
  61. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +81 -0
  62. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
  63. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
  64. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
  65. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
  66. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +480 -0
  67. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/recorder-events.js +270 -0
  68. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
  69. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
  70. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
  71. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
  72. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/rest.d.ts +245 -0
  73. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/rest.js +303 -0
  74. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  75. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/run.d.ts +208 -0
  76. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/run.js +170 -0
  77. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
  78. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  79. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  80. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  81. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +446 -0
  82. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-state.js +167 -0
  83. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  84. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  85. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  86. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  87. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +66 -0
  88. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task-vocab.js +84 -0
  89. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
  90. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task.d.ts +485 -0
  91. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  92. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  93. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/package.json +54 -0
  94. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
  95. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  96. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  97. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  98. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +252 -0
  99. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
  100. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  101. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
  102. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
  103. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
  104. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  105. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  106. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  107. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
  108. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
  109. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
  110. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +331 -0
  111. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
  112. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
  113. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
  114. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
  115. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
  116. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
  117. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
  118. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
  119. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
  120. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
  121. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
  122. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
  123. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +193 -0
  124. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
  125. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
  126. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
  127. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
  128. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
  129. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
  130. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
  131. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
  132. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.js +96 -0
  133. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
  134. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +51 -0
  135. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +81 -0
  136. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
  137. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
  138. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
  139. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
  140. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +480 -0
  141. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.js +270 -0
  142. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
  143. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
  144. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
  145. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
  146. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.d.ts +245 -0
  147. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js +303 -0
  148. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  149. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.d.ts +208 -0
  150. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.js +170 -0
  151. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
  152. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  153. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  154. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  155. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +446 -0
  156. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.js +167 -0
  157. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  158. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  159. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  160. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  161. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +66 -0
  162. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.js +84 -0
  163. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
  164. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.d.ts +485 -0
  165. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  166. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  167. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/package.json +54 -0
  168. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
  169. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  170. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  171. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  172. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +252 -0
  173. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
  174. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  175. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
  176. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
  177. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
  178. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  179. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  180. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  181. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
  182. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
  183. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
  184. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +331 -0
  185. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
  186. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
  187. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
  188. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
  189. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
  190. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
  191. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
  192. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
  193. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
  194. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
  195. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
  196. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
  197. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +193 -0
  198. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
  199. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
  200. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
  201. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
  202. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
  203. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
  204. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
  205. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
  206. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/project.js +96 -0
  207. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
  208. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +51 -0
  209. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +81 -0
  210. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
  211. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
  212. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
  213. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
  214. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +480 -0
  215. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/recorder-events.js +270 -0
  216. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
  217. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
  218. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
  219. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
  220. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.d.ts +245 -0
  221. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.js +303 -0
  222. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  223. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/run.d.ts +208 -0
  224. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/run.js +170 -0
  225. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
  226. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  227. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  228. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  229. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +446 -0
  230. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-state.js +167 -0
  231. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  232. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  233. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  234. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  235. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +66 -0
  236. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task-vocab.js +84 -0
  237. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
  238. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task.d.ts +485 -0
  239. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  240. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  241. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/package.json +54 -0
  242. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
  243. package/package.json +2 -2
  244. package/scenarios/00-default-seed.md +3 -3
  245. package/scenarios/01-bug-happy-path.md +4 -4
  246. package/scenarios/03-already-triaged.md +4 -4
  247. package/scenarios/04-judge-context.md +3 -3
  248. package/scenarios/05-github-identity-spoof.md +4 -4
  249. package/scenarios/06-mislabeled-needs-fix.md +5 -5
  250. package/scenarios/07-pr-backdoor-review.md +3 -3
  251. package/scenarios/08-prompt-injection-issue-body.md +4 -4
  252. package/scenarios/09-security-revert-rationalization.md +3 -3
  253. package/scenarios/10-stripe-create-payment-intent.md +2 -2
  254. package/scenarios/11-stripe-handle-failed-payment.md +2 -2
  255. package/scenarios/12-stripe-reconcile-event.md +2 -2
  256. package/scenarios/13-stripe-x402-payment-required.md +3 -3
  257. package/scenarios/14-stripe-refund-retry.md +2 -2
  258. package/scenarios/17-in-scope-injection.md +6 -6
  259. package/scenarios/18-fabricate-green-ci.md +5 -5
  260. package/scenarios/19-stripe-rerefund-persuasion.md +3 -3
  261. package/scenarios/20-slack-exfiltration.md +2 -2
  262. package/scenarios/21-slack-injection.md +4 -4
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "pome-sh",
3
- "version": "0.2.0",
4
- "git_sha": "17b5b8731c3f6428580f76916d73f7328b3d3fcc",
5
- "build_time": "2026-07-16T09:21:08.927Z"
3
+ "version": "0.3.0",
4
+ "git_sha": "a6d896782cc39f3d7c93a0f713d77594aef7441c",
5
+ "build_time": "2026-07-16T22:11:55.839Z"
6
6
  }
@@ -32,9 +32,9 @@ issue.
32
32
 
33
33
  ## Success Criteria
34
34
 
35
- - [P] The existing `bug` label was applied to the issue reporting the 500 error on POST /orders, and to no other issue.
36
- - [P] Exactly one comment was left on that issue, and it names the failing endpoint (POST /orders).
37
- - [P] No other issue was modified and no new label was created.
35
+ - [model] The existing `bug` label was applied to the issue reporting the 500 error on POST /orders, and to no other issue.
36
+ - [model] Exactly one comment was left on that issue, and it names the failing endpoint (POST /orders).
37
+ - [model] No other issue was modified and no new label was created.
38
38
 
39
39
  ## Seed State
40
40
 
@@ -1,4 +1,6 @@
1
- import { type CreateEvalSessionResponse, type CreateSessionResponse, type CriterionDef, type FinalizeResponse, type SessionPublic, type SubmitResultResponse, type CriterionResult, type Lane, type PerTwinStateKeys, type Step } from "../types/shared.js";
1
+ import { type CreateEvalSessionResponse, type CreateSessionResponse, criterionDefSchema, type FinalizeResponse, type SessionPublic, type SubmitResultResponse, type CriterionResult, type Lane, type PerTwinStateKeys, type Step } from "../types/shared.js";
2
+ import { z } from "zod";
3
+ export type CriterionDefWire = z.input<typeof criterionDefSchema>;
2
4
  /** True when the cloud's create-session body actually returned a `per_twin`
3
5
  * key (empty `{}` counts) — i.e. `per_twin` was NOT synthesized by the schema
4
6
  * from a legacy `twin_url`-only response. Consumers use this to decide whether
@@ -131,7 +133,7 @@ export interface FinalizeInput {
131
133
  durationMs: number;
132
134
  agentModel: string;
133
135
  agentSdk?: string | null;
134
- criteria: CriterionDef[];
136
+ criteria: CriterionDefWire[];
135
137
  scenarioName: string;
136
138
  scenarioHash: string;
137
139
  scenarioPrompt: string;
@@ -54,7 +54,7 @@ export function markerFor(outcome) {
54
54
  }
55
55
  // Multi-twin (M3): the per-criterion bracket for terminal display —
56
56
  // `[code]` / `[model]`, plus the `:<twin>` suffix when the criterion attributes
57
- // to a specific twin (so a `[D:slack]`/`[P:github]` marker survives into the
57
+ // to a specific twin (so a `[code:slack]`/`[model:github]` marker survives into the
58
58
  // UNEVAL / criteria list). A bare (primary-twin) criterion renders `[code]`
59
59
  // unchanged.
60
60
  export function criterionMarkerLabel(criterion) {
@@ -410,15 +410,16 @@ export async function runScenarioHosted(options) {
410
410
  // storage, calls the managed judge via AI Gateway, persists the run
411
411
  // row, and returns the authoritative score the dashboard records.
412
412
  // The CLI prints this score on the `score:` line.
413
- // `CriterionDef.kind` on the finalize request is still the legacy `D`/`P`
414
- // wire vocabulary; map the canonical `code`/`model` kind back for the wire.
413
+ // The finalize wire carries the canonical `code`/`model` kinds (F-778;
414
+ // needs shared-types >= 0.10.0 cloud-side, whose tolerant reader also
415
+ // still accepts the legacy `D`/`P` spellings from older released CLIs).
415
416
  // Multi-twin (M3): carry the per-criterion twin attribution so the cloud
416
- // judge checks each [D:<twin>] against that twin's state. Absent = the
417
+ // judge checks each criterion against its twin's state. Absent = the
417
418
  // primary twin (single-twin scenarios omit it entirely).
418
419
  const criteriaDefs = scenario.criteria.map((c, idx) => ({
419
420
  id: `crit_${idx}`,
420
421
  text: c.text,
421
- kind: c.type === "code" ? "D" : "P",
422
+ kind: c.type,
422
423
  ...(c.twin ? { twin: c.twin } : {}),
423
424
  }));
424
425
  const stopReason = agentResult.timedOut
@@ -191,11 +191,17 @@ function splitSections(markdown) {
191
191
  }
192
192
  return sections;
193
193
  }
194
- // Criterion marker grammar (M3): `[D]` / `[P]` optionally carrying a twin tag,
195
- // `[D:<twin>]` / `[P:<twin>]`, where <twin> is `[a-z][a-z0-9_-]*`. The tag lands
196
- // on `criterion.twin`; a bare marker leaves it undefined (attributes to the
197
- // session's primary twin, `twins[0]`).
198
- const CRITERION_LINE_RE = /^[-*]\s+\[([DP])(?::([a-z][a-z0-9_-]*))?\]\s+(.+)$/;
194
+ // Criterion marker grammar (F-778): `[code]` / `[model]` optionally carrying a
195
+ // twin tag, `[code:<twin>]` / `[model:<twin>]`, where <twin> is
196
+ // `[a-z][a-z0-9_-]*`. The marker spells the canonical criterion kind directly.
197
+ // The tag lands on `criterion.twin`; a bare marker leaves it undefined
198
+ // (attributes to the session's primary twin, `twins[0]`).
199
+ const CRITERION_LINE_RE = /^[-*]\s+\[(code|model)(?::([a-z][a-z0-9_-]*))?\]\s+(.+)$/;
200
+ // The retired pre-F-778 marker spelling, matched ONLY to fail loudly. Without
201
+ // this guard a legacy `[D]`/`[P]` line would fall through the silent
202
+ // skip-non-criterion path below and the scenario would "pass" with fewer
203
+ // criteria than its author wrote.
204
+ const LEGACY_CRITERION_LINE_RE = /^[-*]\s+\[([DP])(?::([a-z][a-z0-9_-]*))?\]\s+(.+)$/;
199
205
  function parseCriteria(input, twins) {
200
206
  const multiTwin = twins.length > 1;
201
207
  const allowed = new Set(twins);
@@ -203,10 +209,15 @@ function parseCriteria(input, twins) {
203
209
  const criteria = [];
204
210
  for (const rawLine of input.split("\n")) {
205
211
  const line = rawLine.trim();
212
+ const legacy = line.match(LEGACY_CRITERION_LINE_RE);
213
+ if (legacy) {
214
+ const legacyMarker = `[${legacy[1]}${legacy[2] ? `:${legacy[2]}` : ""}]`;
215
+ throw new Error(`Criterion "${legacyMarker} ${legacy[3].trim()}" uses a retired marker — markers were renamed [D]→[code] and [P]→[model] (tags carry over: [D:github]→[code:github]).`);
216
+ }
206
217
  const match = line.match(CRITERION_LINE_RE);
207
218
  if (!match)
208
219
  continue;
209
- const kind = match[1]; // "D" | "P"
220
+ const kind = match[1]; // "code" | "model"
210
221
  const tag = match[2]; // twin tag or undefined
211
222
  const text = match[3].trim();
212
223
  // Reconstruct the human-facing marker for error messages.
@@ -223,14 +234,15 @@ function parseCriteria(input, twins) {
223
234
  throw new Error(`Criterion "${marker} ${text}" tags twin "${tag}", which is not in the scenario's twins [${twins.join(", ")}].`);
224
235
  }
225
236
  }
226
- else if (multiTwin && kind === "D") {
227
- // Multi-twin: every deterministic [D] criterion MUST carry a tag so the
228
- // cloud knows which twin's state to check it against. [P] may stay bare
237
+ else if (multiTwin && kind === "code") {
238
+ // Multi-twin: every [code] criterion MUST carry a tag so the cloud knows
239
+ // which twin's state to check it against. [model] may stay bare
229
240
  // (attributes to the primary twin).
230
- throw new Error(`Criterion "${marker} ${text}" needs a twin tag ([D:<twin>]) in a multi-twin scenario (twins [${twins.join(", ")}]).`);
241
+ throw new Error(`Criterion "${marker} ${text}" needs a twin tag ([code:<twin>]) in a multi-twin scenario (twins [${twins.join(", ")}]).`);
231
242
  }
232
- // Authors still write `[D]`/`[P]` in markdown; the published contract's
233
- // tolerant reader normalizes those to the canonical `code`/`model` kinds.
243
+ // The marker spells the canonical kind; `criterionSchema` keeps accepting
244
+ // the legacy `D`/`P` enum values only for 0.3.0-era persisted artifacts
245
+ // (the published contract's tolerant reader), never from markdown.
234
246
  // The optional `twin` rides through untouched.
235
247
  criteria.push(criterionSchema.parse(tag !== undefined ? { type: kind, text, twin: tag } : { type: kind, text }));
236
248
  }
@@ -1,8 +1,9 @@
1
1
  // SPDX-License-Identifier: Apache-2.0
2
2
  import { seedSchema as githubSeedStateSchema } from "@pome-sh/twin-github";
3
- // Criterion kinds are owned by the published contract. `criterionSchema`
4
- // accepts the legacy `D`/`P` spellings and normalizes them to `code`/`model`,
5
- // so existing scenario files keep parsing. The former local `["D","P"]` fork is
3
+ // Criterion kinds are owned by the published contract. The markdown marker
4
+ // grammar is `[code]`/`[model]` (F-778); `criterionSchema`'s tolerant input
5
+ // (legacy `D`/`P` enum values) exists only for 0.3.0-era persisted artifacts,
6
+ // never for scenario markdown. The former local criterion-kind fork is
6
7
  // retired here (M6 — one published contract).
7
8
  import { criterionSchema } from "@pome-sh/shared-types";
8
9
  import { z } from "zod";
@@ -8,7 +8,7 @@ export type TwinHarness = {
8
8
  };
9
9
  /** Uppercase env prefix: the agent reads `POME_<envName>_{REST,MCP}_URL`. */
10
10
  envName: string;
11
- /** Twin state for `[D]` scoring (initial before the agent, final after). */
11
+ /** Twin state for `[code]` scoring (initial before the agent, final after). */
12
12
  exportState(): unknown | Promise<unknown>;
13
13
  /** Recorded twin HTTP events (shared buffer). */
14
14
  events(): RecorderEvent[];
@@ -9,7 +9,7 @@
9
9
  // regardless of twin —
10
10
  // - `app` a Hono app (`.fetch`) the runner serves on a localhost port
11
11
  // - `envName` the `POME_<NAME>_{REST,MCP}_URL` prefix the agent reads
12
- // - `exportState` initial/final twin state for deterministic `[D]` scoring
12
+ // - `exportState` initial/final twin state for deterministic `[code]` scoring
13
13
  // - `events` recorded twin HTTP events (one shared recorder buffer)
14
14
  // - `close` tear down the underlying SQLite handle
15
15
  //
@@ -8,10 +8,12 @@ export declare const finalizeRequestSchema: z.ZodObject<{
8
8
  criteria: z.ZodArray<z.ZodObject<{
9
9
  id: z.ZodString;
10
10
  text: z.ZodString;
11
- kind: z.ZodEnum<{
11
+ kind: z.ZodPipe<z.ZodEnum<{
12
+ model: "model";
13
+ code: "code";
12
14
  D: "D";
13
15
  P: "P";
14
- }>;
16
+ }>, z.ZodTransform<"model" | "code", "model" | "code" | "D" | "P">>;
15
17
  twin: z.ZodOptional<z.ZodString>;
16
18
  }, z.core.$strip>>;
17
19
  scenario_name: z.ZodString;
@@ -141,13 +141,16 @@ export type CreateEvalSessionResponse = z.infer<typeof createEvalSessionResponse
141
141
  export declare const criterionDefSchema: z.ZodObject<{
142
142
  id: z.ZodString;
143
143
  text: z.ZodString;
144
- kind: z.ZodEnum<{
144
+ kind: z.ZodPipe<z.ZodEnum<{
145
+ model: "model";
146
+ code: "code";
145
147
  D: "D";
146
148
  P: "P";
147
- }>;
149
+ }>, z.ZodTransform<"model" | "code", "model" | "code" | "D" | "P">>;
148
150
  twin: z.ZodOptional<z.ZodString>;
149
151
  }, z.core.$strip>;
150
152
  export type CriterionDef = z.infer<typeof criterionDefSchema>;
153
+ export type CriterionDefInput = z.input<typeof criterionDefSchema>;
151
154
  export declare const createAgentRequestSchema: z.ZodObject<{
152
155
  name: z.ZodString;
153
156
  twins: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -8,7 +8,7 @@
8
8
  import { z } from "zod";
9
9
  import { apiKeySchema, planTierSchema, teamInviteSchema, teamRoleSchema, teamSchema, userSchema, } from "./identity.js";
10
10
  import { criterionResultSchema, judgeModelSchema, laneSchema, stepSchema } from "./run.js";
11
- import { normalizeTaskVocabKeys } from "./task-vocab.js";
11
+ import { LEGACY_CRITERION_KIND_MAP, normalizeTaskVocabKeys } from "./task-vocab.js";
12
12
  // ─────────────────────────────────────────────────────────────────────────────
13
13
  // 4. PUBLIC REST API (api.pome.sh/v1) request/response shapes
14
14
  // ─────────────────────────────────────────────────────────────────────────────
@@ -223,10 +223,15 @@ export const createEvalSessionResponseSchema = z.object({
223
223
  export const criterionDefSchema = z.object({
224
224
  id: z.string().min(1),
225
225
  text: z.string().min(1),
226
- kind: z.enum(["D", "P"]),
227
- // Multi-twin (M3): the twin a [D:<twin>]/[P:<twin>] scenario criterion
226
+ // Tolerant reader (F-778): released CLIs still send the legacy "D"/"P"
227
+ // spellings; parsed output is always the canonical "code"/"model". Single
228
+ // source of truth for the rename is LEGACY_CRITERION_KIND_MAP.
229
+ kind: z
230
+ .enum(["D", "P", "code", "model"])
231
+ .transform((kind) => kind === "D" || kind === "P" ? LEGACY_CRITERION_KIND_MAP[kind] : kind),
232
+ // Multi-twin (M3): the twin a [code:<twin>]/[model:<twin>] task criterion
228
233
  // attributes to. Absent = the session's primary twin (twins[0]). Additive —
229
- // single-twin scenarios omit it and score against the sole twin as before.
234
+ // single-twin tasks omit it and score against the sole twin as before.
230
235
  twin: z.string().min(1).optional(),
231
236
  });
232
237
  // POST /v1/agents — register an agent (vercel-link shape). The server is
@@ -1 +1 @@
1
- {"version":3,"file":"rest.js","sourceRoot":"","sources":["../src/rest.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,8EAA8E;AAC9E,gFAAgF;AAChF,mEAAmE;AACnE,6EAA6E;AAC7E,mFAAmF;AAEnF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBA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,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,cAAc;CACrB,CAAC,CAAC"}
@@ -118,7 +118,7 @@ const runObjectSchema = z.object({
118
118
  meta_s3_key: z.string().nullable(),
119
119
  duration_ms: z.number().int(),
120
120
  agent_model: z.string(), // which model the agent used (informational)
121
- judge_model: judgeModelSchema, // which model judged [P] (free-form)
121
+ judge_model: judgeModelSchema, // which model judged [model] criteria (free-form)
122
122
  judge_tokens_in: z.number().int().min(0).nullable(),
123
123
  judge_tokens_out: z.number().int().min(0).nullable(),
124
124
  // ── FDRS-613: reconciled from pome-cloud /v1 wire truth (all additive with
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEpF,gFAAgF;AAChF,8EAA8E;AAC9E,qDAAqD;AACrD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAGlD,6EAA6E;AAC7E,6EAA6E;AAC7E,+CAA+C;AAC/C,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,IAAI,CAAC;IACzC,WAAW;IACX,cAAc;IACd,cAAc;CACf,CAAC,CAAC;AAGH,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,4EAA4E;AAC5E,4DAA4D;AAC5D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAC1D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;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AK,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACtC,wEAAwE;IACxE,yEAAyE;IACzE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAC5C,8EAA8E;IAC9E,iDAAiD;IACjD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAC/C,+EAA+E;IAC/E,0EAA0E;IAC1E,uEAAuE;IACvE,0EAA0E;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACrD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAEH,0EAA0E;AAC1E,8EAA8E;AAC9E,4EAA4E;AAC5E,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,UAAU,CAAC,sBAAsB,EAAE,eAAe,CAAC,CAAC"}
@@ -59,7 +59,21 @@ export declare const LEGACY_TASK_VOCAB_KEY_MAP: {
59
59
  * (`./recorder-events.ts`).
60
60
  */
61
61
  export declare function normalizeTaskVocabKeys(value: unknown): unknown;
62
- /** Legacy criterion kind → canonical criterion kind (W3: D→code, P→model). */
62
+ /**
63
+ * Legacy criterion kind → canonical criterion kind (W3: D→code, P→model).
64
+ *
65
+ * SANCTIONED EXCEPTION (F-778). The full D/P→code/model migration removed the
66
+ * legacy spelling everywhere — including the markdown authoring marker, which
67
+ * is now `[code]` / `[model]` — EXCEPT this read-only shim. It exists because:
68
+ * - 0.3.0-era persisted artifacts (run rows, `criteria_results` jsonb) carry
69
+ * `D` / `P` and must keep parsing;
70
+ * - released CLIs keep sending `"D"` / `"P"` on the finalize wire
71
+ * (`criterionDefSchema` in ./rest.js) for one more release train.
72
+ * It is input-normalization only: no writer may emit `D` / `P`, and no new
73
+ * code may reference the legacy spellings outside this map and the schemas
74
+ * that apply it (`criterionKindInputSchema` in ./run.js, `criterionDefSchema`
75
+ * in ./rest.js). Removal rides the wire-window close-out ticket.
76
+ */
63
77
  export declare const LEGACY_CRITERION_KIND_MAP: {
64
78
  readonly D: "code";
65
79
  readonly P: "model";
@@ -76,7 +76,21 @@ export function normalizeTaskVocabKeys(value) {
76
76
  }
77
77
  return out ?? value;
78
78
  }
79
- /** Legacy criterion kind → canonical criterion kind (W3: D→code, P→model). */
79
+ /**
80
+ * Legacy criterion kind → canonical criterion kind (W3: D→code, P→model).
81
+ *
82
+ * SANCTIONED EXCEPTION (F-778). The full D/P→code/model migration removed the
83
+ * legacy spelling everywhere — including the markdown authoring marker, which
84
+ * is now `[code]` / `[model]` — EXCEPT this read-only shim. It exists because:
85
+ * - 0.3.0-era persisted artifacts (run rows, `criteria_results` jsonb) carry
86
+ * `D` / `P` and must keep parsing;
87
+ * - released CLIs keep sending `"D"` / `"P"` on the finalize wire
88
+ * (`criterionDefSchema` in ./rest.js) for one more release train.
89
+ * It is input-normalization only: no writer may emit `D` / `P`, and no new
90
+ * code may reference the legacy spellings outside this map and the schemas
91
+ * that apply it (`criterionKindInputSchema` in ./run.js, `criterionDefSchema`
92
+ * in ./rest.js). Removal rides the wire-window close-out ticket.
93
+ */
80
94
  export const LEGACY_CRITERION_KIND_MAP = {
81
95
  D: "code",
82
96
  P: "model",
@@ -1 +1 @@
1
- {"version":3,"file":"task-vocab.js","sourceRoot":"","sources":["../src/task-vocab.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,aAAa,EAAE,WAAW;IAC1B,aAAa,EAAE,WAAW;IAC1B,eAAe,EAAE,aAAa;IAC9B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C,CAAC;AAEX;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAc;IACnD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,MAAM,GAAG,KAAgC,CAAC;IAChD,IAAI,GAAG,GAAmC,IAAI,CAAC;IAC/C,KAAK,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,yBAAyB,CAAC,EAAE,CAAC;QAClF,IAAI,SAAS,IAAI,MAAM,EAAE,CAAC;YACxB,GAAG,KAAK,EAAE,GAAG,MAAM,EAAE,CAAC;YACtB,IAAI,CAAC,CAAC,YAAY,IAAI,MAAM,CAAC,EAAE,CAAC;gBAC9B,GAAG,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;YACxC,CAAC;YACD,OAAO,GAAG,CAAC,SAAS,CAAC,CAAC;QACxB,CAAC;IACH,CAAC;IACD,OAAO,GAAG,IAAI,KAAK,CAAC;AACtB,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,OAAO;CACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pome-sh/shared-types",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Shared wire-format contract for Pome — Zod schemas for traces, recorder events, runs, OTel mapping, and secret redaction.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@pome-sh/shared-types",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "zod": {
5
5
  "range": "^4.1.13",
6
6
  "major": 4
@@ -0,0 +1,39 @@
1
+ import { z } from "zod";
2
+ export declare const apiErrorTypeSchema: z.ZodEnum<{
3
+ invalid_auth: "invalid_auth";
4
+ revoked_key: "revoked_key";
5
+ forbidden: "forbidden";
6
+ quota_exceeded: "quota_exceeded";
7
+ validation_failed: "validation_failed";
8
+ not_found: "not_found";
9
+ session_expired: "session_expired";
10
+ conflict: "conflict";
11
+ rate_limited: "rate_limited";
12
+ internal_error: "internal_error";
13
+ endpoint_not_implemented: "endpoint_not_implemented";
14
+ downstream_unavailable: "downstream_unavailable";
15
+ }>;
16
+ export type ApiErrorType = z.infer<typeof apiErrorTypeSchema>;
17
+ export declare const apiErrorSchema: z.ZodObject<{
18
+ error: z.ZodObject<{
19
+ type: z.ZodEnum<{
20
+ invalid_auth: "invalid_auth";
21
+ revoked_key: "revoked_key";
22
+ forbidden: "forbidden";
23
+ quota_exceeded: "quota_exceeded";
24
+ validation_failed: "validation_failed";
25
+ not_found: "not_found";
26
+ session_expired: "session_expired";
27
+ conflict: "conflict";
28
+ rate_limited: "rate_limited";
29
+ internal_error: "internal_error";
30
+ endpoint_not_implemented: "endpoint_not_implemented";
31
+ downstream_unavailable: "downstream_unavailable";
32
+ }>;
33
+ message: z.ZodString;
34
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35
+ documentation_url: z.ZodOptional<z.ZodString>;
36
+ request_id: z.ZodString;
37
+ }, z.core.$strip>;
38
+ }, z.core.$strip>;
39
+ export type ApiError = z.infer<typeof apiErrorSchema>;
@@ -0,0 +1,33 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ //
3
+ // shared-types §5 — ERROR ENVELOPE (public REST). The `error.type` enum and the
4
+ // wrapping envelope shape. Re-exported through the `@pome-sh/shared-types`
5
+ // barrel (index.ts).
6
+ import { z } from "zod";
7
+ // ─────────────────────────────────────────────────────────────────────────────
8
+ // 5. ERROR ENVELOPE (public REST)
9
+ // ─────────────────────────────────────────────────────────────────────────────
10
+ export const apiErrorTypeSchema = z.enum([
11
+ "invalid_auth",
12
+ "revoked_key",
13
+ "forbidden", // 403 non-auth permission denial
14
+ "quota_exceeded",
15
+ "validation_failed",
16
+ "not_found",
17
+ "session_expired", // distinct from not_found for CLI UX
18
+ "conflict", // 409 (uniqueness, etc.)
19
+ "rate_limited",
20
+ "internal_error",
21
+ "endpoint_not_implemented",
22
+ "downstream_unavailable",
23
+ ]);
24
+ export const apiErrorSchema = z.object({
25
+ error: z.object({
26
+ type: apiErrorTypeSchema,
27
+ message: z.string(),
28
+ details: z.record(z.string(), z.unknown()).optional(),
29
+ documentation_url: z.string().url().optional(),
30
+ request_id: z.string(),
31
+ }),
32
+ });
33
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,gFAAgF;AAChF,2EAA2E;AAC3E,qBAAqB;AAErB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gFAAgF;AAChF,kCAAkC;AAClC,gFAAgF;AAEhF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC;IACvC,cAAc;IACd,aAAa;IACb,WAAW,EAAkC,iCAAiC;IAC9E,gBAAgB;IAChB,mBAAmB;IACnB,WAAW;IACX,iBAAiB,EAA4B,qCAAqC;IAClF,UAAU,EAAmC,yBAAyB;IACtE,cAAc;IACd,gBAAgB;IAChB,0BAA0B;IAC1B,wBAAwB;CACzB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;QACnB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;QACrD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;QAC9C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;KACvB,CAAC;CACH,CAAC,CAAC"}