@shepai/cli 1.169.1-pr525.b4d0ff7 → 1.169.1-pr526.8e89740

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 (208) hide show
  1. package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts +8 -0
  2. package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts.map +1 -1
  3. package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.d.ts.map +1 -1
  4. package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.js +23 -2
  5. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.d.ts +21 -0
  6. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.d.ts.map +1 -1
  7. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.js +61 -0
  8. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts +16 -0
  9. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts.map +1 -1
  10. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.js +47 -4
  11. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.d.ts.map +1 -1
  12. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.js +20 -39
  13. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.d.ts +0 -5
  14. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.d.ts.map +1 -1
  15. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.js +0 -34
  16. package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts +1 -0
  17. package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts.map +1 -1
  18. package/dist/packages/core/src/infrastructure/services/git/git-pr.service.js +8 -0
  19. package/dist/tsconfig.build.tsbuildinfo +1 -1
  20. package/package.json +1 -1
  21. package/web/.next/BUILD_ID +1 -1
  22. package/web/.next/build-manifest.json +4 -4
  23. package/web/.next/fallback-build-manifest.json +2 -2
  24. package/web/.next/prerender-manifest.json +3 -3
  25. package/web/.next/required-server-files.js +1 -1
  26. package/web/.next/required-server-files.json +1 -1
  27. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +2 -2
  28. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  29. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  30. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  31. package/web/.next/server/app/(dashboard)/@drawer/chat/page/build-manifest.json +2 -2
  32. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  33. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  34. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  35. package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +2 -2
  36. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +30 -30
  37. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  38. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  39. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +2 -2
  40. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +38 -38
  41. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  42. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  43. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +2 -2
  44. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +38 -38
  45. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  46. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  47. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/build-manifest.json +2 -2
  48. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  49. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  50. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  51. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +2 -2
  52. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  53. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  54. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  55. package/web/.next/server/app/(dashboard)/chat/page/build-manifest.json +2 -2
  56. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  57. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  58. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  59. package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +2 -2
  60. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +30 -30
  61. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  62. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  63. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +2 -2
  64. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +38 -38
  65. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  66. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  67. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +2 -2
  68. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +38 -38
  69. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  70. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  71. package/web/.next/server/app/(dashboard)/page/build-manifest.json +2 -2
  72. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  73. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  74. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  75. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/build-manifest.json +2 -2
  76. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  77. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  78. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  79. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +2 -2
  80. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  81. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  82. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  83. package/web/.next/server/app/_global-error/page/build-manifest.json +2 -2
  84. package/web/.next/server/app/_global-error.html +2 -2
  85. package/web/.next/server/app/_global-error.rsc +1 -1
  86. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  87. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  88. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  89. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  90. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  91. package/web/.next/server/app/_not-found/page/build-manifest.json +2 -2
  92. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  93. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  94. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  95. package/web/.next/server/app/features/page/build-manifest.json +2 -2
  96. package/web/.next/server/app/features/page/server-reference-manifest.json +6 -6
  97. package/web/.next/server/app/features/page.js.nft.json +1 -1
  98. package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
  99. package/web/.next/server/app/settings/page/build-manifest.json +2 -2
  100. package/web/.next/server/app/settings/page/server-reference-manifest.json +9 -9
  101. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  102. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  103. package/web/.next/server/app/skills/page/build-manifest.json +2 -2
  104. package/web/.next/server/app/skills/page/server-reference-manifest.json +11 -11
  105. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  106. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  107. package/web/.next/server/app/tools/page/build-manifest.json +2 -2
  108. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  109. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  110. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  111. package/web/.next/server/app/version/page/build-manifest.json +2 -2
  112. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  113. package/web/.next/server/app/version/page.js.nft.json +1 -1
  114. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  115. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  116. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  117. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  118. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +2 -2
  119. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
  120. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +1 -1
  121. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +1 -1
  122. package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
  123. package/web/.next/server/chunks/ssr/[root-of-the-server]__4fb81977._.js +1 -1
  124. package/web/.next/server/chunks/ssr/[root-of-the-server]__4fb81977._.js.map +1 -1
  125. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +1 -1
  126. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +1 -1
  127. package/web/.next/server/chunks/ssr/[root-of-the-server]__7dcd0917._.js +1 -1
  128. package/web/.next/server/chunks/ssr/[root-of-the-server]__7dcd0917._.js.map +1 -1
  129. package/web/.next/server/chunks/ssr/[root-of-the-server]__7ffd3598._.js +2 -2
  130. package/web/.next/server/chunks/ssr/[root-of-the-server]__7ffd3598._.js.map +1 -1
  131. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js +2 -2
  132. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js.map +1 -1
  133. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +1 -1
  134. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +1 -1
  135. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba7f5873._.js +1 -1
  136. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba7f5873._.js.map +1 -1
  137. package/web/.next/server/chunks/ssr/[root-of-the-server]__c5e09f6f._.js +1 -1
  138. package/web/.next/server/chunks/ssr/[root-of-the-server]__c5e09f6f._.js.map +1 -1
  139. package/web/.next/server/chunks/ssr/[root-of-the-server]__e88da4ee._.js +1 -1
  140. package/web/.next/server/chunks/ssr/_02e01240._.js +1 -1
  141. package/web/.next/server/chunks/ssr/_02e01240._.js.map +1 -1
  142. package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
  143. package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
  144. package/web/.next/server/chunks/ssr/_0727935d._.js +1 -1
  145. package/web/.next/server/chunks/ssr/_0727935d._.js.map +1 -1
  146. package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
  147. package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
  148. package/web/.next/server/chunks/ssr/_18886033._.js +1 -1
  149. package/web/.next/server/chunks/ssr/_18886033._.js.map +1 -1
  150. package/web/.next/server/chunks/ssr/_22e00a14._.js +1 -1
  151. package/web/.next/server/chunks/ssr/_22e00a14._.js.map +1 -1
  152. package/web/.next/server/chunks/ssr/_4cbb7f95._.js +1 -1
  153. package/web/.next/server/chunks/ssr/_4cbb7f95._.js.map +1 -1
  154. package/web/.next/server/chunks/ssr/{_2cb7a4bf._.js → _52a9052c._.js} +2 -2
  155. package/web/.next/server/chunks/ssr/{_2cb7a4bf._.js.map → _52a9052c._.js.map} +1 -1
  156. package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
  157. package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
  158. package/web/.next/server/chunks/ssr/{_5be4f724._.js → _97ba1e88._.js} +2 -2
  159. package/web/.next/server/chunks/ssr/{_5be4f724._.js.map → _97ba1e88._.js.map} +1 -1
  160. package/web/.next/server/chunks/ssr/_a1068852._.js +1 -1
  161. package/web/.next/server/chunks/ssr/_a5a5901d._.js +1 -1
  162. package/web/.next/server/chunks/ssr/_a5a5901d._.js.map +1 -1
  163. package/web/.next/server/chunks/ssr/_ad09f271._.js +1 -1
  164. package/web/.next/server/chunks/ssr/_ad09f271._.js.map +1 -1
  165. package/web/.next/server/chunks/ssr/_c3f595c6._.js +1 -1
  166. package/web/.next/server/chunks/ssr/_c3f595c6._.js.map +1 -1
  167. package/web/.next/server/chunks/ssr/{_e4891f9d._.js → _cbeb3852._.js} +2 -2
  168. package/web/.next/server/chunks/ssr/{_e4891f9d._.js.map → _cbeb3852._.js.map} +1 -1
  169. package/web/.next/server/chunks/ssr/_ea9e1556._.js +1 -1
  170. package/web/.next/server/chunks/ssr/_ea9e1556._.js.map +1 -1
  171. package/web/.next/server/chunks/ssr/_f1ba9be6._.js +2 -2
  172. package/web/.next/server/chunks/ssr/_f1ba9be6._.js.map +1 -1
  173. package/web/.next/server/chunks/ssr/_f33cd07e._.js +2 -2
  174. package/web/.next/server/chunks/ssr/_f33cd07e._.js.map +1 -1
  175. package/web/.next/server/chunks/ssr/_f8b45233._.js +1 -1
  176. package/web/.next/server/chunks/ssr/_f8b45233._.js.map +1 -1
  177. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  178. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  179. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
  180. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
  181. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +1 -1
  182. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
  183. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
  184. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  185. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  186. package/web/.next/server/middleware-build-manifest.js +2 -2
  187. package/web/.next/server/pages/500.html +2 -2
  188. package/web/.next/server/server-reference-manifest.js +1 -1
  189. package/web/.next/server/server-reference-manifest.json +48 -48
  190. package/web/.next/static/chunks/14dd572f1096c435.js +1 -0
  191. package/web/.next/static/chunks/{994f3e88a3b9b15f.js → 1b25af1545d4fe75.js} +1 -1
  192. package/web/.next/static/chunks/{1483550fb335115a.js → 294b5af681c0f97c.js} +2 -2
  193. package/web/.next/static/chunks/{b405635128fb32f8.js → 507597d4ee67da52.js} +2 -2
  194. package/web/.next/static/chunks/{710bb50061713f18.js → 688aa1f1c444e691.js} +1 -1
  195. package/web/.next/static/chunks/{94ce9f72d5820637.js → 6d13105df94166ea.js} +1 -1
  196. package/web/.next/static/chunks/{d4d0ef36bbfdee5c.js → 6e6f02f79befe9a0.js} +1 -1
  197. package/web/.next/static/chunks/{df258c1e0b6a6a65.js → b1ca3617f9e0b324.js} +1 -1
  198. package/web/.next/static/chunks/{1d71fe46408a0a22.js → bd793f5313d21cef.js} +1 -1
  199. package/web/.next/static/chunks/{53f056aa254c521b.js → cc5eb740be9562f5.js} +1 -1
  200. package/web/.next/static/chunks/{34d9a531303f50f7.js → d0e04c4bd51d2553.js} +1 -1
  201. package/web/.next/static/chunks/{771bc5fb18b64ee2.js → e4523284672b11e5.js} +2 -2
  202. package/web/.next/static/chunks/{ee97b5c134b7b140.js → f06e7cf3b04606a9.js} +1 -1
  203. package/web/.next/static/chunks/{30028fcacaf939f7.js → ff8f6b0cd99a48f0.js} +1 -1
  204. package/web/.next/static/chunks/{turbopack-4a368ba57753685b.js → turbopack-57bb0674e2cd1d31.js} +1 -1
  205. package/web/.next/static/chunks/333e067a79316feb.js +0 -1
  206. /package/web/.next/static/{DmYCIOeq9bVl7arX_r0fd → tylqydlwEYLIq1IbKLtlP}/_buildManifest.js +0 -0
  207. /package/web/.next/static/{DmYCIOeq9bVl7arX_r0fd → tylqydlwEYLIq1IbKLtlP}/_clientMiddlewareManifest.json +0 -0
  208. /package/web/.next/static/{DmYCIOeq9bVl7arX_r0fd → tylqydlwEYLIq1IbKLtlP}/_ssgManifest.js +0 -0
@@ -407,6 +407,14 @@ export interface IGitPrService {
407
407
  * @throws GitPrError with GIT_ERROR code on failure (including stash pop conflicts)
408
408
  */
409
409
  stashPop(cwd: string): Promise<void>;
410
+ /**
411
+ * Drop the most recent stash entry without applying it.
412
+ * Runs `git stash drop`.
413
+ *
414
+ * @param cwd - Working directory path
415
+ * @throws GitPrError with GIT_ERROR code on failure (e.g., no stash entries)
416
+ */
417
+ stashDrop(cwd: string): Promise<void>;
410
418
  /**
411
419
  * Get the sync status (ahead/behind counts) between a feature branch
412
420
  * and a base branch's remote-tracking ref.
@@ -1 +1 @@
1
- {"version":3,"file":"git-pr-service.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/services/git-pr-service.interface.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAEvE;;GAEG;AACH,oBAAY,cAAc;IACxB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;CAC5B;AAED;;GAEG;AACH,qBAAa,UAAW,SAAQ,KAAK;aAGjB,IAAI,EAAE,cAAc;aACpB,KAAK,CAAC,EAAE,KAAK;gBAF7B,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,cAAc,EACpB,KAAK,CAAC,EAAE,KAAK,YAAA;CAKhC;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,wBAAwB;IACxB,MAAM,EAAE,QAAQ,CAAC;IACjB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;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AG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEvD;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErC;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C"}
1
+ {"version":3,"file":"git-pr-service.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/services/git-pr-service.interface.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAEvE;;GAEG;AACH,oBAAY,cAAc;IACxB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;CAC5B;AAED;;GAEG;AACH,qBAAa,UAAW,SAAQ,KAAK;aAGjB,IAAI,EAAE,cAAc;aACpB,KAAK,CAAC,EAAE,KAAK;gBAF7B,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,cAAc,EACpB,KAAK,CAAC,EAAE,KAAK,YAAA;CAKhC;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,wBAAwB;IACxB,MAAM,EAAE,QAAQ,CAAC;IACjB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,UAAU,CAAC,E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IAEvD;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErC;;;;;;OAMG;IACH,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtC;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"rebase-feature-on-main.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAC;AAK7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAClG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAE7G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4FAA4F,CAAC;AAE5I,qBACa,0BAA0B;IAGnC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAE1C,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAVf,WAAW,EAAE,kBAAkB,EAE/B,YAAY,EAAE,aAAa,EAE3B,eAAe,EAAE,gBAAgB,EAEjC,yBAAyB,EAAE,yBAAyB,EAEpD,YAAY,EAAE,mBAAmB,EAEjC,eAAe,EAAE,sBAAsB;IAGpD,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YA+EjC,cAAc;IAwB5B;;;;OAIG;YACW,UAAU;CAOzB"}
1
+ {"version":3,"file":"rebase-feature-on-main.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAC;AAK7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAClG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAE7G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4FAA4F,CAAC;AAE5I,qBACa,0BAA0B;IAGnC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAE1C,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAVf,WAAW,EAAE,kBAAkB,EAE/B,YAAY,EAAE,aAAa,EAE3B,eAAe,EAAE,gBAAgB,EAEjC,yBAAyB,EAAE,yBAAyB,EAEpD,YAAY,EAAE,mBAAmB,EAEjC,eAAe,EAAE,sBAAsB;IAGpD,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAyGjC,cAAc;IAwB5B;;;;OAIG;YACW,UAAU;CAOzB"}
@@ -77,7 +77,8 @@ let RebaseFeatureOnMainUseCase = class RebaseFeatureOnMainUseCase {
77
77
  const cwd = await this.resolveCwd(feature.repositoryPath, feature.branch);
78
78
  const defaultBranch = await this.gitPrService.getDefaultBranch(feature.repositoryPath);
79
79
  // Stash uncommitted changes if present (smart rebase)
80
- const didStash = await this.gitPrService.stash(cwd, 'shep-rebase: auto-stash before rebase');
80
+ const didStash = await this.gitPrService.stash(cwd, `shep-auto-stash: ${feature.branch}`);
81
+ let stashPopError;
81
82
  try {
82
83
  // Auto-sync main before rebasing (per spec decision)
83
84
  await this.gitPrService.syncMain(cwd, defaultBranch);
@@ -98,9 +99,29 @@ let RebaseFeatureOnMainUseCase = class RebaseFeatureOnMainUseCase {
98
99
  finally {
99
100
  // Restore stashed changes after rebase (whether it succeeded or failed)
100
101
  if (didStash) {
101
- await this.gitPrService.stashPop(cwd);
102
+ try {
103
+ await this.gitPrService.stashPop(cwd);
104
+ }
105
+ catch {
106
+ // Stash pop failed — likely conflicts between rebased code and stashed changes.
107
+ // Invoke agent-powered resolution, then drop the stash entry on success.
108
+ try {
109
+ await this.conflictResolutionService.resolveStashPop(cwd, feature.branch, defaultBranch);
110
+ await this.gitPrService.stashDrop(cwd);
111
+ }
112
+ catch {
113
+ stashPopError = new Error(`Rebase succeeded but failed to restore your uncommitted changes. ` +
114
+ `The rebase is complete, but your stashed work-in-progress could not be applied cleanly. ` +
115
+ `Run \`git stash pop\` manually to resolve the remaining conflicts. ` +
116
+ `Your stash entry is preserved.`);
117
+ }
118
+ }
102
119
  }
103
120
  }
121
+ // Throw stash pop error after the finally block to satisfy no-unsafe-finally
122
+ if (stashPopError) {
123
+ throw stashPopError;
124
+ }
104
125
  // Rebase succeeded (possibly with resolved conflicts)
105
126
  await this.completeTiming(agentRunId, phaseTimingId, startMs, 'success');
106
127
  }
@@ -32,4 +32,25 @@ export interface ConflictResolutionPromptParams {
32
32
  * all conflict markers by editing files in the working directory.
33
33
  */
34
34
  export declare function buildConflictResolutionPrompt(params: ConflictResolutionPromptParams): string;
35
+ export interface StashPopResolutionPromptParams {
36
+ /** Files with conflict markers from stash pop */
37
+ conflictedFiles: ConflictedFile[];
38
+ /** The feature branch */
39
+ featureBranch: string;
40
+ /** The base branch the feature was rebased onto */
41
+ baseBranch: string;
42
+ /** 1-based attempt number */
43
+ attemptNumber: number;
44
+ /** Maximum allowed attempts */
45
+ maxAttempts: number;
46
+ /** Feedback from previous failed attempt */
47
+ previousFeedback?: string;
48
+ }
49
+ /**
50
+ * Build a prompt for resolving stash pop conflicts.
51
+ *
52
+ * Stash pop conflicts occur when rebased code conflicts with uncommitted
53
+ * changes that were stashed before the rebase.
54
+ */
55
+ export declare function buildStashPopResolutionPrompt(params: StashPopResolutionPromptParams): string;
35
56
  //# sourceMappingURL=conflict-resolution.prompt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"conflict-resolution.prompt.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,WAAW,cAAc;IAC7B,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,8BAA8B;IAC7C,kCAAkC;IAClC,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,uCAAuC;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,8BAA8B,GAAG,MAAM,CAgE5F"}
1
+ {"version":3,"file":"conflict-resolution.prompt.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,WAAW,cAAc;IAC7B,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,8BAA8B;IAC7C,kCAAkC;IAClC,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,uCAAuC;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,8BAA8B,GAAG,MAAM,CAgE5F;AAED,MAAM,WAAW,8BAA8B;IAC7C,iDAAiD;IACjD,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,yBAAyB;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,mDAAmD;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,8BAA8B,GAAG,MAAM,CAkE5F"}
@@ -64,3 +64,64 @@ ${fileSection}
64
64
  - Do NOT run tests, builds, or linters — only resolve the conflict markers
65
65
  - Every conflicted file must have zero remaining conflict markers when you are done`;
66
66
  }
67
+ /**
68
+ * Build a prompt for resolving stash pop conflicts.
69
+ *
70
+ * Stash pop conflicts occur when rebased code conflicts with uncommitted
71
+ * changes that were stashed before the rebase.
72
+ */
73
+ export function buildStashPopResolutionPrompt(params) {
74
+ const { conflictedFiles, featureBranch, baseBranch, attemptNumber, maxAttempts, previousFeedback, } = params;
75
+ const fileSection = conflictedFiles
76
+ .map((f) => `### \`${f.path}\`
77
+
78
+ \`\`\`
79
+ ${f.content}
80
+ \`\`\``)
81
+ .join('\n\n');
82
+ const feedbackSection = previousFeedback
83
+ ? `
84
+ ## Previous Attempt Feedback
85
+
86
+ Your previous resolution attempt (${attemptNumber - 1}/${maxAttempts}) was incomplete:
87
+
88
+ ${previousFeedback}
89
+
90
+ You MUST resolve all remaining conflict markers in this attempt.
91
+ `
92
+ : '';
93
+ return `You are resolving git stash pop conflicts (attempt ${attemptNumber}/${maxAttempts}).
94
+
95
+ ## Context
96
+
97
+ - Feature branch: \`${featureBranch}\`
98
+ - Base branch: \`${baseBranch}\`
99
+ - The feature branch was just rebased onto \`${baseBranch}\`.
100
+ - Uncommitted changes were stashed before the rebase and are now being restored via stash pop.
101
+ - The stash pop caused conflicts because the rebased code modified the same files as the stashed uncommitted changes.
102
+ ${feedbackSection}
103
+ ## Conflicted Files
104
+
105
+ The following files contain conflict markers from the stash pop:
106
+
107
+ ${fileSection}
108
+
109
+ ## Instructions
110
+
111
+ 1. Read each conflicted file listed above
112
+ 2. Resolve ALL conflict markers (\`<<<<<<<\`, \`=======\`, \`>>>>>>>\`) by editing the files
113
+ 3. For each conflict:
114
+ - The \`<<<<<<< Updated upstream\` section contains the rebased code (current branch state after rebase)
115
+ - The \`>>>>>>> Stashed changes\` section contains the user's uncommitted work-in-progress
116
+ 4. Preserve the user's uncommitted changes where possible — these are work-in-progress edits the user was actively developing
117
+ 5. Integrate the rebased code changes that don't conflict with the user's intent
118
+
119
+ ## Constraints
120
+
121
+ - Edit ONLY the conflicted files listed above — do NOT modify any other files
122
+ - Remove ALL conflict markers (\`<<<<<<<\`, \`=======\`, \`>>>>>>>\`) from every conflicted file
123
+ - Do NOT add new files or delete files
124
+ - Do NOT run git commands — only edit files to resolve conflicts
125
+ - Do NOT run tests, builds, or linters — only resolve the conflict markers
126
+ - Every conflicted file must have zero remaining conflict markers when you are done`;
127
+ }
@@ -26,6 +26,22 @@ export declare class ConflictResolutionService {
26
26
  * @param baseBranch - Base branch being rebased onto
27
27
  */
28
28
  resolve(cwd: string, featureBranch: string, baseBranch: string): Promise<void>;
29
+ /**
30
+ * Resolve conflicts from a failed stash pop.
31
+ *
32
+ * After a rebase, stash pop may fail if the rebased code conflicts with
33
+ * stashed uncommitted changes. This method invokes the agent to resolve
34
+ * those conflicts, validates, and stages the resolved files.
35
+ *
36
+ * Unlike resolve(), this does NOT call rebaseContinue — the rebase is
37
+ * already complete. On success, the caller is responsible for dropping
38
+ * the stash entry.
39
+ *
40
+ * @param cwd - Working directory (repo root or worktree path)
41
+ * @param featureBranch - Feature branch name
42
+ * @param baseBranch - Base branch name
43
+ */
44
+ resolveStashPop(cwd: string, featureBranch: string, baseBranch: string): Promise<void>;
29
45
  /**
30
46
  * Read the contents of conflicted files from the working directory.
31
47
  */
@@ -1 +1 @@
1
- {"version":3,"file":"conflict-resolution.service.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wEAAwE,CAAC;AACrH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iEAAiE,CAAC;AAerG,qBACa,yBAAyB;IAGlC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAFZ,aAAa,EAAE,sBAAsB,EAErC,YAAY,EAAE,aAAa;IAG9C;;;;;;;;;;;;;OAaG;IACG,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAkEpF;;OAEG;IACH,OAAO,CAAC,0BAA0B;IAWlC;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAgB1B;;OAEG;IACH,OAAO,CAAC,iCAAiC;CAyB1C"}
1
+ {"version":3,"file":"conflict-resolution.service.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wEAAwE,CAAC;AACrH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iEAAiE,CAAC;AAgBrG,qBACa,yBAAyB;IAGlC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAFZ,aAAa,EAAE,sBAAsB,EAErC,YAAY,EAAE,aAAa;IAG9C;;;;;;;;;;;;;OAaG;IACG,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAkEpF;;;;;;;;;;;;;;OAcG;IACG,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAuC5F;;OAEG;IACH,OAAO,CAAC,0BAA0B;IAWlC;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAgB1B;;OAEG;IACH,OAAO,CAAC,iCAAiC;CAyB1C"}
@@ -21,7 +21,7 @@ import { injectable, inject } from 'tsyringe';
21
21
  import { readFileSync } from 'node:fs';
22
22
  import { join } from 'node:path';
23
23
  import { GitPrError, GitPrErrorCode, } from '../../../../application/ports/output/services/git-pr-service.interface.js';
24
- import { buildConflictResolutionPrompt, } from './conflict-resolution.prompt.js';
24
+ import { buildConflictResolutionPrompt, buildStashPopResolutionPrompt, } from './conflict-resolution.prompt.js';
25
25
  const MAX_RETRIES_PER_COMMIT = 3;
26
26
  /** Conflict markers that indicate unresolved conflicts */
27
27
  const CONFLICT_MARKERS = ['<<<<<<<', '=======', '>>>>>>>'];
@@ -86,9 +86,9 @@ let ConflictResolutionService = class ConflictResolutionService {
86
86
  await this.gitPrService.stageFiles(cwd, conflictedFiles);
87
87
  try {
88
88
  await this.gitPrService.rebaseContinue(cwd);
89
- // rebaseContinue succeeded — check if there are more conflicts
90
- // from subsequent commits (loop continues)
91
- return; // No more conflicts
89
+ // rebaseContinue succeeded — loop back to check if subsequent
90
+ // commits have conflicts (getConflictedFiles at top of while loop)
91
+ continue;
92
92
  }
93
93
  catch (error) {
94
94
  if (error instanceof GitPrError && error.code === GitPrErrorCode.REBASE_CONFLICT) {
@@ -99,6 +99,49 @@ let ConflictResolutionService = class ConflictResolutionService {
99
99
  }
100
100
  }
101
101
  }
102
+ /**
103
+ * Resolve conflicts from a failed stash pop.
104
+ *
105
+ * After a rebase, stash pop may fail if the rebased code conflicts with
106
+ * stashed uncommitted changes. This method invokes the agent to resolve
107
+ * those conflicts, validates, and stages the resolved files.
108
+ *
109
+ * Unlike resolve(), this does NOT call rebaseContinue — the rebase is
110
+ * already complete. On success, the caller is responsible for dropping
111
+ * the stash entry.
112
+ *
113
+ * @param cwd - Working directory (repo root or worktree path)
114
+ * @param featureBranch - Feature branch name
115
+ * @param baseBranch - Base branch name
116
+ */
117
+ async resolveStashPop(cwd, featureBranch, baseBranch) {
118
+ const conflictedFiles = await this.gitPrService.getConflictedFiles(cwd);
119
+ if (conflictedFiles.length === 0) {
120
+ return;
121
+ }
122
+ const executor = await this.agentProvider.getExecutor();
123
+ for (let attempt = 1; attempt <= MAX_RETRIES_PER_COMMIT; attempt++) {
124
+ const fileContents = this.readConflictedFileContents(cwd, conflictedFiles);
125
+ const previousFeedback = attempt > 1 ? this.buildFeedbackFromRemainingMarkers(cwd, conflictedFiles) : undefined;
126
+ const prompt = buildStashPopResolutionPrompt({
127
+ conflictedFiles: fileContents,
128
+ featureBranch,
129
+ baseBranch,
130
+ attemptNumber: attempt,
131
+ maxAttempts: MAX_RETRIES_PER_COMMIT,
132
+ previousFeedback,
133
+ });
134
+ await executor.execute(prompt, { cwd });
135
+ if (this.validateResolution(cwd, conflictedFiles)) {
136
+ await this.gitPrService.stageFiles(cwd, conflictedFiles);
137
+ return;
138
+ }
139
+ }
140
+ const remaining = conflictedFiles.join(', ');
141
+ throw new Error(`Failed to resolve stash pop conflicts after ${MAX_RETRIES_PER_COMMIT} attempts. ` +
142
+ `Unresolved files: ${remaining}. Your stash entry is preserved — ` +
143
+ `run \`git stash pop\` manually to resolve.`);
144
+ }
102
145
  /**
103
146
  * Read the contents of conflicted files from the working directory.
104
147
  */
@@ -1 +1 @@
1
- {"version":3,"file":"merge.node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AACpG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yEAAyE,CAAC;AAClH,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EACd,MAAM,iEAAiE,CAAC;AAoBzE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uEAAuE,CAAC;AAC3H,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mEAAmE,CAAC;AAEzG,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,cAAc,CAAC;IACzB,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1E,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7C,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACnD,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE,UAAU,GAAG,QAAQ,CAAC,CAAC;IACnE;;OAEG;IACH,gBAAgB,EAAE,CAChB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,SAAS,CAAC,EAAE,OAAO,KAChB,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB;;;OAGG;IACH,WAAW,EAAE,CACX,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,eAAe,CAAC,EAAE,MAAM,KACrB,OAAO,CAAC,OAAO,CAAC,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACxD,YAAY,EAAE,aAAa,CAAC;IAC5B,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,6BAA6B,EAAE,IAAI,CAAC,6BAA6B,EAAE,SAAS,CAAC,CAAC;CAC/E;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,aAAa,IAGnC,OAAO,iBAAiB,KAAG,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAmZ7E"}
1
+ {"version":3,"file":"merge.node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AACpG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yEAAyE,CAAC;AAClH,OAAO,KAAK,E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,aAAa,IAGnC,OAAO,iBAAiB,KAAG,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAgY7E"}
@@ -221,50 +221,31 @@ export function createMergeNode(deps) {
221
221
  }
222
222
  }
223
223
  // --- Fork-and-PR flow ---
224
- // When forkAndPr=true, fork the repo (or create a new repo as fallback),
225
- // push to the fork, create upstream PR, then transition to AwaitingUpstream.
226
- // If no upstream exists (created via fallback), skip PR and transition to Completed.
224
+ // When forkAndPr=true, fork the repo, push to the fork, create upstream PR,
225
+ // then transition to AwaitingUpstream instead of merging.
227
226
  if (state.forkAndPr && deps.gitForkService) {
228
227
  log.info('Fork-and-PR flow: forking repo and creating upstream PR');
229
228
  await deps.gitForkService.forkRepository(cwd);
230
- log.info('Repository forked/created, remotes configured');
229
+ log.info('Repository forked, remotes remapped');
231
230
  await deps.gitForkService.pushToFork(cwd, branch);
232
231
  log.info(`Branch ${branch} pushed to fork`);
233
- // Try to create upstream PR. This will fail gracefully if forkRepository
234
- // fell back to creating a new repo (no upstream remote to target).
235
- try {
236
- const upstreamPr = await deps.gitForkService.createUpstreamPr(cwd, feature?.name ?? branch, feature?.description ?? '', branch, baseBranch);
237
- log.info(`Upstream PR created: ${upstreamPr.url}`);
238
- messages.push(`[merge] Upstream PR created: ${upstreamPr.url}`);
239
- if (feature) {
240
- await deps.featureRepository.update({
241
- ...feature,
242
- lifecycle: SdlcLifecycle.AwaitingUpstream,
243
- pr: {
244
- ...(feature.pr ?? { url: '', number: 0, status: PrStatus.Open }),
245
- ...(commitHash ? { commitHash } : {}),
246
- upstreamPrUrl: upstreamPr.url,
247
- upstreamPrNumber: upstreamPr.number,
248
- upstreamPrStatus: PrStatus.Open,
249
- },
250
- updatedAt: new Date(),
251
- });
252
- messages.push(`[merge] Feature lifecycle → AwaitingUpstream`);
253
- }
254
- }
255
- catch {
256
- // No upstream remote — repo was created fresh, not forked.
257
- // Code is pushed to origin; transition to Maintain.
258
- log.info('No upstream remote — skipping upstream PR (repo created, not forked)');
259
- messages.push(`[merge] Code pushed to origin (no upstream to PR against)`);
260
- if (feature) {
261
- await deps.featureRepository.update({
262
- ...feature,
263
- lifecycle: SdlcLifecycle.Maintain,
264
- updatedAt: new Date(),
265
- });
266
- messages.push(`[merge] Feature lifecycle → Maintain`);
267
- }
232
+ const upstreamPr = await deps.gitForkService.createUpstreamPr(cwd, feature?.name ?? branch, feature?.description ?? '', branch, baseBranch);
233
+ log.info(`Upstream PR created: ${upstreamPr.url}`);
234
+ messages.push(`[merge] Upstream PR created: ${upstreamPr.url}`);
235
+ if (feature) {
236
+ await deps.featureRepository.update({
237
+ ...feature,
238
+ lifecycle: SdlcLifecycle.AwaitingUpstream,
239
+ pr: {
240
+ ...(feature.pr ?? { url: '', number: 0, status: PrStatus.Open }),
241
+ ...(commitHash ? { commitHash } : {}),
242
+ upstreamPrUrl: upstreamPr.url,
243
+ upstreamPrNumber: upstreamPr.number,
244
+ upstreamPrStatus: PrStatus.Open,
245
+ },
246
+ updatedAt: new Date(),
247
+ });
248
+ messages.push(`[merge] Feature lifecycle → AwaitingUpstream`);
268
249
  }
269
250
  const elapsed = ((Date.now() - startTime) / 1000).toFixed(1);
270
251
  await recordPhaseEnd(mergeTimingId, Date.now() - startTime, {
@@ -13,11 +13,6 @@ export declare class GitForkService implements IGitForkService {
13
13
  private readonly execFile;
14
14
  constructor(execFile: ExecFunction);
15
15
  forkRepository(cwd: string): Promise<void>;
16
- /**
17
- * Fallback when gh repo fork fails due to missing remotes.
18
- * Creates a new private GitHub repository and sets it as origin.
19
- */
20
- private createRepositoryFallback;
21
16
  pushToFork(cwd: string, branch: string): Promise<void>;
22
17
  createUpstreamPr(cwd: string, title: string, body: string, head: string, base: string): Promise<UpstreamPrResult>;
23
18
  getUpstreamPrStatus(upstreamRepo: string, prNumber: number): Promise<PrStatus>;
@@ -1 +1 @@
1
- {"version":3,"file":"git-fork.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/git-fork.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0EAA0E,CAAC;AAChH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0EAA0E,CAAC;AAKjH,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBACa,cAAe,YAAW,eAAe;IAChB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY;IAErE,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAkDhD;;;OAGG;YACW,wBAAwB;IAgChC,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAatD,gBAAgB,CACpB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,gBAAgB,CAAC;IAkDtB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;IAsBpF;;;OAGG;IACH,OAAO,CAAC,kBAAkB;CAU3B"}
1
+ {"version":3,"file":"git-fork.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/git-fork.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0EAA0E,CAAC;AAChH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0EAA0E,CAAC;AAKjH,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBACa,cAAe,YAAW,eAAe;IAChB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY;IAErE,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA0C1C,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAatD,gBAAgB,CACpB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,gBAAgB,CAAC;IAkDtB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;IAsBpF;;;OAGG;IACH,OAAO,CAAC,kBAAkB;CAU3B"}
@@ -17,7 +17,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
17
17
  var __param = (this && this.__param) || function (paramIndex, decorator) {
18
18
  return function (target, key) { decorator(target, key, paramIndex); }
19
19
  };
20
- import { basename } from 'node:path';
21
20
  import { injectable, inject } from 'tsyringe';
22
21
  import { GitForkError, GitForkErrorCode, } from '../../../application/ports/output/services/git-fork-service.interface.js';
23
22
  import { PrStatus } from '../../../domain/generated/output.js';
@@ -59,42 +58,9 @@ let GitForkService = class GitForkService {
59
58
  if (message.includes('auth') || message.includes('login')) {
60
59
  throw new GitForkError('GitHub authentication required to fork', GitForkErrorCode.AUTH_FAILURE, err instanceof Error ? err : undefined);
61
60
  }
62
- // Fallback: when fork fails because there are no remotes (e.g. freshly-init'd repo),
63
- // create a new GitHub repository instead.
64
- if (message.includes('unable to determine base repository')) {
65
- await this.createRepositoryFallback(cwd);
66
- return;
67
- }
68
61
  throw new GitForkError(`Failed to fork repository: ${message}`, GitForkErrorCode.FORK_FAILED, err instanceof Error ? err : undefined);
69
62
  }
70
63
  }
71
- /**
72
- * Fallback when gh repo fork fails due to missing remotes.
73
- * Creates a new private GitHub repository and sets it as origin.
74
- */
75
- async createRepositoryFallback(cwd) {
76
- const { stdout: ghUser } = await this.execFile('gh', ['api', 'user', '--jq', '.login'], {
77
- cwd,
78
- });
79
- const username = ghUser.trim();
80
- const repoName = basename(cwd);
81
- try {
82
- await this.execFile('gh', [
83
- 'repo',
84
- 'create',
85
- `${username}/${repoName}`,
86
- '--source',
87
- '.',
88
- '--remote',
89
- 'origin',
90
- '--private',
91
- ], { cwd });
92
- }
93
- catch (createErr) {
94
- const createMessage = createErr instanceof Error ? createErr.message : String(createErr);
95
- throw new GitForkError(`Failed to create repository: ${createMessage}`, GitForkErrorCode.FORK_FAILED, createErr instanceof Error ? createErr : undefined);
96
- }
97
- }
98
64
  async pushToFork(cwd, branch) {
99
65
  try {
100
66
  await this.execFile('git', ['push', '-u', 'origin', branch], { cwd });
@@ -53,6 +53,7 @@ export declare class GitPrService implements IGitPrService {
53
53
  rebaseAbort(cwd: string): Promise<void>;
54
54
  stash(cwd: string, message?: string): Promise<boolean>;
55
55
  stashPop(cwd: string): Promise<void>;
56
+ stashDrop(cwd: string): Promise<void>;
56
57
  getBranchSyncStatus(cwd: string, featureBranch: string, baseBranch: string): Promise<{
57
58
  ahead: number;
58
59
  behind: number;
@@ -1 +1 @@
1
- {"version":3,"file":"git-pr.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/git-pr.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AAC5G,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EACX,QAAQ,EACR,aAAa,EACb,cAAc,EACd,YAAY,EACb,MAAM,wEAAwE,CAAC;AAUhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBACa,YAAa,YAAW,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY;IA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YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyEnF,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAelD,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAQvD,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAqB1C,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQvC,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IActD,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQpC,mBAAmB,CACvB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAe9C"}
1
+ {"version":3,"file":"git-pr.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/git-pr.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AAC5G,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EACX,QAAQ,EACR,aAAa,EACb,cAAc,EACd,YAAY,EACb,MAAM,wEAAwE,CAAC;AAUhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBACa,YAAa,YAAW,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY;IAErE,SAAS,CAAC,GAAG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AE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyEnF,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAelD,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAQvD,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAqB1C,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQvC,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IActD,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQpC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQrC,mBAAmB,CACvB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAe9C"}
@@ -814,6 +814,14 @@ let GitPrService = class GitPrService {
814
814
  throw this.parseGitError(error);
815
815
  }
816
816
  }
817
+ async stashDrop(cwd) {
818
+ try {
819
+ await this.execFile('git', ['stash', 'drop'], { cwd });
820
+ }
821
+ catch (error) {
822
+ throw this.parseGitError(error);
823
+ }
824
+ }
817
825
  async getBranchSyncStatus(cwd, featureBranch, baseBranch) {
818
826
  try {
819
827
  const remoteRef = `origin/${baseBranch}`;