@blxzer/pactile 0.6.0-beta.2 → 0.6.0-beta.4

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 (703) hide show
  1. package/README.md +93 -84
  2. package/README.zh-CN.md +90 -81
  3. package/dist/bin/compat-warning.d.ts +2 -0
  4. package/dist/bin/compat-warning.d.ts.map +1 -0
  5. package/dist/bin/compat-warning.js +8 -0
  6. package/dist/bin/compat-warning.js.map +1 -0
  7. package/dist/bin/cstl.d.ts +3 -0
  8. package/dist/bin/cstl.d.ts.map +1 -0
  9. package/{bin → dist/bin}/cstl.js +2 -3
  10. package/dist/bin/cstl.js.map +1 -0
  11. package/dist/bin/pactile.d.ts +3 -0
  12. package/dist/bin/pactile.d.ts.map +1 -0
  13. package/dist/bin/pactile.js +4 -0
  14. package/dist/bin/pactile.js.map +1 -0
  15. package/dist/cli/index.d.ts.map +1 -1
  16. package/dist/cli/index.js +77 -17
  17. package/dist/cli/index.js.map +1 -1
  18. package/dist/commands/capability.d.ts +3 -0
  19. package/dist/commands/capability.d.ts.map +1 -0
  20. package/dist/commands/capability.js +129 -0
  21. package/dist/commands/capability.js.map +1 -0
  22. package/dist/commands/codex.d.ts.map +1 -1
  23. package/dist/commands/codex.js +54 -6
  24. package/dist/commands/codex.js.map +1 -1
  25. package/dist/commands/context.d.ts +2 -0
  26. package/dist/commands/context.d.ts.map +1 -1
  27. package/dist/commands/context.js +367 -41
  28. package/dist/commands/context.js.map +1 -1
  29. package/dist/commands/detach.d.ts.map +1 -1
  30. package/dist/commands/detach.js +5 -4
  31. package/dist/commands/detach.js.map +1 -1
  32. package/dist/commands/init.d.ts.map +1 -1
  33. package/dist/commands/init.js +615 -259
  34. package/dist/commands/init.js.map +1 -1
  35. package/dist/commands/legacy-task.d.ts +3 -0
  36. package/dist/commands/legacy-task.d.ts.map +1 -0
  37. package/dist/commands/legacy-task.js +295 -0
  38. package/dist/commands/legacy-task.js.map +1 -0
  39. package/dist/commands/pi.d.ts +3 -2
  40. package/dist/commands/pi.d.ts.map +1 -1
  41. package/dist/commands/pi.js +333 -10
  42. package/dist/commands/pi.js.map +1 -1
  43. package/dist/commands/session.d.ts.map +1 -1
  44. package/dist/commands/session.js +148 -24
  45. package/dist/commands/session.js.map +1 -1
  46. package/dist/commands/task-schedule.d.ts +17 -0
  47. package/dist/commands/task-schedule.d.ts.map +1 -0
  48. package/dist/commands/task-schedule.js +395 -0
  49. package/dist/commands/task-schedule.js.map +1 -0
  50. package/dist/commands/task-verify-plan.d.ts +3 -0
  51. package/dist/commands/task-verify-plan.d.ts.map +1 -0
  52. package/dist/commands/task-verify-plan.js +503 -0
  53. package/dist/commands/task-verify-plan.js.map +1 -0
  54. package/dist/commands/task-worktree-close.d.ts +4 -0
  55. package/dist/commands/task-worktree-close.d.ts.map +1 -0
  56. package/dist/commands/task-worktree-close.js +81 -0
  57. package/dist/commands/task-worktree-close.js.map +1 -0
  58. package/dist/commands/task.d.ts +3 -0
  59. package/dist/commands/task.d.ts.map +1 -1
  60. package/dist/commands/task.js +1373 -184
  61. package/dist/commands/task.js.map +1 -1
  62. package/dist/commands/tile-selection.d.ts +3 -0
  63. package/dist/commands/tile-selection.d.ts.map +1 -0
  64. package/dist/commands/tile-selection.js +174 -0
  65. package/dist/commands/tile-selection.js.map +1 -0
  66. package/dist/commands/update.d.ts +1 -1
  67. package/dist/commands/update.d.ts.map +1 -1
  68. package/dist/commands/update.js +80 -55
  69. package/dist/commands/update.js.map +1 -1
  70. package/dist/commands/worktree.d.ts +4 -0
  71. package/dist/commands/worktree.d.ts.map +1 -0
  72. package/dist/commands/worktree.js +198 -0
  73. package/dist/commands/worktree.js.map +1 -0
  74. package/dist/configurators/shared.js +1 -1
  75. package/dist/configurators/shared.js.map +1 -1
  76. package/dist/core/compat/environment.d.ts +0 -1
  77. package/dist/core/compat/environment.d.ts.map +1 -1
  78. package/dist/core/compat/environment.js +1 -9
  79. package/dist/core/compat/environment.js.map +1 -1
  80. package/dist/core/pactile/bounded-capabilities.d.ts +127 -0
  81. package/dist/core/pactile/bounded-capabilities.d.ts.map +1 -0
  82. package/dist/core/pactile/bounded-capabilities.js +188 -0
  83. package/dist/core/pactile/bounded-capabilities.js.map +1 -0
  84. package/dist/core/pactile/index.d.ts +1 -0
  85. package/dist/core/pactile/index.d.ts.map +1 -1
  86. package/dist/core/pactile/index.js +1 -0
  87. package/dist/core/pactile/index.js.map +1 -1
  88. package/dist/core/task/index.d.ts +4 -2
  89. package/dist/core/task/index.d.ts.map +1 -1
  90. package/dist/core/task/index.js +2 -1
  91. package/dist/core/task/index.js.map +1 -1
  92. package/dist/core/task/kernel-cli.d.ts +14 -1
  93. package/dist/core/task/kernel-cli.d.ts.map +1 -1
  94. package/dist/core/task/kernel-cli.js +128 -0
  95. package/dist/core/task/kernel-cli.js.map +1 -1
  96. package/dist/core/task/kernel-contract.d.ts +6 -3
  97. package/dist/core/task/kernel-contract.d.ts.map +1 -1
  98. package/dist/core/task/kernel-contract.js +71 -23
  99. package/dist/core/task/kernel-contract.js.map +1 -1
  100. package/dist/core/task/kernel-store.d.ts +6 -0
  101. package/dist/core/task/kernel-store.d.ts.map +1 -1
  102. package/dist/core/task/kernel-store.js +54 -2
  103. package/dist/core/task/kernel-store.js.map +1 -1
  104. package/dist/core/task/legacy-task-migration-reader.d.ts +137 -0
  105. package/dist/core/task/legacy-task-migration-reader.d.ts.map +1 -0
  106. package/dist/core/task/legacy-task-migration-reader.js +512 -0
  107. package/dist/core/task/legacy-task-migration-reader.js.map +1 -0
  108. package/dist/core/task/legacy-task-migration.d.ts +105 -0
  109. package/dist/core/task/legacy-task-migration.d.ts.map +1 -0
  110. package/dist/core/task/legacy-task-migration.js +562 -0
  111. package/dist/core/task/legacy-task-migration.js.map +1 -0
  112. package/dist/core/task/legacy-task-overlay-durable-io.d.ts +18 -0
  113. package/dist/core/task/legacy-task-overlay-durable-io.d.ts.map +1 -0
  114. package/dist/core/task/legacy-task-overlay-durable-io.js +66 -0
  115. package/dist/core/task/legacy-task-overlay-durable-io.js.map +1 -0
  116. package/dist/core/task/legacy-task-reconciliation-reader.d.ts +26 -0
  117. package/dist/core/task/legacy-task-reconciliation-reader.d.ts.map +1 -0
  118. package/dist/core/task/legacy-task-reconciliation-reader.js +324 -0
  119. package/dist/core/task/legacy-task-reconciliation-reader.js.map +1 -0
  120. package/dist/core/task/legacy-task-v2-import.d.ts +67 -0
  121. package/dist/core/task/legacy-task-v2-import.d.ts.map +1 -0
  122. package/dist/core/task/legacy-task-v2-import.js +1046 -0
  123. package/dist/core/task/legacy-task-v2-import.js.map +1 -0
  124. package/dist/core/task/project-file-observer.d.ts +46 -0
  125. package/dist/core/task/project-file-observer.d.ts.map +1 -0
  126. package/dist/core/task/project-file-observer.js +618 -0
  127. package/dist/core/task/project-file-observer.js.map +1 -0
  128. package/dist/core/task/start-authority.d.ts +14 -0
  129. package/dist/core/task/start-authority.d.ts.map +1 -0
  130. package/dist/core/task/start-authority.js +146 -0
  131. package/dist/core/task/start-authority.js.map +1 -0
  132. package/dist/core/task/strategy.d.ts +24 -0
  133. package/dist/core/task/strategy.d.ts.map +1 -0
  134. package/dist/core/task/strategy.js +136 -0
  135. package/dist/core/task/strategy.js.map +1 -0
  136. package/dist/core/task/task-candidate-observer.d.ts +111 -0
  137. package/dist/core/task/task-candidate-observer.d.ts.map +1 -0
  138. package/dist/core/task/task-candidate-observer.js +762 -0
  139. package/dist/core/task/task-candidate-observer.js.map +1 -0
  140. package/dist/core/task/task-kernel-close.d.ts +5 -0
  141. package/dist/core/task/task-kernel-close.d.ts.map +1 -0
  142. package/dist/core/task/task-kernel-close.js +367 -0
  143. package/dist/core/task/task-kernel-close.js.map +1 -0
  144. package/dist/core/task/task-kernel-dependencies.d.ts +3 -0
  145. package/dist/core/task/task-kernel-dependencies.d.ts.map +1 -0
  146. package/dist/core/task/task-kernel-dependencies.js +24 -0
  147. package/dist/core/task/task-kernel-dependencies.js.map +1 -0
  148. package/dist/core/task/task-kernel-host.d.ts +5 -0
  149. package/dist/core/task/task-kernel-host.d.ts.map +1 -0
  150. package/dist/core/task/task-kernel-host.js +136 -0
  151. package/dist/core/task/task-kernel-host.js.map +1 -0
  152. package/dist/core/task/task-kernel-paths.d.ts +19 -0
  153. package/dist/core/task/task-kernel-paths.d.ts.map +1 -0
  154. package/dist/core/task/task-kernel-paths.js +237 -0
  155. package/dist/core/task/task-kernel-paths.js.map +1 -0
  156. package/dist/core/task/task-kernel-reviews.d.ts +3 -0
  157. package/dist/core/task/task-kernel-reviews.d.ts.map +1 -0
  158. package/dist/core/task/task-kernel-reviews.js +100 -0
  159. package/dist/core/task/task-kernel-reviews.js.map +1 -0
  160. package/dist/core/task/task-kernel-runs.d.ts +5 -0
  161. package/dist/core/task/task-kernel-runs.d.ts.map +1 -0
  162. package/dist/core/task/task-kernel-runs.js +196 -0
  163. package/dist/core/task/task-kernel-runs.js.map +1 -0
  164. package/dist/core/task/task-kernel-schema.d.ts +29 -0
  165. package/dist/core/task/task-kernel-schema.d.ts.map +1 -0
  166. package/dist/core/task/task-kernel-schema.js +1169 -0
  167. package/dist/core/task/task-kernel-schema.js.map +1 -0
  168. package/dist/core/task/task-kernel-store-v2.d.ts +33 -0
  169. package/dist/core/task/task-kernel-store-v2.d.ts.map +1 -0
  170. package/dist/core/task/task-kernel-store-v2.js +574 -0
  171. package/dist/core/task/task-kernel-store-v2.js.map +1 -0
  172. package/dist/core/task/task-kernel-types.d.ts +585 -0
  173. package/dist/core/task/task-kernel-types.d.ts.map +1 -0
  174. package/dist/core/task/task-kernel-types.js +31 -0
  175. package/dist/core/task/task-kernel-types.js.map +1 -0
  176. package/dist/core/task/task-kernel-workspaces.d.ts +10 -0
  177. package/dist/core/task/task-kernel-workspaces.d.ts.map +1 -0
  178. package/dist/core/task/task-kernel-workspaces.js +250 -0
  179. package/dist/core/task/task-kernel-workspaces.js.map +1 -0
  180. package/dist/core/task/task-kernel-write-set.d.ts +3 -0
  181. package/dist/core/task/task-kernel-write-set.d.ts.map +1 -0
  182. package/dist/core/task/task-kernel-write-set.js +12 -0
  183. package/dist/core/task/task-kernel-write-set.js.map +1 -0
  184. package/dist/core/task/task-kernel.d.ts +19 -0
  185. package/dist/core/task/task-kernel.d.ts.map +1 -0
  186. package/dist/core/task/task-kernel.js +17 -0
  187. package/dist/core/task/task-kernel.js.map +1 -0
  188. package/dist/core/task/task-pull-request-observer.d.ts +25 -0
  189. package/dist/core/task/task-pull-request-observer.d.ts.map +1 -0
  190. package/dist/core/task/task-pull-request-observer.js +187 -0
  191. package/dist/core/task/task-pull-request-observer.js.map +1 -0
  192. package/dist/core/task/task-review-evidence.d.ts +27 -0
  193. package/dist/core/task/task-review-evidence.d.ts.map +1 -0
  194. package/dist/core/task/task-review-evidence.js +383 -0
  195. package/dist/core/task/task-review-evidence.js.map +1 -0
  196. package/dist/migrations/index.d.ts +1 -1
  197. package/dist/migrations/index.d.ts.map +1 -1
  198. package/dist/migrations/index.js +5 -3
  199. package/dist/migrations/index.js.map +1 -1
  200. package/dist/migrations/manifests/0.6.0-beta.3.json +9 -0
  201. package/dist/migrations/manifests/0.6.0-beta.4.json +9 -0
  202. package/dist/pactile/artifacts/documents.d.ts +72 -0
  203. package/dist/pactile/artifacts/documents.d.ts.map +1 -0
  204. package/dist/pactile/artifacts/documents.js +406 -0
  205. package/dist/pactile/artifacts/documents.js.map +1 -0
  206. package/dist/pactile/artifacts/index.d.ts +6 -0
  207. package/dist/pactile/artifacts/index.d.ts.map +1 -0
  208. package/dist/pactile/artifacts/index.js +6 -0
  209. package/dist/pactile/artifacts/index.js.map +1 -0
  210. package/dist/pactile/artifacts/projection.d.ts +50 -0
  211. package/dist/pactile/artifacts/projection.d.ts.map +1 -0
  212. package/dist/pactile/artifacts/projection.js +139 -0
  213. package/dist/pactile/artifacts/projection.js.map +1 -0
  214. package/dist/pactile/artifacts/reader.d.ts +20 -0
  215. package/dist/pactile/artifacts/reader.d.ts.map +1 -0
  216. package/dist/pactile/artifacts/reader.js +559 -0
  217. package/dist/pactile/artifacts/reader.js.map +1 -0
  218. package/dist/pactile/artifacts/schema.d.ts +4 -0
  219. package/dist/pactile/artifacts/schema.d.ts.map +1 -0
  220. package/dist/pactile/artifacts/schema.js +217 -0
  221. package/dist/pactile/artifacts/schema.js.map +1 -0
  222. package/dist/pactile/artifacts/types.d.ts +66 -0
  223. package/dist/pactile/artifacts/types.d.ts.map +1 -0
  224. package/dist/pactile/artifacts/types.js +45 -0
  225. package/dist/pactile/artifacts/types.js.map +1 -0
  226. package/dist/pactile/capabilities/claim.d.ts +3 -0
  227. package/dist/pactile/capabilities/claim.d.ts.map +1 -0
  228. package/dist/pactile/capabilities/claim.js +97 -0
  229. package/dist/pactile/capabilities/claim.js.map +1 -0
  230. package/dist/pactile/capabilities/command.d.ts +6 -0
  231. package/dist/pactile/capabilities/command.d.ts.map +1 -0
  232. package/dist/pactile/capabilities/command.js +253 -0
  233. package/dist/pactile/capabilities/command.js.map +1 -0
  234. package/dist/pactile/capabilities/discover.d.ts +6 -0
  235. package/dist/pactile/capabilities/discover.d.ts.map +1 -0
  236. package/dist/pactile/capabilities/discover.js +48 -0
  237. package/dist/pactile/capabilities/discover.js.map +1 -0
  238. package/dist/pactile/capabilities/node.d.ts +15 -0
  239. package/dist/pactile/capabilities/node.d.ts.map +1 -0
  240. package/dist/pactile/capabilities/node.js +292 -0
  241. package/dist/pactile/capabilities/node.js.map +1 -0
  242. package/dist/pactile/capabilities/read.d.ts +6 -0
  243. package/dist/pactile/capabilities/read.d.ts.map +1 -0
  244. package/dist/pactile/capabilities/read.js +100 -0
  245. package/dist/pactile/capabilities/read.js.map +1 -0
  246. package/dist/pactile/capabilities/receipts.d.ts +17 -0
  247. package/dist/pactile/capabilities/receipts.d.ts.map +1 -0
  248. package/dist/pactile/capabilities/receipts.js +90 -0
  249. package/dist/pactile/capabilities/receipts.js.map +1 -0
  250. package/dist/pactile/capabilities/search.d.ts +6 -0
  251. package/dist/pactile/capabilities/search.d.ts.map +1 -0
  252. package/dist/pactile/capabilities/search.js +181 -0
  253. package/dist/pactile/capabilities/search.js.map +1 -0
  254. package/dist/pactile/capabilities/shared.d.ts +29 -0
  255. package/dist/pactile/capabilities/shared.d.ts.map +1 -0
  256. package/dist/pactile/capabilities/shared.js +134 -0
  257. package/dist/pactile/capabilities/shared.js.map +1 -0
  258. package/dist/pactile/capabilities/workspace.d.ts +19 -0
  259. package/dist/pactile/capabilities/workspace.d.ts.map +1 -0
  260. package/dist/pactile/capabilities/workspace.js +273 -0
  261. package/dist/pactile/capabilities/workspace.js.map +1 -0
  262. package/dist/pactile/codex/bridge.d.ts +105 -2
  263. package/dist/pactile/codex/bridge.d.ts.map +1 -1
  264. package/dist/pactile/codex/bridge.js +1266 -92
  265. package/dist/pactile/codex/bridge.js.map +1 -1
  266. package/dist/pactile/codex/dispatch-stop-proof.d.ts +43 -0
  267. package/dist/pactile/codex/dispatch-stop-proof.d.ts.map +1 -0
  268. package/dist/pactile/codex/dispatch-stop-proof.js +177 -0
  269. package/dist/pactile/codex/dispatch-stop-proof.js.map +1 -0
  270. package/dist/pactile/codex/host-stop.d.ts +47 -0
  271. package/dist/pactile/codex/host-stop.d.ts.map +1 -0
  272. package/dist/pactile/codex/host-stop.js +344 -0
  273. package/dist/pactile/codex/host-stop.js.map +1 -0
  274. package/dist/pactile/coordination/index.d.ts +4 -0
  275. package/dist/pactile/coordination/index.d.ts.map +1 -0
  276. package/dist/pactile/coordination/index.js +4 -0
  277. package/dist/pactile/coordination/index.js.map +1 -0
  278. package/dist/pactile/coordination/journal.d.ts +10 -0
  279. package/dist/pactile/coordination/journal.d.ts.map +1 -0
  280. package/dist/pactile/coordination/journal.js +255 -0
  281. package/dist/pactile/coordination/journal.js.map +1 -0
  282. package/dist/pactile/coordination/kernel-resume.d.ts +8 -0
  283. package/dist/pactile/coordination/kernel-resume.d.ts.map +1 -0
  284. package/dist/pactile/coordination/kernel-resume.js +87 -0
  285. package/dist/pactile/coordination/kernel-resume.js.map +1 -0
  286. package/dist/pactile/coordination/model.d.ts +553 -0
  287. package/dist/pactile/coordination/model.d.ts.map +1 -0
  288. package/dist/pactile/coordination/model.js +239 -0
  289. package/dist/pactile/coordination/model.js.map +1 -0
  290. package/dist/pactile/coordination/state.d.ts +46 -0
  291. package/dist/pactile/coordination/state.d.ts.map +1 -0
  292. package/dist/pactile/coordination/state.js +301 -0
  293. package/dist/pactile/coordination/state.js.map +1 -0
  294. package/dist/pactile/coordination/store.d.ts +94 -0
  295. package/dist/pactile/coordination/store.d.ts.map +1 -0
  296. package/dist/pactile/coordination/store.js +396 -0
  297. package/dist/pactile/coordination/store.js.map +1 -0
  298. package/dist/pactile/index.d.ts +7 -1
  299. package/dist/pactile/index.d.ts.map +1 -1
  300. package/dist/pactile/index.js +7 -1
  301. package/dist/pactile/index.js.map +1 -1
  302. package/dist/pactile/jev/contracts.d.ts +104 -0
  303. package/dist/pactile/jev/contracts.d.ts.map +1 -0
  304. package/dist/pactile/jev/contracts.js +53 -0
  305. package/dist/pactile/jev/contracts.js.map +1 -0
  306. package/dist/pactile/jev/decision.d.ts +58 -0
  307. package/dist/pactile/jev/decision.d.ts.map +1 -0
  308. package/dist/pactile/jev/decision.js +149 -0
  309. package/dist/pactile/jev/decision.js.map +1 -0
  310. package/dist/pactile/jev/http.d.ts +25 -0
  311. package/dist/pactile/jev/http.d.ts.map +1 -0
  312. package/dist/pactile/jev/http.js +234 -0
  313. package/dist/pactile/jev/http.js.map +1 -0
  314. package/dist/pactile/jev/index.d.ts +8 -0
  315. package/dist/pactile/jev/index.d.ts.map +1 -0
  316. package/dist/pactile/jev/index.js +4 -0
  317. package/dist/pactile/jev/index.js.map +1 -0
  318. package/dist/pactile/jev/outbound.d.ts +15 -0
  319. package/dist/pactile/jev/outbound.d.ts.map +1 -0
  320. package/dist/pactile/jev/outbound.js +264 -0
  321. package/dist/pactile/jev/outbound.js.map +1 -0
  322. package/dist/pactile/jev/project-policy.d.ts +10 -0
  323. package/dist/pactile/jev/project-policy.d.ts.map +1 -0
  324. package/dist/pactile/jev/project-policy.js +53 -0
  325. package/dist/pactile/jev/project-policy.js.map +1 -0
  326. package/dist/pactile/jev/response.d.ts +17 -0
  327. package/dist/pactile/jev/response.d.ts.map +1 -0
  328. package/dist/pactile/jev/response.js +280 -0
  329. package/dist/pactile/jev/response.js.map +1 -0
  330. package/dist/pactile/jev/scheduler-advice.d.ts +92 -0
  331. package/dist/pactile/jev/scheduler-advice.d.ts.map +1 -0
  332. package/dist/pactile/jev/scheduler-advice.js +323 -0
  333. package/dist/pactile/jev/scheduler-advice.js.map +1 -0
  334. package/dist/pactile/jev/transport.d.ts +6 -0
  335. package/dist/pactile/jev/transport.d.ts.map +1 -0
  336. package/dist/pactile/jev/transport.js +87 -0
  337. package/dist/pactile/jev/transport.js.map +1 -0
  338. package/dist/pactile/lifecycle/deferred-live.d.ts +17 -0
  339. package/dist/pactile/lifecycle/deferred-live.d.ts.map +1 -0
  340. package/dist/pactile/lifecycle/deferred-live.js +173 -0
  341. package/dist/pactile/lifecycle/deferred-live.js.map +1 -0
  342. package/dist/pactile/lifecycle/legacy-import.d.ts +1 -1
  343. package/dist/pactile/lifecycle/legacy-import.js +3 -3
  344. package/dist/pactile/lifecycle/legacy-import.js.map +1 -1
  345. package/dist/pactile/lifecycle/project-files.d.ts.map +1 -1
  346. package/dist/pactile/lifecycle/project-files.js +1 -0
  347. package/dist/pactile/lifecycle/project-files.js.map +1 -1
  348. package/dist/pactile/migration/legacy-task-batch-generation.d.ts +23 -0
  349. package/dist/pactile/migration/legacy-task-batch-generation.d.ts.map +1 -0
  350. package/dist/pactile/migration/legacy-task-batch-generation.js +102 -0
  351. package/dist/pactile/migration/legacy-task-batch-generation.js.map +1 -0
  352. package/dist/pactile/migration/legacy-task-batch-io.d.ts +9 -0
  353. package/dist/pactile/migration/legacy-task-batch-io.d.ts.map +1 -0
  354. package/dist/pactile/migration/legacy-task-batch-io.js +208 -0
  355. package/dist/pactile/migration/legacy-task-batch-io.js.map +1 -0
  356. package/dist/pactile/migration/legacy-task-batch-journal.d.ts +6 -0
  357. package/dist/pactile/migration/legacy-task-batch-journal.d.ts.map +1 -0
  358. package/dist/pactile/migration/legacy-task-batch-journal.js +121 -0
  359. package/dist/pactile/migration/legacy-task-batch-journal.js.map +1 -0
  360. package/dist/pactile/migration/legacy-task-batch-orchestrator.d.ts +18 -0
  361. package/dist/pactile/migration/legacy-task-batch-orchestrator.d.ts.map +1 -0
  362. package/dist/pactile/migration/legacy-task-batch-orchestrator.js +634 -0
  363. package/dist/pactile/migration/legacy-task-batch-orchestrator.js.map +1 -0
  364. package/dist/pactile/migration/legacy-task-batch-source.d.ts +8 -0
  365. package/dist/pactile/migration/legacy-task-batch-source.d.ts.map +1 -0
  366. package/dist/pactile/migration/legacy-task-batch-source.js +158 -0
  367. package/dist/pactile/migration/legacy-task-batch-source.js.map +1 -0
  368. package/dist/pactile/migration/legacy-task-batch-types.d.ts +127 -0
  369. package/dist/pactile/migration/legacy-task-batch-types.d.ts.map +1 -0
  370. package/dist/pactile/migration/legacy-task-batch-types.js +127 -0
  371. package/dist/pactile/migration/legacy-task-batch-types.js.map +1 -0
  372. package/dist/pactile/migration/legacy-task-batch.d.ts +3 -0
  373. package/dist/pactile/migration/legacy-task-batch.d.ts.map +1 -0
  374. package/dist/pactile/migration/legacy-task-batch.js +2 -0
  375. package/dist/pactile/migration/legacy-task-batch.js.map +1 -0
  376. package/dist/pactile/migration/legacy-task-held-source-reader.d.ts +27 -0
  377. package/dist/pactile/migration/legacy-task-held-source-reader.d.ts.map +1 -0
  378. package/dist/pactile/migration/legacy-task-held-source-reader.js +261 -0
  379. package/dist/pactile/migration/legacy-task-held-source-reader.js.map +1 -0
  380. package/dist/pactile/migration/legacy-task-reconciliation.d.ts +46 -0
  381. package/dist/pactile/migration/legacy-task-reconciliation.d.ts.map +1 -0
  382. package/dist/pactile/migration/legacy-task-reconciliation.js +589 -0
  383. package/dist/pactile/migration/legacy-task-reconciliation.js.map +1 -0
  384. package/dist/pactile/migration/legacy-task-update.d.ts +19 -0
  385. package/dist/pactile/migration/legacy-task-update.d.ts.map +1 -0
  386. package/dist/pactile/migration/legacy-task-update.js +164 -0
  387. package/dist/pactile/migration/legacy-task-update.js.map +1 -0
  388. package/dist/pactile/parallel/batch.d.ts +21 -2
  389. package/dist/pactile/parallel/batch.d.ts.map +1 -1
  390. package/dist/pactile/parallel/batch.js +271 -50
  391. package/dist/pactile/parallel/batch.js.map +1 -1
  392. package/dist/pactile/parallel/policy.d.ts +1 -1
  393. package/dist/pactile/parallel/policy.d.ts.map +1 -1
  394. package/dist/pactile/parallel/policy.js +130 -102
  395. package/dist/pactile/parallel/policy.js.map +1 -1
  396. package/dist/pactile/pi/bridge.d.ts +139 -2
  397. package/dist/pactile/pi/bridge.d.ts.map +1 -1
  398. package/dist/pactile/pi/bridge.js +1317 -106
  399. package/dist/pactile/pi/bridge.js.map +1 -1
  400. package/dist/pactile/pi/rpc.d.ts +23 -4
  401. package/dist/pactile/pi/rpc.d.ts.map +1 -1
  402. package/dist/pactile/pi/rpc.js +243 -42
  403. package/dist/pactile/pi/rpc.js.map +1 -1
  404. package/dist/pactile/pi/v2-dispatch.d.ts +113 -0
  405. package/dist/pactile/pi/v2-dispatch.d.ts.map +1 -0
  406. package/dist/pactile/pi/v2-dispatch.js +919 -0
  407. package/dist/pactile/pi/v2-dispatch.js.map +1 -0
  408. package/dist/pactile/projection/planner.js +1 -1
  409. package/dist/pactile/projection/planner.js.map +1 -1
  410. package/dist/pactile/registry.d.ts +63 -1
  411. package/dist/pactile/registry.d.ts.map +1 -1
  412. package/dist/pactile/registry.js +633 -4
  413. package/dist/pactile/registry.js.map +1 -1
  414. package/dist/pactile/retrieval/index.d.ts +1 -0
  415. package/dist/pactile/retrieval/index.d.ts.map +1 -1
  416. package/dist/pactile/retrieval/index.js +1 -0
  417. package/dist/pactile/retrieval/index.js.map +1 -1
  418. package/dist/pactile/retrieval/jev-planning.d.ts +28 -0
  419. package/dist/pactile/retrieval/jev-planning.d.ts.map +1 -0
  420. package/dist/pactile/retrieval/jev-planning.js +96 -0
  421. package/dist/pactile/retrieval/jev-planning.js.map +1 -0
  422. package/dist/pactile/review/contract.d.ts +232 -0
  423. package/dist/pactile/review/contract.d.ts.map +1 -0
  424. package/dist/pactile/review/contract.js +695 -0
  425. package/dist/pactile/review/contract.js.map +1 -0
  426. package/dist/pactile/review/escalation-artifacts.d.ts +41 -0
  427. package/dist/pactile/review/escalation-artifacts.d.ts.map +1 -0
  428. package/dist/pactile/review/escalation-artifacts.js +415 -0
  429. package/dist/pactile/review/escalation-artifacts.js.map +1 -0
  430. package/dist/pactile/review/escalation-contract.d.ts +115 -0
  431. package/dist/pactile/review/escalation-contract.d.ts.map +1 -0
  432. package/dist/pactile/review/escalation-contract.js +151 -0
  433. package/dist/pactile/review/escalation-contract.js.map +1 -0
  434. package/dist/pactile/review/escalation-finalize.d.ts +14 -0
  435. package/dist/pactile/review/escalation-finalize.d.ts.map +1 -0
  436. package/dist/pactile/review/escalation-finalize.js +319 -0
  437. package/dist/pactile/review/escalation-finalize.js.map +1 -0
  438. package/dist/pactile/review/escalation-reply.d.ts +10 -0
  439. package/dist/pactile/review/escalation-reply.d.ts.map +1 -0
  440. package/dist/pactile/review/escalation-reply.js +61 -0
  441. package/dist/pactile/review/escalation-reply.js.map +1 -0
  442. package/dist/pactile/review/escalation-transport.d.ts +32 -0
  443. package/dist/pactile/review/escalation-transport.d.ts.map +1 -0
  444. package/dist/pactile/review/escalation-transport.js +216 -0
  445. package/dist/pactile/review/escalation-transport.js.map +1 -0
  446. package/dist/pactile/review/escalation.d.ts +7 -0
  447. package/dist/pactile/review/escalation.d.ts.map +1 -0
  448. package/dist/pactile/review/escalation.js +6 -0
  449. package/dist/pactile/review/escalation.js.map +1 -0
  450. package/dist/pactile/review/evidence.d.ts +25 -0
  451. package/dist/pactile/review/evidence.d.ts.map +1 -0
  452. package/dist/pactile/review/evidence.js +58 -0
  453. package/dist/pactile/review/evidence.js.map +1 -0
  454. package/dist/pactile/review/jev-escalation-advice.d.ts +77 -0
  455. package/dist/pactile/review/jev-escalation-advice.d.ts.map +1 -0
  456. package/dist/pactile/review/jev-escalation-advice.js +358 -0
  457. package/dist/pactile/review/jev-escalation-advice.js.map +1 -0
  458. package/dist/pactile/scheduler/index.d.ts +6 -0
  459. package/dist/pactile/scheduler/index.d.ts.map +1 -0
  460. package/dist/pactile/scheduler/index.js +5 -0
  461. package/dist/pactile/scheduler/index.js.map +1 -0
  462. package/dist/pactile/scheduler/project-lease-store.d.ts +35 -0
  463. package/dist/pactile/scheduler/project-lease-store.d.ts.map +1 -0
  464. package/dist/pactile/scheduler/project-lease-store.js +189 -0
  465. package/dist/pactile/scheduler/project-lease-store.js.map +1 -0
  466. package/dist/pactile/scheduler/scheduler.d.ts +91 -0
  467. package/dist/pactile/scheduler/scheduler.d.ts.map +1 -0
  468. package/dist/pactile/scheduler/scheduler.js +589 -0
  469. package/dist/pactile/scheduler/scheduler.js.map +1 -0
  470. package/dist/pactile/scheduler/task-kernel-admission.d.ts +173 -0
  471. package/dist/pactile/scheduler/task-kernel-admission.d.ts.map +1 -0
  472. package/dist/pactile/scheduler/task-kernel-admission.js +1560 -0
  473. package/dist/pactile/scheduler/task-kernel-admission.js.map +1 -0
  474. package/dist/pactile/scheduler/task-kernel-wave-dispatch.d.ts +184 -0
  475. package/dist/pactile/scheduler/task-kernel-wave-dispatch.d.ts.map +1 -0
  476. package/dist/pactile/scheduler/task-kernel-wave-dispatch.js +952 -0
  477. package/dist/pactile/scheduler/task-kernel-wave-dispatch.js.map +1 -0
  478. package/dist/pactile/scheduler/task-map-scheduler.d.ts +116 -0
  479. package/dist/pactile/scheduler/task-map-scheduler.d.ts.map +1 -0
  480. package/dist/pactile/scheduler/task-map-scheduler.js +1448 -0
  481. package/dist/pactile/scheduler/task-map-scheduler.js.map +1 -0
  482. package/dist/pactile/scheduler/task-run-dispatch-state.d.ts +7 -0
  483. package/dist/pactile/scheduler/task-run-dispatch-state.d.ts.map +1 -0
  484. package/dist/pactile/scheduler/task-run-dispatch-state.js +69 -0
  485. package/dist/pactile/scheduler/task-run-dispatch-state.js.map +1 -0
  486. package/dist/pactile/task/authorization.d.ts +3 -0
  487. package/dist/pactile/task/authorization.d.ts.map +1 -0
  488. package/dist/pactile/task/authorization.js +43 -0
  489. package/dist/pactile/task/authorization.js.map +1 -0
  490. package/dist/pactile/task/creation.d.ts +22 -0
  491. package/dist/pactile/task/creation.d.ts.map +1 -0
  492. package/dist/pactile/task/creation.js +95 -0
  493. package/dist/pactile/task/creation.js.map +1 -0
  494. package/dist/pactile/task/guards.d.ts +1 -4
  495. package/dist/pactile/task/guards.d.ts.map +1 -1
  496. package/dist/pactile/task/guards.js +5 -57
  497. package/dist/pactile/task/guards.js.map +1 -1
  498. package/dist/pactile/task/session-jev-receipt.d.ts +58 -0
  499. package/dist/pactile/task/session-jev-receipt.d.ts.map +1 -0
  500. package/dist/pactile/task/session-jev-receipt.js +375 -0
  501. package/dist/pactile/task/session-jev-receipt.js.map +1 -0
  502. package/dist/pactile/task/session-jev.d.ts +7 -0
  503. package/dist/pactile/task/session-jev.d.ts.map +1 -0
  504. package/dist/pactile/task/session-jev.js +217 -0
  505. package/dist/pactile/task/session-jev.js.map +1 -0
  506. package/dist/pactile/task/session-pack.d.ts.map +1 -1
  507. package/dist/pactile/task/session-pack.js +155 -16
  508. package/dist/pactile/task/session-pack.js.map +1 -1
  509. package/dist/pactile/task/session-retrieval-jev-receipt.d.ts +49 -0
  510. package/dist/pactile/task/session-retrieval-jev-receipt.d.ts.map +1 -0
  511. package/dist/pactile/task/session-retrieval-jev-receipt.js +97 -0
  512. package/dist/pactile/task/session-retrieval-jev-receipt.js.map +1 -0
  513. package/dist/pactile/task/session-retrieval-jev.d.ts +8 -0
  514. package/dist/pactile/task/session-retrieval-jev.d.ts.map +1 -0
  515. package/dist/pactile/task/session-retrieval-jev.js +352 -0
  516. package/dist/pactile/task/session-retrieval-jev.js.map +1 -0
  517. package/dist/pactile/task/strategy.d.ts +1 -23
  518. package/dist/pactile/task/strategy.d.ts.map +1 -1
  519. package/dist/pactile/task/strategy.js +2 -135
  520. package/dist/pactile/task/strategy.js.map +1 -1
  521. package/dist/pactile/tiles/jev-selection.d.ts +44 -0
  522. package/dist/pactile/tiles/jev-selection.d.ts.map +1 -0
  523. package/dist/pactile/tiles/jev-selection.js +210 -0
  524. package/dist/pactile/tiles/jev-selection.js.map +1 -0
  525. package/dist/pactile/tiles/safe-yaml.d.ts +5 -1
  526. package/dist/pactile/tiles/safe-yaml.d.ts.map +1 -1
  527. package/dist/pactile/tiles/safe-yaml.js +8 -8
  528. package/dist/pactile/tiles/safe-yaml.js.map +1 -1
  529. package/dist/pactile/tiles/selection-receipts.d.ts +71 -0
  530. package/dist/pactile/tiles/selection-receipts.d.ts.map +1 -0
  531. package/dist/pactile/tiles/selection-receipts.js +319 -0
  532. package/dist/pactile/tiles/selection-receipts.js.map +1 -0
  533. package/dist/pactile/tiles/selection.d.ts +185 -0
  534. package/dist/pactile/tiles/selection.d.ts.map +1 -0
  535. package/dist/pactile/tiles/selection.js +985 -0
  536. package/dist/pactile/tiles/selection.js.map +1 -0
  537. package/dist/pactile/verification/git-observer.d.ts +3 -0
  538. package/dist/pactile/verification/git-observer.d.ts.map +1 -0
  539. package/dist/pactile/verification/git-observer.js +3 -0
  540. package/dist/pactile/verification/git-observer.js.map +1 -0
  541. package/dist/pactile/verification/index.d.ts +11 -0
  542. package/dist/pactile/verification/index.d.ts.map +1 -0
  543. package/dist/pactile/verification/index.js +6 -0
  544. package/dist/pactile/verification/index.js.map +1 -0
  545. package/dist/pactile/verification/jev-advice.d.ts +78 -0
  546. package/dist/pactile/verification/jev-advice.d.ts.map +1 -0
  547. package/dist/pactile/verification/jev-advice.js +397 -0
  548. package/dist/pactile/verification/jev-advice.js.map +1 -0
  549. package/dist/pactile/verification/planner.d.ts +15 -0
  550. package/dist/pactile/verification/planner.d.ts.map +1 -0
  551. package/dist/pactile/verification/planner.js +412 -0
  552. package/dist/pactile/verification/planner.js.map +1 -0
  553. package/dist/pactile/verification/receipt.d.ts +101 -0
  554. package/dist/pactile/verification/receipt.d.ts.map +1 -0
  555. package/dist/pactile/verification/receipt.js +400 -0
  556. package/dist/pactile/verification/receipt.js.map +1 -0
  557. package/dist/pactile/verification/types.d.ts +72 -0
  558. package/dist/pactile/verification/types.d.ts.map +1 -0
  559. package/dist/pactile/verification/types.js +21 -0
  560. package/dist/pactile/verification/types.js.map +1 -0
  561. package/dist/pactile/worktree/git-probe.d.ts +32 -0
  562. package/dist/pactile/worktree/git-probe.d.ts.map +1 -0
  563. package/dist/pactile/worktree/git-probe.js +336 -0
  564. package/dist/pactile/worktree/git-probe.js.map +1 -0
  565. package/dist/pactile/worktree/git-removal.d.ts +3 -0
  566. package/dist/pactile/worktree/git-removal.d.ts.map +1 -0
  567. package/dist/pactile/worktree/git-removal.js +11 -0
  568. package/dist/pactile/worktree/git-removal.js.map +1 -0
  569. package/dist/pactile/worktree/index.d.ts +2 -0
  570. package/dist/pactile/worktree/index.d.ts.map +1 -0
  571. package/dist/pactile/worktree/index.js +2 -0
  572. package/dist/pactile/worktree/index.js.map +1 -0
  573. package/dist/pactile/worktree/integration-evidence.d.ts +80 -0
  574. package/dist/pactile/worktree/integration-evidence.d.ts.map +1 -0
  575. package/dist/pactile/worktree/integration-evidence.js +166 -0
  576. package/dist/pactile/worktree/integration-evidence.js.map +1 -0
  577. package/dist/pactile/worktree/manager-core.d.ts +50 -0
  578. package/dist/pactile/worktree/manager-core.d.ts.map +1 -0
  579. package/dist/pactile/worktree/manager-core.js +359 -0
  580. package/dist/pactile/worktree/manager-core.js.map +1 -0
  581. package/dist/pactile/worktree/manager-provenance.d.ts +32 -0
  582. package/dist/pactile/worktree/manager-provenance.d.ts.map +1 -0
  583. package/dist/pactile/worktree/manager-provenance.js +409 -0
  584. package/dist/pactile/worktree/manager-provenance.js.map +1 -0
  585. package/dist/pactile/worktree/manager-types.d.ts +84 -0
  586. package/dist/pactile/worktree/manager-types.d.ts.map +1 -0
  587. package/dist/pactile/worktree/manager-types.js +11 -0
  588. package/dist/pactile/worktree/manager-types.js.map +1 -0
  589. package/dist/pactile/worktree/manager.d.ts +10 -0
  590. package/dist/pactile/worktree/manager.d.ts.map +1 -0
  591. package/dist/pactile/worktree/manager.js +6 -0
  592. package/dist/pactile/worktree/manager.js.map +1 -0
  593. package/dist/pactile/worktree/run-workspace-cleanup.d.ts +10 -0
  594. package/dist/pactile/worktree/run-workspace-cleanup.d.ts.map +1 -0
  595. package/dist/pactile/worktree/run-workspace-cleanup.js +695 -0
  596. package/dist/pactile/worktree/run-workspace-cleanup.js.map +1 -0
  597. package/dist/pactile/worktree/run-workspace-lifecycle.d.ts +65 -0
  598. package/dist/pactile/worktree/run-workspace-lifecycle.d.ts.map +1 -0
  599. package/dist/pactile/worktree/run-workspace-lifecycle.js +276 -0
  600. package/dist/pactile/worktree/run-workspace-lifecycle.js.map +1 -0
  601. package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-hooks.md +1 -1
  602. package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/generated-files.md +1 -1
  603. package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/hooks-and-settings.md +1 -1
  604. package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/overview.md +1 -1
  605. package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/platform-map.md +1 -1
  606. package/dist/templates/common/bundled-skills/smart-search-cli/SKILL.md +2 -0
  607. package/dist/templates/common/skills/brainstorm.md +19 -13
  608. package/dist/templates/markdown/agents.md +2 -2
  609. package/dist/templates/markdown/framework/execution-strategy.md.txt +1 -1
  610. package/dist/templates/markdown/framework/index.md.txt +1 -1
  611. package/dist/templates/markdown/framework/parallel-first-execution.md.txt +17 -105
  612. package/dist/templates/markdown/framework/prd-grill-frontier.md.txt +3 -3
  613. package/dist/templates/markdown/framework/release-boundary.md.txt +9 -10
  614. package/dist/templates/markdown/framework/retrieval-daily-guide.md.txt +1 -1
  615. package/dist/templates/pactile/CONTEXT.md +48 -36
  616. package/dist/templates/pactile/modules/approval-personal/contract.md +12 -24
  617. package/dist/templates/pactile/modules/close-basic/contract.md +15 -18
  618. package/dist/templates/pactile/modules/debug-recovery/contract.md +4 -4
  619. package/dist/templates/pactile/modules/define-basic/contract.md +15 -19
  620. package/dist/templates/pactile/modules/define-extended/contract.md +3 -3
  621. package/dist/templates/pactile/modules/execute-agent/contract.md +11 -19
  622. package/dist/templates/pactile/modules/intake-basic/contract.md +16 -13
  623. package/dist/templates/pactile/modules/verify-basic/contract.md +11 -20
  624. package/dist/templates/pactile/tasks/templates/release-execution/design.md +5 -5
  625. package/dist/templates/pactile/tasks/templates/release-readiness/design.md +6 -6
  626. package/dist/templates/pactile/tasks/templates/release-readiness/handoff-template.md +8 -2
  627. package/dist/templates/pactile/workflow.md +37 -41
  628. package/dist/templates/template-utils.d.ts +1 -2
  629. package/dist/templates/template-utils.d.ts.map +1 -1
  630. package/dist/templates/template-utils.js +2 -13
  631. package/dist/templates/template-utils.js.map +1 -1
  632. package/dist/types/ai-tools.d.ts +1 -1
  633. package/dist/types/ai-tools.js +1 -1
  634. package/dist/utils/manifest-prune.js +1 -1
  635. package/dist/utils/manifest-prune.js.map +1 -1
  636. package/dist/utils/p36-upgrade.d.ts +2 -2
  637. package/dist/utils/p36-upgrade.d.ts.map +1 -1
  638. package/dist/utils/p36-upgrade.js +2 -10
  639. package/dist/utils/p36-upgrade.js.map +1 -1
  640. package/dist/utils/post-update-smoke.js +1 -1
  641. package/dist/utils/post-update-smoke.js.map +1 -1
  642. package/dist/utils/readiness.d.ts +2 -2
  643. package/dist/utils/readiness.js +2 -2
  644. package/dist/utils/uninstall-scrubbers.js +1 -1
  645. package/dist/utils/workflow-dir.d.ts +1 -1
  646. package/dist/utils/workflow-dir.d.ts.map +1 -1
  647. package/dist/utils/workflow-dir.js +1 -1
  648. package/dist/utils/workflow-dir.js.map +1 -1
  649. package/package.json +42 -37
  650. package/CHANGELOG.md +0 -651
  651. package/bin/compat-warning.js +0 -11
  652. package/bin/pactile.js +0 -3
  653. package/bin/smart-search.js +0 -38
  654. package/dist/migrations/manifests/0.1.0.json +0 -9
  655. package/dist/migrations/manifests/0.1.1.json +0 -9
  656. package/dist/migrations/manifests/0.1.2.json +0 -9
  657. package/dist/migrations/manifests/0.1.3.json +0 -9
  658. package/dist/migrations/manifests/0.1.4.json +0 -9
  659. package/dist/migrations/manifests/0.2.1.json +0 -9
  660. package/dist/migrations/manifests/0.2.10.json +0 -374
  661. package/dist/migrations/manifests/0.2.2.json +0 -9
  662. package/dist/migrations/manifests/0.2.3.json +0 -9
  663. package/dist/migrations/manifests/0.2.4.json +0 -9
  664. package/dist/migrations/manifests/0.2.5.json +0 -9
  665. package/dist/migrations/manifests/0.2.6.json +0 -9
  666. package/dist/migrations/manifests/0.2.7.json +0 -9
  667. package/dist/migrations/manifests/0.2.8.json +0 -9
  668. package/dist/migrations/manifests/0.2.9.json +0 -9
  669. package/dist/migrations/manifests/0.3.0.json +0 -89
  670. package/dist/migrations/manifests/0.3.1.json +0 -32
  671. package/dist/migrations/manifests/0.3.2.json +0 -16
  672. package/dist/migrations/manifests/0.3.3.json +0 -9
  673. package/dist/migrations/manifests/0.3.4.json +0 -9
  674. package/dist/migrations/manifests/0.3.5.json +0 -9
  675. package/dist/migrations/manifests/0.3.6.json +0 -9
  676. package/dist/migrations/manifests/0.4.0.json +0 -9
  677. package/dist/migrations/manifests/0.4.1.json +0 -9
  678. package/dist/migrations/manifests/0.4.2.json +0 -9
  679. package/dist/migrations/manifests/0.4.3.json +0 -9
  680. package/dist/migrations/manifests/0.5.0-beta.0.json +0 -9
  681. package/dist/migrations/manifests/0.5.0-beta.1.json +0 -9
  682. package/dist/migrations/manifests/0.5.0-beta.2.json +0 -9
  683. package/dist/migrations/manifests/0.5.0-beta.3.json +0 -9
  684. package/dist/migrations/manifests/0.5.0-beta.4.json +0 -9
  685. package/dist/migrations/manifests/0.5.0-beta.5.json +0 -9
  686. package/dist/migrations/manifests/0.5.0.json +0 -9
  687. package/dist/pactile/compat/retired-alternate-client.d.ts +0 -42
  688. package/dist/pactile/compat/retired-alternate-client.d.ts.map +0 -1
  689. package/dist/pactile/compat/retired-alternate-client.js +0 -153
  690. package/dist/pactile/compat/retired-alternate-client.js.map +0 -1
  691. package/dist/pactile/compat/update-residue.d.ts +0 -4
  692. package/dist/pactile/compat/update-residue.d.ts.map +0 -1
  693. package/dist/pactile/compat/update-residue.js +0 -55
  694. package/dist/pactile/compat/update-residue.js.map +0 -1
  695. package/dist/utils/cursor-retrieval-env.d.ts +0 -17
  696. package/dist/utils/cursor-retrieval-env.d.ts.map +0 -1
  697. package/dist/utils/cursor-retrieval-env.js +0 -19
  698. package/dist/utils/cursor-retrieval-env.js.map +0 -1
  699. package/dist/utils/proxy.d.ts +0 -25
  700. package/dist/utils/proxy.d.ts.map +0 -1
  701. package/dist/utils/proxy.js +0 -60
  702. package/dist/utils/proxy.js.map +0 -1
  703. package/scripts/postinstall.js +0 -6
@@ -0,0 +1,400 @@
1
+ import { createHash } from "node:crypto";
2
+ import { VERIFICATION_CANDIDATE_ENTRY_REF, verifyGitCandidateObservation, } from "./git-observer.js";
3
+ export const VERIFICATION_RECEIPT_SOURCE = "pactile-verification-receipt-v1";
4
+ const SHA256_RE = /^[a-f0-9]{64}$/;
5
+ const CHECK_RESULT_OUTCOMES = [
6
+ "passed",
7
+ "failed",
8
+ "blocked",
9
+ "not-run",
10
+ "skipped",
11
+ ];
12
+ export class VerificationReceiptError extends Error {
13
+ code;
14
+ constructor(code, message) {
15
+ super(message);
16
+ this.name = "VerificationReceiptError";
17
+ this.code = code;
18
+ }
19
+ }
20
+ function stableJson(value) {
21
+ if (value === null ||
22
+ typeof value === "string" ||
23
+ typeof value === "number" ||
24
+ typeof value === "boolean") {
25
+ const serialized = JSON.stringify(value);
26
+ if (serialized === undefined)
27
+ throw new VerificationReceiptError("invalid-result", "Receipt contains an unserializable value.");
28
+ return serialized;
29
+ }
30
+ if (Array.isArray(value))
31
+ return `[${value.map(stableJson).join(",")}]`;
32
+ if (typeof value === "object") {
33
+ const record = value;
34
+ return `{${Object.keys(record)
35
+ .sort()
36
+ .map((key) => `${JSON.stringify(key)}:${stableJson(record[key])}`)
37
+ .join(",")}}`;
38
+ }
39
+ throw new VerificationReceiptError("invalid-result", "Receipt contains a value that cannot be serialized as stable JSON.");
40
+ }
41
+ function fingerprint(value) {
42
+ return createHash("sha256").update(stableJson(value)).digest("hex");
43
+ }
44
+ function requireText(value, field) {
45
+ if (typeof value !== "string" ||
46
+ value.length === 0 ||
47
+ value !== value.trim()) {
48
+ throw new VerificationReceiptError("invalid-plan", `${field} must be a non-empty trimmed string.`);
49
+ }
50
+ return value;
51
+ }
52
+ function copyPlan(plan) {
53
+ if (plan?.schemaVersion !== 1 ||
54
+ plan.algorithm !== "risk-weighted-independent-behavior-v1" ||
55
+ !plan.impact ||
56
+ !Array.isArray(plan.impact.changedSurfaces) ||
57
+ !Array.isArray(plan.impact.risks) ||
58
+ !Array.isArray(plan.goals) ||
59
+ !Array.isArray(plan.selected) ||
60
+ !Array.isArray(plan.skipped) ||
61
+ !Array.isArray(plan.uncoveredGoals) ||
62
+ (plan.coverageStatus !== "covered" &&
63
+ plan.coverageStatus !== "missing-public-behavior-evidence")) {
64
+ throw new VerificationReceiptError("invalid-plan", "Verification plan has an unsupported or incomplete schema.");
65
+ }
66
+ const expectedCoverage = plan.uncoveredGoals.length === 0
67
+ ? "covered"
68
+ : "missing-public-behavior-evidence";
69
+ if (plan.coverageStatus !== expectedCoverage) {
70
+ throw new VerificationReceiptError("invalid-plan", "Verification plan coverage status does not match its uncovered goals.");
71
+ }
72
+ const ids = new Set();
73
+ const selected = plan.selected.map((entry) => {
74
+ const checkId = requireText(entry.checkId, "selected.checkId");
75
+ const title = requireText(entry.title, `selected.${checkId}.title`);
76
+ if (!Array.isArray(entry.coversGoalIds)) {
77
+ throw new VerificationReceiptError("invalid-plan", `Selected check ${checkId} has invalid goal references.`);
78
+ }
79
+ const coversGoalIds = entry.coversGoalIds.map((goalId) => requireText(goalId, `selected.${checkId}.coversGoalIds`));
80
+ if (ids.has(checkId))
81
+ throw new VerificationReceiptError("invalid-plan", `Duplicate check in plan: ${checkId}.`);
82
+ ids.add(checkId);
83
+ if (entry.reason === "required-by-policy") {
84
+ if (!Array.isArray(entry.requiredBy) || entry.requiredBy.length === 0) {
85
+ throw new VerificationReceiptError("invalid-plan", `Required check ${checkId} has no policy declaration.`);
86
+ }
87
+ return {
88
+ checkId,
89
+ title,
90
+ reason: "required-by-policy",
91
+ requiredBy: entry.requiredBy.map((source) => requireText(source, `selected.${checkId}.requiredBy`)),
92
+ coversGoalIds,
93
+ };
94
+ }
95
+ if (entry.reason !== "highest-value-uncovered-behavior") {
96
+ throw new VerificationReceiptError("invalid-plan", `Selected check ${checkId} has an invalid reason.`);
97
+ }
98
+ if (entry.requiredBy !== undefined) {
99
+ throw new VerificationReceiptError("invalid-plan", `Behavior check ${checkId} cannot declare required CI sources.`);
100
+ }
101
+ return {
102
+ checkId,
103
+ title,
104
+ reason: "highest-value-uncovered-behavior",
105
+ coversGoalIds,
106
+ };
107
+ });
108
+ const skipped = plan.skipped.map((entry) => {
109
+ const checkId = requireText(entry.checkId, "skipped.checkId");
110
+ const title = requireText(entry.title, `skipped.${checkId}.title`);
111
+ const detail = requireText(entry.detail, `skipped.${checkId}.detail`);
112
+ if (!Array.isArray(entry.relevantGoalIds)) {
113
+ throw new VerificationReceiptError("invalid-plan", `Skipped check ${checkId} has invalid goal references.`);
114
+ }
115
+ if (ids.has(checkId))
116
+ throw new VerificationReceiptError("invalid-plan", `Duplicate check in plan: ${checkId}.`);
117
+ ids.add(checkId);
118
+ return {
119
+ checkId,
120
+ title,
121
+ reason: entry.reason,
122
+ relevantGoalIds: entry.relevantGoalIds.map((goalId) => requireText(goalId, `skipped.${checkId}.relevantGoalIds`)),
123
+ detail,
124
+ };
125
+ });
126
+ const goals = plan.goals.map((goal) => ({
127
+ id: requireText(goal.id, "goal.id"),
128
+ kind: goal.kind,
129
+ label: requireText(goal.label, "goal.label"),
130
+ }));
131
+ const uncoveredGoals = plan.uncoveredGoals.map((entry) => {
132
+ if (!Array.isArray(entry.checkIds))
133
+ throw new VerificationReceiptError("invalid-plan", "Uncovered goal has invalid check references.");
134
+ return {
135
+ goal: {
136
+ id: requireText(entry.goal.id, "uncoveredGoal.goal.id"),
137
+ kind: entry.goal.kind,
138
+ label: requireText(entry.goal.label, "uncoveredGoal.goal.label"),
139
+ },
140
+ reason: entry.reason,
141
+ checkIds: entry.checkIds.map((checkId) => requireText(checkId, "uncoveredGoal.checkIds")),
142
+ };
143
+ });
144
+ return {
145
+ schemaVersion: 1,
146
+ algorithm: plan.algorithm,
147
+ impact: {
148
+ changedSurfaces: plan.impact.changedSurfaces.map((surface) => requireText(surface, "impact.changedSurfaces")),
149
+ risks: [...plan.impact.risks],
150
+ scope: plan.impact.scope,
151
+ },
152
+ goals,
153
+ selected,
154
+ skipped,
155
+ uncoveredGoals,
156
+ coverageStatus: plan.coverageStatus,
157
+ };
158
+ }
159
+ function copyObservation(observation) {
160
+ return {
161
+ source: observation.source,
162
+ observedAt: observation.observedAt,
163
+ repositoryIdentitySha256: observation.repositoryIdentitySha256,
164
+ expectedBaseSha: observation.expectedBaseSha,
165
+ expectedBranch: observation.expectedBranch,
166
+ expectedBranchBound: observation.expectedBranchBound,
167
+ head: observation.head,
168
+ branch: observation.branch,
169
+ allowedWriteSet: {
170
+ exactPaths: [...observation.allowedWriteSet.exactPaths],
171
+ directoryPrefixes: [...observation.allowedWriteSet.directoryPrefixes],
172
+ },
173
+ stagedPaths: [...observation.stagedPaths],
174
+ unstagedPaths: [...observation.unstagedPaths],
175
+ untrackedPaths: [...observation.untrackedPaths],
176
+ conflictPaths: [...observation.conflictPaths],
177
+ committedPaths: [...observation.committedPaths],
178
+ affectedPaths: [...observation.affectedPaths],
179
+ inScopePaths: [...observation.inScopePaths],
180
+ outOfScopePaths: [...observation.outOfScopePaths],
181
+ currentFiles: observation.currentFiles.map((entry) => ({ ...entry })),
182
+ indexDiffSha256: observation.indexDiffSha256,
183
+ worktreeDiffSha256: observation.worktreeDiffSha256,
184
+ statusSha256: observation.statusSha256,
185
+ scopeStatus: observation.scopeStatus,
186
+ fingerprint: observation.fingerprint,
187
+ };
188
+ }
189
+ function verifyP35CandidateBinding(run, observation) {
190
+ if (run.state !== "completed" || run.candidateSnapshot === null) {
191
+ throw new VerificationReceiptError("run-incomplete", "A verification receipt requires a completed P35 Run with a frozen candidate snapshot.");
192
+ }
193
+ const candidate = run.candidateSnapshot;
194
+ if (!SHA256_RE.test(candidate.fingerprint)) {
195
+ throw new VerificationReceiptError("candidate-not-bound", "P35 candidate snapshot fingerprint is invalid.");
196
+ }
197
+ const matchingEntries = candidate.entries.filter((entry) => entry.ref === VERIFICATION_CANDIDATE_ENTRY_REF);
198
+ if (matchingEntries.length !== 1 ||
199
+ matchingEntries[0]?.fingerprint !== observation.fingerprint) {
200
+ throw new VerificationReceiptError("candidate-not-bound", "P35 candidate snapshot must include exactly one matching Git observation entry.");
201
+ }
202
+ return candidate;
203
+ }
204
+ function normalizeResults(plan, inputResults) {
205
+ const expected = new Map();
206
+ for (const entry of plan.selected)
207
+ expected.set(entry.checkId, "selected");
208
+ for (const entry of plan.skipped)
209
+ expected.set(entry.checkId, "skipped");
210
+ const provided = new Map();
211
+ for (const result of inputResults) {
212
+ const checkId = requireText(result.checkId, "result.checkId");
213
+ if (provided.has(checkId) || !expected.has(checkId)) {
214
+ throw new VerificationReceiptError("result-set-mismatch", `Unexpected or duplicate verification result: ${checkId}.`);
215
+ }
216
+ if (!CHECK_RESULT_OUTCOMES.includes(result.outcome)) {
217
+ throw new VerificationReceiptError("invalid-result", `Unsupported result outcome for ${checkId}.`);
218
+ }
219
+ const kind = expected.get(checkId);
220
+ if (kind === "selected" && result.outcome === "skipped") {
221
+ throw new VerificationReceiptError("invalid-result", `Selected check ${checkId} cannot be recorded as skipped.`);
222
+ }
223
+ if (kind === "skipped" && result.outcome !== "skipped") {
224
+ throw new VerificationReceiptError("invalid-result", `Unselected check ${checkId} must retain its plan skip decision.`);
225
+ }
226
+ if (["passed", "failed", "blocked"].includes(result.outcome)) {
227
+ if (typeof result.evidenceRef !== "string" ||
228
+ result.evidenceRef.trim().length === 0 ||
229
+ result.evidenceRef !== result.evidenceRef.trim()) {
230
+ throw new VerificationReceiptError("invalid-result", `Executed check ${checkId} requires a stable evidence reference.`);
231
+ }
232
+ }
233
+ else if (result.evidenceRef !== undefined) {
234
+ throw new VerificationReceiptError("invalid-result", `Check ${checkId} cannot attach execution evidence to ${result.outcome}.`);
235
+ }
236
+ if (result.summary !== undefined &&
237
+ (result.summary.trim().length === 0 ||
238
+ result.summary !== result.summary.trim() ||
239
+ result.summary.length > 1_000)) {
240
+ throw new VerificationReceiptError("invalid-result", `Summary for ${checkId} must be trimmed and at most 1000 characters.`);
241
+ }
242
+ provided.set(checkId, {
243
+ checkId,
244
+ outcome: result.outcome,
245
+ ...(result.evidenceRef === undefined
246
+ ? {}
247
+ : { evidenceRef: result.evidenceRef }),
248
+ ...(result.summary === undefined ? {} : { summary: result.summary }),
249
+ });
250
+ }
251
+ if (provided.size !== expected.size) {
252
+ const missing = [...expected.keys()].filter((checkId) => !provided.has(checkId));
253
+ throw new VerificationReceiptError("result-set-mismatch", `Missing results for: ${missing.join(", ")}.`);
254
+ }
255
+ return [...plan.selected, ...plan.skipped].map((entry) => {
256
+ const result = provided.get(entry.checkId);
257
+ if (result === undefined)
258
+ throw new VerificationReceiptError("result-set-mismatch", `Missing result for ${entry.checkId}.`);
259
+ return result;
260
+ });
261
+ }
262
+ function receiptOutcome(plan, results) {
263
+ if (results.some((result) => result.outcome === "failed"))
264
+ return "failed";
265
+ if (results.some((result) => result.outcome === "blocked"))
266
+ return "blocked";
267
+ if (plan.coverageStatus !== "covered" ||
268
+ results.some((result) => result.outcome === "not-run")) {
269
+ return "incomplete";
270
+ }
271
+ return "passed";
272
+ }
273
+ function receiptBody(receipt) {
274
+ return receipt;
275
+ }
276
+ /** Build a P35-bound receipt only after its candidate snapshot includes the observer entry. */
277
+ export function createVerificationReceipt(input) {
278
+ if (!verifyGitCandidateObservation(input.observation) ||
279
+ input.observation.scopeStatus !== "within-write-set") {
280
+ throw new VerificationReceiptError("invalid-observation", "Only an intact, in-write-set Git observation can back a verification receipt.");
281
+ }
282
+ const plan = copyPlan(input.plan);
283
+ const recordedAt = requireText(input.recordedAt, "recordedAt");
284
+ const parsedRecordedAt = new Date(recordedAt);
285
+ if (Number.isNaN(parsedRecordedAt.valueOf()) ||
286
+ parsedRecordedAt.toISOString() !== recordedAt) {
287
+ throw new VerificationReceiptError("invalid-recorded-at", "recordedAt must be an ISO timestamp with milliseconds and a Z suffix.");
288
+ }
289
+ const candidate = verifyP35CandidateBinding(input.run, input.observation);
290
+ const results = normalizeResults(plan, input.results);
291
+ const body = {
292
+ schemaVersion: 1,
293
+ source: VERIFICATION_RECEIPT_SOURCE,
294
+ recordedAt,
295
+ binding: {
296
+ taskId: requireText(input.run.taskId, "run.taskId"),
297
+ runId: requireText(input.run.id, "run.id"),
298
+ candidateSnapshotId: requireText(candidate.id, "candidateSnapshot.id"),
299
+ candidateFingerprint: candidate.fingerprint,
300
+ observationFingerprint: input.observation.fingerprint,
301
+ },
302
+ observation: copyObservation(input.observation),
303
+ plan,
304
+ results,
305
+ outcome: receiptOutcome(plan, results),
306
+ };
307
+ return { ...body, fingerprint: fingerprint(receiptBody(body)) };
308
+ }
309
+ function requiredCiEntries(plan) {
310
+ return plan.selected.filter((entry) => entry.reason === "required-by-policy");
311
+ }
312
+ /** Derived view: policy declarations remain sourced from plan.selected. */
313
+ export function listRequiredCiReceiptResults(receipt) {
314
+ return requiredCiEntries(receipt.plan).map((entry) => {
315
+ const result = receipt.results.find((candidate) => candidate.checkId === entry.checkId);
316
+ if (result === undefined || entry.requiredBy === undefined) {
317
+ throw new VerificationReceiptError("receipt-integrity-mismatch", `Required CI result is missing for ${entry.checkId}.`);
318
+ }
319
+ return {
320
+ checkId: entry.checkId,
321
+ requiredBy: [...entry.requiredBy],
322
+ outcome: result.outcome,
323
+ evidenceRef: result.evidenceRef ?? null,
324
+ };
325
+ });
326
+ }
327
+ /** Stable JSON bytes for persistence by a later task/CLI integration. */
328
+ export function serializeVerificationReceipt(receipt) {
329
+ if (!verifyVerificationReceiptIntegrity(receipt)) {
330
+ throw new VerificationReceiptError("receipt-integrity-mismatch", "Verification receipt fingerprint does not match its contents.");
331
+ }
332
+ return stableJson(receipt);
333
+ }
334
+ export function verifyVerificationReceiptIntegrity(receipt) {
335
+ try {
336
+ if (receipt.schemaVersion !== 1 ||
337
+ receipt.source !== VERIFICATION_RECEIPT_SOURCE ||
338
+ !SHA256_RE.test(receipt.fingerprint))
339
+ return false;
340
+ const { fingerprint: storedFingerprint, ...body } = receipt;
341
+ return fingerprint(receiptBody(body)) === storedFingerprint;
342
+ }
343
+ catch {
344
+ return false;
345
+ }
346
+ }
347
+ /** Compare both the P35 snapshot identity and current Git/file observation. */
348
+ export function assessVerificationReceiptFreshness(input) {
349
+ const { receipt, currentRun, currentObservation } = input;
350
+ const currentCandidate = currentRun.candidateSnapshot;
351
+ const reasonCodes = [];
352
+ if (!verifyVerificationReceiptIntegrity(receipt)) {
353
+ return {
354
+ status: "invalid-receipt",
355
+ reasonCodes: ["receipt-integrity-mismatch"],
356
+ receiptFingerprint: receipt.fingerprint,
357
+ currentCandidateFingerprint: currentCandidate?.fingerprint ?? null,
358
+ currentObservationFingerprint: currentObservation.fingerprint,
359
+ };
360
+ }
361
+ if (currentRun.state !== "completed")
362
+ reasonCodes.push("run-not-completed");
363
+ if (currentRun.taskId !== receipt.binding.taskId)
364
+ reasonCodes.push("task-id-mismatch");
365
+ if (currentRun.id !== receipt.binding.runId)
366
+ reasonCodes.push("run-id-mismatch");
367
+ if (currentCandidate === null) {
368
+ reasonCodes.push("candidate-snapshot-missing");
369
+ }
370
+ else {
371
+ if (currentCandidate.id !== receipt.binding.candidateSnapshotId)
372
+ reasonCodes.push("candidate-snapshot-id-mismatch");
373
+ if (currentCandidate.fingerprint !== receipt.binding.candidateFingerprint)
374
+ reasonCodes.push("candidate-fingerprint-mismatch");
375
+ const observerEntries = currentCandidate.entries.filter((entry) => entry.ref === VERIFICATION_CANDIDATE_ENTRY_REF);
376
+ if (observerEntries.length !== 1 ||
377
+ observerEntries[0]?.fingerprint !== receipt.binding.observationFingerprint) {
378
+ reasonCodes.push("candidate-observer-entry-mismatch");
379
+ }
380
+ }
381
+ if (!verifyGitCandidateObservation(currentObservation))
382
+ reasonCodes.push("current-observation-invalid");
383
+ if (currentObservation.scopeStatus !== "within-write-set")
384
+ reasonCodes.push("current-observation-not-eligible");
385
+ if (currentObservation.repositoryIdentitySha256 !==
386
+ receipt.observation.repositoryIdentitySha256) {
387
+ reasonCodes.push("repository-identity-mismatch");
388
+ }
389
+ if (currentObservation.fingerprint !== receipt.binding.observationFingerprint) {
390
+ reasonCodes.push("observation-fingerprint-mismatch");
391
+ }
392
+ return {
393
+ status: reasonCodes.length === 0 ? "current" : "stale",
394
+ reasonCodes,
395
+ receiptFingerprint: receipt.fingerprint,
396
+ currentCandidateFingerprint: currentCandidate?.fingerprint ?? null,
397
+ currentObservationFingerprint: currentObservation.fingerprint,
398
+ };
399
+ }
400
+ //# sourceMappingURL=receipt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receipt.js","sourceRoot":"","sources":["../../../src/pactile/verification/receipt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,EAEL,gCAAgC,EAChC,6BAA6B,GAK9B,MAAM,mBAAmB,CAAC;AAO3B,MAAM,CAAC,MAAM,2BAA2B,GACtC,iCAA0C,CAAC;AAE7C,MAAM,SAAS,GAAG,gBAAgB,CAAC;AACnC,MAAM,qBAAqB,GAAG;IAC5B,QAAQ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e,CAAC,CAAC,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,sBAAsB,EAC1E,CAAC;YACD,WAAW,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;IACD,IAAI,CAAC,6BAA6B,CAAC,kBAAkB,CAAC;QACpD,WAAW,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;IAClD,IAAI,kBAAkB,CAAC,WAAW,KAAK,kBAAkB;QACvD,WAAW,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;IACvD,IACE,kBAAkB,CAAC,wBAAwB;QAC3C,OAAO,CAAC,WAAW,CAAC,wBAAwB,EAC5C,CAAC;QACD,WAAW,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACnD,CAAC;IACD,IACE,kBAAkB,CAAC,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,sBAAsB,EACzE,CAAC;QACD,WAAW,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;IACvD,CAAC;IACD,OAAO;QACL,MAAM,EAAE,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO;QACtD,WAAW;QACX,kBAAkB,EAAE,OAAO,CAAC,WAAW;QACvC,2BAA2B,EAAE,gBAAgB,EAAE,WAAW,IAAI,IAAI;QAClE,6BAA6B,EAAE,kBAAkB,CAAC,WAAW;KAC9D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,72 @@
1
+ /** Semantic risk signals supplied by the change author or a trusted change analyzer. */
2
+ export declare const VERIFICATION_RISKS: readonly ["public-contract", "migration", "release", "permission-boundary", "data-egress"];
3
+ export type VerificationRisk = (typeof VERIFICATION_RISKS)[number];
4
+ export declare const VERIFICATION_SCOPES: readonly ["single-area", "cross-module", "repository-wide"];
5
+ export type VerificationScope = (typeof VERIFICATION_SCOPES)[number];
6
+ export interface VerificationImpact {
7
+ /** Semantic product/API seams changed, not a mechanically derived file list. */
8
+ readonly changedSurfaces: readonly string[];
9
+ readonly risks: readonly VerificationRisk[];
10
+ readonly scope: VerificationScope;
11
+ }
12
+ export declare const BEHAVIOR_CHECK_MODES: readonly ["focused", "integration", "migration", "release", "full-suite"];
13
+ export type BehaviorCheckMode = (typeof BEHAVIOR_CHECK_MODES)[number];
14
+ export interface BehaviorVerificationCheck {
15
+ readonly kind: "behavior";
16
+ readonly id: string;
17
+ readonly title: string;
18
+ readonly mode: BehaviorCheckMode;
19
+ /** Only independently asserted public outcomes can satisfy behavior goals. */
20
+ readonly evidence: "independent-public-behavior" | "implementation-mirror";
21
+ readonly coversRisks: readonly VerificationRisk[];
22
+ /** Cross-module coverage must match at least one impacted behavior surface. */
23
+ readonly coversSurfaces: readonly string[];
24
+ }
25
+ export interface RequiredPolicyCheck {
26
+ readonly kind: "policy-ci";
27
+ readonly id: string;
28
+ readonly title: string;
29
+ readonly requiredBy: readonly string[];
30
+ }
31
+ export type VerificationCheck = BehaviorVerificationCheck | RequiredPolicyCheck;
32
+ export interface VerificationGoal {
33
+ readonly id: string;
34
+ readonly kind: "surface" | "risk" | "scope";
35
+ readonly label: string;
36
+ }
37
+ export type VerificationDecisionReason = "required-by-policy" | "highest-value-uncovered-behavior" | "implementation-mirror" | "optional-policy-ci" | "no-relevant-goal" | "broad-check-not-warranted" | "already-covered";
38
+ export interface SelectedVerificationCheck {
39
+ readonly checkId: string;
40
+ readonly title: string;
41
+ readonly reason: "required-by-policy" | "highest-value-uncovered-behavior";
42
+ /** Goals this check contributed when it was selected. */
43
+ readonly coversGoalIds: readonly string[];
44
+ readonly requiredBy?: readonly string[];
45
+ }
46
+ export interface SkippedVerificationCheck {
47
+ readonly checkId: string;
48
+ readonly title: string;
49
+ readonly reason: Exclude<VerificationDecisionReason, "required-by-policy" | "highest-value-uncovered-behavior">;
50
+ readonly relevantGoalIds: readonly string[];
51
+ readonly detail: string;
52
+ }
53
+ export interface UncoveredVerificationGoal {
54
+ readonly goal: VerificationGoal;
55
+ readonly reason: "no-registered-public-behavior-check" | "only-implementation-mirror" | "only-broader-check-not-warranted";
56
+ readonly checkIds: readonly string[];
57
+ }
58
+ /**
59
+ * A deterministic selection proposal. It is not an execution receipt, candidate
60
+ * fingerprint, freshness claim, or Close authorization.
61
+ */
62
+ export interface VerificationPlan {
63
+ readonly schemaVersion: 1;
64
+ readonly algorithm: "risk-weighted-independent-behavior-v1";
65
+ readonly impact: VerificationImpact;
66
+ readonly goals: readonly VerificationGoal[];
67
+ readonly selected: readonly SelectedVerificationCheck[];
68
+ readonly skipped: readonly SkippedVerificationCheck[];
69
+ readonly uncoveredGoals: readonly UncoveredVerificationGoal[];
70
+ readonly coverageStatus: "covered" | "missing-public-behavior-evidence";
71
+ }
72
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/pactile/verification/types.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,eAAO,MAAM,kBAAkB,4FAMrB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnE,eAAO,MAAM,mBAAmB,6DAItB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,MAAM,WAAW,kBAAkB;IACjC,gFAAgF;IAChF,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAC;CACnC;AAED,eAAO,MAAM,oBAAoB,2EAMvB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE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U,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,OAAO,CACtB,0BAA0B,EAC1B,oBAAoB,GAAG,kCAAkC,CAC1D,CAAC;IACF,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChC,QAAQ,CAAC,MAAM,EACX,qCAAqC,GACrC,4BAA4B,GAC5B,kCAAkC,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,uCAAuC,CAAC;IAC5D,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC5C,QAAQ,CAAC,QAAQ,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACxD,QAAQ,CAAC,OAAO,EAAE,SAAS,wBAAwB,EAAE,CAAC;IACtD,QAAQ,CAAC,cAAc,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC9D,QAAQ,CAAC,cAAc,EAAE,SAAS,GAAG,kCAAkC,CAAC;CACzE"}
@@ -0,0 +1,21 @@
1
+ /** Semantic risk signals supplied by the change author or a trusted change analyzer. */
2
+ export const VERIFICATION_RISKS = [
3
+ "public-contract",
4
+ "migration",
5
+ "release",
6
+ "permission-boundary",
7
+ "data-egress",
8
+ ];
9
+ export const VERIFICATION_SCOPES = [
10
+ "single-area",
11
+ "cross-module",
12
+ "repository-wide",
13
+ ];
14
+ export const BEHAVIOR_CHECK_MODES = [
15
+ "focused",
16
+ "integration",
17
+ "migration",
18
+ "release",
19
+ "full-suite",
20
+ ];
21
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/pactile/verification/types.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,iBAAiB;IACjB,WAAW;IACX,SAAS;IACT,qBAAqB;IACrB,aAAa;CACL,CAAC;AAIX,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,aAAa;IACb,cAAc;IACd,iBAAiB;CACT,CAAC;AAWX,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,SAAS;IACT,aAAa;IACb,WAAW;IACX,SAAS;IACT,YAAY;CACJ,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { type GitIdentity, type GitWorktreeRegistration, type WorkspaceOwnerRef } from "./manager-types.js";
2
+ export interface GitTreePathEntry {
3
+ path: string;
4
+ mode: string;
5
+ type: "blob" | "commit";
6
+ objectId: string;
7
+ }
8
+ export declare function git(cwd: string, args: string[]): string;
9
+ export declare function pathKey(value: string): string;
10
+ export declare function pathWithin(parent: string, candidate: string, allowEqual?: boolean): boolean;
11
+ export declare function assertRunId(runId: string): void;
12
+ export declare function repoIdentity(repoRoot: string): GitIdentity;
13
+ export declare function allowedWorktreeRoot(root: string): string;
14
+ export declare function assertNoSymlinkBetween(root: string, target: string): void;
15
+ export declare function ensureAllowedRoot(identity: GitIdentity): string;
16
+ export declare function assertAllowedPath(identity: GitIdentity, candidateValue: string): string;
17
+ export declare function verifyLinkedGitDirectory(candidate: string, commonDir: string): string;
18
+ export declare function resolveCommit(cwd: string, reference: string): string;
19
+ export declare function resolveLocalBranchTarget(cwd: string, reference: string): {
20
+ ref: string;
21
+ branch: string;
22
+ headSha: string;
23
+ };
24
+ export declare function validateSha(sha: string): string;
25
+ export declare function branchRef(cwd: string, branch: string): string;
26
+ export declare function registrations(identity: GitIdentity): GitWorktreeRegistration[];
27
+ export declare function worktreeStatus(cwd: string): string[];
28
+ export declare function changedPaths(cwd: string, baseSha: string, headSha: string): string[];
29
+ export declare function treePathEntries(cwd: string, treeish: string, paths: readonly string[]): GitTreePathEntry[];
30
+ export declare function isAncestor(cwd: string, ancestor: string, descendant: string): boolean;
31
+ export declare function ownerConflict(canonicalPath: string, ownerRunId: string, knownOwners: readonly WorkspaceOwnerRef[]): boolean;
32
+ //# sourceMappingURL=git-probe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-probe.d.ts","sourceRoot":"","sources":["../../../src/pactile/worktree/git-probe.ts"],"names":[],"mappings":"AAKA,OAAO,EAAwB,KAAK,WAAW,EAAE,KAAK,uBAAuB,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAMlI,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAYvD;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAG7C;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,UAAQ,GAAG,OAAO,CAIzF;AAqCD,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAI/C;AAGD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAiB1D;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,wBAAgB,sBAAsB,CAAC,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