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
@@ -288,6 +288,7 @@ export function createSidetabAttachmentController(deps: {
288
288
  remoteHost = row.remoteHost ?? null;
289
289
  const host = remoteHost;
290
290
  const id = row.ptyId;
291
+ deps.logEvent?.('sidetab.remote', 'attach-request', { ptyId: id, host });
291
292
  const token = ++remoteAttachmentToken;
292
293
  const isCurrentAttachment = (): boolean => remotePtyId === id && remoteHost === host && remoteAttachmentToken === token;
293
294
  const refresh = async (): Promise<void> => {
@@ -14,7 +14,8 @@ type PreviewSidetabRow = SidetabRow & { readonly previewSource?: string };
14
14
  /** Attach the latest manifest snapshot without changing the shared row contract. */
15
15
  export function loadSidetabRows(all = false, currentSessionId?: string, scopeOverrides?: Partial<SidetabScope>): SidetabRow[] {
16
16
  const snapshots = new Map<string, string>(listPtyManifestRows().map((row) => [row.id, row.snapshot || row.frame] as const));
17
- return loadCoreSidetabRows(all, currentSessionId, scopeOverrides).map((row) => ({
17
+ const rows = loadCoreSidetabRows(all, currentSessionId, scopeOverrides);
18
+ return rows.map((row) => ({
18
19
  ...row,
19
20
  previewSource: snapshots.get(row.id) ?? '',
20
21
  }));
package/src/tui.ts CHANGED
@@ -445,7 +445,27 @@ let _cancelReadKey: (() => void) | undefined;
445
445
  /** TUI-SIGTTIN-SUSPEND — stops the tty-foreground guard (src/tty-foreground.ts). */
446
446
  let _stopForegroundGuard: (() => void) | undefined;
447
447
 
448
+ /**
449
+ * TUI-CONSOLE-ERROR-LEAK (0.3.3 · 11-04 대표 라이브 실물) — 화면을 TUI 가 쥔 동안 console.error·warn 이
450
+ * 그대로 터미널에 쓰여 하단이 깨졌다([outbound] 폴백·Codex 회전 알림). 그 구간에는 로그로만 보내고 cleanup 에서 원복한다.
451
+ */
452
+ let _restoreConsole: (() => void) | undefined;
453
+ export function muteConsoleWhileTui(target: Pick<Console, 'error' | 'warn'> = console): () => void {
454
+ const origError = target.error;
455
+ const origWarn = target.warn;
456
+ const route = (kind: 'error' | 'warn') => (...args: unknown[]): void => {
457
+ try {
458
+ debug.log('tui.console', kind, { text: args.map(a => (a instanceof Error ? a.message : String(a))).join(' ').slice(0, 2000) });
459
+ } catch { /* 로그 실패가 화면을 깨지 않는다 */ }
460
+ };
461
+ target.error = route('error') as typeof console.error;
462
+ target.warn = route('warn') as typeof console.warn;
463
+ return () => { target.error = origError; target.warn = origWarn; };
464
+ }
465
+
448
466
  function cleanup(): void {
467
+ _restoreConsole?.();
468
+ _restoreConsole = undefined;
449
469
  _stopForegroundGuard?.();
450
470
  _stopForegroundGuard = undefined;
451
471
  resetRenderCache();
@@ -537,6 +557,7 @@ export function initTui(altScreen = true): void {
537
557
  // this is safe to turn on globally. Cleanup in `cleanup()` writes
538
558
  // the matching "off" sequences.
539
559
  process.stdout.write(ansi.mouseOn + ansi.pasteOn + ansi.kittyKbOn + ansi.modKeysOn);
560
+ _restoreConsole ??= muteConsoleWhileTui();
540
561
  if (altScreen) {
541
562
  process.stdout.write(ansi.altOn + ansi.hideCursor);
542
563
  _alt = true;
@@ -1081,6 +1102,9 @@ export interface RenderOptions {
1081
1102
  /** Absolute-positioned draw commands emitted after changed base rows.
1082
1103
  * Used for modal overlays so the whole frame flushes as one write. */
1083
1104
  overlay?: string;
1105
+ /** Modal cells are painted by `overlay`; base-row updates must leave
1106
+ * these columns resident so an uncovered frame never exposes the base. */
1107
+ preserveBounds?: { row: number; col: number; width: number; height: number };
1084
1108
  /** Drop the cached frame and repaint every row. Use after resize or
1085
1109
  * when an overlay closes and the covered rows must be restored. */
1086
1110
  force?: boolean;
@@ -1137,18 +1161,38 @@ export function render(lines: string[], opts: RenderOptions = {}): void {
1137
1161
  const { rows, cols } = termSize();
1138
1162
  const resized = rows !== _lastFrameRows || cols !== _lastFrameCols;
1139
1163
  const force = opts.force || resized || _lastFrameLines.length === 0;
1164
+ const preserveBounds = opts.preserveBounds;
1140
1165
  const maxRows = Math.max(0, rows);
1141
1166
  const lineCount = Math.min(lines.length, maxRows);
1142
1167
  const dirtyRows = Math.max(lineCount, Math.min(_lastFrameLines.length, maxRows));
1143
1168
 
1144
- let buf = force ? (ansi.hideCursor + ansi.moveTo(1, 1) + ansi.eraseDown) : ansi.hideCursor;
1169
+ // A forced dashboard repaint still keeps an active modal's cells intact:
1170
+ // its overlay is appended below in this same write. Once the modal closes,
1171
+ // preserveBounds is absent and the normal full reset restores the base.
1172
+ let buf = force && !preserveBounds
1173
+ ? (ansi.hideCursor + ansi.moveTo(1, 1) + ansi.eraseDown)
1174
+ : ansi.hideCursor;
1145
1175
  for (let i = 0; i < dirtyRows; i++) {
1146
1176
  const next = i < lineCount ? lines[i]! : '';
1147
1177
  const prev = _lastFrameLines[i] ?? '';
1148
1178
  if (force || next !== prev) {
1149
- // Clear only rows that changed. tmux shows full-screen erase/repaint
1150
- // as visible flicker, so keep unchanged rows resident.
1151
- buf += ansi.moveTo(i + 1, 1) + ansi.clearLine + next;
1179
+ const bounds = preserveBounds;
1180
+ const row = i + 1;
1181
+ if (bounds && row >= bounds.row && row < bounds.row + bounds.height) {
1182
+ const leftWidth = Math.max(0, bounds.col - 1);
1183
+ const rightStart = Math.max(0, bounds.col - 1 + bounds.width);
1184
+ const rightWidth = Math.max(0, cols - rightStart);
1185
+ const left = padAnsiToColumns(sliceAnsiByColumns(next, 0, leftWidth), leftWidth);
1186
+ const right = padAnsiToColumns(sliceAnsiByColumns(next, rightStart, rightStart + rightWidth), rightWidth);
1187
+ // Update only visible base columns. The popup overlay is appended
1188
+ // below and paints the preserved middle cells last in this frame.
1189
+ if (leftWidth > 0) buf += ansi.moveTo(row, 1) + left;
1190
+ if (rightWidth > 0) buf += ansi.moveTo(row, rightStart + 1) + right;
1191
+ } else {
1192
+ // Clear only rows that changed. tmux shows full-screen erase/repaint
1193
+ // as visible flicker, so keep unchanged rows resident.
1194
+ buf += ansi.moveTo(row, 1) + ansi.clearLine + next;
1195
+ }
1152
1196
  }
1153
1197
  }
1154
1198
  if (opts.overlay) buf += opts.overlay;
@@ -1197,6 +1241,55 @@ export function stripAnsi(s: string): string {
1197
1241
  return s.replace(/\x1b\[[0-9;]*m/g, '');
1198
1242
  }
1199
1243
 
1244
+ /** Return an ANSI SGR-preserving slice by terminal columns. Wide graphemes
1245
+ * crossing a slice edge become spaces so the neighboring overlay keeps
1246
+ * ownership of those cells. */
1247
+ export function sliceAnsiByColumns(text: string, start: number, end: number): string {
1248
+ const lo = Math.max(0, start);
1249
+ const hi = Math.max(lo, end);
1250
+ const sgr = /\x1b\[[0-9;]*m/g;
1251
+ let out = '';
1252
+ let activeSgr = '';
1253
+ let offset = 0;
1254
+ let column = 0;
1255
+ let started = false;
1256
+ let match: RegExpExecArray | null;
1257
+ const appendText = (chunk: string): void => {
1258
+ for (const grapheme of graphemeSegments(chunk)) {
1259
+ const width = Math.max(0, visibleWidth(grapheme));
1260
+ const nextColumn = column + width;
1261
+ const overlapStart = Math.max(column, lo);
1262
+ const overlapEnd = Math.min(nextColumn, hi);
1263
+ if (overlapEnd > overlapStart) {
1264
+ if (!started) {
1265
+ out += activeSgr;
1266
+ started = true;
1267
+ }
1268
+ out += overlapStart === column && overlapEnd === nextColumn
1269
+ ? grapheme
1270
+ : ' '.repeat(overlapEnd - overlapStart);
1271
+ }
1272
+ column = nextColumn;
1273
+ }
1274
+ };
1275
+ while ((match = sgr.exec(text)) !== null) {
1276
+ if (column >= hi) break;
1277
+ if (match.index > offset) appendText(text.slice(offset, match.index));
1278
+ const sequence = match[0];
1279
+ if (sequence === '\x1b[m' || sequence === '\x1b[0m') activeSgr = '';
1280
+ else activeSgr += sequence;
1281
+ if (started) out += sequence;
1282
+ offset = match.index + sequence.length;
1283
+ }
1284
+ if (column < hi && offset < text.length) appendText(text.slice(offset));
1285
+ if (started && activeSgr) out += '\x1b[0m';
1286
+ return out;
1287
+ }
1288
+
1289
+ function padAnsiToColumns(text: string, width: number): string {
1290
+ return text + ' '.repeat(Math.max(0, width - visibleWidth(text)));
1291
+ }
1292
+
1200
1293
  /**
1201
1294
  * Calculate visible terminal width of a string.
1202
1295
  * Handles ANSI codes (0 width), CJK / fullwidth chars (2 width),
@@ -27,6 +27,7 @@ import { spawnSync } from 'node:child_process';
27
27
  import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from 'node:fs';
28
28
  import { join, resolve } from 'node:path';
29
29
  import { openMsgStore } from '../msg/msg-store.js';
30
+ import { resolveInstance } from '../instance/resolve.js';
30
31
  import { SEAT_MEMORY_RECALL_MAX_CHARS, SEAT_MEMORY_RECALL_PREFIX } from '../dashboard/seat-boot-preamble.js';
31
32
  import { AUTOHEAL_MAX_ATTEMPTS } from '../self-health/autoheal.js';
32
33
  import { mockSeatPtySequence, type SeatPtySequenceEvidence, type SeatPtyStep } from './mock-seat-pty-sequence.js';
@@ -37,7 +38,7 @@ import {
37
38
  import { pasteFoldToken } from '../chat/paste-fold.js';
38
39
  import { bracketedPaste, CLIP_TEXT, GOAL_CONTINUE_PLEDGE_REPLY, GOAL_INTERIM_NOT_DONE_REPLY, GOAL_INTERIM_TOOL_CALL, goalInterimScreenCounts, INTERNAL_TURN_USER_HEADER, clipboardShimPath, PASTE_LONG, PASTE_LONG_TOKEN, PASTE_SHORT, parseData, readLogs } from './next-tui-seat-scenarios.js';
39
40
 
40
- export const CLASSIC_TUI_SCENARIOS = ['classic-400-heal', 'classic-400-exhausted', 'classic-seat-boot', 'classic-typing-lag', 'classic-mcp-calltool', 'classic-wakeup', 'classic-goal-continue', 'classic-goal-interim', 'classic-paste', 'classic-orphan-autostop'] as const;
41
+ export const CLASSIC_TUI_SCENARIOS = ['classic-first-screen-noise', 'classic-400-heal', 'classic-400-exhausted', 'classic-seat-boot', 'classic-typing-lag', 'classic-mcp-calltool', 'classic-wakeup', 'classic-goal-continue', 'classic-goal-interim', 'classic-paste', 'classic-orphan-autostop'] as const;
41
42
  export type ClassicTuiScenario = (typeof CLASSIC_TUI_SCENARIOS)[number];
42
43
 
43
44
  export interface ClassicTuiScenarioSpec {
@@ -115,7 +116,7 @@ const AUTOHEAL_CAP = AUTOHEAL_MAX_ATTEMPTS;
115
116
 
116
117
  type Row = { category?: string; event?: string; data?: unknown };
117
118
 
118
- const classicReady = (s: string) => s.includes('elanous | daemon') && s.includes('실행 ') && s.includes('❯');
119
+ const classicReady = (s: string) => (s.includes('elanous | daemon') || s.includes('Opening web setup…') || s.includes('웹 화면을 여는 중…')) && s.includes('실행 ') && s.includes('❯');
119
120
  const turnDone = (s: string) => /✔ 완료|✘ 실패/.test(s);
120
121
 
121
122
  type CapturedRequest = { messages: Array<{ role: string; content: string | null }> };
@@ -141,7 +142,9 @@ function onlyFake(rows: Row[]): boolean {
141
142
  export async function runClassicTuiScenario(spec: ClassicTuiScenarioSpec): Promise<ClassicTuiScenarioResult> {
142
143
  const root = resolve(spec.root);
143
144
  mkdirSync(root, { recursive: true });
144
- writeFileSync(join(root, 'config.json'), JSON.stringify({ onboarding: { completed: true }, errorReports: { enabled: false } }));
145
+ if (spec.scenario !== 'classic-first-screen-noise') {
146
+ writeFileSync(join(root, 'config.json'), JSON.stringify({ onboarding: { completed: true }, errorReports: { enabled: false } }));
147
+ }
145
148
  const env: Record<string, string> = {
146
149
  ELANOUS_SESSION_ROOT: join(root, 'sessions'),
147
150
  [TEST_FAKE_LLM_ENV]: '1',
@@ -155,7 +158,9 @@ export async function runClassicTuiScenario(spec: ClassicTuiScenarioSpec): Promi
155
158
  rows: 30,
156
159
  cols: 100,
157
160
  ...(spec.expectedBinarySha256 ? { expectedBinarySha256: spec.expectedBinarySha256 } : {}),
158
- ready: { label: 'boot', until: classicReady, timeoutMs: 90_000 },
161
+ ready: spec.scenario === 'classic-first-screen-noise'
162
+ ? { label: 'first-run provider chooser', until: (screen: string) => screen.includes('처음 실행 LLM 설정') && screen.includes('선택:'), timeoutMs: 90_000 }
163
+ : { label: 'boot', until: classicReady, timeoutMs: 90_000 },
159
164
  // Ctrl+C tears down slower than the device's default window; `/exit` is the clean path.
160
165
  quitKeys: '/exit\r',
161
166
  exitTimeoutMs: 20_000,
@@ -166,6 +171,51 @@ export async function runClassicTuiScenario(spec: ClassicTuiScenarioSpec): Promi
166
171
  return { scenario: spec.scenario, universe: root, run, store, logs, checks: checks(rowsOf(logs)) };
167
172
  };
168
173
 
174
+ if (spec.scenario === 'classic-first-screen-noise') {
175
+ const run = await mockSeatPtySequence({
176
+ ...base,
177
+ env,
178
+ steps: [{ label: 'enter skips first-run provider setup', keys: '\r', until: (screen) => screen.includes('Try typing:') && screen.includes('❯') }],
179
+ });
180
+ const initial = run.frames[0]?.screen ?? '';
181
+ const afterSkip = run.frames.at(-1)?.screen ?? '';
182
+ const debugPath = join(root, '.elanous', 'debug');
183
+ const readDebugRows = (): Row[] => {
184
+ const lines = existsSync(debugPath)
185
+ ? readdirSync(debugPath).filter((name) => name.endsWith('.log'))
186
+ .flatMap((name) => readFileSync(join(debugPath, name), 'utf8').split('\n').filter(Boolean))
187
+ : [];
188
+ return lines.flatMap((line) => { try { return [JSON.parse(line) as Row]; } catch { return []; } });
189
+ };
190
+ const tuiDebugRows = readDebugRows();
191
+ const tuiDoctorStarts = tuiDebugRows.filter((row) => row.category === 'doctor.first-run' && row.event === 'started').length;
192
+ // Positive control invokes the exact CLI entry and executable under test. Its test-only route calls
193
+ // this package's production Doctor implementation with inert filesystem/install edges.
194
+ const doctorInstance = resolveInstance({ explicitFlagRoot: root, prodRoot: join(root, '.elanous') });
195
+ const doctorEnv: NodeJS.ProcessEnv = {
196
+ HOME: root, ELANOUS_STATE_DIR: root, ELANOUS_SESSION_ROOT: join(root, 'sessions'),
197
+ ELANOUS_STATE_DIR_SOURCE: doctorInstance.layer === 'default' ? 'derived' : 'explicit',
198
+ PATH: join(root, 'bin'), NODE_ENV: 'test', ELANOUS_TEST_FIRSTRUN_DOCTOR_PROBE: '1',
199
+ };
200
+ const doctorControl = spawnSync(spec.executable, [
201
+ spec.entry, '--config-dir', root, '--test-state-dir', root, '__test-first-run-doctor-control',
202
+ ], { cwd: root, env: doctorEnv, encoding: 'utf8', timeout: 15_000 });
203
+ const afterControlRows = readDebugRows();
204
+ const afterDoctorStarts = afterControlRows.filter((row) => row.category === 'doctor.first-run' && row.event === 'started').length;
205
+ return finish(run, { initial, afterSkip, testedEntry: resolve(spec.entry), doctorControlStatus: doctorControl.status, tuiDebugRows: tuiDebugRows.length }, () => ({
206
+ initialScreenCaptured: initial.length > 0,
207
+ promptBankInternalLineHidden: !initial.includes('[prompt-bank]') && !afterSkip.includes('[prompt-bank]'),
208
+ daemonSetupCommandHidden: !initial.includes('--test') && !afterSkip.includes('--test')
209
+ && !initial.includes('--hmr') && !afterSkip.includes('--hmr') && !afterSkip.includes('nexus run'),
210
+ humanWebSetupMessage: initial.includes('웹 화면을 여는 중…') || afterSkip.includes('웹 화면을 여는 중…')
211
+ || initial.includes('Opening web setup…') || afterSkip.includes('Opening web setup…'),
212
+ enterSkipReachedChat: afterSkip.includes('Try typing:') && afterSkip.includes('❯'),
213
+ firstRunDoctorNotInvoked: tuiDebugRows.length > 0 && tuiDoctorStarts === 0,
214
+ doctorStartPositiveControl: doctorControl.status === 0 && afterDoctorStarts === tuiDoctorStarts + 1,
215
+ exitedClean: run.exitCode === 0,
216
+ }));
217
+ }
218
+
169
219
  if (spec.scenario === 'classic-400-heal' || spec.scenario === 'classic-400-exhausted') {
170
220
  const heal = spec.scenario === 'classic-400-heal';
171
221
  // The fake throws the real «No tool call found for function call output» 400 shape per script cell.
@@ -985,7 +985,7 @@
985
985
  "src/ux-sim/classic-tui-seat-scenarios.test.ts",
986
986
  "src/ux-sim/next-tui-seat-scenarios.test.ts"
987
987
  ],
988
- "target": "first-run, authoring, scripted TUI flows, and persisted same-build seminar freeze state",
988
+ "target": "first-run, authoring, scripted TUI flows, persisted same-build seminar freeze state, and first-screen noise regression through a real isolated PTY",
989
989
  "inputs": [
990
990
  "mock author response",
991
991
  "scenario steps",
@@ -993,7 +993,8 @@
993
993
  "build identifier",
994
994
  "three consecutive rehearsal verdicts",
995
995
  "owner approval receipt",
996
- "private simulation world"
996
+ "private simulation world",
997
+ "first-run Enter skip"
997
998
  ],
998
999
  "observations": [
999
1000
  "step result",
@@ -1002,7 +1003,11 @@
1002
1003
  "persisted same-build pass count",
1003
1004
  "frozen state after the third pass",
1004
1005
  "changed build rejected before rehearsal without owner approval",
1005
- "approved build transition and owner receipt"
1006
+ "approved build transition and owner receipt",
1007
+ "internal prompt-bank event absent from the screen",
1008
+ "daemon setup command absent from the screen",
1009
+ "human web setup guidance visible",
1010
+ "Doctor start event absent after Enter skip"
1006
1011
  ],
1007
1012
  "entryCommands": [
1008
1013
  "bun test src/ux-sim/mock-authoring-first-run.test.ts src/ux-sim/seminar-rehearsal.test.ts src/ux-sim/classic-tui-seat-scenarios.test.ts src/ux-sim/next-tui-seat-scenarios.test.ts"
@@ -1,5 +1,5 @@
1
- import { mkdirSync, readFileSync, writeFileSync } from 'node:fs';
2
- import { join } from 'node:path';
1
+ import { mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
2
+ import { dirname, join } from 'node:path';
3
3
  import { parse as parseYaml } from 'yaml';
4
4
  import { getTestStateRoot } from '../nexus/paths.js';
5
5
  import { resetEffectiveInstanceRoot } from '../instance/resolve.js';
@@ -8,16 +8,20 @@ import { execFileSync } from 'node:child_process';
8
8
  import { listGraphRuns, runGraph, type GraphRunState } from '../graph-runner/runner.js';
9
9
  import { releaseResumeWaiver } from '../../scripts/release-loop/resume.js';
10
10
  import { runKnownIssues } from '../../scripts/release-loop/known-issues-node.js';
11
- import { graphGateResult, type GateResult } from '../../scripts/release-loop/gate-node.js';
11
+ import { graphGateResult, judgeGate, type GateResult, type GateRunner } from '../../scripts/release-loop/gate-node.js';
12
12
  import { runNpmPublish } from '../../scripts/release-loop/npm-publish-node.js';
13
13
  import { runPublish } from '../../scripts/release-loop/publish-node.js';
14
14
  import { resumeReleaseRun } from '../../scripts/release-loop/resume-release.js';
15
15
  import { runAutoApprove } from '../../scripts/release-loop/auto-approve-node.js';
16
16
  import { runVerify } from '../../scripts/release-loop/verify-node.js';
17
17
  import { resolveScenarioFilePath } from './scenario.js';
18
+ import { planGateReceiptRadius, reduceGateShardReceipts, type GateShardIdentity, type GateShardReceipt } from '../../scripts/release-loop/gate-shard-dispatch.js';
19
+ import { inspectGateShardReceipts, type GateShardReceiptInspection } from '../../scripts/release-loop/gate-shard-receipts.js';
20
+ import { gateEnvFingerprint, gateSourcePins } from '../../scripts/release-loop/gate-baseline-receipt.js';
18
21
 
19
22
  const REPOSITORY_ROOT = join(import.meta.dir, '../..');
20
23
  const RELEASE_GRAPH = join(REPOSITORY_ROOT, 'graphs/release/release-loop.yaml');
24
+ const RECEIPT_SIM_NODE_IDS = ['cut', 'gate-cut', 'append-a', 'resume-a', 'gate-a', 'append-b', 'resume-b', 'gate-b', 'publish', 'done', 'failed'];
21
25
  let cachedCutTip: string | undefined;
22
26
  function cutTip(): string {
23
27
  // The sim command is registered for root help. Resolve Git only when a
@@ -29,12 +33,241 @@ function cutTip(): string {
29
33
 
30
34
  export interface ReleaseSimRigCase {
31
35
  id: string;
32
- mode?: 'baseline' | 'cut-tip-moved-after-resume' | 'gate-waive-introduced-regression' | 'owner-waive-missing-schema' | 'owner-waive-0246-fixture';
36
+ mode?: 'baseline' | 'cut-tip-moved-after-resume' | 'gate-waive-introduced-regression' | 'owner-waive-missing-schema' | 'owner-waive-0246-fixture' | 'append-receipt-continuity';
33
37
  fault?: { node: string; outcome: 'fail' | 'error' | 'timeout'; evidence?: Record<string, unknown> };
34
38
  nodeOutcomes?: Record<string, { outcome: 'ok' | 'fail' | 'error'; delayMs?: number }>;
35
39
  expect: { status: 'done' | 'failed' | 'resume-refused'; mustVisit: string[]; mustNotVisit: string[]; overlap?: [string, string]; refusalIncludes?: string };
36
40
  }
37
41
 
42
+ export interface ReleaseSimGateReceiptStage {
43
+ name: string;
44
+ commit: string;
45
+ selectedFiles: string[];
46
+ plan: { carriedShardIds: string[]; rerunShardIds: string[]; fullSweep: boolean };
47
+ receiptIds: string[];
48
+ aggregate: 'complete' | 'unmeasured';
49
+ formalReceiptDecision?: { kind: 'absent'; reason: 'formal-receipt-set-absent' };
50
+ formalGateRun?: { outcome: 'ok' | 'regression' | 'error'; formalReceiptDecision?: string; cutSweepCount: number; fullSweep: boolean; baselineVersion?: string };
51
+ gateOutcome: 'pass' | 'fail' | 'unmeasured';
52
+ publishDecision: 'eligible' | 'blocked';
53
+ }
54
+
55
+ /** Production receipt-radius planner seam. The optional final hook is reserved for p13's gate fault helper. */
56
+ export function runReleaseSimGateReceiptSeam(input: {
57
+ tests: string[];
58
+ receipts: readonly GateShardReceipt[];
59
+ priorCommit: string;
60
+ commit: string;
61
+ selectedFiles: string[];
62
+ stage: string;
63
+ formalReceiptInspection?: GateShardReceiptInspection;
64
+ formalGateRun?: ReleaseSimGateReceiptStage['formalGateRun'];
65
+ }, finalInjection?: (stage: ReleaseSimGateReceiptStage) => Pick<Partial<ReleaseSimGateReceiptStage>, 'gateOutcome'>): ReleaseSimGateReceiptStage {
66
+ const radius = planGateReceiptRadius({ receipts: input.receipts, tests: input.tests,
67
+ selectedFiles: input.selectedFiles, priorCommit: input.priorCommit });
68
+ const fullSweep = radius === null;
69
+ const carriedShardIds = fullSweep ? [] : radius.unchangedShardIds;
70
+ const rerunShardIds = fullSweep ? input.tests.map((_, index) => `pod-${index}`) : radius.invalidatedShardIds;
71
+ const shards: GateShardIdentity[] = input.tests.map((file, index) => ({ id: `pod-${index}`, files: [file] }));
72
+ const previousById = new Map(input.receipts.map((receipt) => [receipt.id, receipt]));
73
+ const nextReceipts = [
74
+ ...carriedShardIds.map((id) => {
75
+ const previous = previousById.get(id);
76
+ return previous ? { ...previous, head40: input.commit } : null;
77
+ }),
78
+ ...rerunShardIds.map((id) => {
79
+ const index = Number(id.slice(4));
80
+ const file = input.tests[index];
81
+ return file ? simulatedReceipt(id, file, input.commit) : null;
82
+ }),
83
+ ].filter((receipt): receipt is GateShardReceipt => receipt !== null);
84
+ const reduction = reduceGateShardReceipts({ head40: input.commit, base40: SIM_BASE_COMMIT, shards, receipts: nextReceipts });
85
+ const aggregate: ReleaseSimGateReceiptStage['aggregate'] = reduction.status;
86
+ const measuredOutcome: ReleaseSimGateReceiptStage['gateOutcome'] = reduction.status !== 'complete' ? 'unmeasured'
87
+ : reduction.failureIds.length || reduction.errorIds.length ? 'fail' : 'pass';
88
+ const formalGateOutcome: ReleaseSimGateReceiptStage['gateOutcome'] = input.formalGateRun?.outcome === 'regression' ? 'fail'
89
+ : input.formalGateRun?.outcome === 'error' ? 'unmeasured'
90
+ : !input.formalReceiptInspection ? 'pass'
91
+ : !input.formalGateRun ? 'unmeasured'
92
+ : input.formalReceiptInspection.kind === 'invalid'
93
+ || (input.formalReceiptInspection.kind === 'absent' && input.formalGateRun.formalReceiptDecision !== 'formal-receipt-set-absent')
94
+ || (input.formalReceiptInspection.kind === 'valid' && input.formalGateRun.formalReceiptDecision === 'formal-receipt-set-absent')
95
+ ? 'fail' : 'pass';
96
+ const combinedGateOutcome: ReleaseSimGateReceiptStage['gateOutcome'] = measuredOutcome === 'fail' || formalGateOutcome === 'fail' ? 'fail'
97
+ : measuredOutcome === 'unmeasured' || formalGateOutcome === 'unmeasured' ? 'unmeasured' : 'pass';
98
+ const planned: ReleaseSimGateReceiptStage = { name: input.stage, commit: input.commit,
99
+ selectedFiles: [...input.selectedFiles], plan: { carriedShardIds, rerunShardIds, fullSweep },
100
+ receiptIds: reduction.status === 'complete' ? reduction.receipts.map((receipt) => receipt.id) : [],
101
+ ...(input.formalGateRun ? { formalGateRun: input.formalGateRun } : {}),
102
+ ...(input.formalGateRun?.formalReceiptDecision === 'formal-receipt-set-absent'
103
+ ? { formalReceiptDecision: { kind: 'absent' as const, reason: input.formalGateRun.formalReceiptDecision } } : {}),
104
+ aggregate, gateOutcome: combinedGateOutcome, publishDecision: combinedGateOutcome === 'pass' ? 'eligible' : 'blocked' };
105
+ const injected = finalInjection?.(planned);
106
+ const gateOutcome = injected?.gateOutcome ?? planned.gateOutcome;
107
+ return { ...planned, ...injected, gateOutcome, publishDecision: gateOutcome === 'pass' ? 'eligible' : 'blocked' };
108
+ }
109
+
110
+ async function runProductionMissingReceiptGate(root: string, tests: string[], version: string, previousVersion: string): Promise<ReleaseSimGateReceiptStage['formalGateRun']> {
111
+ const repo = join(root, 'release-gate-fixture');
112
+ const instanceRoot = join(root, 'release-gate-instance');
113
+ const ledgerRoot = join(root, 'release-gate-ledger');
114
+ for (const path of [repo, instanceRoot, ledgerRoot]) rmSync(path, { recursive: true, force: true });
115
+ mkdirSync(join(repo, 'apps/pwa'), { recursive: true });
116
+ mkdirSync(join(repo, 'docker/harness'), { recursive: true });
117
+ mkdirSync(join(repo, 'graphs/release'), { recursive: true });
118
+ writeFileSync(join(repo, 'package.json'), JSON.stringify({ name: 'release-gate-sim', version }) + '\n');
119
+ writeFileSync(join(repo, 'bun.lock'), 'lockfileVersion = 1\n');
120
+ writeFileSync(join(repo, 'apps/pwa/package.json'), JSON.stringify({ name: 'release-gate-sim-pwa', version }) + '\n');
121
+ writeFileSync(join(repo, 'apps/pwa/bun.lock'), 'lockfileVersion = 1\n');
122
+ writeFileSync(join(repo, 'docker/harness/Dockerfile'), 'FROM ubuntu:24.04\n');
123
+ writeFileSync(join(repo, 'graphs/release/release-loop.yaml'), " - { node_id: gate, kind: gate, recipe: 'cmd:gate', max_visits: 1 }\n");
124
+ writeFileSync(join(repo, 'graphs/release/recipes.yaml'), "gate:\n command: 'bun scripts/release-loop/gate-node.ts --json'\n timeout_ms: 14400000\n");
125
+ for (const file of tests) {
126
+ const path = join(repo, file);
127
+ mkdirSync(dirname(path), { recursive: true });
128
+ writeFileSync(path, 'import { expect, test } from \'bun:test\'; test(\'simulated shard\', () => expect(true).toBe(true));\n');
129
+ }
130
+ const git = (...args: string[]) => execFileSync('git', args, { cwd: repo, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] }).trim();
131
+ git('init', '-q'); git('config', 'user.name', 'Release sim'); git('config', 'user.email', 'release-sim@example.invalid');
132
+ git('add', '.'); git('commit', '-qm', 'release simulation baseline');
133
+ const base = git('rev-parse', 'HEAD');
134
+ writeFileSync(join(repo, 'simulation-tip.txt'), 'append\n');
135
+ git('add', '.'); git('commit', '-qm', 'release simulation cut');
136
+ const commit = git('rev-parse', 'HEAD');
137
+ mkdirSync(join(instanceRoot, 'release', previousVersion), { recursive: true });
138
+ writeFileSync(join(instanceRoot, 'release', previousVersion, 'release.json'), JSON.stringify({ sourceCommit: base }));
139
+ const graphRunId = 'release-sim-formal-receipt-absent';
140
+ const pins = gateSourcePins(repo, commit);
141
+ if (!pins) throw new Error('release simulation gate graph pins unavailable');
142
+ mkdirSync(join(instanceRoot, 'graph-runs', 'release-loop'), { recursive: true });
143
+ writeFileSync(join(instanceRoot, 'graph-runs', 'release-loop', `${graphRunId}.json`), JSON.stringify({
144
+ graphId: 'release-loop', runId: graphRunId, graphSnapshot: { graphSha: pins.graphSha, recipeSha: pins.recipeSha },
145
+ }));
146
+ const cutSweeps: boolean[] = [];
147
+ const ok = { rc: 0, output: '' };
148
+ const runner: GateRunner = {
149
+ async command() { return ok; }, async localCommand() { return ok; },
150
+ async sweep(tree, _logDir, _pod, only) {
151
+ if (tree.endsWith('/cut')) cutSweeps.push(!only);
152
+ const count = only?.length ?? tests.length;
153
+ return { rc: 0, output: `${count} pass\n0 fail\nRan ${count} tests across ${count} files.\n` };
154
+ },
155
+ async add() {}, async remove() {}, async snapshot() {}, async removeSnapshot() {},
156
+ };
157
+ const previousConfig = getElanousConfigDirOverride();
158
+ if (previousConfig) resetElanousConfigDir();
159
+ try {
160
+ const runtime = { bunVersion: '1.4.2', platform: 'linux', architecture: 'x64', envFingerprint: gateEnvFingerprint(process.env),
161
+ baseImageDigest: 'sha256:' + 'd'.repeat(64) };
162
+ const result = await judgeGate({ commit, version, baselineVersion: previousVersion, baselineCommit: base, graphRunId,
163
+ repo, instanceRoot, ledgerRoot, pod: { pool: 'pool-test', shards: 1 } }, runner, () => SIM_IMAGE_DIGEST, () => ({ ...runtime, imageDigest: SIM_IMAGE_DIGEST }));
164
+ return { outcome: result.outcome, formalReceiptDecision: result.formalReceiptDecision, baselineVersion: previousVersion,
165
+ cutSweepCount: cutSweeps.length, fullSweep: cutSweeps.length === 1 && cutSweeps[0] === true };
166
+ } finally { if (previousConfig) setElanousConfigDir(previousConfig); }
167
+ }
168
+
169
+ const SIM_BASE_COMMIT = 'b'.repeat(40);
170
+ const SIM_IMAGE_DIGEST = `sha256:${'a'.repeat(64)}`;
171
+ const SIM_ENV_FINGERPRINT = 'c'.repeat(64);
172
+ const SIM_RUNTIME_IDENTITY = { bunVersion: '1.4.2', platform: 'linux', architecture: 'x64', envFingerprint: SIM_ENV_FINGERPRINT,
173
+ baseImageDigest: `sha256:${'d'.repeat(64)}` };
174
+
175
+ function simulatedReceipt(id: string, file: string, commit: string): GateShardReceipt {
176
+ return { id, files: [file], version: '0.3.1', graphSha: '0'.repeat(64), recipeSha: '1'.repeat(64),
177
+ graphEntry: 'release-sim-gate', recipeCommand: 'simulated gate receipt', recipeTimeoutMs: 1000,
178
+ head40: commit, base40: SIM_BASE_COMMIT, host: 'sim-host', imageDigest: SIM_IMAGE_DIGEST,
179
+ runtimeIdentity: SIM_RUNTIME_IDENTITY, envFingerprint: SIM_ENV_FINGERPRINT,
180
+ envKey: `${SIM_ENV_FINGERPRINT}:${SIM_IMAGE_DIGEST}`,
181
+ executions: [{ branch: 'test-release', attemptId: `sim-${id}-${commit.slice(0, 8)}`, host: 'sim-host',
182
+ imageDigest: SIM_IMAGE_DIGEST, runtimeIdentity: SIM_RUNTIME_IDENTITY }],
183
+ status: 'complete', failureIds: [], errorIds: [], evidencePath: `sim/${id}-${commit.slice(0, 8)}.json`,
184
+ evidenceSha256: '2'.repeat(64), measuredAt: '2026-11-04T00:00:00.000Z', attempt: 1 };
185
+ }
186
+
187
+ async function runAppendReceiptCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase, root: string): Promise<ReleaseSimRigCaseResult> {
188
+ const tests = Array.from({ length: 81 }, (_, index) => `test/shard-${String(index).padStart(2, '0')}.test.ts`);
189
+ const cut = 'a'.repeat(40), appendA = 'c'.repeat(40), appendB = 'd'.repeat(40);
190
+ const graphId = `release-sim-${scenario.id}-append-continuity`;
191
+ const nodeSequence = ['cut', 'gate-cut', 'append-a', 'resume-a', 'gate-a', 'append-b', 'resume-b', 'gate-b', 'publish', 'done'];
192
+ const graphPath = join(root, 'ux-sim', 'simulation-graphs', `${graphId}.yaml`);
193
+ mkdirSync(join(root, 'ux-sim', 'simulation-graphs'), { recursive: true });
194
+ const graph = `graph_id: ${graphId}\nversion: 1\nentry_node: cut\nterminal_nodes: [done, failed]\nnodes:\n`
195
+ + nodeSequence.map((nodeId) => ` - { node_id: ${nodeId}, kind: gate, recipe: 'cmd:simulated', max_visits: 1 }\n`).join('')
196
+ + ' - { node_id: failed, kind: gate, recipe: none, max_visits: 1 }\nedges:\n'
197
+ + nodeSequence.slice(0, -1).map((from, index) => ` - { from: ${from}, on: outcome, map: { ok: ${nodeSequence[index + 1]}, fail: failed, error: failed } }\n`).join('');
198
+ writeFileSync(graphPath, graph);
199
+ writeFileSync(join(dirname(graphPath), 'recipes.yaml'), 'simulated:\n command: "simulated release node"\n');
200
+ const edges = new Map<string, Record<string, unknown>>(nodeSequence.slice(0, -1).map((from, index) => [from,
201
+ { map: { ok: nodeSequence[index + 1], fail: 'failed', error: 'failed' } }]));
202
+ const ledgerEvents: Array<Record<string, unknown>> = [];
203
+ const formalReceiptDir = join(root, 'release', scenario.input.version, 'gate-logs', 'cut', 'receipts');
204
+ mkdirSync(formalReceiptDir, { recursive: true });
205
+ const formalReceiptInspection = inspectGateShardReceipts(formalReceiptDir, { version: scenario.input.version, commit: cut,
206
+ base40: SIM_BASE_COMMIT, envFingerprint: SIM_ENV_FINGERPRINT, graphPins: { graphSha: '0'.repeat(64), recipeSha: '1'.repeat(64) },
207
+ graphEntry: 'release-sim-gate', recipeCommand: 'simulated gate receipt', recipeTimeoutMs: 1000,
208
+ shards: tests.map((file, index) => ({ id: `pod-${index}`, files: [file] })), tests });
209
+ const formalGateRun = await runProductionMissingReceiptGate(root, tests, scenario.input.version, scenario.input.previousVersion);
210
+ let currentCommit = cut;
211
+ let previousCommit = cut;
212
+ let selectedFiles: string[] = [];
213
+ let receipts: GateShardReceipt[] = [];
214
+ const stages: ReleaseSimGateReceiptStage[] = [];
215
+ const runBash = async (_command: string, options: { env?: NodeJS.ProcessEnv }) => {
216
+ const { nodeId } = parseContext(options.env ?? process.env);
217
+ if (nodeId === 'append-a') { previousCommit = cut; currentCommit = appendA; selectedFiles = [tests[0]!]; }
218
+ if (nodeId === 'append-b') { previousCommit = appendA; currentCommit = appendB; selectedFiles = [tests[1]!]; }
219
+ if (nodeId === 'resume-a' || nodeId === 'resume-b') {
220
+ ledgerEvents.push({ event: 'resume', stage: nodeId, priorCommit: previousCommit, commit: currentCommit, selectedFiles: [...selectedFiles], radiusOnly: true });
221
+ }
222
+ if (nodeId.startsWith('gate-')) {
223
+ const stage = runReleaseSimGateReceiptSeam({ stage: nodeId, tests, receipts,
224
+ priorCommit: previousCommit, commit: currentCommit, selectedFiles,
225
+ ...(nodeId === 'gate-cut' ? { formalReceiptInspection, formalGateRun } : {}) });
226
+ stages.push(stage);
227
+ receipts = [...receipts.filter((receipt) => stage.plan.carriedShardIds.includes(receipt.id)).map((receipt) => ({ ...receipt, head40: currentCommit })),
228
+ ...stage.plan.rerunShardIds.map((id) => simulatedReceipt(id, tests[Number(id.slice(4))]!, currentCommit))];
229
+ const output = { outcome: stage.gateOutcome === 'pass' ? 'ok' : stage.gateOutcome === 'fail' ? 'fail' : 'error', stage };
230
+ ledgerEvents.push({ event: 'gate-result', stage });
231
+ return { exitCode: stage.gateOutcome === 'pass' ? 0 : stage.gateOutcome === 'fail' ? 1 : 2, stdout: `${JSON.stringify(output)}\n`, stderr: '' };
232
+ }
233
+ if (nodeId === 'publish') {
234
+ const eligible = stages.at(-1)?.publishDecision === 'eligible';
235
+ ledgerEvents.push({ event: 'fake-publish-decision', decision: eligible ? 'eligible' : 'blocked' });
236
+ return { exitCode: eligible ? 0 : 1, stdout: `${JSON.stringify({ outcome: eligible ? 'ok' : 'fail', decision: eligible ? 'eligible' : 'blocked' })}\n`, stderr: '' };
237
+ }
238
+ if (nodeId === 'append-a' || nodeId === 'append-b') ledgerEvents.push({ event: 'append', stage: nodeId, commit: currentCommit, selectedFiles: [...selectedFiles] });
239
+ return { exitCode: 0, stdout: `${JSON.stringify({ outcome: 'ok', nodeId, commit: currentCommit })}\n`, stderr: '' };
240
+ };
241
+ const capture = (event: string, data: Record<string, unknown>) => ledgerEvents.push({ event, ...data });
242
+ const state = await runGraph(graphPath, { runId: graphId, input: { version: scenario.input.version, previousVersion: scenario.input.previousVersion },
243
+ pinChildUniverse: true, quiet: true, deps: { root, runBash, log: capture } });
244
+ const path = state.path;
245
+ const visited = new Set([...path, ...Object.values(state.fanOuts ?? {}).flatMap((fanout) => Object.keys(fanout.branches))]);
246
+ const statusOk = state.status === item.expect.status;
247
+ const visitOk = item.expect.mustVisit.every((id) => visited.has(id));
248
+ const notVisitOk = item.expect.mustNotVisit.every((id) => !visited.has(id));
249
+ const edgeIssues = unexpectedEdges(path, state, edges);
250
+ const receiptCase = stages[0], appendStageA = stages[1], appendStageB = stages[2];
251
+ const receiptFlowOk = !!receiptCase && receiptCase.formalReceiptDecision?.reason === 'formal-receipt-set-absent'
252
+ && receiptCase.formalGateRun?.formalReceiptDecision === 'formal-receipt-set-absent'
253
+ && receiptCase.formalGateRun.outcome === 'ok' && receiptCase.formalGateRun.fullSweep
254
+ && formalReceiptInspection.kind === 'absent' && receiptCase.plan.fullSweep && receiptCase.plan.rerunShardIds.length === 81
255
+ && receiptCase.aggregate === 'complete' && receiptCase.receiptIds.length === 81
256
+ && appendStageA?.plan.carriedShardIds.length === 80 && appendStageA.plan.rerunShardIds.join() === 'pod-0'
257
+ && appendStageA.aggregate === 'complete' && appendStageA.receiptIds.length === 81
258
+ && appendStageB?.plan.carriedShardIds.length === 80 && appendStageB.plan.rerunShardIds.join() === 'pod-1'
259
+ && appendStageB.aggregate === 'complete' && appendStageB.receiptIds.length === 81;
260
+ const publishOk = stages.at(-1)?.publishDecision === 'eligible' && path.includes('publish');
261
+ const ledgerOk = ledgerEvents.some((row) => row.event === 'node-start') && ledgerEvents.some((row) => row.event === 'node-end')
262
+ && ledgerEvents.some((row) => row.event === 'append') && ledgerEvents.filter((row) => row.event === 'resume').length === 2;
263
+ const pass = statusOk && visitOk && notVisitOk && receiptFlowOk && publishOk && ledgerOk && edgeIssues.length === 0;
264
+ return { id: item.id, pass, status: state.status, path, dispatchedNodes: path.filter((node) => nodeSequence.includes(node)),
265
+ unexpectedEdges: edgeIssues, checks: { status: statusOk, mustVisit: visitOk, mustNotVisit: notVisitOk, overlap: true, ledgerEvents: ledgerOk },
266
+ injectedEvidence: { universe: 'test', releaseVersion: scenario.input.version, formalReceiptInspection, receiptCase, appendA: appendStageA, appendB: appendStageB,
267
+ appendedOnlyChangedTestRadius: receiptFlowOk, fakePublish: stages.at(-1)?.publishDecision,
268
+ executionStatePath: state.statePath }, fanOuts: state.fanOuts, ledgerEvents, statePath: state.statePath };
269
+ }
270
+
38
271
  export interface ReleaseSimRigScenario {
39
272
  version: 1;
40
273
  kind: 'release-graph';
@@ -158,7 +391,7 @@ export function parseReleaseSimRigScenario(source: string): ReleaseSimRigScenari
158
391
  ids.add(row.id);
159
392
  let mode: ReleaseSimRigCase['mode'];
160
393
  if (row.mode !== undefined) {
161
- if (row.mode !== 'baseline' && row.mode !== 'cut-tip-moved-after-resume' && row.mode !== 'gate-waive-introduced-regression' && row.mode !== 'owner-waive-missing-schema' && row.mode !== 'owner-waive-0246-fixture') throw new Error(`scenario.cases[${index}].mode is unregistered`);
394
+ if (row.mode !== 'baseline' && row.mode !== 'cut-tip-moved-after-resume' && row.mode !== 'gate-waive-introduced-regression' && row.mode !== 'owner-waive-missing-schema' && row.mode !== 'owner-waive-0246-fixture' && row.mode !== 'append-receipt-continuity') throw new Error(`scenario.cases[${index}].mode is unregistered`);
162
395
  mode = row.mode;
163
396
  }
164
397
  let fault: ReleaseSimRigCase['fault'];
@@ -195,7 +428,8 @@ export function parseReleaseSimRigScenario(source: string): ReleaseSimRigScenari
195
428
  if (pair.length !== 2 || pair[0] === pair[1] || pair.some((id) => !nodeIds.has(id))) throw new Error(`scenario.cases[${index}].expect.overlap must name two different release nodes`);
196
429
  overlap = [pair[0]!, pair[1]!];
197
430
  }
198
- for (const id of [...mustVisit, ...mustNotVisit]) if (!nodeIds.has(id)) throw new Error(`scenario.cases[${index}] names unknown release node ${id}`);
431
+ const expectedNodeIds = mode === 'append-receipt-continuity' ? new Set([...nodeIds, ...RECEIPT_SIM_NODE_IDS]) : nodeIds;
432
+ for (const id of [...mustVisit, ...mustNotVisit]) if (!expectedNodeIds.has(id)) throw new Error(`scenario.cases[${index}] names unknown release node ${id}`);
199
433
  if (mustVisit.some((id) => mustNotVisit.includes(id))) throw new Error(`scenario.cases[${index}] visits and excludes the same node`);
200
434
  return { id: row.id, ...(mode ? { mode } : {}), ...(fault ? { fault } : {}), ...(Object.keys(nodeOutcomes).length ? { nodeOutcomes } : {}),
201
435
  expect: { status: expected.status, mustVisit, mustNotVisit, ...(overlap ? { overlap } : {}), ...(typeof refusalIncludes === 'string' ? { refusalIncludes } : {}) } };
@@ -478,7 +712,9 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
478
712
  const ledgerOk = ledgerEvents.some((row) => row.event === 'node-start') && ledgerEvents.some((row) => row.event === 'node-end')
479
713
  && ledgerEvents.filter((row) => row.event === 'edge-observed').length === Math.max(0, path.length - 1);
480
714
  const waiverOk = gate?.ok === true && gate.executed === false && gate.waiver?.reason === reason
481
- && gate.waiver.approvedBy === 'OP' && (ownerWaived ? gate.waiver.ownerWaived === true && JSON.stringify(JSON.parse(String(gate.output)).outcome) === JSON.stringify('pass(owner-waived)') : JSON.stringify(gate.waiver.introducedIds) === JSON.stringify([introducedId]));
715
+ && gate.waiver.approvedBy === 'OP' && (ownerWaived ? gate.waiver.ownerWaived === true
716
+ && JSON.parse(String(gate.output)).outcome === 'ok' && JSON.parse(String(gate.output)).verdict === 'owner-waived'
717
+ : JSON.stringify(gate.waiver.introducedIds) === JSON.stringify([introducedId]));
482
718
  const releaseTailOk = !fixtureOwnerWaiver || (dispatchedNodes.includes('publish') && dispatchedNodes.includes('npm-publish') && dispatchedNodes.includes('verify')
483
719
  && (npmPublishEvidence?.publishNodeResult as { outcome?: string } | undefined)?.outcome === 'ok'
484
720
  && Array.isArray(npmPublishEvidence?.publishNodeExternalCalls)
@@ -496,6 +732,7 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
496
732
 
497
733
  async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase, root: string,
498
734
  edges: Map<string, Record<string, unknown>>): Promise<ReleaseSimRigCaseResult> {
735
+ if (item.mode === 'append-receipt-continuity') return runAppendReceiptCase(scenario, item, root);
499
736
  const runId = `release-sim-${scenario.id}-${item.id}`;
500
737
  const ledgerEvents: Array<Record<string, unknown>> = [];
501
738
  const dispatchedNodes: string[] = [];
@@ -1 +1 @@
1
- {"commit":"6c2732fce5cf327353ef8bfa3da9c5790d31dae2"}
1
+ {"commit":"da96a141d60a741b7bc92d0807b58124839d6b6c"}