elanous 0.3.1 → 0.3.3

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 (507) hide show
  1. package/apps/pwa/out/404/index.html +1 -1
  2. package/apps/pwa/out/404.html +1 -1
  3. package/apps/pwa/out/_next/static/{98VlBaYvL-VVnCq93_lFS → K-ckEB9hu9tXQ6iqnl27L}/_buildManifest.js +1 -1
  4. package/apps/pwa/out/_next/static/chunks/001d1d30.3b264a3a5834784b.js +1 -0
  5. package/apps/pwa/out/_next/static/chunks/{9531.ffbcd1e59e2c32fc.js → 1004.b334bd3d776bd455.js} +4 -4
  6. package/apps/pwa/out/_next/static/chunks/1044.f780ef30fbeec1d2.js +1 -0
  7. package/apps/pwa/out/_next/static/chunks/106.ef1dcdfef46b0b72.js +1 -0
  8. package/apps/pwa/out/_next/static/chunks/1207.912f5869bdf13244.js +1 -0
  9. package/apps/pwa/out/_next/static/chunks/1226-29248177d8e43df5.js +1 -0
  10. package/apps/pwa/out/_next/static/chunks/128757ea.677175b2ad79b371.js +1 -0
  11. package/apps/pwa/out/_next/static/chunks/1469.157ee10170c461ab.js +1 -0
  12. package/apps/pwa/out/_next/static/chunks/1475-f4208d07b2b41e44.js +1 -0
  13. package/apps/pwa/out/_next/static/chunks/1525.9fd05c15746d77c8.js +1 -0
  14. package/apps/pwa/out/_next/static/chunks/{5536.bbb17703f46e52e7.js → 1549.81d2a59aa303b629.js} +2 -2
  15. package/apps/pwa/out/_next/static/chunks/1596-80cc66168f6a520b.js +1 -0
  16. package/apps/pwa/out/_next/static/chunks/1695-e63446cc38743225.js +1 -0
  17. package/apps/pwa/out/_next/static/chunks/224.0585d01ba7f4f898.js +226 -0
  18. package/apps/pwa/out/_next/static/chunks/2277.80d00b0a6fe67cad.js +94 -0
  19. package/apps/pwa/out/_next/static/chunks/2287.6a4cce8ac8897fda.js +1 -0
  20. package/apps/pwa/out/_next/static/chunks/2378.0805bd9972a241f3.js +24 -0
  21. package/apps/pwa/out/_next/static/chunks/{751.95d127a92f7817e3.js → 2538.f7b0fd1f3b0c2bff.js} +1 -1
  22. package/apps/pwa/out/_next/static/chunks/25600806.42d40cb74fdc4bf3.js +122 -0
  23. package/apps/pwa/out/_next/static/chunks/2785-33003c356341fab5.js +1 -0
  24. package/apps/pwa/out/_next/static/chunks/280-53fe7ab5dbd19607.js +1 -0
  25. package/apps/pwa/out/_next/static/chunks/29.135cc356bdf1a8be.js +1 -0
  26. package/apps/pwa/out/_next/static/chunks/2987.f36195bfacdbcc4e.js +148 -0
  27. package/apps/pwa/out/_next/static/chunks/3111-f3c2382dc49d4719.js +1 -0
  28. package/apps/pwa/out/_next/static/chunks/{7479.d00f44fde98cf34e.js → 3130.69315cfa410b3cc7.js} +1 -1
  29. package/apps/pwa/out/_next/static/chunks/3135-4f30d19149be541d.js +1 -0
  30. package/apps/pwa/out/_next/static/chunks/336.dd6c1b81512124e6.js +74 -0
  31. package/apps/pwa/out/_next/static/chunks/337.35019dda0819a283.js +64 -0
  32. package/apps/pwa/out/_next/static/chunks/3393.cbbe17ef7aeee5e7.js +2 -0
  33. package/apps/pwa/out/_next/static/chunks/3394.8a08fac56ac2f941.js +1 -0
  34. package/apps/pwa/out/_next/static/chunks/3461-113eb7d3afb5969e.js +1 -0
  35. package/apps/pwa/out/_next/static/chunks/3603-473956ca996d5b03.js +1 -0
  36. package/apps/pwa/out/_next/static/chunks/3687.55335796604accd0.js +1 -0
  37. package/apps/pwa/out/_next/static/chunks/3692-ed2cebf0d6c4e273.js +1 -0
  38. package/apps/pwa/out/_next/static/chunks/3702-d50492fee8529bd7.js +1 -0
  39. package/apps/pwa/out/_next/static/chunks/3782.3ead96e62c8ac5c5.js +1 -0
  40. package/apps/pwa/out/_next/static/chunks/3849-59a5a66baa48998b.js +1 -0
  41. package/apps/pwa/out/_next/static/chunks/3965.1ae261de91a7507b.js +115 -0
  42. package/apps/pwa/out/_next/static/chunks/3985-432efaf9bc4e4123.js +1 -0
  43. package/apps/pwa/out/_next/static/chunks/4055-90325ff209cd557e.js +1 -0
  44. package/apps/pwa/out/_next/static/chunks/4174.d97cc593a5cf01bc.js +1 -0
  45. package/apps/pwa/out/_next/static/chunks/4276.863502da440e095f.js +1 -0
  46. package/apps/pwa/out/_next/static/chunks/4450-ea0ec552f18d799d.js +1 -0
  47. package/apps/pwa/out/_next/static/chunks/{5571.a062963c309338b4.js → 448.26b198f3b58cbcf9.js} +2 -2
  48. package/apps/pwa/out/_next/static/chunks/4495.2fbef8546af0792c.js +1 -0
  49. package/apps/pwa/out/_next/static/chunks/4578.04c77c13e3c62361.js +1 -0
  50. package/apps/pwa/out/_next/static/chunks/4674.e41c0f9b62fed6e2.js +36 -0
  51. package/apps/pwa/out/_next/static/chunks/{7197.7b19aa948048e19a.js → 482.52b487cbac96db29.js} +2 -2
  52. package/apps/pwa/out/_next/static/chunks/4841.b78af1deed2d3d3f.js +23 -0
  53. package/apps/pwa/out/_next/static/chunks/4869.839bacfaab182108.js +1 -0
  54. package/apps/pwa/out/_next/static/chunks/49263d14.0a995d745de3f818.js +1 -0
  55. package/apps/pwa/out/_next/static/chunks/4935.7f5b0bd162f201cc.js +1 -0
  56. package/apps/pwa/out/_next/static/chunks/500-57c24ef4341cdb21.js +1 -0
  57. package/apps/pwa/out/_next/static/chunks/5017-e079ea96feddbe85.js +1 -0
  58. package/apps/pwa/out/_next/static/chunks/{6932.f80f616260b74131.js → 5135.7b73d384c46dc26b.js} +1 -1
  59. package/apps/pwa/out/_next/static/chunks/5359-7aa498ded308ea17.js +1 -0
  60. package/apps/pwa/out/_next/static/chunks/{9705-bbcd00db4ffd3484.js → 5456-e9f9027af2bb4799.js} +1 -1
  61. package/apps/pwa/out/_next/static/chunks/{4506-f8439f6fbd0a8483.js → 5457-5459ae7638b42dff.js} +1 -1
  62. package/apps/pwa/out/_next/static/chunks/5521-16fb56b15c809e4a.js +1 -0
  63. package/apps/pwa/out/_next/static/chunks/5616-33de319a016180cd.js +1 -0
  64. package/apps/pwa/out/_next/static/chunks/5646.41a48aad446799fa.js +1 -0
  65. package/apps/pwa/out/_next/static/chunks/5716.ad2c840320ab9472.js +41 -0
  66. package/apps/pwa/out/_next/static/chunks/5730-ca5565abe3d360ad.js +1 -0
  67. package/apps/pwa/out/_next/static/chunks/{4069a63b.a074c39997560438.js → 57af6223.b79d56584a040f84.js} +7 -7
  68. package/apps/pwa/out/_next/static/chunks/5841.26bcfac34b5889b4.js +1 -0
  69. package/apps/pwa/out/_next/static/chunks/586.658dedb3bc558b22.js +1 -0
  70. package/apps/pwa/out/_next/static/chunks/{9693-ab5bc28704a66601.js → 5892-6f0a1ee3c6c38173.js} +3 -3
  71. package/apps/pwa/out/_next/static/chunks/5894-7d90af46a43f80d2.js +1 -0
  72. package/apps/pwa/out/_next/static/chunks/5927-88cbc16437430987.js +1 -0
  73. package/apps/pwa/out/_next/static/chunks/5960.0dfb8bd3d27e1063.js +1 -0
  74. package/apps/pwa/out/_next/static/chunks/597-9bf9f66dba4ccae9.js +1 -0
  75. package/apps/pwa/out/_next/static/chunks/6064.f425ee61836bb5c7.js +1 -0
  76. package/apps/pwa/out/_next/static/chunks/6074.39f84a90284749de.js +1 -0
  77. package/apps/pwa/out/_next/static/chunks/61.cbbe643a52cf53ab.js +62 -0
  78. package/apps/pwa/out/_next/static/chunks/6184.4c0ba455eb3d27a1.js +79 -0
  79. package/apps/pwa/out/_next/static/chunks/6224.cd0ca2a16727e9a9.js +1 -0
  80. package/apps/pwa/out/_next/static/chunks/6229-a83289910e01869b.js +1 -0
  81. package/apps/pwa/out/_next/static/chunks/6243.61e6f450a70a8d91.js +90 -0
  82. package/apps/pwa/out/_next/static/chunks/6295-4f1a1386f8667fd1.js +1 -0
  83. package/apps/pwa/out/_next/static/chunks/{5709.867a5086d782dd97.js → 6310.5fb57ba0781bc476.js} +2 -2
  84. package/apps/pwa/out/_next/static/chunks/{7087.99662912e4db6255.js → 6355.34fd60aca3e95acf.js} +1 -1
  85. package/apps/pwa/out/_next/static/chunks/6653.f3f30affdbe694aa.js +32 -0
  86. package/apps/pwa/out/_next/static/chunks/6657.f57e1d8511e510ce.js +1 -0
  87. package/apps/pwa/out/_next/static/chunks/6672-bc0f317b72f0bbd2.js +1 -0
  88. package/apps/pwa/out/_next/static/chunks/6761-2143fe6fe3578118.js +1 -0
  89. package/apps/pwa/out/_next/static/chunks/{6747.365eefdf3b4a0226.js → 6764.ec2d2cf14278c473.js} +3 -3
  90. package/apps/pwa/out/_next/static/chunks/6955-75b2659eafd27893.js +1 -0
  91. package/apps/pwa/out/_next/static/chunks/{52bafb67.054ec9d048116d83.js → 6cd6be76.9d27e7414d939d53.js} +1 -1
  92. package/apps/pwa/out/_next/static/chunks/{77a1aef7.ba1c04f78a1493d9.js → 6fa80ede.7b05276e6be12b1d.js} +1 -1
  93. package/apps/pwa/out/_next/static/chunks/7051-406b0538949c932f.js +1 -0
  94. package/apps/pwa/out/_next/static/chunks/7222.df77e48936e60d2e.js +1 -0
  95. package/apps/pwa/out/_next/static/chunks/7242-08db87893cf792b7.js +1 -0
  96. package/apps/pwa/out/_next/static/chunks/7307-3172df9d07acb8e0.js +1 -0
  97. package/apps/pwa/out/_next/static/chunks/{156.389be47355dc94c7.js → 7613.4523dc082005e359.js} +1 -1
  98. package/apps/pwa/out/_next/static/chunks/{234.f25f5b0d65f89af8.js → 7644.bdbfed1da174219e.js} +2 -2
  99. package/apps/pwa/out/_next/static/chunks/7648-7c7346c2a73503f9.js +1 -0
  100. package/apps/pwa/out/_next/static/chunks/7788.ffd9f4d57647a354.js +149 -0
  101. package/apps/pwa/out/_next/static/chunks/{1972.a8d37aadbc59ac43.js → 7793.4d3de6ce591fbc21.js} +1 -1
  102. package/apps/pwa/out/_next/static/chunks/{8469.f67afe44a0fa8af0.js → 7816.4b8c0fa1e5b4ec4f.js} +1 -1
  103. package/apps/pwa/out/_next/static/chunks/7988-bbcd506079ceceb6.js +1 -0
  104. package/apps/pwa/out/_next/static/chunks/{367.1ffe524fe1ee7803.js → 8066.32863fb9dd2dc278.js} +1 -1
  105. package/apps/pwa/out/_next/static/chunks/8073-cdf4607b80d127fe.js +1 -0
  106. package/apps/pwa/out/_next/static/chunks/{691.6ff56b5f4b6ec918.js → 8108.2cd332dff4f07acd.js} +4 -4
  107. package/apps/pwa/out/_next/static/chunks/8414-77dbc0c35bc85f42.js +1 -0
  108. package/apps/pwa/out/_next/static/chunks/849.fe241354322a97e9.js +27 -0
  109. package/apps/pwa/out/_next/static/chunks/8665.900daf2473f7032a.js +1 -0
  110. package/apps/pwa/out/_next/static/chunks/8713.11d79e4e023ab74f.js +1 -0
  111. package/apps/pwa/out/_next/static/chunks/8718.137b7ce2c3cae66b.js +8 -0
  112. package/apps/pwa/out/_next/static/chunks/8764.39400f626e015e79.js +287 -0
  113. package/apps/pwa/out/_next/static/chunks/8803.d3504166481bc91e.js +24 -0
  114. package/apps/pwa/out/_next/static/chunks/{9103.bd34694d18c05083.js → 8939.a14783a0a81e5e62.js} +1 -1
  115. package/apps/pwa/out/_next/static/chunks/8963.928e777871d1d637.js +104 -0
  116. package/apps/pwa/out/_next/static/chunks/8987-372a6317aaf83fa9.js +1 -0
  117. package/apps/pwa/out/_next/static/chunks/9039.03e40d9f9fd90920.js +1 -0
  118. package/apps/pwa/out/_next/static/chunks/{c58bec24.d208786405e23259.js → 922c23f1.797bdf68f73f0488.js} +1 -1
  119. package/apps/pwa/out/_next/static/chunks/{5998.d426273cdd00305a.js → 9546.3a0afc5d5fa0851d.js} +1 -1
  120. package/apps/pwa/out/_next/static/chunks/9671.d935d274b65718e4.js +1 -0
  121. package/apps/pwa/out/_next/static/chunks/9756.24e020ddf99f7020.js +77 -0
  122. package/apps/pwa/out/_next/static/chunks/9777-6b21b6f1989ea7b1.js +1 -0
  123. package/apps/pwa/out/_next/static/chunks/9947.7a8d89554e873316.js +1 -0
  124. package/apps/pwa/out/_next/static/chunks/9980.fd66776b3782eeb4.js +1 -0
  125. package/apps/pwa/out/_next/static/chunks/app/_not-found/page-2c29b6716055aa54.js +1 -0
  126. package/apps/pwa/out/_next/static/chunks/app/approvals/page-c9e997416c86c8dd.js +1 -0
  127. package/apps/pwa/out/_next/static/chunks/app/autopilot/{page-e4f014aa82483cae.js → page-4e24912975188223.js} +1 -1
  128. package/apps/pwa/out/_next/static/chunks/app/board/page-b117b7ee316afe86.js +1 -0
  129. package/apps/pwa/out/_next/static/chunks/app/botlab/{page-dbc30fbf2e8933d9.js → page-a447a17fd887c68e.js} +1 -1
  130. package/apps/pwa/out/_next/static/chunks/app/bots/page-2b3e0df385eba76f.js +1 -0
  131. package/apps/pwa/out/_next/static/chunks/app/ceo/page-409ed1d2f2c5f706.js +1 -0
  132. package/apps/pwa/out/_next/static/chunks/app/chat/page-1e90543da0a66b63.js +1 -0
  133. package/apps/pwa/out/_next/static/chunks/app/consult/page-f68c84b50dee9796.js +1 -0
  134. package/apps/pwa/out/_next/static/chunks/app/control/page-afefb7fac0047855.js +1 -0
  135. package/apps/pwa/out/_next/static/chunks/app/decisions/page-79f9d6ae042c07b4.js +1 -0
  136. package/apps/pwa/out/_next/static/chunks/app/design-check/page-9726864cd21303a2.js +1 -0
  137. package/apps/pwa/out/_next/static/chunks/app/editor/page-ab0febcc6695f4e4.js +1 -0
  138. package/apps/pwa/out/_next/static/chunks/app/exec/page-6f6b157c52869db0.js +1 -0
  139. package/apps/pwa/out/_next/static/chunks/app/field/page-78aef36734ddd588.js +1 -0
  140. package/apps/pwa/out/_next/static/chunks/app/healthz/route-2c29b6716055aa54.js +1 -0
  141. package/apps/pwa/out/_next/static/chunks/app/inside/{page-ffca50fc1f13759c.js → page-6a634383e6247c6b.js} +1 -1
  142. package/apps/pwa/out/_next/static/chunks/app/intake/page-66f0dc569bce5230.js +1 -0
  143. package/apps/pwa/out/_next/static/chunks/app/layout-fda2f39e4d21744c.js +1 -0
  144. package/apps/pwa/out/_next/static/chunks/app/live/page-a6fd7cb710d80092.js +1 -0
  145. package/apps/pwa/out/_next/static/chunks/app/live-run/page-2a7c714e7f65229d.js +1 -0
  146. package/apps/pwa/out/_next/static/chunks/app/loops/page-a71ad5f5b075be8d.js +1 -0
  147. package/apps/pwa/out/_next/static/chunks/app/market/page-df7f2d252ff836b5.js +1 -0
  148. package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-7f38deb0998488bf.js +1 -0
  149. package/apps/pwa/out/_next/static/chunks/app/morning/page-7e80f3b354be205e.js +1 -0
  150. package/apps/pwa/out/_next/static/chunks/app/not-found-5ea0e042882e87de.js +1 -0
  151. package/apps/pwa/out/_next/static/chunks/app/observatory/page-f3df76408c930b99.js +1 -0
  152. package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-88996ccc31edf06c.js +1 -0
  153. package/apps/pwa/out/_next/static/chunks/app/ops/release/page-d95db9df4a907fe1.js +1 -0
  154. package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-5a518950f4136aad.js +1 -0
  155. package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-d9e070e009e1a521.js +1 -0
  156. package/apps/pwa/out/_next/static/chunks/app/outputs/page-167c44a8ff378706.js +1 -0
  157. package/apps/pwa/out/_next/static/chunks/app/page-4763cf1b0e52e28b.js +1 -0
  158. package/apps/pwa/out/_next/static/chunks/app/reflection/page-a5bcd883385064d4.js +1 -0
  159. package/apps/pwa/out/_next/static/chunks/app/scheduler/page-f9ef43f59ba98937.js +1 -0
  160. package/apps/pwa/out/_next/static/chunks/app/sessions/page-43c5d7004582f888.js +1 -0
  161. package/apps/pwa/out/_next/static/chunks/app/settings/devices/{page-decfacd2237da403.js → page-20dfe2b5bca855eb.js} +1 -1
  162. package/apps/pwa/out/_next/static/chunks/app/settings/page-7c022f7edf3203d5.js +1 -0
  163. package/apps/pwa/out/_next/static/chunks/app/setup/done/page-adc6daed842128e6.js +1 -0
  164. package/apps/pwa/out/_next/static/chunks/app/setup/layout-2c29b6716055aa54.js +1 -0
  165. package/apps/pwa/out/_next/static/chunks/app/setup/page-683c175da53e9ec3.js +1 -0
  166. package/apps/pwa/out/_next/static/chunks/app/share/page-a91d9cbaf50cc8b4.js +1 -0
  167. package/apps/pwa/out/_next/static/chunks/app/showroom/page-376f3a03f4d31706.js +1 -0
  168. package/apps/pwa/out/_next/static/chunks/app/tasks/page-256d83e84ed55191.js +1 -0
  169. package/apps/pwa/out/_next/static/chunks/app/term/page-5e1fb7a8e0927cf6.js +1 -0
  170. package/apps/pwa/out/_next/static/chunks/app/today/page-95994b2b507ee120.js +1 -0
  171. package/apps/pwa/out/_next/static/chunks/app/trace/page-486b1d3605dbd5f3.js +1 -0
  172. package/apps/pwa/out/_next/static/chunks/app/vault/page-0159591688c45cae.js +1 -0
  173. package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-e640489e459c2789.js +1 -0
  174. package/apps/pwa/out/_next/static/chunks/app/workflows/page-89c00bebfb27b5d5.js +1 -0
  175. package/apps/pwa/out/_next/static/chunks/app/workspace/page-edf90eaa6d354fee.js +1 -0
  176. package/apps/pwa/out/_next/static/chunks/app/worktrees/page-2f2bd38085305ef0.js +1 -0
  177. package/apps/pwa/out/_next/static/chunks/{e7a93f74.aa8572069f848f17.js → d7c7394d.c015f14113d7faef.js} +1 -1
  178. package/apps/pwa/out/_next/static/chunks/db2f0161-8781ed841c51137a.js +1 -0
  179. package/apps/pwa/out/_next/static/chunks/f6a577ab-4b799b8c69e49cfd.js +1 -0
  180. package/apps/pwa/out/_next/static/chunks/framework-01d45c12f1bce665.js +1 -0
  181. package/apps/pwa/out/_next/static/chunks/main-0a9bbda118d4e9dc.js +1 -0
  182. package/apps/pwa/out/_next/static/chunks/main-app-7f817b9fe2a360cc.js +1 -0
  183. package/apps/pwa/out/_next/static/chunks/pages/_app-f953b3d6c9ece48e.js +1 -0
  184. package/apps/pwa/out/_next/static/chunks/pages/_error-1a3e6e3f0aa99004.js +1 -0
  185. package/apps/pwa/out/_next/static/chunks/webpack-090556529ba4efb6.js +1 -0
  186. package/apps/pwa/out/approvals/index.html +1 -1
  187. package/apps/pwa/out/approvals/index.txt +22 -22
  188. package/apps/pwa/out/autopilot/index.html +1 -1
  189. package/apps/pwa/out/autopilot/index.txt +22 -22
  190. package/apps/pwa/out/board/index.html +1 -1
  191. package/apps/pwa/out/board/index.txt +22 -22
  192. package/apps/pwa/out/botlab/index.html +1 -1
  193. package/apps/pwa/out/botlab/index.txt +21 -21
  194. package/apps/pwa/out/bots/index.html +1 -1
  195. package/apps/pwa/out/bots/index.txt +21 -21
  196. package/apps/pwa/out/ceo/index.html +1 -1
  197. package/apps/pwa/out/ceo/index.txt +22 -22
  198. package/apps/pwa/out/chat/index.html +1 -1
  199. package/apps/pwa/out/chat/index.txt +21 -21
  200. package/apps/pwa/out/consult/index.html +1 -1
  201. package/apps/pwa/out/consult/index.txt +22 -22
  202. package/apps/pwa/out/control/index.html +1 -1
  203. package/apps/pwa/out/control/index.txt +22 -22
  204. package/apps/pwa/out/decisions/index.html +1 -1
  205. package/apps/pwa/out/decisions/index.txt +21 -21
  206. package/apps/pwa/out/design-check/index.html +1 -1
  207. package/apps/pwa/out/design-check/index.txt +22 -22
  208. package/apps/pwa/out/editor/index.html +1 -1
  209. package/apps/pwa/out/editor/index.txt +22 -22
  210. package/apps/pwa/out/exec/index.html +1 -1
  211. package/apps/pwa/out/exec/index.txt +22 -22
  212. package/apps/pwa/out/field/index.html +1 -1
  213. package/apps/pwa/out/field/index.txt +22 -22
  214. package/apps/pwa/out/healthz +1 -1
  215. package/apps/pwa/out/index.html +1 -1
  216. package/apps/pwa/out/index.txt +21 -21
  217. package/apps/pwa/out/inside/index.html +1 -1
  218. package/apps/pwa/out/inside/index.txt +21 -21
  219. package/apps/pwa/out/intake/index.html +1 -1
  220. package/apps/pwa/out/intake/index.txt +22 -22
  221. package/apps/pwa/out/live/index.html +1 -1
  222. package/apps/pwa/out/live/index.txt +22 -22
  223. package/apps/pwa/out/live-run/index.html +1 -1
  224. package/apps/pwa/out/live-run/index.txt +22 -22
  225. package/apps/pwa/out/loops/index.html +1 -1
  226. package/apps/pwa/out/loops/index.txt +21 -21
  227. package/apps/pwa/out/market/index.html +1 -1
  228. package/apps/pwa/out/market/index.txt +21 -21
  229. package/apps/pwa/out/missions/placeholder/index.html +1 -1
  230. package/apps/pwa/out/missions/placeholder/index.txt +21 -21
  231. package/apps/pwa/out/morning/index.html +1 -1
  232. package/apps/pwa/out/morning/index.txt +22 -22
  233. package/apps/pwa/out/observatory/index.html +1 -1
  234. package/apps/pwa/out/observatory/index.txt +22 -22
  235. package/apps/pwa/out/ops/checklist/index.html +1 -1
  236. package/apps/pwa/out/ops/checklist/index.txt +21 -21
  237. package/apps/pwa/out/ops/release/index.html +1 -1
  238. package/apps/pwa/out/ops/release/index.txt +21 -21
  239. package/apps/pwa/out/ops/resources/index.html +1 -1
  240. package/apps/pwa/out/ops/resources/index.txt +21 -21
  241. package/apps/pwa/out/ops/seats/index.html +1 -1
  242. package/apps/pwa/out/ops/seats/index.txt +21 -21
  243. package/apps/pwa/out/outputs/index.html +1 -1
  244. package/apps/pwa/out/outputs/index.txt +21 -21
  245. package/apps/pwa/out/reflection/index.html +1 -1
  246. package/apps/pwa/out/reflection/index.txt +22 -22
  247. package/apps/pwa/out/scheduler/index.html +1 -1
  248. package/apps/pwa/out/scheduler/index.txt +22 -22
  249. package/apps/pwa/out/sessions/index.html +1 -1
  250. package/apps/pwa/out/sessions/index.txt +21 -21
  251. package/apps/pwa/out/settings/devices/index.html +1 -1
  252. package/apps/pwa/out/settings/devices/index.txt +22 -22
  253. package/apps/pwa/out/settings/index.html +1 -1
  254. package/apps/pwa/out/settings/index.txt +22 -22
  255. package/apps/pwa/out/setup/done/index.html +1 -1
  256. package/apps/pwa/out/setup/done/index.txt +22 -22
  257. package/apps/pwa/out/setup/index.html +1 -1
  258. package/apps/pwa/out/setup/index.txt +22 -22
  259. package/apps/pwa/out/share/index.html +1 -1
  260. package/apps/pwa/out/share/index.txt +22 -22
  261. package/apps/pwa/out/showroom/index.html +1 -1
  262. package/apps/pwa/out/showroom/index.txt +21 -21
  263. package/apps/pwa/out/tasks/index.html +1 -1
  264. package/apps/pwa/out/tasks/index.txt +22 -22
  265. package/apps/pwa/out/term/index.html +1 -1
  266. package/apps/pwa/out/term/index.txt +22 -22
  267. package/apps/pwa/out/today/index.html +1 -1
  268. package/apps/pwa/out/today/index.txt +22 -22
  269. package/apps/pwa/out/trace/index.html +1 -1
  270. package/apps/pwa/out/trace/index.txt +22 -22
  271. package/apps/pwa/out/vault/index.html +1 -1
  272. package/apps/pwa/out/vault/index.txt +22 -22
  273. package/apps/pwa/out/workflows/chat-ui/index.html +1 -1
  274. package/apps/pwa/out/workflows/chat-ui/index.txt +22 -22
  275. package/apps/pwa/out/workflows/index.html +1 -1
  276. package/apps/pwa/out/workflows/index.txt +22 -22
  277. package/apps/pwa/out/workspace/index.html +1 -1
  278. package/apps/pwa/out/workspace/index.txt +22 -22
  279. package/apps/pwa/out/worktrees/index.html +1 -1
  280. package/apps/pwa/out/worktrees/index.txt +22 -22
  281. package/graphs/natural-language-research.yaml +38 -0
  282. package/package.json +1 -1
  283. package/personas/botlab-4.yaml +8 -0
  284. package/scripts/release-loop/auto-approve-node.ts +2 -1
  285. package/scripts/release-loop/gate-node.ts +13 -6
  286. package/scripts/release-loop/gate-shard-receipts.ts +5 -0
  287. package/scripts/release-loop/publish-node.ts +2 -1
  288. package/scripts/release-loop/pwa-scenarios-node.ts +10 -1
  289. package/scripts/zero-sim-world.sh +1 -1
  290. package/src/auto-research/research-turn.ts +120 -5
  291. package/src/autopilot/track-courier.ts +48 -8
  292. package/src/browser-cdp/client.ts +17 -3
  293. package/src/cli/fleet-cli.ts +9 -2
  294. package/src/cli/intake-source-cli.ts +9 -4
  295. package/src/cli/release-cli.ts +11 -5
  296. package/src/cli/setup-cli.ts +2 -2
  297. package/src/cli/setup-keys.ts +8 -5
  298. package/src/cli/task-plugin-wizard-host.ts +22 -3
  299. package/src/cli/test-state-dir-flag.ts +4 -1
  300. package/src/core-turn/run-core-turn.ts +93 -14
  301. package/src/dashboard/first-screen-band.ts +2 -6
  302. package/src/dashboard/index.ts +45 -32
  303. package/src/dashboard/plugin-wizard-runtime.ts +68 -7
  304. package/src/dashboard/plugin-wizard-tool.ts +16 -2
  305. package/src/dashboard/turn-preamble.ts +8 -0
  306. package/src/fleet/cloud-resource-discovery.ts +95 -0
  307. package/src/fleet/resource-inventory.ts +12 -3
  308. package/src/graph-runner/runner.ts +3 -1
  309. package/src/graph-wizard/mission-compose.ts +7 -1
  310. package/src/harness/harness-queue.ts +74 -6
  311. package/src/index.ts +26 -0
  312. package/src/intake-plane/actions.ts +20 -12
  313. package/src/intake-plane/intake-sources.ts +32 -11
  314. package/src/intake-plane/items.ts +1 -1
  315. package/src/llm.ts +4 -0
  316. package/src/loops/budget.ts +20 -0
  317. package/src/mcp/server.ts +7 -2
  318. package/src/native-tool-catalog.ts +3 -0
  319. package/src/nexus/api/harness-traversal.ts +3 -3
  320. package/src/nexus/api/meta-api.ts +3 -1
  321. package/src/nexus/api/research-run-observer.ts +59 -0
  322. package/src/onboarding/first-chat-gate.ts +4 -1
  323. package/src/onboarding/first-run-doctor-test-control.ts +42 -0
  324. package/src/onboarding/first-run-doctor.ts +1 -0
  325. package/src/onboarding/first-run.ts +8 -1
  326. package/src/onboarding.ts +5 -1
  327. package/src/pr-tool/census.ts +42 -5
  328. package/src/prompt-library/session-guidance.ts +7 -6
  329. package/src/pty-shell/pty-manifest.ts +15 -6
  330. package/src/release-loop/light-rc.ts +47 -0
  331. package/src/research/axis-fanout.ts +15 -8
  332. package/src/self-dev/dev-pipeline.ts +67 -8
  333. package/src/self-implement/gate-remote.ts +13 -7
  334. package/src/self-implement/run-ledger.ts +1 -1
  335. package/src/self-implement/run-step-projection.ts +10 -2
  336. package/src/session/chat.ts +2 -0
  337. package/src/session-runtime/index.ts +47 -5
  338. package/src/setup/service-key-catalog.ts +4 -2
  339. package/src/setup/service-keys.ts +34 -10
  340. package/src/sidetab-core/model.ts +64 -6
  341. package/src/task-orchestrator/surfaces/pod-source-receive.ts +10 -1
  342. package/src/terminal/coding-agent.ts +12 -1
  343. package/src/tool-hints/gate.ts +7 -3
  344. package/src/tool-hints/signals.ts +43 -1
  345. package/src/tool-runtime/aside-selection-runtime.ts +89 -0
  346. package/src/tool-runtime/index.ts +2 -0
  347. package/src/tui/entry.ts +75 -21
  348. package/src/tui/sidetab/attach.ts +1 -0
  349. package/src/tui/sidetab/list.ts +2 -1
  350. package/src/tui.ts +97 -4
  351. package/src/ux-sim/classic-tui-seat-scenarios.ts +54 -4
  352. package/src/ux-sim/mock-scenario-catalog.json +8 -3
  353. package/src/ux-sim/release-sim-rig.ts +244 -7
  354. package/src/version/packed-revision.json +1 -1
  355. package/apps/pwa/out/_next/static/chunks/1388-1eb6df003f29bb9c.js +0 -1
  356. package/apps/pwa/out/_next/static/chunks/1434-a2c279f005d9c501.js +0 -1
  357. package/apps/pwa/out/_next/static/chunks/1464.14588e93d2ab3190.js +0 -24
  358. package/apps/pwa/out/_next/static/chunks/1465.85f9a1708f17853a.js +0 -1
  359. package/apps/pwa/out/_next/static/chunks/162.c03cf23572cb4136.js +0 -1
  360. package/apps/pwa/out/_next/static/chunks/1831.25868bc1e2cc0dae.js +0 -1
  361. package/apps/pwa/out/_next/static/chunks/1896.b6c635d0c8f65727.js +0 -1
  362. package/apps/pwa/out/_next/static/chunks/1939.3fa2506ad8e585bc.js +0 -1
  363. package/apps/pwa/out/_next/static/chunks/1997-f22e6f9510520182.js +0 -1
  364. package/apps/pwa/out/_next/static/chunks/2242-6edf27c6c0ae7589.js +0 -1
  365. package/apps/pwa/out/_next/static/chunks/2344.795de26da3261060.js +0 -23
  366. package/apps/pwa/out/_next/static/chunks/2491.9ac5bd2f48bcd60c.js +0 -226
  367. package/apps/pwa/out/_next/static/chunks/2513.e03f6479c0079b6e.js +0 -79
  368. package/apps/pwa/out/_next/static/chunks/2551-43782d8812989ae7.js +0 -1
  369. package/apps/pwa/out/_next/static/chunks/2799.12b1a3e7090e27ef.js +0 -1
  370. package/apps/pwa/out/_next/static/chunks/2806.f04d7923f2adadb1.js +0 -1
  371. package/apps/pwa/out/_next/static/chunks/2862.b8ea08cbc69a63d4.js +0 -1
  372. package/apps/pwa/out/_next/static/chunks/295-1ff35d6a06be8400.js +0 -1
  373. package/apps/pwa/out/_next/static/chunks/3161.b9eb612f66d5ff04.js +0 -1
  374. package/apps/pwa/out/_next/static/chunks/3233.46021e4acc520c03.js +0 -1
  375. package/apps/pwa/out/_next/static/chunks/325.3cfd5b7571a9f740.js +0 -1
  376. package/apps/pwa/out/_next/static/chunks/3384.d91656787bec7922.js +0 -104
  377. package/apps/pwa/out/_next/static/chunks/3414f5fa-46ae45073dca64f0.js +0 -1
  378. package/apps/pwa/out/_next/static/chunks/3589.a9094c2bc034055c.js +0 -287
  379. package/apps/pwa/out/_next/static/chunks/3777.1450df79d987816d.js +0 -1
  380. package/apps/pwa/out/_next/static/chunks/3877-871ea505d778a6a7.js +0 -1
  381. package/apps/pwa/out/_next/static/chunks/4021.28d034c7fb0a6732.js +0 -1
  382. package/apps/pwa/out/_next/static/chunks/4212.873105c37a871421.js +0 -1
  383. package/apps/pwa/out/_next/static/chunks/423-6be27163a1bce5d7.js +0 -1
  384. package/apps/pwa/out/_next/static/chunks/4231.644cd1e23974f1f6.js +0 -1
  385. package/apps/pwa/out/_next/static/chunks/4362.1adc1412509b7bb8.js +0 -94
  386. package/apps/pwa/out/_next/static/chunks/4431.83a630154376636a.js +0 -41
  387. package/apps/pwa/out/_next/static/chunks/4540-993e2e4e1d485a9a.js +0 -1
  388. package/apps/pwa/out/_next/static/chunks/4719-1d04b01d4d6166fc.js +0 -1
  389. package/apps/pwa/out/_next/static/chunks/4754-bfd5e1ad9016e176.js +0 -1
  390. package/apps/pwa/out/_next/static/chunks/5001.b39bf6d792509317.js +0 -64
  391. package/apps/pwa/out/_next/static/chunks/5021.7234ae147ab0a3e1.js +0 -77
  392. package/apps/pwa/out/_next/static/chunks/5230.3e562ed2a69cbc7b.js +0 -1
  393. package/apps/pwa/out/_next/static/chunks/5279.f75fafa19de6e131.js +0 -1
  394. package/apps/pwa/out/_next/static/chunks/5325-b9c1258cc7e579f9.js +0 -1
  395. package/apps/pwa/out/_next/static/chunks/5495-37306015ec740354.js +0 -1
  396. package/apps/pwa/out/_next/static/chunks/5658.d1e61315cb865f82.js +0 -32
  397. package/apps/pwa/out/_next/static/chunks/5765.5949ec61cec63eac.js +0 -1
  398. package/apps/pwa/out/_next/static/chunks/587.e6b35bcbd947c58e.js +0 -8
  399. package/apps/pwa/out/_next/static/chunks/5951-f25e14d03e72135a.js +0 -1
  400. package/apps/pwa/out/_next/static/chunks/5962-1ab68b213684716b.js +0 -1
  401. package/apps/pwa/out/_next/static/chunks/6352.20c708245475cf50.js +0 -1
  402. package/apps/pwa/out/_next/static/chunks/6548-a160aa580fb9a8ff.js +0 -1
  403. package/apps/pwa/out/_next/static/chunks/673-40c924b2095a05eb.js +0 -1
  404. package/apps/pwa/out/_next/static/chunks/6731-c9308c2f71a1b8e3.js +0 -1
  405. package/apps/pwa/out/_next/static/chunks/6950-5d5edab502cc208b.js +0 -1
  406. package/apps/pwa/out/_next/static/chunks/6982.e8fecbf7feb3aba5.js +0 -1
  407. package/apps/pwa/out/_next/static/chunks/7051-0dbbb2c1ce4f519e.js +0 -1
  408. package/apps/pwa/out/_next/static/chunks/709.bd9939dbb991de9f.js +0 -1
  409. package/apps/pwa/out/_next/static/chunks/7230-6527ac6be205c096.js +0 -1
  410. package/apps/pwa/out/_next/static/chunks/7233-d93f8ce1475f730c.js +0 -1
  411. package/apps/pwa/out/_next/static/chunks/7292-a4d5c8d2fe255e06.js +0 -1
  412. package/apps/pwa/out/_next/static/chunks/7304-dae57d61a8ccccf0.js +0 -1
  413. package/apps/pwa/out/_next/static/chunks/7382.bf53ab097670a235.js +0 -27
  414. package/apps/pwa/out/_next/static/chunks/7434.99c31fb661085b6a.js +0 -1
  415. package/apps/pwa/out/_next/static/chunks/7457-9ceddd4301467503.js +0 -1
  416. package/apps/pwa/out/_next/static/chunks/7494.d8b8d01d8dcbafe8.js +0 -2
  417. package/apps/pwa/out/_next/static/chunks/7554-d9cec4ac2e6d556d.js +0 -1
  418. package/apps/pwa/out/_next/static/chunks/7733-6f0d8da7a3f3ce91.js +0 -1
  419. package/apps/pwa/out/_next/static/chunks/7757-6f4b6363cc651de5.js +0 -1
  420. package/apps/pwa/out/_next/static/chunks/787-4d1d55b1311a5019.js +0 -1
  421. package/apps/pwa/out/_next/static/chunks/7915-a755af5ea69cfcfe.js +0 -1
  422. package/apps/pwa/out/_next/static/chunks/8029-2963385667511b16.js +0 -1
  423. package/apps/pwa/out/_next/static/chunks/8090.bc2349b6133b2cd5.js +0 -1
  424. package/apps/pwa/out/_next/static/chunks/8136.8ff2113530c27083.js +0 -1
  425. package/apps/pwa/out/_next/static/chunks/819.632a2a50f814f98e.js +0 -74
  426. package/apps/pwa/out/_next/static/chunks/8328.72a79ba9b81971ad.js +0 -1
  427. package/apps/pwa/out/_next/static/chunks/8448.4e25153e035786b0.js +0 -62
  428. package/apps/pwa/out/_next/static/chunks/8613.76dfc054055f06ba.js +0 -1
  429. package/apps/pwa/out/_next/static/chunks/8649-fe9165a8879fad56.js +0 -1
  430. package/apps/pwa/out/_next/static/chunks/8840-53feb140de04dcfe.js +0 -1
  431. package/apps/pwa/out/_next/static/chunks/8873.ef8a37057644f876.js +0 -1
  432. package/apps/pwa/out/_next/static/chunks/8917-46eb4e608f44bf74.js +0 -1
  433. package/apps/pwa/out/_next/static/chunks/8954.e749ad9e9c5ca512.js +0 -115
  434. package/apps/pwa/out/_next/static/chunks/9065.8134b756614cf83f.js +0 -36
  435. package/apps/pwa/out/_next/static/chunks/9089.087fcd352568af49.js +0 -1
  436. package/apps/pwa/out/_next/static/chunks/9140-bfcc4075cac3c387.js +0 -1
  437. package/apps/pwa/out/_next/static/chunks/9272.787cb6d987824708.js +0 -1
  438. package/apps/pwa/out/_next/static/chunks/9361-5b10273d3f34b21d.js +0 -1
  439. package/apps/pwa/out/_next/static/chunks/9396.097c14dd4df77c43.js +0 -1
  440. package/apps/pwa/out/_next/static/chunks/9468.370ef15c86f7b141.js +0 -1
  441. package/apps/pwa/out/_next/static/chunks/963-66d3a6d98e977ae5.js +0 -1
  442. package/apps/pwa/out/_next/static/chunks/9644.a615f56876ed37b8.js +0 -90
  443. package/apps/pwa/out/_next/static/chunks/9786.2d8c3b7368f18f1b.js +0 -148
  444. package/apps/pwa/out/_next/static/chunks/9805.e17f9c6e3811e48b.js +0 -24
  445. package/apps/pwa/out/_next/static/chunks/9876-49a1e08c0dfe7b8c.js +0 -1
  446. package/apps/pwa/out/_next/static/chunks/9891.5995e75a99b53d4e.js +0 -149
  447. package/apps/pwa/out/_next/static/chunks/9912-2be6b6ea0321c365.js +0 -1
  448. package/apps/pwa/out/_next/static/chunks/app/_not-found/page-c0543429ffa9cdfb.js +0 -1
  449. package/apps/pwa/out/_next/static/chunks/app/approvals/page-39f04d88df12b3e9.js +0 -1
  450. package/apps/pwa/out/_next/static/chunks/app/board/page-e86f9273877eab46.js +0 -1
  451. package/apps/pwa/out/_next/static/chunks/app/bots/page-d83a916672a8cfd3.js +0 -1
  452. package/apps/pwa/out/_next/static/chunks/app/ceo/page-22f27eaa5e6e68c7.js +0 -1
  453. package/apps/pwa/out/_next/static/chunks/app/chat/page-66477bf22d33b56e.js +0 -1
  454. package/apps/pwa/out/_next/static/chunks/app/consult/page-913f2a86ea109c65.js +0 -1
  455. package/apps/pwa/out/_next/static/chunks/app/control/page-ac51dc349381d564.js +0 -1
  456. package/apps/pwa/out/_next/static/chunks/app/decisions/page-cd09fc74dca72511.js +0 -1
  457. package/apps/pwa/out/_next/static/chunks/app/design-check/page-6c357f5b58598b67.js +0 -1
  458. package/apps/pwa/out/_next/static/chunks/app/editor/page-ab83de8c73bd2e4f.js +0 -1
  459. package/apps/pwa/out/_next/static/chunks/app/exec/page-6402ad2273b6f7b5.js +0 -1
  460. package/apps/pwa/out/_next/static/chunks/app/field/page-50d9b8d13b33f785.js +0 -1
  461. package/apps/pwa/out/_next/static/chunks/app/healthz/route-c0543429ffa9cdfb.js +0 -1
  462. package/apps/pwa/out/_next/static/chunks/app/intake/page-3316bfc28a901722.js +0 -1
  463. package/apps/pwa/out/_next/static/chunks/app/layout-aef93e049341011e.js +0 -1
  464. package/apps/pwa/out/_next/static/chunks/app/live/page-8e67bb49fa81d4e5.js +0 -1
  465. package/apps/pwa/out/_next/static/chunks/app/live-run/page-8b8c8ac4a3edf0eb.js +0 -1
  466. package/apps/pwa/out/_next/static/chunks/app/loops/page-b5b994c9ea03f6d7.js +0 -1
  467. package/apps/pwa/out/_next/static/chunks/app/market/page-1a06f6f510439341.js +0 -1
  468. package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-d9720f6a03f31fa7.js +0 -1
  469. package/apps/pwa/out/_next/static/chunks/app/morning/page-d7c891d78672d771.js +0 -1
  470. package/apps/pwa/out/_next/static/chunks/app/not-found-e915872b37ca7dcf.js +0 -1
  471. package/apps/pwa/out/_next/static/chunks/app/observatory/page-43c2ec7c00978377.js +0 -1
  472. package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-c2537aa89b121637.js +0 -1
  473. package/apps/pwa/out/_next/static/chunks/app/ops/release/page-3264666f6ef99431.js +0 -1
  474. package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-efe9dd7bc58d4fc6.js +0 -1
  475. package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-153277343c9956b8.js +0 -1
  476. package/apps/pwa/out/_next/static/chunks/app/outputs/page-c1457829d1506ad7.js +0 -1
  477. package/apps/pwa/out/_next/static/chunks/app/page-9622573651a4b6ce.js +0 -1
  478. package/apps/pwa/out/_next/static/chunks/app/reflection/page-5aeba1aa69ec67ad.js +0 -1
  479. package/apps/pwa/out/_next/static/chunks/app/scheduler/page-29cf1ba9ae2fdb92.js +0 -1
  480. package/apps/pwa/out/_next/static/chunks/app/sessions/page-99a060c6edd4726c.js +0 -1
  481. package/apps/pwa/out/_next/static/chunks/app/settings/page-3650eed85a5c5c93.js +0 -1
  482. package/apps/pwa/out/_next/static/chunks/app/setup/done/page-14077f0eddcae22f.js +0 -1
  483. package/apps/pwa/out/_next/static/chunks/app/setup/layout-c0543429ffa9cdfb.js +0 -1
  484. package/apps/pwa/out/_next/static/chunks/app/setup/page-364ee29f223bdc6b.js +0 -1
  485. package/apps/pwa/out/_next/static/chunks/app/share/page-905fb1f67c2665a7.js +0 -1
  486. package/apps/pwa/out/_next/static/chunks/app/showroom/page-79907fc36e3113f4.js +0 -1
  487. package/apps/pwa/out/_next/static/chunks/app/tasks/page-8f01867ee2a701b6.js +0 -1
  488. package/apps/pwa/out/_next/static/chunks/app/term/page-310b734167671ba8.js +0 -1
  489. package/apps/pwa/out/_next/static/chunks/app/today/page-cb1ca7ae52803603.js +0 -1
  490. package/apps/pwa/out/_next/static/chunks/app/trace/page-5491f2fb8e9376b5.js +0 -1
  491. package/apps/pwa/out/_next/static/chunks/app/vault/page-7e98befd36460b21.js +0 -1
  492. package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-220923eefd5149b5.js +0 -1
  493. package/apps/pwa/out/_next/static/chunks/app/workflows/page-afdef54bb570da39.js +0 -1
  494. package/apps/pwa/out/_next/static/chunks/app/workspace/page-19f8acddbff16091.js +0 -1
  495. package/apps/pwa/out/_next/static/chunks/app/worktrees/page-d327a7647a075184.js +0 -1
  496. package/apps/pwa/out/_next/static/chunks/bc1f8ef9.b79035bd0f565c66.js +0 -1
  497. package/apps/pwa/out/_next/static/chunks/cf9ff424.b702f4a2ac70d836.js +0 -1
  498. package/apps/pwa/out/_next/static/chunks/d90ea774-d492ff408af303c1.js +0 -1
  499. package/apps/pwa/out/_next/static/chunks/ec9064d2.691021d974525713.js +0 -122
  500. package/apps/pwa/out/_next/static/chunks/ef9d715f.186b83d00befb229.js +0 -1
  501. package/apps/pwa/out/_next/static/chunks/framework-f01b715c1ec2fb74.js +0 -1
  502. package/apps/pwa/out/_next/static/chunks/main-3267c2e627901292.js +0 -1
  503. package/apps/pwa/out/_next/static/chunks/main-app-a690bcbeac3c465d.js +0 -1
  504. package/apps/pwa/out/_next/static/chunks/pages/_app-124f11699738fd43.js +0 -1
  505. package/apps/pwa/out/_next/static/chunks/pages/_error-754b7bd073a36a5f.js +0 -1
  506. package/apps/pwa/out/_next/static/chunks/webpack-8ded1efe8121eba0.js +0 -1
  507. /package/apps/pwa/out/_next/static/{98VlBaYvL-VVnCq93_lFS → K-ckEB9hu9tXQ6iqnl27L}/_ssgManifest.js +0 -0
@@ -24,6 +24,7 @@ import { actualGatePodImageDigest, gateBaselineReceipt, gateEnvFingerprint, gate
24
24
  import { gateImagePinPath, normalizeGateImageDigest, pinnedGateImageSync as buildPinnedGateImageSync, readGateImagePin,
25
25
  readGateImagePinForRun, replaceGateImagePin, resolveGateImagePin, writeGateImagePin } from './gate-image-pin.js';
26
26
  import { gateReceiptRegistryPath, planGateTrainReceiptCarry } from './gate-train-receipts.js';
27
+ import { formalReceiptSetPresenceReason } from './gate-shard-receipts.js';
27
28
  import { gateEnvFingerprint as gateReceiptEnvFingerprint, gateLockfileHash } from '../../src/self-implement/gate-receipt-registry.js';
28
29
  import { SPAWN_SYNC_MAX_BUFFER } from '../../src/util/spawn-sync-output.js';
29
30
  export { POD_SWEEP_INTEGRATION_ONLY } from './gate-baseline-receipt';
@@ -462,6 +463,8 @@ async function startWarmGateControl(config: unknown, dependencies: WarmGateContr
462
463
  export interface GateResult {
463
464
  outcome: 'ok' | 'regression' | 'error';
464
465
  commit: string;
466
+ /** Formal receipt fallback decision observed by the real graph-scoped gate. */
467
+ formalReceiptDecision?: string;
465
468
  introduced: string[];
466
469
  preexisting: number;
467
470
  /** null = not counted (GATE-SPEED A4: the swept baseline ran only the cut's failing files). */
@@ -2724,7 +2727,8 @@ export function createGateRunner(repo: string, remote?: string, commandOverride?
2724
2727
  pool: pod.pool, poolScheduler: trackedPool(shard, branch, jobName, resultFile, attemptId, (member) => {
2725
2728
  stamp('poolPlaced'); jobContext = member.context; jobContextForCapture = member.context; placedOn = member.context; placed();
2726
2729
  if (branch === '-tail') tailPlacedHost = member.context;
2727
- }, skipMembers, depth === 0 && branch === '' && hostRetries === 0 && !retriedNoOutput && !batchIsolation && skipMembers.size === 0), clone: true, source: { kind: 'commit', sha: commit },
2730
+ }, skipMembers, depth === 0 && branch === '' && hostRetries === 0 && !retriedNoOutput && !batchIsolation && skipMembers.size === 0), clone: true,
2731
+ source: { kind: 'commit', sha: commit, ...(rulesBaseSha ? { baseSha: rulesBaseSha } : {}) },
2728
2732
  ...(pod.imagePin === 'cut-commit' || pod.pinnedImageDigest || pod.pinnedRunId ? { imageCommit: commit } : {}),
2729
2733
  ...(pod.pinnedImageDigest || pod.pinnedRunId ? { syncImages: pinnedGateImageSync(pod, commit)! } : {}), deadlineSeconds: shardDeadline,
2730
2734
  ...gateHostMirror(pod),
@@ -3397,7 +3401,7 @@ export function createGateRunner(repo: string, remote?: string, commandOverride?
3397
3401
  run: process.env.ELANOUS_RUN_ID || attemptId, phase: 'release-gate', requestedAt: new Date().toISOString(),
3398
3402
  graphNode: 'gate-triage', commit, reason: `release gate recheck ${files.length} files`, pool: pod.pool,
3399
3403
  memReq: POD_ISOLATION_MEMORY_LIMIT, warmReused: !!producer },
3400
- source: { kind: 'commit', sha: commit }, deadlineSeconds, ...(producer ? { warmProducer: producer, image: producer.image } : {}),
3404
+ source: { kind: 'commit', sha: commit, ...(rulesBaseSha ? { baseSha: rulesBaseSha } : {}) }, deadlineSeconds, ...(producer ? { warmProducer: producer, image: producer.image } : {}),
3401
3405
  ...(producer || pod.pinnedImageDigest || pod.pinnedRunId ? { imageCommit: commit } : {}),
3402
3406
  ...(pod.pinnedImageDigest || pod.pinnedRunId ? { syncImages: pinnedGateImageSync(pod, commit)! } : {}),
3403
3407
  ...(bunCache ? { bunCache } : {}), ...gateHostMirror(pod),
@@ -4050,8 +4054,8 @@ export async function judgeGate(opts: GateOptions, runner: GateRunner = createGa
4050
4054
  } catch { formalInventoryComplete = false; formalPayloadComplete = false; }
4051
4055
  }
4052
4056
  const formalIdentity = currentIdentity && currentImage ? { ...currentIdentity, imageDigest: currentImage } : null;
4053
- let formalReason = !formalRows.length ? 'formal-receipt-set-absent'
4054
- : formalRows.some((row) => !row || row.status !== 'complete') ? 'formal-receipt-set-incomplete'
4057
+ let formalReason = formalReceiptSetPresenceReason(formalRows.length)
4058
+ ?? (formalRows.some((row) => !row || row.status !== 'complete') ? 'formal-receipt-set-incomplete'
4055
4059
  : formalRows.some((row) => row!.version !== opts.version) ? 'formal-receipt-version-mismatch'
4056
4060
  : !formalInventoryComplete ? formalInventoryReason
4057
4061
  : !formalPayloadComplete ? 'formal-receipt-payload-incomplete'
@@ -4075,7 +4079,8 @@ export async function judgeGate(opts: GateOptions, runner: GateRunner = createGa
4075
4079
  : formalRows.some((row) => !gateRuntimeSourceFingerprint(repo, row!.head40, row!.runtimeIdentity)
4076
4080
  || gateRuntimeSourceFingerprint(repo, row!.head40, row!.runtimeIdentity) !== gateRuntimeSourceFingerprint(repo, opts.commit, formalIdentity))
4077
4081
  ? 'formal-receipt-runtime-fingerprint-mismatch'
4078
- : 'formal-receipt-radius-unmeasured';
4082
+ : 'formal-receipt-radius-unmeasured');
4083
+ result.formalReceiptDecision = formalReason;
4079
4084
  if (formalReason === 'formal-receipt-radius-unmeasured' && priorHead && priorHead !== opts.commit) {
4080
4085
  try {
4081
4086
  const tests = gateAssignableTestsAtCommit(repo, opts.commit);
@@ -5130,7 +5135,9 @@ export async function runGateNode(argv: string[], env: NodeJS.ProcessEnv, runner
5130
5135
  }
5131
5136
  if (result.error) console.error(result.error);
5132
5137
  debug.log('release-loop.gate', 'result', { version, outcome: result.outcome, ...(placement ?? {}) });
5133
- emitNodeResult({ ...graphGateResult(result, !!env.ELANOUS_GRAPH_CONTEXT), ...(placement ?? {}) });
5138
+ const nodeResult = graphGateResult(result, !!env.ELANOUS_GRAPH_CONTEXT);
5139
+ emitNodeResult({ ...nodeResult, ...(placement ?? {}),
5140
+ ...(placement?.executor === 'host' ? { summary: `${nodeResult.summary} · 실행기 host${placement.host ? `(${placement.host})` : ''}` } : {}) });
5134
5141
  return result.outcome === 'ok' ? 0 : result.outcome === 'regression' ? 1 : 2;
5135
5142
  }
5136
5143
 
@@ -64,6 +64,11 @@ export type GateShardReceiptInspection =
64
64
  | { kind: 'invalid'; reason: string }
65
65
  | { kind: 'valid'; images: Array<{ imageDigest: string }>; receipts: GateShardReceipt[] };
66
66
 
67
+ /** The gate treats an empty formal receipt inventory as a full-sweep fallback reason. */
68
+ export function formalReceiptSetPresenceReason(receiptCount: number): 'formal-receipt-set-absent' | undefined {
69
+ return receiptCount === 0 ? 'formal-receipt-set-absent' : undefined;
70
+ }
71
+
67
72
  /** Validate the complete formal receipt set against independently recorded shard and test inventories. */
68
73
  export function inspectGateShardReceipts(root: string, expected: {
69
74
  version: string; commit: string; base40: string; envFingerprint: string; graphPins: { graphSha: string; recipeSha: string }; graphEntry: string; recipeCommand: string; recipeTimeoutMs: number;
@@ -114,7 +114,8 @@ export function runPublish(run: CommandRunner = runCommand, prodFreezeRoot?: str
114
114
  return { outcome: 'fail' as const, verdict: 'fail' as const, summary: 'publish blocked: neither auto-approve nor approve-publish approved' };
115
115
  }
116
116
  const gate = context.outputs.gate;
117
- const ownerWaivedGate = gate?.outcome === 'pass(owner-waived)' && gate.verdict === 'owner-waived'
117
+ const ownerWaivedGate = gate?.verdict === 'owner-waived'
118
+ && (gate.outcome === 'ok' || gate.outcome === 'pass(owner-waived)')
118
119
  && typeof gate.approvedBy === 'string' && gate.approvedBy.trim().length > 0
119
120
  && typeof gate.reason === 'string' && gate.reason.trim().length > 0;
120
121
  if (gate?.outcome !== 'ok' && !ownerWaivedGate)
@@ -45,7 +45,16 @@ export function parseArgs(argv: readonly string[]): Options {
45
45
  return opts;
46
46
  }
47
47
 
48
- const NO_PROXY_ENV = Object.fromEntries(Object.entries(process.env).filter(([k]) => !/^(https?|all)_proxy$/i.test(k)));
48
+ export function releasePwaNodeEnvironment(env: NodeJS.ProcessEnv = process.env): Record<string, string | undefined> {
49
+ const clean = Object.fromEntries(Object.entries(env).filter(([k]) => !/^(https?|all)_proxy$/i.test(k)));
50
+ const configured = env.ELANOUS_CDP_ATTACH_TIMEOUT_MS?.trim();
51
+ const timeout = configured && /^\d+$/.test(configured) && Number.isSafeInteger(Number(configured)) && Number(configured) > 0
52
+ ? configured
53
+ : '30000';
54
+ return { ...clean, ELANOUS_CDP_ATTACH_TIMEOUT_MS: timeout };
55
+ }
56
+
57
+ const NO_PROXY_ENV = releasePwaNodeEnvironment();
49
58
  const log = (msg: string) => process.stderr.write(`[pwa-node] ${msg}\n`);
50
59
 
51
60
  function run(cmd: string, args: string[], cwd: string, timeoutMs = 600_000) {
@@ -68,7 +68,7 @@ first_run_log_rc=${first_run_pipeline_rc[2]:-0}
68
68
 
69
69
  print "[S3] collect first-run logs"
70
70
  zero_tool "$VM" logs "$M" --since 15m --limit 100 2>&1 | tee "$EVIDENCE/zero-sim-$M-elanous-logs.log"
71
- logs_rc=$?
71
+ logs_rc=${pipestatus[1]:-$?}
72
72
  if (( logs_rc != 0 )); then
73
73
  print -r -- "[S3] log collection unavailable rc=$logs_rc" | tee -a "$EVIDENCE/zero-sim-$M-elanous-logs.log"
74
74
  fi
@@ -7,6 +7,7 @@ import { formatResearchEvidenceAttribution, researchEvidenceSourceUrls } from '.
7
7
  import { routeResearchOutput } from '../research/output-router.js';
8
8
  import { planGapFollowup } from '../research/gap-followup.js';
9
9
  import type { ResearchGapFollowupInput, ResearchGapFollowupPlan, ResearchGapFollowupResult } from '../research/gap-followup.js';
10
+ import type { ResearchGraphEvent } from '../nexus/api/research-run-observer.js';
10
11
  import { debug, redactSecretText } from '../debug/log.js';
11
12
  import {
12
13
  buildWorkingBackwardsContractPrompt,
@@ -37,6 +38,8 @@ import {
37
38
  export interface ResearchQuestionLadderRunOptions {
38
39
  /** Explicit inherited run identity for diagnostics; omitted values are never fabricated here. */
39
40
  runId?: string;
41
+ /** Persist the actual adaptive research steps to the active Nexus run, when the caller owns a run. */
42
+ onGraphEvent?: (event: ResearchGraphEvent) => void;
40
43
  signal?: AbortSignal;
41
44
  /** Inherit the active turn's provider route; research must not pick its own default. */
42
45
  initialProvider?: LLMProvider;
@@ -78,6 +81,34 @@ export interface ResearchQuestionLadderRunOptions {
78
81
  secondOrderTriggerClassifier?: SecondOrderTriggerClassifier;
79
82
  }
80
83
 
84
+ function emitGraphEvent(options: ResearchQuestionLadderRunOptions, event: ResearchGraphEvent): void {
85
+ try { options.onGraphEvent?.(event); } catch { /* visualization is observational and fail-soft */ }
86
+ }
87
+
88
+ function researchNodeId(prefix: 'axis' | 'followup', questionId: string): string {
89
+ const safeId = questionId.replace(/[^A-Za-z0-9_-]/g, '-').replace(/^-+|-+$/g, '').slice(0, 40) || 'unknown';
90
+ return `${prefix}-${safeId}`;
91
+ }
92
+
93
+ function prioritizeGapFollowups(
94
+ plan: ResearchGapFollowupPlan,
95
+ input: ResearchGapFollowupInput,
96
+ ): { plan: ResearchGapFollowupPlan; changes: Array<{ node: string; from: number; to: number }> } {
97
+ const questionById = new Map(input.questions.map((question) => [question.id, question]));
98
+ const slotRank = new Map((input.blankSlots ?? []).map((slot, index) => [slot.id, index]));
99
+ const ranked = plan.followups.map((call, index) => ({ call, index })).sort((a, b) => {
100
+ const aSection = questionById.get(a.call.questionId)?.sectionId;
101
+ const bSection = questionById.get(b.call.questionId)?.sectionId;
102
+ return (slotRank.get(aSection ?? '') ?? Number.MAX_SAFE_INTEGER)
103
+ - (slotRank.get(bSection ?? '') ?? Number.MAX_SAFE_INTEGER)
104
+ || a.index - b.index;
105
+ });
106
+ const changes = ranked.flatMap(({ call, index }, nextIndex) => index === nextIndex ? [] : [{
107
+ node: researchNodeId('followup', call.questionId), from: index + 1, to: nextIndex + 1,
108
+ }]);
109
+ return { plan: { ...plan, followups: ranked.map(({ call }) => call) }, changes };
110
+ }
111
+
81
112
  export interface ResearchGroundingResult {
82
113
  ok: boolean;
83
114
  output: string;
@@ -156,12 +187,27 @@ async function runNativeResearchGapFollowup(
156
187
  }
157
188
  const budgetSignal = AbortSignal.timeout(plan.timeBudgetMs);
158
189
  const signal = input.signal ? AbortSignal.any([input.signal, budgetSignal]) : budgetSignal;
159
- const result = await (options.invokeAxes ?? invokeProductionResearchAxes)(
160
- planned, signal, options.admitToolCall,
161
- );
190
+ const followupEvidence: ResearchEvidenceEnvelope[] = [];
191
+ const followupNodes = planned.map((question) => researchNodeId('followup', question.id));
192
+ emitGraphEvent(options, { type: 'enter', node: 'followup' });
193
+ for (const node of followupNodes) emitGraphEvent(options, { type: 'enter', node });
194
+ try {
195
+ const result = await (options.invokeAxes ?? invokeProductionResearchAxes)(planned, signal, options.admitToolCall);
196
+ const byQuestion = new Map(result.axes.map((axis) => [axis.questionId, axis]));
197
+ for (const question of planned) {
198
+ const evidence = byQuestion.get(question.id)?.evidence ?? [];
199
+ followupEvidence.push(...evidence);
200
+ emitGraphEvent(options, { type: 'exit', node: researchNodeId('followup', question.id), outcome: evidence.some((item) => item.outcome !== 'failed') ? 'ok' : 'fail' });
201
+ }
202
+ emitGraphEvent(options, { type: 'exit', node: 'followup', outcome: result.axes.some((axis) => axis.evidence.some((item) => item.outcome !== 'failed')) ? 'ok' : 'fail' });
203
+ } catch (error) {
204
+ for (const node of followupNodes) emitGraphEvent(options, { type: 'exit', node, outcome: 'fail' });
205
+ emitGraphEvent(options, { type: 'exit', node: 'followup', outcome: 'fail' });
206
+ throw error;
207
+ }
162
208
  return {
163
209
  ...plan,
164
- followupEvidence: result.axes.flatMap((axis) => axis.evidence),
210
+ followupEvidence,
165
211
  discoveryCards: [],
166
212
  };
167
213
  }
@@ -478,6 +524,13 @@ export async function runResearchQuestionLadder(
478
524
  };
479
525
  const singlePreparation = Boolean(options.generatePreparation)
480
526
  || (!options.generateContract && !options.generate);
527
+ emitGraphEvent(options, { type: 'enter', node: 'question-plan' });
528
+ let questionPlanFinished = false;
529
+ const finishQuestionPlan = (outcome: string): void => {
530
+ if (questionPlanFinished) return;
531
+ questionPlanFinished = true;
532
+ emitGraphEvent(options, { type: 'exit', node: 'question-plan', outcome });
533
+ };
481
534
  let contractRaw: string;
482
535
  let raw = '';
483
536
  try {
@@ -512,12 +565,14 @@ export async function runResearchQuestionLadder(
512
565
  );
513
566
  }
514
567
  if (signal.aborted) {
568
+ finishQuestionPlan('aborted');
515
569
  return shouldReturnPartial()
516
570
  ? { ok: false, ladder: initial, output: partialResearchOutput(request, initial, 'before question generation'), error: RESEARCH_TURN_DEADLINE_STOP_ERROR }
517
571
  : { ok: false, ladder: initial, output: '', error: 'research aborted' };
518
572
  }
519
573
  } catch (error) {
520
574
  const reason = errorText(error);
575
+ finishQuestionPlan(signal.aborted ? 'aborted' : 'fail');
521
576
  if (signal.aborted) {
522
577
  return {
523
578
  ok: false, ladder: initial,
@@ -534,11 +589,13 @@ export async function runResearchQuestionLadder(
534
589
  generatedContract = JSON.parse(extractJson(contractRaw));
535
590
  } catch (error) {
536
591
  const reason = errorText(error);
592
+ finishQuestionPlan('fail');
537
593
  debug.log('research.lens', 'working-backwards-contract-invalid', { reason }, { level: 'warn' });
538
594
  return { ok: false, ladder: initial, output: '', error: `output contract returned invalid JSON: ${reason}` };
539
595
  }
540
596
  const parsedContract = parseWorkingBackwardsContract(generatedContract);
541
597
  if (!parsedContract.ok) {
598
+ finishQuestionPlan('fail');
542
599
  debug.log('research.lens', 'working-backwards-contract-invalid', { reason: parsedContract.reason }, { level: 'warn' });
543
600
  return { ok: false, ladder: initial, output: '', error: parsedContract.reason };
544
601
  }
@@ -568,12 +625,14 @@ export async function runResearchQuestionLadder(
568
625
  signal,
569
626
  );
570
627
  if (signal.aborted) {
628
+ finishQuestionPlan('aborted');
571
629
  return shouldReturnPartial()
572
630
  ? { ok: false, ladder: initial, outputContract, output: partialResearchOutput(request, initial, 'before axis searches'), error: RESEARCH_TURN_DEADLINE_STOP_ERROR }
573
631
  : { ok: false, ladder: initial, outputContract, output: '', error: 'research aborted' };
574
632
  }
575
633
  debug.log('research.turn', 'bloom-generated', { questionCount: 6 });
576
634
  } catch (error) {
635
+ finishQuestionPlan(signal.aborted ? 'aborted' : 'fail');
577
636
  if (signal.aborted) {
578
637
  return {
579
638
  ok: false, ladder: initial, outputContract,
@@ -589,6 +648,7 @@ export async function runResearchQuestionLadder(
589
648
  try {
590
649
  generated = JSON.parse(extractJson(raw));
591
650
  } catch (error) {
651
+ finishQuestionPlan('fail');
592
652
  debug.log('research.turn', 'bloom-validation-failed', { reason: errorText(error) }, { level: 'warn' });
593
653
  return { ok: false, ladder: initial, outputContract, output: '', error: `question generation returned invalid JSON: ${errorText(error)}` };
594
654
  }
@@ -596,11 +656,13 @@ export async function runResearchQuestionLadder(
596
656
  withRequest(generated, request), outputContract.sections.map((section) => section.id),
597
657
  );
598
658
  if (!parsed.ok) {
659
+ finishQuestionPlan('fail');
599
660
  debug.log('research.turn', 'bloom-validation-failed', { reason: parsed.reason }, { level: 'warn' });
600
661
  return { ok: false, ladder: initial, outputContract, output: '', error: parsed.reason };
601
662
  }
602
663
 
603
664
  const ladder = parsed.value;
665
+ finishQuestionPlan('ok');
604
666
  debug.log('research.turn', 'bloom-ladder-validated', { questionCount: ladder.questions.length });
605
667
  debug.log('research.turn', 'deep-bloom-applied', {
606
668
  levels: [4, 5], trigger: 'research-intent',
@@ -609,14 +671,37 @@ export async function runResearchQuestionLadder(
609
671
  });
610
672
  const observedAt = new Date().toISOString();
611
673
  let fanout: AxisFanoutResult;
674
+ for (const [index, question] of ladder.questions.entries()) {
675
+ const node = researchNodeId('axis', question.id);
676
+ emitGraphEvent(options, { type: 'node-added', node, kind: 'research', reason: 'Bloom question ladder generated this evidence axis' });
677
+ emitGraphEvent(options, {
678
+ type: 'edge-rerouted', from: 'axes', outcome: index === 0 ? '$default' : question.id,
679
+ to: node, was: index === 0 ? 'evidence-check' : '$absent',
680
+ reason: 'Question axes are collected concurrently as independent evidence paths',
681
+ });
682
+ emitGraphEvent(options, { type: 'edge-rerouted', from: node, outcome: '$default', to: 'evidence-check', was: '$absent', reason: 'Each evidence axis returns to the shared output contract check' });
683
+ emitGraphEvent(options, { type: 'enter', node });
684
+ }
685
+ let axesFinished = false;
686
+ const finishAxes = (outcome: string): void => {
687
+ if (axesFinished) return;
688
+ axesFinished = true;
689
+ emitGraphEvent(options, { type: 'exit', node: 'axes', outcome });
690
+ };
612
691
  try {
692
+ emitGraphEvent(options, { type: 'enter', node: 'axes' });
613
693
  fanout = await (options.invokeAxes ?? invokeProductionResearchAxes)(ladder.questions, signal, options.admitToolCall);
614
- if (signal.aborted && !shouldReturnPartial()) return { ok: false, ladder, outputContract, output: '', error: 'research aborted' };
694
+ if (signal.aborted && !shouldReturnPartial()) {
695
+ finishAxes('aborted');
696
+ for (const question of ladder.questions) emitGraphEvent(options, { type: 'exit', node: researchNodeId('axis', question.id), outcome: 'aborted' });
697
+ return { ok: false, ladder, outputContract, output: '', error: 'research aborted' };
698
+ }
615
699
  debug.log('research.turn', 'axis-evidence-collected', {
616
700
  axisCount: fanout.axes.length,
617
701
  evidenceCount: fanout.axes.reduce((count, axis) => count + axis.evidence.length, 0),
618
702
  });
619
703
  } catch (error) {
704
+ finishAxes('fail');
620
705
  debug.log('research.turn', 'axis-evidence-failed', { reason: errorText(error) }, { level: 'warn' });
621
706
  fanout = {
622
707
  plan: [],
@@ -628,6 +713,12 @@ export async function runResearchQuestionLadder(
628
713
  };
629
714
  }
630
715
 
716
+ const collectedAxes = new Map(fanout.axes.map((axis) => [axis.questionId, axis]));
717
+ for (const question of ladder.questions) {
718
+ const axis = collectedAxes.get(question.id);
719
+ emitGraphEvent(options, { type: 'exit', node: researchNodeId('axis', question.id), outcome: axis?.evidence.some((item) => item.outcome !== 'failed') ? 'ok' : 'fail' });
720
+ }
721
+
631
722
  let evidenceRejected = false;
632
723
  const sections: string[] = [`# Research: ${request}`, '', `## Output contract\n${ladderContext}`, ''];
633
724
  const byQuestion = new Map(fanout.axes.map((axis) => [axis.questionId, axis]));
@@ -678,6 +769,9 @@ export async function runResearchQuestionLadder(
678
769
 
679
770
  let finalBoundary = planWorkingBackwardsCompletion(outputContract, ladder.questions, ladder.evidence);
680
771
  logCompletionBoundary('axis-fanout', finalBoundary, options.runId);
772
+ finishAxes('ok');
773
+ emitGraphEvent(options, { type: 'enter', node: 'evidence-check' });
774
+ emitGraphEvent(options, { type: 'exit', node: 'evidence-check', outcome: finalBoundary.complete ? 'complete' : 'gap' });
681
775
  if (finalBoundary.complete) {
682
776
  debug.log('research.turn', 'completion-boundary-stop', {
683
777
  stage: 'axis-fanout', reason: 'every output-contract section slot is filled',
@@ -700,6 +794,27 @@ export async function runResearchQuestionLadder(
700
794
  if (options.planGapFollowup || !options.gapFollowup) {
701
795
  try {
702
796
  followupPlan = (options.planGapFollowup ?? planGapFollowup)(followupInput);
797
+ const prioritized = prioritizeGapFollowups(followupPlan, followupInput);
798
+ followupPlan = prioritized.plan;
799
+ if (followupPlan.followups.length > 0) {
800
+ const followupNodes = followupPlan.followups.map((call) => researchNodeId('followup', call.questionId));
801
+ for (const node of followupNodes) emitGraphEvent(options, { type: 'node-added', node, kind: 'research', reason: 'Output contract gap scheduled a bounded evidence follow-up' });
802
+ emitGraphEvent(options, {
803
+ type: 'edge-rerouted', from: 'evidence-check', outcome: 'gap', to: 'followup', was: 'synthesis',
804
+ reason: 'Missing contract evidence routes the run through follow-up fanout',
805
+ });
806
+ for (const node of followupNodes) {
807
+ emitGraphEvent(options, {
808
+ type: 'edge-rerouted', from: 'followup', outcome: node.slice('followup-'.length),
809
+ to: node, was: '$absent',
810
+ reason: 'Follow-up fanout dispatches prioritized evidence questions concurrently',
811
+ });
812
+ emitGraphEvent(options, { type: 'edge-rerouted', from: node, outcome: '$default', to: 'synthesis', was: '$absent', reason: 'Follow-up evidence returns to answer synthesis' });
813
+ }
814
+ }
815
+ for (const change of prioritized.changes) {
816
+ emitGraphEvent(options, { type: 'priority-changed', ...change, reason: 'Follow-up order now follows the unfilled output-contract sections' });
817
+ }
703
818
  debug.log('research.turn', 'gap-followup-planned', {
704
819
  rounds: followupPlan.rounds,
705
820
  classifications: followupPlan.classifications.length,
@@ -19,6 +19,7 @@ export type CourierDeps = {
19
19
  config?: CourierConfig;
20
20
  now?: number;
21
21
  listComments?: () => Promise<Comment[]> | Comment[];
22
+ ghApi?: (args: string[]) => Promise<string>;
22
23
  post?: (body: string) => Promise<void> | void;
23
24
  trackAgent?: { enabled: boolean };
24
25
  agentRunner?: TrackAgentRunner;
@@ -26,6 +27,9 @@ export type CourierDeps = {
26
27
 
27
28
  const repoRoot = resolve(import.meta.dir, '../..');
28
29
  const execFileAsync = promisify(execFile);
30
+ const runGhApi = async (args: string[]): Promise<string> => (await execFileAsync('gh', args, {
31
+ cwd: repoRoot, encoding: 'utf8', timeout: 20_000, maxBuffer: 8 * 1024 * 1024,
32
+ })).stdout;
29
33
  const log = (event: string, data: Record<string, unknown>) => {
30
34
  try { debug.log('autopilot.track-courier', event, data); } catch { /* observation is fail-soft */ }
31
35
  };
@@ -33,15 +37,51 @@ const configFor = (deps: CourierDeps): CourierConfig => deps.config ?? getUserCo
33
37
  const minutesFor = (config: CourierConfig): number =>
34
38
  typeof config.handoffMinutes === 'number' && Number.isFinite(config.handoffMinutes) && config.handoffMinutes > 0 ? config.handoffMinutes : 60;
35
39
 
36
- async function defaultComments(channelPr: number, now: number, handoffMinutes: number): Promise<Comment[]> {
40
+ function parseJsonDocuments(stdout: string): unknown[] {
41
+ const documents: unknown[] = [];
42
+ let start = -1;
43
+ const closing: string[] = [];
44
+ let inString = false;
45
+ let escaped = false;
46
+
47
+ for (let index = 0; index < stdout.length; index++) {
48
+ const char = stdout[index]!;
49
+ if (start < 0) {
50
+ if (/\s/.test(char)) continue;
51
+ if (char !== '[') throw new Error('comments page is not a JSON array');
52
+ start = index;
53
+ closing.push(']');
54
+ continue;
55
+ }
56
+ if (inString) {
57
+ if (escaped) escaped = false;
58
+ else if (char === '\\') escaped = true;
59
+ else if (char === '"') inString = false;
60
+ continue;
61
+ }
62
+ if (char === '"') { inString = true; continue; }
63
+ if (char === '[') closing.push(']');
64
+ else if (char === '{') closing.push('}');
65
+ else if (char === ']' || char === '}') {
66
+ if (closing.pop() !== char) throw new Error('comments page has mismatched JSON delimiters');
67
+ if (closing.length === 0) {
68
+ documents.push(JSON.parse(stdout.slice(start, index + 1)) as unknown);
69
+ start = -1;
70
+ }
71
+ }
72
+ }
73
+ if (start >= 0 || inString || closing.length > 0) throw new Error('comments response contains incomplete JSON');
74
+ return documents;
75
+ }
76
+
77
+ async function defaultComments(channelPr: number, now: number, handoffMinutes: number, query = runGhApi): Promise<Comment[]> {
37
78
  const since = new Date(now - Math.max(120, handoffMinutes) * 60_000).toISOString();
38
79
  const repo = process.env.CH_REPO || 'ElanvitalAI/elanous';
39
- const { stdout } = await execFileAsync('gh', ['api', '--paginate', '--slurp',
40
- `repos/${repo}/issues/${channelPr}/comments?since=${encodeURIComponent(since)}`],
41
- { cwd: repoRoot, encoding: 'utf8', timeout: 20_000, maxBuffer: 8 * 1024 * 1024 });
42
- const parsed: unknown = JSON.parse(stdout);
43
- if (!Array.isArray(parsed) || !parsed.every(Array.isArray)) throw new Error('comments response is not paged arrays');
44
- return parsed.flat() as Comment[];
80
+ const stdout = await query(['api', '--paginate',
81
+ `repos/${repo}/issues/${channelPr}/comments?since=${encodeURIComponent(since)}`]);
82
+ const pages = parseJsonDocuments(stdout);
83
+ if (!pages.length || !pages.every(Array.isArray)) throw new Error('comments response is not paged arrays');
84
+ return pages.flat() as Comment[];
45
85
  }
46
86
 
47
87
  async function defaultPost(body: string, channelPr: number): Promise<void> {
@@ -63,7 +103,7 @@ export async function trackAlive(track: string, deps: CourierDeps = {}): Promise
63
103
  const config = configFor(deps);
64
104
  try {
65
105
  if (!deps.listComments && !config.channelPr) return { alive: true, lastPostAt: null, reason: 'unmeasured' };
66
- const comments = await (deps.listComments ?? (() => defaultComments(config.channelPr!, now, minutesFor(config))))();
106
+ const comments = await (deps.listComments ?? (() => defaultComments(config.channelPr!, now, minutesFor(config), deps.ghApi)))();
67
107
  if (!Array.isArray(comments)) throw new Error('comments response is not an array');
68
108
  const timestamps = comments
69
109
  .filter((c) => c && typeof c.body === 'string' && trackPostIds(track).some((id) => c.body.startsWith(`**[${id}]**`)))
@@ -36,6 +36,20 @@ export const DEFAULT_CDP_TIMEOUT_MS = 120_000;
36
36
  /** Short watchdog for local CDP HTTP endpoint discovery and target cleanup. */
37
37
  export const DEFAULT_CDP_ATTACH_TIMEOUT_MS = 5_000;
38
38
 
39
+ /** Resolve the per-client setting, then the process-wide override, then the safe default. */
40
+ export function resolveCdpAttachTimeoutMs(
41
+ configuredMs?: number,
42
+ env: NodeJS.ProcessEnv = process.env,
43
+ ): number {
44
+ if (configuredMs !== undefined) return configuredMs;
45
+ const raw = env.ELANOUS_CDP_ATTACH_TIMEOUT_MS?.trim();
46
+ if (raw && /^\d+$/.test(raw)) {
47
+ const value = Number(raw);
48
+ if (Number.isSafeInteger(value) && value > 0) return value;
49
+ }
50
+ return DEFAULT_CDP_ATTACH_TIMEOUT_MS;
51
+ }
52
+
39
53
  export type CdpEndpoint = number | string;
40
54
 
41
55
  function cdpEndpointUrl(endpoint: CdpEndpoint, path: string): string {
@@ -243,7 +257,7 @@ export async function resolveDebuggerUrl(
243
257
  const retries = opts.retries ?? 10;
244
258
  const interval = opts.intervalMs ?? 200;
245
259
  const fetchImpl = opts.fetchImpl ?? fetch;
246
- const attachTimeoutMs = opts.attachTimeoutMs ?? DEFAULT_CDP_ATTACH_TIMEOUT_MS;
260
+ const attachTimeoutMs = resolveCdpAttachTimeoutMs(opts.attachTimeoutMs);
247
261
  const startedAt = Date.now();
248
262
  let lastErr: unknown = null;
249
263
  let attempts = 0;
@@ -544,7 +558,7 @@ export async function createPageTarget(
544
558
  const url = opts.url ?? 'about:blank';
545
559
  const retries = opts.retries ?? 3;
546
560
  const interval = opts.intervalMs ?? 150;
547
- const attachTimeoutMs = opts.attachTimeoutMs ?? DEFAULT_CDP_ATTACH_TIMEOUT_MS;
561
+ const attachTimeoutMs = resolveCdpAttachTimeoutMs(opts.attachTimeoutMs);
548
562
  let lastErr: unknown = null;
549
563
  for (let i = 0; i < retries; i++) {
550
564
  try {
@@ -585,7 +599,7 @@ export async function createCdpClientFromEndpoint(
585
599
  } = {},
586
600
  ): Promise<CdpClient> {
587
601
  const create = deps.createTransport ?? createCdpTransport;
588
- const attachTimeoutMs = deps.attachTimeoutMs ?? DEFAULT_CDP_ATTACH_TIMEOUT_MS;
602
+ const attachTimeoutMs = resolveCdpAttachTimeoutMs(deps.attachTimeoutMs);
589
603
  const resolvePage = deps.resolvePage ?? ((targetEndpoint: CdpEndpoint) => createPageTarget(targetEndpoint, {
590
604
  ...(deps.fetchImpl ? { fetchImpl: deps.fetchImpl } : {}),
591
605
  attachTimeoutMs,
@@ -1,5 +1,6 @@
1
1
  import type { Command } from 'commander';
2
2
  import * as ui from '../ui.js';
3
+ import { discoverCloudResources } from '../fleet/cloud-resource-discovery.js';
3
4
  import { writeStdoutJson } from './stdout-json.js';
4
5
 
5
6
  export function registerFleetCommands(program: Command): void {
@@ -33,10 +34,16 @@ export function registerFleetCommands(program: Command): void {
33
34
  .option('--cost', '오늘 추정 비용과 누적 등록 비용을 출력한다')
34
35
  .option('--json', '구조화된 자원·경보를 출력한다')
35
36
  .action(async (opts: { cost?: boolean; json?: boolean }) => {
37
+ const discovery = await discoverCloudResources();
36
38
  const { inspectInventory } = await import('../fleet/resource-inventory.js');
37
- const snapshot = inspectInventory();
38
- if (opts.json) { await writeStdoutJson(JSON.stringify({ ...snapshot, ...(opts.cost ? { cost: { today: snapshot.estimatedCostToday, cumulative: snapshot.estimatedCumulativeCost } } : {}) }, null, 2) + '\n'); return; }
39
+ const snapshot = inspectInventory(undefined, discovery.resources);
40
+ if (opts.json) {
41
+ await writeStdoutJson(JSON.stringify({ ...snapshot, discovery: discovery.providers,
42
+ ...(opts.cost ? { cost: { today: snapshot.estimatedCostToday, cumulative: snapshot.estimatedCumulativeCost } } : {}) }, null, 2) + '\n');
43
+ return;
44
+ }
39
45
  ui.header('Fleet resources (' + snapshot.resources.length + ' registered · ' + snapshot.alerts.length + ' alerts)');
46
+ for (const provider of discovery.providers) ui.info(`${provider.provider}: ${provider.status} · ${provider.resources} running`);
40
47
  for (const row of snapshot.resources) {
41
48
  const attrs = row.attrs;
42
49
  console.log('- ' + row.name + ' · ' + String(attrs.provider) + ' · ' + String(attrs.role) + ' · owner=' + String(attrs.ownerSeat) + ' · purpose=' + String(attrs.purpose || '(없음)') + (row.expired ? ' · EXPIRED' : ''));
@@ -14,17 +14,21 @@ export function registerIntakeSourceCommands(intake: Command, root: () => string
14
14
  const fail = (error: unknown) => { console.error(error instanceof Error ? error.message : String(error)); process.exitCode = 2; };
15
15
  source.command('add')
16
16
  .requiredOption('--seat <id>', '자리 id 또는 별칭')
17
- .requiredOption('--kind <kind>', 'github-query | rss | command | topic-search')
17
+ .requiredOption('--kind <kind>', 'github-query | rss | command | topic-search | markdown')
18
18
  .requiredOption('--spec <spec>', 'GitHub 질의 · 피드 URL · 명령')
19
19
  .requiredOption('--every <cadence>', 'Nh | Nd | Nw')
20
20
  .option('--until <date>', '만료 시작 날짜 YYYY-MM-DD (UTC)')
21
21
  .option('--why <reason>', '등록 이유')
22
22
  .option('--id <id>', '원천 id')
23
- .option('--linear-issue-id <uuid>', 'topic-search parent Linear issue UUID')
23
+ .option('--linear-issue-id <uuid>', 'topic-search/markdown parent Linear issue UUID')
24
+ .option('--briefing-topic <label>', 'issue briefing display label')
24
25
  .option('--schedule-cron <expression>', 'topic-search schedule registry cron (e.g. 0 8 * * 1)')
25
- .option('--telegram-dry-run-file <path>', 'Telegram 브리핑 본문을 이 파일에 기록하고 실제 발송은 하지 않음 (topic-search)')
26
- .action(async (opts: { seat: string; kind: string; spec: string; every: string; until?: string; why?: string; id?: string; linearIssueId?: string; scheduleCron?: string; telegramDryRunFile?: string }) => {
26
+ .option('--telegram-dry-run-file <path>', 'topic-search 즉시 투영 본문을 이 파일에 기록하고 실제 발송은 하지 않음')
27
+ .action(async (opts: { seat: string; kind: string; spec: string; every: string; until?: string; why?: string; id?: string; linearIssueId?: string; briefingTopic?: string; scheduleCron?: string; telegramDryRunFile?: string }) => {
27
28
  try {
29
+ if (opts.telegramDryRunFile && opts.kind !== 'topic-search') {
30
+ throw new Error('--telegram-dry-run-file 은 topic-search add 에서만 사용한다; markdown 은 run-due 때 지정한다');
31
+ }
28
32
  if (opts.kind === 'topic-search') {
29
33
  if (!opts.linearIssueId || !opts.scheduleCron) throw new Error('topic-search 는 --linear-issue-id 와 --schedule-cron 이 필요하다');
30
34
  const telegramDryRunFile = opts.telegramDryRunFile ? resolve(opts.telegramDryRunFile) : undefined;
@@ -40,6 +44,7 @@ export function registerIntakeSourceCommands(intake: Command, root: () => string
40
44
  const added = addSource({ id: opts.id ?? `src-${randomUUID().slice(0, 8)}`, seat: opts.seat, kind: opts.kind as SourceKind,
41
45
  spec: opts.spec, every: opts.every, ...(opts.until ? { until: opts.until } : {}), ...(opts.why ? { why: opts.why } : {}),
42
46
  ...(opts.linearIssueId ? { linearIssueId: opts.linearIssueId } : {}),
47
+ ...(opts.briefingTopic ? { briefingTopic: opts.briefingTopic } : {}),
43
48
  ...(opts.scheduleCron ? { scheduleCron: opts.scheduleCron } : {}) }, root());
44
49
  console.log(`${added.id} ${added.seat} ${added.kind} ${added.every}`);
45
50
  } catch (error) { fail(error); }
@@ -25,7 +25,7 @@ import { createHash } from 'node:crypto';
25
25
  import { chmodSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, symlinkSync, writeFileSync } from 'node:fs';
26
26
  import { tmpdir } from 'node:os';
27
27
  import { dirname, isAbsolute, join, relative, resolve, sep } from 'node:path';
28
- import type { Command } from 'commander';
28
+ import { Option, type Command } from 'commander';
29
29
  import { debug } from '../debug/log.js';
30
30
  import { effectiveInstanceRoot, releaseLedgerRoot } from '../instance/resolve.js';
31
31
  import { getElanousConfigDirOverride } from '../elanous-config-dir.js';
@@ -71,6 +71,11 @@ export const DEFAULT_PUBLIC_REPO = 'ElanvitalAI/elanous';
71
71
  export interface RunResult { status: number | null; stdout: string; stderr: string }
72
72
  export type Runner = (command: string, args: readonly string[], cwd: string, opts?: { env?: NodeJS.ProcessEnv; input?: string }) => RunResult;
73
73
 
74
+ /** Installers require explicit consent even in isolated local release verification. */
75
+ export function runReleaseInstaller(script: string, cwd: string, env: NodeJS.ProcessEnv, run: Runner): RunResult {
76
+ return run('bash', ['-s', '--', '--yes', '--no-modify-path'], cwd, { env, input: script });
77
+ }
78
+
74
79
  export const defaultRunner: Runner = (command, args, cwd, opts = {}) => {
75
80
  const r = spawnSync(command, [...args], { cwd, encoding: 'utf8', env: opts.env ?? process.env, input: opts.input, maxBuffer: 256 * 1024 * 1024 });
76
81
  return { status: r.status, stdout: r.stdout ?? '', stderr: r.error ? String(r.error) : (r.stderr ?? '') };
@@ -203,7 +208,7 @@ export async function prepareRelease(opts: PrepareOptions, run: Runner = default
203
208
  const prefix = join(out, 'e2e-prefix');
204
209
  mkdirSync(home);
205
210
  const env = { ...process.env, HOME: home, ELANOUS_INSTALL_PREFIX: prefix, ELANOUS_RELEASE_BASE: `file://${join(out, 'e2e-release')}`, ELANOUS_INSTALL_SOURCE: '', ELANOUS_VERSION: '', SHELL: '/bin/zsh' };
206
- const install = run('bash', ['-s', '--', '--no-modify-path'], home, { env, input: readFileSync(join(distDir, 'install.sh'), 'utf8') });
211
+ const install = runReleaseInstaller(readFileSync(join(distDir, 'install.sh'), 'utf8'), home, env, run);
207
212
  const version = run(join(prefix, 'bin', 'elanous'), ['--version'], home, { env });
208
213
  const versionLine = version.stdout.trim();
209
214
  const ok = install.status === 0 && versionLine.startsWith(`${opts.version} ${publicCommit}`);
@@ -467,7 +472,7 @@ export async function verifyRelease(opts: { version?: string; publicRepo?: strin
467
472
  const inherited = Object.fromEntries(Object.entries(process.env).filter(([key]) => !key.startsWith('ELANOUS_') && !key.startsWith('XDG_')));
468
473
  const env = envLiteral({ ...inherited, HOME: home, ELANOUS_INSTALL_PREFIX: prefix, ELANOUS_INSTALL_SOURCE: '', ELANOUS_VERSION: opts.version ?? '', SHELL: '/bin/zsh' });
469
474
  const script = must(run('curl', ['-fsSL', installerUrl], home), `설치기 받기 ${installerUrl}`);
470
- const install = run('bash', ['-s', '--', '--no-modify-path'], home, { env, input: script });
475
+ const install = runReleaseInstaller(script, home, env, run);
471
476
  const versionLine = run(join(prefix, 'bin', 'elanous'), ['--version'], home, { env }).stdout.trim();
472
477
  const state = stateRoundTrip(join(prefix, 'bin', 'elanous'), home, env, run, startedAtMs);
473
478
  const update = run(join(prefix, 'bin', 'elanous'), ['self-update', '--json'], home, { env });
@@ -1309,14 +1314,15 @@ export function registerReleaseCommands(program: Command, releaseRunDeps: Unatte
1309
1314
  .option('--shard-concurrency <n>', '동시에 실행할 조각 묶음 수 (1–4, 기본 3)')
1310
1315
  .option('--fixed-shard-distribution', 'self gate 에 그대로 전달 — RSS 사전 측정 없이 --shards N 조각에 정렬 라운드로빈 고정 배정(opt-in · 원격 자식 전달)')
1311
1316
  .option('--rehearsal-tui', '리허설 전용 TUI 화면 점검(원격 자식 전달)')
1317
+ .addOption(new Option('--legacy-self-gate').hideHelp())
1312
1318
  .option('--json', '결과 한 줄 JSON(stdout) · 사람 줄은 stderr')
1313
- .action(async (o: { version: string; base?: string; head?: string; remote?: string; local?: boolean; shards: string; shardConcurrency?: string; fixedShardDistribution?: boolean; rehearsalTui?: boolean; json?: boolean }) => {
1319
+ .action(async (o: { version: string; base?: string; head?: string; remote?: string; local?: boolean; shards: string; shardConcurrency?: string; fixedShardDistribution?: boolean; rehearsalTui?: boolean; legacySelfGate?: boolean; json?: boolean }) => {
1314
1320
  // The root strips `--local` from argv (remote-bookmark attach) before Commander sees it — same read as `self gate`.
1315
1321
  const local = !!o.local || process.argv.slice(2).includes('--local');
1316
1322
  await jsonAction(o.json, async (log) => {
1317
1323
  if (o.remote !== undefined && local) throw new Error('release light-rc: --remote and --local cannot be combined');
1318
1324
  const shards = Number(o.shards);
1319
- const result = await runLightRc(o.version, { base: o.base, head: o.head, remote: o.remote, local, shards, ...(o.shardConcurrency !== undefined ? { shardConcurrency: Number(o.shardConcurrency) } : {}), ...(o.fixedShardDistribution ? { fixedShardDistribution: true } : {}), rehearsalTui: o.rehearsalTui, ledgerRoot: releaseRunDeps.ledgerRoot, log: (l) => console.error(l) }, lightRcDeps);
1325
+ const result = await runLightRc(o.version, { base: o.base, head: o.head, remote: o.remote, local, shards, ...(o.shardConcurrency !== undefined ? { shardConcurrency: Number(o.shardConcurrency) } : {}), ...(o.fixedShardDistribution ? { fixedShardDistribution: true } : {}), rehearsalTui: o.rehearsalTui, legacySelfGate: o.legacySelfGate, ledgerRoot: releaseRunDeps.ledgerRoot, log: (l) => console.error(l) }, lightRcDeps);
1320
1326
  for (const line of formatLightRc(result)) log(line);
1321
1327
  return result;
1322
1328
  }, (r) => r.ok);