pi-daddy 0.28.0 → 0.32.1

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 (1012) hide show
  1. package/CHANGELOG.md +108 -124
  2. package/README.md +18 -896
  3. package/THIRD_PARTY_NOTICES.md +1 -1
  4. package/contracts/ledger-record/v1/README.md +44 -0
  5. package/contracts/ledger-record/v1/fixtures/child-lifecycle.json +45 -0
  6. package/contracts/ledger-record/v1/fixtures/ledger-record.jsonl +3 -0
  7. package/contracts/ledger-record/v1/governance-event.schema.json +747 -0
  8. package/contracts/ledger-record/v1/record.schema.json +91 -0
  9. package/dist/cli.d.ts +10 -4
  10. package/dist/cli.d.ts.map +1 -1
  11. package/dist/cli.js +120 -106
  12. package/dist/cli.js.map +1 -1
  13. package/dist/executors/activity-session.d.ts +12 -0
  14. package/dist/executors/activity-session.d.ts.map +1 -0
  15. package/dist/executors/activity-session.js +43 -0
  16. package/dist/executors/activity-session.js.map +1 -0
  17. package/dist/executors/executor.d.ts +39 -0
  18. package/dist/executors/executor.d.ts.map +1 -0
  19. package/dist/executors/executor.js +95 -0
  20. package/dist/executors/executor.js.map +1 -0
  21. package/dist/executors/herdr-cli.d.ts +78 -0
  22. package/dist/executors/herdr-cli.d.ts.map +1 -0
  23. package/dist/executors/herdr-cli.js +114 -0
  24. package/dist/executors/herdr-cli.js.map +1 -0
  25. package/dist/executors/herdr-name.d.ts.map +1 -0
  26. package/dist/executors/herdr-name.js.map +1 -0
  27. package/dist/executors/herdr-pi-lifecycle.d.ts.map +1 -0
  28. package/dist/executors/herdr-pi-lifecycle.js +22 -0
  29. package/dist/executors/herdr-pi-lifecycle.js.map +1 -0
  30. package/dist/executors/herdr-poll.d.ts +140 -0
  31. package/dist/executors/herdr-poll.d.ts.map +1 -0
  32. package/dist/executors/herdr-poll.js +252 -0
  33. package/dist/executors/herdr-poll.js.map +1 -0
  34. package/dist/executors/herdr-stage.d.ts +40 -0
  35. package/dist/executors/herdr-stage.d.ts.map +1 -0
  36. package/dist/executors/herdr-stage.js +54 -0
  37. package/dist/executors/herdr-stage.js.map +1 -0
  38. package/dist/executors/herdr-start.d.ts.map +1 -0
  39. package/dist/executors/herdr-start.js.map +1 -0
  40. package/dist/executors/native-session-target.d.ts +9 -0
  41. package/dist/executors/native-session-target.d.ts.map +1 -0
  42. package/dist/executors/native-session-target.js +30 -0
  43. package/dist/executors/native-session-target.js.map +1 -0
  44. package/dist/executors/pane-reaper.d.ts +111 -0
  45. package/dist/executors/pane-reaper.d.ts.map +1 -0
  46. package/dist/executors/pane-reaper.js +242 -0
  47. package/dist/executors/pane-reaper.js.map +1 -0
  48. package/dist/executors/process-activity.d.ts +3 -0
  49. package/dist/executors/process-activity.d.ts.map +1 -0
  50. package/dist/executors/process-activity.js +59 -0
  51. package/dist/executors/process-activity.js.map +1 -0
  52. package/dist/executors/run-herdr.d.ts +122 -0
  53. package/dist/executors/run-herdr.d.ts.map +1 -0
  54. package/dist/executors/run-herdr.js +341 -0
  55. package/dist/executors/run-herdr.js.map +1 -0
  56. package/dist/executors/vendor/herdr-pi-lifecycle.d.ts.map +1 -0
  57. package/dist/executors/vendor/herdr-pi-lifecycle.js.map +1 -0
  58. package/dist/governance/approval-prompt.d.ts +119 -0
  59. package/dist/governance/approval-prompt.d.ts.map +1 -0
  60. package/dist/governance/approval-prompt.js +133 -0
  61. package/dist/governance/approval-prompt.js.map +1 -0
  62. package/dist/governance/approval-store.d.ts +149 -0
  63. package/dist/governance/approval-store.d.ts.map +1 -0
  64. package/dist/governance/approval-store.js +309 -0
  65. package/dist/governance/approval-store.js.map +1 -0
  66. package/dist/governance/execution-retention.d.ts +90 -0
  67. package/dist/governance/execution-retention.d.ts.map +1 -0
  68. package/dist/governance/execution-retention.js +317 -0
  69. package/dist/governance/execution-retention.js.map +1 -0
  70. package/dist/governance/file-lock.d.ts.map +1 -0
  71. package/dist/governance/file-lock.js +205 -0
  72. package/dist/governance/file-lock.js.map +1 -0
  73. package/dist/governance/finalization.d.ts.map +1 -0
  74. package/dist/governance/finalization.js.map +1 -0
  75. package/dist/governance/grant-store.d.ts +96 -0
  76. package/dist/governance/grant-store.d.ts.map +1 -0
  77. package/dist/governance/grant-store.js +186 -0
  78. package/dist/governance/grant-store.js.map +1 -0
  79. package/dist/governance/init.d.ts +129 -0
  80. package/dist/governance/init.d.ts.map +1 -0
  81. package/dist/governance/init.js +360 -0
  82. package/dist/governance/init.js.map +1 -0
  83. package/dist/governance/lease-helper.d.ts.map +1 -0
  84. package/dist/governance/lease-helper.js +121 -0
  85. package/dist/governance/lease-helper.js.map +1 -0
  86. package/dist/governance/lease-record.d.ts +90 -0
  87. package/dist/governance/lease-record.d.ts.map +1 -0
  88. package/dist/governance/lease-record.js.map +1 -0
  89. package/dist/governance/ledger-events.d.ts +111 -0
  90. package/dist/governance/ledger-events.d.ts.map +1 -0
  91. package/dist/governance/ledger-events.js +129 -0
  92. package/dist/governance/ledger-events.js.map +1 -0
  93. package/dist/governance/ledger-report.d.ts +134 -0
  94. package/dist/governance/ledger-report.d.ts.map +1 -0
  95. package/dist/governance/ledger-report.js +294 -0
  96. package/dist/governance/ledger-report.js.map +1 -0
  97. package/dist/governance/ledger-v3-validation.d.ts +21 -0
  98. package/dist/governance/ledger-v3-validation.d.ts.map +1 -0
  99. package/dist/governance/ledger-v3-validation.js +353 -0
  100. package/dist/governance/ledger-v3-validation.js.map +1 -0
  101. package/dist/governance/ledger.d.ts +258 -0
  102. package/dist/governance/ledger.d.ts.map +1 -0
  103. package/dist/governance/ledger.js +201 -0
  104. package/dist/governance/ledger.js.map +1 -0
  105. package/dist/governance/native-session.d.ts +59 -0
  106. package/dist/governance/native-session.d.ts.map +1 -0
  107. package/dist/governance/native-session.js +208 -0
  108. package/dist/governance/native-session.js.map +1 -0
  109. package/dist/governance/record.d.ts +65 -0
  110. package/dist/governance/record.d.ts.map +1 -0
  111. package/dist/governance/record.js +259 -0
  112. package/dist/governance/record.js.map +1 -0
  113. package/dist/governance/retention-contract.d.ts.map +1 -0
  114. package/dist/governance/retention-contract.js +187 -0
  115. package/dist/governance/retention-contract.js.map +1 -0
  116. package/dist/governance/retention-json.d.ts.map +1 -0
  117. package/dist/governance/retention-json.js.map +1 -0
  118. package/dist/governance/workspace-lease.d.ts +40 -0
  119. package/dist/governance/workspace-lease.d.ts.map +1 -0
  120. package/dist/governance/workspace-lease.js +357 -0
  121. package/dist/governance/workspace-lease.js.map +1 -0
  122. package/dist/index.d.ts +59 -42
  123. package/dist/index.d.ts.map +1 -1
  124. package/dist/index.js +61 -42
  125. package/dist/index.js.map +1 -1
  126. package/dist/kernel/approval.d.ts +241 -0
  127. package/dist/kernel/approval.d.ts.map +1 -0
  128. package/dist/kernel/approval.js +270 -0
  129. package/dist/kernel/approval.js.map +1 -0
  130. package/dist/kernel/capabilities.d.ts +136 -0
  131. package/dist/kernel/capabilities.d.ts.map +1 -0
  132. package/dist/kernel/capabilities.js +199 -0
  133. package/dist/kernel/capabilities.js.map +1 -0
  134. package/dist/kernel/catalog.d.ts +125 -0
  135. package/dist/kernel/catalog.d.ts.map +1 -0
  136. package/dist/kernel/catalog.js +338 -0
  137. package/dist/kernel/catalog.js.map +1 -0
  138. package/dist/kernel/chain.d.ts.map +1 -0
  139. package/dist/kernel/chain.js.map +1 -0
  140. package/dist/kernel/correlation.d.ts.map +1 -0
  141. package/dist/kernel/correlation.js +267 -0
  142. package/dist/kernel/correlation.js.map +1 -0
  143. package/dist/kernel/definitions.d.ts.map +1 -0
  144. package/dist/kernel/definitions.js +164 -0
  145. package/dist/kernel/definitions.js.map +1 -0
  146. package/dist/kernel/delegate-types.d.ts +160 -0
  147. package/dist/kernel/delegate-types.d.ts.map +1 -0
  148. package/dist/kernel/delegate-types.js +9 -0
  149. package/dist/kernel/delegate-types.js.map +1 -0
  150. package/dist/kernel/delegate.d.ts.map +1 -0
  151. package/dist/kernel/delegate.js +320 -0
  152. package/dist/kernel/delegate.js.map +1 -0
  153. package/dist/kernel/delegation-approval.d.ts.map +1 -0
  154. package/dist/kernel/delegation-approval.js +93 -0
  155. package/dist/kernel/delegation-approval.js.map +1 -0
  156. package/dist/kernel/env-names.d.ts +51 -0
  157. package/dist/kernel/env-names.d.ts.map +1 -0
  158. package/dist/kernel/env-names.js +112 -0
  159. package/dist/kernel/env-names.js.map +1 -0
  160. package/dist/kernel/execution-id.d.ts.map +1 -0
  161. package/dist/kernel/execution-id.js.map +1 -0
  162. package/dist/kernel/fanout.d.ts.map +1 -0
  163. package/dist/kernel/fanout.js +93 -0
  164. package/dist/kernel/fanout.js.map +1 -0
  165. package/dist/kernel/grant-env.d.ts +118 -0
  166. package/dist/kernel/grant-env.d.ts.map +1 -0
  167. package/dist/kernel/grant-env.js +104 -0
  168. package/dist/kernel/grant-env.js.map +1 -0
  169. package/dist/kernel/ledger-identifiers.d.ts.map +1 -0
  170. package/dist/kernel/ledger-identifiers.js.map +1 -0
  171. package/dist/kernel/model-preflight.d.ts +13 -0
  172. package/dist/kernel/model-preflight.d.ts.map +1 -0
  173. package/dist/kernel/model-preflight.js +30 -0
  174. package/dist/kernel/model-preflight.js.map +1 -0
  175. package/dist/kernel/pi-tools.d.ts.map +1 -0
  176. package/dist/kernel/pi-tools.js +29 -0
  177. package/dist/kernel/pi-tools.js.map +1 -0
  178. package/dist/kernel/progress.d.ts.map +1 -0
  179. package/dist/kernel/progress.js.map +1 -0
  180. package/dist/kernel/project-paths.d.ts +43 -0
  181. package/dist/kernel/project-paths.d.ts.map +1 -0
  182. package/dist/kernel/project-paths.js +81 -0
  183. package/dist/kernel/project-paths.js.map +1 -0
  184. package/dist/kernel/propagation.d.ts +195 -0
  185. package/dist/kernel/propagation.d.ts.map +1 -0
  186. package/dist/kernel/propagation.js +275 -0
  187. package/dist/kernel/propagation.js.map +1 -0
  188. package/dist/kernel/refusals.d.ts +16 -0
  189. package/dist/kernel/refusals.d.ts.map +1 -0
  190. package/dist/kernel/refusals.js +53 -0
  191. package/dist/kernel/refusals.js.map +1 -0
  192. package/dist/kernel/resolve.d.ts +120 -0
  193. package/dist/kernel/resolve.d.ts.map +1 -0
  194. package/dist/kernel/resolve.js +201 -0
  195. package/dist/kernel/resolve.js.map +1 -0
  196. package/dist/kernel/routing-authority.d.ts +71 -0
  197. package/dist/kernel/routing-authority.d.ts.map +1 -0
  198. package/dist/kernel/routing-authority.js +100 -0
  199. package/dist/kernel/routing-authority.js.map +1 -0
  200. package/dist/kernel/run-child.d.ts +111 -0
  201. package/dist/kernel/run-child.d.ts.map +1 -0
  202. package/dist/kernel/run-child.js +324 -0
  203. package/dist/kernel/run-child.js.map +1 -0
  204. package/dist/kernel/skill-packages.d.ts +116 -0
  205. package/dist/kernel/skill-packages.d.ts.map +1 -0
  206. package/dist/kernel/skill-packages.js +300 -0
  207. package/dist/kernel/skill-packages.js.map +1 -0
  208. package/dist/kernel/skill-resources.d.ts.map +1 -0
  209. package/dist/kernel/skill-resources.js +56 -0
  210. package/dist/kernel/skill-resources.js.map +1 -0
  211. package/dist/kernel/spawn.d.ts +60 -0
  212. package/dist/kernel/spawn.d.ts.map +1 -0
  213. package/dist/kernel/spawn.js +116 -0
  214. package/dist/kernel/spawn.js.map +1 -0
  215. package/dist/kernel/workspace.d.ts +51 -0
  216. package/dist/kernel/workspace.d.ts.map +1 -0
  217. package/dist/kernel/workspace.js +223 -0
  218. package/dist/kernel/workspace.js.map +1 -0
  219. package/dist/products/activity-timeline.d.ts +126 -0
  220. package/dist/products/activity-timeline.d.ts.map +1 -0
  221. package/dist/products/activity-timeline.js +542 -0
  222. package/dist/products/activity-timeline.js.map +1 -0
  223. package/dist/products/dashboard-cli.d.ts +26 -0
  224. package/dist/products/dashboard-cli.d.ts.map +1 -0
  225. package/dist/products/dashboard-cli.js +224 -0
  226. package/dist/products/dashboard-cli.js.map +1 -0
  227. package/dist/products/dashboard-display-controls.d.ts +17 -0
  228. package/dist/products/dashboard-display-controls.d.ts.map +1 -0
  229. package/dist/products/dashboard-display-controls.js +38 -0
  230. package/dist/products/dashboard-display-controls.js.map +1 -0
  231. package/dist/products/dashboard-handshake.d.ts +42 -0
  232. package/dist/products/dashboard-handshake.d.ts.map +1 -0
  233. package/dist/products/dashboard-handshake.js +158 -0
  234. package/dist/products/dashboard-handshake.js.map +1 -0
  235. package/dist/products/dashboard-herdr.d.ts +55 -0
  236. package/dist/products/dashboard-herdr.d.ts.map +1 -0
  237. package/dist/products/dashboard-herdr.js +324 -0
  238. package/dist/products/dashboard-herdr.js.map +1 -0
  239. package/dist/products/dashboard-projection.d.ts +62 -0
  240. package/dist/products/dashboard-projection.d.ts.map +1 -0
  241. package/dist/products/dashboard-projection.js +305 -0
  242. package/dist/products/dashboard-projection.js.map +1 -0
  243. package/dist/products/dashboard-render.d.ts.map +1 -0
  244. package/dist/products/dashboard-render.js +208 -0
  245. package/dist/products/dashboard-render.js.map +1 -0
  246. package/extensions/activity-timeline.ts +134 -28
  247. package/extensions/approval-banking.ts +3 -3
  248. package/extensions/approvals.ts +18 -12
  249. package/extensions/chain-approval-facts.ts +9 -6
  250. package/extensions/chain-ledger.ts +4 -4
  251. package/extensions/chain-plan.ts +6 -6
  252. package/extensions/correlation-shape.ts +42 -33
  253. package/extensions/delegate-chain.ts +93 -45
  254. package/extensions/delegation-authority.ts +7 -3
  255. package/extensions/delegation-ledger.ts +2 -2
  256. package/extensions/delegation-native.ts +24 -7
  257. package/extensions/delegation.ts +91 -80
  258. package/extensions/execute-child.ts +440 -293
  259. package/extensions/execution-occurrence.ts +2 -2
  260. package/extensions/executor-session.ts +5 -5
  261. package/extensions/fanout-outcome.ts +8 -6
  262. package/extensions/grant-store-refusal.ts +24 -12
  263. package/extensions/grants-command.ts +42 -34
  264. package/extensions/grants-connected-command.ts +29 -15
  265. package/extensions/grants.ts +73 -73
  266. package/extensions/init-command.ts +18 -12
  267. package/extensions/reload-environment.ts +12 -5
  268. package/extensions/run-delegation.ts +29 -19
  269. package/extensions/session-environment.ts +25 -11
  270. package/extensions/session-report.ts +61 -12
  271. package/extensions/session.ts +58 -34
  272. package/extensions/spawn-summary.ts +5 -5
  273. package/extensions/stored-grant-session.ts +5 -5
  274. package/extensions/tripwire.ts +1 -1
  275. package/extensions/workspace-runtime.ts +26 -24
  276. package/herdr-plugin/herdr-plugin.toml +1 -1
  277. package/package.json +4 -211
  278. package/src/cli.ts +149 -92
  279. package/src/executors/activity-session.ts +54 -0
  280. package/src/executors/executor.ts +123 -0
  281. package/src/executors/herdr-cli.ts +132 -0
  282. package/src/executors/herdr-pi-lifecycle.ts +21 -0
  283. package/src/executors/herdr-poll.ts +305 -0
  284. package/src/executors/herdr-stage.ts +55 -0
  285. package/src/executors/native-session-target.ts +31 -0
  286. package/src/executors/pane-reaper.ts +270 -0
  287. package/src/executors/process-activity.ts +54 -0
  288. package/src/executors/run-herdr.ts +426 -0
  289. package/src/governance/approval-prompt.ts +225 -0
  290. package/src/governance/approval-store.ts +385 -0
  291. package/src/governance/execution-retention.ts +372 -0
  292. package/src/governance/file-lock.ts +210 -0
  293. package/src/governance/finalization.ts +82 -0
  294. package/src/governance/grant-store.ts +235 -0
  295. package/src/governance/init.ts +447 -0
  296. package/src/governance/lease-helper.ts +124 -0
  297. package/src/governance/lease-record.ts +131 -0
  298. package/src/governance/ledger-events.ts +222 -0
  299. package/src/governance/ledger-report.ts +396 -0
  300. package/src/governance/ledger-v3-validation.ts +384 -0
  301. package/src/governance/ledger.ts +419 -0
  302. package/src/governance/native-session.ts +264 -0
  303. package/src/governance/record.ts +294 -0
  304. package/src/governance/retention-contract.ts +201 -0
  305. package/src/governance/retention-json.ts +24 -0
  306. package/src/governance/workspace-lease.ts +429 -0
  307. package/src/index.ts +82 -92
  308. package/src/kernel/approval.ts +406 -0
  309. package/src/kernel/capabilities.ts +216 -0
  310. package/src/kernel/catalog.ts +373 -0
  311. package/src/kernel/correlation.ts +351 -0
  312. package/src/kernel/definitions.ts +215 -0
  313. package/src/kernel/delegate-types.ts +162 -0
  314. package/src/kernel/delegate.ts +375 -0
  315. package/src/kernel/delegation-approval.ts +126 -0
  316. package/src/kernel/env-names.ts +119 -0
  317. package/src/kernel/fanout.ts +106 -0
  318. package/src/kernel/grant-env.ts +174 -0
  319. package/src/kernel/model-preflight.ts +44 -0
  320. package/src/kernel/pi-tools.ts +32 -0
  321. package/src/kernel/project-paths.ts +97 -0
  322. package/src/kernel/propagation.ts +341 -0
  323. package/src/kernel/refusals.ts +64 -0
  324. package/src/kernel/resolve.ts +258 -0
  325. package/src/kernel/routing-authority.ts +121 -0
  326. package/src/kernel/run-child.ts +418 -0
  327. package/src/kernel/skill-packages.ts +329 -0
  328. package/src/kernel/skill-resources.ts +64 -0
  329. package/src/kernel/spawn.ts +156 -0
  330. package/src/kernel/workspace.ts +336 -0
  331. package/src/products/activity-timeline.ts +679 -0
  332. package/src/products/dashboard-cli.ts +250 -0
  333. package/src/products/dashboard-display-controls.ts +44 -0
  334. package/src/products/dashboard-handshake.ts +222 -0
  335. package/src/products/dashboard-herdr.ts +427 -0
  336. package/src/products/dashboard-projection.ts +389 -0
  337. package/src/products/dashboard-render.ts +260 -0
  338. package/PRODUCT-GUIDE.md +0 -155
  339. package/REQUIREMENTS.md +0 -41
  340. package/contracts/daily-view/v1/README.md +0 -114
  341. package/contracts/daily-view/v1/fixtures/view.json +0 -525
  342. package/contracts/daily-view/v1/fixtures/view.txt +0 -75
  343. package/contracts/daily-view/v1/fixtures/work.jsonl +0 -17
  344. package/contracts/daily-view/v1/p03/README.md +0 -26
  345. package/contracts/daily-view/v1/p03/fixtures/retained-executions.json +0 -241
  346. package/contracts/daily-view/v1/p03/projection.schema.json +0 -194
  347. package/contracts/daily-view/v1/p03/provenance.json +0 -21
  348. package/contracts/dashboard-host/v1/README.md +0 -176
  349. package/contracts/debrief/v1/README.md +0 -146
  350. package/contracts/debrief/v1/intervention/README.md +0 -32
  351. package/contracts/debrief/v1/intervention/fixtures/artifact-3ee11136beb864f518252e5024dae9197421fbf97b6e981d3243c782b5c44bd0.txt +0 -1
  352. package/contracts/debrief/v1/intervention/fixtures/artifact-58905d872dd3c54a9705f67b05fa82edbad7af6476ae8993faf1a7b9fadfb905.txt +0 -1
  353. package/contracts/debrief/v1/intervention/fixtures/assessment.json +0 -29
  354. package/contracts/debrief/v1/intervention/fixtures/blind-view.json +0 -20
  355. package/contracts/debrief/v1/intervention/fixtures/choice.json +0 -7
  356. package/contracts/debrief/v1/intervention/fixtures/manifest.json +0 -57
  357. package/contracts/debrief/v1/intervention/fixtures/reveal.json +0 -39
  358. package/contracts/debrief/v1/provenance.json +0 -89
  359. package/contracts/debrief/v1/work-capture/README.md +0 -38
  360. package/contracts/debrief/v1/work-capture/fixtures/batch.json +0 -17
  361. package/contracts/debrief/v1/work-capture/fixtures/cases.json +0 -184
  362. package/contracts/debrief/v1/work-capture/fixtures/review.json +0 -184
  363. package/contracts/debrief/v1/work-capture/review-request.schema.json +0 -41
  364. package/contracts/debrief/v1/work-capture/work-case.schema.json +0 -190
  365. package/contracts/debrief/v2/README.md +0 -71
  366. package/contracts/debrief/v2/input-pin.json +0 -66
  367. package/contracts/debrief/v2/intervention-upstream.md +0 -40
  368. package/contracts/debrief/v2/work-signals-upstream.md +0 -22
  369. package/contracts/dispatch-control/v1/README.md +0 -109
  370. package/contracts/dispatch-control/v1/request.schema.json +0 -19
  371. package/contracts/effect-profile/v1/README.md +0 -124
  372. package/contracts/execution-retention/v1/README.md +0 -109
  373. package/contracts/execution-retention/v2/README.md +0 -148
  374. package/contracts/execution-retention/v2/fixtures/interrupted-native-bytes.json +0 -91
  375. package/contracts/execution-retention/v2/fixtures/missing-native-session.json +0 -91
  376. package/contracts/execution-retention/v2/fixtures/native-file-unknown-branch.json +0 -91
  377. package/contracts/execution-retention/v2/fixtures/native-id-without-bytes.json +0 -91
  378. package/contracts/execution-retention/v2/fixtures/native-live-branch.json +0 -90
  379. package/contracts/execution-retention/v2/fixtures/replaced-native-session.json +0 -92
  380. package/contracts/execution-retention/v2/fixtures/result-82c620cdfeb8ca6b858cf653d7f5e2eedca5315d6244216d60e8b36f03223d6a.bin +0 -1
  381. package/contracts/execution-retention/v2/fixtures/session-2ec1f134bc739984434f7fca689e1c3d1c39fce2dcadae709e9b6faedfcc4ac7.bin +0 -3
  382. package/contracts/execution-retention/v2/fixtures/session-9bdb4bd16a901da31580acf056bda525225259e15ec409e0410480109011772f.bin +0 -3
  383. package/contracts/execution-retention/v2/manifest.schema.json +0 -858
  384. package/contracts/experiment/v1/README.md +0 -164
  385. package/contracts/factory-order/v1/README.md +0 -151
  386. package/contracts/factory-order/v1/adoption-pin.json +0 -8
  387. package/contracts/intent-control/v1/README.md +0 -135
  388. package/contracts/intent-control/v1/request.schema.json +0 -1096
  389. package/contracts/intent-control/v2/README.md +0 -34
  390. package/contracts/intent-control/v2/request.schema.json +0 -1070
  391. package/contracts/ledger/v2/README.md +0 -59
  392. package/contracts/ledger/v2/fixtures/capability-decision.json +0 -95
  393. package/contracts/ledger/v2/fixtures/check-receipt.json +0 -40
  394. package/contracts/ledger/v2/fixtures/child-lifecycle.json +0 -42
  395. package/contracts/ledger/v2/fixtures/workspace-lease.json +0 -41
  396. package/contracts/ledger/v2/ledger-event.schema.json +0 -633
  397. package/contracts/ledger/v3/README.md +0 -36
  398. package/contracts/ledger/v3/fixtures/check-receipt.json +0 -41
  399. package/contracts/ledger/v3/fixtures/child-lifecycle.json +0 -44
  400. package/contracts/ledger/v3/fixtures/workflow-fact.json +0 -40
  401. package/contracts/ledger/v3/ledger-event.schema.json +0 -955
  402. package/contracts/ledger/v4/README.md +0 -241
  403. package/contracts/ledger/v4/fixtures/layout-options.json +0 -428
  404. package/contracts/ledger/v4/fixtures/work-acceptance.json +0 -57
  405. package/contracts/ledger/v4/fixtures/work-occurrence.json +0 -44
  406. package/contracts/ledger/v4/fixtures/work-revision.json +0 -26
  407. package/contracts/ledger/v4/fixtures/work-snapshot.json +0 -73
  408. package/contracts/ledger/v4/ledger-event.schema.json +0 -162
  409. package/contracts/ordinary-control/v1/README.md +0 -59
  410. package/contracts/producer-ipc/v1/README.md +0 -137
  411. package/dist/activity-timeline.d.ts +0 -109
  412. package/dist/activity-timeline.d.ts.map +0 -1
  413. package/dist/activity-timeline.js +0 -208
  414. package/dist/activity-timeline.js.map +0 -1
  415. package/dist/approval-prompt.d.ts +0 -119
  416. package/dist/approval-prompt.d.ts.map +0 -1
  417. package/dist/approval-prompt.js +0 -133
  418. package/dist/approval-prompt.js.map +0 -1
  419. package/dist/approval-store.d.ts +0 -149
  420. package/dist/approval-store.d.ts.map +0 -1
  421. package/dist/approval-store.js +0 -314
  422. package/dist/approval-store.js.map +0 -1
  423. package/dist/approval.d.ts +0 -241
  424. package/dist/approval.d.ts.map +0 -1
  425. package/dist/approval.js +0 -268
  426. package/dist/approval.js.map +0 -1
  427. package/dist/capabilities.d.ts +0 -136
  428. package/dist/capabilities.d.ts.map +0 -1
  429. package/dist/capabilities.js +0 -203
  430. package/dist/capabilities.js.map +0 -1
  431. package/dist/catalog.d.ts +0 -98
  432. package/dist/catalog.d.ts.map +0 -1
  433. package/dist/catalog.js +0 -273
  434. package/dist/catalog.js.map +0 -1
  435. package/dist/chain.d.ts.map +0 -1
  436. package/dist/chain.js.map +0 -1
  437. package/dist/check-runner.d.ts +0 -66
  438. package/dist/check-runner.d.ts.map +0 -1
  439. package/dist/check-runner.js +0 -275
  440. package/dist/check-runner.js.map +0 -1
  441. package/dist/control-journal.d.ts +0 -20
  442. package/dist/control-journal.d.ts.map +0 -1
  443. package/dist/control-journal.js +0 -73
  444. package/dist/control-journal.js.map +0 -1
  445. package/dist/correlation.d.ts.map +0 -1
  446. package/dist/correlation.js +0 -231
  447. package/dist/correlation.js.map +0 -1
  448. package/dist/daily-dashboard-host.d.ts +0 -136
  449. package/dist/daily-dashboard-host.d.ts.map +0 -1
  450. package/dist/daily-dashboard-host.js +0 -164
  451. package/dist/daily-dashboard-host.js.map +0 -1
  452. package/dist/daily-panel.d.ts +0 -36
  453. package/dist/daily-panel.d.ts.map +0 -1
  454. package/dist/daily-panel.js +0 -84
  455. package/dist/daily-panel.js.map +0 -1
  456. package/dist/daily-view-input.d.ts +0 -44
  457. package/dist/daily-view-input.d.ts.map +0 -1
  458. package/dist/daily-view-input.js +0 -68
  459. package/dist/daily-view-input.js.map +0 -1
  460. package/dist/daily-view-render.d.ts +0 -5
  461. package/dist/daily-view-render.d.ts.map +0 -1
  462. package/dist/daily-view-render.js +0 -42
  463. package/dist/daily-view-render.js.map +0 -1
  464. package/dist/daily-view.d.ts +0 -77
  465. package/dist/daily-view.d.ts.map +0 -1
  466. package/dist/daily-view.js +0 -176
  467. package/dist/daily-view.js.map +0 -1
  468. package/dist/dashboard-cli.d.ts +0 -54
  469. package/dist/dashboard-cli.d.ts.map +0 -1
  470. package/dist/dashboard-cli.js +0 -367
  471. package/dist/dashboard-cli.js.map +0 -1
  472. package/dist/dashboard-display-controls.d.ts +0 -15
  473. package/dist/dashboard-display-controls.d.ts.map +0 -1
  474. package/dist/dashboard-display-controls.js +0 -34
  475. package/dist/dashboard-display-controls.js.map +0 -1
  476. package/dist/dashboard-handshake.d.ts +0 -42
  477. package/dist/dashboard-handshake.d.ts.map +0 -1
  478. package/dist/dashboard-handshake.js +0 -147
  479. package/dist/dashboard-handshake.js.map +0 -1
  480. package/dist/dashboard-harness.d.ts +0 -22
  481. package/dist/dashboard-harness.d.ts.map +0 -1
  482. package/dist/dashboard-harness.js +0 -89
  483. package/dist/dashboard-harness.js.map +0 -1
  484. package/dist/dashboard-herdr.d.ts +0 -55
  485. package/dist/dashboard-herdr.d.ts.map +0 -1
  486. package/dist/dashboard-herdr.js +0 -293
  487. package/dist/dashboard-herdr.js.map +0 -1
  488. package/dist/dashboard-host-contract.d.ts +0 -127
  489. package/dist/dashboard-host-contract.d.ts.map +0 -1
  490. package/dist/dashboard-host-contract.js +0 -14
  491. package/dist/dashboard-host-contract.js.map +0 -1
  492. package/dist/dashboard-host-transport.d.ts +0 -16
  493. package/dist/dashboard-host-transport.d.ts.map +0 -1
  494. package/dist/dashboard-host-transport.js +0 -127
  495. package/dist/dashboard-host-transport.js.map +0 -1
  496. package/dist/dashboard-host.d.ts +0 -239
  497. package/dist/dashboard-host.d.ts.map +0 -1
  498. package/dist/dashboard-host.js +0 -474
  499. package/dist/dashboard-host.js.map +0 -1
  500. package/dist/dashboard-menu.d.ts +0 -16
  501. package/dist/dashboard-menu.d.ts.map +0 -1
  502. package/dist/dashboard-menu.js +0 -33
  503. package/dist/dashboard-menu.js.map +0 -1
  504. package/dist/dashboard-observation.d.ts +0 -28
  505. package/dist/dashboard-observation.d.ts.map +0 -1
  506. package/dist/dashboard-observation.js +0 -87
  507. package/dist/dashboard-observation.js.map +0 -1
  508. package/dist/dashboard-projection.d.ts +0 -73
  509. package/dist/dashboard-projection.d.ts.map +0 -1
  510. package/dist/dashboard-projection.js +0 -294
  511. package/dist/dashboard-projection.js.map +0 -1
  512. package/dist/dashboard-render.d.ts.map +0 -1
  513. package/dist/dashboard-render.js +0 -212
  514. package/dist/dashboard-render.js.map +0 -1
  515. package/dist/debrief-contract.d.ts +0 -65
  516. package/dist/debrief-contract.d.ts.map +0 -1
  517. package/dist/debrief-contract.js +0 -151
  518. package/dist/debrief-contract.js.map +0 -1
  519. package/dist/debrief-fixture.d.ts +0 -16
  520. package/dist/debrief-fixture.d.ts.map +0 -1
  521. package/dist/debrief-fixture.js +0 -41
  522. package/dist/debrief-fixture.js.map +0 -1
  523. package/dist/debrief-host.d.ts +0 -59
  524. package/dist/debrief-host.d.ts.map +0 -1
  525. package/dist/debrief-host.js +0 -49
  526. package/dist/debrief-host.js.map +0 -1
  527. package/dist/debrief-render.d.ts +0 -5
  528. package/dist/debrief-render.d.ts.map +0 -1
  529. package/dist/debrief-render.js +0 -65
  530. package/dist/debrief-render.js.map +0 -1
  531. package/dist/debrief.d.ts +0 -90
  532. package/dist/debrief.d.ts.map +0 -1
  533. package/dist/debrief.js +0 -263
  534. package/dist/debrief.js.map +0 -1
  535. package/dist/definitions.d.ts.map +0 -1
  536. package/dist/definitions.js +0 -164
  537. package/dist/definitions.js.map +0 -1
  538. package/dist/delegate-types.d.ts +0 -154
  539. package/dist/delegate-types.d.ts.map +0 -1
  540. package/dist/delegate-types.js +0 -8
  541. package/dist/delegate-types.js.map +0 -1
  542. package/dist/delegate.d.ts.map +0 -1
  543. package/dist/delegate.js +0 -313
  544. package/dist/delegate.js.map +0 -1
  545. package/dist/delegation-approval.d.ts.map +0 -1
  546. package/dist/delegation-approval.js +0 -94
  547. package/dist/delegation-approval.js.map +0 -1
  548. package/dist/dispatch-control.d.ts +0 -45
  549. package/dist/dispatch-control.d.ts.map +0 -1
  550. package/dist/dispatch-control.js +0 -76
  551. package/dist/dispatch-control.js.map +0 -1
  552. package/dist/effect-profile-runtime.d.ts +0 -40
  553. package/dist/effect-profile-runtime.d.ts.map +0 -1
  554. package/dist/effect-profile-runtime.js +0 -51
  555. package/dist/effect-profile-runtime.js.map +0 -1
  556. package/dist/effect-profile.d.ts +0 -40
  557. package/dist/effect-profile.d.ts.map +0 -1
  558. package/dist/effect-profile.js +0 -152
  559. package/dist/effect-profile.js.map +0 -1
  560. package/dist/execution-id.d.ts.map +0 -1
  561. package/dist/execution-id.js.map +0 -1
  562. package/dist/execution-retention.d.ts +0 -90
  563. package/dist/execution-retention.d.ts.map +0 -1
  564. package/dist/execution-retention.js +0 -247
  565. package/dist/execution-retention.js.map +0 -1
  566. package/dist/executor.d.ts +0 -39
  567. package/dist/executor.d.ts.map +0 -1
  568. package/dist/executor.js +0 -94
  569. package/dist/executor.js.map +0 -1
  570. package/dist/experiment-contract.d.ts +0 -56
  571. package/dist/experiment-contract.d.ts.map +0 -1
  572. package/dist/experiment-contract.js +0 -80
  573. package/dist/experiment-contract.js.map +0 -1
  574. package/dist/experiment-state.d.ts +0 -22
  575. package/dist/experiment-state.d.ts.map +0 -1
  576. package/dist/experiment-state.js +0 -79
  577. package/dist/experiment-state.js.map +0 -1
  578. package/dist/experiment-store.d.ts +0 -30
  579. package/dist/experiment-store.d.ts.map +0 -1
  580. package/dist/experiment-store.js +0 -147
  581. package/dist/experiment-store.js.map +0 -1
  582. package/dist/experiment.d.ts +0 -65
  583. package/dist/experiment.d.ts.map +0 -1
  584. package/dist/experiment.js +0 -362
  585. package/dist/experiment.js.map +0 -1
  586. package/dist/factory-contract.d.ts +0 -79
  587. package/dist/factory-contract.d.ts.map +0 -1
  588. package/dist/factory-contract.js +0 -89
  589. package/dist/factory-contract.js.map +0 -1
  590. package/dist/factory-migration.d.ts +0 -20
  591. package/dist/factory-migration.d.ts.map +0 -1
  592. package/dist/factory-migration.js +0 -55
  593. package/dist/factory-migration.js.map +0 -1
  594. package/dist/factory-order.d.ts +0 -848
  595. package/dist/factory-order.d.ts.map +0 -1
  596. package/dist/factory-order.js +0 -83
  597. package/dist/factory-order.js.map +0 -1
  598. package/dist/factory-registry.d.ts +0 -121
  599. package/dist/factory-registry.d.ts.map +0 -1
  600. package/dist/factory-registry.js +0 -133
  601. package/dist/factory-registry.js.map +0 -1
  602. package/dist/fanout.d.ts.map +0 -1
  603. package/dist/fanout.js +0 -93
  604. package/dist/fanout.js.map +0 -1
  605. package/dist/file-lock.d.ts.map +0 -1
  606. package/dist/file-lock.js +0 -201
  607. package/dist/file-lock.js.map +0 -1
  608. package/dist/finalization.d.ts.map +0 -1
  609. package/dist/finalization.js.map +0 -1
  610. package/dist/git-identity.d.ts +0 -13
  611. package/dist/git-identity.d.ts.map +0 -1
  612. package/dist/git-identity.js +0 -47
  613. package/dist/git-identity.js.map +0 -1
  614. package/dist/grant-env.d.ts +0 -75
  615. package/dist/grant-env.d.ts.map +0 -1
  616. package/dist/grant-env.js +0 -154
  617. package/dist/grant-env.js.map +0 -1
  618. package/dist/grant-store.d.ts +0 -96
  619. package/dist/grant-store.d.ts.map +0 -1
  620. package/dist/grant-store.js +0 -188
  621. package/dist/grant-store.js.map +0 -1
  622. package/dist/herdr-cli.d.ts +0 -78
  623. package/dist/herdr-cli.d.ts.map +0 -1
  624. package/dist/herdr-cli.js +0 -113
  625. package/dist/herdr-cli.js.map +0 -1
  626. package/dist/herdr-name.d.ts.map +0 -1
  627. package/dist/herdr-name.js.map +0 -1
  628. package/dist/herdr-pi-lifecycle.d.ts.map +0 -1
  629. package/dist/herdr-pi-lifecycle.js +0 -22
  630. package/dist/herdr-pi-lifecycle.js.map +0 -1
  631. package/dist/herdr-poll.d.ts +0 -133
  632. package/dist/herdr-poll.d.ts.map +0 -1
  633. package/dist/herdr-poll.js +0 -222
  634. package/dist/herdr-poll.js.map +0 -1
  635. package/dist/herdr-stage.d.ts +0 -40
  636. package/dist/herdr-stage.d.ts.map +0 -1
  637. package/dist/herdr-stage.js +0 -54
  638. package/dist/herdr-stage.js.map +0 -1
  639. package/dist/herdr-start.d.ts.map +0 -1
  640. package/dist/herdr-start.js.map +0 -1
  641. package/dist/init.d.ts +0 -117
  642. package/dist/init.d.ts.map +0 -1
  643. package/dist/init.js +0 -323
  644. package/dist/init.js.map +0 -1
  645. package/dist/intent-application.d.ts +0 -17
  646. package/dist/intent-application.d.ts.map +0 -1
  647. package/dist/intent-application.js +0 -114
  648. package/dist/intent-application.js.map +0 -1
  649. package/dist/intent-control.d.ts +0 -201
  650. package/dist/intent-control.d.ts.map +0 -1
  651. package/dist/intent-control.js +0 -110
  652. package/dist/intent-control.js.map +0 -1
  653. package/dist/intent-scheduling.d.ts +0 -9
  654. package/dist/intent-scheduling.d.ts.map +0 -1
  655. package/dist/intent-scheduling.js +0 -15
  656. package/dist/intent-scheduling.js.map +0 -1
  657. package/dist/learning-connection.d.ts +0 -127
  658. package/dist/learning-connection.d.ts.map +0 -1
  659. package/dist/learning-connection.js +0 -54
  660. package/dist/learning-connection.js.map +0 -1
  661. package/dist/lease-helper.d.ts.map +0 -1
  662. package/dist/lease-helper.js +0 -94
  663. package/dist/lease-helper.js.map +0 -1
  664. package/dist/lease-record.d.ts +0 -90
  665. package/dist/lease-record.d.ts.map +0 -1
  666. package/dist/lease-record.js.map +0 -1
  667. package/dist/ledger-append.d.ts +0 -15
  668. package/dist/ledger-append.d.ts.map +0 -1
  669. package/dist/ledger-append.js +0 -94
  670. package/dist/ledger-append.js.map +0 -1
  671. package/dist/ledger-events.d.ts +0 -131
  672. package/dist/ledger-events.d.ts.map +0 -1
  673. package/dist/ledger-events.js +0 -107
  674. package/dist/ledger-events.js.map +0 -1
  675. package/dist/ledger-identifiers.d.ts.map +0 -1
  676. package/dist/ledger-identifiers.js.map +0 -1
  677. package/dist/ledger-report.d.ts +0 -134
  678. package/dist/ledger-report.d.ts.map +0 -1
  679. package/dist/ledger-report.js +0 -271
  680. package/dist/ledger-report.js.map +0 -1
  681. package/dist/ledger-v3-validation.d.ts +0 -11
  682. package/dist/ledger-v3-validation.d.ts.map +0 -1
  683. package/dist/ledger-v3-validation.js +0 -265
  684. package/dist/ledger-v3-validation.js.map +0 -1
  685. package/dist/ledger.d.ts +0 -242
  686. package/dist/ledger.d.ts.map +0 -1
  687. package/dist/ledger.js +0 -142
  688. package/dist/ledger.js.map +0 -1
  689. package/dist/measured-order.d.ts +0 -249
  690. package/dist/measured-order.d.ts.map +0 -1
  691. package/dist/measured-order.js +0 -309
  692. package/dist/measured-order.js.map +0 -1
  693. package/dist/measured-session.d.ts +0 -97
  694. package/dist/measured-session.d.ts.map +0 -1
  695. package/dist/measured-session.js +0 -134
  696. package/dist/measured-session.js.map +0 -1
  697. package/dist/model-preflight.d.ts +0 -13
  698. package/dist/model-preflight.d.ts.map +0 -1
  699. package/dist/model-preflight.js +0 -29
  700. package/dist/model-preflight.js.map +0 -1
  701. package/dist/native-session-target.d.ts +0 -9
  702. package/dist/native-session-target.d.ts.map +0 -1
  703. package/dist/native-session-target.js +0 -29
  704. package/dist/native-session-target.js.map +0 -1
  705. package/dist/native-session.d.ts +0 -59
  706. package/dist/native-session.d.ts.map +0 -1
  707. package/dist/native-session.js +0 -154
  708. package/dist/native-session.js.map +0 -1
  709. package/dist/order-schedule.d.ts +0 -37
  710. package/dist/order-schedule.d.ts.map +0 -1
  711. package/dist/order-schedule.js +0 -81
  712. package/dist/order-schedule.js.map +0 -1
  713. package/dist/ordinary-children.d.ts +0 -52
  714. package/dist/ordinary-children.d.ts.map +0 -1
  715. package/dist/ordinary-children.js +0 -93
  716. package/dist/ordinary-children.js.map +0 -1
  717. package/dist/pane-reaper.d.ts +0 -111
  718. package/dist/pane-reaper.d.ts.map +0 -1
  719. package/dist/pane-reaper.js +0 -242
  720. package/dist/pane-reaper.js.map +0 -1
  721. package/dist/pi-tools.d.ts.map +0 -1
  722. package/dist/pi-tools.js +0 -21
  723. package/dist/pi-tools.js.map +0 -1
  724. package/dist/producer-ipc-contract.d.ts +0 -29
  725. package/dist/producer-ipc-contract.d.ts.map +0 -1
  726. package/dist/producer-ipc-contract.js +0 -29
  727. package/dist/producer-ipc-contract.js.map +0 -1
  728. package/dist/producer-ipc.d.ts +0 -55
  729. package/dist/producer-ipc.d.ts.map +0 -1
  730. package/dist/producer-ipc.js +0 -143
  731. package/dist/producer-ipc.js.map +0 -1
  732. package/dist/product-files.d.ts +0 -6
  733. package/dist/product-files.d.ts.map +0 -1
  734. package/dist/product-files.js +0 -55
  735. package/dist/product-files.js.map +0 -1
  736. package/dist/progress.d.ts.map +0 -1
  737. package/dist/progress.js.map +0 -1
  738. package/dist/propagation.d.ts +0 -203
  739. package/dist/propagation.d.ts.map +0 -1
  740. package/dist/propagation.js +0 -279
  741. package/dist/propagation.js.map +0 -1
  742. package/dist/refusals.d.ts +0 -16
  743. package/dist/refusals.d.ts.map +0 -1
  744. package/dist/refusals.js +0 -55
  745. package/dist/refusals.js.map +0 -1
  746. package/dist/resolve.d.ts +0 -120
  747. package/dist/resolve.d.ts.map +0 -1
  748. package/dist/resolve.js +0 -211
  749. package/dist/resolve.js.map +0 -1
  750. package/dist/resource-budget.d.ts +0 -334
  751. package/dist/resource-budget.d.ts.map +0 -1
  752. package/dist/resource-budget.js +0 -415
  753. package/dist/resource-budget.js.map +0 -1
  754. package/dist/retention-contract.d.ts.map +0 -1
  755. package/dist/retention-contract.js +0 -104
  756. package/dist/retention-contract.js.map +0 -1
  757. package/dist/retention-json.d.ts.map +0 -1
  758. package/dist/retention-json.js.map +0 -1
  759. package/dist/routing-authority.d.ts +0 -71
  760. package/dist/routing-authority.d.ts.map +0 -1
  761. package/dist/routing-authority.js +0 -100
  762. package/dist/routing-authority.js.map +0 -1
  763. package/dist/run-child.d.ts +0 -87
  764. package/dist/run-child.d.ts.map +0 -1
  765. package/dist/run-child.js +0 -248
  766. package/dist/run-child.js.map +0 -1
  767. package/dist/run-herdr.d.ts +0 -119
  768. package/dist/run-herdr.d.ts.map +0 -1
  769. package/dist/run-herdr.js +0 -335
  770. package/dist/run-herdr.js.map +0 -1
  771. package/dist/skill-packages.d.ts +0 -116
  772. package/dist/skill-packages.d.ts.map +0 -1
  773. package/dist/skill-packages.js +0 -295
  774. package/dist/skill-packages.js.map +0 -1
  775. package/dist/skill-resources.d.ts.map +0 -1
  776. package/dist/skill-resources.js +0 -52
  777. package/dist/skill-resources.js.map +0 -1
  778. package/dist/spawn.d.ts +0 -60
  779. package/dist/spawn.d.ts.map +0 -1
  780. package/dist/spawn.js +0 -116
  781. package/dist/spawn.js.map +0 -1
  782. package/dist/vendor/adoption.d.ts +0 -129
  783. package/dist/vendor/adoption.d.ts.map +0 -1
  784. package/dist/vendor/adoption.js +0 -102
  785. package/dist/vendor/adoption.js.map +0 -1
  786. package/dist/vendor/herdr-pi-lifecycle.d.ts.map +0 -1
  787. package/dist/vendor/herdr-pi-lifecycle.js.map +0 -1
  788. package/dist/work-command.d.ts +0 -32
  789. package/dist/work-command.d.ts.map +0 -1
  790. package/dist/work-command.js +0 -179
  791. package/dist/work-command.js.map +0 -1
  792. package/dist/work-ledger-destination.d.ts +0 -20
  793. package/dist/work-ledger-destination.d.ts.map +0 -1
  794. package/dist/work-ledger-destination.js +0 -131
  795. package/dist/work-ledger-destination.js.map +0 -1
  796. package/dist/work-ledger-json.d.ts +0 -25
  797. package/dist/work-ledger-json.d.ts.map +0 -1
  798. package/dist/work-ledger-json.js +0 -267
  799. package/dist/work-ledger-json.js.map +0 -1
  800. package/dist/work-ledger-occurrences.d.ts +0 -227
  801. package/dist/work-ledger-occurrences.d.ts.map +0 -1
  802. package/dist/work-ledger-occurrences.js +0 -115
  803. package/dist/work-ledger-occurrences.js.map +0 -1
  804. package/dist/work-ledger-projection.d.ts +0 -295
  805. package/dist/work-ledger-projection.d.ts.map +0 -1
  806. package/dist/work-ledger-projection.js +0 -237
  807. package/dist/work-ledger-projection.js.map +0 -1
  808. package/dist/work-ledger-snapshot.d.ts +0 -29
  809. package/dist/work-ledger-snapshot.d.ts.map +0 -1
  810. package/dist/work-ledger-snapshot.js +0 -267
  811. package/dist/work-ledger-snapshot.js.map +0 -1
  812. package/dist/work-ledger-types.d.ts +0 -261
  813. package/dist/work-ledger-types.d.ts.map +0 -1
  814. package/dist/work-ledger-types.js +0 -13
  815. package/dist/work-ledger-types.js.map +0 -1
  816. package/dist/work-ledger-validation.d.ts +0 -14
  817. package/dist/work-ledger-validation.d.ts.map +0 -1
  818. package/dist/work-ledger-validation.js +0 -226
  819. package/dist/work-ledger-validation.js.map +0 -1
  820. package/dist/work-ledger.d.ts +0 -43
  821. package/dist/work-ledger.d.ts.map +0 -1
  822. package/dist/work-ledger.js +0 -225
  823. package/dist/work-ledger.js.map +0 -1
  824. package/dist/work-policy-registry.d.ts +0 -133
  825. package/dist/work-policy-registry.d.ts.map +0 -1
  826. package/dist/work-policy-registry.js +0 -128
  827. package/dist/work-policy-registry.js.map +0 -1
  828. package/dist/work-run.d.ts +0 -56
  829. package/dist/work-run.d.ts.map +0 -1
  830. package/dist/work-run.js +0 -102
  831. package/dist/work-run.js.map +0 -1
  832. package/dist/work-setup.d.ts +0 -40
  833. package/dist/work-setup.d.ts.map +0 -1
  834. package/dist/work-setup.js +0 -174
  835. package/dist/work-setup.js.map +0 -1
  836. package/dist/workflow-fact-id.d.ts +0 -4
  837. package/dist/workflow-fact-id.d.ts.map +0 -1
  838. package/dist/workflow-fact-id.js +0 -14
  839. package/dist/workflow-fact-id.js.map +0 -1
  840. package/dist/workflow-facts.d.ts +0 -34
  841. package/dist/workflow-facts.d.ts.map +0 -1
  842. package/dist/workflow-facts.js +0 -43
  843. package/dist/workflow-facts.js.map +0 -1
  844. package/dist/workspace-lease.d.ts +0 -40
  845. package/dist/workspace-lease.d.ts.map +0 -1
  846. package/dist/workspace-lease.js +0 -333
  847. package/dist/workspace-lease.js.map +0 -1
  848. package/dist/workspace.d.ts +0 -57
  849. package/dist/workspace.d.ts.map +0 -1
  850. package/dist/workspace.js +0 -216
  851. package/dist/workspace.js.map +0 -1
  852. package/extensions/daily-dashboard-session.ts +0 -48
  853. package/extensions/daily-work-session.ts +0 -20
  854. package/extensions/learning-outcome-session.ts +0 -38
  855. package/extensions/learning-session.ts +0 -59
  856. package/extensions/ordinary-runtime.ts +0 -14
  857. package/extensions/primary-shadow.ts +0 -11
  858. package/extensions/work-policy-session.ts +0 -139
  859. package/extensions/work-run-session.ts +0 -75
  860. package/extensions/work-runtime.ts +0 -44
  861. package/extensions/work-session.ts +0 -132
  862. package/src/activity-timeline.ts +0 -133
  863. package/src/approval-prompt.ts +0 -225
  864. package/src/approval-store.ts +0 -386
  865. package/src/approval.ts +0 -399
  866. package/src/capabilities.ts +0 -220
  867. package/src/catalog.ts +0 -306
  868. package/src/check-runner.ts +0 -387
  869. package/src/control-journal.ts +0 -26
  870. package/src/correlation.ts +0 -320
  871. package/src/daily-dashboard-host.ts +0 -105
  872. package/src/daily-panel.ts +0 -80
  873. package/src/daily-view-input.ts +0 -59
  874. package/src/daily-view-render.ts +0 -45
  875. package/src/daily-view.ts +0 -160
  876. package/src/dashboard-cli.ts +0 -340
  877. package/src/dashboard-display-controls.ts +0 -21
  878. package/src/dashboard-handshake.ts +0 -199
  879. package/src/dashboard-harness.ts +0 -37
  880. package/src/dashboard-herdr.ts +0 -363
  881. package/src/dashboard-host-contract.ts +0 -50
  882. package/src/dashboard-host-transport.ts +0 -43
  883. package/src/dashboard-host.ts +0 -244
  884. package/src/dashboard-menu.ts +0 -28
  885. package/src/dashboard-observation.ts +0 -46
  886. package/src/dashboard-projection.ts +0 -390
  887. package/src/dashboard-render.ts +0 -259
  888. package/src/debrief-contract.ts +0 -127
  889. package/src/debrief-fixture.ts +0 -29
  890. package/src/debrief-host.ts +0 -53
  891. package/src/debrief-render.ts +0 -49
  892. package/src/debrief.ts +0 -198
  893. package/src/definitions.ts +0 -211
  894. package/src/delegate-types.ts +0 -154
  895. package/src/delegate.ts +0 -348
  896. package/src/delegation-approval.ts +0 -126
  897. package/src/dispatch-control.ts +0 -81
  898. package/src/effect-profile-runtime.ts +0 -46
  899. package/src/effect-profile.ts +0 -129
  900. package/src/execution-retention.ts +0 -230
  901. package/src/executor.ts +0 -123
  902. package/src/experiment-contract.ts +0 -66
  903. package/src/experiment-state.ts +0 -44
  904. package/src/experiment-store.ts +0 -98
  905. package/src/experiment.ts +0 -236
  906. package/src/factory-contract.ts +0 -47
  907. package/src/factory-migration.ts +0 -29
  908. package/src/factory-order.ts +0 -56
  909. package/src/factory-registry.ts +0 -60
  910. package/src/fanout.ts +0 -106
  911. package/src/file-lock.ts +0 -178
  912. package/src/finalization.ts +0 -79
  913. package/src/git-identity.ts +0 -56
  914. package/src/grant-env.ts +0 -221
  915. package/src/grant-store.ts +0 -235
  916. package/src/herdr-cli.ts +0 -125
  917. package/src/herdr-pi-lifecycle.ts +0 -21
  918. package/src/herdr-poll.ts +0 -253
  919. package/src/herdr-stage.ts +0 -55
  920. package/src/init.ts +0 -389
  921. package/src/intent-application.ts +0 -91
  922. package/src/intent-control.ts +0 -107
  923. package/src/intent-scheduling.ts +0 -14
  924. package/src/learning-connection.ts +0 -70
  925. package/src/lease-helper.ts +0 -97
  926. package/src/lease-record.ts +0 -131
  927. package/src/ledger-append.ts +0 -72
  928. package/src/ledger-events.ts +0 -226
  929. package/src/ledger-report.ts +0 -357
  930. package/src/ledger-v3-validation.ts +0 -266
  931. package/src/ledger.ts +0 -369
  932. package/src/measured-order.ts +0 -72
  933. package/src/measured-session.ts +0 -70
  934. package/src/model-preflight.ts +0 -41
  935. package/src/native-session-target.ts +0 -23
  936. package/src/native-session.ts +0 -139
  937. package/src/order-schedule.ts +0 -42
  938. package/src/ordinary-children.ts +0 -59
  939. package/src/pane-reaper.ts +0 -270
  940. package/src/pi-tools.ts +0 -25
  941. package/src/producer-ipc-contract.ts +0 -26
  942. package/src/producer-ipc.ts +0 -107
  943. package/src/product-files.ts +0 -34
  944. package/src/propagation.ts +0 -333
  945. package/src/refusals.ts +0 -70
  946. package/src/resolve.ts +0 -267
  947. package/src/resource-budget.ts +0 -349
  948. package/src/retention-contract.ts +0 -84
  949. package/src/retention-json.ts +0 -20
  950. package/src/routing-authority.ts +0 -121
  951. package/src/run-child.ts +0 -303
  952. package/src/run-herdr.ts +0 -386
  953. package/src/skill-packages.ts +0 -314
  954. package/src/skill-resources.ts +0 -48
  955. package/src/spawn.ts +0 -156
  956. package/src/vendor/adoption.ts +0 -109
  957. package/src/work-command.ts +0 -197
  958. package/src/work-ledger-destination.ts +0 -113
  959. package/src/work-ledger-json.ts +0 -228
  960. package/src/work-ledger-occurrences.ts +0 -99
  961. package/src/work-ledger-projection.ts +0 -262
  962. package/src/work-ledger-snapshot.ts +0 -246
  963. package/src/work-ledger-types.ts +0 -229
  964. package/src/work-ledger-validation.ts +0 -174
  965. package/src/work-ledger.ts +0 -186
  966. package/src/work-policy-registry.ts +0 -81
  967. package/src/work-run.ts +0 -79
  968. package/src/work-setup.ts +0 -141
  969. package/src/workflow-fact-id.ts +0 -16
  970. package/src/workflow-facts.ts +0 -65
  971. package/src/workspace-lease.ts +0 -363
  972. package/src/workspace.ts +0 -308
  973. /package/contracts/{ledger/v3 → ledger-record/v1}/fixtures/capability-decision.json +0 -0
  974. /package/contracts/{ledger/v3 → ledger-record/v1}/fixtures/workspace-lease.json +0 -0
  975. /package/dist/{herdr-name.d.ts → executors/herdr-name.d.ts} +0 -0
  976. /package/dist/{herdr-name.js → executors/herdr-name.js} +0 -0
  977. /package/dist/{herdr-pi-lifecycle.d.ts → executors/herdr-pi-lifecycle.d.ts} +0 -0
  978. /package/dist/{herdr-start.d.ts → executors/herdr-start.d.ts} +0 -0
  979. /package/dist/{herdr-start.js → executors/herdr-start.js} +0 -0
  980. /package/dist/{vendor → executors/vendor}/herdr-pi-lifecycle.d.ts +0 -0
  981. /package/dist/{vendor → executors/vendor}/herdr-pi-lifecycle.js +0 -0
  982. /package/dist/{file-lock.d.ts → governance/file-lock.d.ts} +0 -0
  983. /package/dist/{finalization.d.ts → governance/finalization.d.ts} +0 -0
  984. /package/dist/{finalization.js → governance/finalization.js} +0 -0
  985. /package/dist/{lease-helper.d.ts → governance/lease-helper.d.ts} +0 -0
  986. /package/dist/{lease-record.js → governance/lease-record.js} +0 -0
  987. /package/dist/{retention-contract.d.ts → governance/retention-contract.d.ts} +0 -0
  988. /package/dist/{retention-json.d.ts → governance/retention-json.d.ts} +0 -0
  989. /package/dist/{retention-json.js → governance/retention-json.js} +0 -0
  990. /package/dist/{chain.d.ts → kernel/chain.d.ts} +0 -0
  991. /package/dist/{chain.js → kernel/chain.js} +0 -0
  992. /package/dist/{correlation.d.ts → kernel/correlation.d.ts} +0 -0
  993. /package/dist/{definitions.d.ts → kernel/definitions.d.ts} +0 -0
  994. /package/dist/{delegate.d.ts → kernel/delegate.d.ts} +0 -0
  995. /package/dist/{delegation-approval.d.ts → kernel/delegation-approval.d.ts} +0 -0
  996. /package/dist/{execution-id.d.ts → kernel/execution-id.d.ts} +0 -0
  997. /package/dist/{execution-id.js → kernel/execution-id.js} +0 -0
  998. /package/dist/{fanout.d.ts → kernel/fanout.d.ts} +0 -0
  999. /package/dist/{ledger-identifiers.d.ts → kernel/ledger-identifiers.d.ts} +0 -0
  1000. /package/dist/{ledger-identifiers.js → kernel/ledger-identifiers.js} +0 -0
  1001. /package/dist/{pi-tools.d.ts → kernel/pi-tools.d.ts} +0 -0
  1002. /package/dist/{progress.d.ts → kernel/progress.d.ts} +0 -0
  1003. /package/dist/{progress.js → kernel/progress.js} +0 -0
  1004. /package/dist/{skill-resources.d.ts → kernel/skill-resources.d.ts} +0 -0
  1005. /package/dist/{dashboard-render.d.ts → products/dashboard-render.d.ts} +0 -0
  1006. /package/src/{herdr-name.ts → executors/herdr-name.ts} +0 -0
  1007. /package/src/{herdr-start.ts → executors/herdr-start.ts} +0 -0
  1008. /package/src/{vendor → executors/vendor}/herdr-pi-lifecycle.ts +0 -0
  1009. /package/src/{chain.ts → kernel/chain.ts} +0 -0
  1010. /package/src/{execution-id.ts → kernel/execution-id.ts} +0 -0
  1011. /package/src/{ledger-identifiers.ts → kernel/ledger-identifiers.ts} +0 -0
  1012. /package/src/{progress.ts → kernel/progress.ts} +0 -0
@@ -1,164 +0,0 @@
1
- # P11 fixed-profile experiment controller — partial, local implementation
2
-
3
- Existing pi-daddy API, not a service, delegate_all replacement, evaluation engine or P11 completion.
4
- P15 entry point: `pi-daddy/experiment`; types and pure digest/parser functions also exported at package root.
5
-
6
- ## Actual boundary
7
-
8
- `createExperimentBudget` explicitly creates resource journal **4.0**. Versions1/2/3/defaults and existing
9
- wait-for-all delegation are unchanged. Older readers reject4.0. `reserveBatch` appends ONE synced record
10
- under the existing non-expiring resource lock after checking the entire batch against remaining attempts,
11
- input bytes and active slots. No partial optimistic per-child admission. All2..32 chartered primary/shadow /
12
- retry slots remain conservatively active, including queued waves/retries. No refund for skip, failure,
13
- cancellation, timeout or lost acknowledgement. Only original minted live permits settle slots. This is not
14
- aggregate CPU/memory/PID/money accounting; existing bounded profile preparation probes are separate host
15
- qualification, not experiment attempts.
16
-
17
- `prepareDigestProfile` still performs actual fixed native probes. An opaque prepared profile for this exact
18
- budget is required; JSON/profile labels cannot launch. The existing digest operation hashes at most16KiB.
19
- The new v4-only batch route additionally permits an explicitly declared **hold** calibration payload with
20
- the SAME native namespace/Node permission/prlimit/output/3s timeout/3.5s hard-deadline bounds. Hold never
21
- produces a successful digest; it exists for owned cancellation/deadline/lifecycle demonstrations. Neither
22
- operation accepts command/code/env/workspace/provider settings. The existing runDigestProfile request/byte operation stays unchanged. A post-spawn result lacking observed
23
- exit/signal now conservatively withholds settlement credit; an abort flag alone is not observed cancellation. Base64 argv is NOT secret transport.
24
-
25
- ## Frozen charter and authority
26
-
27
- `ExperimentCharter` / strict `parseExperimentCharter`:
28
-
29
- - version `fixed-experiment-v1`, experimentId, orderId, exact budgetDigest and fixed profile
30
- - common `{sha256,bytes,work,workTextDigest}`; actual common bytes copied/materialized once
31
- - optional `work` is the actual P05 `bindWorkIntent` binding: pinned P01 file identity, exact selection and
32
- priority references. Full source bytes must match workTextDigest and resolve under P01. This is a pinned
33
- common-input context, NOT v3 priority scheduling, permission expansion or acceptance.
34
- - mode `concurrent-shadow` (exact N=2 primary+shadow) or `bounded-waves`
35
- - deadlineMs1000..30000; variants2..32, entire normalized charter≤48000 bytes
36
- - each variant: variantId, exact executionId, kind primary/shadow/retry, prior declared parentExecutionId,
37
- canonical suffixBase64 and operation digest/hold. The worker hashes common bytes plus that explicit
38
- suffix; these are DATA differences, not model/effort/skill differences.
39
- - configuration `{model:null,effort:null,skills:null}`: unknown remains unknown. Any other value or unknown
40
- field refuses, not an invented delivery charter. First variant is the sole digest primary. Later parents
41
- must already be declared. Execution/variant IDs are unique within this charter; global host identity and
42
- approval namespaces remain host responsibilities, not inferred from names/PIDs/pathnames.
43
-
44
- Separately retained `ExperimentAuthority {authorityDigest,charterDigests,cancellationDigests}` approves exact
45
- whole normalized charters/cancellation requests for the independently retained budget authority. Null,
46
- unlisted or changed context refuses. P15 MUST establish approvals independently; never populate lists from
47
- incoming proposals/receipt IDs. These are trusted-host capability declarations, not remote authentication.
48
-
49
- P10 freeze/investigation6db7a67 has executionReady:false and cannot be used as a run charter. P12
50
- 0475e1f inspection/blind fixtures are conditional, not live qualification. P13 adoption22606c2 predicates
51
- are not applied activation. This controller does not turn any of those flags into execution permission.
52
-
53
- ## Materialization, ownership and API
54
-
55
- ```ts
56
- // Host has independently approved the exact charter and retains the resulting physical binding.
57
- const binding = await createExperiment({directory, budget, charter, bytes, authority});
58
- const controller = openExperiment(binding, authority);
59
- const run = await controller.start(preparedProfile);
60
- const primary = await run.primary; // does NOT await shadow, other variants, or judge
61
- const whole = await run.completion; // controller-owned lifetime, including cleanup/accounting
62
- const snapshot = await controller.inspect();
63
- const readback = await controller.reconcile(); // actual bound journals/artifact bytes, read-only
64
- const bytes = await controller.readArtifact(executionId); // exact charter member, retained hash checked; detached
65
- ```
66
-
67
- Creation uses a new private canonical directory, immutable common.bin, separate hash-named variant
68
- directories and a pinned synced experiment.jsonl header. The binding records directory/journal dev/inode,
69
- charter and budget identity; retain it independently. No automatic migration or overwrite. Common bytes /
70
- optional P01 source are checked before admission and each wave. Workers receive detached private byte
71
- copies and no production workspace mount, so a shadow cannot overwrite primary data or artifacts.
72
-
73
- A durable one-shot claim precedes atomic admission. An admitted journal entry precedes dispatch. The existing
74
- `MAX_CHILDREN_PER_CALL` cap (currently8) is imported and enforced; larger N uses complete bounded waves.
75
- Queued slots already count against the TOTAL budget. Explicit retries wait for their declared parent's
76
- terminal handling, run only on non-success, and otherwise settle cancelled-before-launch. They consume the
77
- pre-reserved allowance either way; no new retry IDs/variants are invented.
78
-
79
- Each actual executor result is synced to its own exclusive result.json before its digest/terminal state is
80
- appended to the one experiment journal. Original handles own AbortControllers and execution promises.
81
- `run.started` contains only original fixed-profile spawn/settled-without-spawn observations; those are
82
- lifecycle facts, not worker/session authority. P02 retention is still optionally used by the real profile
83
- execution path with exact execution/parent IDs. Resource settlement failures reject even after exit0.
84
-
85
- The controller holds all execution promises and waits for launched workers on its completion path. A
86
- bookkeeping failure aborts remaining owned handles, consumes unused reservations without launching and
87
- records unknown when possible. Whole-experiment deadline aborts the actual original handles, including
88
- queued attempts; per-worker native deadlines still apply. Required I/O/settlement failures are not success.
89
- No caller callback or boolean supplies a cancellation outcome.
90
-
91
- ## Controller failure versus worker outcome (QUAL001 repair)
92
-
93
- `ExperimentView.control` is `not-assessed | failed | unknown`; it never certifies clean controller
94
- completion from worker states. Existing controller-unknown events now replay as explicit failure even
95
- when complete result records already exist. Process-local mandatory failures remain visible if recording
96
- fails; `controller-failure-recording-unacknowledged` is not a successful durability acknowledgement.
97
- Fresh readers observe retained failure records; absent a record they cannot reconstruct lost process
98
- state, so control remains not-assessed. Unavailable reads return unknown on settlement paths.
99
-
100
- Primary is the ORIGINAL worker/artifact outcome after successful artifact persistence, not a whole-controller
101
- read or bookkeeping success. It does not wait for a shadow or racing public inspection. Completion and
102
- boundary carry explicit control failure/unknown; factory wrappers preserve it. Failed pre-dispatch writes
103
- still consume original unused permits without spawning and settle started waiters. No refunds/relaunch.
104
- All artifact bytes and charges remain separate from required control append/sync/close/lock-release failure.
105
-
106
- ## Exact owned cancellation
107
-
108
- `ExperimentCancellation {version:'experiment-cancel-v1',requestId,bindingDigest,executionId}` binds one
109
- immutable target. Approve `experimentCancellationDigest(request)` separately. `controller.cancel(request)`
110
- records the request before touching its ORIGINAL LIVE AbortController. Exact redelivery only reads back;
111
- conflicting request IDs refuse. The visible request outcome stays requested-or-unknown until actual result
112
- bytes and a terminal journal record support observed-cancelled or finished-without-cancel. A request is not
113
- an acknowledgement of application, and an error after append does not prove no effect.
114
-
115
- This supplies the owned fixed-profile cancellation bridge HERE. P05 dispatch-control wire cancellation,
116
- arbitrary live pi/Herdr atomic targeting and cross-process handle transfer are still unsupported integration
117
- work. No guessed PID, pane/title/idle flag, terminal typing, worker prompt or extra observer/control RPC.
118
-
119
- ## Restart, unknown state and limits
120
-
121
- Reopening with the exact physical binding can inspect/reconcile actual budget records and immutable artifacts.
122
- Duplicate start cannot re-execute a recorded claim—even if admission, launch or acknowledgement is unknown.
123
- An open controller without the original handles reports uncompleted old work UNKNOWN, never idle/completed.
124
- No old active slot is reclaimed/refunded or silently relaunched. Missing/mismatched artifacts cannot support
125
- terminal success. Reconciliation is deliberately read-only: orphan permits, complete unreceipted artifacts,
126
- non-expiring crash locks and torn files require separately governed recovery, not guessed completion or
127
- truncation. A durable cancellation request without an owned handle stays unknown, not applied.
128
-
129
- The immutable input/artifact representation is not storage quota enforcement. Canonical private single-link /
130
- nofollow bounded files, hash-linked bounded journal, fsync and non-expiring lock defend ordinary faults;
131
- hostile same-UID races, rollback, blocked filesystem I/O and full-controller-crash cleanup remain unqualified.
132
- Limits:256KiB journal,260 lines,64 explicit cancellation requests,32 variants,16KiB per input/result read,
133
- fixed400-line module ceiling. Admission may conservatively reserve more slots than concurrently running
134
- workers. Global admission beyond this exact budget, arbitrary pi/bash/model isolation, model/effort/skill
135
- variants, judgments/efficacy/casting, aggregate CPU/memory/PID/money and automatic adoption remain unsupported.
136
-
137
- `ExperimentView` version experiment-view-v1 reports explicit identities, states, artifact digests backed by
138
- actual bytes, accounting, cancellations, diagnostics, unknown configuration, snapshot-unknown freshness and
139
- acceptance:not-assessed. Runtime completion is NOT approval, causality, cheapest-eligible qualification or
140
- routing/adoption authority. Primary and shadow are concurrent only in concurrent-shadow mode; larger waves
141
- are labelled bounded-waves, not a simultaneous N-way experiment or later replay masquerading as shadow.
142
-
143
- ## Preserved native865 vs1316 failure: distinct repair
144
-
145
- P08's earlier failure is retained, not erased by later passes. A deterministic native test now explicitly
146
- captures+drains the earlier file, appends an actual SessionManager entry, then finishes: terminal+verified
147
- still names the earlier stable-format snapshot and coverage.complete remains false. A second ordered final
148
- observation+drain retains the appended bytes. No arbitrary sleeps or rerun-until-green is used to establish
149
- that distinction.
150
-
151
- The old governed-process oracle polled terminal/verified, which was NOT a native observation quiescence
152
- barrier. `drainExecutionRetention(originalStatus)` now exposes the existing admitted-observation drain through
153
- an original-live-status WeakMap capability. Copied/wire receipt-shaped statuses reject. The real governed
154
- process test uses that drain before final-byte equality, without changing capture semantics, producer
155
- completeness, native branch rules or asynchronous worker-control separation. Drain is not fsync, a future
156
- producer barrier, authentication or proof of full-session completeness. No capture-loss/completeness repair
157
- is claimed where the demonstrated violation was the asynchronous final-byte oracle.
158
-
159
- A separate selected-run failure exposed P01's recursive readdir oracle following an intentional self-link
160
- with different traversal depths. A bounded no-follow physical inventory plus positive byte-change sentinel
161
- replaces only that test oracle; original alias refusal and zero-mutating-call assertions remain unchanged.
162
-
163
- Local source/tests and isolated compiled paths are measurements, not installed/live qualification or full
164
- P11 acceptance. See ADR-0051. Stop for independent overall review and next ready P15/P17D clause.
@@ -1,151 +0,0 @@
1
- # P15 — bounded fixed-profile factory orders and applied policy changes
2
-
3
- Local supported slice, not full factory/model qualification. Public API: `pi-daddy/factory-order` and root
4
- exports. This compiles into the ACTUAL existing P11 controller, not a scheduler service or model planner.
5
-
6
- ## Charter, intent and resource boundary
7
-
8
- `FactoryOrderCharter` / `parseFactoryOrder` / `factoryOrderDigest` bind version factory-order-v1, orderId,
9
- canonical new directory, exact v4 budget, P01 WorkIntentBinding and full source hash, scope digest, common
10
- base64 bytes, deadline1000..30000ms, current policy revision/candidate digest and1..16 nodes. Each node pins
11
- one exact selected P01 obligation, dependencies,1..3 named attempts, expected SHA256 and optional reserved
12
- product decision/owner. Every selected obligation is covered exactly once, required P01 obligation
13
- prerequisites cannot be omitted, cycles/missing dependencies reject. Charter≤48000 bytes, total attempts≤32,
14
- each expanded input≤16KiB. Scope is the exact P01 selected snapshot digest, not a pathname/logical name.
15
-
16
- Only the probed fixed digest/hold profile is supported. A candidate FixedPolicy binds a canonical byte
17
- suffix, acceptance-policy digest, grants:[], effects:['fixed-digest'], model:null, effort:null, skills:[].
18
- Other configurations/effects refuse; offline SHA work is not model/skill work. The exact frozen charter is
19
- independently approved by the host; a model may propose data but no model participates in eligibility,
20
- resource arithmetic, permission, objective outcome, product choice or activation.
21
-
22
- The compiler emits explicit **fixed-experiment-v2** with an order-schedule-v1 payload. P11 v1 semantics and
23
- existing delegate_all remain unchanged; old experiment readers reject v2. P01 work bytes/selection and
24
- permitted read effects are revalidated. P11 pre-reserves ALL node/recovery attempts and queued slots in one
25
- synced resource-v4 batch before any worker launch. Runtime input is common bytes + pinned policy suffix +
26
- explicit attempt suffix. No extra attempts, implicit grant expansion or optimistic per-child budget checks.
27
- Existing per-call cap bounds actual running attempts. Queued/recovery slots are conservative active charges;
28
- skip/failure/cancel/exhaustion never refunds cumulative use.
29
-
30
- ## Actual controller API
31
-
32
- ```ts
33
- const registry = await createFactoryRegistry({directory, authorityId, scopeDigest, baseline});
34
- // Privileged one-time host initialization, like budget creation; not a model/wire authority loader.
35
- await createFactoryOrder(registry, exactCharter, independentAuthority);
36
- const order = await openFactoryOrder(registry, orderId, independentAuthority);
37
- const before = await order.inspect(); // no models, worker writes or dispatch
38
- const run = await order.advance(preparedProfile);
39
- const boundary = await run.boundary; // automatic eligible work drained; returns reserved decisions
40
- await order.decide(exactDecision, newlySuppliedHostAuthority);
41
- const final = await run.completion; // owns all workers, accounting and remaining reservations
42
- const bytes = await order.readArtifact(exactExecutionId);
43
- ```
44
-
45
- Objective success requires actual hash-backed P11 artifact bytes and the expected result digest under the
46
- frozen policy, not exit0 alone. Objective failure may consume only the next pre-reserved node attempt.
47
- Dependencies require satisfied predecessor nodes. A reserved decision additionally requires a full exact
48
- factory-decision-v1 request, independently approved digest, designated owner, current evidence digest and
49
- binding. Approve/reject is a recorded product choice, never inferred from stdout/model labels. Duplicate
50
- choices read back; conflicts, stale evidence and missing authority refuse. Decision digest covers requestId,
51
- bindingDigest, nodeId, evidenceDigest, authorityId and choice. Evidence identity includes policy, node,
52
- winning execution and artifact. No implicit decision changes or acceptance inheritance.
53
-
54
- Controller `control:failed|unknown` and diagnostics propagate through inspect/boundary/completion,
55
- including when later reads find complete worker results. These outcomes disable dispatch and require
56
- stakeholder action; retained objective artifacts are not erased. `not-assessed` does not certify the absence
57
- of a lost unrecorded controller failure. A primary worker result is not controller completion authority.
58
-
59
- Status returns nodes/obligation refs, objective state, next structural action, policy pin, accounting and
60
- explicit dispatchAuthorized. An eligible graph action is not permission when dispatchAuthorized:false.
61
- No provider is called; modelTransport is not-used-fixed-profile. Public inspect/reconcile are read-only and
62
- never wake/dispatch. Control eligibility instead takes the existing experiment lock and explicit resource
63
- controlSnapshot lock, avoiding a racing read-only observer snapshot as a control oracle. Required logging /
64
- accounting remains on the fail-closed path; optional P02 observation is still asynchronous.
65
-
66
- `order.cancel(exactExperimentCancellation, hostAuthority)` uses the ORIGINAL P11 handle and newly supplied
67
- exact cancellation approvals. No new reader can signal guessed PID/pane/idle state. The ordinary bounded
68
- profile deadline also owns queued/active lifetimes. Boundary resolves early only for a reserved decision;
69
- completion includes all launched work and cleanup. Storage failures after start yield explicit unknown
70
- rather than an unhandled background execution promise or fabricated success.
71
-
72
- ### Failure/escape matrix
73
-
74
- | Observation | Deterministic action |
75
- | --- | --- |
76
- | Exact objective passes, no reserved decision | Satisfy this node under frozen order policy; dependent nodes eligible |
77
- | Expected objective failure | Next explicitly pre-reserved node recovery only |
78
- | Recovery exhausted | Stop affected branch; stakeholder action; independent nodes continue |
79
- | Missing/corrupt artifact or unknown old execution | Unknown branch/dependents pause; no replay/refund; independent eligible nodes may continue |
80
- | Reserved product decision | Return decision-required at boundary; wait for exact independent choice or deadline |
81
- | Rejected decision | Branch/dependents stop; independent nodes continue |
82
- | Scope/source/effect drift | Stakeholder/new charter; no silently broadened scope/effects |
83
- | Total admission exhausted | No node launch; no optimistic partial admission |
84
- | Shared journal/ownership/accounting failure | Fail closed, abort original owned handles, drain launched tasks, unknown if evidence cannot be retained |
85
- | Duplicate/restart/lost acknowledgement | Read actual pinned state; never create another attempt/materialization to guess what happened |
86
-
87
- Unused reservations settle without launching at final bounded termination; attempts/bytes remain charged.
88
- No generic P01 work-acceptance event is synthesized: the view keeps acceptance:not-assessed. Satisfied means
89
- this explicitly authorized objective/decision policy, not full task, skill, evaluation or factory acceptance.
90
-
91
- Rollback restores the exact previous activation stack, including repeated candidate digests. A restored
92
- nonbaseline policy retains its adoption ID, current authority/facts and expiry revalidation for new orders;
93
- only the original baseline has null activation. Previously recorded bug-shaped order pins with null adoption
94
- for a restored nonbaseline candidate now refuse replay. No silent migration or acceptance transfer.
95
-
96
- ## Applied adoption, subsequent-order pins and rollback
97
-
98
- Exact pure upstream source `22606c21adb118b9ae395fe93a197609a63e05e3:packages/core/src/adoption.ts` is vendored
99
- unchanged in src/vendor/adoption.ts; adoption-pin.json records its hash. Its predicates are CONDITIONAL,
100
- not an activation service or authenticated authority. No model evaluation is performed here.
101
-
102
- FactoryAuthority is separately retained host input: id, exact order/decision/activation/migration digests,
103
- optional exact cancellation digests, independent P13 adoption/rollback authority and eligibility facts keyed
104
- uniquely by binding ID. Duplicate conflicting fact keys reject. Do not populate these lists/facts from an
105
- incoming proposal or a successful P11 result. This slice uses one explicitly configured host authority ID;
106
- remote identity/approval-service integration remains a host responsibility, not a signature claim.
107
-
108
- `openFactoryRegistry(binding).activate(request, authority)` validates the exact candidate/scope/experiment /
109
- assessment policy and receipt through the pinned predicates AGAIN under the existing bounded control lock.
110
- The whole factory-activation-v1 request is also approved, including expected current revision/candidate.
111
- Wrong/stale/expired/forged receipts, changed scope, false eligibility and missing authority cannot activate.
112
- The exact rollback candidate must be the currently active candidate. Applied change is a synced journal
113
- transition, not a caller boolean. New matching order creation revalidates current eligibility/expiry; all
114
- existing orders retain their immutable candidate/revision, intent, grants, model/effort/skill and policy pins.
115
- The new byte policy actually changes subsequent fixed-worker inputs/artifacts; it is not metadata-only.
116
-
117
- `registry.rollback(exactP13RollbackRequest, authority)` revalidates current active adoption/candidate/scope
118
- and separately approved rollback against the pinned predicate, then appends the actual restore transition.
119
- It returns application:applied only after required persistence. The upstream predicate's not-performed
120
- result is not confused with that application. Changed newer policy cannot be overwritten by stale rollback.
121
- Existing orders remain pinned. No automatic rollback from one failure, no grant expansion.
122
-
123
- ## Explicit migration and durable receipts
124
-
125
- `migrateFactoryOrder(registry, request, authority)` requires exact factory-migration-v1 approval plus both
126
- source and successor order approvals. Only an UNSTARTED original P11 controller may be superseded, checked
127
- under its own lock—not from PID/idle/finished metadata. A durable request precedes the source's actual
128
- order-migrated barrier; all future starts of that source refuse. A separately materialized matching-scope
129
- successor receives current approved policy. The applied migration receipt lists renewed obligation refs,
130
- grantExpansion:false and acceptanceTransfer:none. Any original claim, including completed work, yields an
131
- explicit refused-active receipt; active/history-bearing migration is NOT supported. Cross-scope migration
132
- requires separately governed new registry/order authority, not this exception.
133
-
134
- A lost acknowledgement/partial materialization can leave pending-or-unknown and a blocked old order. Exact
135
- redelivery only reads; it does not repeat source migration, creation or execution. No rollback/truncation /
136
- lock reclamation or inference from an orphan artifact. Full-controller-crash recovery remains separate.
137
-
138
- ## Persistence and qualification limits
139
-
140
- Registry is an operational policy/order-pin journal INSIDE pi-daddy, not a dashboard learning-decision store.
141
- New private canonical directory, pinned directory/file dev/inode, nofollow single-link bounded files,
142
- non-expiring lock, chained records and required sync/close/directory sync. Limits512KiB/256 records/64KiB
143
- record/32 pinned orders. Physical experiment materialization is validated against its earlier compiled pin.
144
- Readbacks check actual journals/artifacts; missing/corrupt/torn data does not silently reset state.
145
-
146
- Host initialization/declarations are conditional authority, not authentication, rollback resistance or hostile
147
- same-UID containment. Filesystem stalls, aggregate CPU/memory/PID/money/disk guarantees, live pi/Herdr atomic
148
- steering, arbitrary model/skill variants, calibrated evaluation/adoption eligibility, installed/live demos,
149
- active-order migration and full P15/factory acceptance remain unqualified. Existing P11/P06 bounds and P08
150
- pause limits remain. Native865-vs1316 original evidence and original-live observation-drain diagnosis are
151
- preserved; draining is not full-session completeness or fsync.
@@ -1,8 +0,0 @@
1
- {
2
- "repository": "https://github.com/mojomanyana/skill-harness",
3
- "commit": "22606c21adb118b9ae395fe93a197609a63e05e3",
4
- "source": "packages/core/src/adoption.ts",
5
- "target": "src/vendor/adoption.ts",
6
- "sha256": "dd3adae2c8283620ffc12d52baa570ba802ca96e208b0209520295a6979e9d02",
7
- "meaning": "exact pure conditional predicates, not authentication or activation"
8
- }
@@ -1,135 +0,0 @@
1
- # P05 actual intent application adapter — contract for P08/P11/P15
2
-
3
- Local implemented continuation after reviewed 785f7e6, not yet cleared for publication or formal acceptance.
4
- The earlier dispatch-v1 matrix describes that earlier protocol; omitted repository adapters were not a
5
- permanent external blocker. This adapter performs actual P01 appends, selected-intent changes and explicit
6
- scheduling changes. It does not send worker messages or infer general live-pi safe boundaries.
7
-
8
- ## Supported effects and exact boundaries
9
-
10
- | Action | Actual effect | Bounds |
11
- | --- | --- | --- |
12
- | revise-scope | Rebuild/validate supplied P01 revision/snapshot events with existing builders; append missing immutable events; commit exact resulting selected snapshot in controller receipt | Next scope revision and exact predecessors; same entity set, owner, scope ID, parent/dependency entity topology, exact policy refs; no permission expansion |
13
- | reprioritize | Persist complete explicit `{obligation, rank}` policy for exact selected obligations; real subsequent v3 reservations enforce it | No work append or selection change; lower rank first, ties by canonical full obligation reference, never incoming array order |
14
- | select-alternative | Validate an already recorded exact P01 snapshot and select it in the authoritative controller receipt | No append; same entity/owner/topology/policy/non-expansion checks; not a latest/last/first snapshot election |
15
- | busy request | Record approved request references and keep pending-or-unknown; admission barrier blocks new reservations | Application only under the existing budget lock after all original reservations settle; dispatch and intent pending requests exclude each other |
16
- | fixed-profile execution | Actual `runDigestProfile` reservation carries exact selection, controller revision and scheduled obligation | v3 primary, once-per-selection/obligation dispatch only; original attempt/input/concurrency charges and opaque native profile unchanged |
17
-
18
- Adding/removing entities, policy changes, topology expansion, unbound effects and v3 retry/shadow scheduling
19
- are outside this deliberately bounded policy, not proved impossible external primitives. v1/v2 resource
20
- routes retain their previous features and wire semantics. Scope revision, intent-controller revision and
21
- legacy dispatch revision are three different values; none is work acceptance.
22
-
23
- ## One intent source; explicit v3 header
24
-
25
- `bindWorkIntent` validates actual owned regular work-v4 bytes and the exact initial selection/priorities.
26
- Its physical path/device/inode plus optional protected grant-ledger path are retained in an independently
27
- held **v3.0 resource budget binding** created with `createIntentBudget`. Work file and parent must be private,
28
- canonical/owned; symlinks/replacement/hardlinks/partial bytes fail. No discovery or authority file is loaded.
29
- The existing pinned `budget.jsonl` stores only references and operational selections/priorities, never a
30
- second copy of revision contents or granted permissions. Work-v4 remains the sole authoritative intent
31
- content. No dashboard database, mutable approval list, package install or source-store upgrade is created.
32
-
33
- No silent conversion: `createResourceBudget` remains v1.0; `createDispatchBudget` remains v2.0. Older readers
34
- reject v3. The existing reservation journal gains `intent-request` and `intent-apply` only under the v3
35
- header. It holds at most 32 intent requests/applications in addition to existing bounded records (2369
36
- lines / 2 MiB total). The separate work ledger keeps existing P01 byte/record bounds.
37
-
38
- ## API / complete-change authorization
39
-
40
- ```ts
41
- import { bindWorkIntent, createIntentBudget, openResourceBudget, runDigestProfile } from 'pi-daddy';
42
- import { parseIntentRequest } from 'pi-daddy/intent-control';
43
- const work = await bindWorkIntent({ path, grantLedgerPath, selection: initialSelection, priorities });
44
- const binding = await createIntentBudget({ directory, authorityDigest, limits }, work);
45
- const budget = openResourceBudget(binding);
46
- const controller = budget.intentControls(independentHostDeclarations); // null defaults denied
47
- const request = parseIntentRequest(originalRequestBytes);
48
- const result = await controller.request(request);
49
- const status = await controller.inspect(); // no lock files, writes or reconciliation
50
- const reconciled = await controller.reconcile(request); // complete original request, exact digest/ID
51
- // Existing prepared digest profile must belong to this same binding.
52
- if (!status.nextObligation) throw new Error('no currently admissible scheduled obligation');
53
- await runDigestProfile(profile, { attempt, bytes, intent: {
54
- selection: status.selection, revision: status.revision, obligation: status.nextObligation
55
- } });
56
- ```
57
-
58
- The caller must check a non-null next obligation and separately satisfy any applicable host workflow gates.
59
- P04 can consume the resulting exact `status.selection` as `workContext.selectedSnapshot`, with independently
60
- verified P01 acceptance authority if available. The adapter never constructs that acceptance authority.
61
-
62
- `IntentRequest` (`intent-request-v1`) binds exact resource binding digest, expected controller revision,
63
- expected current snapshot AND event identity, action, target selection, complete proposed event bytes and
64
- complete explicit priorities. Independent host declarations authorize its **whole normalized digest**,
65
- not just a request ID/action/target. Request metadata contains no approval field. Host declarations must be
66
- independently established, not mechanically copied from wire claims. The library does not authenticate a
67
- remote caller or confer trust on receipt-shaped JSON. No approval/effect callback is accepted.
68
-
69
- The strict parser enforces duplicate members, exact numeric tokens, closed shape, 48 KiB, at most 16 proposed
70
- revision/snapshot events, 32 exact obligation priorities, 64 selected non-scope revisions and safe bounded
71
- IDs/ranks. `request.schema.json` is a standalone decoded-shape schema; its embedded `work_*` definitions are
72
- exact P01 definitions with local reference prefixes, compared to the original by tests. Shape validation
73
- is not authority, digest, graph, availability, non-expansion or application validation. Events must match
74
- actual P01 builder output, and cannot smuggle unselected revisions/snapshots or acceptance/occurrence events.
75
-
76
- ## Application, acknowledgement and reconciliation
77
-
78
- Approval validates current selected P01 closure, full proposed closure, exact predecessors and non-expansion
79
- under the budget transaction. The request receipt records immutable request digest, exact old/new selections,
80
- proposed event references, priorities, decision and pending-or-unknown application state. Approval advances
81
- only the intent-controller revision. A stale expected revision/selection or missing approval cannot overwrite
82
- it. Unknown authority, stale and busy refusals remain recorded immutable decisions, not implicit retries.
83
-
84
- At verified **reservation** quiescence, the adapter revalidates actual source bytes and uses the new explicit
85
- `appendWorkLedgerEventOnce` seam. It shares P01's protected destination checks, terminal-LF admission and
86
- non-expiring work-file lock. Only this opt-in seam skips exact event ID/digest redelivery and fsyncs; ordinary
87
- `appendWorkLedgerEvent` still preserves duplicate deliveries. Contradictory same-ID data rejects. The
88
- adapter revalidates resulting actual P01 bytes before appending the application receipt and switching selected
89
- intent/priorities. It does not fabricate application from a callback, timestamp, idle flag or acknowledgement.
90
-
91
- A complete work append followed by controller receipt failure remains **pending-or-unknown**, with old
92
- controller selection until an actual application receipt exists. Exact duplicate request delivery is readback
93
- only. Explicit reconciliation requires the same entire authorized original request and ID/digest; it skips
94
- already retained exact events, appends only missing events, fsyncs retained bytes again, and records one
95
- application. No duplicate intent effects, alternate store, truncation or automatic repair. Preserve the
96
- immutable original request: the controller receipt intentionally stores references rather than missing
97
- revision contents. Losing that proposal is not permission to invent replacements.
98
-
99
- An I/O error is never proof nothing happened: even an application receipt may have been completely written
100
- before sync/close failure. Caller acknowledgement is unknown until exact bound readback/reconciliation;
101
- readback is not crash durability or remote/live-worker authentication. Torn bytes stop admission. A real
102
- controller crash can leave non-expiring budget/work locks and outstanding permits: status stays read-only,
103
- and reconciliation refuses rather than inferring ownership loss from PID/age. Safe lock/orphan recovery
104
- needs separately governed work; it is not supplied here.
105
-
106
- `IntentSnapshot` version `intent-controller-snapshot-v1` exposes exact selected references, controller
107
- revision, explicit priorities and immutable decision/application/outcome records. `resultSelection` is null
108
- until applied, then records the exact resulting selection; outcomes distinguish selection-applied,
109
- priority-applied, pending-or-unknown and refused. `intent-ready` is readiness of
110
- this intent layer, **not** an unpaused dispatcher or accepted work; inspection also reports dispatch pause
111
- and a next obligation only when relevant barriers allow it. Freshness stays snapshot-unknown; acceptance is
112
- not-assessed. Scheduling consumption means once dispatched/charged, never completed or accepted. Dependencies
113
- are retained P01 intent relationships, not newly invented acceptance/dispatch prerequisite semantics.
114
-
115
- ## Remaining boundaries, honestly classified
116
-
117
- - **Implemented here:** bounded scope successor application, concrete priority enforcement and recorded
118
- alternative selection through real P01/control/reservation/profile seams. Models remain unnecessary.
119
- - **Owned fixed-profile cancellation adapter not implemented here:** the existing caller-held AbortSignal
120
- can cancel its own invocation. A durable request-ID-to-live-owned-handle/application acknowledgement bridge
121
- is still repository implementation work, not proof of a missing kernel primitive. No such acknowledgement
122
- is invented, and cancellation remains distinct from steering.
123
- - **General live pi/Herdr steering remains genuinely unqualified:** no verified atomic session/target/safe-
124
- boundary transport was established. No terminal typing, worker/status prompts or PID/title/idle guesses.
125
- - **Scope of boundary:** quiescence of this exact budget, not global process silence. Historical/untracked
126
- executions keep their old exact work bindings; this does not steer or rebind them. Coordinated controller
127
- writers share the budget lock; direct conflicting work writes invalidate selection/admission rather than
128
- being silently accepted. Malicious same-UID races/rollback and full-controller-crash cleanup remain excluded.
129
- - P02 native bytes/branch gaps, P04 live freshness and P06 arbitrary pi/bash/shared-write/global resource
130
- containment limitations remain. No source result closes overall review or formal acceptance.
131
-
132
- Ordinary owned tests cover actual appends/selection/P04 projection, unchanged permission bytes, real native
133
- priority enforcement, stale/default-denied authority, busy settlement, exact duplicate/cross-process delivery,
134
- complete-append/failed-receipt and multi-record reconciliation, torn/substituted files, a real controller exit
135
- with retained locks, and read-only status. Fixtures are not live pi/Herdr or installed-package qualification.