@fleettools/server 0.1.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 (308) hide show
  1. package/.flightline/checkpoints.db +0 -0
  2. package/.flightline/ctk/04a5510b-1e09-40c6-91c8-399c22138708.json +9 -0
  3. package/.flightline/ctk/0ecde721-7827-4039-995a-974e24493cc5.json +9 -0
  4. package/.flightline/ctk/268bbdbd-ddd7-46b2-845f-56a138aa518a.json +9 -0
  5. package/.flightline/ctk/6f476f2e-776c-407a-b441-b9365c0bae95.json +9 -0
  6. package/.flightline/ctk/7e10d0d5-fbc2-4661-af03-53de89e064db.json +9 -0
  7. package/.flightline/ctk/90783096-b7d4-49c5-8153-3c35018a2e61.json +9 -0
  8. package/.flightline/ctk/9a3b6d18-8a46-4728-90aa-279800a8e397.json +9 -0
  9. package/.flightline/ctk/ae30e192-b386-4ee2-899c-93f86785d3f3.json +9 -0
  10. package/.flightline/ctk/d0e9c49e-10df-413e-8cf7-37232b1838ca.json +9 -0
  11. package/.flightline/ctk/eae1a12b-2e9d-4c3f-8619-dafbb1346e96.json +9 -0
  12. package/.flightline/mailboxes/mbx_00dae6ba-0b5e-4a8d-a86d-93c8640872c3/manifest.json +6 -0
  13. package/.flightline/mailboxes/mbx_05b0bfa9-c4f5-4f68-ba75-6202820f49c3/manifest.json +6 -0
  14. package/.flightline/mailboxes/mbx_0a6b8fb2-729e-4385-8241-839c36b929d7/manifest.json +6 -0
  15. package/.flightline/mailboxes/mbx_0abca4ab-8e34-409c-997f-481e80e450dc/manifest.json +6 -0
  16. package/.flightline/mailboxes/mbx_173e5fb9-8203-418d-93c2-4f8c91f2d842/manifest.json +6 -0
  17. package/.flightline/mailboxes/mbx_22b62201-0570-4ce8-b0a7-0f4b445f6d9e/manifest.json +6 -0
  18. package/.flightline/mailboxes/mbx_2724efb1-76e1-4147-9620-4defcc65510f/manifest.json +6 -0
  19. package/.flightline/mailboxes/mbx_35b8bfcd-5a54-48f1-8759-cb1f8ffe775d/manifest.json +6 -0
  20. package/.flightline/mailboxes/mbx_3bc5193a-604d-4f52-be00-e56277643358/manifest.json +6 -0
  21. package/.flightline/mailboxes/mbx_3bd500f3-c111-427a-8cd7-a004125d6dc1/manifest.json +6 -0
  22. package/.flightline/mailboxes/mbx_45ce9ae8-5299-44dc-a1b5-4d63914a9609/manifest.json +6 -0
  23. package/.flightline/mailboxes/mbx_4779c645-1efc-4c76-ab21-ff93f973ee8f/manifest.json +6 -0
  24. package/.flightline/mailboxes/mbx_482237cf-87c8-486e-a24d-0941be2f480d/manifest.json +6 -0
  25. package/.flightline/mailboxes/mbx_4b7e23c8-5680-4edd-a276-88803dd5fb6f/manifest.json +6 -0
  26. package/.flightline/mailboxes/mbx_4dd3b945-d846-4c7a-94eb-6eeb25a0dc6b/manifest.json +6 -0
  27. package/.flightline/mailboxes/mbx_4ec41a62-62bb-4be4-b3ce-282d5a33acce/manifest.json +6 -0
  28. package/.flightline/mailboxes/mbx_4ff7ee7e-0c8a-43d6-a829-7c62c10af3b0/manifest.json +6 -0
  29. package/.flightline/mailboxes/mbx_7661e4fb-a919-4af1-86f7-3eaef22f1d81/manifest.json +6 -0
  30. package/.flightline/mailboxes/mbx_7ca872bb-69ab-4e7d-a7c6-4888ec8e7749/manifest.json +6 -0
  31. package/.flightline/mailboxes/mbx_7e6d5707-2aa5-4770-a7be-6b1be93d0d87/manifest.json +6 -0
  32. package/.flightline/mailboxes/mbx_87bef50d-3c59-429b-a995-5872f6278c37/manifest.json +6 -0
  33. package/.flightline/mailboxes/mbx_88d1ea56-0b69-48c4-9fcf-ce1e1f7527ba/manifest.json +6 -0
  34. package/.flightline/mailboxes/mbx_8bfb6bd7-07d1-4836-ae9d-3c93668c6dfe/manifest.json +6 -0
  35. package/.flightline/mailboxes/mbx_93355083-e95b-4341-b625-56fcc1e4fc0c/manifest.json +6 -0
  36. package/.flightline/mailboxes/mbx_999fd94c-ca56-4fec-8d30-8b677cf40ad6/manifest.json +6 -0
  37. package/.flightline/mailboxes/mbx_a039fd15-7ee1-4bd6-906d-55dea8d0e489/manifest.json +6 -0
  38. package/.flightline/mailboxes/mbx_a0b7363f-7cc6-4940-8e29-2dc85793a77d/manifest.json +6 -0
  39. package/.flightline/mailboxes/mbx_a31e8b61-9643-4c78-939d-d1696d0420d9/manifest.json +6 -0
  40. package/.flightline/mailboxes/mbx_acc51591-256c-4bed-9a51-514b1811f4cd/manifest.json +6 -0
  41. package/.flightline/mailboxes/mbx_b1efebd9-5981-49fa-8775-20fa00d0c902/manifest.json +6 -0
  42. package/.flightline/mailboxes/mbx_ba9d4c61-39a3-4852-95d7-bd34e3605a43/manifest.json +6 -0
  43. package/.flightline/mailboxes/mbx_c549b60f-65fd-48d5-8cd6-2f053292b112/manifest.json +6 -0
  44. package/.flightline/mailboxes/mbx_d0f839a5-3ab9-42e2-b438-df5825d049fe/manifest.json +6 -0
  45. package/.flightline/mailboxes/mbx_d826d57e-9817-4f3c-ab94-2bfafa352f6d/manifest.json +6 -0
  46. package/.flightline/mailboxes/mbx_da102f37-632c-4c0b-be4c-4270a74c06b9/manifest.json +6 -0
  47. package/.flightline/mailboxes/mbx_df4506f5-67f2-4cf6-9113-93994b76f39b/manifest.json +6 -0
  48. package/.flightline/mailboxes/mbx_e038e93b-87ea-4122-9578-6540018697b7/manifest.json +6 -0
  49. package/.flightline/mailboxes/mbx_e0c171c5-407f-44dc-9ef9-e26e8b99ceac/manifest.json +6 -0
  50. package/.flightline/mailboxes/mbx_e64770bf-7220-4d0f-848c-d751ea1c7376/manifest.json +6 -0
  51. package/.flightline/mailboxes/mbx_e7f0edda-0fab-484d-ab4d-d8a8e363cd14/manifest.json +6 -0
  52. package/.flightline/mailboxes/mbx_ec7d9118-8594-4d79-bf79-f43afdfaf156/manifest.json +6 -0
  53. package/.flightline/mailboxes/mbx_ee06ec01-03e4-485a-ae2b-d8bdb6e7a3a8/manifest.json +6 -0
  54. package/.flightline/mailboxes/mbx_fd467681-f9cf-4a54-b06a-836df6de2ccc/manifest.json +6 -0
  55. package/.flightline/progress.db +0 -0
  56. package/.flightline/recovery.log +1 -0
  57. package/.flightline/tasks.db +0 -0
  58. package/.flightline/tech-orders/to_0c93d981-6b4e-4055-8678-f39c009d1db1.json +11 -0
  59. package/.flightline/tech-orders/to_1862f8ed-c487-4914-9f1e-528af6d4f053.json +11 -0
  60. package/.flightline/tech-orders/to_2335a57d-f400-4efa-b108-e13ece57520d.json +11 -0
  61. package/.flightline/tech-orders/to_2bd8dbdd-ac57-4b84-b977-33a3637d10d1.json +11 -0
  62. package/.flightline/tech-orders/to_37057c01-39b5-403a-991f-afb186abde95.json +11 -0
  63. package/.flightline/tech-orders/to_9e7288bb-c0fd-488a-a83d-1e9337bd0f1f.json +11 -0
  64. package/.flightline/tech-orders/to_aa0fe80b-9de7-40f6-a106-353b5bca10bd.json +11 -0
  65. package/.flightline/tech-orders/to_c1a0f480-c863-4203-a070-76ad77137845.json +11 -0
  66. package/.flightline/tech-orders/to_cf1e882a-cf56-45a4-8d19-494925e5f449.json +11 -0
  67. package/.flightline/work-orders/wo_5a29168d-5fb4-41d7-8dac-1d1151d9248f/manifest.json +15 -0
  68. package/.flightline/work-orders/wo_6c8c38bb-17a1-4885-ada4-dbfc5cc12d7a/manifest.json +15 -0
  69. package/.flightline/work-orders/wo_cadeb9b2-ea42-4491-b429-e2d467942b5c/manifest.json +12 -0
  70. package/.flightline/work-orders/wo_cc7b669c-16c4-4ef7-8a76-d1813219d0be/manifest.json +15 -0
  71. package/AGENTS.md +30 -0
  72. package/dist/agent-lifecycle.js +148 -0
  73. package/dist/agent-spawner.js +460 -0
  74. package/dist/agent-validation.js +111 -0
  75. package/dist/index.js +255 -0
  76. package/dist/server/api/src/coordination/agent-lifecycle.d.ts +12 -0
  77. package/dist/server/api/src/coordination/agent-lifecycle.d.ts.map +1 -0
  78. package/dist/server/api/src/coordination/agent-lifecycle.js +12 -0
  79. package/dist/server/api/src/coordination/agent-lifecycle.js.map +1 -0
  80. package/dist/server/api/src/coordination/agent-runner.d.ts +9 -0
  81. package/dist/server/api/src/coordination/agent-runner.d.ts.map +1 -0
  82. package/dist/server/api/src/coordination/agent-runner.js +416 -0
  83. package/dist/server/api/src/coordination/agent-runner.js.map +1 -0
  84. package/dist/server/api/src/coordination/agent-spawner-routes.d.ts +7 -0
  85. package/dist/server/api/src/coordination/agent-spawner-routes.d.ts.map +1 -0
  86. package/dist/server/api/src/coordination/agent-spawner-routes.js +321 -0
  87. package/dist/server/api/src/coordination/agent-spawner-routes.js.map +1 -0
  88. package/dist/server/api/src/coordination/agent-spawner.d.ts +187 -0
  89. package/dist/server/api/src/coordination/agent-spawner.d.ts.map +1 -0
  90. package/dist/server/api/src/coordination/agent-spawner.js +712 -0
  91. package/dist/server/api/src/coordination/agent-spawner.js.map +1 -0
  92. package/dist/server/api/src/coordination/agents.d.ts +13 -0
  93. package/dist/server/api/src/coordination/agents.d.ts.map +1 -0
  94. package/dist/server/api/src/coordination/agents.js +464 -0
  95. package/dist/server/api/src/coordination/agents.js.map +1 -0
  96. package/dist/server/api/src/coordination/checkpoint-routes.d.ts +33 -0
  97. package/dist/server/api/src/coordination/checkpoint-routes.d.ts.map +1 -0
  98. package/dist/server/api/src/coordination/checkpoint-routes.js +323 -0
  99. package/dist/server/api/src/coordination/checkpoint-routes.js.map +1 -0
  100. package/dist/server/api/src/coordination/conflict-resolver.d.ts +152 -0
  101. package/dist/server/api/src/coordination/conflict-resolver.d.ts.map +1 -0
  102. package/dist/server/api/src/coordination/conflict-resolver.js +502 -0
  103. package/dist/server/api/src/coordination/conflict-resolver.js.map +1 -0
  104. package/dist/server/api/src/coordination/missions.d.ts +9 -0
  105. package/dist/server/api/src/coordination/missions.d.ts.map +1 -0
  106. package/dist/server/api/src/coordination/missions.js +148 -0
  107. package/dist/server/api/src/coordination/missions.js.map +1 -0
  108. package/dist/server/api/src/coordination/monitor.d.ts +175 -0
  109. package/dist/server/api/src/coordination/monitor.d.ts.map +1 -0
  110. package/dist/server/api/src/coordination/monitor.js +410 -0
  111. package/dist/server/api/src/coordination/monitor.js.map +1 -0
  112. package/dist/server/api/src/coordination/notifier.d.ts +160 -0
  113. package/dist/server/api/src/coordination/notifier.d.ts.map +1 -0
  114. package/dist/server/api/src/coordination/notifier.js +422 -0
  115. package/dist/server/api/src/coordination/notifier.js.map +1 -0
  116. package/dist/server/api/src/coordination/progress-tracker.d.ts +98 -0
  117. package/dist/server/api/src/coordination/progress-tracker.d.ts.map +1 -0
  118. package/dist/server/api/src/coordination/progress-tracker.js +323 -0
  119. package/dist/server/api/src/coordination/progress-tracker.js.map +1 -0
  120. package/dist/server/api/src/coordination/recovery-manager.d.ts +135 -0
  121. package/dist/server/api/src/coordination/recovery-manager.d.ts.map +1 -0
  122. package/dist/server/api/src/coordination/recovery-manager.js +435 -0
  123. package/dist/server/api/src/coordination/recovery-manager.js.map +1 -0
  124. package/dist/server/api/src/coordination/task-decomposer.d.ts +90 -0
  125. package/dist/server/api/src/coordination/task-decomposer.d.ts.map +1 -0
  126. package/dist/server/api/src/coordination/task-decomposer.js +412 -0
  127. package/dist/server/api/src/coordination/task-decomposer.js.map +1 -0
  128. package/dist/server/api/src/coordination/task-queue-routes.d.ts +7 -0
  129. package/dist/server/api/src/coordination/task-queue-routes.d.ts.map +1 -0
  130. package/dist/server/api/src/coordination/task-queue-routes.js +266 -0
  131. package/dist/server/api/src/coordination/task-queue-routes.js.map +1 -0
  132. package/dist/server/api/src/coordination/task-queue.d.ts +104 -0
  133. package/dist/server/api/src/coordination/task-queue.d.ts.map +1 -0
  134. package/dist/server/api/src/coordination/task-queue.js +378 -0
  135. package/dist/server/api/src/coordination/task-queue.js.map +1 -0
  136. package/dist/server/api/src/coordination/tasks.d.ts +7 -0
  137. package/dist/server/api/src/coordination/tasks.d.ts.map +1 -0
  138. package/dist/server/api/src/coordination/tasks.js +59 -0
  139. package/dist/server/api/src/coordination/tasks.js.map +1 -0
  140. package/dist/server/api/src/decomposition/cli.d.ts +18 -0
  141. package/dist/server/api/src/decomposition/cli.d.ts.map +1 -0
  142. package/dist/server/api/src/decomposition/cli.js +191 -0
  143. package/dist/server/api/src/decomposition/cli.js.map +1 -0
  144. package/dist/server/api/src/decomposition/codebase-analyzer.d.ts +59 -0
  145. package/dist/server/api/src/decomposition/codebase-analyzer.d.ts.map +1 -0
  146. package/dist/server/api/src/decomposition/codebase-analyzer.js +274 -0
  147. package/dist/server/api/src/decomposition/codebase-analyzer.js.map +1 -0
  148. package/dist/server/api/src/decomposition/dependency-resolver.d.ts +68 -0
  149. package/dist/server/api/src/decomposition/dependency-resolver.d.ts.map +1 -0
  150. package/dist/server/api/src/decomposition/dependency-resolver.js +261 -0
  151. package/dist/server/api/src/decomposition/dependency-resolver.js.map +1 -0
  152. package/dist/server/api/src/decomposition/index.d.ts +17 -0
  153. package/dist/server/api/src/decomposition/index.d.ts.map +1 -0
  154. package/dist/server/api/src/decomposition/index.js +19 -0
  155. package/dist/server/api/src/decomposition/index.js.map +1 -0
  156. package/dist/server/api/src/decomposition/parallelization.d.ts +40 -0
  157. package/dist/server/api/src/decomposition/parallelization.d.ts.map +1 -0
  158. package/dist/server/api/src/decomposition/parallelization.js +144 -0
  159. package/dist/server/api/src/decomposition/parallelization.js.map +1 -0
  160. package/dist/server/api/src/decomposition/planner.d.ts +84 -0
  161. package/dist/server/api/src/decomposition/planner.d.ts.map +1 -0
  162. package/dist/server/api/src/decomposition/planner.js +415 -0
  163. package/dist/server/api/src/decomposition/planner.js.map +1 -0
  164. package/dist/server/api/src/decomposition/routes.d.ts +13 -0
  165. package/dist/server/api/src/decomposition/routes.d.ts.map +1 -0
  166. package/dist/server/api/src/decomposition/routes.js +114 -0
  167. package/dist/server/api/src/decomposition/routes.js.map +1 -0
  168. package/dist/server/api/src/decomposition/strategies.d.ts +43 -0
  169. package/dist/server/api/src/decomposition/strategies.d.ts.map +1 -0
  170. package/dist/server/api/src/decomposition/strategies.js +147 -0
  171. package/dist/server/api/src/decomposition/strategies.js.map +1 -0
  172. package/dist/server/api/src/decomposition/types.d.ts +1090 -0
  173. package/dist/server/api/src/decomposition/types.d.ts.map +1 -0
  174. package/dist/server/api/src/decomposition/types.js +65 -0
  175. package/dist/server/api/src/decomposition/types.js.map +1 -0
  176. package/dist/server/api/src/decomposition/validator.d.ts +84 -0
  177. package/dist/server/api/src/decomposition/validator.d.ts.map +1 -0
  178. package/dist/server/api/src/decomposition/validator.js +314 -0
  179. package/dist/server/api/src/decomposition/validator.js.map +1 -0
  180. package/dist/server/api/src/flightline/ctk.d.ts +2 -0
  181. package/dist/server/api/src/flightline/ctk.d.ts.map +1 -0
  182. package/dist/server/api/src/flightline/ctk.js +114 -0
  183. package/dist/server/api/src/flightline/ctk.js.map +1 -0
  184. package/dist/server/api/src/flightline/tech-orders.d.ts +2 -0
  185. package/dist/server/api/src/flightline/tech-orders.d.ts.map +1 -0
  186. package/dist/server/api/src/flightline/tech-orders.js +74 -0
  187. package/dist/server/api/src/flightline/tech-orders.js.map +1 -0
  188. package/dist/server/api/src/flightline/work-orders.d.ts +2 -0
  189. package/dist/server/api/src/flightline/work-orders.d.ts.map +1 -0
  190. package/dist/server/api/src/flightline/work-orders.js +178 -0
  191. package/dist/server/api/src/flightline/work-orders.js.map +1 -0
  192. package/dist/server/api/src/index.d.ts +3 -0
  193. package/dist/server/api/src/index.d.ts.map +1 -0
  194. package/dist/server/api/src/index.js +192 -0
  195. package/dist/server/api/src/index.js.map +1 -0
  196. package/dist/server/api/src/middleware/agent-validation.d.ts +161 -0
  197. package/dist/server/api/src/middleware/agent-validation.d.ts.map +1 -0
  198. package/dist/server/api/src/middleware/agent-validation.js +112 -0
  199. package/dist/server/api/src/middleware/agent-validation.js.map +1 -0
  200. package/dist/server/api/src/middleware/error-handler.d.ts +8 -0
  201. package/dist/server/api/src/middleware/error-handler.d.ts.map +1 -0
  202. package/dist/server/api/src/middleware/error-handler.js +54 -0
  203. package/dist/server/api/src/middleware/error-handler.js.map +1 -0
  204. package/dist/server/api/src/middleware/logger.d.ts +8 -0
  205. package/dist/server/api/src/middleware/logger.d.ts.map +1 -0
  206. package/dist/server/api/src/middleware/logger.js +31 -0
  207. package/dist/server/api/src/middleware/logger.js.map +1 -0
  208. package/dist/server/api/src/middleware/validation.d.ts +322 -0
  209. package/dist/server/api/src/middleware/validation.d.ts.map +1 -0
  210. package/dist/server/api/src/middleware/validation.js +189 -0
  211. package/dist/server/api/src/middleware/validation.js.map +1 -0
  212. package/dist/server/api/src/squawk/blocker-handler.d.ts +111 -0
  213. package/dist/server/api/src/squawk/blocker-handler.d.ts.map +1 -0
  214. package/dist/server/api/src/squawk/blocker-handler.js +262 -0
  215. package/dist/server/api/src/squawk/blocker-handler.js.map +1 -0
  216. package/dist/server/api/src/squawk/coordinator.d.ts +2 -0
  217. package/dist/server/api/src/squawk/coordinator.d.ts.map +1 -0
  218. package/dist/server/api/src/squawk/coordinator.js +24 -0
  219. package/dist/server/api/src/squawk/coordinator.js.map +1 -0
  220. package/dist/server/api/src/squawk/cursor.d.ts +2 -0
  221. package/dist/server/api/src/squawk/cursor.d.ts.map +1 -0
  222. package/dist/server/api/src/squawk/cursor.js +55 -0
  223. package/dist/server/api/src/squawk/cursor.js.map +1 -0
  224. package/dist/server/api/src/squawk/dependency-resolver.d.ts +107 -0
  225. package/dist/server/api/src/squawk/dependency-resolver.d.ts.map +1 -0
  226. package/dist/server/api/src/squawk/dependency-resolver.js +324 -0
  227. package/dist/server/api/src/squawk/dependency-resolver.js.map +1 -0
  228. package/dist/server/api/src/squawk/dispatch-orchestrator.d.ts +117 -0
  229. package/dist/server/api/src/squawk/dispatch-orchestrator.d.ts.map +1 -0
  230. package/dist/server/api/src/squawk/dispatch-orchestrator.js +296 -0
  231. package/dist/server/api/src/squawk/dispatch-orchestrator.js.map +1 -0
  232. package/dist/server/api/src/squawk/lock-coordinator.d.ts +118 -0
  233. package/dist/server/api/src/squawk/lock-coordinator.d.ts.map +1 -0
  234. package/dist/server/api/src/squawk/lock-coordinator.js +279 -0
  235. package/dist/server/api/src/squawk/lock-coordinator.js.map +1 -0
  236. package/dist/server/api/src/squawk/lock.d.ts +2 -0
  237. package/dist/server/api/src/squawk/lock.d.ts.map +1 -0
  238. package/dist/server/api/src/squawk/lock.js +87 -0
  239. package/dist/server/api/src/squawk/lock.js.map +1 -0
  240. package/dist/server/api/src/squawk/mailbox.d.ts +2 -0
  241. package/dist/server/api/src/squawk/mailbox.d.ts.map +1 -0
  242. package/dist/server/api/src/squawk/mailbox.js +66 -0
  243. package/dist/server/api/src/squawk/mailbox.js.map +1 -0
  244. package/dist/server/api/src/squawk/spawning.d.ts +79 -0
  245. package/dist/server/api/src/squawk/spawning.d.ts.map +1 -0
  246. package/dist/server/api/src/squawk/spawning.js +226 -0
  247. package/dist/server/api/src/squawk/spawning.js.map +1 -0
  248. package/dist/server/api/src/squawk/specialist-tools.d.ts +206 -0
  249. package/dist/server/api/src/squawk/specialist-tools.d.ts.map +1 -0
  250. package/dist/server/api/src/squawk/specialist-tools.js +411 -0
  251. package/dist/server/api/src/squawk/specialist-tools.js.map +1 -0
  252. package/dist/server/api/src/types/api.d.ts +63 -0
  253. package/dist/server/api/src/types/api.d.ts.map +1 -0
  254. package/dist/server/api/src/types/api.js +5 -0
  255. package/dist/server/api/src/types/api.js.map +1 -0
  256. package/dist/squawk/src/db/index.d.ts +30 -0
  257. package/dist/squawk/src/db/index.d.ts.map +1 -0
  258. package/dist/squawk/src/db/index.js +329 -0
  259. package/dist/squawk/src/db/index.js.map +1 -0
  260. package/dist/squawk/src/db/sqlite.d.ts +31 -0
  261. package/dist/squawk/src/db/sqlite.d.ts.map +1 -0
  262. package/dist/squawk/src/db/sqlite.js +558 -0
  263. package/dist/squawk/src/db/sqlite.js.map +1 -0
  264. package/dist/squawk/src/db/types.d.ts +611 -0
  265. package/dist/squawk/src/db/types.d.ts.map +1 -0
  266. package/dist/squawk/src/db/types.js +4 -0
  267. package/dist/squawk/src/db/types.js.map +1 -0
  268. package/dist/task-queue.js +377 -0
  269. package/dist/validation.js +188 -0
  270. package/e2e-integration.test.ts +290 -0
  271. package/integration.test.ts +186 -0
  272. package/package.json +22 -0
  273. package/phase1-integration.test.ts +455 -0
  274. package/phase2-verification.test.ts +135 -0
  275. package/server.log +58 -0
  276. package/src/agent-runner.js +877 -0
  277. package/src/coordination/agent-lifecycle.ts +13 -0
  278. package/src/coordination/agent-runner.ts +479 -0
  279. package/src/coordination/agent-spawner-routes.ts +340 -0
  280. package/src/coordination/agent-spawner.ts +885 -0
  281. package/src/coordination/agents.ts +525 -0
  282. package/src/coordination/checkpoint-routes.ts +382 -0
  283. package/src/coordination/conflict-resolver.ts +640 -0
  284. package/src/coordination/missions.ts +219 -0
  285. package/src/coordination/monitor.ts +593 -0
  286. package/src/coordination/notifier.ts +547 -0
  287. package/src/coordination/progress-tracker.ts +410 -0
  288. package/src/coordination/recovery-manager.ts +531 -0
  289. package/src/coordination/task-decomposer.ts +491 -0
  290. package/src/coordination/task-queue-routes.ts +284 -0
  291. package/src/coordination/task-queue.ts +480 -0
  292. package/src/coordination/tasks.ts +72 -0
  293. package/src/flightline/ctk.ts +131 -0
  294. package/src/flightline/tech-orders.ts +85 -0
  295. package/src/flightline/work-orders.ts +202 -0
  296. package/src/index.ts +211 -0
  297. package/src/middleware/agent-validation.ts +130 -0
  298. package/src/middleware/error-handler.ts +59 -0
  299. package/src/middleware/logger.ts +37 -0
  300. package/src/middleware/validation.ts +235 -0
  301. package/src/squawk/coordinator.ts +26 -0
  302. package/src/squawk/cursor.ts +62 -0
  303. package/src/squawk/lock.ts +98 -0
  304. package/src/squawk/mailbox.ts +75 -0
  305. package/src/types/api.ts +71 -0
  306. package/test-api.ts +310 -0
  307. package/test-enhanced-agents.ts +428 -0
  308. package/tsconfig.json +30 -0
Binary file
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "04a5510b-1e09-40c6-91c8-399c22138708",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-04T12:31:54.336Z",
6
+ "released_at": "2026-01-04T12:31:54.338Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "0ecde721-7827-4039-995a-974e24493cc5",
3
+ "file": "test.txt",
4
+ "reserved_by": "test-specialist",
5
+ "reserved_at": "2026-01-14T16:54:10.830Z",
6
+ "released_at": null,
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "268bbdbd-ddd7-46b2-845f-56a138aa518a",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-14T17:00:49.027Z",
6
+ "released_at": "2026-01-14T17:00:49.032Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "6f476f2e-776c-407a-b441-b9365c0bae95",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-04T12:27:33.915Z",
6
+ "released_at": "2026-01-04T12:27:33.917Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "7e10d0d5-fbc2-4661-af03-53de89e064db",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-04T12:50:51.263Z",
6
+ "released_at": "2026-01-04T12:50:51.268Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "90783096-b7d4-49c5-8153-3c35018a2e61",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-06T20:25:37.274Z",
6
+ "released_at": "2026-01-06T20:25:37.280Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "9a3b6d18-8a46-4728-90aa-279800a8e397",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-04T12:33:25.665Z",
6
+ "released_at": "2026-01-04T12:33:25.667Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "ae30e192-b386-4ee2-899c-93f86785d3f3",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-14T17:18:37.767Z",
6
+ "released_at": "2026-01-14T17:18:37.768Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "d0e9c49e-10df-413e-8cf7-37232b1838ca",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-04T21:17:38.368Z",
6
+ "released_at": "2026-01-04T21:17:38.376Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "eae1a12b-2e9d-4c3f-8619-dafbb1346e96",
3
+ "file": "/test/example.txt",
4
+ "reserved_by": "specialist-1",
5
+ "reserved_at": "2026-01-12T03:38:34.596Z",
6
+ "released_at": "2026-01-12T03:38:34.598Z",
7
+ "purpose": "edit",
8
+ "checksum": null
9
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_00dae6ba-0b5e-4a8d-a86d-93c8640872c3",
3
+ "agentId": "agt_1f09a7c4-9514-4d98-bca8-c5f803b7d86e",
4
+ "createdAt": "2026-01-14T16:15:52.391Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_05b0bfa9-c4f5-4f68-ba75-6202820f49c3",
3
+ "agentId": "agt_9775a122-6f77-45a9-976f-83864d2c3066",
4
+ "createdAt": "2026-01-14T17:05:44.151Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_0a6b8fb2-729e-4385-8241-839c36b929d7",
3
+ "agentId": "agt_23890e58-d4fa-4c4f-8fef-cce538eea921",
4
+ "createdAt": "2026-01-14T17:09:43.015Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_0abca4ab-8e34-409c-997f-481e80e450dc",
3
+ "agentId": "agt_5eaae13a-d723-4a67-8acb-05ae317f3a22",
4
+ "createdAt": "2026-01-14T17:08:43.512Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_173e5fb9-8203-418d-93c2-4f8c91f2d842",
3
+ "agentId": "agt_f16afb08-f8ba-4142-b248-e19ceea54504",
4
+ "createdAt": "2026-01-15T01:05:30.652Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_22b62201-0570-4ce8-b0a7-0f4b445f6d9e",
3
+ "agentId": "agt_c03889e6-d2be-407d-a6da-9ee678de9d36",
4
+ "createdAt": "2026-01-15T01:08:15.282Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_2724efb1-76e1-4147-9620-4defcc65510f",
3
+ "agentId": "agt_6d5dc226-f6c7-463a-8954-94c12896dda7",
4
+ "createdAt": "2026-01-14T15:12:47.785Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_35b8bfcd-5a54-48f1-8759-cb1f8ffe775d",
3
+ "agentId": "agt_452fdd72-170a-4a94-a6ad-b151c51d355e",
4
+ "createdAt": "2026-01-15T01:15:24.427Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_3bc5193a-604d-4f52-be00-e56277643358",
3
+ "agentId": "agt_37595ea6-59b1-46bb-965b-ee3ffd1638eb",
4
+ "createdAt": "2026-01-14T17:30:02.415Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_3bd500f3-c111-427a-8cd7-a004125d6dc1",
3
+ "agentId": "agt_fac94d6c-5573-42fb-83ae-4a609659b64c",
4
+ "createdAt": "2026-01-15T01:10:07.004Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_45ce9ae8-5299-44dc-a1b5-4d63914a9609",
3
+ "agentId": "agt_a7f16d3a-29b0-4251-b2ab-343663aaa5b2",
4
+ "createdAt": "2026-01-14T15:23:27.382Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_4779c645-1efc-4c76-ab21-ff93f973ee8f",
3
+ "agentId": "agt_a5930acf-2268-4f04-af51-21c53358fa13",
4
+ "createdAt": "2026-01-15T01:05:34.974Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_482237cf-87c8-486e-a24d-0941be2f480d",
3
+ "agentId": "agt_60596745-0315-4417-b684-b9ea14fec604",
4
+ "createdAt": "2026-01-14T15:12:54.808Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_4b7e23c8-5680-4edd-a276-88803dd5fb6f",
3
+ "agentId": "agt_da44727f-33bf-4317-a8b1-a3758b73c904",
4
+ "createdAt": "2026-01-15T01:12:10.633Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_4dd3b945-d846-4c7a-94eb-6eeb25a0dc6b",
3
+ "agentId": "agt_44bbda28-a4b2-4dce-9f34-4fb65c13d267",
4
+ "createdAt": "2026-01-16T13:00:27.976Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_4ec41a62-62bb-4be4-b3ce-282d5a33acce",
3
+ "agentId": "agt_35c3f60e-f1b8-405e-b32b-2c330e32c071",
4
+ "createdAt": "2026-01-15T01:02:23.510Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_4ff7ee7e-0c8a-43d6-a829-7c62c10af3b0",
3
+ "agentId": "agt_a064fe68-e16d-4ff0-bc1e-2f6839d9d8db",
4
+ "createdAt": "2026-01-14T17:27:06.081Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_7661e4fb-a919-4af1-86f7-3eaef22f1d81",
3
+ "agentId": "agt_f04b84df-e730-4c90-8d5e-604db93c71e9",
4
+ "createdAt": "2026-01-15T01:10:02.602Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_7ca872bb-69ab-4e7d-a7c6-4888ec8e7749",
3
+ "agentId": "agt_e82ef058-3864-495a-a4b2-69ac79a2392d",
4
+ "createdAt": "2026-01-14T17:08:53.370Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_7e6d5707-2aa5-4770-a7be-6b1be93d0d87",
3
+ "agentId": "agt_fc6dfdab-3470-49da-9a25-8943c25f75f1",
4
+ "createdAt": "2026-01-15T01:07:20.414Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_87bef50d-3c59-429b-a995-5872f6278c37",
3
+ "agentId": "agt_9f00fe57-8264-4ffd-92f9-bf42782ba33c",
4
+ "createdAt": "2026-01-15T01:08:10.895Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_88d1ea56-0b69-48c4-9fcf-ce1e1f7527ba",
3
+ "agentId": "agt_924f6634-09cd-425f-a578-370b1e6e8c2c",
4
+ "createdAt": "2026-01-14T17:30:08.575Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_8bfb6bd7-07d1-4836-ae9d-3c93668c6dfe",
3
+ "agentId": "agt_e5039f1e-da5b-456e-a046-3119cfe3123e",
4
+ "createdAt": "2026-01-15T01:15:28.731Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_93355083-e95b-4341-b625-56fcc1e4fc0c",
3
+ "agentId": "agt_c0fb4b8f-0feb-4725-809c-3058f2fc4db2",
4
+ "createdAt": "2026-01-16T13:00:32.236Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_999fd94c-ca56-4fec-8d30-8b677cf40ad6",
3
+ "agentId": "agt_6c5f4dac-5e5c-476f-846b-ec3ebc0063b2",
4
+ "createdAt": "2026-01-15T01:02:19.064Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_a039fd15-7ee1-4bd6-906d-55dea8d0e489",
3
+ "agentId": "agt_3f570a14-7a7e-4ea8-bff9-35da41b2eda0",
4
+ "createdAt": "2026-01-14T15:14:49.638Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_a0b7363f-7cc6-4940-8e29-2dc85793a77d",
3
+ "agentId": "agt_00ef2989-155e-4400-9f32-4eb2b783ed63",
4
+ "createdAt": "2026-01-14T15:14:49.529Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_a31e8b61-9643-4c78-939d-d1696d0420d9",
3
+ "agentId": "agt_6eb724a4-90a3-4d10-98c7-6d4d35e14b91",
4
+ "createdAt": "2026-01-14T15:13:53.315Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_acc51591-256c-4bed-9a51-514b1811f4cd",
3
+ "agentId": "agt_65ad6532-c9f3-4231-8dbb-0b2a0fb534c2",
4
+ "createdAt": "2026-01-15T01:13:50.889Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_b1efebd9-5981-49fa-8775-20fa00d0c902",
3
+ "agentId": "agt_a3f7cde1-4386-4c81-abe2-28a2ea86b385",
4
+ "createdAt": "2026-01-14T17:36:04.631Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_ba9d4c61-39a3-4852-95d7-bd34e3605a43",
3
+ "agentId": "agt_eb4f8ee9-c36f-4e85-b272-84e532f4842e",
4
+ "createdAt": "2026-01-14T17:08:56.940Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_c549b60f-65fd-48d5-8cd6-2f053292b112",
3
+ "agentId": "agt_fba88f66-7c53-490d-b901-936ec79be074",
4
+ "createdAt": "2026-01-14T17:10:17.336Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_d0f839a5-3ab9-42e2-b438-df5825d049fe",
3
+ "agentId": "agt_b78a32ea-7fa5-41b8-9b87-d3bdcf6ca3dc",
4
+ "createdAt": "2026-01-15T01:12:06.304Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_d826d57e-9817-4f3c-ab94-2bfafa352f6d",
3
+ "agentId": "agt_00bd04c2-11d6-40fc-899d-f8ec34647920",
4
+ "createdAt": "2026-01-14T17:05:39.085Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_da102f37-632c-4c0b-be4c-4270a74c06b9",
3
+ "agentId": "agt_19f87846-efb7-43c2-8f87-8d7221cb46ab",
4
+ "createdAt": "2026-01-14T16:12:50.447Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_df4506f5-67f2-4cf6-9113-93994b76f39b",
3
+ "agentId": "agt_3f3974db-9ad4-4a0a-a516-ddf606144e46",
4
+ "createdAt": "2026-01-14T17:39:47.783Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_e038e93b-87ea-4122-9578-6540018697b7",
3
+ "agentId": "agt_e144e76a-1840-4f46-9ad3-03ca4356ac36",
4
+ "createdAt": "2026-01-15T01:13:46.318Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_e0c171c5-407f-44dc-9ef9-e26e8b99ceac",
3
+ "agentId": "agt_b7629f1c-45bf-4f62-9e1b-a4446817a6fa",
4
+ "createdAt": "2026-01-14T17:37:19.813Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_e64770bf-7220-4d0f-848c-d751ea1c7376",
3
+ "agentId": "agt_5b1ccbe9-8cc7-4156-a783-abe9fecc2c95",
4
+ "createdAt": "2026-01-14T15:51:54.111Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_e7f0edda-0fab-484d-ab4d-d8a8e363cd14",
3
+ "agentId": "agt_44932d8e-f276-4bee-9303-993ead286baa",
4
+ "createdAt": "2026-01-14T17:08:48.582Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_ec7d9118-8594-4d79-bf79-f43afdfaf156",
3
+ "agentId": "agt_12dfafe3-fefa-4b34-8324-d5a9a17eb86f",
4
+ "createdAt": "2026-01-14T17:11:03.689Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_ee06ec01-03e4-485a-ae2b-d8bdb6e7a3a8",
3
+ "agentId": "agt_4a2b1f70-48c2-4351-bd61-d49215d9fe39",
4
+ "createdAt": "2026-01-14T17:27:29.563Z",
5
+ "type": "agent-mailbox"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "mbx_fd467681-f9cf-4a54-b06a-836df6de2ccc",
3
+ "agentId": "agt_9d2b360d-15c0-4e56-9ab4-0fe15d6bb6ee",
4
+ "createdAt": "2026-01-14T16:14:24.072Z",
5
+ "type": "agent-mailbox"
6
+ }
Binary file
@@ -0,0 +1 @@
1
+ {"timestamp":"2026-01-16T13:00:29.033Z","eventType":"plan_created","data":{"checkpointId":"chk_c608da8f-a5f4-4f0f-baec-2cce586cd017","plan":{"checkpointId":"chk_c608da8f-a5f4-4f0f-baec-2cce586cd017","missionId":"msn-e2e-40f4213d-981d-4ffd-a12c-ebe3ff57de80","agentsToRestore":[],"tasksToResume":[{"taskId":"srt-undefined","missionId":"msn-e2e-40f4213d-981d-4ffd-a12c-ebe3ff57de80","previousState":"[REDACTED]","progress":25,"nextSteps":["continue documentation work"]}],"locksToRestore":[],"estimatedDuration":40,"risks":["Active agents detected - use --force to override"]}}}
Binary file
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_0c93d981-6b4e-4055-8678-f39c009d1db1",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-04T12:50:51.271Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_1862f8ed-c487-4914-9f1e-528af6d4f053",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-04T12:33:25.668Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_2335a57d-f400-4efa-b108-e13ece57520d",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-04T21:17:38.377Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_2bd8dbdd-ac57-4b84-b977-33a3637d10d1",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-06T20:25:37.281Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_37057c01-39b5-403a-991f-afb186abde95",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-04T12:27:33.917Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_9e7288bb-c0fd-488a-a83d-1e9337bd0f1f",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-14T17:00:49.033Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_aa0fe80b-9de7-40f6-a106-353b5bca10bd",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-14T17:18:37.769Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_c1a0f480-c863-4203-a070-76ad77137845",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-12T03:38:34.599Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "to_cf1e882a-cf56-45a4-8d19-494925e5f449",
3
+ "name": "React Component Pattern",
4
+ "pattern": "createComponent(name, props)",
5
+ "context": "Component creation in React applications",
6
+ "usage_count": 0,
7
+ "success_rate": 0,
8
+ "anti_pattern": false,
9
+ "created_at": "2026-01-04T12:31:54.339Z",
10
+ "last_used": null
11
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "id": "wo_5a29168d-5fb4-41d7-8dac-1d1151d9248f",
3
+ "title": "Test Work Order",
4
+ "description": "A test work order created by the test script",
5
+ "status": "pending",
6
+ "priority": "high",
7
+ "created_at": "2026-01-04T12:27:33.909Z",
8
+ "updated_at": "2026-01-04T12:27:33.909Z",
9
+ "assigned_to": [
10
+ "specialist-1",
11
+ "specialist-2"
12
+ ],
13
+ "cells": [],
14
+ "tech_orders": []
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "id": "wo_6c8c38bb-17a1-4885-ada4-dbfc5cc12d7a",
3
+ "title": "Test Work Order",
4
+ "description": "A test work order created by the test script",
5
+ "status": "in_progress",
6
+ "priority": "critical",
7
+ "created_at": "2026-01-06T20:25:37.265Z",
8
+ "updated_at": "2026-01-06T20:25:37.271Z",
9
+ "assigned_to": [
10
+ "specialist-1",
11
+ "specialist-2"
12
+ ],
13
+ "cells": [],
14
+ "tech_orders": []
15
+ }