wingfoil 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (452) hide show
  1. package/README.md +88 -42
  2. package/dist/agent/discovery.d.ts +72 -0
  3. package/dist/agent/discovery.d.ts.map +1 -0
  4. package/dist/agent/discovery.js +210 -0
  5. package/dist/agent/discovery.js.map +1 -0
  6. package/dist/agent/execute.d.ts +206 -0
  7. package/dist/agent/execute.d.ts.map +1 -0
  8. package/dist/agent/execute.js +581 -0
  9. package/dist/agent/execute.js.map +1 -0
  10. package/dist/agent/index.d.ts +23 -0
  11. package/dist/agent/index.d.ts.map +1 -0
  12. package/dist/agent/index.js +85 -0
  13. package/dist/agent/index.js.map +1 -0
  14. package/dist/agent/launch.d.ts +133 -0
  15. package/dist/agent/launch.d.ts.map +1 -0
  16. package/dist/agent/launch.js +380 -0
  17. package/dist/agent/launch.js.map +1 -0
  18. package/dist/agent/manifest.d.ts +30 -0
  19. package/dist/agent/manifest.d.ts.map +1 -0
  20. package/dist/agent/manifest.js +93 -0
  21. package/dist/agent/manifest.js.map +1 -0
  22. package/dist/agent/placeholders.d.ts +49 -0
  23. package/dist/agent/placeholders.d.ts.map +1 -0
  24. package/dist/agent/placeholders.js +177 -0
  25. package/dist/agent/placeholders.js.map +1 -0
  26. package/dist/agent/run-log.d.ts +254 -0
  27. package/dist/agent/run-log.d.ts.map +1 -0
  28. package/dist/agent/run-log.js +612 -0
  29. package/dist/agent/run-log.js.map +1 -0
  30. package/dist/agent/schema.d.ts +100 -0
  31. package/dist/agent/schema.d.ts.map +1 -0
  32. package/dist/agent/schema.js +89 -0
  33. package/dist/agent/schema.js.map +1 -0
  34. package/dist/agent/step.d.ts +41 -0
  35. package/dist/agent/step.d.ts.map +1 -0
  36. package/dist/agent/step.js +95 -0
  37. package/dist/agent/step.js.map +1 -0
  38. package/dist/build-info.json +4 -0
  39. package/dist/cli/error.d.ts +11 -2
  40. package/dist/cli/error.d.ts.map +1 -1
  41. package/dist/cli/error.js +27 -6
  42. package/dist/cli/error.js.map +1 -1
  43. package/dist/cli/exit.d.ts +33 -3
  44. package/dist/cli/exit.d.ts.map +1 -1
  45. package/dist/cli/exit.js +54 -3
  46. package/dist/cli/exit.js.map +1 -1
  47. package/dist/cli/index.d.ts +2 -2
  48. package/dist/cli/index.d.ts.map +1 -1
  49. package/dist/cli/index.js +3 -2
  50. package/dist/cli/index.js.map +1 -1
  51. package/dist/cli/init-command.d.ts.map +1 -1
  52. package/dist/cli/init-command.js +6 -3
  53. package/dist/cli/init-command.js.map +1 -1
  54. package/dist/cli/mcp-command.d.ts +13 -4
  55. package/dist/cli/mcp-command.d.ts.map +1 -1
  56. package/dist/cli/mcp-command.js +25 -8
  57. package/dist/cli/mcp-command.js.map +1 -1
  58. package/dist/cli/output.d.ts +12 -4
  59. package/dist/cli/output.d.ts.map +1 -1
  60. package/dist/cli/output.js +15 -4
  61. package/dist/cli/output.js.map +1 -1
  62. package/dist/cli/program.d.ts +1 -1
  63. package/dist/cli/program.d.ts.map +1 -1
  64. package/dist/cli/program.js +270 -60
  65. package/dist/cli/program.js.map +1 -1
  66. package/dist/cli/registrar.d.ts +16 -7
  67. package/dist/cli/registrar.d.ts.map +1 -1
  68. package/dist/cli/registrar.js +71 -6
  69. package/dist/cli/registrar.js.map +1 -1
  70. package/dist/cli/suggest.d.ts +20 -0
  71. package/dist/cli/suggest.d.ts.map +1 -0
  72. package/dist/cli/suggest.js +49 -0
  73. package/dist/cli/suggest.js.map +1 -0
  74. package/dist/cli/warning.d.ts +26 -0
  75. package/dist/cli/warning.d.ts.map +1 -0
  76. package/dist/cli/warning.js +66 -0
  77. package/dist/cli/warning.js.map +1 -0
  78. package/dist/cli.js +11 -2
  79. package/dist/cli.js.map +1 -1
  80. package/dist/core/agent-execute.d.ts +44 -0
  81. package/dist/core/agent-execute.d.ts.map +1 -0
  82. package/dist/core/agent-execute.js +71 -0
  83. package/dist/core/agent-execute.js.map +1 -0
  84. package/dist/core/agent-list.d.ts +95 -0
  85. package/dist/core/agent-list.d.ts.map +1 -0
  86. package/dist/core/agent-list.js +207 -0
  87. package/dist/core/agent-list.js.map +1 -0
  88. package/dist/core/agent-show.d.ts +44 -0
  89. package/dist/core/agent-show.d.ts.map +1 -0
  90. package/dist/core/agent-show.js +188 -0
  91. package/dist/core/agent-show.js.map +1 -0
  92. package/dist/core/approval-authority.d.ts +17 -14
  93. package/dist/core/approval-authority.d.ts.map +1 -1
  94. package/dist/core/approval-authority.js +9 -9
  95. package/dist/core/approval-authority.js.map +1 -1
  96. package/dist/core/builtin-asset.d.ts +18 -15
  97. package/dist/core/builtin-asset.d.ts.map +1 -1
  98. package/dist/core/builtin-asset.js +17 -14
  99. package/dist/core/builtin-asset.js.map +1 -1
  100. package/dist/core/builtin-integrity.d.ts +12 -2
  101. package/dist/core/builtin-integrity.d.ts.map +1 -1
  102. package/dist/core/builtin-integrity.js +85 -9
  103. package/dist/core/builtin-integrity.js.map +1 -1
  104. package/dist/core/confinement.d.ts +3 -1
  105. package/dist/core/confinement.d.ts.map +1 -1
  106. package/dist/core/confinement.js +7 -4
  107. package/dist/core/confinement.js.map +1 -1
  108. package/dist/core/context.d.ts +150 -98
  109. package/dist/core/context.d.ts.map +1 -1
  110. package/dist/core/context.js +602 -66
  111. package/dist/core/context.js.map +1 -1
  112. package/dist/core/directive-assign.d.ts +33 -7
  113. package/dist/core/directive-assign.d.ts.map +1 -1
  114. package/dist/core/directive-assign.js +67 -27
  115. package/dist/core/directive-assign.js.map +1 -1
  116. package/dist/core/directive-scope.d.ts +36 -0
  117. package/dist/core/directive-scope.d.ts.map +1 -0
  118. package/dist/core/directive-scope.js +34 -0
  119. package/dist/core/directive-scope.js.map +1 -0
  120. package/dist/core/directives-list.d.ts +13 -3
  121. package/dist/core/directives-list.d.ts.map +1 -1
  122. package/dist/core/directives-list.js +18 -6
  123. package/dist/core/directives-list.js.map +1 -1
  124. package/dist/core/dry-run.d.ts +33 -0
  125. package/dist/core/dry-run.d.ts.map +1 -0
  126. package/dist/core/dry-run.js +45 -0
  127. package/dist/core/dry-run.js.map +1 -0
  128. package/dist/core/element-ref.d.ts +23 -0
  129. package/dist/core/element-ref.d.ts.map +1 -0
  130. package/dist/core/element-ref.js +24 -0
  131. package/dist/core/element-ref.js.map +1 -0
  132. package/dist/core/error-details.d.ts +20 -0
  133. package/dist/core/error-details.d.ts.map +1 -0
  134. package/dist/core/error-details.js +65 -0
  135. package/dist/core/error-details.js.map +1 -0
  136. package/dist/core/exit-code.js +6 -6
  137. package/dist/core/git-identity.d.ts +46 -11
  138. package/dist/core/git-identity.d.ts.map +1 -1
  139. package/dist/core/git-identity.js +140 -27
  140. package/dist/core/git-identity.js.map +1 -1
  141. package/dist/core/index.d.ts +189 -14
  142. package/dist/core/index.d.ts.map +1 -1
  143. package/dist/core/index.js +1241 -238
  144. package/dist/core/index.js.map +1 -1
  145. package/dist/core/init.d.ts +50 -8
  146. package/dist/core/init.d.ts.map +1 -1
  147. package/dist/core/init.js +139 -27
  148. package/dist/core/init.js.map +1 -1
  149. package/dist/core/loaders.d.ts +170 -14
  150. package/dist/core/loaders.d.ts.map +1 -1
  151. package/dist/core/loaders.js +570 -89
  152. package/dist/core/loaders.js.map +1 -1
  153. package/dist/core/memory-add-link.d.ts +28 -0
  154. package/dist/core/memory-add-link.d.ts.map +1 -0
  155. package/dist/core/memory-add-link.js +67 -0
  156. package/dist/core/memory-add-link.js.map +1 -0
  157. package/dist/core/memory-add-type.d.ts +25 -1
  158. package/dist/core/memory-add-type.d.ts.map +1 -1
  159. package/dist/core/memory-add-type.js +59 -1
  160. package/dist/core/memory-add-type.js.map +1 -1
  161. package/dist/core/memory-amend.d.ts +80 -0
  162. package/dist/core/memory-amend.d.ts.map +1 -0
  163. package/dist/core/memory-amend.js +160 -0
  164. package/dist/core/memory-amend.js.map +1 -0
  165. package/dist/core/memory-supersede.d.ts +28 -0
  166. package/dist/core/memory-supersede.d.ts.map +1 -0
  167. package/dist/core/memory-supersede.js +79 -0
  168. package/dist/core/memory-supersede.js.map +1 -0
  169. package/dist/core/memory-transition.d.ts +190 -30
  170. package/dist/core/memory-transition.d.ts.map +1 -1
  171. package/dist/core/memory-transition.js +480 -59
  172. package/dist/core/memory-transition.js.map +1 -1
  173. package/dist/core/registry.d.ts +147 -23
  174. package/dist/core/registry.d.ts.map +1 -1
  175. package/dist/core/registry.js +50 -0
  176. package/dist/core/registry.js.map +1 -1
  177. package/dist/core/relevance.d.ts +74 -12
  178. package/dist/core/relevance.d.ts.map +1 -1
  179. package/dist/core/relevance.js +45 -27
  180. package/dist/core/relevance.js.map +1 -1
  181. package/dist/core/require-reason.d.ts.map +1 -1
  182. package/dist/core/require-reason.js +6 -5
  183. package/dist/core/require-reason.js.map +1 -1
  184. package/dist/core/required-fields.d.ts +28 -0
  185. package/dist/core/required-fields.d.ts.map +1 -0
  186. package/dist/core/required-fields.js +60 -0
  187. package/dist/core/required-fields.js.map +1 -0
  188. package/dist/core/revision.d.ts +82 -0
  189. package/dist/core/revision.d.ts.map +1 -0
  190. package/dist/core/revision.js +144 -0
  191. package/dist/core/revision.js.map +1 -0
  192. package/dist/core/types.d.ts +28 -2
  193. package/dist/core/types.d.ts.map +1 -1
  194. package/dist/core/types.js +12 -3
  195. package/dist/core/types.js.map +1 -1
  196. package/dist/core/workflow-core-checks.d.ts +34 -0
  197. package/dist/core/workflow-core-checks.d.ts.map +1 -0
  198. package/dist/core/workflow-core-checks.js +403 -0
  199. package/dist/core/workflow-core-checks.js.map +1 -0
  200. package/dist/core/workflow-create-remove.d.ts +65 -0
  201. package/dist/core/workflow-create-remove.d.ts.map +1 -0
  202. package/dist/core/workflow-create-remove.js +277 -0
  203. package/dist/core/workflow-create-remove.js.map +1 -0
  204. package/dist/core/workflow-deduction.d.ts +48 -0
  205. package/dist/core/workflow-deduction.d.ts.map +1 -0
  206. package/dist/core/workflow-deduction.js +523 -0
  207. package/dist/core/workflow-deduction.js.map +1 -0
  208. package/dist/core/workflow-diagnostics.d.ts +83 -0
  209. package/dist/core/workflow-diagnostics.d.ts.map +1 -0
  210. package/dist/core/workflow-diagnostics.js +375 -0
  211. package/dist/core/workflow-diagnostics.js.map +1 -0
  212. package/dist/core/workflow-exit-state.d.ts +125 -0
  213. package/dist/core/workflow-exit-state.d.ts.map +1 -0
  214. package/dist/core/workflow-exit-state.js +243 -0
  215. package/dist/core/workflow-exit-state.js.map +1 -0
  216. package/dist/core/workflow-finalize.d.ts +37 -0
  217. package/dist/core/workflow-finalize.d.ts.map +1 -0
  218. package/dist/core/workflow-finalize.js +153 -0
  219. package/dist/core/workflow-finalize.js.map +1 -0
  220. package/dist/core/workflow-list-show.d.ts +176 -0
  221. package/dist/core/workflow-list-show.d.ts.map +1 -0
  222. package/dist/core/workflow-list-show.js +268 -0
  223. package/dist/core/workflow-list-show.js.map +1 -0
  224. package/dist/core/workflow-next.d.ts +268 -0
  225. package/dist/core/workflow-next.d.ts.map +1 -0
  226. package/dist/core/workflow-next.js +503 -0
  227. package/dist/core/workflow-next.js.map +1 -0
  228. package/dist/core/workflow-registry.d.ts +52 -0
  229. package/dist/core/workflow-registry.d.ts.map +1 -0
  230. package/dist/core/workflow-registry.js +158 -0
  231. package/dist/core/workflow-registry.js.map +1 -0
  232. package/dist/core/workflow-start-end.d.ts +71 -0
  233. package/dist/core/workflow-start-end.d.ts.map +1 -0
  234. package/dist/core/workflow-start-end.js +298 -0
  235. package/dist/core/workflow-start-end.js.map +1 -0
  236. package/dist/core/workflow-status.d.ts +83 -0
  237. package/dist/core/workflow-status.d.ts.map +1 -0
  238. package/dist/core/workflow-status.js +125 -0
  239. package/dist/core/workflow-status.js.map +1 -0
  240. package/dist/core/write-guard.d.ts +51 -8
  241. package/dist/core/write-guard.d.ts.map +1 -1
  242. package/dist/core/write-guard.js +139 -9
  243. package/dist/core/write-guard.js.map +1 -1
  244. package/dist/directives/index.d.ts +3 -2
  245. package/dist/directives/index.d.ts.map +1 -1
  246. package/dist/directives/index.js +5 -3
  247. package/dist/directives/index.js.map +1 -1
  248. package/dist/directives/schema.d.ts +35 -30
  249. package/dist/directives/schema.d.ts.map +1 -1
  250. package/dist/directives/schema.js +36 -30
  251. package/dist/directives/schema.js.map +1 -1
  252. package/dist/directives/version.d.ts +28 -0
  253. package/dist/directives/version.d.ts.map +1 -0
  254. package/dist/directives/version.js +51 -0
  255. package/dist/directives/version.js.map +1 -0
  256. package/dist/dna/edit.d.ts +7 -6
  257. package/dist/dna/edit.d.ts.map +1 -1
  258. package/dist/dna/edit.js +96 -41
  259. package/dist/dna/edit.js.map +1 -1
  260. package/dist/dna/mutate.js +18 -3
  261. package/dist/dna/mutate.js.map +1 -1
  262. package/dist/dna/path.d.ts +2 -2
  263. package/dist/dna/roles.d.ts +1 -1
  264. package/dist/dna/schema.d.ts +61 -3
  265. package/dist/dna/schema.d.ts.map +1 -1
  266. package/dist/dna/schema.js +121 -6
  267. package/dist/dna/schema.js.map +1 -1
  268. package/dist/mcp/dna-resource.d.ts.map +1 -1
  269. package/dist/mcp/dna-resource.js +4 -4
  270. package/dist/mcp/dna-resource.js.map +1 -1
  271. package/dist/mcp/index.d.ts +9 -5
  272. package/dist/mcp/index.d.ts.map +1 -1
  273. package/dist/mcp/index.js +13 -2
  274. package/dist/mcp/index.js.map +1 -1
  275. package/dist/mcp/memory-resource.d.ts.map +1 -1
  276. package/dist/mcp/memory-resource.js +30 -19
  277. package/dist/mcp/memory-resource.js.map +1 -1
  278. package/dist/mcp/prompt.d.ts +61 -24
  279. package/dist/mcp/prompt.d.ts.map +1 -1
  280. package/dist/mcp/prompt.js +176 -47
  281. package/dist/mcp/prompt.js.map +1 -1
  282. package/dist/mcp/read-only.d.ts +39 -0
  283. package/dist/mcp/read-only.d.ts.map +1 -1
  284. package/dist/mcp/read-only.js +61 -0
  285. package/dist/mcp/read-only.js.map +1 -1
  286. package/dist/mcp/registrar.d.ts +10 -0
  287. package/dist/mcp/registrar.d.ts.map +1 -1
  288. package/dist/mcp/registrar.js +48 -12
  289. package/dist/mcp/registrar.js.map +1 -1
  290. package/dist/mcp/server.d.ts +21 -14
  291. package/dist/mcp/server.d.ts.map +1 -1
  292. package/dist/mcp/server.js +41 -15
  293. package/dist/mcp/server.js.map +1 -1
  294. package/dist/mcp/session-resource.d.ts +13 -0
  295. package/dist/mcp/session-resource.d.ts.map +1 -0
  296. package/dist/mcp/session-resource.js +65 -0
  297. package/dist/mcp/session-resource.js.map +1 -0
  298. package/dist/mcp/workflow-resource.d.ts +18 -0
  299. package/dist/mcp/workflow-resource.d.ts.map +1 -1
  300. package/dist/mcp/workflow-resource.js +37 -8
  301. package/dist/mcp/workflow-resource.js.map +1 -1
  302. package/dist/memory/add.d.ts +160 -17
  303. package/dist/memory/add.d.ts.map +1 -1
  304. package/dist/memory/add.js +361 -51
  305. package/dist/memory/add.js.map +1 -1
  306. package/dist/memory/audit.d.ts +165 -32
  307. package/dist/memory/audit.d.ts.map +1 -1
  308. package/dist/memory/audit.js +267 -97
  309. package/dist/memory/audit.js.map +1 -1
  310. package/dist/memory/commit-message.d.ts +60 -38
  311. package/dist/memory/commit-message.d.ts.map +1 -1
  312. package/dist/memory/commit-message.js +167 -21
  313. package/dist/memory/commit-message.js.map +1 -1
  314. package/dist/memory/entry.d.ts.map +1 -1
  315. package/dist/memory/entry.js +1 -2
  316. package/dist/memory/entry.js.map +1 -1
  317. package/dist/memory/frontmatter-edit.d.ts +16 -4
  318. package/dist/memory/frontmatter-edit.d.ts.map +1 -1
  319. package/dist/memory/frontmatter-edit.js +13 -1
  320. package/dist/memory/frontmatter-edit.js.map +1 -1
  321. package/dist/memory/git-log.d.ts +18 -6
  322. package/dist/memory/git-log.d.ts.map +1 -1
  323. package/dist/memory/git-log.js +40 -13
  324. package/dist/memory/git-log.js.map +1 -1
  325. package/dist/memory/history.d.ts +74 -13
  326. package/dist/memory/history.d.ts.map +1 -1
  327. package/dist/memory/history.js +129 -45
  328. package/dist/memory/history.js.map +1 -1
  329. package/dist/memory/index.d.ts +13 -11
  330. package/dist/memory/index.d.ts.map +1 -1
  331. package/dist/memory/index.js +38 -3
  332. package/dist/memory/index.js.map +1 -1
  333. package/dist/memory/query.d.ts +161 -19
  334. package/dist/memory/query.d.ts.map +1 -1
  335. package/dist/memory/query.js +435 -55
  336. package/dist/memory/query.js.map +1 -1
  337. package/dist/memory/schema.d.ts +52 -3
  338. package/dist/memory/schema.d.ts.map +1 -1
  339. package/dist/memory/schema.js +132 -8
  340. package/dist/memory/schema.js.map +1 -1
  341. package/dist/memory/state-machine.d.ts +65 -10
  342. package/dist/memory/state-machine.d.ts.map +1 -1
  343. package/dist/memory/state-machine.js +136 -48
  344. package/dist/memory/state-machine.js.map +1 -1
  345. package/dist/memory/submit.d.ts +52 -3
  346. package/dist/memory/submit.d.ts.map +1 -1
  347. package/dist/memory/submit.js +118 -11
  348. package/dist/memory/submit.js.map +1 -1
  349. package/dist/storage/build-stamp.d.ts +18 -0
  350. package/dist/storage/build-stamp.d.ts.map +1 -0
  351. package/dist/storage/build-stamp.js +68 -0
  352. package/dist/storage/build-stamp.js.map +1 -0
  353. package/dist/storage/builtin-adapters.d.ts +32 -0
  354. package/dist/storage/builtin-adapters.d.ts.map +1 -0
  355. package/dist/storage/builtin-adapters.js +100 -0
  356. package/dist/storage/builtin-adapters.js.map +1 -0
  357. package/dist/storage/builtin-directives.d.ts +0 -29
  358. package/dist/storage/builtin-directives.d.ts.map +1 -1
  359. package/dist/storage/builtin-directives.js +9 -4
  360. package/dist/storage/builtin-directives.js.map +1 -1
  361. package/dist/storage/commit.d.ts +310 -3
  362. package/dist/storage/commit.d.ts.map +1 -1
  363. package/dist/storage/commit.js +807 -33
  364. package/dist/storage/commit.js.map +1 -1
  365. package/dist/storage/document.d.ts +6 -0
  366. package/dist/storage/document.d.ts.map +1 -1
  367. package/dist/storage/document.js +10 -1
  368. package/dist/storage/document.js.map +1 -1
  369. package/dist/storage/dry-run.d.ts +65 -0
  370. package/dist/storage/dry-run.d.ts.map +1 -0
  371. package/dist/storage/dry-run.js +150 -0
  372. package/dist/storage/dry-run.js.map +1 -0
  373. package/dist/storage/errors.d.ts +26 -0
  374. package/dist/storage/errors.d.ts.map +1 -1
  375. package/dist/storage/errors.js +27 -1
  376. package/dist/storage/errors.js.map +1 -1
  377. package/dist/storage/frontmatter.d.ts +1 -1
  378. package/dist/storage/frontmatter.js +1 -1
  379. package/dist/storage/git-read.d.ts +64 -0
  380. package/dist/storage/git-read.d.ts.map +1 -0
  381. package/dist/storage/git-read.js +107 -0
  382. package/dist/storage/git-read.js.map +1 -0
  383. package/dist/storage/index.d.ts +13 -5
  384. package/dist/storage/index.d.ts.map +1 -1
  385. package/dist/storage/index.js +39 -2
  386. package/dist/storage/index.js.map +1 -1
  387. package/dist/storage/layout.d.ts +2 -2
  388. package/dist/storage/layout.d.ts.map +1 -1
  389. package/dist/storage/layout.js +2 -7
  390. package/dist/storage/layout.js.map +1 -1
  391. package/dist/storage/memory-path.d.ts +18 -5
  392. package/dist/storage/memory-path.d.ts.map +1 -1
  393. package/dist/storage/memory-path.js +41 -5
  394. package/dist/storage/memory-path.js.map +1 -1
  395. package/dist/storage/snapshot.js +1 -1
  396. package/dist/storage/templates.d.ts +33 -6
  397. package/dist/storage/templates.d.ts.map +1 -1
  398. package/dist/storage/templates.js +182 -17
  399. package/dist/storage/templates.js.map +1 -1
  400. package/dist/validation/config-version.d.ts +19 -0
  401. package/dist/validation/config-version.d.ts.map +1 -0
  402. package/dist/validation/config-version.js +53 -0
  403. package/dist/validation/config-version.js.map +1 -0
  404. package/dist/validation/diagnostic.d.ts +40 -0
  405. package/dist/validation/diagnostic.d.ts.map +1 -0
  406. package/dist/validation/diagnostic.js +41 -0
  407. package/dist/validation/diagnostic.js.map +1 -0
  408. package/dist/validation/format.d.ts +74 -0
  409. package/dist/validation/format.d.ts.map +1 -0
  410. package/dist/validation/format.js +104 -0
  411. package/dist/validation/format.js.map +1 -0
  412. package/dist/validation/id.d.ts +40 -0
  413. package/dist/validation/id.d.ts.map +1 -1
  414. package/dist/validation/id.js +99 -12
  415. package/dist/validation/id.js.map +1 -1
  416. package/dist/validation/identity.d.ts +40 -0
  417. package/dist/validation/identity.d.ts.map +1 -0
  418. package/dist/validation/identity.js +78 -0
  419. package/dist/validation/identity.js.map +1 -0
  420. package/dist/validation/index.d.ts +9 -3
  421. package/dist/validation/index.d.ts.map +1 -1
  422. package/dist/validation/index.js +33 -1
  423. package/dist/validation/index.js.map +1 -1
  424. package/dist/validation/secret-scan.d.ts +10 -7
  425. package/dist/validation/secret-scan.d.ts.map +1 -1
  426. package/dist/validation/secret-scan.js +39 -16
  427. package/dist/validation/secret-scan.js.map +1 -1
  428. package/dist/validation/warning.d.ts +30 -16
  429. package/dist/validation/warning.d.ts.map +1 -1
  430. package/dist/validation/warning.js +74 -7
  431. package/dist/validation/warning.js.map +1 -1
  432. package/dist/workflow/bindings.d.ts +152 -0
  433. package/dist/workflow/bindings.d.ts.map +1 -0
  434. package/dist/workflow/bindings.js +249 -0
  435. package/dist/workflow/bindings.js.map +1 -0
  436. package/dist/workflow/create.d.ts +13 -0
  437. package/dist/workflow/create.d.ts.map +1 -0
  438. package/dist/workflow/create.js +41 -0
  439. package/dist/workflow/create.js.map +1 -0
  440. package/dist/workflow/deduce.d.ts +400 -0
  441. package/dist/workflow/deduce.d.ts.map +1 -0
  442. package/dist/workflow/deduce.js +1109 -0
  443. package/dist/workflow/deduce.js.map +1 -0
  444. package/dist/workflow/manifest-edit.d.ts +19 -0
  445. package/dist/workflow/manifest-edit.d.ts.map +1 -0
  446. package/dist/workflow/manifest-edit.js +124 -0
  447. package/dist/workflow/manifest-edit.js.map +1 -0
  448. package/dist/workflow/schema.d.ts +158 -19
  449. package/dist/workflow/schema.d.ts.map +1 -1
  450. package/dist/workflow/schema.js +190 -16
  451. package/dist/workflow/schema.js.map +1 -1
  452. package/package.json +37 -13
@@ -1,33 +1,9 @@
1
- /**
2
- * Agent execution context assembly (task-037-role-task-scoped-context, REQ-STATE-05) — the
3
- * `directive-loader` + a minimal `context-builder` slice of
4
- * `spec-012-context-loader-relevance-filtering` (§1 "placement & responsibilities", §5 "Directive
5
- * resolution"). Satisfies REQ-STATE-05's Fit Criterion, verbatim: "The assembled context object
6
- * exposes separate `dna`, `memory`, `directives` sections; it contains 100% of the role's assigned
7
- * directives and 0 directives of other roles."
8
- *
9
- * **Archived elements are excluded** (REQ-STATE-06, the `{deprecated, superseded}` set ratified by
10
- * `dl-028-archived-states-excluded-from-context`): {@link assembleExecutionContext} drops a resolved
11
- * element whose `status` is archived, through the shared `isArchivedStatus` primitive rather than any
12
- * local notion of "archived". This closed `bug-010-deprecated-reaches-agent-context` — which this
13
- * header previously recorded as an open gap — together with the `wingfoil://memory/{type}` collection
14
- * Resource, the other surface that bug covered (`task-069-fix-archived-excluded-from-agent-context`).
15
- *
16
- * Still deliberately NOT the full spec-012 pipeline: no `ContextRequest`/`stateRef` pinning, no tiered
17
- * (T1–T4) Memory relevance ranking, no bounding caps, and no canonical byte-for-byte Markdown
18
- * serialization (§7). Those are split across sibling Wave-1 v0.2 tasks
19
- * (task-035-bounded-context-relevance REQ-PERF-05, task-038-deprecated-excluded-from-context
20
- * REQ-STATE-06) and v0.3 (`REQ-SYS-07`, `REQ-PERF-01`, `REQ-STATE-09`, the real `agent execute`
21
- * CLI/MCP surface) — see this task's Execution Notes for the full scope decision. This module wraps
22
- * only existing, already-shipped primitives: `loadDirectives`/`loadRolesYaml` (`./loaders`),
23
- * `findMemoryDocumentByTypeAndId` and `isArchivedStatus` (`../memory`, task-011/task-035) — no
24
- * scan/parse logic and no second status predicate is reimplemented here.
25
- */
26
- import { type MemoryDocumentSummary } from '../memory';
27
- import type { MemoryYaml } from '../memory/schema';
28
1
  import type { RolesYaml } from '../directives/schema';
29
- import type { DnaYaml } from '../dna/schema';
30
- import type { DirectiveFile } from './loaders';
2
+ import type { Module, Paths, Project, Stacks, Team } from '../dna/schema';
3
+ import { type MemoryDocumentSummary } from '../memory';
4
+ import { type DirectiveFile } from './loaders';
5
+ import { type ContextLimits, type RelevantMemoryDocument } from './relevance';
6
+ import { type CoreResult } from './types';
31
7
  /**
32
8
  * The outcome of {@link resolveRoleDirectives}: the resolved directive files **and** any operator
33
9
  * diagnostics produced while resolving them.
@@ -98,90 +74,166 @@ export declare function selectDirectivesById(directiveFiles: readonly DirectiveF
98
74
  * `assignments`, the resolved sets are disjoint too (100% of one role's directives, 0% of the other's).
99
75
  */
100
76
  export declare function resolveRoleDirectives(directiveFiles: readonly DirectiveFile[], rolesYaml: RolesYaml, role: string): RoleDirectiveResolution;
101
- /** The active Memory element an execution context is scoped to (spec-012 §2 `ContextRequest.element`,
102
- * narrowed here to just `type`/`id` — this task does not implement the full `ContextRequest` shape). */
77
+ /** The active Memory element a context is built for (`spec-012` §2 `ContextRequest.element`). */
103
78
  export interface ExecutionContextElement {
104
79
  readonly type: string;
105
80
  readonly id: string;
106
81
  }
107
82
  /**
108
- * The assembled execution context (REQ-STATE-05 Fit Criterion, P5.4.4 "a context object containing
109
- * distinct DNA, Memory, and Directives sections", "each section is individually addressable"): three
110
- * plain, independently-readable properties — `context.dna`, `context.memory`,
111
- * `context.directives` — never merged into one flat structure.
83
+ * `spec-012` §2's `ContextRequest`: everything a context is a function of. Nothing else is read — no
84
+ * clock, no environment, no working tree.
85
+ */
86
+ export interface ContextRequest {
87
+ /** The role the agent executes under (`roles.yaml` binding, §5). */
88
+ readonly role: string;
89
+ /** The element the context is built for, usually a `task`. */
90
+ readonly element: ExecutionContextElement;
91
+ /** The revision every read is pinned to — a sha, or any name of one commit (`HEAD`, a branch). It is
92
+ * resolved once; the payload records the full sha. */
93
+ readonly stateRef: string;
94
+ /** Memory caps (§6); {@link DEFAULT_CONTEXT_LIMITS} when omitted. */
95
+ readonly limits?: ContextLimits;
96
+ }
97
+ /** The subject element as `stateRef` holds it (§3 stage 1, `resolve-element`). */
98
+ export interface ContextElementDocument extends MemoryDocumentSummary {
99
+ readonly type: string;
100
+ readonly id: string;
101
+ /** As the document wrote it: a timestamp value is a {@link WrittenTimestamp} (its text as written), never a `Date`. */
102
+ readonly frontmatter: Record<string, unknown>;
103
+ }
104
+ /**
105
+ * The DNA sections `spec-012` §4 selects. Its own keys are inserted in `dna.yaml`'s declared order, and
106
+ * that order is the order §7 emits them in.
107
+ */
108
+ export interface DnaSelection {
109
+ readonly project?: Project;
110
+ /** The element's `modules:`/`scope:` entries, or every module when it declares neither. */
111
+ readonly modules: readonly Module[];
112
+ /** Whole, technologies and methodologies (`dl-151` option A). */
113
+ readonly stacks?: Stacks;
114
+ readonly team?: Team;
115
+ /** Every category, `runs` included. */
116
+ readonly paths?: Paths;
117
+ }
118
+ /** A resolved directive and its Markdown body, which §7 carries verbatim. */
119
+ export interface ContextDirective extends DirectiveFile {
120
+ readonly body: string;
121
+ }
122
+ /**
123
+ * The assembled execution context (P5.4.4 sc. 1: "distinct DNA, Memory, and Directives sections",
124
+ * "each section is individually addressable"; REQ-STATE-05). Each section is its own property, checked
125
+ * by {@link validateExecutionContext} before {@link serializeExecutionContext} renders it.
112
126
  */
113
127
  export interface ExecutionContext {
114
- /** The full parsed `dna.yaml` (P5.4.4: DNA section — this task does not sub-select DNA sections by
115
- * scope, unlike spec-012 §4's full `dna-loader`; that selection logic is out of this task's scope). */
116
- readonly dna: DnaYaml;
117
- /** This role's assigned directives + global, resolved by {@link resolveRoleDirectives}. */
118
- readonly directives: readonly DirectiveFile[];
119
- /** Memory relevant to `element` — today, exactly the element's own document (0 or 1 entries), and
120
- * empty when that document is archived (REQ-STATE-06; see {@link assembleExecutionContext}); the
121
- * full T1–T4 tiered relevance expansion is task-035/038/v0.3's scope (see the module doc comment). */
122
- readonly memory: readonly MemoryDocumentSummary[];
123
- /** Operator diagnostics gathered during assembly — currently only
124
- * {@link RoleDirectiveResolution.warnings}: no-assignments (dl-029), dangling binding (dl-042 D),
125
- * shadowed directive (dl-037 B.1). Diagnostics *about* the context, not content
126
- * *of* it: spec-012 §7's canonical envelope has no warnings section, so this never enters the
127
- * serialized payload. */
128
+ readonly role: string;
129
+ /** The full sha `ContextRequest.stateRef` resolved to. */
130
+ readonly stateRef: string;
131
+ /** §7 `## 1. Task`. */
132
+ readonly element: ContextElementDocument;
133
+ /** §7 `## 2. Project DNA`. */
134
+ readonly dna: DnaSelection;
135
+ /** §7 `## 3. Directives`: the role's directives and the globals, ascending by id ({@link resolveRoleDirectives}). */
136
+ readonly directives: readonly ContextDirective[];
137
+ /** §7 `## 4. Relevant Memory`, in §6 order and within the request's limits. Each `frontmatter` is as
138
+ * the document wrote it: a timestamp value is a {@link WrittenTimestamp} (its text as written), never a `Date`. */
139
+ readonly memory: readonly RelevantMemoryDocument[];
140
+ /** {@link RoleDirectiveResolution.warnings}: §5.1's three kinds in their fixed order. Diagnostics
141
+ * *about* the context, never part of the payload (dl-050, dl-051). */
128
142
  readonly warnings: readonly string[];
129
143
  }
130
- /** Inputs to {@link assembleExecutionContext} — every pillar's config, already loaded by its own
131
- * loader (`./loaders.ts`), plus the `role`/`element` the context is being assembled for. Nothing here
132
- * reads the filesystem itself beyond resolving `element` via `findMemoryDocumentByTypeAndId`. */
133
- export interface ExecutionContextInputs {
134
- /** Project root the Memory element lookup resolves against (same root the pillar loaders were
135
- * called with). */
136
- readonly root: string;
137
- readonly dna: DnaYaml;
138
- readonly memoryYaml: MemoryYaml;
139
- readonly directiveFiles: readonly DirectiveFile[];
140
- readonly rolesYaml: RolesYaml;
141
- readonly role: string;
142
- readonly element: ExecutionContextElement;
144
+ /** What {@link assembleExecutionContext} returns: the context, its §7 bytes, and the notes recorded
145
+ * while building it — diagnostics, kept out of `payload` like `context.warnings`. */
146
+ export interface AssembledExecutionContext {
147
+ readonly context: ExecutionContext;
148
+ /** The canonical §7 payload: UTF-8, LF-only, exactly one trailing `\n`. */
149
+ readonly payload: string;
150
+ /** In §3 stage order: `no module matches the element's modules:/scope: (…); all modules included`
151
+ * when the element names modules and none matches (§4, ruling D3), then `no relevant Memory found
152
+ * for task` when nothing passed the relevance threshold (P5.3.3 sc. 3). */
153
+ readonly notes: readonly string[];
154
+ }
155
+ /**
156
+ * Validate an assembled context before anything uses it (P5.4.4 sc. 3). The first section that is
157
+ * absent, or not of its section's shape, refuses the context with `VALIDATION` and the scenario's
158
+ * message, verbatim: `invalid execution context: missing '<section>' section`. Sections are checked in
159
+ * §7 order — `element`, `dna`, `directives`, `memory` — so the refusal is deterministic.
160
+ */
161
+ export declare function validateExecutionContext(candidate: unknown): CoreResult<ExecutionContext>;
162
+ /**
163
+ * The payload's format version (`dl-150` option B, the `dl-149` format key): the first field of the
164
+ * header comment. A change to the bytes §7 pins is a new format.
165
+ */
166
+ export declare const CONTEXT_PAYLOAD_FORMAT = 1;
167
+ /**
168
+ * A YAML timestamp scalar exactly as its document wrote it (`bug-232`, review F1 of task-255): the
169
+ * frontmatter the payload carries holds one of these where js-yaml's default schema would hold a
170
+ * `Date`, so `2026-10-05`, `2026-10-05T00:00:00Z` and `2026-10-05 10:00:00 +02:00` are re-emitted
171
+ * unchanged rather than normalized to an instant.
172
+ */
173
+ export declare class WrittenTimestamp {
174
+ /** The scalar's text, as written. */
175
+ readonly text: string;
176
+ constructor(
177
+ /** The scalar's text, as written. */
178
+ text: string);
179
+ /** The text as written, so `JSON.stringify` of a context renders the timestamp as the document did. */
180
+ toJSON(): string;
143
181
  }
144
182
  /**
145
- * Assemble a role- and task-scoped {@link ExecutionContext} (REQ-STATE-05) from already-loaded pillar
146
- * config. Given the same inputs and unchanged on-disk Memory content, the output is deep-equal across
147
- * calls: the function itself introduces no wall-clock, randomness, or unordered iteration
148
- * (REQ-SYS-07's discipline, applied to this narrower slice per REQ-STATE-05's own rationale "crisp,
149
- * low-noise context; determinism"), and `directives` is totally ordered by
150
- * {@link resolveRoleDirectives}.
183
+ * Render a context as `spec-012` §7's canonical Markdown payload, format {@link CONTEXT_PAYLOAD_FORMAT}
184
+ * (`dl-150` option B) — the bytes §8 holds identical across builds. Fixed headings in a fixed order,
185
+ * one blank line between blocks; frontmatter and DNA sections as fenced YAML with sorted keys; every
186
+ * directive and document body verbatim between `<!-- begin:<key> -->`/`<!-- end:<key> -->` markers
187
+ * (`<type>:<id>` for the element and Memory, `directive:<id>` for a directive), so a body's own
188
+ * headings never pass for §7's; ids rather than paths; the header names only the format, role, element
189
+ * and the resolved sha. `warnings` are not rendered.
190
+ *
191
+ * @throws Error `invalid execution context: missing '<section>' section` when `context` does not
192
+ * validate ({@link validateExecutionContext}): a partial payload is never rendered. Error `invalid
193
+ * role …` (or `element type`/`element id`/`directive id`) when a header field or a directive id holds
194
+ * a control character or `-->`; `invalid Memory document <path>: …` for a document it cannot name;
195
+ * `… cannot enter an execution context: its body holds the line … that closes it` for a body that
196
+ * holds its own end marker.
197
+ */
198
+ export declare function serializeExecutionContext(context: ExecutionContext): string;
199
+ /**
200
+ * Build the execution context for `request` — `spec-012`'s single public entry (§1), the context
201
+ * `agent execute` (task-218) and the `{role}-session` Prompt (task-195) hand an agent.
202
+ *
203
+ * The §3 pipeline, every read at the one commit `request.stateRef` resolves to:
151
204
  *
152
- * `memory` resolves `element` via `findMemoryDocumentByTypeAndId`
153
- * (`task-011-mcp-resources-read-only`). Two properties of that primitive are inherited here and are
154
- * worth stating plainly:
205
+ * 1. **resolve-element**: every Memory document at that commit is read once
206
+ * (`loadMemoryDocumentsAtRev`); the element is found in that snapshot. Absent → `NOT_FOUND`;
207
+ * archived (`isArchivedStatus`) → `VALIDATION`, since an archived document never enters a context
208
+ * (REQ-STATE-06). A `draft` element assembles.
209
+ * 2. **load-dna** (§4): see `selectDnaSections`; modules match by name or path (ruling D3, `bug-233`).
210
+ * 3. **load-directives** (§5): {@link resolveRoleDirectives} over the directives and `roles.yaml` at the
211
+ * commit; its warnings become `context.warnings`.
212
+ * 4. **filter-memory** (§6): `selectRelevantMemoryDocuments` over the same snapshot, within
213
+ * `request.limits`, among the documents §7 can carry (`dl-150` B, `payloadCandidates`): one with
214
+ * no nameable `type` and `id` is left out, and reported only when it would have been relevant; one
215
+ * whose body holds its own end marker is left out and reported. Both reports are
216
+ * `W_MEMORY_UNREADABLE` lines on the success warnings, after the scan's own, in path order.
217
+ * 5. **validate** (P5.4.4 sc. 3) and **serialize** (§7).
155
218
  *
156
- * - It is **not** a single addressed read. It walks the Memory document paths derived from
157
- * `memoryYaml` in sorted order and YAML-parses each document's frontmatter until one matches
158
- * `element.type`/`element.id`, so cost grows with the size of the Memory tree (bounding that is
159
- * `task-035-bounded-context-relevance`'s REQ-PERF-05 scope, not this task's).
160
- * - It therefore **can throw**. An `element` that matches nothing yields an empty `memory` array
161
- * rather than an error — an unresolvable element is the caller's concern to surface — but a
162
- * `ValidationError` (`E_YAML_PARSE_ERROR`) propagates out of assembly if any document visited
163
- * during that walk has unparseable frontmatter. This function adds no `try`/`catch` of its own.
219
+ * A pillar file the commit does not hold leaves its section unset, and step 5 refuses the context:
220
+ * no `roles.yaml` → `missing 'directives'`, no `dna.yaml` → `missing 'dna'`, no `memory.yaml` →
221
+ * `missing 'element'`; the refusal's `details.cause` names the file (`no .wingfoil/roles.yaml at <sha>`).
222
+ * Before any read, a role or element field holding a control character or `-->`, or limits that are
223
+ * not positive integers, are refused as `VALIDATION`. After the reads, an element or directive body
224
+ * that holds its own end marker, or a directive id holding a control character or `-->`, refuses the
225
+ * context as `VALIDATION`: neither may be dropped (§5 never truncates a directive).
164
226
  *
165
- * `memory` **is** filtered by document status, in one direction only: a resolved element whose
166
- * `status` is archived — `{deprecated, superseded}`, per the shared {@link isArchivedStatus}
167
- * (`../memory`, the set ratified by `dl-028-archived-states-excluded-from-context`) — is dropped,
168
- * leaving `memory` empty. That is REQ-STATE-06's Fit Criterion as amended: "a `deprecated` or
169
- * `superseded` document never appears in an assembled agent context". The filter is applied to the
170
- * lookup's *result* rather than pushed into `findMemoryDocumentByTypeAndId`, because that same
171
- * primitive also serves `wingfoil://memory/{type}/{id}`, where explicit retrieval of archived content
172
- * must keep working.
227
+ * A subject the commit holds in a `format:` newer than this build reads is refused as `VALIDATION` with
228
+ * the `dl-149` `E_INVALID_FORMAT` text (task-195, `bug-263`), not reported as absent.
173
229
  *
174
- * `draft` is deliberately **not** excluded here, unlike in `./relevance.ts`. That module filters
175
- * *candidate* documents for relevance (spec-012 §6, which does bar `draft` from a context); this
176
- * function resolves the **subject** element the context is being assembled for (spec-012 §3's
177
- * `resolve-element` stage), and blanking the context for a task still in `draft` would defeat the
178
- * point of assembling it. dl-028 ratified the archived set as `{deprecated, superseded}` and did not
179
- * put `draft` in it.
230
+ * A Memory document that does not parse is left out and reported (task-171): as a `W_MEMORY_UNREADABLE`
231
+ * line in the result's `warnings` on success, and in `details.unreadable` of a `NOT_FOUND` refusal, so
232
+ * a subject that does not parse is not reported as merely absent. Neither reaches the payload.
180
233
  *
181
- * An archived element produces no warning: {@link ExecutionContext.warnings} carries
182
- * directive-resolution diagnostics only (dl-029, dl-037, dl-042), and adding an unratified entry would change a payload
183
- * REQ-SYS-07 governs. An archived element is therefore indistinguishable here from an unresolvable
184
- * one — both yield `memory: []`.
234
+ * Expected failures are returned, never thrown: a `stateRef` that is malformed or names no commit is
235
+ * the `RevisionError`'s own `CoreError`. A pillar file (`dna.yaml`, `roles.yaml`, a directive) that
236
+ * does not parse still throws `ValidationError`, as its loader does.
185
237
  */
186
- export declare function assembleExecutionContext(inputs: ExecutionContextInputs): ExecutionContext;
238
+ export declare function assembleExecutionContext(root: string, request: ContextRequest): CoreResult<AssembledExecutionContext>;
187
239
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/core/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAmD,KAAK,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACxG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,E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