elanous 0.3.1 → 0.3.2
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.
- package/apps/pwa/out/404/index.html +1 -1
- package/apps/pwa/out/404.html +1 -1
- package/apps/pwa/out/_next/static/{98VlBaYvL-VVnCq93_lFS → 5URFQKPO21SIgTlLvb1Jv}/_buildManifest.js +1 -1
- package/apps/pwa/out/_next/static/chunks/001d1d30.3b264a3a5834784b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{9531.ffbcd1e59e2c32fc.js → 1004.b334bd3d776bd455.js} +4 -4
- package/apps/pwa/out/_next/static/chunks/1044.f780ef30fbeec1d2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/106.ef1dcdfef46b0b72.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1207.912f5869bdf13244.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1226-29248177d8e43df5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/128757ea.677175b2ad79b371.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1469.157ee10170c461ab.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1475-f4208d07b2b41e44.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1525.9fd05c15746d77c8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5536.bbb17703f46e52e7.js → 1549.81d2a59aa303b629.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/1596-80cc66168f6a520b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1695-e63446cc38743225.js +1 -0
- package/apps/pwa/out/_next/static/chunks/224.0585d01ba7f4f898.js +226 -0
- package/apps/pwa/out/_next/static/chunks/2277.80d00b0a6fe67cad.js +94 -0
- package/apps/pwa/out/_next/static/chunks/2287.6a4cce8ac8897fda.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2378.0805bd9972a241f3.js +24 -0
- package/apps/pwa/out/_next/static/chunks/{751.95d127a92f7817e3.js → 2538.f7b0fd1f3b0c2bff.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/25600806.42d40cb74fdc4bf3.js +122 -0
- package/apps/pwa/out/_next/static/chunks/2785-33003c356341fab5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/280-f880696e14bc1032.js +1 -0
- package/apps/pwa/out/_next/static/chunks/29.135cc356bdf1a8be.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2987.f36195bfacdbcc4e.js +148 -0
- package/apps/pwa/out/_next/static/chunks/3111-f3c2382dc49d4719.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{7479.d00f44fde98cf34e.js → 3130.69315cfa410b3cc7.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3135-4f30d19149be541d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/336.dd6c1b81512124e6.js +74 -0
- package/apps/pwa/out/_next/static/chunks/337.35019dda0819a283.js +64 -0
- package/apps/pwa/out/_next/static/chunks/3393.cbbe17ef7aeee5e7.js +2 -0
- package/apps/pwa/out/_next/static/chunks/3394.8a08fac56ac2f941.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3461-113eb7d3afb5969e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3603-473956ca996d5b03.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3687.55335796604accd0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3692-ed2cebf0d6c4e273.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3702-d50492fee8529bd7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3782.3ead96e62c8ac5c5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3849-59a5a66baa48998b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3965.1ae261de91a7507b.js +115 -0
- package/apps/pwa/out/_next/static/chunks/3985-432efaf9bc4e4123.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4055-90325ff209cd557e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4174.d97cc593a5cf01bc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4276.863502da440e095f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4450-ea0ec552f18d799d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5571.a062963c309338b4.js → 448.26b198f3b58cbcf9.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/4495.2fbef8546af0792c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4578.04c77c13e3c62361.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4674.e41c0f9b62fed6e2.js +36 -0
- package/apps/pwa/out/_next/static/chunks/{7197.7b19aa948048e19a.js → 482.52b487cbac96db29.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/4841.b78af1deed2d3d3f.js +23 -0
- package/apps/pwa/out/_next/static/chunks/4869.839bacfaab182108.js +1 -0
- package/apps/pwa/out/_next/static/chunks/49263d14.0a995d745de3f818.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4935.7f5b0bd162f201cc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/500-57c24ef4341cdb21.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5017-e079ea96feddbe85.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6932.f80f616260b74131.js → 5135.7b73d384c46dc26b.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/5359-11952bdf39bae0c7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{9705-bbcd00db4ffd3484.js → 5456-e9f9027af2bb4799.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{4506-f8439f6fbd0a8483.js → 5457-5459ae7638b42dff.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/5521-16fb56b15c809e4a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5616-33de319a016180cd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5646.41a48aad446799fa.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5716.ad2c840320ab9472.js +41 -0
- package/apps/pwa/out/_next/static/chunks/5730-ca5565abe3d360ad.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{4069a63b.a074c39997560438.js → 57af6223.b79d56584a040f84.js} +7 -7
- package/apps/pwa/out/_next/static/chunks/5841.26bcfac34b5889b4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/586.658dedb3bc558b22.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{9693-ab5bc28704a66601.js → 5892-6f0a1ee3c6c38173.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/5894-7d90af46a43f80d2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5927-88cbc16437430987.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5960.0dfb8bd3d27e1063.js +1 -0
- package/apps/pwa/out/_next/static/chunks/597-9bf9f66dba4ccae9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6064.f425ee61836bb5c7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6074.39f84a90284749de.js +1 -0
- package/apps/pwa/out/_next/static/chunks/61.cbbe643a52cf53ab.js +62 -0
- package/apps/pwa/out/_next/static/chunks/6184.4c0ba455eb3d27a1.js +79 -0
- package/apps/pwa/out/_next/static/chunks/6224.cd0ca2a16727e9a9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6229-a83289910e01869b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6243.61e6f450a70a8d91.js +90 -0
- package/apps/pwa/out/_next/static/chunks/6295-4f1a1386f8667fd1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5709.867a5086d782dd97.js → 6310.5fb57ba0781bc476.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/{7087.99662912e4db6255.js → 6355.34fd60aca3e95acf.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/6653.f3f30affdbe694aa.js +32 -0
- package/apps/pwa/out/_next/static/chunks/6657.f57e1d8511e510ce.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6672-bc0f317b72f0bbd2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6761-2143fe6fe3578118.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6747.365eefdf3b4a0226.js → 6764.ec2d2cf14278c473.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/6955-75b2659eafd27893.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{52bafb67.054ec9d048116d83.js → 6cd6be76.9d27e7414d939d53.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{77a1aef7.ba1c04f78a1493d9.js → 6fa80ede.7b05276e6be12b1d.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7051-406b0538949c932f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7222.df77e48936e60d2e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7242-08db87893cf792b7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7307-3172df9d07acb8e0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{156.389be47355dc94c7.js → 7613.4523dc082005e359.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{234.f25f5b0d65f89af8.js → 7644.bdbfed1da174219e.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/7648-7c7346c2a73503f9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7788.ffd9f4d57647a354.js +149 -0
- package/apps/pwa/out/_next/static/chunks/{1972.a8d37aadbc59ac43.js → 7793.4d3de6ce591fbc21.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{8469.f67afe44a0fa8af0.js → 7816.4b8c0fa1e5b4ec4f.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7988-bbcd506079ceceb6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{367.1ffe524fe1ee7803.js → 8066.32863fb9dd2dc278.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/8073-cdf4607b80d127fe.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{691.6ff56b5f4b6ec918.js → 8108.2cd332dff4f07acd.js} +4 -4
- package/apps/pwa/out/_next/static/chunks/8414-77dbc0c35bc85f42.js +1 -0
- package/apps/pwa/out/_next/static/chunks/849.fe241354322a97e9.js +27 -0
- package/apps/pwa/out/_next/static/chunks/8665.900daf2473f7032a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8713.11d79e4e023ab74f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8718.137b7ce2c3cae66b.js +8 -0
- package/apps/pwa/out/_next/static/chunks/8764.39400f626e015e79.js +287 -0
- package/apps/pwa/out/_next/static/chunks/8803.d3504166481bc91e.js +24 -0
- package/apps/pwa/out/_next/static/chunks/{9103.bd34694d18c05083.js → 8939.a14783a0a81e5e62.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/8963.928e777871d1d637.js +104 -0
- package/apps/pwa/out/_next/static/chunks/8987-372a6317aaf83fa9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9039.03e40d9f9fd90920.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{c58bec24.d208786405e23259.js → 922c23f1.797bdf68f73f0488.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{5998.d426273cdd00305a.js → 9546.3a0afc5d5fa0851d.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9671.d935d274b65718e4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9756.24e020ddf99f7020.js +77 -0
- package/apps/pwa/out/_next/static/chunks/9777-6b21b6f1989ea7b1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9947.7a8d89554e873316.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9980.fd66776b3782eeb4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-2c29b6716055aa54.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-822c5395a88eb1e5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-9d7432ad7cb155ce.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/board/page-26941f067e899ed3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/botlab/{page-dbc30fbf2e8933d9.js → page-3c29b0e0d681e33d.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-d1cdb65c4ceb5c33.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-1224ce11e2a2eef5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/chat/page-940b44876305fac2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/consult/page-c5b8f3b77568a8e9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/control/page-77db1e47b120b94e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-3048505d466ec98a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-8d97da172a2cd552.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/editor/page-6a36535d413596b1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/exec/page-8696a777c88bacc2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/field/page-c4f1095489266f97.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-2c29b6716055aa54.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/inside/page-ea374796ca2317b9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/intake/page-111a4245428caa84.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/layout-956789c8340e289e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live/page-7645ef6d17d2314b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-3448160192777209.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/loops/page-e911bcd2bfb5c305.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/market/page-52b55f54c9d8e0fb.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-6a904a7d1b3aee11.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/morning/page-afa5068541a55cd1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/not-found-3eb72a4f6788a903.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-527a398eac0b4699.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-c9e4ca5025534239.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-63c8938149254e9d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-da8f855dc25cae3d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-f48403ffee4c4b77.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-905013106f55daad.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/page-f95beb047d743d09.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-3b0434a6fc1154e1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-9deae0524ce7a7e2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-4f4f0858754f73a4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-73857fa536e7c832.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/page-c0bdee145df0f6c9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-2e8cc4d212f1ca01.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-2c29b6716055aa54.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/page-fe67b4e66f496b3a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/share/page-b8c0c73c2e5a8917.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-2e8ed69b1a70c746.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-aedaede687cc293d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/term/page-bb5c95ce68358be2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/today/page-c6b096777f73c43a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/trace/page-45967d78c1748112.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/vault/page-9a1cdd7c5a50bf73.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-c54c8b957ebf94e2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-9dc19aee0932542a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-8f291522cb3d91a6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-52b36e1c8acd087f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{e7a93f74.aa8572069f848f17.js → d7c7394d.c015f14113d7faef.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/db2f0161-8781ed841c51137a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/f6a577ab-4b799b8c69e49cfd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/framework-01d45c12f1bce665.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-0a9bbda118d4e9dc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-app-7f817b9fe2a360cc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_app-f953b3d6c9ece48e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_error-1a3e6e3f0aa99004.js +1 -0
- package/apps/pwa/out/_next/static/chunks/webpack-090556529ba4efb6.js +1 -0
- package/apps/pwa/out/approvals/index.html +1 -1
- package/apps/pwa/out/approvals/index.txt +22 -22
- package/apps/pwa/out/autopilot/index.html +1 -1
- package/apps/pwa/out/autopilot/index.txt +22 -22
- package/apps/pwa/out/board/index.html +1 -1
- package/apps/pwa/out/board/index.txt +22 -22
- package/apps/pwa/out/botlab/index.html +1 -1
- package/apps/pwa/out/botlab/index.txt +21 -21
- package/apps/pwa/out/bots/index.html +1 -1
- package/apps/pwa/out/bots/index.txt +21 -21
- package/apps/pwa/out/ceo/index.html +1 -1
- package/apps/pwa/out/ceo/index.txt +22 -22
- package/apps/pwa/out/chat/index.html +1 -1
- package/apps/pwa/out/chat/index.txt +21 -21
- package/apps/pwa/out/consult/index.html +1 -1
- package/apps/pwa/out/consult/index.txt +22 -22
- package/apps/pwa/out/control/index.html +1 -1
- package/apps/pwa/out/control/index.txt +22 -22
- package/apps/pwa/out/decisions/index.html +1 -1
- package/apps/pwa/out/decisions/index.txt +21 -21
- package/apps/pwa/out/design-check/index.html +1 -1
- package/apps/pwa/out/design-check/index.txt +22 -22
- package/apps/pwa/out/editor/index.html +1 -1
- package/apps/pwa/out/editor/index.txt +22 -22
- package/apps/pwa/out/exec/index.html +1 -1
- package/apps/pwa/out/exec/index.txt +22 -22
- package/apps/pwa/out/field/index.html +1 -1
- package/apps/pwa/out/field/index.txt +22 -22
- package/apps/pwa/out/healthz +1 -1
- package/apps/pwa/out/index.html +1 -1
- package/apps/pwa/out/index.txt +21 -21
- package/apps/pwa/out/inside/index.html +1 -1
- package/apps/pwa/out/inside/index.txt +21 -21
- package/apps/pwa/out/intake/index.html +1 -1
- package/apps/pwa/out/intake/index.txt +22 -22
- package/apps/pwa/out/live/index.html +1 -1
- package/apps/pwa/out/live/index.txt +22 -22
- package/apps/pwa/out/live-run/index.html +1 -1
- package/apps/pwa/out/live-run/index.txt +22 -22
- package/apps/pwa/out/loops/index.html +1 -1
- package/apps/pwa/out/loops/index.txt +21 -21
- package/apps/pwa/out/market/index.html +1 -1
- package/apps/pwa/out/market/index.txt +21 -21
- package/apps/pwa/out/missions/placeholder/index.html +1 -1
- package/apps/pwa/out/missions/placeholder/index.txt +21 -21
- package/apps/pwa/out/morning/index.html +1 -1
- package/apps/pwa/out/morning/index.txt +22 -22
- package/apps/pwa/out/observatory/index.html +1 -1
- package/apps/pwa/out/observatory/index.txt +22 -22
- package/apps/pwa/out/ops/checklist/index.html +1 -1
- package/apps/pwa/out/ops/checklist/index.txt +21 -21
- package/apps/pwa/out/ops/release/index.html +1 -1
- package/apps/pwa/out/ops/release/index.txt +21 -21
- package/apps/pwa/out/ops/resources/index.html +1 -1
- package/apps/pwa/out/ops/resources/index.txt +21 -21
- package/apps/pwa/out/ops/seats/index.html +1 -1
- package/apps/pwa/out/ops/seats/index.txt +21 -21
- package/apps/pwa/out/outputs/index.html +1 -1
- package/apps/pwa/out/outputs/index.txt +21 -21
- package/apps/pwa/out/reflection/index.html +1 -1
- package/apps/pwa/out/reflection/index.txt +22 -22
- package/apps/pwa/out/scheduler/index.html +1 -1
- package/apps/pwa/out/scheduler/index.txt +22 -22
- package/apps/pwa/out/sessions/index.html +1 -1
- package/apps/pwa/out/sessions/index.txt +21 -21
- package/apps/pwa/out/settings/devices/index.html +1 -1
- package/apps/pwa/out/settings/devices/index.txt +22 -22
- package/apps/pwa/out/settings/index.html +1 -1
- package/apps/pwa/out/settings/index.txt +22 -22
- package/apps/pwa/out/setup/done/index.html +1 -1
- package/apps/pwa/out/setup/done/index.txt +22 -22
- package/apps/pwa/out/setup/index.html +1 -1
- package/apps/pwa/out/setup/index.txt +22 -22
- package/apps/pwa/out/share/index.html +1 -1
- package/apps/pwa/out/share/index.txt +22 -22
- package/apps/pwa/out/showroom/index.html +1 -1
- package/apps/pwa/out/showroom/index.txt +21 -21
- package/apps/pwa/out/tasks/index.html +1 -1
- package/apps/pwa/out/tasks/index.txt +22 -22
- package/apps/pwa/out/term/index.html +1 -1
- package/apps/pwa/out/term/index.txt +22 -22
- package/apps/pwa/out/today/index.html +1 -1
- package/apps/pwa/out/today/index.txt +22 -22
- package/apps/pwa/out/trace/index.html +1 -1
- package/apps/pwa/out/trace/index.txt +22 -22
- package/apps/pwa/out/vault/index.html +1 -1
- package/apps/pwa/out/vault/index.txt +22 -22
- package/apps/pwa/out/workflows/chat-ui/index.html +1 -1
- package/apps/pwa/out/workflows/chat-ui/index.txt +22 -22
- package/apps/pwa/out/workflows/index.html +1 -1
- package/apps/pwa/out/workflows/index.txt +22 -22
- package/apps/pwa/out/workspace/index.html +1 -1
- package/apps/pwa/out/workspace/index.txt +22 -22
- package/apps/pwa/out/worktrees/index.html +1 -1
- package/apps/pwa/out/worktrees/index.txt +22 -22
- package/package.json +1 -1
- package/scripts/release-loop/auto-approve-node.ts +2 -1
- package/scripts/release-loop/gate-node.ts +13 -6
- package/scripts/release-loop/gate-shard-receipts.ts +5 -0
- package/scripts/release-loop/publish-node.ts +2 -1
- package/scripts/release-loop/pwa-scenarios-node.ts +10 -1
- package/scripts/zero-sim-world.sh +1 -1
- package/src/autopilot/track-courier.ts +48 -8
- package/src/browser-cdp/client.ts +17 -3
- package/src/cli/fleet-cli.ts +9 -2
- package/src/cli/release-cli.ts +4 -3
- package/src/cli/task-plugin-wizard-host.ts +22 -3
- package/src/cli/test-state-dir-flag.ts +4 -1
- package/src/dashboard/index.ts +5 -20
- package/src/dashboard/plugin-wizard-runtime.ts +54 -7
- package/src/fleet/cloud-resource-discovery.ts +95 -0
- package/src/fleet/resource-inventory.ts +12 -3
- package/src/graph-runner/runner.ts +3 -1
- package/src/graph-wizard/mission-compose.ts +7 -1
- package/src/harness/harness-queue.ts +74 -6
- package/src/llm.ts +4 -0
- package/src/loops/budget.ts +20 -0
- package/src/onboarding/first-chat-gate.ts +4 -1
- package/src/onboarding/first-run.ts +8 -1
- package/src/onboarding.ts +5 -1
- package/src/pr-tool/census.ts +42 -5
- package/src/pty-shell/pty-manifest.ts +15 -6
- package/src/release-loop/light-rc.ts +47 -0
- package/src/research/axis-fanout.ts +15 -8
- package/src/self-dev/dev-pipeline.ts +67 -8
- package/src/self-implement/gate-remote.ts +13 -7
- package/src/sidetab-core/model.ts +64 -6
- package/src/task-orchestrator/surfaces/pod-source-receive.ts +10 -1
- package/src/tool-runtime/aside-selection-runtime.ts +89 -0
- package/src/tool-runtime/index.ts +2 -0
- package/src/tui/entry.ts +75 -21
- package/src/tui/sidetab/attach.ts +1 -0
- package/src/tui/sidetab/list.ts +2 -1
- package/src/ux-sim/release-sim-rig.ts +244 -7
- package/src/version/packed-revision.json +1 -1
- package/apps/pwa/out/_next/static/chunks/1388-1eb6df003f29bb9c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1434-a2c279f005d9c501.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1464.14588e93d2ab3190.js +0 -24
- package/apps/pwa/out/_next/static/chunks/1465.85f9a1708f17853a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/162.c03cf23572cb4136.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1831.25868bc1e2cc0dae.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1896.b6c635d0c8f65727.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1939.3fa2506ad8e585bc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1997-f22e6f9510520182.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2242-6edf27c6c0ae7589.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2344.795de26da3261060.js +0 -23
- package/apps/pwa/out/_next/static/chunks/2491.9ac5bd2f48bcd60c.js +0 -226
- package/apps/pwa/out/_next/static/chunks/2513.e03f6479c0079b6e.js +0 -79
- package/apps/pwa/out/_next/static/chunks/2551-43782d8812989ae7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2799.12b1a3e7090e27ef.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2806.f04d7923f2adadb1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2862.b8ea08cbc69a63d4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/295-1ff35d6a06be8400.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3161.b9eb612f66d5ff04.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3233.46021e4acc520c03.js +0 -1
- package/apps/pwa/out/_next/static/chunks/325.3cfd5b7571a9f740.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3384.d91656787bec7922.js +0 -104
- package/apps/pwa/out/_next/static/chunks/3414f5fa-46ae45073dca64f0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3589.a9094c2bc034055c.js +0 -287
- package/apps/pwa/out/_next/static/chunks/3777.1450df79d987816d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3877-871ea505d778a6a7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4021.28d034c7fb0a6732.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4212.873105c37a871421.js +0 -1
- package/apps/pwa/out/_next/static/chunks/423-6be27163a1bce5d7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4231.644cd1e23974f1f6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4362.1adc1412509b7bb8.js +0 -94
- package/apps/pwa/out/_next/static/chunks/4431.83a630154376636a.js +0 -41
- package/apps/pwa/out/_next/static/chunks/4540-993e2e4e1d485a9a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4719-1d04b01d4d6166fc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4754-bfd5e1ad9016e176.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5001.b39bf6d792509317.js +0 -64
- package/apps/pwa/out/_next/static/chunks/5021.7234ae147ab0a3e1.js +0 -77
- package/apps/pwa/out/_next/static/chunks/5230.3e562ed2a69cbc7b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5279.f75fafa19de6e131.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5325-b9c1258cc7e579f9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5495-37306015ec740354.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5658.d1e61315cb865f82.js +0 -32
- package/apps/pwa/out/_next/static/chunks/5765.5949ec61cec63eac.js +0 -1
- package/apps/pwa/out/_next/static/chunks/587.e6b35bcbd947c58e.js +0 -8
- package/apps/pwa/out/_next/static/chunks/5951-f25e14d03e72135a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5962-1ab68b213684716b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6352.20c708245475cf50.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6548-a160aa580fb9a8ff.js +0 -1
- package/apps/pwa/out/_next/static/chunks/673-40c924b2095a05eb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6731-c9308c2f71a1b8e3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6950-5d5edab502cc208b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6982.e8fecbf7feb3aba5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7051-0dbbb2c1ce4f519e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/709.bd9939dbb991de9f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7230-6527ac6be205c096.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7233-d93f8ce1475f730c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7292-a4d5c8d2fe255e06.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7304-dae57d61a8ccccf0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7382.bf53ab097670a235.js +0 -27
- package/apps/pwa/out/_next/static/chunks/7434.99c31fb661085b6a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7457-9ceddd4301467503.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7494.d8b8d01d8dcbafe8.js +0 -2
- package/apps/pwa/out/_next/static/chunks/7554-d9cec4ac2e6d556d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7733-6f0d8da7a3f3ce91.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7757-6f4b6363cc651de5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/787-4d1d55b1311a5019.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7915-a755af5ea69cfcfe.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8029-2963385667511b16.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8090.bc2349b6133b2cd5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8136.8ff2113530c27083.js +0 -1
- package/apps/pwa/out/_next/static/chunks/819.632a2a50f814f98e.js +0 -74
- package/apps/pwa/out/_next/static/chunks/8328.72a79ba9b81971ad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8448.4e25153e035786b0.js +0 -62
- package/apps/pwa/out/_next/static/chunks/8613.76dfc054055f06ba.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8649-fe9165a8879fad56.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8840-53feb140de04dcfe.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8873.ef8a37057644f876.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8917-46eb4e608f44bf74.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8954.e749ad9e9c5ca512.js +0 -115
- package/apps/pwa/out/_next/static/chunks/9065.8134b756614cf83f.js +0 -36
- package/apps/pwa/out/_next/static/chunks/9089.087fcd352568af49.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9140-bfcc4075cac3c387.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9272.787cb6d987824708.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9361-5b10273d3f34b21d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9396.097c14dd4df77c43.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9468.370ef15c86f7b141.js +0 -1
- package/apps/pwa/out/_next/static/chunks/963-66d3a6d98e977ae5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9644.a615f56876ed37b8.js +0 -90
- package/apps/pwa/out/_next/static/chunks/9786.2d8c3b7368f18f1b.js +0 -148
- package/apps/pwa/out/_next/static/chunks/9805.e17f9c6e3811e48b.js +0 -24
- package/apps/pwa/out/_next/static/chunks/9876-49a1e08c0dfe7b8c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9891.5995e75a99b53d4e.js +0 -149
- package/apps/pwa/out/_next/static/chunks/9912-2be6b6ea0321c365.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-c0543429ffa9cdfb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-39f04d88df12b3e9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-e4f014aa82483cae.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-e86f9273877eab46.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-d83a916672a8cfd3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-22f27eaa5e6e68c7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/chat/page-66477bf22d33b56e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/consult/page-913f2a86ea109c65.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/control/page-ac51dc349381d564.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-cd09fc74dca72511.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-6c357f5b58598b67.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/editor/page-ab83de8c73bd2e4f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/exec/page-6402ad2273b6f7b5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/field/page-50d9b8d13b33f785.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-c0543429ffa9cdfb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/inside/page-ffca50fc1f13759c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-3316bfc28a901722.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/layout-aef93e049341011e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live/page-8e67bb49fa81d4e5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-8b8c8ac4a3edf0eb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/loops/page-b5b994c9ea03f6d7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-1a06f6f510439341.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-d9720f6a03f31fa7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/morning/page-d7c891d78672d771.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-e915872b37ca7dcf.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-43c2ec7c00978377.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-c2537aa89b121637.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-3264666f6ef99431.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-efe9dd7bc58d4fc6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-153277343c9956b8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-c1457829d1506ad7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/page-9622573651a4b6ce.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-5aeba1aa69ec67ad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-29cf1ba9ae2fdb92.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-99a060c6edd4726c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-decfacd2237da403.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-3650eed85a5c5c93.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-14077f0eddcae22f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-c0543429ffa9cdfb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/page-364ee29f223bdc6b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/share/page-905fb1f67c2665a7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-79907fc36e3113f4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-8f01867ee2a701b6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/term/page-310b734167671ba8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-cb1ca7ae52803603.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/trace/page-5491f2fb8e9376b5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/vault/page-7e98befd36460b21.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-220923eefd5149b5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-afdef54bb570da39.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-19f8acddbff16091.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-d327a7647a075184.js +0 -1
- package/apps/pwa/out/_next/static/chunks/bc1f8ef9.b79035bd0f565c66.js +0 -1
- package/apps/pwa/out/_next/static/chunks/cf9ff424.b702f4a2ac70d836.js +0 -1
- package/apps/pwa/out/_next/static/chunks/d90ea774-d492ff408af303c1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/ec9064d2.691021d974525713.js +0 -122
- package/apps/pwa/out/_next/static/chunks/ef9d715f.186b83d00befb229.js +0 -1
- package/apps/pwa/out/_next/static/chunks/framework-f01b715c1ec2fb74.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-3267c2e627901292.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-app-a690bcbeac3c465d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_app-124f11699738fd43.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_error-754b7bd073a36a5f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/webpack-8ded1efe8121eba0.js +0 -1
- /package/apps/pwa/out/_next/static/{98VlBaYvL-VVnCq93_lFS → 5URFQKPO21SIgTlLvb1Jv}/_ssgManifest.js +0 -0
package/src/tui/entry.ts
CHANGED
|
@@ -57,6 +57,27 @@ interface AtPickerQuery {
|
|
|
57
57
|
readonly end: number;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
export function atPickerHeaderLines(
|
|
61
|
+
candidates: readonly AtPickerCandidate[],
|
|
62
|
+
selected: number,
|
|
63
|
+
availableRows: number,
|
|
64
|
+
fit: (text: string) => string,
|
|
65
|
+
): string[] {
|
|
66
|
+
if (availableRows <= 0) return [];
|
|
67
|
+
const safeSelected = Math.max(0, Math.min(selected, candidates.length - 1));
|
|
68
|
+
if (availableRows === 1) {
|
|
69
|
+
const candidate = candidates[safeSelected];
|
|
70
|
+
return [fit(candidate ? `@ ${safeSelected + 1}/${candidates.length} · ${candidate.label}` : '@ 파일 후보 없음')];
|
|
71
|
+
}
|
|
72
|
+
const limit = Math.max(1, Math.min(6, availableRows - 1));
|
|
73
|
+
const start = Math.max(0, Math.min(safeSelected - limit + 1, candidates.length - limit));
|
|
74
|
+
const visible = candidates.slice(start, start + limit);
|
|
75
|
+
return [
|
|
76
|
+
fit(visible.length ? '@ 파일 첨부 · ↑↓ 선택 · Enter 추가 · Esc 닫기' : '@ 파일 후보 없음'),
|
|
77
|
+
...visible.map((candidate, offset) => fit((start + offset === safeSelected ? '▸' : ' ') + ' ' + candidate.label)),
|
|
78
|
+
];
|
|
79
|
+
}
|
|
80
|
+
|
|
60
81
|
/** Local chat entry: history and input are TUI-owned; turn execution stays shared. */
|
|
61
82
|
export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
62
83
|
if (!process.stdin.isTTY) throw new Error('elanous --tui next requires stdin TTY');
|
|
@@ -90,7 +111,8 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
90
111
|
let maxScroll = 0;
|
|
91
112
|
let focus: 'input' | 'log' = 'input';
|
|
92
113
|
let sidetabEnabled = options.sidetabMode !== 'off';
|
|
93
|
-
let
|
|
114
|
+
let sidetabViewMode: 'current' | 'all' | 'workspaces' = 'current';
|
|
115
|
+
const expandedWorkspaceIds = new Set<string>();
|
|
94
116
|
let sidetabOpen = sidetabEnabled && (session?.meta.uiState?.sidetabOpen ?? sidetabOpenBySession.get(id!) ?? options.sidetabMode === 'open');
|
|
95
117
|
let sidetabSelected = 0;
|
|
96
118
|
let sidetabMode: 'list' | 'new' = 'list';
|
|
@@ -105,6 +127,10 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
105
127
|
let herdrSidetabRefreshPending = false;
|
|
106
128
|
let herdrSidetabPortal: import('./sidetab/herdr-portal.js').HerdrSidetabPortal | null = null;
|
|
107
129
|
let sidetabApi: typeof import('./sidetab/list.js') | null = null;
|
|
130
|
+
const getSidetabViewMode = (): 'current' | 'all' | 'workspaces' => sidetabViewMode;
|
|
131
|
+
const sidetabScope = () => getSidetabViewMode() === 'workspaces'
|
|
132
|
+
? { mode: 'workspaces' as const, expandedWorkspaceIds: [...expandedWorkspaceIds] }
|
|
133
|
+
: undefined;
|
|
108
134
|
// ⚠️ `as` 단언은 «null 로 좁혀지는» 흐름 분석을 푸는 것 — 값은 클로저(ensureSidetabAttachments) 안에서만 바뀐다.
|
|
109
135
|
let sidetabAttachments: import('./sidetab/attach.js').SidetabAttachmentController | null = null as import('./sidetab/attach.js').SidetabAttachmentController | null;
|
|
110
136
|
let pendingSidetabSwitch: string | null = null;
|
|
@@ -330,13 +356,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
330
356
|
// Reserve the prompt, footer, and picker heading before assigning candidate rows.
|
|
331
357
|
const pickerRows = rows - header.length - footer.length - 1;
|
|
332
358
|
if (pickerRows > 0) {
|
|
333
|
-
|
|
334
|
-
const start = Math.max(0, Math.min(atPicker.selected - limit + 1, atPicker.candidates.length - limit));
|
|
335
|
-
const visible = atPicker.candidates.slice(start, start + limit);
|
|
336
|
-
header.push(fitLogLine(visible.length ? '@ 파일 첨부 · ↑↓ 선택 · Enter 추가 · Esc 닫기' : '@ 파일 후보 없음', chatColumns));
|
|
337
|
-
for (const [offset, candidate] of visible.entries()) {
|
|
338
|
-
header.push(fitLogLine((start + offset === atPicker.selected ? '▸' : ' ') + ' ' + candidate.label, chatColumns));
|
|
339
|
-
}
|
|
359
|
+
header.push(...atPickerHeaderLines(atPicker.candidates, atPicker.selected, pickerRows, (line) => fitLogLine(line, chatColumns)));
|
|
340
360
|
}
|
|
341
361
|
}
|
|
342
362
|
const history = [
|
|
@@ -412,7 +432,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
412
432
|
return;
|
|
413
433
|
}
|
|
414
434
|
if (!sidetabApi) sidetabApi = await import('./sidetab/list.js');
|
|
415
|
-
sidetabRows = sidetabApi.loadSidetabRows(
|
|
435
|
+
sidetabRows = sidetabApi.loadSidetabRows(getSidetabViewMode() === 'all', undefined, sidetabScope());
|
|
416
436
|
const current = sidetabRows.findIndex((row) => row.sessionId === id);
|
|
417
437
|
const next = sidetabApi.applySidetabKey({ open: sidetabOpen, selected: current >= 0 ? current : sidetabSelected }, 'toggle', sidetabRows.length);
|
|
418
438
|
sidetabOpen = next.open;
|
|
@@ -439,12 +459,20 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
439
459
|
const refreshSidetabRows = (): void => {
|
|
440
460
|
if (!sidetabApi) return;
|
|
441
461
|
const selectedId = sidetabRows[sidetabSelected]?.id;
|
|
442
|
-
sidetabRows = [...sidetabApi.loadSidetabRows(
|
|
462
|
+
sidetabRows = [...sidetabApi.loadSidetabRows(getSidetabViewMode() === 'all', undefined, sidetabScope()), ...herdrSidetabRows, ...remoteSidetabRows];
|
|
443
463
|
const preservedIndex = selectedId ? sidetabRows.findIndex((row) => row.id === selectedId) : -1;
|
|
444
464
|
sidetabSelected = preservedIndex >= 0
|
|
445
465
|
? preservedIndex
|
|
446
466
|
: Math.min(sidetabSelected, Math.max(0, sidetabRows.length - 1));
|
|
447
467
|
};
|
|
468
|
+
const toggleWorkspaceRow = (row: { id: string; kind: string }): boolean => {
|
|
469
|
+
if (sidetabViewMode !== 'workspaces' || row.kind !== 'workspace') return false;
|
|
470
|
+
if (expandedWorkspaceIds.has(row.id)) expandedWorkspaceIds.delete(row.id);
|
|
471
|
+
else expandedWorkspaceIds.add(row.id);
|
|
472
|
+
refreshSidetabRows();
|
|
473
|
+
return true;
|
|
474
|
+
};
|
|
475
|
+
|
|
448
476
|
const refreshHerdrSidetabRows = async (): Promise<void> => {
|
|
449
477
|
if (herdrSidetabRefreshPending) return;
|
|
450
478
|
herdrSidetabRefreshPending = true;
|
|
@@ -480,10 +508,14 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
480
508
|
} catch { /* Remote sidetab is opt-in; local rows remain available. */ }
|
|
481
509
|
finally { remoteSidetabRefreshPending = false; }
|
|
482
510
|
};
|
|
483
|
-
const switchSidetabSession = async (requestedSessionId?: string): Promise<void> => {
|
|
511
|
+
const switchSidetabSession = async (requestedSessionId?: string, sourcePtyId?: string): Promise<void> => {
|
|
484
512
|
const selected = sidetabRows[sidetabSelected];
|
|
485
513
|
const targetId = requestedSessionId ?? (selected?.kind === 'tui' ? selected.sessionId : undefined);
|
|
486
514
|
if (!targetId || targetId === id) return;
|
|
515
|
+
if (sourcePtyId && !sidetabRows.some((row) => row.ptyId === sourcePtyId && row.sessionId === targetId)) {
|
|
516
|
+
status = '세션 목록이 갱신되어 전환을 취소했습니다';
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
487
519
|
if (busy) {
|
|
488
520
|
status = '응답 중에는 세션을 전환할 수 없습니다';
|
|
489
521
|
return;
|
|
@@ -538,7 +570,8 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
538
570
|
}
|
|
539
571
|
sidetabSelected = index;
|
|
540
572
|
const selected = sidetabRows[index]!;
|
|
541
|
-
if (selected
|
|
573
|
+
if (toggleWorkspaceRow(selected)) render();
|
|
574
|
+
else if (selected.kind === 'tui') await switchSidetabSession(selected.sessionId, selected.ptyId);
|
|
542
575
|
else {
|
|
543
576
|
await ensureSidetabAttachments();
|
|
544
577
|
sidetabAttachments?.select(selected);
|
|
@@ -756,7 +789,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
756
789
|
|
|
757
790
|
if (sidetabOpen) {
|
|
758
791
|
sidetabApi = await import('./sidetab/list.js');
|
|
759
|
-
sidetabRows = sidetabApi.loadSidetabRows(
|
|
792
|
+
sidetabRows = sidetabApi.loadSidetabRows(getSidetabViewMode() === 'all', undefined, sidetabScope());
|
|
760
793
|
void refreshHerdrSidetabRows();
|
|
761
794
|
sidetabRefreshTimer = setInterval(() => {
|
|
762
795
|
if (!sidetabApi || !sidetabOpen) return;
|
|
@@ -806,6 +839,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
806
839
|
rows: async () => { if (!sidetabApi) sidetabApi = await import('./sidetab/list.js'); refreshSidetabRows(); return sidetabRows; },
|
|
807
840
|
selected: () => sidetabSelected,
|
|
808
841
|
switchSession: async (row) => {
|
|
842
|
+
if (toggleWorkspaceRow(row)) { render(); return { ok: true, action: 'expand', target: row.id }; }
|
|
809
843
|
if (!row.sessionId) return { error: '전환할 TUI 세션 id가 없습니다' };
|
|
810
844
|
const index = sidetabRows.findIndex((item) => item.id === row.id);
|
|
811
845
|
if (index < 0) return { error: '세션 목록이 갱신되어 전환을 취소했습니다' };
|
|
@@ -815,11 +849,17 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
815
849
|
return { ok: true, action: 'switch', target: row.id, scheduled: 'after-turn' };
|
|
816
850
|
}
|
|
817
851
|
sidetabSelected = index;
|
|
818
|
-
await switchSidetabSession(row.sessionId);
|
|
852
|
+
await switchSidetabSession(row.sessionId, row.ptyId);
|
|
819
853
|
render();
|
|
820
854
|
return { ok: true, action: 'switch', target: row.id };
|
|
821
855
|
},
|
|
822
|
-
attach: async (row) => {
|
|
856
|
+
attach: async (row) => {
|
|
857
|
+
if (toggleWorkspaceRow(row)) { render(); return { ok: true, action: 'expand', target: row.id }; }
|
|
858
|
+
await ensureSidetabAttachments();
|
|
859
|
+
const ok = sidetabAttachments!.select(row);
|
|
860
|
+
render();
|
|
861
|
+
return { ok, action: 'attach', target: row.id };
|
|
862
|
+
},
|
|
823
863
|
detach: () => { if (sidetabAttachments?.hasRemoteView()) sidetabAttachments.showMain(); else if (sidetabAttachments?.hasModal()) { sidetabAttachments.handleKey({ name: '\\', ctrl: true, shift: false, raw: '' }); sidetabAttachments.handleKey({ name: 'd', ctrl: false, shift: false, raw: 'd' }); } render(); return { ok: true, action: 'detach' }; },
|
|
824
864
|
spawn: async (character) => { await ensureSidetabAttachments(); const ok = sidetabAttachments!.spawn(character); refreshSidetabRows(); render(); return { ok, action: 'new', character }; },
|
|
825
865
|
runMission: async (agent, mission) => { await ensureSidetabAttachments(); const result = await sidetabAttachments!.runMission(agent, mission); refreshSidetabRows(); render(); return result; },
|
|
@@ -910,7 +950,9 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
910
950
|
if (sidetabRows.length > 0) {
|
|
911
951
|
const delta = key.name === 'up' ? -1 : 1;
|
|
912
952
|
sidetabSelected = (sidetabSelected + delta + sidetabRows.length) % sidetabRows.length;
|
|
913
|
-
if (sidetabRows[sidetabSelected]!.kind === '
|
|
953
|
+
if (sidetabRows[sidetabSelected]!.kind === 'workspace') {
|
|
954
|
+
// Workspace parents are toggled with Enter; arrow selection never routes them to PTY attach.
|
|
955
|
+
} else if (sidetabRows[sidetabSelected]!.kind === 'tui') await switchSidetabSession(sidetabRows[sidetabSelected]!.sessionId, sidetabRows[sidetabSelected]!.ptyId);
|
|
914
956
|
else {
|
|
915
957
|
await ensureSidetabAttachments();
|
|
916
958
|
sidetabAttachments?.select(sidetabRows[sidetabSelected]!);
|
|
@@ -1033,7 +1075,8 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
1033
1075
|
const next = sidetabApi!.applySidetabKey({ open: sidetabOpen, selected: sidetabSelected }, key.name, sidetabRows.length);
|
|
1034
1076
|
sidetabSelected = next.selected;
|
|
1035
1077
|
if (sidetabRows[sidetabSelected]) {
|
|
1036
|
-
if (sidetabRows[sidetabSelected]!.kind === '
|
|
1078
|
+
if (sidetabRows[sidetabSelected]!.kind === 'workspace') { /* Workspace parents have no PTY target. */ }
|
|
1079
|
+
else if (sidetabRows[sidetabSelected]!.kind === 'tui') await switchSidetabSession(sidetabRows[sidetabSelected]!.sessionId, sidetabRows[sidetabSelected]!.ptyId);
|
|
1037
1080
|
else {
|
|
1038
1081
|
await ensureSidetabAttachments();
|
|
1039
1082
|
sidetabAttachments?.select(sidetabRows[sidetabSelected]!);
|
|
@@ -1045,7 +1088,9 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
1045
1088
|
if (sidetabOpen && editor.text.length === 0 && key.name === 'enter') {
|
|
1046
1089
|
const selected = sidetabRows[sidetabSelected];
|
|
1047
1090
|
if (selected) {
|
|
1048
|
-
if (selected
|
|
1091
|
+
if (toggleWorkspaceRow(selected)) {
|
|
1092
|
+
// The workspace parent has no PTY target; refresh to show or hide its member rows.
|
|
1093
|
+
} else if (selected.kind === 'tui') await switchSidetabSession(selected.sessionId, selected.ptyId);
|
|
1049
1094
|
else {
|
|
1050
1095
|
await ensureSidetabAttachments();
|
|
1051
1096
|
sidetabAttachments?.select(selected);
|
|
@@ -1380,7 +1425,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
1380
1425
|
const args = submitted.slice(1).trim().split(/\s+/);
|
|
1381
1426
|
const action = args[1]?.toLowerCase();
|
|
1382
1427
|
if (action === 'help') {
|
|
1383
|
-
activity.push('/side [open|close|off|on|all|new|kill|help] · /sidetab 별칭', 'Ctrl+\\ 후 s=사이드탭 · p=부모 · 1–9=선택 · Esc=입력 · 목록 클릭=전환');
|
|
1428
|
+
activity.push('/side [open|close|off|on|all|workspaces|new|kill|help] · /sidetab 별칭', 'Ctrl+\\ 후 s=사이드탭 · p=부모 · 1–9=선택 · Esc=입력 · 목록 클릭=전환');
|
|
1384
1429
|
status = 'Enter 전송';
|
|
1385
1430
|
} else if (action === 'off') {
|
|
1386
1431
|
const restoreOpen = sidetabOpen;
|
|
@@ -1401,11 +1446,20 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
1401
1446
|
} else if (action === 'close') {
|
|
1402
1447
|
if (sidetabOpen) await toggleSidetab();
|
|
1403
1448
|
} else if (action === 'all') {
|
|
1404
|
-
|
|
1449
|
+
expandedWorkspaceIds.clear();
|
|
1450
|
+
const nextViewMode: 'current' | 'all' = sidetabViewMode === 'all' ? 'current' : 'all';
|
|
1451
|
+
sidetabViewMode = nextViewMode;
|
|
1452
|
+
sidetabEnabled = true;
|
|
1453
|
+
if (!sidetabOpen) await toggleSidetab();
|
|
1454
|
+
else refreshSidetabRows();
|
|
1455
|
+
status = nextViewMode === 'all' ? '사이드탭 전체 목록' : '사이드탭 현재 세션 목록';
|
|
1456
|
+
} else if (action === 'workspaces') {
|
|
1457
|
+
expandedWorkspaceIds.clear();
|
|
1458
|
+
sidetabViewMode = sidetabViewMode === 'workspaces' ? 'current' : 'workspaces';
|
|
1405
1459
|
sidetabEnabled = true;
|
|
1406
1460
|
if (!sidetabOpen) await toggleSidetab();
|
|
1407
1461
|
else refreshSidetabRows();
|
|
1408
|
-
status =
|
|
1462
|
+
status = sidetabViewMode === 'workspaces' ? '사이드탭 미션·하니스 워크스페이스' : '사이드탭 현재 세션 목록';
|
|
1409
1463
|
} else if (action === 'kill') {
|
|
1410
1464
|
if (!sidetabApi) sidetabApi = await import('./sidetab/list.js');
|
|
1411
1465
|
refreshSidetabRows();
|
|
@@ -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> => {
|
package/src/tui/sidetab/list.ts
CHANGED
|
@@ -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
|
-
|
|
17
|
+
const rows = loadCoreSidetabRows(all, currentSessionId, scopeOverrides);
|
|
18
|
+
return rows.map((row) => ({
|
|
18
19
|
...row,
|
|
19
20
|
previewSource: snapshots.get(row.id) ?? '',
|
|
20
21
|
}));
|
|
@@ -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
|
-
|
|
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
|
|
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":"
|
|
1
|
+
{"commit":"605213132c5ee717552bb2325517b5b10136f35b"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1388],{4821:(e,t,n)=>{n.d(t,{o:()=>s});var r=n(99555),l=n(61581),o=n(45334),u=n(51676);function a(e){if(!l.isValidElement(e))return null;let t=e.props;return((0,u._)(19)?t?.ref:e.ref)??null}var i=n(90685),c=n(83254),f=n(94825);function s(e,t,n={}){let u=t.render,v=function(e,t={}){var n;let{className:r,style:l,render:u}=e,{state:s=c.t0,ref:d,props:v,stateAttributesMapping:p,enabled:y=!0}=t,b=y?"function"==typeof r?r(s):r:void 0,m=y?"function"==typeof l?l(s):l:void 0,h=y?function(e,t){let n={};for(let r in e){let l=e[r];if(t?.hasOwnProperty(r)){let e=t[r](l);null!=e&&Object.assign(n,e);continue}!0===l?n[`data-${r.toLowerCase()}`]="":l&&(n[`data-${r.toLowerCase()}`]=l.toString())}return n}(s,p):c.t0,g=y&&v?Array.isArray(n=v)?(0,f.lZ)(n):(0,f.v6)(void 0,n):void 0,k=y?(0,i.r)(h,g)??{}:c.t0;return("undefined"!=typeof document&&(y?Array.isArray(d)?k.ref=(0,o.U)([k.ref,a(u),...d]):k.ref=(0,o.a)(k.ref,a(u),d):(0,o.a)(null,null)),y)?(void 0!==b&&(k.className=(0,f.VN)(k.className,b)),void 0!==m&&(k.style=(0,i.r)(k.style,m)),k):c.t0}(t,n);return!1===n.enabled?null:function(e,t,n,o){if(t){if("function"==typeof t)return t(n,o);let e=(0,f.v6)(n,t.props);e.ref=n.ref;let r=t;return r?.$$typeof===d&&(r=l.Children.toArray(t)[0]),l.cloneElement(r,e)}if(e&&"string"==typeof e){var u,a;return u=e,a=n,"button"===u?(0,l.createElement)("button",{type:"button",...a,key:a.key}):"img"===u?(0,l.createElement)("img",{alt:"",...a,key:a.key}):l.createElement(u,a)}throw Error((0,r.A)(8))}(e,u,v,n.state??c.t0)}let d=Symbol.for("react.lazy")},6040:(e,t,n)=>{n.d(t,{K:()=>i});var r,l=n(61581),o=n(47895);let u=(r||(r=n.t(l,2)))["useInsertionEffect".concat(Math.random().toFixed(1)).slice(0,-3)],a=u&&u!==l.useLayoutEffect?u:e=>e();function i(e){let t=(0,o.j)(c).current;return t.next=e,a(t.effect),t.trampoline}function c(){let e={next:void 0,callback:f,trampoline:function(){for(var t,n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];return null==(t=e.callback)?void 0:t.call(e,...r)},effect:()=>{e.callback=e.next}};return e}function f(){}},40673:(e,t,n)=>{n.d(t,{s:()=>f});var r=n(61581),l=n(50204),o=n(6040),u=n(59470),a=n(94825),i=n(99555);let c=r.createContext(void 0);function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{disabled:t=!1,focusableWhenDisabled:n,tabIndex:l=0,native:f=!0,composite:d}=e,v=r.useRef(null),p=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=r.useContext(c);if(void 0===t&&!e)throw Error((0,i.A)(16));return t}(!0),y=null!=d?d:void 0!==p,{props:b}=function(e){let{focusableWhenDisabled:t,disabled:n,composite:l=!1,tabIndex:o=0,isNativeButton:u}=e,a=l&&!1!==t,i=l&&!1===t;return{props:r.useMemo(()=>{let e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return l||(e.tabIndex=o,!u&&n&&(e.tabIndex=t?o:-1)),(u&&(t||a)||!u&&n)&&(e["aria-disabled"]=n),u&&(!t||i)&&(e.disabled=n),e},[l,n,t,a,i,u,o])}}({focusableWhenDisabled:n,disabled:t,composite:y,tabIndex:l,isNativeButton:f}),m=r.useCallback(()=>{let e=v.current;s(e)&&y&&t&&void 0===b.disabled&&e.disabled&&(e.disabled=!1)},[t,b.disabled,y]);return(0,u.g)(m,[m]),{getButtonProps:r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onClick:n,onMouseDown:r,onKeyUp:l,onKeyDown:o,onPointerDown:u,...i}=e,c=f?"button":void 0;return(0,a.v6)({type:c,onClick(e){if(t)return void e.preventDefault();null==n||n(e)},onMouseDown(e){t||null==r||r(e)},onKeyDown(e){var r;if(t||((0,a.PT)(e),null==o||o(e),e.baseUIHandlerPrevented))return;let l=e.target===e.currentTarget,u=e.currentTarget,i=s(u),c=!f&&!!((null==(r=u)?void 0:r.tagName)==="A"&&(null==r?void 0:r.href)),d=l&&(f?i:!c),v="Enter"===e.key,p=" "===e.key,b=u.getAttribute("role"),m=(null==b?void 0:b.startsWith("menuitem"))||"option"===b||"gridcell"===b;if(l&&y&&p){if(e.defaultPrevented&&m)return;e.preventDefault(),c||f&&i?(u.click(),e.preventBaseUIHandler()):d&&(null==n||n(e),e.preventBaseUIHandler());return}d&&(!f&&(p||v)&&e.preventDefault(),!f&&v&&(null==n||n(e)))},onKeyUp(e){if(!t){if((0,a.PT)(e),null==l||l(e),e.target===e.currentTarget&&f&&y&&s(e.currentTarget)&&" "===e.key)return void e.preventDefault();!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||f||y||" "!==e.key||null==n||n(e))}},onPointerDown(e){if(t)return void e.preventDefault();null==u||u(e)}},f?void 0:{role:"button"},b,i)},[t,b,y,f]),buttonRef:(0,o.K)(e=>{v.current=e,m()})}}function s(e){return(0,l.sb)(e)&&"BUTTON"===e.tagName}},45334:(e,t,n)=>{n.d(t,{U:()=>o,a:()=>l});var r=n(47895);function l(e,t,n,l){var o,i,c,f,s;let d=(0,r.j)(u).current;return o=d,i=e,c=t,f=n,s=l,(o.refs[0]!==i||o.refs[1]!==c||o.refs[2]!==f||o.refs[3]!==s)&&a(d,[e,t,n,l]),d.callback}function o(e){var t,n;let l=(0,r.j)(u).current;return t=l,n=e,(t.refs.length!==n.length||t.refs.some((e,t)=>e!==n[t]))&&a(l,e),l.callback}function u(){return{callback:null,cleanup:null,refs:[]}}function a(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let l=t[e];if(null!=l)switch(typeof l){case"function":{let t=l(n);"function"==typeof t&&(r[e]=t);break}case"object":l.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(null!=n)switch(typeof n){case"function":{let t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}},47895:(e,t,n)=>{n.d(t,{j:()=>o});var r=n(61581);let l={};function o(e,t){let n=r.useRef(l);return n.current===l&&(n.current=e(t)),n}},47952:(e,t,n)=>{n.d(t,{$:()=>u});var r=n(61581),l=n(40673),o=n(4821);let u=r.forwardRef(function(e,t){let{render:n,className:r,disabled:u=!1,focusableWhenDisabled:a=!1,nativeButton:i=!0,style:c,...f}=e,{getButtonProps:s,buttonRef:d}=(0,l.s)({disabled:u,focusableWhenDisabled:a,native:i});return(0,o.o)("button",e,{state:{disabled:u},ref:[t,d],props:[f,s]})})},50204:(e,t,n)=>{let r;function l(){return"undefined"!=typeof window}function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function u(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){return!!l()&&(e instanceof Node||e instanceof u(e).Node)}function i(e){return!!l()&&(e instanceof Element||e instanceof u(e).Element)}function c(e){return!!l()&&(e instanceof HTMLElement||e instanceof u(e).HTMLElement)}function f(e){return!!l()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof u(e).ShadowRoot)}function s(e){let{overflow:t,overflowX:n,overflowY:r,display:l}=p(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==l&&"contents"!==l}function d(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function v(e){return/^(html|body|#document)$/.test(o(e))}function p(e){return u(e).getComputedStyle(e)}function y(e){var t;if("html"===o(e))return e;let n=e.assignedSlot||e.parentNode||f(e)&&e.host||(null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement);return f(n)?n.host:n}n.d(t,{$4:()=>y,L9:()=>p,Ll:()=>a,Ng:()=>f,Tc:()=>d,ZU:()=>s,eu:()=>v,mq:()=>o,sb:()=>c,vq:()=>i,zk:()=>u})},51676:(e,t,n)=>{n.d(t,{_:()=>l});let r=parseInt(n(61581).version,10);function l(e){return r>=e}},59470:(e,t,n)=>{n.d(t,{g:()=>l});var r=n(61581);let l="undefined"!=typeof document?r.useLayoutEffect:()=>{}},81103:(e,t,n)=>{n.d(t,{F:()=>u});var r=n(89619);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=r.$,u=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:u,defaultVariants:a}=t,i=Object.keys(u).map(e=>{let t=null==n?void 0:n[e],r=null==a?void 0:a[e];if(null===t)return null;let o=l(t)||l(r);return u[e][o]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,i,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:n,className:r,...l}=t;return Object.entries(l).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...c}[t]):({...a,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},83254:(e,t,n)=>{function r(){}n.d(t,{t0:()=>l,tE:()=>r}),Object.freeze([]);let l=Object.freeze({})},90685:(e,t,n)=>{n.d(t,{r:()=>r});function r(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}},94825:(e,t,n)=>{n.d(t,{PT:()=>v,VN:()=>p,lZ:()=>u,v6:()=>o});var r=n(90685);let l={};function o(e,t,n,r,l){if(!n&&!r&&!l&&!e)return a(t);let o=a(e);return t&&(o=i(o,t)),n&&(o=i(o,n)),r&&(o=i(o,r)),l&&(o=i(o,l)),o}function u(e){if(0===e.length)return l;if(1===e.length)return a(e[0]);let t=a(e[0]);for(let n=1;n<e.length;n+=1)t=i(t,e[n]);return t}function a(e){return f(e)?{...s(e,l)}:function(e){let t={...e};for(let e in t){let n=t[e];c(e,n)&&(t[e]=d(n))}return t}(e)}function i(e,t){return f(t)?s(t,e):function(e,t){if(!t)return e;for(let n in t){let l=t[n];switch(n){case"style":e[n]=(0,r.r)(e.style,l);break;case"className":e[n]=p(e.className,l);break;default:c(n,l)?e[n]=function(e,t){return t?e?(...n)=>{let r=n[0];if(y(r)){v(r);let l=t(...n);return r.baseUIHandlerPrevented||e?.(...n),l}let l=t(...n);return e?.(...n),l}:d(t):e}(e[n],l):e[n]=l}}return e}(e,t)}function c(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),l=e.charCodeAt(2);return 111===n&&110===r&&l>=65&&l<=90&&("function"==typeof t||void 0===t)}function f(e){return"function"==typeof e}function s(e,t){return f(e)?e(t):e??l}function d(e){return e?(...t)=>{let n=t[0];return y(n)&&v(n),e(...t)}:e}function v(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function p(e,t){return t?e?t+" "+e:t:e}function y(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}},99555:(e,t,n)=>{n.d(t,{A:()=>r});let r=function(e,...t){let n=new URL("https://base-ui.com/production-error");return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${n} for the full message.`}}}]);
|