@justjoshn/pi-pstack-v2 0.1.4 → 0.1.6

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 (991) hide show
  1. package/README.md +4 -4
  2. package/docs/guide/01-setup.md +3 -3
  3. package/docs/guide/02-poteto-mode.md +21 -0
  4. package/docs/guide/05-build-and-clean.md +1 -1
  5. package/docs/pi-mechanisms.md +2 -2
  6. package/package.json +12 -5
  7. package/skills/create-formal-verification-skill/SKILL.md +1 -1
  8. package/skills/interrogate/SKILL.md +2 -2
  9. package/skills/poteto-mode/SKILL.md +12 -2
  10. package/skills/poteto-mode/playbooks/autonomous-run.md +1 -1
  11. package/skills/poteto-mode/playbooks/autopilot-full.md +1 -1
  12. package/skills/poteto-mode/playbooks/opening-a-pr.md +2 -2
  13. package/skills/poteto-mode/scripts/bootstrap.ts +1 -2
  14. package/skills/poteto-mode/scripts/bun.lock +3 -0
  15. package/skills/poteto-mode/scripts/node_modules/zod/LICENSE +21 -0
  16. package/skills/poteto-mode/scripts/node_modules/zod/README.md +218 -0
  17. package/skills/poteto-mode/scripts/node_modules/zod/compile.cjs +96 -0
  18. package/skills/poteto-mode/scripts/node_modules/zod/compile.d.cts +1 -0
  19. package/skills/poteto-mode/scripts/node_modules/zod/compile.d.ts +1 -0
  20. package/skills/poteto-mode/scripts/node_modules/zod/compile.js +52 -0
  21. package/skills/poteto-mode/scripts/node_modules/zod/index.cjs +52 -0
  22. package/skills/poteto-mode/scripts/node_modules/zod/index.d.cts +3 -0
  23. package/skills/poteto-mode/scripts/node_modules/zod/index.d.ts +3 -0
  24. package/skills/poteto-mode/scripts/node_modules/zod/index.js +7 -0
  25. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.cjs +36 -0
  26. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.d.cts +1 -0
  27. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.d.ts +1 -0
  28. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.js +1 -0
  29. package/skills/poteto-mode/scripts/node_modules/zod/locales/package.json +7 -0
  30. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.cjs +51 -0
  31. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.d.cts +3 -0
  32. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.d.ts +3 -0
  33. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.js +3 -0
  34. package/skills/poteto-mode/scripts/node_modules/zod/mini/package.json +7 -0
  35. package/skills/poteto-mode/scripts/node_modules/zod/package.json +147 -0
  36. package/skills/poteto-mode/scripts/node_modules/zod/src/compile.ts +56 -0
  37. package/skills/poteto-mode/scripts/node_modules/zod/src/index.ts +7 -0
  38. package/skills/poteto-mode/scripts/node_modules/zod/src/locales/index.ts +1 -0
  39. package/skills/poteto-mode/scripts/node_modules/zod/src/mini/index.ts +3 -0
  40. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/ZodError.ts +340 -0
  41. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  42. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  43. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  44. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  45. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  46. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  47. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  48. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  49. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  50. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/errors.ts +13 -0
  51. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/external.ts +6 -0
  52. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  53. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  54. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  55. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  56. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  57. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/util.ts +224 -0
  58. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/index.ts +4 -0
  59. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/locales/en.ts +124 -0
  60. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/standard-schema.ts +113 -0
  61. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  62. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  63. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  64. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  65. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  66. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  67. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  68. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  69. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  70. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  71. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  72. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  73. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  74. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  75. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  76. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  77. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  78. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  79. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  80. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/error.test.ts +586 -0
  81. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  82. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  83. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  84. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  85. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  86. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
  87. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  88. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
  89. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  90. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  91. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  92. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  93. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  94. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  95. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  96. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  97. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  98. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  99. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object.test.ts +431 -0
  100. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  101. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  102. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  103. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  104. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  105. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  106. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  107. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  108. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  109. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
  110. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  111. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  112. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  113. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  114. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  115. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  116. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/string.test.ts +922 -0
  117. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  118. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  119. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  120. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  121. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  122. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/types.ts +5138 -0
  123. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/checks.ts +33 -0
  124. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  125. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/compat.ts +78 -0
  126. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  127. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/errors.ts +97 -0
  128. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/external.ts +57 -0
  129. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
  130. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  131. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/index.ts +5 -0
  132. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/iso.ts +20 -0
  133. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/parse.ts +88 -0
  134. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
  135. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  136. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
  137. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
  138. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
  139. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  140. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  141. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  142. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
  143. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  144. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
  145. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  146. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
  147. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
  148. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  149. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  150. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  151. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  152. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
  153. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
  154. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
  155. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  156. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  157. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
  158. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  159. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  160. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
  161. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
  162. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
  163. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
  164. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
  165. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  166. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  167. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  168. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
  169. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
  170. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  171. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
  172. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
  173. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  174. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  175. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
  176. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
  177. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
  178. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
  179. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
  180. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
  181. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  182. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
  183. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
  184. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  185. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  186. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
  187. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  188. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  189. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  190. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  191. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
  192. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
  193. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
  194. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
  195. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
  196. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  197. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  198. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
  199. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
  200. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  201. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  202. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  203. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  204. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  205. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
  206. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
  207. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
  208. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  209. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
  210. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  211. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
  212. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
  213. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  214. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
  215. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
  216. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
  217. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  218. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
  219. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  220. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
  221. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
  222. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  223. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
  224. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  225. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  226. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/api.ts +1875 -0
  227. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/checks.ts +1266 -0
  228. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/compile.ts +2322 -0
  229. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/core.ts +230 -0
  230. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/doc.ts +52 -0
  231. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/errors.ts +543 -0
  232. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/index.ts +19 -0
  233. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
  234. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
  235. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema.ts +148 -0
  236. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/memoizer.ts +331 -0
  237. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/parse.ts +309 -0
  238. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/regexes.ts +217 -0
  239. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/registries.ts +105 -0
  240. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/schemas.ts +5226 -0
  241. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  242. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  243. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
  244. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  245. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  246. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  247. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  248. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
  249. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  250. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  251. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  252. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  253. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
  254. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  255. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
  256. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  257. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  258. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  259. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  260. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  261. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  262. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  263. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  264. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  265. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  266. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  267. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  268. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  269. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  270. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
  271. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
  272. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/util.ts +1293 -0
  273. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/versions.ts +5 -0
  274. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/visit.ts +193 -0
  275. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/zsf.ts +323 -0
  276. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/index.ts +4 -0
  277. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ar.ts +120 -0
  278. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/az.ts +116 -0
  279. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/be.ts +188 -0
  280. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/bg.ts +133 -0
  281. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/bn.ts +123 -0
  282. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ca.ts +121 -0
  283. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ckb.ts +140 -0
  284. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/cs.ts +123 -0
  285. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/da.ts +128 -0
  286. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/de.ts +121 -0
  287. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/el.ts +124 -0
  288. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/en.ts +136 -0
  289. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/eo.ts +123 -0
  290. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/es.ts +145 -0
  291. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fa.ts +131 -0
  292. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fi.ts +126 -0
  293. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
  294. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fr.ts +139 -0
  295. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/gu.ts +123 -0
  296. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/he.ts +253 -0
  297. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hi.ts +126 -0
  298. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hr.ts +135 -0
  299. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hu.ts +122 -0
  300. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hy.ts +175 -0
  301. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/id.ts +120 -0
  302. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/index.ts +63 -0
  303. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/is.ts +124 -0
  304. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/it.ts +121 -0
  305. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ja.ts +119 -0
  306. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ka.ts +128 -0
  307. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/kh.ts +7 -0
  308. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/km.ts +124 -0
  309. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/kn.ts +126 -0
  310. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ko.ts +126 -0
  311. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/lt.ts +243 -0
  312. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/mk.ts +123 -0
  313. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ms.ts +120 -0
  314. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ne.ts +128 -0
  315. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/nl.ts +126 -0
  316. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/nn.ts +121 -0
  317. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/no.ts +121 -0
  318. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ota.ts +122 -0
  319. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pl.ts +123 -0
  320. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ps.ts +131 -0
  321. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
  322. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pt.ts +159 -0
  323. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ro.ts +132 -0
  324. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ru.ts +188 -0
  325. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sk.ts +123 -0
  326. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sl.ts +123 -0
  327. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sv.ts +124 -0
  328. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ta.ts +123 -0
  329. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tg.ts +135 -0
  330. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/th.ts +124 -0
  331. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tk.ts +113 -0
  332. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tr.ts +116 -0
  333. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ua.ts +7 -0
  334. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/uk.ts +122 -0
  335. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ur.ts +124 -0
  336. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/uz.ts +120 -0
  337. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/vi.ts +122 -0
  338. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/yo.ts +129 -0
  339. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
  340. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
  341. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/checks.ts +33 -0
  342. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  343. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  344. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/external.ts +52 -0
  345. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  346. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/index.ts +3 -0
  347. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/iso.ts +66 -0
  348. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/parse.ts +16 -0
  349. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
  350. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
  351. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
  352. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  353. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
  354. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
  355. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
  356. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  357. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  358. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
  359. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
  360. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
  361. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
  362. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
  363. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  364. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
  365. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  366. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
  367. package/skills/poteto-mode/scripts/node_modules/zod/src/v4-mini/index.ts +3 -0
  368. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.cjs +167 -0
  369. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.d.cts +164 -0
  370. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.d.ts +164 -0
  371. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.js +143 -0
  372. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.cjs +36 -0
  373. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.d.cts +5 -0
  374. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.d.ts +5 -0
  375. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.js +9 -0
  376. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.cjs +41 -0
  377. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.d.cts +6 -0
  378. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.d.ts +6 -0
  379. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.js +6 -0
  380. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
  381. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  382. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  383. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  384. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
  385. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  386. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  387. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  388. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
  389. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  390. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  391. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  392. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
  393. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  394. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  395. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  396. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
  397. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  398. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  399. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  400. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.cjs +156 -0
  401. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.d.cts +85 -0
  402. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.d.ts +85 -0
  403. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.js +133 -0
  404. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.cjs +52 -0
  405. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.d.cts +4 -0
  406. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.d.ts +4 -0
  407. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.js +4 -0
  408. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.cjs +112 -0
  409. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.d.cts +3 -0
  410. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.d.ts +3 -0
  411. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.js +109 -0
  412. package/skills/poteto-mode/scripts/node_modules/zod/v3/package.json +7 -0
  413. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.cjs +21 -0
  414. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.d.cts +102 -0
  415. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.d.ts +102 -0
  416. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.js +1 -0
  417. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.cjs +3798 -0
  418. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.d.cts +1034 -0
  419. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.d.ts +1034 -0
  420. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.js +3697 -0
  421. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.cjs +53 -0
  422. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.d.cts +1 -0
  423. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.d.ts +1 -0
  424. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.js +1 -0
  425. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.cjs +66 -0
  426. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  427. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  428. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.js +17 -0
  429. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.cjs +80 -0
  430. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.d.cts +48 -0
  431. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.d.ts +48 -0
  432. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.js +31 -0
  433. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  434. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  435. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  436. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.js +13 -0
  437. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.cjs +102 -0
  438. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.d.cts +29 -0
  439. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.d.ts +29 -0
  440. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.js +57 -0
  441. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.cjs +97 -0
  442. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.d.cts +19 -0
  443. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.d.ts +19 -0
  444. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.js +17 -0
  445. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
  446. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  447. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  448. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.js +881 -0
  449. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.cjs +82 -0
  450. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  451. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  452. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.js +36 -0
  453. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.cjs +52 -0
  454. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.d.cts +3 -0
  455. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.d.ts +3 -0
  456. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.js +4 -0
  457. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.cjs +68 -0
  458. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.d.cts +7 -0
  459. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.d.ts +7 -0
  460. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.js +15 -0
  461. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/package.json +7 -0
  462. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.cjs +63 -0
  463. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.d.cts +44 -0
  464. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.d.ts +44 -0
  465. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.js +16 -0
  466. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.cjs +1676 -0
  467. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.d.cts +816 -0
  468. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.d.ts +816 -0
  469. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.js +1535 -0
  470. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.cjs +1269 -0
  471. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.d.cts +335 -0
  472. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.d.ts +335 -0
  473. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.js +1107 -0
  474. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.cjs +561 -0
  475. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.d.cts +294 -0
  476. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.d.ts +294 -0
  477. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.js +516 -0
  478. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.cjs +1916 -0
  479. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.d.cts +65 -0
  480. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.d.ts +65 -0
  481. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.js +1866 -0
  482. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.cjs +167 -0
  483. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.d.cts +82 -0
  484. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.d.ts +82 -0
  485. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.js +141 -0
  486. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.cjs +61 -0
  487. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.d.cts +16 -0
  488. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.d.ts +16 -0
  489. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.js +38 -0
  490. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.cjs +317 -0
  491. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.d.cts +225 -0
  492. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.d.ts +225 -0
  493. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.js +267 -0
  494. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.cjs +70 -0
  495. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.d.cts +19 -0
  496. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.d.ts +19 -0
  497. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.js +19 -0
  498. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
  499. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  500. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  501. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.js +99 -0
  502. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
  503. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
  504. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
  505. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.js +843 -0
  506. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.cjs +21 -0
  507. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.d.cts +89 -0
  508. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.d.ts +89 -0
  509. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.js +1 -0
  510. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.cjs +360 -0
  511. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  512. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  513. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.js +311 -0
  514. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/package.json +7 -0
  515. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.cjs +233 -0
  516. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.d.cts +52 -0
  517. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.d.ts +52 -0
  518. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.js +175 -0
  519. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.cjs +209 -0
  520. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.d.cts +90 -0
  521. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.d.ts +90 -0
  522. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.js +156 -0
  523. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.cjs +75 -0
  524. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.d.cts +35 -0
  525. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.d.ts +35 -0
  526. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.js +51 -0
  527. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.cjs +2699 -0
  528. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.d.cts +1275 -0
  529. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.d.ts +1275 -0
  530. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.js +2636 -0
  531. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.cjs +21 -0
  532. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  533. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  534. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.js +1 -0
  535. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
  536. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
  537. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
  538. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.js +651 -0
  539. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.cjs +964 -0
  540. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.d.cts +280 -0
  541. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.d.ts +280 -0
  542. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.js +873 -0
  543. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.cjs +27 -0
  544. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.d.cts +5 -0
  545. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.d.ts +5 -0
  546. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.js +5 -0
  547. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.cjs +214 -0
  548. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.d.cts +30 -0
  549. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.d.ts +30 -0
  550. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.js +169 -0
  551. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.cjs +51 -0
  552. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.d.cts +3 -0
  553. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.d.ts +3 -0
  554. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.js +4 -0
  555. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.cjs +138 -0
  556. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.d.cts +5 -0
  557. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.d.ts +4 -0
  558. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.js +111 -0
  559. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.cjs +137 -0
  560. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.d.cts +5 -0
  561. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.d.ts +4 -0
  562. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.js +110 -0
  563. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.cjs +195 -0
  564. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.d.cts +5 -0
  565. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.d.ts +4 -0
  566. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.js +168 -0
  567. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.cjs +152 -0
  568. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.d.cts +5 -0
  569. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.d.ts +4 -0
  570. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.js +125 -0
  571. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.cjs +140 -0
  572. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.d.cts +5 -0
  573. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.d.ts +4 -0
  574. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.js +113 -0
  575. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.cjs +139 -0
  576. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.d.cts +5 -0
  577. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.d.ts +4 -0
  578. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.js +112 -0
  579. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.cjs +160 -0
  580. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  581. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  582. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.js +133 -0
  583. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.cjs +143 -0
  584. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.d.cts +5 -0
  585. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.d.ts +4 -0
  586. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.js +116 -0
  587. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.cjs +147 -0
  588. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.d.cts +5 -0
  589. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.d.ts +4 -0
  590. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.js +120 -0
  591. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.cjs +140 -0
  592. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.d.cts +5 -0
  593. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.d.ts +4 -0
  594. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.js +113 -0
  595. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.cjs +139 -0
  596. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.d.cts +5 -0
  597. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.d.ts +4 -0
  598. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.js +112 -0
  599. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.cjs +152 -0
  600. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.d.cts +5 -0
  601. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.d.ts +4 -0
  602. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.js +125 -0
  603. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.cjs +141 -0
  604. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.d.cts +5 -0
  605. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.d.ts +4 -0
  606. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.js +114 -0
  607. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.cjs +163 -0
  608. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.d.cts +5 -0
  609. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.d.ts +4 -0
  610. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.js +136 -0
  611. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.cjs +146 -0
  612. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.d.cts +5 -0
  613. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.d.ts +4 -0
  614. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.js +119 -0
  615. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.cjs +144 -0
  616. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.d.cts +5 -0
  617. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.d.ts +4 -0
  618. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.js +117 -0
  619. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
  620. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  621. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  622. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.js +112 -0
  623. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.cjs +156 -0
  624. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.d.cts +5 -0
  625. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.d.ts +4 -0
  626. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.js +129 -0
  627. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.cjs +140 -0
  628. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.d.cts +5 -0
  629. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.d.ts +4 -0
  630. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.js +113 -0
  631. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.cjs +248 -0
  632. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.d.cts +5 -0
  633. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.d.ts +4 -0
  634. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.js +221 -0
  635. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.cjs +138 -0
  636. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.d.cts +5 -0
  637. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.d.ts +4 -0
  638. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.js +111 -0
  639. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.cjs +153 -0
  640. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.d.cts +5 -0
  641. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.d.ts +4 -0
  642. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.js +126 -0
  643. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.cjs +140 -0
  644. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.d.cts +5 -0
  645. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.d.ts +4 -0
  646. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.js +113 -0
  647. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.cjs +185 -0
  648. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.d.cts +5 -0
  649. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.d.ts +4 -0
  650. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.js +158 -0
  651. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.cjs +138 -0
  652. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.d.cts +5 -0
  653. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.d.ts +4 -0
  654. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.js +111 -0
  655. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.cjs +152 -0
  656. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.d.cts +63 -0
  657. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.d.ts +63 -0
  658. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.js +63 -0
  659. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.cjs +141 -0
  660. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.d.cts +5 -0
  661. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.d.ts +4 -0
  662. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.js +114 -0
  663. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.cjs +140 -0
  664. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.d.cts +5 -0
  665. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.d.ts +4 -0
  666. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.js +113 -0
  667. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.cjs +139 -0
  668. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.d.cts +5 -0
  669. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.d.ts +4 -0
  670. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.js +112 -0
  671. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.cjs +144 -0
  672. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.d.cts +5 -0
  673. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.d.ts +4 -0
  674. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.js +117 -0
  675. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.cjs +12 -0
  676. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.d.cts +5 -0
  677. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.d.ts +5 -0
  678. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.js +5 -0
  679. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.cjs +142 -0
  680. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.d.cts +5 -0
  681. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.d.ts +4 -0
  682. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.js +115 -0
  683. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.cjs +143 -0
  684. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.d.cts +5 -0
  685. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.d.ts +4 -0
  686. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.js +116 -0
  687. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.cjs +143 -0
  688. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.d.cts +5 -0
  689. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.d.ts +4 -0
  690. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.js +116 -0
  691. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.cjs +234 -0
  692. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.d.cts +5 -0
  693. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.d.ts +4 -0
  694. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.js +207 -0
  695. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.cjs +141 -0
  696. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.d.cts +5 -0
  697. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.d.ts +4 -0
  698. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.js +114 -0
  699. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.cjs +139 -0
  700. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.d.cts +5 -0
  701. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.d.ts +4 -0
  702. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.js +112 -0
  703. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.cjs +138 -0
  704. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.d.cts +5 -0
  705. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.d.ts +4 -0
  706. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.js +111 -0
  707. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.cjs +142 -0
  708. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.d.cts +5 -0
  709. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.d.ts +4 -0
  710. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.js +115 -0
  711. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.cjs +140 -0
  712. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.d.cts +5 -0
  713. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.d.ts +4 -0
  714. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.js +113 -0
  715. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.cjs +140 -0
  716. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.d.cts +5 -0
  717. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.d.ts +4 -0
  718. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.js +113 -0
  719. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.cjs +141 -0
  720. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.d.cts +5 -0
  721. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.d.ts +4 -0
  722. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.js +114 -0
  723. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/package.json +7 -0
  724. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.cjs +141 -0
  725. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.d.cts +5 -0
  726. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.d.ts +4 -0
  727. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.js +114 -0
  728. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.cjs +146 -0
  729. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.d.cts +5 -0
  730. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.d.ts +4 -0
  731. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.js +119 -0
  732. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  733. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  734. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  735. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.js +143 -0
  736. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.cjs +169 -0
  737. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.d.cts +5 -0
  738. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.d.ts +4 -0
  739. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.js +142 -0
  740. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.cjs +149 -0
  741. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.d.cts +5 -0
  742. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.d.ts +4 -0
  743. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.js +122 -0
  744. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.cjs +195 -0
  745. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.d.cts +5 -0
  746. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.d.ts +4 -0
  747. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.js +168 -0
  748. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.cjs +143 -0
  749. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.d.cts +5 -0
  750. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.d.ts +4 -0
  751. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.js +116 -0
  752. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.cjs +141 -0
  753. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.d.cts +5 -0
  754. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.d.ts +4 -0
  755. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.js +114 -0
  756. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.cjs +142 -0
  757. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.d.cts +5 -0
  758. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.d.ts +4 -0
  759. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.js +115 -0
  760. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.cjs +142 -0
  761. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.d.cts +5 -0
  762. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.d.ts +4 -0
  763. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.js +115 -0
  764. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.cjs +144 -0
  765. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.d.cts +5 -0
  766. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.d.ts +4 -0
  767. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.js +117 -0
  768. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.cjs +142 -0
  769. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.d.cts +5 -0
  770. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.d.ts +4 -0
  771. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.js +115 -0
  772. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.cjs +134 -0
  773. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.d.cts +5 -0
  774. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.d.ts +4 -0
  775. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.js +107 -0
  776. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.cjs +137 -0
  777. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.d.cts +5 -0
  778. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.d.ts +4 -0
  779. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.js +110 -0
  780. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.cjs +12 -0
  781. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.d.cts +5 -0
  782. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.d.ts +5 -0
  783. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.js +5 -0
  784. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.cjs +140 -0
  785. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.d.cts +5 -0
  786. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.d.ts +4 -0
  787. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.js +113 -0
  788. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.cjs +142 -0
  789. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.d.cts +5 -0
  790. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.d.ts +4 -0
  791. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.js +115 -0
  792. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.cjs +140 -0
  793. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.d.cts +5 -0
  794. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.d.ts +4 -0
  795. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.js +113 -0
  796. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.cjs +140 -0
  797. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.d.cts +5 -0
  798. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.d.ts +4 -0
  799. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.js +113 -0
  800. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.cjs +139 -0
  801. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.d.cts +5 -0
  802. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.d.ts +4 -0
  803. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.js +112 -0
  804. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
  805. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  806. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  807. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.js +114 -0
  808. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
  809. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  810. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  811. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.js +112 -0
  812. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.cjs +54 -0
  813. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.d.cts +1 -0
  814. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.d.ts +1 -0
  815. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.js +1 -0
  816. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.cjs +71 -0
  817. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  818. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  819. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.js +22 -0
  820. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  821. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  822. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  823. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.js +13 -0
  824. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.cjs +95 -0
  825. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.d.cts +16 -0
  826. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.d.ts +16 -0
  827. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.js +16 -0
  828. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.cjs +82 -0
  829. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  830. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  831. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.js +36 -0
  832. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.cjs +51 -0
  833. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.d.cts +3 -0
  834. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.d.ts +3 -0
  835. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.js +3 -0
  836. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.cjs +83 -0
  837. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.d.cts +22 -0
  838. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.d.ts +22 -0
  839. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.js +34 -0
  840. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/package.json +7 -0
  841. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.cjs +37 -0
  842. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.d.cts +1 -0
  843. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.d.ts +1 -0
  844. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.js +1 -0
  845. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.cjs +1147 -0
  846. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.d.cts +480 -0
  847. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.d.ts +480 -0
  848. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.js +1002 -0
  849. package/skills/poteto-mode/scripts/node_modules/zod/v4/package.json +7 -0
  850. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.cjs +51 -0
  851. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.d.cts +3 -0
  852. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.d.ts +3 -0
  853. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.js +3 -0
  854. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/package.json +7 -0
  855. package/skills/poteto-mode/scripts/package.json +2 -1
  856. package/skills/poteto-mode/scripts/watch-pr/classify.ts +144 -0
  857. package/skills/poteto-mode/scripts/watch-pr/cli.test.ts +68 -41
  858. package/skills/poteto-mode/scripts/watch-pr/cli.ts +95 -48
  859. package/skills/poteto-mode/scripts/watch-pr/fakes.test-helper.ts +26 -19
  860. package/skills/poteto-mode/scripts/watch-pr/github-checks.ts +91 -0
  861. package/skills/poteto-mode/scripts/watch-pr/github-json.ts +92 -0
  862. package/skills/poteto-mode/scripts/watch-pr/github-pr.ts +125 -0
  863. package/skills/poteto-mode/scripts/watch-pr/github-queries.ts +26 -0
  864. package/skills/poteto-mode/scripts/watch-pr/github-review.ts +112 -0
  865. package/skills/poteto-mode/scripts/watch-pr/github-stack.ts +67 -0
  866. package/skills/poteto-mode/scripts/watch-pr/github.test.ts +125 -104
  867. package/skills/poteto-mode/scripts/watch-pr/github.ts +158 -564
  868. package/skills/poteto-mode/scripts/watch-pr/policy.test.ts +210 -161
  869. package/skills/poteto-mode/scripts/watch-pr/policy.ts +23 -842
  870. package/skills/poteto-mode/scripts/watch-pr/poll.ts +121 -0
  871. package/skills/poteto-mode/scripts/watch-pr/queue.ts +190 -0
  872. package/skills/poteto-mode/scripts/watch-pr/recorder.test-helper.ts +16 -0
  873. package/skills/poteto-mode/scripts/watch-pr/render.ts +91 -63
  874. package/skills/poteto-mode/scripts/watch-pr/run-queued.ts +187 -0
  875. package/skills/poteto-mode/scripts/watch-pr/run-simple.ts +135 -0
  876. package/skills/poteto-mode/scripts/watch-pr/snapshot.ts +139 -0
  877. package/skills/poteto-mode/scripts/watch-pr/types.compile.ts +2 -1
  878. package/skills/poteto-mode/scripts/watch-pr/types.ts +27 -21
  879. package/skills/poteto-mode/scripts/watch-pr/verdict.ts +88 -0
  880. package/skills/pr-review-canvas/SKILL.md +1 -1
  881. package/skills/pr-review-canvas/renderer.js +169 -119
  882. package/skills/pr-review-canvas/template.html +1 -1
  883. package/skills/statechart/scripts/backends/cfg.ts +2 -6
  884. package/skills/statechart/scripts/backends/mermaid-escape.ts +91 -0
  885. package/skills/statechart/scripts/backends/mermaid.ts +190 -223
  886. package/skills/statechart/scripts/backends/report-notes.ts +137 -0
  887. package/skills/statechart/scripts/backends/report.ts +93 -146
  888. package/skills/statechart/scripts/frontends/config.ts +82 -260
  889. package/skills/statechart/scripts/frontends/configLex.ts +142 -0
  890. package/skills/statechart/scripts/frontends/configReader.ts +116 -0
  891. package/skills/statechart/scripts/frontends/configSections.ts +53 -0
  892. package/skills/statechart/scripts/frontends/dot.ts +44 -38
  893. package/skills/statechart/scripts/frontends/marks.ts +63 -52
  894. package/skills/statechart/scripts/frontends/messages.ts +69 -16
  895. package/skills/statechart/scripts/frontends/spec.ts +66 -49
  896. package/skills/statechart/scripts/frontends/trace.ts +33 -18
  897. package/skills/statechart/scripts/frontends/value.ts +180 -103
  898. package/skills/statechart/scripts/frontends/view.ts +81 -71
  899. package/skills/statechart/scripts/host-env.ts +8 -0
  900. package/skills/statechart/scripts/ir.ts +159 -226
  901. package/skills/statechart/scripts/passes/annotate.ts +106 -70
  902. package/skills/statechart/scripts/passes/label.ts +128 -150
  903. package/skills/statechart/scripts/passes/lift.ts +54 -67
  904. package/skills/statechart/scripts/passes/loop-check.ts +33 -40
  905. package/skills/statechart/scripts/passes/paths.ts +82 -45
  906. package/skills/statechart/scripts/passes/reach.ts +121 -106
  907. package/skills/statechart/scripts/passes/region-check.ts +71 -69
  908. package/skills/statechart/scripts/passes/regions.ts +355 -251
  909. package/skills/statechart/scripts/pipeline.ts +18 -13
  910. package/skills/statechart/scripts/run-io.ts +159 -0
  911. package/skills/statechart/scripts/run-judge.ts +131 -0
  912. package/skills/statechart/scripts/run-tlc.ts +133 -0
  913. package/skills/statechart/scripts/run.ts +209 -442
  914. package/skills/statechart/scripts/statechart.ts +150 -121
  915. package/skills/statechart/scripts/test/attempt.ts +11 -0
  916. package/skills/statechart/scripts/test/chart-labels.test.ts +262 -0
  917. package/skills/statechart/scripts/test/chart-loops.test.ts +109 -0
  918. package/skills/statechart/scripts/test/chart-marks.test.ts +136 -0
  919. package/skills/statechart/scripts/test/chart-paths.test.ts +166 -0
  920. package/skills/statechart/scripts/test/chart-support.ts +92 -0
  921. package/skills/statechart/scripts/test/chart-truth.test.ts +277 -0
  922. package/skills/statechart/scripts/test/chart-values.test.ts +98 -0
  923. package/skills/statechart/scripts/test/chart-view.test.ts +191 -0
  924. package/skills/statechart/scripts/test/check-child.ts +8 -0
  925. package/skills/statechart/scripts/test/cli-config.test.ts +142 -0
  926. package/skills/statechart/scripts/test/cli-corpus.test.ts +160 -0
  927. package/skills/statechart/scripts/test/cli-out.test.ts +108 -0
  928. package/skills/statechart/scripts/test/cli-process-support.ts +129 -0
  929. package/skills/statechart/scripts/test/cli-report.test.ts +223 -0
  930. package/skills/statechart/scripts/test/cli-signals.test.ts +198 -0
  931. package/skills/statechart/scripts/test/cli-support.ts +88 -0
  932. package/skills/statechart/scripts/test/cli-view-labels.test.ts +208 -0
  933. package/skills/statechart/scripts/test/cli-view.test.ts +177 -0
  934. package/skills/statechart/scripts/test/config-fuzz.test.ts +191 -116
  935. package/skills/statechart/scripts/test/corpus.test.ts +92 -95
  936. package/skills/statechart/scripts/test/differential.test.ts +202 -145
  937. package/skills/statechart/scripts/test/drawn.ts +37 -16
  938. package/skills/statechart/scripts/test/exit-status.ts +8 -0
  939. package/skills/statechart/scripts/test/host-env.ts +21 -0
  940. package/skills/statechart/scripts/test/java.ts +9 -6
  941. package/skills/statechart/scripts/test/labels-oracle.ts +357 -0
  942. package/skills/statechart/scripts/test/labels.ts +120 -349
  943. package/skills/statechart/scripts/test/messages.test.ts +148 -118
  944. package/skills/statechart/scripts/test/pipeline.test.ts +52 -45
  945. package/skills/statechart/scripts/test/plain-tlc.test.ts +40 -38
  946. package/skills/statechart/scripts/test/render.test.ts +94 -69
  947. package/skills/statechart/scripts/test/tail-text.test.ts +18 -0
  948. package/skills/statechart/scripts/test/tla-text.ts +2 -0
  949. package/skills/statechart/scripts/test/tlc-out.test.ts +62 -58
  950. package/skills/statechart/scripts/test/tlc.ts +90 -70
  951. package/skills/statechart/scripts/worker.ts +3 -1
  952. package/src/credentials.ts +49 -34
  953. package/src/git.ts +94 -0
  954. package/src/host-env.ts +6 -0
  955. package/src/index.ts +299 -532
  956. package/src/jobs.ts +109 -63
  957. package/src/object-schema.ts +8 -0
  958. package/src/paths.ts +16 -0
  959. package/src/requests.ts +182 -0
  960. package/src/sandbox.ts +137 -96
  961. package/src/subagent/README.md +180 -0
  962. package/src/subagent/agent-resolution.ts +31 -0
  963. package/{agents → src/subagent/agents}/ci-watcher.md +3 -1
  964. package/{agents → src/subagent/agents}/comment-sicko.md +2 -1
  965. package/src/subagent/agents/poteto-agent.md +10 -0
  966. package/src/subagent/agents/scout.md +49 -0
  967. package/src/subagent/agents/thermo-nuclear-code-quality-review.md +24 -0
  968. package/src/subagent/agents.ts +138 -0
  969. package/src/subagent/concurrency.ts +21 -0
  970. package/src/subagent/dispatch-chain.ts +39 -0
  971. package/src/subagent/dispatch-parallel.ts +51 -0
  972. package/src/subagent/dispatch.ts +59 -0
  973. package/src/subagent/format-tool-call.ts +60 -0
  974. package/src/subagent/format.ts +29 -0
  975. package/src/subagent/index.ts +52 -0
  976. package/src/subagent/pi-invocation.ts +43 -0
  977. package/src/subagent/render-call.ts +35 -0
  978. package/src/subagent/render-result.ts +109 -0
  979. package/src/subagent/render-shared.ts +87 -0
  980. package/src/subagent/result-stream.ts +105 -0
  981. package/src/subagent/results.ts +118 -0
  982. package/src/subagent/run-in-tmux.ts +165 -0
  983. package/src/subagent/run-single.ts +107 -0
  984. package/src/subagent/schema.ts +58 -0
  985. package/src/subagent/types.ts +62 -0
  986. package/src/sweep.ts +107 -67
  987. package/src/transcript.ts +61 -51
  988. package/agents/poteto-agent.md +0 -8
  989. package/agents/thermo-nuclear-code-quality-review.md +0 -23
  990. package/skills/statechart/scripts/test/chart.test.ts +0 -1253
  991. package/skills/statechart/scripts/test/cli.test.ts +0 -1315
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  pstack for Pi. The package ships pstack's skills, playbooks, principles, agent roles, scripts, and guide, plus the cursor-team-kit skills that pstack depends on. It is for people who want `/skill:poteto-mode` and its workflow in Pi. Each Cursor mechanism is replaced with a Pi one.
4
4
 
5
- - Workers are separate Pi processes in tmux, started with `pi_spawn`. Pi has no subagents.
6
- - Every worker and long-running command runs in a sandbox, Seatbelt on macOS and bubblewrap on Linux and WSL2. There are no permission prompts.
5
+ - Delegated Pi workers run through the packaged `subagent` tool, which starts each `pi` in its own tmux session.
6
+ - Long-running commands run in a sandbox via `tmux_run`, Seatbelt on macOS and bubblewrap on Linux and WSL2. There are no permission prompts.
7
7
  - Plans are files, and checklists live in `TODO.md`.
8
8
  - Watchers, dev servers, and heartbeat ticks run through `tmux_run`, never as background shell jobs.
9
9
 
@@ -36,11 +36,11 @@ Type `/skill:poteto-help` with a question if you are unsure which skill fits.
36
36
 
37
37
  ## What it adds
38
38
 
39
- The package adds three tools for the model to call and one slash command. Every skill runs as `/skill:<name>`. `/pstack-mode <skill>` keeps a skill in the system prompt every turn, pstack's Custom Mode, until `/pstack-mode off`.
39
+ The package adds the upstream `subagent` tool (tmux-backed), `tmux_run`, `tmux_jobs`, and one slash command. Every skill runs as `/skill:<name>`. `/pstack-mode <skill>` keeps a skill in the system prompt every turn, pstack's Custom Mode, until `/pstack-mode off`.
40
40
 
41
41
  | Tool | Does |
42
42
  | --- | --- |
43
- | `pi_spawn` | Starts a sandboxed `pi -p` worker in its own tmux session with a standalone brief. Takes an optional role from `agents/`, model, thinking level, git worktree, or readonly mode. Wakes your session with the worker's report when it exits. |
43
+ | `subagent` | Upstream subagent extension: delegates to specialized agents as separate `pi` processes, each started in tmux. |
44
44
  | `tmux_run` | Runs a sandboxed shell command in tmux. Optionally wakes your session when it exits, or repeats it as a heartbeat. |
45
45
  | `tmux_jobs` | Lists, tails, waits on, or stops this session's jobs. |
46
46
 
@@ -12,7 +12,7 @@ pi install ./extensions/pi-pstack-v2
12
12
 
13
13
  The npm package `@justjoshn/pi-pstack-v2` is not published yet. Once it is, `pi install npm:@justjoshn/pi-pstack-v2` works too.
14
14
 
15
- Add `--local` to write the declaration to the project's `.pi/settings.json` instead of your personal settings. `pi list` shows what is installed. Pi runs each skill as `/skill:<name>`, so every command in this guide takes that prefix.
15
+ Add `--local` to write the declaration to the project's `.pi/settings.json` instead of your personal settings. `pi list` shows what is installed. Installing adds the skills and tools but starts no workflow. Nothing changes until you send `/skill:poteto-mode` or turn on `/pstack-mode`. Pi runs each skill as `/skill:<name>`, so every command in this guide takes that prefix.
16
16
 
17
17
  The package adds three tools. `pi_spawn` starts a separate Pi in its own tmux session. `tmux_run` runs a shell command in its own tmux session. `tmux_jobs` lists, waits on, and stops both kinds of job. Pi has no sub-agents and no detached shell, so every parallel worker and every watcher in this guide is one of these jobs.
18
18
 
@@ -49,13 +49,13 @@ You might be wondering what happens if you want a role to follow whatever model
49
49
 
50
50
  At the end of setup, `/skill:setup-pstack` looks for a way to prove app behavior in your project, either a `verify-*` skill or an existing harness. If it finds neither, it offers once to generate one with [`/skill:create-verification-skill`](../../skills/create-verification-skill/SKILL.md).
51
51
 
52
- Say yes and it writes `.pi/skills/verify-<app>/`, a project-local skill that teaches agents to drive your app the way a user does. It proves the skill works once before handing it over. Say no and setup moves on. You can run `/skill:create-verification-skill` yourself any time. [Verify and ship](./06-verify-and-ship.md#create-a-project-verification-skill) covers it in depth.
52
+ Say yes and it writes `.pi/skills/verify-<app>/`, a project-local skill that teaches agents to drive your app the way a user does. It proves the skill works once before handing it over. Say no and setup moves on. You can run `/skill:create-verification-skill` yourself any time. Either yes starts a separate generation task. Setup itself installs no browser driver, dependency, or app environment. [Verify and ship](./06-verify-and-ship.md#create-a-project-verification-skill) covers it in depth.
53
53
 
54
54
  If you're new to pstack, say yes. An agent that can check its own work keeps going until the check passes. An agent that can't hands every result back to you to check by hand. Of everything in this guide, the verification skill pays off the most.
55
55
 
56
56
  Then setup offers once to generate a formal verification skill with [`/skill:create-formal-verification-skill`](../../skills/create-formal-verification-skill/SKILL.md), unless the project already has one. Tests check the cases someone thought to write. A formal verification skill checks one key property of your code, such as "a job never runs twice at once", in every case within a stated scope. Say yes when your code has concurrency, retries, a state machine, or a parser, where a bug is costly and tests rarely reach the case that breaks. Otherwise say no, and run it later if that changes. [Verify and ship](./06-verify-and-ship.md#prove-a-property-with-a-formal-verification-skill) covers it.
57
57
 
58
- After setup, start a new session. The model lines apply to new sessions.
58
+ The extension rereads the model file every turn, so the role lines apply from your next message. A new session picks them up too.
59
59
 
60
60
  ## Keep the cost in check
61
61
 
@@ -27,6 +27,27 @@ flowchart TD
27
27
 
28
28
  The diagram shows the common routes. There are also playbooks for hillclimbing a metric, diagnosing runtime symptoms and captured traces, prototypes, visual parity, authoring and evaluating skills, autonomous runs, opening a PR, babysitting a PR or stack to merge-ready, shipping a verified stack, running a PR queue or a stack on autopilot, session pickup, pausing safely, multi-phase plans, and worktree cleanup. The [playbook directory](../../skills/poteto-mode/playbooks/) has the full set.
29
29
 
30
+ ## How code work is accepted
31
+
32
+ For code-producing work, the route ends on evidence. Here is the acceptance flow:
33
+
34
+ ```mermaid
35
+ flowchart TD
36
+ A["Goal, constraints, and acceptance checks"] --> B["Choose playbook; investigate and design"]
37
+ B --> C["Implement and clean"]
38
+ C --> D["Verify actual behavior"]
39
+ D --> E{"Evidence"}
40
+ E -->|Correctable failure| B
41
+ E -->|Blocked or inconclusive| F["Report limits and remaining work"]
42
+ E -->|Verified| G{"Authorized endpoint"}
43
+ G -->|Handoff| H["Deliver artifact and evidence"]
44
+ G -->|Merge| I["Meet independent shipping gates"]
45
+ I --> J["Merge and confirm actual state"]
46
+ I -->|Gate cannot be met| F
47
+ ```
48
+
49
+ The diagram shows acceptance and handoff, not the timing of every step. Autopilot-full, for example, opens its PR while implementation and verification are still running. Investigation and multi-phase plans stop earlier, at their findings or plan. `/skill:reflect` and `/skill:correct` run only when you ask. Opening a PR is not a merge grant. Without one, you get the PR and its evidence. With one, the Shipping playbook lands it behind an independent verifier and reads the merge state back.
50
+
30
51
  ## Say the goal, not the ceremony
31
52
 
32
53
  You don't write a spec. You say what's wrong or what you want, plus anything you already know that saves the agent time:
@@ -74,7 +74,7 @@ Comments need their own pass, and not from the agent that wrote them. An author
74
74
  /skill:no-comments the diff
75
75
  ```
76
76
 
77
- [`/skill:no-comments`](../../skills/no-comments/SKILL.md) spawns [Comment Sicko](../../agents/comment-sicko.md) as a reviewer Pi whose report and edits the skill inspects, a reviewer with a short keep list: license headers, doc comments on a public API, links that explain what code can't, behavior forced by an external dependency you can't reshape. Everything else goes. A surprise in your own code gets no such pass. The comment comes back as a refactor flag, and `/skill:no-comments` fixes the flags it accepts at the root cause. When a comment claims a constraint, "do not remove", the skill offers to encode the claim as a type, test, or lint. Either way, the comment comes out.
77
+ [`/skill:no-comments`](../../skills/no-comments/SKILL.md) spawns [Comment Sicko](../../src/subagent/agents/comment-sicko.md) as a reviewer Pi whose report and edits the skill inspects, a reviewer with a short keep list: license headers, doc comments on a public API, links that explain what code can't, behavior forced by an external dependency you can't reshape. Everything else goes. A surprise in your own code gets no such pass. The comment comes back as a refactor flag, and `/skill:no-comments` fixes the flags it accepts at the root cause. When a comment claims a constraint, "do not remove", the skill offers to encode the claim as a type, test, or lint. Either way, the comment comes out.
78
78
 
79
79
  The division of labor is worth keeping straight. `/skill:deslop` cleans slop out of the code, `/skill:unslop` cleans it out of prose, and `/skill:no-comments` hands the comments to a reviewer who didn't write them.
80
80
 
@@ -8,7 +8,7 @@ Pi skips sub-agents, permission popups, plan mode, built-in to-dos, and backgrou
8
8
 
9
9
  | Pi rule | What pstack does |
10
10
  | --- | --- |
11
- | No sub-agents. Spawn Pi instances via tmux. | `pi_spawn` starts a separate `pi -p` process in its own tmux session with a standalone brief. It runs in parallel and wakes the spawning session with its report when it exits. |
11
+ | Spawn Pi instances via tmux. | The packaged `subagent` tool starts each delegated `pi` in its own tmux session (upstream subagent example, with the process launch switched from `child_process.spawn` to tmux). |
12
12
  | No permission popups. Run in a sandbox. | Every `pi_spawn` and `tmux_run` job runs inside Seatbelt (`sandbox-exec`) on macOS or bubblewrap (`bwrap`) on Linux and WSL2. Writes are limited to the worker's own session directory, its worktree or working directory, the repository's git directory, and temp directories. Pi's own configuration stays read-only. No job runs unsandboxed. |
13
13
  | No plan mode. Write plans to files. | A plan is a Markdown file, such as `plans/<slug>.md`. The human reviews the file. |
14
14
  | No built-in to-dos. Use a TODO.md file. | Each checklist pstack used to keep in a todo tool lives in `TODO.md` at the root of the checkout you work in, as `- [ ]` and `- [x]` lines. It is working state, so never stage it. When the checkout already tracks a `TODO.md`, the checklist is `.pi/TODO.md`. |
@@ -77,7 +77,7 @@ Pi's design principle for customizing is to pick the least powerful mechanism th
77
77
  - Pi runs an `auth.json` key that starts with `!` as a command, so the credentials copy holds no command. For a worker's own provider, the root resolves the command once when it starts the worker and puts the resulting key in the copy. Every two seconds, and once more after a job ends, the root carries refreshed OAuth tokens between your `auth.json` and each copy, the later expiry winning, under Pi's lock on both. Only OAuth tokens move, so nothing a job writes as a key or a command reaches your `auth.json`, and a provider you logged out of is never brought back.
78
78
  - A job cannot reach the services that would start a process for it. It can neither connect to nor serve a Unix socket, so every tmux server, Docker's socket, the session bus, and every other local service are out of reach. Socket pairs, which child processes use for pipes, still work. macOS denies binding and connecting Unix sockets apart from DNS's, and Linux refuses opening one through a seccomp filter, which also refuses io_uring. On macOS it also cannot use LaunchServices (`open`), Apple Events, launchd, or preference writes, and it can signal only processes in its own sandbox. On Linux `/run` and the user's runtime directory are hidden, and the job runs in its own PID namespace.
79
79
  - When a job exits, its whole process group is killed before cleanup, so no child it left behind acts after cleanup. Stopping a job sends TERM, then KILL after three seconds. On Linux every process in its PID namespace dies with it.
80
- - A Pi worker's own jobs get their own sandbox, so `readonly` holds at any depth, and a resumed worker keeps its `readonly`. On every platform a sandboxed worker writes the job as a request in its `nested/` directory, and the root Pi launches it under a profile built from the paths it validated. The root refuses any request that would write, or run, outside what it granted the top-level worker, so no worker can hand a descendant more than it was given. The root writes results only under the top-level job, never into a worker's directory, and serves requests while it runs. If you quit the root Pi, nested requests wait until you resume that session.
80
+ - A Pi worker's own jobs get their own sandbox, so `readonly` holds at any depth, and a resumed worker keeps its `readonly`. On every platform a sandboxed worker writes the job as a request in its `nested/` directory, and the root Pi launches it under a profile built from the paths it validated. The root refuses any request that would write, or run, outside what it granted the top-level worker, so no worker can hand a descendant more than it was given. The root writes results only under the top-level job, never into a worker's directory, and serves requests while it runs. A worker's sandbox keeps `.git/worktrees` read-only, so when a worker passes `worktree` to `pi_spawn`, its request carries the branch and base, and the root creates the worktree from the worker's own checkout before it launches the job. The checkout lands in the job's results directory, `<top-level job>/brokered/<hash>/worktree`, which no worker can write, so no worker can swap in a link for git to check out through. The root creates it only for a worker that may write the repository and only at that path, computes the checkout's protected paths itself, keeps a `readonly` job read-only, creates nothing for a request it refuses, and removes the worktree and any branch it created when it cannot launch the job. If you quit the root Pi, nested requests wait until you resume that session.
81
81
  - Start the main session sandboxed too when you want it contained. Pi's guide to isolated environments lists the methods, and not all of them need Docker.
82
82
 
83
83
  ## What the sandbox does not cover
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justjoshn/pi-pstack-v2",
3
- "version": "0.1.4",
4
- "description": "Use the pstack skills and workflow in Pi, with sandboxed Pi workers and shell jobs running in tmux.",
3
+ "version": "0.1.6",
4
+ "description": "Use the pstack skills and workflow in Pi, with the upstream subagent tool spawning Pi in tmux and shell jobs running in tmux.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -20,14 +20,14 @@
20
20
  "files": [
21
21
  "src",
22
22
  "skills",
23
- "agents",
24
23
  "docs",
25
24
  "README.md",
26
25
  "LICENSE"
27
26
  ],
28
27
  "pi": {
29
28
  "extensions": [
30
- "./src/index.ts"
29
+ "./src/index.ts",
30
+ "./src/subagent/index.ts"
31
31
  ],
32
32
  "skills": [
33
33
  "./skills"
@@ -35,16 +35,23 @@
35
35
  },
36
36
  "scripts": {
37
37
  "test": "vitest run --coverage && cd skills/poteto-mode/scripts && bun install --frozen-lockfile && bun test watch-pr",
38
- "typecheck": "tsc --noEmit -p tsconfig.json"
38
+ "typecheck": "tsc --noEmit -p tsconfig.json",
39
+ "style-audit": "node scripts/style-audit.mjs"
39
40
  },
40
41
  "peerDependencies": {
41
42
  "@earendil-works/pi-coding-agent": "*",
42
43
  "typebox": "*"
43
44
  },
44
45
  "devDependencies": {
46
+ "@earendil-works/pi-agent-core": "1.5.2",
47
+ "@earendil-works/pi-ai": "1.5.2",
45
48
  "@earendil-works/pi-coding-agent": "1.5.2",
49
+ "@earendil-works/pi-tui": "1.5.2",
46
50
  "@vitest/coverage-v8": "5.1.0",
47
51
  "typebox": "1.3.27",
48
52
  "vitest": "5.1.0"
53
+ },
54
+ "dependencies": {
55
+ "zod": "^4"
49
56
  }
50
57
  }
@@ -16,7 +16,7 @@ A good target is a promise the code makes, where a break harms users and tests r
16
16
 
17
17
  ## Let the question choose the tool
18
18
 
19
- Pick the tool that answers the question at the lowest cost: a model checker, a proof assistant, an SMT-backed verifier, or another tool. Whether events can happen in a bad order usually suits a model checker over a small model of the design, and TLA+ is the default for that in any language. Whether the code itself behaves for every input, as with memory safety, overflow, or a data-structure invariant, usually suits a verifier that runs on the code. If no verifier runs on this language, say so, and test the real code with generated inputs, not a hand model of the function. A property that must hold at every size, where a bound is not enough, can need a proof. Prefer a tool that the repo's developers can install and run, and tell the user why you chose it.
19
+ Pick the tool that answers the question at the lowest cost: a model checker, a proof assistant, an SMT-backed verifier, or another tool. Whether events can happen in a bad order usually suits a model checker over a small model of the design, and TLA+ is the default for that in any language. Whether the code itself behaves for every input, as with memory safety, overflow, or a data-structure invariant, usually suits a verifier that runs on the code. If no verifier runs on this language, say so, and test the real code with generated inputs, not a hand model of the function. Report that testing as empirical evidence, never as an exhaustive proof. A property that must hold at every size, where a bound is not enough, can need a proof. Prefer a tool that the repo's developers can install and run, and tell the user why you chose it.
20
20
 
21
21
  ## What makes it good
22
22
 
@@ -12,7 +12,7 @@ Adversaries try to break a change or a design. A finding survives only when a ru
12
12
 
13
13
  ## Frame
14
14
 
15
- The scope is what the user names. Otherwise it is the branch diff from its merge base with the base branch, through the working tree. State the intent with the **in-your-own-words** skill, from the user's message, the commits, and the PR description. Ask the user when the intent is unclear.
15
+ The scope is what the user names. Otherwise it is the branch diff from its merge base with the base branch, through the working tree. State the intent with the **in-your-own-words** skill, from the user's message, the commits, and the PR description. Ask the user when the intent is unclear. A worker, which never stops to ask, picks the likeliest intent and states it as an assumption in the output.
16
16
 
17
17
  ## Fan out
18
18
 
@@ -31,5 +31,5 @@ Skip arena Phases C, D, and E. Adversaries find different failures, so the verdi
31
31
  ## Output
32
32
 
33
33
  - **Intent**: the restatement.
34
- - **Findings**: for each verified finding, the command, its output, how it breaks the intent, and the adversaries that found it. Say "no verified findings" when none survive.
34
+ - **Findings**: for each verified finding, the command, its output, how it breaks the intent, and the adversaries that found it. Say "no verified findings" when none survive. That result is not evidence the change has no bugs.
35
35
  - **Dropped**: for each adversary, the count of dropped findings and why.
@@ -19,7 +19,7 @@ The remaining triggers live only here:
19
19
  - First message → restate the user's goal and the smallest change that meets it, then proceed. Open each worker brief, PR `## Why`, and final report with the goal.
20
20
  - Starting any agent, a `pi_spawn` worker included → the first line of its brief is `Read <path>/worker.md before anything else.`, with `<path>` the absolute path of this skill's folder. The operator's rules live in skills that only load from a `/skill:` command, so they reach another agent no other way. Keep the rest of the brief to the goal and the task, plus this file's absolute path for a `poteto-agent`.
21
21
  - A fork you could settle by running something → prototype it per `playbooks/prototype.md` instead of asking.
22
- - Code → name the data shape first. Across a function boundary → **architect**. Fan-out → **swarm**. Bakeoff → **arena**. Contested design → **interrogate**.
22
+ - Code → name the data shape first. Across a function boundary → **architect**. Fan-out → **swarm**. Bakeoff → **arena**. Contested design, or a change to review → **interrogate**.
23
23
  - Prose, your reply included → **unslop**. Docs, PR descriptions, commit messages → **technical-writing**.
24
24
  - Before commit → `/skill:deslop`. Before review → **no-comments**.
25
25
  - Shipping UI / IDE / CLI → `control-ui` or `control-cli`, which this package ships.
@@ -85,7 +85,7 @@ Read the leaf skill in full for any principle you apply. Each entry names when i
85
85
 
86
86
  Pi has no subagents. A worker is a separate Pi process that `pi_spawn` starts in its own tmux session, inside the sandbox, with a standalone brief. It sees only the brief, never this conversation.
87
87
 
88
- **Use `pi_spawn` with `agent: "poteto-agent"` for any worker you spawn directly inside a playbook step.** The session that receives `/skill:poteto-mode` runs the playbook itself. Routed workflow skills (`interrogate`, `reflect`, `swarm`) set their own `agent` and model. Respect it.
88
+ **Use `pi_spawn` with `agent: "poteto-agent"` for any worker you spawn directly inside a playbook step.** The session that receives `/skill:poteto-mode` runs the playbook itself. Routed workflow skills (`interrogate`, `swarm`) set their own `agent` and model. Respect it.
89
89
 
90
90
  **Defaults for every `pi_spawn` call.** Every worker runs in parallel and wakes you with its report when it exits, so keep working or end your turn while it runs. Use `tmux_jobs` `wait` only for a short, bounded wait on named job ids, never to block until a worker finishes. Give a `tmux_run` job that polls for a condition a deadline, so it exits and wakes you whether or not the condition arrives. Leave `readonly` unset unless the worker must not write. Give file pointers, not inlined context. Pass an explicit model per role. `/skill:setup-pstack` writes `~/.pi/agent/pstack-v2-models.md`, shown to you as the `pstack-models` system-prompt section, whose per-role lines override the defaults and the role models in the routed skills (`arena`, `swarm`, `interrogate`). A role with no line runs on this session's model, so omit `model`. A line of `inherit-parent` or `auto` does the same. Each code playbook reads its own line (`feature, refactoring`, `bug-fix`, `perf-issue`, or `hillclimb`), prose and judgment read `judgment and prose`, and trivial mechanical edits read `swarm workers`. If the file has no `# defaults: 3` line, an older setup wrote it. Keep honoring its lines, and tell the user once per session to rerun `/skill:setup-pstack`.
91
91
 
@@ -104,3 +104,13 @@ Write short declarative sentences with no long dash and no colon as a connector.
104
104
  Write `TODO.md` at the root of your checkout with the matched playbook's steps first, copied in as `- [ ]` items, before any task-specific items. Check items off as you finish them. `TODO.md` is working state, so never stage it. If the checkout already tracks a `TODO.md`, write the checklist to `.pi/TODO.md` instead, under the same rules. This holds wherever a skill says to write `TODO.md`. Match the task to a playbook and open its steps at `playbooks/<title>.md`, with the title in kebab case. Large, cross-cutting, or unattended work, or a task no playbook fits, routes to the **figure-it-out** skill.
105
105
 
106
106
  Investigation, Bug fix, Perf issue, Hillclimb, Runtime forensics, Trace forensics, Feature, Refactoring, Prototype, Visual parity, Authoring a skill, Eval, Babysit, Shipping, Autonomous run, Autopilot-full, Autopilot-stack, Session pickup, Pause safely, Multi-phase plan, Worktree cleanup, Opening a PR.
107
+
108
+ ## Acceptance
109
+
110
+ Code-producing work ends on evidence, never on "implemented". Once you have verified the actual behavior, take the branch the evidence picks.
111
+
112
+ - **Correctable failure.** Return to choosing the playbook, investigating, and designing, then make another justified attempt.
113
+ - **Blocked or inconclusive.** Stop and report what you verified, its limits, and the remaining work. A gap is never a pass.
114
+ - **Verified.** Go to the endpoint the user authorized. Without a merge grant, hand off the artifact and its evidence. With one, run **Shipping**. When a shipping gate cannot be met, report limits and remaining work as above. A merge counts only once its state is read back.
115
+
116
+ This sets acceptance, not timing, so Autopilot-full still opens its PR early. Investigation and Multi-phase plan stop at their own deliverable. **reflect** and **correct** run only when the user asks.
@@ -2,7 +2,7 @@
2
2
 
3
3
  **You own the exit condition. Define done, then drive to it without stopping.**
4
4
 
5
- 1. State the exit condition as a checkable predicate before the first iteration (tests green, repro fixed, all N PRs merged, pixel-diff zero).
5
+ 1. State the exit condition as a checkable predicate before the first iteration (tests green, repro fixed, all N PRs merged, pixel-diff zero). Write down with it the permissions you hold, the workspace (worktree and base), and where the decision trail lives.
6
6
  2. Pick the wake mechanism with `tmux_run`. An event to watch (CI, a merge, a ref advancing) gets a watcher job, which is `tmux_run` of the watcher command with `wake` set to what to do next, with a long time-based heartbeat as fallback. No event gets a fixed-interval heartbeat (`tmux_run` with `command: "sleep <seconds>"`, a `wake` tick prompt, and `repeat: true`) sized to when the result is worth re-checking. Stop a heartbeat with `tmux_jobs` `stop`. Pick each worker's thinking level for the job, per the Spawned Pi workers section.
7
7
  3. Each iteration makes the smallest change the evidence justifies, verifies it against the predicate, commits if it advanced, discards changes that didn't help. Belt-and-suspenders that "might help" gets reverted, not left to ride.
8
8
  Sequence the work via the **sequence-verifiable-units** principle skill, verifying each unit before the next instead of batching checks at the end.
@@ -20,6 +20,6 @@ A verdict covers one patch and green CI covers one head. Step 4 runs a full swar
20
20
  6. **Run the root layer.** Anything that loosens a gate, such as a raised budget or an allowlist entry, needs a verifier's proof and then your fresh countersign, because the owner is the one who wants green. Under a grant that covers approvals, that countersign is the approval, and the owner's record of it points at your countersign for a lane to check. A disabled or soft-failed check always comes out, because it stops guarding every case. Never give or bypass an approval the forge enforces, because no countersign covers it.
21
21
 
22
22
  On the operator's go, arm a heartbeat to audit until no delegated work is left (`tmux_run` with `command: "sleep 3600"`, a `wake` tick prompt, and `repeat: true`), because long runs drift and agents stall silently. Each tick re-reads this playbook from trunk and fixes drift, such as an unreported head or an unrecorded agent, by having its owner record it, because drift is a gap in the record, not a stall. It probes every agent, down to the leaf lanes, and judges each by its side effects, because status text and summaries can hide a stuck child. An agent is stuck when it errors, cannot start turns, or shows nothing new past its stuck-after runtime, and so is an owner that has neither pushed nor written a trail row by the first tick. One waiting on you or the operator is not stuck. It ends its run with the question in its report, and you answer by spawning a fresh worker with consolidated scope. Replace a stuck agent at once, without waiting for its stop to land. A tick that changed something for the operator ends by catching them up per the **ketchup** skill, and one that changed nothing stays quiet.
23
- 7. **Stand down at once on the operator's stop.** A hold reaches every owner as `tmux_jobs` `stop`, after each commits `wip:` per `playbooks/pause-safely.md`, because a print-mode worker takes no mid-run input. Each owner's report says where it stands. The operator's release is a fresh `pi_spawn` per owner with consolidated scope.
23
+ 7. **Stand down at once on the operator's stop.** A hold reaches every owner as `tmux_jobs` `stop`, because a print-mode worker takes no mid-run input and a stopped job sends no report. Then commit each owner's uncommitted edits as one `wip:` commit in its worktree, per `playbooks/pause-safely.md` step 3, and report where each stands from its commits and trail. The operator's release is a fresh `pi_spawn` per owner with consolidated scope.
24
24
 
25
25
  **Reply:** catch the operator up per the **ketchup** skill, covering each PR's state and verdict, what merged, countersigns and why, open operator gates, and parked follow-ups, with links to each PR and the trails.
@@ -1,9 +1,9 @@
1
1
  ### Opening a PR
2
2
 
3
- Invoked at the end of every other playbook.
3
+ Invoked at the end of every code-producing playbook.
4
4
 
5
5
  Work from a git worktree off trunk, and keep unrelated work out of it. Rebase into small, landable commits. Run `/skill:deslop` over the diff before commit.
6
6
 
7
7
  Title: `type(scope): subject`, naming a real symbol when one carries the change. Body: a one-minute briefing under 40 lines with these `##` headings in order, dropping empty ones: `## Why`, `## What changed`, `## Scope`, `## Tradeoffs` (only rejected alternatives a reviewer would otherwise ask about), `## Blast Radius`, `## Verification`.
8
8
 
9
- Stack follow-ups by base branch. Open PRs ready, with `gh pr create` without `--draft`, or `origin pr create --status open` when Origin's CLI resolves the repository. Opening a PR does not start a babysit.
9
+ Stack follow-ups by base branch. Open PRs ready, with `gh pr create` without `--draft`, or `origin pr create --status open` when Origin's CLI resolves the repository. Opening a PR does not start a babysit. An open PR, ready for review, has passed none of the later merge gates. Continue to **Shipping** only when the user granted merge. Otherwise hand off the PR with its evidence.
@@ -51,9 +51,8 @@ export function ensureDependenciesInstalled(): void {
51
51
 
52
52
  writeFileSync(installKeyPath, `${installKey}\n`);
53
53
 
54
- const restarted = Bun.spawnSync([process.execPath, ...process.argv.slice(1)], {
54
+ const restarted = Bun.spawnSync([process.execPath, ...Bun.argv.slice(1)], {
55
55
  cwd: process.cwd(),
56
- env: process.env,
57
56
  stdin: "inherit",
58
57
  stdout: "inherit",
59
58
  stderr: "inherit",
@@ -6,6 +6,7 @@
6
6
  "name": "@cursor-skill/poteto-mode-tools",
7
7
  "dependencies": {
8
8
  "commander": "14.0.0",
9
+ "zod": "^4.6.7",
9
10
  },
10
11
  "devDependencies": {
11
12
  "bun-types": "latest",
@@ -63,5 +64,7 @@
63
64
  "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="],
64
65
 
65
66
  "undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="],
67
+
68
+ "zod": ["zod@4.6.7", "", {}, "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg=="],
66
69
  }
67
70
  }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Colin McDonnell
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,218 @@
1
+ <p align="center">
2
+ <img src="logo.svg" width="200px" align="center" alt="Zod logo" />
3
+ <h1 align="center">Zod</h1>
4
+ <p align="center">
5
+ TypeScript-first schema validation with static type inference
6
+ <br/>
7
+ by <a href="https://x.com/colinhacks">@colinhacks</a>
8
+ </p>
9
+ </p>
10
+ <br/>
11
+
12
+ <p align="center">
13
+ <a href="https://github.com/colinhacks/zod/actions?query=branch%3Amain"><img src="https://github.com/colinhacks/zod/actions/workflows/test.yml/badge.svg?event=push&branch=main" alt="Zod CI status" /></a>
14
+ <a href="https://opensource.org/licenses/MIT" rel="nofollow"><img src="https://img.shields.io/github/license/colinhacks/zod" alt="License"></a>
15
+ <a href="https://www.npmjs.com/package/zod" rel="nofollow"><img src="https://img.shields.io/npm/dw/zod.svg" alt="npm"></a>
16
+ <a href="https://discord.gg/KaSRdyX2vc" rel="nofollow"><img src="https://img.shields.io/discord/893487829802418277?label=Discord&logo=discord&logoColor=white" alt="discord server"></a>
17
+ <a href="https://github.com/colinhacks/zod" rel="nofollow"><img src="https://img.shields.io/github/stars/colinhacks/zod" alt="stars"></a>
18
+ </p>
19
+
20
+ <div align="center">
21
+ <a href="https://zod.dev/api">Docs</a>
22
+ <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
23
+ <a href="https://discord.gg/RcG33DQJdf">Discord</a>
24
+ <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
25
+ <a href="https://twitter.com/colinhacks">𝕏</a>
26
+ <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
27
+ <a href="https://bsky.app/profile/zod.dev">Bluesky</a>
28
+ <br />
29
+ </div>
30
+
31
+ <br/>
32
+ <br/>
33
+
34
+ ### [Read the docs →](https://zod.dev/api)
35
+
36
+ <br/>
37
+ <br/>
38
+
39
+ ## What is Zod?
40
+
41
+ Zod is a TypeScript-first validation library. Define a schema and parse some data with it. You'll get back a strongly typed, validated result.
42
+
43
+ ```ts
44
+ import * as z from "zod";
45
+
46
+ const User = z.object({
47
+ name: z.string(),
48
+ });
49
+
50
+ // some untrusted data...
51
+ const input = {
52
+ /* stuff */
53
+ };
54
+
55
+ // the parsed result is validated and type safe!
56
+ const data = User.parse(input);
57
+
58
+ // so you can use it with confidence :)
59
+ console.log(data.name);
60
+ ```
61
+
62
+ <br/>
63
+
64
+ ## Features
65
+
66
+ - Zero external dependencies
67
+ - Works in Node.js and all modern browsers
68
+ - Tiny: `2kb` core bundle (gzipped)
69
+ - Immutable API: methods return a new instance
70
+ - Concise interface
71
+ - Works with TypeScript and plain JS
72
+ - Built-in JSON Schema conversion
73
+ - Extensive ecosystem
74
+
75
+ <br/>
76
+
77
+ ## Installation
78
+
79
+ ```sh
80
+ npm install zod
81
+ ```
82
+
83
+ <br/>
84
+
85
+ ## Basic usage
86
+
87
+ Before you can do anything else, you need to define a schema. For the purposes of this guide, we'll use a simple object schema.
88
+
89
+ ```ts
90
+ import * as z from "zod";
91
+
92
+ const Player = z.object({
93
+ username: z.string(),
94
+ xp: z.number(),
95
+ });
96
+ ```
97
+
98
+ ### Parsing data
99
+
100
+ Given any Zod schema, use `.parse` to validate an input. If it's valid, Zod returns a strongly-typed _deep clone_ of the input.
101
+
102
+ ```ts
103
+ Player.parse({ username: "billie", xp: 100 });
104
+ // => returns { username: "billie", xp: 100 }
105
+ ```
106
+
107
+ **Note** — If your schema uses certain asynchronous APIs like `async` [refinements](https://zod.dev/api#refinements) or [transforms](https://zod.dev/api#transforms), you'll need to use the `.parseAsync()` method instead.
108
+
109
+ ```ts
110
+ const schema = z.string().refine(async (val) => val.length <= 8);
111
+
112
+ await schema.parseAsync("hello");
113
+ // => "hello"
114
+ ```
115
+
116
+ ### AOT compilation
117
+
118
+ For hot validation paths, `z.compile(schema)` returns a schema clone with an ahead-of-time compiled fast path. Valid inputs take the compiled path; invalid inputs fall back to the regular parser so error reporting stays identical.
119
+
120
+ Across a 55-schema benchmark the median speedup is **2.4x**, and it scales with how much work the schema does per parse: a large array of objects is ~9x, a 20-key object ~9x, a nested object ~4.5x, while a bare `z.string()` gains nothing — compilation removes per-node dispatch and allocation, and a single `typeof` has none to remove.
121
+
122
+ ```ts
123
+ const CompiledPlayer = z.compile(Player);
124
+
125
+ CompiledPlayer.parse({ username: "billie", xp: 100 });
126
+ ```
127
+
128
+ To enable compilation globally for schemas constructed after import:
129
+
130
+ ```ts
131
+ import "zod/compile"; // place before modules that define schemas
132
+ ```
133
+
134
+ Things to know:
135
+
136
+ - Compilation uses `new Function`. Global mode is automatically disabled when `z.config({ jitless: true })` is set (e.g. CSP environments); calling `z.compile()` directly is an explicit opt-in.
137
+ - Schemas with async refinements or transforms can't be compiled, and neither can a few other constructs. That is not an error: `z.compile()` hands the schema back unchanged and it keeps using the regular parser, exactly as global mode leaves it. Pass `{ strict: true }` to throw `ZodCompileAsyncError` / `ZodCompileUnsupportedError` instead.
138
+ - On invalid input, refinements and transforms may run twice (fast path, then fallback).
139
+ - Deriving a new schema from a compiled one (`.refine()`, `.extend()`, etc.) returns an uncompiled schema — compile the final schema.
140
+
141
+ See [`compile` docs](https://zod.dev/compile) for details.
142
+
143
+ ### Handling errors
144
+
145
+ When validation fails, the `.parse()` method will throw a `ZodError` instance with granular information about the validation issues.
146
+
147
+ ```ts
148
+ try {
149
+ Player.parse({ username: 42, xp: "100" });
150
+ } catch (err) {
151
+ if (err instanceof z.ZodError) {
152
+ err.issues;
153
+ /* [
154
+ {
155
+ expected: 'string',
156
+ code: 'invalid_type',
157
+ path: [ 'username' ],
158
+ message: 'Invalid input: expected string, received number'
159
+ },
160
+ {
161
+ expected: 'number',
162
+ code: 'invalid_type',
163
+ path: [ 'xp' ],
164
+ message: 'Invalid input: expected number, received string'
165
+ }
166
+ ] */
167
+ }
168
+ }
169
+ ```
170
+
171
+ To avoid a `try/catch` block, you can use the `.safeParse()` method to get back a plain result object containing either the successfully parsed data or a `ZodError`. The result type is a [discriminated union](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions), so you can handle both cases conveniently.
172
+
173
+ ```ts
174
+ const result = Player.safeParse({ username: 42, xp: "100" });
175
+ if (!result.success) {
176
+ result.error; // ZodError instance
177
+ } else {
178
+ result.data; // { username: string; xp: number }
179
+ }
180
+ ```
181
+
182
+ **Note** — If your schema uses certain asynchronous APIs like `async` [refinements](https://zod.dev/api#refinements) or [transforms](https://zod.dev/api#transforms), you'll need to use the `.safeParseAsync()` method instead.
183
+
184
+ ```ts
185
+ const schema = z.string().refine(async (val) => val.length <= 8);
186
+
187
+ await schema.safeParseAsync("hello");
188
+ // => { success: true; data: "hello" }
189
+ ```
190
+
191
+ ### Inferring types
192
+
193
+ Zod infers a static type from your schema definitions. You can extract this type with the `z.infer<>` utility and use it however you like.
194
+
195
+ ```ts
196
+ const Player = z.object({
197
+ username: z.string(),
198
+ xp: z.number(),
199
+ });
200
+
201
+ // extract the inferred type
202
+ type Player = z.infer<typeof Player>;
203
+
204
+ // use it in your code
205
+ const player: Player = { username: "billie", xp: 100 };
206
+ ```
207
+
208
+ In some cases, the input & output types of a schema can diverge. For instance, the `.transform()` API can convert the input from one type to another. In these cases, you can extract the input and output types independently:
209
+
210
+ ```ts
211
+ const mySchema = z.string().transform((val) => val.length);
212
+
213
+ type MySchemaIn = z.input<typeof mySchema>;
214
+ // => string
215
+
216
+ type MySchemaOut = z.output<typeof mySchema>; // equivalent to z.infer<typeof mySchema>
217
+ // number
218
+ ```