apt-mcp-agent-setup 3.5.22 → 3.5.25

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 (156) hide show
  1. package/README.md +1 -1
  2. package/bin/cli.js +1 -1
  3. package/build-input.json +28 -24
  4. package/bundle/NOTICES.md +0 -0
  5. package/bundle/core.enc +0 -0
  6. package/bundle/mcp-rules.enc +0 -0
  7. package/bundle/skills-aso.enc +0 -0
  8. package/bundle/skills-ba.enc +0 -0
  9. package/bundle/skills-base.enc +0 -0
  10. package/bundle/skills-be.enc +0 -0
  11. package/bundle/skills-design.enc +0 -0
  12. package/bundle/skills-fe.enc +0 -0
  13. package/bundle/skills-marketing.enc +0 -0
  14. package/bundle/skills-mobile.enc +0 -0
  15. package/bundle/skills-pm.enc +0 -0
  16. package/integrity-manifest.json +156 -156
  17. package/package.json +1 -1
  18. package/src/backends/browser-tools.js +1 -1
  19. package/src/backends/index-cache-authority.js +1 -1
  20. package/src/backends/index-command.js +1 -1
  21. package/src/backends/index-maintenance.js +1 -1
  22. package/src/backends/index-store.js +1 -1
  23. package/src/backends/profiles.js +1 -1
  24. package/src/backends/source-discovery.js +1 -1
  25. package/src/core/admission-fence.js +1 -1
  26. package/src/core/aso-import.js +1 -1
  27. package/src/core/backend-lease-recovery.js +1 -1
  28. package/src/core/boot-evidence.js +1 -1
  29. package/src/core/caller-context.js +1 -1
  30. package/src/core/catalog.js +1 -1
  31. package/src/core/claude-caller-authority.js +1 -1
  32. package/src/core/claude-invocation.js +1 -1
  33. package/src/core/claude-launch-recovery.js +1 -1
  34. package/src/core/claude-native.js +1 -1
  35. package/src/core/claude-plan.js +1 -1
  36. package/src/core/claude-transcript-scan.js +1 -1
  37. package/src/core/claude-worker-transcript.js +1 -1
  38. package/src/core/codex-host-metadata.js +1 -1
  39. package/src/core/codex-transcript-receipt.js +1 -1
  40. package/src/core/connection-inspector.js +1 -1
  41. package/src/core/context-metrics.js +1 -1
  42. package/src/core/doctor.js +1 -1
  43. package/src/core/draining-completion.js +1 -1
  44. package/src/core/execution.js +1 -1
  45. package/src/core/git-context.js +1 -1
  46. package/src/core/hook-bridge.js +1 -1
  47. package/src/core/hook-diagnostics.js +1 -1
  48. package/src/core/hook-lease.js +1 -1
  49. package/src/core/host-adapters.js +1 -1
  50. package/src/core/interrupted-boot-transport-proof.js +1 -1
  51. package/src/core/interrupted-natural-closure-proof.js +1 -1
  52. package/src/core/interrupted-operation-audit.js +1 -1
  53. package/src/core/interrupted-transport-proof.js +1 -1
  54. package/src/core/ipc-envelope.js +1 -1
  55. package/src/core/legacy-retirement-proof.js +1 -1
  56. package/src/core/memory-scope.js +1 -1
  57. package/src/core/memory-store.js +1 -1
  58. package/src/core/model-inventory.js +1 -1
  59. package/src/core/model-routing.js +1 -1
  60. package/src/core/native-dispatch.js +1 -1
  61. package/src/core/native-receipt.js +1 -1
  62. package/src/core/native-retirement.js +1 -1
  63. package/src/core/node-version.js +1 -1
  64. package/src/core/npm-cli.js +1 -1
  65. package/src/core/owned-command-child.js +1 -1
  66. package/src/core/owned-command.js +1 -1
  67. package/src/core/owned-lock.js +1 -1
  68. package/src/core/owned-process.js +1 -1
  69. package/src/core/pipeline-journal.js +1 -1
  70. package/src/core/presentations.js +1 -1
  71. package/src/core/quality-artifacts.js +1 -1
  72. package/src/core/quality.js +1 -1
  73. package/src/core/read-command.js +1 -1
  74. package/src/core/readonly-skill.js +1 -1
  75. package/src/core/recovery-archive.js +1 -1
  76. package/src/core/recovery-proof.js +1 -1
  77. package/src/core/resource-transaction.js +1 -1
  78. package/src/core/run-checkpoint.js +1 -1
  79. package/src/core/run-compatibility.js +1 -1
  80. package/src/core/run-state-codec.js +1 -1
  81. package/src/core/runtime-authority.js +1 -1
  82. package/src/core/runtime-info.js +1 -1
  83. package/src/core/runtime-ownership.js +1 -1
  84. package/src/core/session.js +1 -1
  85. package/src/core/skill-companions.js +1 -1
  86. package/src/core/skill-names.js +1 -1
  87. package/src/core/storage-retry.js +1 -1
  88. package/src/core/tool-contracts.js +1 -1
  89. package/src/core/update-control.js +1 -1
  90. package/src/core/upgrade-runs.js +1 -1
  91. package/src/core/upgrade-stop.js +1 -1
  92. package/src/core/windows-job.js +1 -1
  93. package/src/core/workflow-policy.js +1 -1
  94. package/src/core/workspace-generation.js +1 -1
  95. package/src/core/workspace-path.js +1 -1
  96. package/src/installer/bounded-command.js +1 -1
  97. package/src/installer/candidate-preflight.js +1 -1
  98. package/src/installer/claude-commands.js +1 -1
  99. package/src/installer/connection-activation.js +1 -1
  100. package/src/installer/connection-supervisor.js +1 -1
  101. package/src/installer/deployment-draft.js +1 -1
  102. package/src/installer/gateway-context.js +1 -1
  103. package/src/installer/gateway-migration.js +1 -1
  104. package/src/installer/gateway-runtime.js +1 -1
  105. package/src/installer/global-setup.js +1 -1
  106. package/src/installer/hook-context-client.js +1 -1
  107. package/src/installer/host-hooks.js +1 -1
  108. package/src/installer/index-interruption-recovery.js +1 -1
  109. package/src/installer/index-recovery.js +1 -1
  110. package/src/installer/install-intent.js +1 -1
  111. package/src/installer/interrupted-operation-recovery.js +1 -1
  112. package/src/installer/legacy-prepared-plan.js +1 -1
  113. package/src/installer/legacy-registration.js +1 -1
  114. package/src/installer/managed-config.js +1 -1
  115. package/src/installer/migration-scope.js +1 -1
  116. package/src/installer/platform-config.js +1 -1
  117. package/src/installer/prerequisites.js +1 -1
  118. package/src/installer/presentations.js +1 -1
  119. package/src/installer/project-outcome.js +1 -1
  120. package/src/installer/project-setup.js +1 -1
  121. package/src/installer/registration-closure.js +1 -1
  122. package/src/installer/registration-plan.js +1 -1
  123. package/src/installer/registration-receipt.js +1 -1
  124. package/src/installer/registrations.js +1 -1
  125. package/src/installer/runtime-activation.js +1 -1
  126. package/src/installer/runtime-child.js +1 -1
  127. package/src/installer/runtime-cleanup.js +1 -1
  128. package/src/installer/runtime-lock.js +1 -1
  129. package/src/installer/runtime-store.js +1 -1
  130. package/src/installer/runtime-supervisor.js +1 -1
  131. package/src/installer/setup-wizard.js +1 -1
  132. package/src/installer/stale-run-release.js +1 -1
  133. package/src/installer/update-addons.js +1 -1
  134. package/src/installer/update-cleanup.js +1 -1
  135. package/src/installer/update-executor.js +1 -1
  136. package/src/installer/update-history.js +1 -1
  137. package/src/installer/update-registration.js +1 -1
  138. package/src/installer/update-request.js +1 -1
  139. package/src/installer/update-scope.js +1 -1
  140. package/src/installer/workspace-registry.js +1 -1
  141. package/src/installer/workspace-transaction.js +1 -1
  142. package/src/installer/workspace-update.js +1 -1
  143. package/src/license/crypto.js +1 -1
  144. package/src/license/fingerprint.js +1 -1
  145. package/src/license/terms.js +1 -1
  146. package/src/license/verify.js +1 -1
  147. package/src/presets/index.js +1 -1
  148. package/src/proxy/backends.js +1 -1
  149. package/src/proxy/browser-sessions.js +1 -1
  150. package/src/proxy/core-tools.js +1 -1
  151. package/src/proxy/pipeline.js +1 -1
  152. package/src/proxy/public-catalog.js +1 -1
  153. package/src/proxy/router.config.js +1 -1
  154. package/src/proxy/router.js +1 -1
  155. package/src/proxy/server.js +1 -1
  156. package/src/proxy/workspace-gateway.js +1 -1
@@ -1 +1 @@
1
- const _0x417f9e=_0x6240;(function(_0x3e5f60,_0x1d41e1){const _0x140262=_0x6240,_0x3d481d=_0x3e5f60();while(!![]){try{const _0x250767=-parseInt(_0x140262(0x38f))/0x1*(-parseInt(_0x140262(0x153))/0x2)+parseInt(_0x140262(0x187))/0x3+-parseInt(_0x140262(0x23c))/0x4*(-parseInt(_0x140262(0x17b))/0x5)+parseInt(_0x140262(0x202))/0x6+-parseInt(_0x140262(0x33a))/0x7*(parseInt(_0x140262(0x1d7))/0x8)+-parseInt(_0x140262(0x257))/0x9*(parseInt(_0x140262(0x1ce))/0xa)+parseInt(_0x140262(0x1ca))/0xb;if(_0x250767===_0x1d41e1)break;else _0x3d481d['push'](_0x3d481d['shift']());}catch(_0x509465){_0x3d481d['push'](_0x3d481d['shift']());}}}(_0x50b7,0xe7afd));const crypto=require(_0x417f9e(0x391)),fs=require('fs'),os=require('os'),path=require(_0x417f9e(0x1a0)),{spawnSync}=require(_0x417f9e(0x377)),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0x417f9e(0x2ff)),{inspectRunContract}=require('../core/run-compatibility'),{artifactEvidenceCurrent}=require('../core/quality-artifacts'),{acquireRuntimeLock}=require(_0x417f9e(0x2aa)),TOOL_ROUTING=_0x417f9e(0x2e1),_0x4b877a={};function _0x50b7(){const _0x10f765=['CgvUzgLUzW','CMvJB3jKvMvYAwzPy2f0Aw9U','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra','y2fUy2vSrM9YvxbNCMfKzq','AgfZ','uLvox01ju01bveni','Aw5PDa','zgLHz25VC2u','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','lMfNzw50CY9WAxbLBgLUzxmV','CMvMCY9OzwfKCY8','BwLNCMf0Aw9Uv2fYBMLUz3m','C3rHBgu','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','Aw1WCM92zs1JB2rLyMfZzs1HCMnOAxrLy3r1CMu','yxrVBwLJv3jPDgvkC29U','y2fUy2vSBgf0Aw9U','u0fwrsbquKqGC2nVCguGyw5KigTLEsbYzxf1AxjLBwvUDhmGD2L0AcbYzw1LBwjLCI4','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','qMfZzsbJAgvJA291DcbTDxn0igjLignSzwfUigjLzM9YzsbJCMvHDgLUzYbHihDVCMT0CMvLlG','zgLMzG','Aw50zwDYAxr5lw1HBMLMzxn0lMPZB24','v09ss1rsruvFqKftrv9nsvntsu5h','tg9Hzcb0AguGBwf0y2HPBMCGzg9TywLUihnRAwXSigjLzM9YzsbJB2rPBMC6','zxzPzgvUy2u','zMfPBgvK','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','sw1WBgvTzw50ihrLC3qTzMLYC3q','ywjHBMrVBG','ng54z1Pxyq','Bg9JA1rPBwvVDxrnCW','BwfYA0f0DgvTChrtDgfYDgvK','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlMvTywLSicj5B3vazxHHBxbSzs5JB20I','y3jLyxrPBMC','C2L6zq','vgHLigv4ywn0igfJDg9YihjLC2vYDMf0Aw9UigLZig5VigXVBMDLCIbHy3rPDMuU','B21PDhrLza','AxneAxjLy3rVCNK','CMvHzfj1BG','ls1Szwz0lxjPz2H0','z2vUzxjHDgvsDw5jza','B3bLBLn5BMm','CMfUzg9TqNL0zxm','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzc4','ywnJzxb0yw5Jzq','Aw5PDgLHBgL6zq','su5wquXjrf9tq0HftufFvKvsu0LptG','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','BwLZC2LUz1f1ywXPDhLdAgvJA3m','zMLSDgvY','BwvTB3j5x2fJDgLVBG','y29UzMLYBwf0Aw9Uvg9Rzw4','C3rHDhvZ','y29KzxGTCgfYzw50lwnOAwXKlxrYyw5Zy3jPChrZ','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','yMfZzujYyw5JAa','mtG1nZe1wunfzvLZ','Agv4','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','ChjLDMLLD0DPDejVB3rZDhjHCa','Dg1WzgLY','CMvJzwLWDe9IC2vYDMf0Aw9UCW','y29TCgf0AwjPBgL0Eq','DgfZAY1ICMvHA2rVD24','y29TCgXLDgvKu3rLChm','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','CNvUDgLTzvb1yMXPy0TLEq','yMXVy2TLza','CMvJB3zLCNLFy29TBwfUza','CNvUswqGAxmGCMvXDwLYzwqU','y3jPDgvYAw9UswrZ','C29YDa','BgLZDa','CMvWBgf5','y29UDhjHy3q','Dw52zxjPzMLLza','zgLHz25VC3rPyW','CMvJB3zLCNLFy29TBwfUzhm','BwLNCMf0zuXLz2fJEvn0yxrL','BgvNywn5lq','Cg9SAwn5vMvYC2LVBG','q2fSBcbWAxbLBgLUzv9ZDgf0DxmODgfZAYWGCNvUswqPigzVCIbMDwXSihj1BIbKzxrHAwXZigfUzcbOAxn0B3j5lIbdywXSihbPCgvSAw5Lx3n0yxr1CYGPigzVCIbHBgWGDhjHy2TLzcb0yxnRCYWGzgLHz25VC3rPy3mGyw5KihvUzMLUAxnOzwqGy3jLyxrPB25ZlG','y3vYCMvUDa','D2L0AezPBgvuExbLCW','Aw1WCM92zs1HCMnOAxrLy3r1CMu','zMvHDhvYzq','ChjLDMLLDW','uMvJB3jKzwqGD29YA3nWywnLigrPzMzLCNmGzNjVBsb0AgLZihbYB2PLy3qU','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','C2vW','DxbKyxrLzef0','BgLZDfj1BNngCM9TuM9VDa','D29YA3rYzwuG','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','CMvHzezPBgvtEw5J','ywnJzxb0yw5JzunYAxrLCMLH','Aw5PDgLHBgL6zwq','zxbVy2G','qvruru1qvf9nsvnnqvrdsa','zM9Yy2u','CMvHzg9UBhK','vefts19srvfvsvjfra','CNvUCW','ueLqruXjtKvFu1rbvevFte9ds0ve','BMv4DefJDgLVBG','su5wquXjrf9svu5Fsuq','u0fwrsbYB290ignHDxnLigfUzcbYzxbYB2r1y3rPB24GC3rLChmGD2L0AcbYzw1LBwjLCI4','zxzLBNrZlMPZB25S','C3rYAw5NAwz5','u3rVChbLzcbUyxrPDMuGD29YA2vYihjLy29Uy2LSzwqGzM9YihvWz3jHzgu','DMvYAwzPzwq','yxb0lW','su5wquXjrf9qt0Xjq1LFvKvsu0LptG','yxjNCW','z2v0u3rHDhvZ','D2vI','BwvZC2fNzq','CMv2ywXPzgf0zu5HDgL2zvjLy2vPChq','BM9YBwfSAxPLuxvHBgL0EvbSyw4','iIb3yxmGBM90igzVDw5KlG','C2nOzw1HvMvYC2LVBG','y3jLyxrLv29YA3rYzwu','ig11C3qGy29UDgfPBIbUB24Tzw1WDhKGC3rYAw5NCY4','uLvox05pvf9gt1vora','uMvWB3nPDg9YEsbPCYbUB3qGy2XLyw4Gywz0zxiGDgHLigjHC2vSAw5LignVBw1PDc4','B3DUC1j1BG','yxb0lw1JCc1Hz2vUDa','z2L0q29TBw9UrgLY','ChjVz3jLC3m','CMvXDwvZDgvKv29YA3nWywnL','su5wquXjrf9rvufmsvrzx1bmqu4','BMf0AxzLlxDVCMT0CMvL','vgfZAYaI','r0Lux0LosvrFrKfjteve','Dg9tDhjPBMC','zxHLy3v0Aw9U','DMvYC2LVBNm','AgfZtgvNywn5u3rHDgu','CMvHzhK','lI4Vy29Yzs9VD25Lzc1SB2nR','y29UzMLKzw5Jzq','y2HLy2TWB2LUDa','zML4lwfUzc10zxn0','DgrKlwXVB3a','CMvJDxjZAxzL','Bw9KzwXszwnLAxb0','uLvox05pvf9bq1rjvKu','D29YA3nWywnLig11C3qGyMuGyw4GB2jQzwn0ihDPDgGGBw9KzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','cLbPCgvSAw5LoIa','yNvNlwrPywDUB3n0AwnZ','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','C29Tzq','lcbUB3qGCMvZDw1HyMXLlG','ywn0B3jtzxbHCMf0zwq','su5wquXjrf9svu5Fsu5qvvq','CMv2Awv3','yxj0AwzHy3rqyxrOCW','q1jfqvrjt05FtK9ux1nuqvjuruq','uMvJB25JAwXLihDPDgGGDgHLihjLy29YzgvKignVB3jKAw5HDg9YlG','iYbqAxbLBgLUzsbSzwrNzxikcLrHC2S6ia','BwLNCMf0zuXLz2fJEvn0yxrLCW','CMvZB2X2zq','zxjYB3i','yNvNzML4','BwfUywDLza','D2LUmZi','AxnbCNjHEq','BwfW','DgfYz2v0ig11C3qGyMuGCNvUig9YignYzwf0Aw9UlG','su5wquXjrf9srvnfvf9uqvjhrvq','uMvZzxqGBxvZDcb1C2uGDgHLihjLy29YzgvKignVB3jKAw5HDg9YihnLC3nPB24U','CMvHzenOzwnRCg9PBNq','CNvU','tgvNywn5ihn0yxrLigLTCg9YDgvK','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','CMv2lxbHCNnL','lI4Vy29Yzs93B3jRzMXVDY1WB2XPy3K','CgLWzwXPBMvZ','Bg9JA0zPBgu','CMvTB3zLzef0','ls1Nzxq','Dg9mB3DLCKnHC2u','y29Kzq','D2L0AeXVy2S','q2fUBM90ihjLywqGr2L0igjVB3rZDhjHCcbWCMv2Awv3lG','zxjYB3jpBKv4Axn0','C2TPBgW','C3bSAxq','C3rHCNrLzef0','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y3jLyxrLsgfZAa','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','zxHWBg9Yzv9JB2rLiezjuLnuigzVCIbJB2rLlIbNCMvWx3nLyxjJAcbptKXzig5VBI1JB2rLicHJB25MAwCVzg9JCY8Uzw52ks4GtM8Gz3jLCcbSB29WCY4','ywn0AxzL','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','uNvUigrVzxmGBM90ihvZzsbHig1HBMfNzwqGD29YA3rYzwuU','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','C291CMnL','C3rHDguUANnVBG','yxrVBwLJv3jPDgu','C25HChnOB3qTBM90lxjLzNjLC2HLza','BwLNCMf0zvn0yxrLuM9VDa','C2v0q3vYCMvUDa','CgLUtgvNywn5rgvMAw5PDgLVBG','Bw9IAwXL','C3vJy2vZCW','y2HVCMu6igLUAxrPywXPEMuGBg9JywWGCMvWB3nPDg9YEq','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','DgfYz2v0','C25HChnOB3qTzxzPzgvUy2u','uLvox0nsrufusu9ox0Loq09nueXfveu','zgLYBMfTzq','u0fwrsbKzxnPz24GzgvJAxnPB25ZigfUzcbJB25ZDhjHAw50CYb3AxrOihjLBwvTyMvYlG','v09ss1rsruvFqKftrv9esvjuwq','CM1tEw5J','DhjHBNnHy3rPB25jza','y3jPDgvYAwe','rgvMyxvSDgLUzYb0BYb0AguGC2fMzxn0igz1BgWGCgLWzwXPBMuU','r0Lux0Leru5usvrzx1jfuvvjuKve','uMvWB3nPDg9YEsbOyxmGBM8GyMfZzsbJB21TAxqU','su5wquXjrf9xt1jlu1bbq0u','lI4Vy29Yzs9LEgvJDxrPB24','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','ls1ZAg93lwn1CNjLBNq','yxr0zw1WDeLK','B3jPz2LUv29YA3nWywnL','su5wquXjrf9uqvnlx0Le','sevbra','ChjVz3jLC3mUBwq','q1jfqvrjt05Fu1vqrvjtrurfra','vgHPCYbOAxn0B3jPy2fSihj1BIbPCYbYzwfKywjSzsbIDxqGy2fUBM90igjLihjLyM91BMqGzM9Yig11Dgf0Aw9UlG','su5wquXjrf9xt1jlrKXpv19quK9gsuXf','lMfNzw50CW','C2TPBgXZ','D29YA0L0zw1dB3vUDa','C3rVCfjLyxnVBG','ywrK','BgfZDezHAwX1CMu','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','D29YA3nWywnL','Aw5KzxG','BM93','Dg9mB2nHBgvmB3DLCKnHC2u','DhjPBq','lIbdB21WBgv0Aw9UigrVzxmGBM90ihbYB3zLigeGCMv2Awv3ihzLCMrPy3qU','CMvJB3zLCG','D29YA3nWywnLignVBNrHAw5ZigfUihvUC3vWCg9YDgvKigzPzwXKoYbZzwXLy3qGDgHLihDVCMTZCgfJzsb0AhjVDwDOihrOzsbnq1aGC2vYDMvYigjPBMrPBMCU','kg5VigXLz2fJEsbSzwrNzxiP','C2XPy2u','A2v5CW','CgXHBM5LzeL0zw1Z','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlM5HBwuGiLLVDxiGtMfTzsi','uLvox1nusuXmx0fdveLwrq','zw52','CMvJzwLWDa','y3DK','B3bLBKzPBMrPBMDZ','ChvZAa','ls1UBY1NCgCTC2LNBG','zxHWzwn0zwrpDxrJB21L','CgLK','q29UzMLYBsb3B3jRzxiGC2H1DgrVD24GyMvMB3jLignHBMnLBgXPBMCGDgHLihj1BI4','se9urKLyx1ndt1bfx1jfuvvjuKve','lI4U','DMvYAwz5q29WAwvKvhjLzq','CxvHBgL0EvzLCNnPB24','CMvWywLYuNvU','yxbWzw5KtgvKz2vY','zgv2zwXVCg1LBNrnB2rL','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','C3rVCf9YzwfZB24','l1nlsuXmlM1KigjLzM9YzsbZDgvWici','lI4Vy29Yzs9YDw4Ty2HLy2TWB2LUDa','q3vYCMvUDcbUyxrPDMuGCNvUihDHCYbUB3qGzM91BMqU','BxvSDgK','zMLSzq','lI4Vy29Yzs9YDw4TC3rHDguTy29Kzwm','CMvJB3zLCLj1BKLK','ywDLBNqTCMv2Awv3','tevhqunzx1nuqvrfx0LovKfmsuq','mJHQvhrbAeO','lMDPDgLNBM9Yzq','cLj1BJOG','BgvNywn5u3rHDgvgAwXLugf0Aa','u2vUC2L0AxzLigzPBgvZihDVDwXKigjLignVBw1PDhrLzc4GqwrKihrOzw0GDg8GlMDPDgLNBM9YzsbHBMqGCMvXDwvZDcbHig5LDYbWCMv2Awv3lG','CNvUBMLUzW','y3jLyxrLzef0','u3vWCg9YDgvKihbPCgvSAw5LihzLCNnPB25ZigfYzsaYigfUzcaZlG','v09ss1rsruvFvu5nrvjhruq','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzdSGBM8GBMv3ihj1BIb3yxmGy3jLyxrLzc4','y29UzMLYBwvK','q3jLyxrLihrYywnRAw5NigLZC3vLCW','C3rKB3v0','ueLqruXjtKvFrevgsu5jveLptLm','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','C3rLChm','q29TCgXLDguGB3iGy2fUy2vSigfJDgL2zsbWAxbLBgLUzxmGyMvMB3jLigLUAxrPywXPEMLUzYbhAxqU','q2fUBM90igLUAxrPywXPEMuGDgvTCg9Yyxj5ieDPDcbPBMrLEc4','BMfTzq','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','cK5LEhqGC3rLCdOG','D29YA2zSB3DqCM9MAwXL','vu5ltK9xtG','ChjLDMLVDxnsDw4','u0fwrsbHCMnOAxrLy3r1CMuGzgvJAxnPB25ZigfUzcbMAw5KAw5NCYb3AxrOihjLBwvTyMvYlG','lIbbDhrLBxb0oIa','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','ywnXDwLYzuXVy2S','DMfSDwvZ','v09ss1rsruvFuKvnt1zfx0zbsuXfra','Aw1Wywn0','DhjHBNnHy3q','Bw9Kzq','uNvUihvZzxmGCgLWzwXPBMuGiG','q1jfqvrjt05FuLvox01ju01bveni','D29YA3rYzwu','C3rHDgvgAwXL','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','y29UzMLN','lI4Vy29Yzs9YDw50Aw1LlwLUzM8','DgrK','DgLTzw91Da','C25HChnOB3q','C2vZC2LVBKLK','C3rHDfn5BMm','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','zgLNzxn0','C3rHDgvsB290','iIbPCYbTAxnZAw5NlG','r0Lux1bsrvzjrvDFrKfjteve','CgLWzwXPBMu','DgfYz2v0rgLNzxn0','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','Aw5JBhvKzxm','vgHLihj1BIbJB250CMfJDcbKB2vZig5VDcbWzxjTAxqGCMvJB25JAwXPyxrPB24U','vw5RBM93BIb3B3jRC3bHy2uGBw9KztOG','Aw5PDc5KzwzHDwX0qNjHBMnO','lI4VlI4VCgfJA2fNzs5QC29U','DgfZA0rPCG','y29VCMrPBMf0B3i','y2HLy2Tjza','y2HPBgrFChjVy2vZCW','C3rHDguTD3jPDgu','BMv3lxj1BI1Yzxf1AxjLza','CMvHC29U','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','ls1WB3jJzwXHAw4','y3btEw5J','y29TCgXLDgvK','zg9TywLUx3nRAwXSCW','Aw50zxjYDxb0zwq','qsbTyxrJAgLUzYb1BNjLC29SDMvKignYzwf0Aw9UigLUDgvUDcbPCYbYzxf1AxjLzc4','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','BgvKz2vYrMLSzq','CMvWBgfJzq','BMv4Df9ZDgvW','CgvUzgLUz0nYzwf0Aw9UCW','ywjHBMrVBMvK','C3rHBMrHCMq','CNvUrgLY','uLvox0Lex1jfuvvjuKve','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','C3vTBwfYEq','y291BNrZ','u291CMnLihjLDgfPBMvKigf0ia','mwPkC3r2Ba','yxr0zw1WDhm','y3j5ChrV','Bw9KzwXtDgf0Dxm','ChjVzhvJDeLTCgfJDa','Aw50zw50lwnVBxbSzxrL','Dg8TChjK','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','DgvYBwLUywW','BwLNCMf0zq','CMvZCg9UC2u','CMvTB3zL','DgfZAW','rvbfuK0','CMvMCMvZAfnUyxbZAg90','DxnLCI5LBwfPBa','vgHLihjLC2vYDMf0Aw9UigHHCYbUBYbJB25MAxjTzwqGC3rVChbLzcbUyxrPDMuGD29YA2vYlG','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','yNjHBMnO','CgvYC2LZDa','DMvYzgLJDa','Dg9ju09tDhjPBMC','lMXVy2S','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5LihjLC2v0lG','Dg8TAxnZDwvZ','v09ss19jtL9gteLhsfq','ChjVzhvJDfrHCMDLDa','Aw50zw50rMLSzq','y29UDhjHy3qTDw5HDMfPBgfIBgu','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5Lig11Dgf0Aw9UCY4','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','Aw5PDgLHBgL6zuDPDa','CxvHBgL0Eq','uMvXDwLYzwqGCgLWzwXPBMuGC2TPBgWGiG','y2HLy2TZ','ChjVAMvJDfbHDgG','Bwf4','uMvJB3jKigf0igXLyxn0ig9UzsbHy2nLChrHBMnLignYAxrLCMLVBIbHDcbWAxbLBgLUzv9ZDgfYDdSGAxrZihrLEhqGBxvZDcbTyxrJAcbHihf1ywXPDhLqBgfUignYAxrLCMLVBIbLEhbLy3rLze91DgnVBwuU','C3rYzxnZlxrLC3qTCgXHBG','zNjVBuvUDhjPzxm','C2nVCgu','zxHPC3rZu3LUyW','uNvUici','CgfYC2u','rufdq0vt','v09ss0vsx1nut1bFvu5dt05gsvjnruq','BMv4Da','ihrHC2SOCYKGDhjHy2TLzc4','ls13B3jRlxrYzwu','DxrMoa','A2LUza','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','zw5KC1DPDgG','lMPZB24','D29YA3nWywnLugf0Aa','CMvTB3zLza','ms54ihrHC2SGC3rHDguGAw1WB3j0zwq','lMXVy2TZ','yxv0BW','DMfSAwrHDgvxB3jRC3bHy2u','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','zMLUza','CMvZB2X2zvDVCMTZCgfJzq','y29TCgfJDa','y2XVC2vtEw5J','Aw5PDgLHBgL6Aw5N','u1rfuf9pvvrFt0zFt1jervi','yM9VBgvHBG','yxnZzxj0Aw9Ulwv2AwrLBMnL','yMfZzvjLzG','y29UDgLUDwu','qwn0B3i6ia','CMvHBhbHDgHtEw5J','oda0nZm0z0f6v2Lj','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','y2fUy2vSvMvYAwzPy2f0Aw9UCW','ugLWzwXPBMuGC3rHCNrLza','DMfSAwrHDgvsDw5jza','BM9qCM9NCMvZCW','lI4Vy29Yzs9ZzxnZAw9U','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','qurnsvntsu9ox0nptKzmsunu','C3vNz2vZDgvKx3bPCgvSAw5L','su5wquXjrf9dsevds1bpsu5ux1nuqvrvuW','BgvKz2vY','ls1NAxqTzgLY','C2TPBgXqAw5Z','u3vWCg9YDgvKihbVBgLJAwvZigfYzsaXlcaYigfUzcaZlG','rxHWzwn0zwqGC3rLCcaI','ywnJzxb0yw5JzvjLDMLZAw9U','C3LZy2fSBa','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','Cgf1C2vK','C2HHmJu2','AxnhAxrszxbVC2L0B3j5','BgvNywn5lxn1Bw1HCNK','v09ss1rsruvFtK9ux01btKfhruq','D29YA0L0zw1jza','ugLWzwXPBMvnyw5Hz2vY','DMfSAwrHDgvuyxnR','AM9PBG','C3rHCNrZv2L0Aa','lMnYzwf0Aw9U','D2fPDa','y2XVC2vK','zxHWB3j0CW','ls1XDwLLDa','yMfZzw5HBwu','vhjHBNnHy3rPB246ia','lM1Pz3jHDgLVBNm','DMvYAwz5lxnJB3bL','q2HLy2TWB2LUDcbZDgf0DxmGBxvZDcbIzsaIy29TCgXLDgvKiI4','CMvJB3zLCKnYzwf0Aw9U','mtuWmZKXmhjuweXgEG','CMvXDwLYzwrtA2LSBevYCM9Y','vgHPCYbJCMvHDgLVBIbPBNrLBNqGAgfZigfSCMvHzhKGyMvLBIbYzxnVBhzLzc4GvxnLihbPCgvSAw5Lx3vZzsbMB3iGyw4GzxHPC3rPBMCGCNvUlG','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','u0fwrsbPBxbSzw1LBNrHDgLVBIbKzwnPC2LVBNmGyw5KihrLC3qGCgf0DgvYBNmGD2L0AcbYzw1LBwjLCI4','Ag90zML4','vMvYAwzPy2f0Aw9Uig11C3qGC3rVCcbIzwzVCMuGCMvSzwfZzs4','z3jPBgWTBwu','rMvHDhvYzsbezxzLBg9WBwvUDa','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','Aw5OzxjPDgvK','C3rYAw5N','nJCZmdu5Awnhtuj0','BwvYz2uTyMfZzq','zgvMAw5PDgLVBG','uKvrvuLsrurFu0TjteXFtuLtu0LorW','C3rHDhvZlwLUC3bLy3rPB24','cImJia','v29YA3rYzwuGy2XLyw51CcbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','C3rHDgu','zxzLCNK','ueLqruXjtKvFu1rbvevFvu5bvKfjtefcteu','y2fUy2vSBgvK','u2vZC2LVBLj1BNrPBwu','BM9FChjVz3jLC3m','ru5pru5u','yxj0AwzHy3rszxzPzxC','CNvUswq','ueLqruXjtKvFu1rbvfvtx1voqvzbsuXbqKXf','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','C3vTBwfYAxPLqM9VDhn0CMfWu3rHDhvZ','AxnmAw5RzwrxB3jRDhjLzq','BNb4igfWDc1Ty3aTywDLBNqTC2v0DxaGDxbKyxrLic0TChjVAMvJDcaI','D29YA3nWywnLlxjLywr5','u0TjteWUBwq','vxnLignVBxbHy3qSihn0yw5KyxjKig9YigHPz2GTCMLZAY4','Cgf0Aa','y2XLyw51CfDVCMTZCgfJzq','twLNCMf0zwqGzNjVBsbSzwDHy3KGC3rHDgu','Aw52ywXPza','y3vYCMvUDezPBgu','z2L0','v29YA3rYzwuGCgf0AcbHBhjLywr5igv4Axn0CZOG','u0vtu0LptL9nsvnnqvrdsa','CMvHzen1CNjLBNq','y3jLyxrPB25jBNrLBNrgAwXL','lI4Vy29Yzs9ZA2LSBc1Uyw1LCY5QCW','BxrPBwvnCW','vgHPCYbYDw4GCMvTywLUCYbYzwfKywjSzsWGyNv0igL0CYbOAxn0B3jPy2fSignVBNrYywn0ignHBM5VDcbIzsb2zxjPzMLLzcbMB3iGBxv0yxrPB24U','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','lI4Vy29Yzs9NAxqTy29UDgv4Da','zw5JB2rPBMC','q2HHBgXLBMDLihrOzsbMAxGGzgvZAwDU','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','Bg93','ChjKlwDLBG','CMvXDwLYzwq','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','BgvUz3rO','CgfZC2vK','uNvUignHBMnLBgXLza','CMvSzwfZzq','Aw5OzxjPDfvWz3jHzgvdB250zxH0','ls1JywnOzwq','ChvIBgLJs2v5','r0Lux0LosvrFq09orKLstufusu9ox1jfuvvjuKve','zxHLy3v0Aw9Uu3rHDhvZ','CMvHzgrPCLn5BMm','BM9Uzq','lcbUB3qGywn0AxzLlG','CMv2lwXPC3q','C2fTzvDVCMTZCgfJzq','y29TCgXLDgvKqxq','CMv2Awv3t2jZzxj2zwq','r0Lux0Lorevyx0zjteu','rMX1DhrLCJOGC2vSzwn0ihrOzsb0yxnRlxnWzwnPzMLJiezSDxr0zxiGC2TPBgWU','DMvYC2LVBG','u2f2zwqGy3jLyxrPB24GAw50zw50ignVDwXKig5VDcbIzsbPBNnWzwn0zwqU','odmXnJu4m2vsuwLNCW','q29UzMLNDxjLieDPDcb1C2vYlM5HBwuGyw5KihvZzxiUzw1HAwWGyMvMB3jLignYzwf0Aw5NihrOzsbIyxnLBgLUzsbJB21TAxqU','iIWGCMvJzwL2zwqGiG','CMvHzePZB24','nJCWr1rnzfnb','BwfPBG','DMfSAwrHDgvtDg9YywDL','ywn0B3jjza','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','lMfNlwTPDc13B3jRDhjLzxm','y2fUtxv0yxrL','rgLHz25VC2uGyw5KihjLChjVzhvJzq','mtu2ntqZmM5IyLfeDq','ls1JB3vUDa','u2f2zwqGy3jLyxrPB24GAw50zw50igHHCYbHBIbPBNzHBgLKihDVCMTZCgfJzsbVCIbIzwXVBMDZihrVigfUB3rOzxiGChjVAMvJDc4','uNvUigLZia','Ag9ZDfDVCMTLCKLK','BgLZDfj1BNm','BgLZDefJDgL2zvbPCgvSAw5LCW','CMv2AxnPB24','qNvNlwzPEcbZAwDUywXZigrLDgvJDgvKlG','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','q0Xfqu5vuf9dt05gsvjnqvrjt05FuKvrvuLsruq','vw5RBM93BIbWAxbLBgLUzsb0ExbLoIa','y3jLyxrPB24','q2fUBM90ignVBxbHCMuGDgHLihDVCMT0CMvLihDPDgHVDxqGAxrZihjLy29YzgvKigjHC2uGyNjHBMnOlG','BwTKDgvTCfn5BMm','CMvZzxq','AxnjBNrLz2vY','BwTKAxjtEw5J','zxHWBgLJAxqTy3jLyxrPB24TCMvZzxq','Bxv0yxrPB24','C3rHCNq','zgLYzwn0B3j5','v09ss1rsruvFreLsvfK','D3jPDgvtDgf0zq','r0Lux1bsrvzjrvDFu1rbteu','y2fUy2vSBgvKqxq','zMLUzgLUz3m','CxvHBgL0EvbSyw4','ugLWzwXPBMuGC3rHDguGy29WEsb0ExbLig1PC21HDgnOoIa','CNvUDgLTzvbPBG','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','CMvHzhKTzM9YlwfJy2vWDgfUy2u','su5wquXjrf9qsvbfteLorq','CgXHBG','zg9JDw1LBNqTyxj0AwzHy3q','CNvUr2L0','CMvKDwnL','Aw1Wywn0rxnJywXHDgLVBG','DxbKyxrL','CNvUDgLTzs11CgDYywrL','C3rKzxjY','DgvZDa','zNjVEMvU','odu4nde3mg1kALfABW','zM9YBwf0u3rHDhvZ','x2v4zwn1DgLVBG','DxbNCMfKzs1SAw5LywDLlMPZB24','CMvJB3jKvMvYAwzPy2f0Aw9Uqxn5BMm','CMvJB3jKrM9YzwLNBLj1BG','BwfUywDLCG','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','C2TPBgXFzgLYzwn0AxzL','C3vNz2vZDfrHC2S','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','DMvYAwzPy2f0Aw9Ux2XLDMvS','CNvUDgLTzvjVB3q','D29YA3nWywnLigzPzwXKCYbOyxzLigLUDMfSAwqGDhLWzxmU','C3rVChbLza','ueLqruXjtKvFtuLttufuq0G','zgvJB2rLuNvUu3rHDgu','ChjLCgfYzu1LCMDL','yxnZAwDU','DgfYz2v0vMvYC2LVBG','ueLqruXjtKvFrevgsu5jveLptLnFvJm','ls1IyxjL','CMvWB3j0CW','D29YA0L0zw1Z','D29YA2vYu3rHDhvZ','Ag9ZDc1VyNnLCNzLza'];_0x50b7=function(){return _0x10f765;};return _0x50b7();}_0x4b877a[_0x417f9e(0x182)]=_0x417f9e(0x2f6),_0x4b877a[_0x417f9e(0x395)]=_0x417f9e(0x22d),_0x4b877a['diagnose']=_0x417f9e(0x289),_0x4b877a[_0x417f9e(0x362)]=_0x417f9e(0x17f),_0x4b877a[_0x417f9e(0x273)]=_0x417f9e(0x352);const MEMORY_TRIGGERS=_0x4b877a,DOMAIN_SKILL_REMINDER=[_0x417f9e(0x233),'Web\x20UI:\x20.agents/skills/ui-style-rules/SKILL.md','Mobile\x20UI:\x20.agents/skills/mobile-rules/SKILL.md',_0x417f9e(0x1c7)]['join']('\x0a'),_0x3d16e8={};_0x3d16e8['id']=_0x417f9e(0x182),_0x3d16e8[_0x417f9e(0x34c)]=_0x417f9e(0x1ad),_0x3d16e8[_0x417f9e(0x2da)]=_0x417f9e(0x3b6);const _0x37fe28={};_0x37fe28['id']='to-prd',_0x37fe28[_0x417f9e(0x34c)]='Synthesize\x20PRD',_0x37fe28['skill']=_0x417f9e(0x1b3);const _0x1c030a={};_0x1c030a['id']=_0x417f9e(0x3a8),_0x1c030a[_0x417f9e(0x34c)]='Create\x20vertical-slice\x20issues',_0x1c030a[_0x417f9e(0x2da)]=_0x417f9e(0x25e);const _0x23bced={};_0x23bced['id']=_0x417f9e(0x362),_0x23bced['name']=_0x417f9e(0x23a),_0x23bced[_0x417f9e(0x2da)]='tdd-loop';const _0x20144e={};function _0x6240(_0x210e7b,_0x29cfaf){_0x210e7b=_0x210e7b-0x137;const _0x50b7d2=_0x50b7();let _0x6240c4=_0x50b7d2[_0x210e7b];if(_0x6240['lDDBKN']===undefined){var _0x147540=function(_0x1f7edf){const _0x3df193='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b877a='',_0x3d16e8='';for(let _0x37fe28=0x0,_0x1c030a,_0x23bced,_0x20144e=0x0;_0x23bced=_0x1f7edf['charAt'](_0x20144e++);~_0x23bced&&(_0x1c030a=_0x37fe28%0x4?_0x1c030a*0x40+_0x23bced:_0x23bced,_0x37fe28++%0x4)?_0x4b877a+=String['fromCharCode'](0xff&_0x1c030a>>(-0x2*_0x37fe28&0x6)):0x0){_0x23bced=_0x3df193['indexOf'](_0x23bced);}for(let _0x556715=0x0,_0x352a7c=_0x4b877a['length'];_0x556715<_0x352a7c;_0x556715++){_0x3d16e8+='%'+('00'+_0x4b877a['charCodeAt'](_0x556715)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d16e8);};_0x6240['pJitlr']=_0x147540,_0x6240['TIHbDB']={},_0x6240['lDDBKN']=!![];}const _0x284755=_0x50b7d2[0x0],_0x145131=_0x210e7b+_0x284755,_0x1ed016=_0x6240['TIHbDB'][_0x145131];return!_0x1ed016?(_0x6240c4=_0x6240['pJitlr'](_0x6240c4),_0x6240['TIHbDB'][_0x145131]=_0x6240c4):_0x6240c4=_0x1ed016,_0x6240c4;}_0x20144e['id']=_0x417f9e(0x273),_0x20144e[_0x417f9e(0x34c)]='Review\x20architecture',_0x20144e[_0x417f9e(0x2da)]=_0x417f9e(0x22a);const _0x556715={};_0x556715[_0x417f9e(0x34c)]=_0x417f9e(0x183),_0x556715[_0x417f9e(0x349)]=[_0x3d16e8,_0x37fe28,_0x1c030a,_0x23bced,_0x20144e];const _0x352a7c={};_0x352a7c['id']=_0x417f9e(0x223),_0x352a7c[_0x417f9e(0x34c)]=_0x417f9e(0x1d6),_0x352a7c[_0x417f9e(0x2da)]=_0x417f9e(0x2b5);const _0x1f3f9b={};_0x1f3f9b['id']=_0x417f9e(0x182),_0x1f3f9b[_0x417f9e(0x34c)]=_0x417f9e(0x1b0),_0x1f3f9b[_0x417f9e(0x2da)]=_0x417f9e(0x3b6);const _0x1b9ff6={};_0x1b9ff6['id']='to-prd',_0x1b9ff6['name']='Document\x20the\x20fix',_0x1b9ff6[_0x417f9e(0x2da)]=_0x417f9e(0x1b3);const _0x4ea740={};_0x4ea740['id']='to-issues',_0x4ea740[_0x417f9e(0x34c)]=_0x417f9e(0x345),_0x4ea740['skill']=_0x417f9e(0x25e);const _0x55195f={};_0x55195f['id']='tdd',_0x55195f['name']=_0x417f9e(0x236),_0x55195f[_0x417f9e(0x2da)]=_0x417f9e(0x2ae);const _0x5cbe06={};_0x5cbe06[_0x417f9e(0x34c)]='Bug\x20Fix',_0x5cbe06[_0x417f9e(0x349)]=[_0x352a7c,_0x1f3f9b,_0x1b9ff6,_0x4ea740,_0x55195f];const _0x429d7e={};_0x429d7e['id']=_0x417f9e(0x178),_0x429d7e['name']='Verify\x20small\x20isolated\x20scope',_0x429d7e[_0x417f9e(0x2da)]=null;const _0x2f0c2e={};_0x2f0c2e['id']='fix-and-test',_0x2f0c2e['name']=_0x417f9e(0x15a),_0x2f0c2e[_0x417f9e(0x2da)]='tdd-loop';const _0x1368eb={};_0x1368eb['name']='Hotfix',_0x1368eb['steps']=[_0x429d7e,_0x2f0c2e];const _0x325b04={};_0x325b04[_0x417f9e(0x274)]=_0x556715,_0x325b04[_0x417f9e(0x2c3)]=_0x5cbe06,_0x325b04[_0x417f9e(0x180)]=_0x1368eb;const PIPELINE_DEFINITIONS=_0x325b04,TASK_PATTERN=/^[a-z0-9](?:[a-z0-9_-]{0,62}[a-z0-9])?$/,RUN_PATTERN=/^\d{8}T\d{6}Z-[a-f0-9]{8}$/,SENSITIVE_PATTERNS=[/(?:^|\/)\.env(?:\..+)?$/i,/(?:^|\/)(?:\.npmrc|\.netrc|\.pypirc|\.git-credentials)$/i,/(?:^|\/)\.aws\/credentials$/i,/(?:^|\/)\.config\/gcloud\/(?:application_default_credentials\.json|credentials\.db)$/i,/(?:^|\/)(?:id_rsa|id_ed25519)$/i,/\.(?:pem|key|p12|pfx)$/i,/(?:^|\/)(?:credentials|service-account)[^/]*\.json$/i],SENSITIVE_CONTENT_PATTERNS=[/(?:^|\n)\s*(?:_authToken|npm_[A-Za-z0-9_]*token)\s*=/i,/-----BEGIN [A-Z ]*PRIVATE KEY-----/,/(?:aws_secret_access_key|client_secret)\s*[=:]/i];function error(_0x124dbf,_0x10500f,_0x489aa5={}){const _0x3c4d35={'success':![],'code':_0x124dbf,'error':_0x10500f,..._0x489aa5};return _0x3c4d35;}function creationFailure(_0x317aa7,_0x1b4e9e){const _0x2220c1=_0x417f9e;return{'phase':_0x1b4e9e,'code':typeof _0x317aa7['code']===_0x2220c1(0x186)?_0x317aa7[_0x2220c1(0x2d6)]:_0x2220c1(0x350),'syscall':typeof _0x317aa7['syscall']===_0x2220c1(0x186)?_0x317aa7[_0x2220c1(0x164)]:null,'path':typeof _0x317aa7['path']===_0x2220c1(0x186)?_0x317aa7[_0x2220c1(0x1a0)]:null,'message':typeof _0x317aa7[_0x2220c1(0x293)]===_0x2220c1(0x186)?_0x317aa7[_0x2220c1(0x293)][_0x2220c1(0x31a)](0x0,0xf0):null};}function normalizePath(_0x402bae){const _0xb2b266=_0x417f9e;try{return fs[_0xb2b266(0x152)](_0x402bae);}catch{return path[_0xb2b266(0x2c1)](_0x402bae);}}function overlappingScope(_0x487c9e=[],_0x3d0038=[],_0x26deea){const _0x33a7f3=_0x417f9e;if(!_0x487c9e[_0x33a7f3(0x1b6)]||!_0x3d0038[_0x33a7f3(0x1b6)]||[..._0x487c9e,..._0x3d0038]['some'](_0x2f9fa8=>/[*?\[\]{}!]/['test'](_0x2f9fa8)))return!![];const _0x435da1=_0x5d24a6=>{const _0x554d48=_0x33a7f3,_0x446852=normalizePath(path[_0x554d48(0x2c1)](_0x26deea,_0x5d24a6['replaceAll']('\x5c','/')));return process['platform']===_0x554d48(0x2c5)?_0x446852[_0x554d48(0x2d5)]():_0x446852;};return _0x487c9e['some'](_0x471ac0=>_0x3d0038['some'](_0x2e1d53=>{const _0x164518=_0x33a7f3,_0xe72962=_0x435da1(_0x471ac0),_0x361810=_0x435da1(_0x2e1d53);return _0xe72962===_0x361810||_0xe72962['startsWith'](_0x361810+path[_0x164518(0x278)])||_0x361810['startsWith'](_0xe72962+path[_0x164518(0x278)]);}));}function sleep(_0x4c9acb){const _0x3be230=_0x417f9e;Atomics[_0x3be230(0x171)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x4c9acb);}class PipelineManager{constructor(_0x2c67ba,_0x1e2f83={}){const _0x288621=_0x417f9e;this[_0x288621(0x3b3)]=normalizePath(_0x2c67ba),this[_0x288621(0x31f)]=_0x1e2f83[_0x288621(0x31f)]||process.env,this[_0x288621(0x20e)]=_0x1e2f83[_0x288621(0x20e)]||process.env.APT_RUNTIME_ROOT||require(_0x288621(0x361))['installedRuntimeRoot'](),this[_0x288621(0x261)]=_0x1e2f83[_0x288621(0x1bc)]||require('../license/verify')['PRODUCTION_PUBLIC_KEY'],this[_0x288621(0x32e)]=!fs[_0x288621(0x3b9)](path[_0x288621(0x16e)](__dirname,'..','..',_0x288621(0x231))),this[_0x288621(0x313)]=_0x1e2f83['now']||(()=>new Date()),this[_0x288621(0x249)]=_0x1e2f83[_0x288621(0x249)]||crypto[_0x288621(0x249)],this[_0x288621(0x23d)]=_0x1e2f83[_0x288621(0x23d)]||0x7d0,this[_0x288621(0x227)]=[],this[_0x288621(0x2a6)]=new Execution(this),this[_0x288621(0x3a6)]();if(_0x1e2f83[_0x288621(0x398)]!==![])this[_0x288621(0x2c0)]();}static['suggestTask'](_0x2bb009){const _0x14b832=_0x417f9e;if(typeof _0x2bb009!=='string')return'';return _0x2bb009[_0x14b832(0x2d5)]()[_0x14b832(0x315)]()[_0x14b832(0x384)](/[^a-z0-9_-]+/g,'-')[_0x14b832(0x384)](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')[_0x14b832(0x31a)](0x0,0x40);}static[_0x417f9e(0x16d)](_0x1b2632){const _0x47d906=_0x417f9e;if(typeof _0x1b2632!=='string'||!_0x1b2632[_0x47d906(0x315)]())return error(_0x47d906(0x284),_0x47d906(0x184));if(_0x1b2632!==_0x1b2632['trim']()||!TASK_PATTERN[_0x47d906(0x200)](_0x1b2632))return error(_0x47d906(0x304),'Task\x20must\x20be\x20a\x20lowercase\x20canonical\x20ID\x20using\x20letters,\x20numbers,\x20hyphens,\x20or\x20underscores\x20(max\x2064).',{'suggested_task':PipelineManager[_0x47d906(0x20b)](_0x1b2632)});return null;}static[_0x417f9e(0x157)](_0xb3f53d){const _0x240238=_0x417f9e;if(typeof _0xb3f53d!==_0x240238(0x186)||!RUN_PATTERN[_0x240238(0x200)](_0xb3f53d))return error(_0x240238(0x288),_0x240238(0x209));return null;}static[_0x417f9e(0x145)](_0x689a9){const _0x1485c8=_0x417f9e;if(_0x689a9===undefined)return null;if(!_0x689a9||typeof _0x689a9!=='object'||Array[_0x1485c8(0x2c6)](_0x689a9))return error(_0x1485c8(0x2fe),_0x1485c8(0x2b2));const _0x5a3c7b=new Set(['mode',_0x1485c8(0x344),'initializeGit',_0x1485c8(0x252),'baseRef']);if(Object[_0x1485c8(0x31b)](_0x689a9)[_0x1485c8(0x2b7)](_0x1a44af=>!_0x5a3c7b[_0x1485c8(0x220)](_0x1a44af)))return error(_0x1485c8(0x2fe),_0x1485c8(0x318));if(_0x689a9[_0x1485c8(0x35a)]!==undefined&&![_0x1485c8(0x144),_0x1485c8(0x271),_0x1485c8(0x35d)][_0x1485c8(0x36f)](_0x689a9[_0x1485c8(0x35a)]))return error(_0x1485c8(0x2fe),_0x1485c8(0x24e));if([_0x1485c8(0x344),_0x1485c8(0x3af)][_0x1485c8(0x2b7)](_0x3c4a46=>_0x689a9[_0x3c4a46]!==undefined&&typeof _0x689a9[_0x3c4a46]!==_0x1485c8(0x14d))||[_0x1485c8(0x252),'baseRef'][_0x1485c8(0x2b7)](_0x4e87dc=>_0x689a9[_0x4e87dc]!==undefined&&typeof _0x689a9[_0x4e87dc]!==_0x1485c8(0x186)))return error(_0x1485c8(0x2fe),_0x1485c8(0x20f));return null;}[_0x417f9e(0x1fa)](_0x1d053a,_0x2aaac3={}){const _0x3f5a59=_0x417f9e,_0x51a725={};_0x51a725['cwd']=_0x2aaac3[_0x3f5a59(0x321)]||this[_0x3f5a59(0x3b3)],_0x51a725['env']={...this[_0x3f5a59(0x31f)],..._0x2aaac3['env']||{}},_0x51a725[_0x3f5a59(0x1af)]=_0x3f5a59(0x13b),_0x51a725['windowsHide']=!![],_0x51a725[_0x3f5a59(0x363)]=_0x2aaac3[_0x3f5a59(0x363)]||0x7530;const _0x540a2a=spawnSync(_0x3f5a59(0x1a5),_0x1d053a,_0x51a725);return{'ok':!_0x540a2a[_0x3f5a59(0x2c2)]&&_0x540a2a[_0x3f5a59(0x253)]===0x0,'status':_0x540a2a[_0x3f5a59(0x253)],'stdout':(_0x540a2a['stdout']||'')['trim'](),'stderr':(_0x540a2a[_0x3f5a59(0x1ff)]||_0x540a2a[_0x3f5a59(0x2c2)]?.[_0x3f5a59(0x293)]||'')[_0x3f5a59(0x315)]()};}[_0x417f9e(0x3a6)](){const _0x4f173b=_0x417f9e,_0x38e900=require(_0x4f173b(0x1ae))['repositoryContext'](this['projectPath'],this[_0x4f173b(0x31f)]);this[_0x4f173b(0x168)]=_0x38e900[_0x4f173b(0x168)],this[_0x4f173b(0x29e)]=_0x38e900['gitCommonDir']?normalizePath(_0x38e900[_0x4f173b(0x29e)]):null,this[_0x4f173b(0x369)]=this[_0x4f173b(0x29e)]?path[_0x4f173b(0x16e)](this['gitCommonDir'],_0x4f173b(0x29d),_0x4f173b(0x2d1)):path[_0x4f173b(0x16e)](this['projectPath'],_0x4f173b(0x30a),_0x4f173b(0x2d1)),this[_0x4f173b(0x33d)]=path[_0x4f173b(0x16e)](this[_0x4f173b(0x3b3)],'.agents','pipeline-state.json');}[_0x417f9e(0x247)](){const _0x111ddf=_0x417f9e,_0x27befe=this[_0x111ddf(0x313)]()['toISOString']()[_0x111ddf(0x384)](/[-:]/g,'')[_0x111ddf(0x384)](/\.\d{3}/,'');return _0x27befe+'-'+this[_0x111ddf(0x249)](0x4)[_0x111ddf(0x2a5)](_0x111ddf(0x258));}[_0x417f9e(0x374)](_0x55a8e8){const _0x2d062a=_0x417f9e;return path[_0x2d062a(0x16e)](this['stateRoot'],_0x55a8e8);}[_0x417f9e(0x389)](_0x5b5a5d,_0x24bbf7){const _0x2f3897=_0x417f9e;return path['join'](this['taskDir'](_0x5b5a5d),_0x2f3897(0x285),_0x24bbf7);}[_0x417f9e(0x1a4)](_0x126a0e){return path['join'](this['taskDir'](_0x126a0e),'current.json');}['stateFile'](_0x38b2d4,_0x1c46c){const _0x3270da=_0x417f9e;return path[_0x3270da(0x16e)](this[_0x3270da(0x389)](_0x38b2d4,_0x1c46c),_0x3270da(0x2e8));}['ledgerFile'](_0x470f26,_0x9dc1c1){const _0x17bc7c=_0x417f9e;return path[_0x17bc7c(0x16e)](this[_0x17bc7c(0x389)](_0x470f26,_0x9dc1c1),_0x17bc7c(0x306));}['atomicWrite'](_0x26aa6c,_0x4997fe){const _0x33466b=_0x417f9e,_0x101094={};_0x101094['recursive']=!![],fs[_0x33466b(0x1e8)](path[_0x33466b(0x2f5)](_0x26aa6c),_0x101094);const _0x23713d=_0x26aa6c+'.'+process[_0x33466b(0x326)]+'.'+this[_0x33466b(0x249)](0x4)['toString'](_0x33466b(0x258))+'.tmp',_0x2620c9=fs[_0x33466b(0x248)](_0x23713d,'wx');try{fs['writeFileSync'](_0x2620c9,_0x4997fe,_0x33466b(0x13b)),fs['fsyncSync'](_0x2620c9);}finally{fs[_0x33466b(0x14a)](_0x2620c9);}fs['renameSync'](_0x23713d,_0x26aa6c);}[_0x417f9e(0x22b)](_0x3092f6,_0x5da0db){const _0xc36672=_0x417f9e;this[_0xc36672(0x2e9)](_0x3092f6,JSON[_0xc36672(0x28b)](_0x5da0db,null,0x2)+'\x0a');}[_0x417f9e(0x2d2)](_0x457dba){const _0x5bc968=_0x417f9e;return path[_0x5bc968(0x16e)](this[_0x5bc968(0x369)],_0x5bc968(0x143),_0x457dba+_0x5bc968(0x3a5));}['acquireLock'](_0x2d8120){const _0x481c66=_0x417f9e,_0xe33999=this[_0x481c66(0x2d2)](_0x2d8120),_0x20f7ab={};_0x20f7ab[_0x481c66(0x2af)]=!![],fs['mkdirSync'](path['dirname'](_0xe33999),_0x20f7ab);const _0x5a667f=Date['now']();while(Date['now']()-_0x5a667f<=this['lockTimeoutMs']){const _0x4dbffa=acquireRuntimeLock(_0xe33999);if(_0x4dbffa)return _0x4dbffa;sleep(0x14);}const _0x3ebf9a={};_0x3ebf9a[_0x481c66(0x2d6)]=_0x481c66(0x286);throw Object['assign'](new Error(_0x481c66(0x38b)+_0x2d8120+'\x22.'),_0x3ebf9a);}[_0x417f9e(0x2d7)](_0x2be52a,_0x2e9903){const _0x43e259=_0x417f9e;let _0x5aa6e9;try{return _0x5aa6e9=this[_0x43e259(0x355)](_0x2be52a),_0x2e9903();}catch(_0x21f439){if(_0x21f439['code']===_0x43e259(0x286))return error(_0x21f439['code'],_0x21f439['message']);throw _0x21f439;}finally{if(_0x5aa6e9)_0x5aa6e9();}}[_0x417f9e(0x2a8)](){const _0x44f9e5=_0x417f9e;if(fs[_0x44f9e5(0x3b9)](this[_0x44f9e5(0x33d)]))return!![];const _0x3ea6b1=new Set([path['join'](this[_0x44f9e5(0x3b3)],_0x44f9e5(0x30a),_0x44f9e5(0x2d1)),this['stateRoot']]);for(const _0x2839f8 of _0x3ea6b1){if(!fs[_0x44f9e5(0x3b9)](_0x2839f8))continue;const _0x3f92f6={};_0x3f92f6['withFileTypes']=!![];if(fs[_0x44f9e5(0x1bf)](_0x2839f8,_0x3f92f6)[_0x44f9e5(0x2b7)](_0x2d526a=>_0x2d526a[_0x44f9e5(0x244)]()&&!_0x2d526a[_0x44f9e5(0x34c)][_0x44f9e5(0x16f)]('.')&&fs[_0x44f9e5(0x3b9)](path[_0x44f9e5(0x16e)](_0x2839f8,_0x2d526a['name'],_0x44f9e5(0x2e8)))))return!![];}return![];}['migrateLegacyStates'](){const _0x22c248=_0x417f9e;if(!this[_0x22c248(0x2a8)]())return;const _0x4f7dd3=this[_0x22c248(0x355)]('legacy-migration');try{this[_0x22c248(0x26d)](),this[_0x22c248(0x224)]();}finally{_0x4f7dd3();}}[_0x417f9e(0x1cd)](_0x3d3491){const _0x3830f3=_0x417f9e;try{return JSON[_0x3830f3(0x3bb)](fs[_0x3830f3(0x27d)](_0x3d3491,_0x3830f3(0x13b)));}catch(_0x183609){if(_0x183609['code']!==_0x3830f3(0x194)&&!(_0x183609 instanceof SyntaxError))throw _0x183609;return null;}}[_0x417f9e(0x1a8)](_0x3c9b9e){const _0xa74e20=_0x417f9e,_0x19fc25=this[_0xa74e20(0x1cd)](this[_0xa74e20(0x1a4)](_0x3c9b9e));if(!_0x19fc25?.[_0xa74e20(0x196)])return null;return this[_0xa74e20(0x245)](_0x3c9b9e,_0x19fc25[_0xa74e20(0x196)]);}[_0x417f9e(0x245)](_0x3b0784,_0x18766d){const _0x13de2d=_0x417f9e,_0x230f33=path['join'](this[_0x13de2d(0x389)](_0x3b0784,_0x18766d),_0x13de2d(0x28a)),_0x13737d={};_0x13737d[_0x13de2d(0x39b)]=_0x3b0784,_0x13737d[_0x13de2d(0x196)]=_0x18766d;const _0x36a8a7=require(_0x13de2d(0x332))[_0x13de2d(0x2cb)](_0x230f33,_0x13737d);if(_0x36a8a7)return require(_0x13de2d(0x336))[_0x13de2d(0x212)](_0x36a8a7,this[_0x13de2d(0x389)](_0x3b0784,_0x18766d));return this['execution'][_0x13de2d(0x317)](_0x3b0784,_0x18766d,this[_0x13de2d(0x1cd)](this['stateFile'](_0x3b0784,_0x18766d)));}[_0x417f9e(0x269)](_0x33e1b0,_0x320058={}){const _0x379b19=_0x417f9e,_0x648d74={};_0x648d74[_0x379b19(0x1ea)]=_0x379b19(0x262),_0x648d74[_0x379b19(0x2d6)]='FOREIGN_WORKSPACE_STATE';if(!this[_0x379b19(0x29c)](_0x33e1b0))return _0x648d74;return inspectRunContract(_0x33e1b0,{'runtimeRoot':this[_0x379b19(0x20e)],'publicKey':this['runtimePublicKey'],'developmentMode':this[_0x379b19(0x32e)],'legacyDefinitions':PIPELINE_DEFINITIONS,'runDir':this[_0x379b19(0x389)](_0x33e1b0[_0x379b19(0x39b)],_0x33e1b0[_0x379b19(0x196)]),..._0x320058});}[_0x417f9e(0x29c)](_0x2b5ef3){const _0x2641c6=_0x417f9e;return[_0x2b5ef3?.['originWorkspace'],_0x2b5ef3?.[_0x2641c6(0x311)]?.['path']]['filter'](Boolean)[_0x2641c6(0x2b7)](_0x4517b5=>{const _0x24668e=_0x2641c6;try{return require(_0x24668e(0x260))[_0x24668e(0x1c3)](_0x4517b5,this['projectPath']);}catch{return![];}});}[_0x417f9e(0x207)](_0x372c56){const _0x2a1d59=_0x417f9e,_0x4e7d22={};_0x4e7d22[_0x2a1d59(0x2d6)]=_0x2a1d59(0x36e),_0x4e7d22['task']=_0x372c56[_0x2a1d59(0x39b)],_0x4e7d22[_0x2a1d59(0x196)]=_0x372c56[_0x2a1d59(0x196)];const _0x4a6407=_0x4e7d22;this['foreignWorkspaceStates']||=[];if(!this[_0x2a1d59(0x3ae)][_0x2a1d59(0x2b7)](_0x3a2bc9=>_0x3a2bc9[_0x2a1d59(0x39b)]===_0x372c56[_0x2a1d59(0x39b)]&&_0x3a2bc9[_0x2a1d59(0x196)]===_0x372c56['runId']))this[_0x2a1d59(0x3ae)]['push'](_0x4a6407);}[_0x417f9e(0x2ed)](_0x5cae95){const _0x370a38=_0x417f9e;_0x5cae95[_0x370a38(0x189)]=JSON[_0x370a38(0x3bb)](JSON[_0x370a38(0x28b)](PIPELINE_DEFINITIONS[_0x5cae95[_0x370a38(0x36c)]]));const _0x3096a8=path[_0x370a38(0x16e)](__dirname,'..','..','integrity-manifest.json'),_0x121104=fs[_0x370a38(0x3b9)](_0x3096a8);_0x5cae95[_0x370a38(0x1f4)]={'source':_0x121104?'signed-release':'development-source','version':require('../../package.json')[_0x370a38(0x1c8)],'digest':_0x121104?crypto['createHash'](_0x370a38(0x167))['update'](JSON[_0x370a38(0x28b)](JSON[_0x370a38(0x3bb)](fs[_0x370a38(0x27d)](_0x3096a8,'utf8'))))[_0x370a38(0x368)]('hex'):null,'definitionHash':crypto[_0x370a38(0x2df)](_0x370a38(0x167))[_0x370a38(0x1fd)](JSON[_0x370a38(0x28b)](_0x5cae95['definition']))[_0x370a38(0x368)](_0x370a38(0x258))};}['repairRun'](_0x2db4ff,_0xfcef7d){const _0x9a9e6a=_0x417f9e;return this[_0x9a9e6a(0x2d7)](_0x2db4ff,()=>{const _0x1c5a03=_0x9a9e6a,_0x42ceb9=this['readRun'](_0x2db4ff,_0xfcef7d);return _0x42ceb9?.[_0x1c5a03(0x297)]===0x3&&this['contract'](_0x42ceb9)[_0x1c5a03(0x1ea)]!==_0x1c5a03(0x262)&&(this[_0x1c5a03(0x22b)](this[_0x1c5a03(0x35e)](_0x2db4ff,_0xfcef7d),_0x42ceb9),this[_0x1c5a03(0x2a6)][_0x1c5a03(0x15e)](_0x42ceb9)),_0x42ceb9;});}[_0x417f9e(0x1a9)](_0x572369,_0x3c4274){const _0x1f0750=_0x417f9e;return path['join'](this[_0x1f0750(0x369)],'.creation',_0x572369,_0x3c4274+_0x1f0750(0x13f));}['pendingCreation'](_0x1636a6){const _0x219580=_0x417f9e,_0x3c4513=path[_0x219580(0x16e)](this[_0x219580(0x369)],_0x219580(0x170),_0x1636a6);if(!fs[_0x219580(0x3b9)](_0x3c4513))return null;for(const _0x3b886c of fs['readdirSync'](_0x3c4513)){const _0x417e28=this['readJson'](path[_0x219580(0x16e)](_0x3c4513,_0x3b886c)),_0x1bc41d={};_0x1bc41d['status']=_0x219580(0x1a3),_0x1bc41d[_0x219580(0x335)]=_0x3b886c;if(!_0x417e28)return _0x1bc41d;const _0x40c3dc={};_0x40c3dc[_0x219580(0x253)]=_0x219580(0x1a3),_0x40c3dc['file']=_0x3b886c;if(_0x417e28['task']!==_0x1636a6||PipelineManager[_0x219580(0x157)](_0x417e28[_0x219580(0x196)]))return _0x40c3dc;if(['creating',_0x219580(0x19d),_0x219580(0x380)][_0x219580(0x36f)](_0x417e28[_0x219580(0x253)])&&!this[_0x219580(0x245)](_0x1636a6,_0x417e28[_0x219580(0x196)]))return _0x417e28;}return null;}[_0x417f9e(0x386)](_0x606024){const _0x1fded2=_0x417f9e,_0x3351e=path[_0x1fded2(0x16e)](this[_0x1fded2(0x369)],_0x1fded2(0x170));if(!fs[_0x1fded2(0x3b9)](_0x3351e))return[];const _0x1d9998={};_0x1d9998[_0x1fded2(0x272)]=!![];const _0x30af54=_0x606024?[_0x606024]:fs['readdirSync'](_0x3351e,_0x1d9998)[_0x1fded2(0x250)](_0x482c3c=>_0x482c3c['isDirectory']())[_0x1fded2(0x2c7)](_0x40592a=>_0x40592a[_0x1fded2(0x34c)]),_0x49def1=[];for(const _0x33d8b0 of _0x30af54){const _0x51998c=path[_0x1fded2(0x16e)](_0x3351e,_0x33d8b0);if(!fs[_0x1fded2(0x3b9)](_0x51998c))continue;for(const _0x4f96cb of fs['readdirSync'](_0x51998c)[_0x1fded2(0x250)](_0x4acc08=>_0x4acc08[_0x1fded2(0x13e)]('.json'))){const _0x4fd57a=this['readJson'](path[_0x1fded2(0x16e)](_0x51998c,_0x4f96cb));if(!_0x4fd57a||_0x4fd57a[_0x1fded2(0x39b)]!==_0x33d8b0||PipelineManager[_0x1fded2(0x157)](_0x4fd57a[_0x1fded2(0x196)])||![_0x1fded2(0x240),_0x1fded2(0x19d),_0x1fded2(0x380)][_0x1fded2(0x36f)](_0x4fd57a['status'])||this['readRun'](_0x33d8b0,_0x4fd57a[_0x1fded2(0x196)]))continue;const _0x49f9bf=!PipelineManager[_0x1fded2(0x145)](_0x4fd57a['requestedWorkspace']),_0x59af38=_0x4fd57a[_0x1fded2(0x311)]&&!_0x4fd57a[_0x1fded2(0x311)][_0x1fded2(0x2c4)]&&typeof _0x4fd57a[_0x1fded2(0x311)]['path']===_0x1fded2(0x186)&&normalizePath(_0x4fd57a[_0x1fded2(0x311)][_0x1fded2(0x1a0)])===this[_0x1fded2(0x3b3)],_0x2fd1c9=_0x4fd57a[_0x1fded2(0x303)]===undefined?_0x59af38:typeof _0x4fd57a[_0x1fded2(0x303)]===_0x1fded2(0x186)&&normalizePath(_0x4fd57a[_0x1fded2(0x303)])===this[_0x1fded2(0x3b3)];_0x49def1[_0x1fded2(0x323)]({'task':_0x33d8b0,'runId':_0x4fd57a[_0x1fded2(0x196)],'status':_0x4fd57a['status'],'originWorkspace':_0x4fd57a[_0x1fded2(0x303)]||null,'requestedWorkspace':_0x4fd57a[_0x1fded2(0x2a0)]||null,'workspace':_0x4fd57a[_0x1fded2(0x311)]||null,'runtimeVersion':_0x4fd57a['runtimeVersion']||null,'error':_0x4fd57a[_0x1fded2(0x2c2)]||null,'intentFile':path['join'](_0x51998c,_0x4f96cb),'availableActions':{'resume':_0x49f9bf&&_0x2fd1c9&&_0x59af38,'abandon':_0x49f9bf&&_0x2fd1c9&&_0x59af38&&!this[_0x1fded2(0x1a8)](_0x33d8b0)}});}}return _0x49def1;}[_0x417f9e(0x17a)](_0x1cef7d,_0x27ab27,_0x349beb){const _0x1a6b4d=_0x417f9e,_0xd77f00=PipelineManager['validateRunId'](_0x27ab27);if(_0xd77f00)return _0xd77f00;return this[_0x1a6b4d(0x2d7)](_0x1cef7d,()=>{const _0x4aff51=_0x1a6b4d,_0x3ccce5=this[_0x4aff51(0x1a9)](_0x1cef7d,_0x27ab27),_0x534ee4=this[_0x4aff51(0x1cd)](_0x3ccce5);if(!_0x534ee4||_0x534ee4[_0x4aff51(0x39b)]!==_0x1cef7d||_0x534ee4['runId']!==_0x27ab27)return error('CREATION_INTENT_REQUIRED',_0x4aff51(0x277));if(!['creating',_0x4aff51(0x19d),'interrupted'][_0x4aff51(0x36f)](_0x534ee4[_0x4aff51(0x253)]))return error('CREATION_ALREADY_RESOLVED',_0x4aff51(0x17d));if(PipelineManager[_0x4aff51(0x145)](_0x534ee4['requestedWorkspace'])||_0x534ee4[_0x4aff51(0x303)]&&(typeof _0x534ee4[_0x4aff51(0x303)]!==_0x4aff51(0x186)||normalizePath(_0x534ee4[_0x4aff51(0x303)])!==this[_0x4aff51(0x3b3)]))return error('CREATION_WORKSPACE_MISMATCH',_0x4aff51(0x1d9));if(_0x534ee4[_0x4aff51(0x290)]?.[_0x4aff51(0x365)]&&_0x534ee4[_0x4aff51(0x290)]['sessionId']!==_0x349beb)return error(_0x4aff51(0x1a7),_0x4aff51(0x382));const _0x520f91=this[_0x4aff51(0x1a8)](_0x1cef7d);if(_0x520f91&&_0x520f91['runId']!==_0x27ab27)return error(_0x4aff51(0x307),'Another\x20run\x20is\x20current;\x20recovery\x20cannot\x20replace\x20its\x20binding.');const _0x2fdfc3=this['readRun'](_0x1cef7d,_0x27ab27);if(_0x2fdfc3){if(_0x2fdfc3[_0x4aff51(0x253)]!==_0x4aff51(0x2e2)||_0x2fdfc3[_0x4aff51(0x375)]&&_0x2fdfc3[_0x4aff51(0x375)]!==_0x349beb)return error(_0x4aff51(0x35c),'Existing\x20run\x20is\x20terminal\x20or\x20belongs\x20to\x20another\x20coordinator.');const _0x2ac70e={};_0x2ac70e['setCurrent']=!![],this[_0x4aff51(0x1ee)](_0x2fdfc3,_0x2ac70e);const _0x15285c={..._0x534ee4};_0x15285c[_0x4aff51(0x253)]=_0x4aff51(0x37e),this[_0x4aff51(0x22b)](_0x3ccce5,_0x15285c);const _0x561f4c={};return _0x561f4c[_0x4aff51(0x2ef)]=!![],this['formatStatus'](_0x2fdfc3,_0x561f4c);}let _0x8be5a6=_0x534ee4['workspace'];const _0x401f28={};_0x401f28[_0x4aff51(0x35a)]=_0x4aff51(0x271);if(!_0x8be5a6&&_0x534ee4['requestedWorkspace']['mode']!==_0x4aff51(0x35d))_0x8be5a6=this['resolveWorkspace'](_0x1cef7d,_0x27ab27,_0x401f28)[_0x4aff51(0x311)];if(!_0x8be5a6&&_0x534ee4[_0x4aff51(0x2a0)][_0x4aff51(0x35a)]===_0x4aff51(0x35d)){const _0x3a2c7f=path[_0x4aff51(0x16e)](path[_0x4aff51(0x2f5)](this[_0x4aff51(0x3b3)]),_0x4aff51(0x1d4),path[_0x4aff51(0x175)](this[_0x4aff51(0x3b3)]),_0x1cef7d,_0x27ab27),_0x382f9f={};_0x382f9f[_0x4aff51(0x1a0)]=_0x3a2c7f,_0x382f9f[_0x4aff51(0x35a)]='worktree',_0x382f9f[_0x4aff51(0x2c4)]=!![],_0x382f9f[_0x4aff51(0x3a1)]=_0x4aff51(0x28e)+_0x1cef7d+'/'+_0x27ab27,_0x382f9f[_0x4aff51(0x253)]=_0x4aff51(0x2a9),_0x8be5a6=_0x382f9f;}if(!_0x8be5a6||!fs[_0x4aff51(0x3b9)](_0x8be5a6[_0x4aff51(0x1a0)])){if(_0x8be5a6?.[_0x4aff51(0x2c4)]&&!_0x534ee4[_0x4aff51(0x311)]){const _0x37a527=this['runGit'](['worktree',_0x4aff51(0x267),_0x4aff51(0x37c)]),_0x5cd752=this[_0x4aff51(0x1fa)](['show-ref','--verify',_0x4aff51(0x174),_0x4aff51(0x226)+_0x8be5a6[_0x4aff51(0x3a1)]]),_0x57f051=_0x37a527[_0x4aff51(0x346)]?.[_0x4aff51(0x2db)](/\r?\n/)[_0x4aff51(0x2b7)](_0x3ac851=>_0x3ac851[_0x4aff51(0x16f)](_0x4aff51(0x27b))&&normalizePath(_0x3ac851[_0x4aff51(0x31a)](0x9))===normalizePath(_0x8be5a6[_0x4aff51(0x1a0)]));if(_0x37a527['ok']&&!_0x57f051&&_0x5cd752[_0x4aff51(0x253)]===0x1)return this[_0x4aff51(0x22b)](_0x3ccce5,{..._0x534ee4,'status':_0x4aff51(0x387),'resolvedAt':this[_0x4aff51(0x313)]()[_0x4aff51(0x3a4)]()}),error(_0x4aff51(0x2bd),_0x4aff51(0x1b1));}return error(_0x4aff51(0x32f),_0x4aff51(0x198));}if(_0x8be5a6['managed']){const _0x6a4dc6=this['runGit']([_0x4aff51(0x35d),_0x4aff51(0x267),_0x4aff51(0x37c)]),_0x1142e0={};_0x1142e0[_0x4aff51(0x321)]=_0x8be5a6[_0x4aff51(0x1a0)];const _0x3f9ee5=this[_0x4aff51(0x1fa)]([_0x4aff51(0x3a1),_0x4aff51(0x301)],_0x1142e0);if(!_0x6a4dc6['ok']||!_0x6a4dc6[_0x4aff51(0x346)][_0x4aff51(0x2db)]('\x0a')[_0x4aff51(0x2b7)](_0x4aba34=>_0x4aba34['startsWith'](_0x4aff51(0x27b))&&normalizePath(_0x4aba34['slice'](0x9))===normalizePath(_0x8be5a6[_0x4aff51(0x1a0)]))||_0x3f9ee5[_0x4aff51(0x346)]!==_0x8be5a6['branch'])return error(_0x4aff51(0x35f),_0x4aff51(0x13d));}else{if(!_0x8be5a6[_0x4aff51(0x1a0)]||normalizePath(_0x8be5a6[_0x4aff51(0x1a0)])!==this['projectPath'])return error(_0x4aff51(0x35f),_0x4aff51(0x276));}if(!_0x534ee4['originWorkspace']&&_0x8be5a6[_0x4aff51(0x2c4)])return error(_0x4aff51(0x35f),_0x4aff51(0x2e0));const _0x4be4cc={'schemaVersion':_0x534ee4[_0x4aff51(0x297)]||0x3,'task':_0x1cef7d,'runId':_0x27ab27,'pipeline':_0x534ee4[_0x4aff51(0x36c)],'status':_0x4aff51(0x2e2),'completedSteps':[],'originWorkspace':_0x534ee4[_0x4aff51(0x303)]||this[_0x4aff51(0x3b3)],'workspace':_0x8be5a6,'startedAt':_0x534ee4[_0x4aff51(0x340)],'updatedAt':this['now']()[_0x4aff51(0x3a4)]()};let _0x1152d2=_0x4aff51(0x364);try{if(_0x4be4cc[_0x4aff51(0x297)]===0x3)this[_0x4aff51(0x2a6)]['initialize'](_0x4be4cc,_0x534ee4[_0x4aff51(0x290)]);else this[_0x4aff51(0x2ed)](_0x4be4cc);_0x1152d2=_0x4aff51(0x378);const _0x296194={};_0x296194[_0x4aff51(0x2ec)]=!![],this[_0x4aff51(0x1ee)](_0x4be4cc,_0x296194),_0x1152d2=_0x4aff51(0x394),this['atomicWriteJson'](_0x3ccce5,{..._0x534ee4,'status':_0x4aff51(0x37e),'recoveredAt':this['now']()[_0x4aff51(0x3a4)]()});const _0x50f180={};return _0x50f180[_0x4aff51(0x2ef)]=!![],_0x50f180['recovered']=!![],this[_0x4aff51(0x203)](_0x4be4cc,_0x50f180);}catch(_0x43a1e4){const _0x59d377=creationFailure(_0x43a1e4,_0x1152d2);try{const _0x38202c={..._0x534ee4};_0x38202c[_0x4aff51(0x253)]='interrupted',_0x38202c[_0x4aff51(0x2c2)]=_0x59d377,this[_0x4aff51(0x22b)](_0x3ccce5,_0x38202c);}catch{}const _0x44931f={};return _0x44931f[_0x4aff51(0x39b)]=_0x1cef7d,_0x44931f[_0x4aff51(0x196)]=_0x27ab27,_0x44931f[_0x4aff51(0x3ab)]=_0x3ccce5,_0x44931f[_0x4aff51(0x311)]=_0x8be5a6,_0x44931f[_0x4aff51(0x37a)]=_0x59d377[_0x4aff51(0x2d6)],_0x44931f[_0x4aff51(0x26b)]=_0x59d377,error(_0x4aff51(0x21e),'Recovery\x20was\x20interrupted;\x20its\x20intent\x20was\x20preserved.',_0x44931f);}});}[_0x417f9e(0x1ee)](_0x5ebe67,{setCurrent:setCurrent=![]}={}){const _0x338976=_0x417f9e;_0x5ebe67[_0x338976(0x279)]=this['now']()[_0x338976(0x3a4)]();if(_0x5ebe67[_0x338976(0x297)]===0x3)this[_0x338976(0x2a6)][_0x338976(0x3a2)](_0x5ebe67);this[_0x338976(0x22b)](this[_0x338976(0x35e)](_0x5ebe67[_0x338976(0x39b)],_0x5ebe67[_0x338976(0x196)]),_0x5ebe67);if(_0x5ebe67[_0x338976(0x297)]===0x3)this[_0x338976(0x2a6)][_0x338976(0x15e)](_0x5ebe67);setCurrent&&this['atomicWriteJson'](this['currentFile'](_0x5ebe67[_0x338976(0x39b)]),{'task':_0x5ebe67['task'],'runId':_0x5ebe67[_0x338976(0x196)],'updatedAt':_0x5ebe67[_0x338976(0x279)]});}[_0x417f9e(0x32d)](_0x2187c8,_0x5ef178,_0x5019cf){const _0x3e89d3=_0x417f9e;if(_0x2187c8[_0x3e89d3(0x297)]===0x3)return this['execution'][_0x3e89d3(0x15e)](_0x2187c8);const _0x1265d0=this[_0x3e89d3(0x383)](_0x2187c8[_0x3e89d3(0x39b)],_0x2187c8[_0x3e89d3(0x196)]);let _0x28931c=fs['existsSync'](_0x1265d0)?fs[_0x3e89d3(0x27d)](_0x1265d0,_0x3e89d3(0x13b)):'';!_0x28931c&&(_0x28931c=_0x3e89d3(0x2bf)+_0x2187c8[_0x3e89d3(0x39b)]+_0x3e89d3(0x33c)+_0x2187c8['runId']+_0x3e89d3(0x2b4)+_0x2187c8[_0x3e89d3(0x36c)]+'\x0a'),_0x28931c+=_0x3e89d3(0x18c)+this[_0x3e89d3(0x313)]()[_0x3e89d3(0x3a4)]()+'\x20-\x20'+_0x5ef178+'\x0a\x0a'+_0x5019cf+'\x0a',this[_0x3e89d3(0x2e9)](_0x1265d0,_0x28931c);}[_0x417f9e(0x17c)](_0x1385ec,_0x38082d=this[_0x417f9e(0x3b3)]){const _0x385ba1=_0x417f9e,_0xc18145=[path['join'](_0x38082d,_0x385ba1(0x30a),_0x385ba1(0x30b),_0x1385ec,_0x385ba1(0x19e)),path[_0x385ba1(0x16e)](this[_0x385ba1(0x3b3)],_0x385ba1(0x30a),_0x385ba1(0x30b),_0x1385ec,_0x385ba1(0x19e))],{SKILL_NAME_MAPPING:_0x112576,CANONICAL_SKILL_SOURCES:_0x2125a8}=require(_0x385ba1(0x1aa)),_0x16f6be=_0x2125a8[_0x1385ec]||Object[_0x385ba1(0x31b)](_0x112576)[_0x385ba1(0x147)](_0x15545f=>_0x112576[_0x15545f]===_0x1385ec);if(_0x16f6be)_0xc18145[_0x385ba1(0x323)](path['join'](this[_0x385ba1(0x3b3)],'.agents',_0x385ba1(0x30b),_0x16f6be,_0x385ba1(0x19e)));const _0x522e69=_0xc18145[_0x385ba1(0x147)](_0x4b67ae=>fs['existsSync'](_0x4b67ae));if(_0x522e69)return null;const _0x39636e={};return _0x39636e['expected_path']=_0xc18145[0x0],_0x39636e[_0x385ba1(0x263)]=_0x385ba1(0x19c)+this['projectPath']+'\x22',error(_0x385ba1(0x18a),_0x385ba1(0x3b1)+_0x1385ec+_0x385ba1(0x36a),_0x39636e);}[_0x417f9e(0x19b)](){const _0x13e6d5=_0x417f9e;if(!this['isGitRepository'])return![];const _0x2fbd4e=this['runGit'](['rev-parse','--git-dir']);if(!_0x2fbd4e['ok']||!this[_0x13e6d5(0x29e)])return![];const _0x536844=normalizePath(path[_0x13e6d5(0x2c1)](this[_0x13e6d5(0x3b3)],_0x2fbd4e['stdout']));if(_0x536844===this['gitCommonDir'])return![];const _0x1905a1=this[_0x13e6d5(0x1fa)]([_0x13e6d5(0x35d),_0x13e6d5(0x267),_0x13e6d5(0x37c)]);if(!_0x1905a1['ok'])return![];const _0x1a24ff=normalizePath(this[_0x13e6d5(0x3b3)])[_0x13e6d5(0x2d5)]();return _0x1905a1[_0x13e6d5(0x346)][_0x13e6d5(0x2db)](/\r?\n/)[_0x13e6d5(0x250)](_0x74f343=>_0x74f343[_0x13e6d5(0x16f)](_0x13e6d5(0x27b)))[_0x13e6d5(0x2b7)](_0x1e3765=>normalizePath(_0x1e3765[_0x13e6d5(0x31a)](0x9))['toLowerCase']()===_0x1a24ff);}[_0x417f9e(0x25a)](){const _0x936a9b=_0x417f9e;if(this[_0x936a9b(0x168)])return error(_0x936a9b(0x27c),_0x936a9b(0x34d));const _0xb3dbc9=fs[_0x936a9b(0x1e5)](path[_0x936a9b(0x16e)](os[_0x936a9b(0x25b)](),'apt-mcp-git-preview-'));try{const _0x31a466=path[_0x936a9b(0x16e)](_0xb3dbc9,_0x936a9b(0x1a5)),_0x2302e1=path[_0x936a9b(0x16e)](_0xb3dbc9,_0x936a9b(0x312)),_0x102e57={};_0x102e57['cwd']=_0xb3dbc9;const _0x1c6ef7=this[_0x936a9b(0x1fa)]([_0x936a9b(0x222),_0x936a9b(0x217),_0x31a466],_0x102e57);if(!_0x1c6ef7['ok'])return error(_0x936a9b(0x36b),_0x1c6ef7[_0x936a9b(0x1ff)]||_0x936a9b(0x34b));const _0x445fa2={};_0x445fa2[_0x936a9b(0x1c6)]=_0x2302e1;const _0x26a34e=_0x445fa2,_0x70b3ce=this['runGit']([_0x936a9b(0x15f),_0x31a466,_0x936a9b(0x13a),this['projectPath'],_0x936a9b(0x30e),'-A'],{'cwd':this['projectPath'],'env':_0x26a34e});if(!_0x70b3ce['ok'])return error(_0x936a9b(0x36b),_0x70b3ce[_0x936a9b(0x1ff)]||_0x936a9b(0x1d2));const _0x29fa15=this[_0x936a9b(0x1fa)]([_0x936a9b(0x15f),_0x31a466,_0x936a9b(0x13a),this[_0x936a9b(0x3b3)],_0x936a9b(0x230),_0x936a9b(0x1bb),'--name-only','-z'],{'cwd':this['projectPath'],'env':_0x26a34e});if(!_0x29fa15['ok'])return error(_0x936a9b(0x36b),_0x29fa15[_0x936a9b(0x1ff)]||_0x936a9b(0x2d8));const _0x316a4d=_0x29fa15[_0x936a9b(0x346)]?_0x29fa15[_0x936a9b(0x346)][_0x936a9b(0x2db)]('\x00')['filter'](Boolean)[_0x936a9b(0x2c7)](_0x19da52=>_0x19da52[_0x936a9b(0x384)](/\\/g,'/'))[_0x936a9b(0x266)]():[],_0x3bd920=_0x316a4d[_0x936a9b(0x2c7)](_0x3bfef4=>{const _0x3a0229=_0x936a9b,_0x36273e=path[_0x3a0229(0x16e)](this[_0x3a0229(0x3b3)],_0x3bfef4),_0xe1ae9f=fs[_0x3a0229(0x366)](_0x36273e),_0x5cd1df=crypto['createHash'](_0x3a0229(0x167))[_0x3a0229(0x1fd)](fs[_0x3a0229(0x27d)](_0x36273e))[_0x3a0229(0x368)]('hex');return{'path':_0x3bfef4,'size':_0xe1ae9f[_0x3a0229(0x241)],'mtimeMs':Math['trunc'](_0xe1ae9f[_0x3a0229(0x1ab)]),'sha256':_0x5cd1df};}),_0x30aad2=_0x316a4d[_0x936a9b(0x250)](_0x4631d3=>{const _0x547b62=_0x936a9b,_0x4b861f=/\.env\.example$/i[_0x547b62(0x200)](_0x4631d3);if(!_0x4b861f&&SENSITIVE_PATTERNS[_0x547b62(0x2b7)](_0x15f2ea=>_0x15f2ea[_0x547b62(0x200)](_0x4631d3)))return!![];const _0x6d2177=fs[_0x547b62(0x27d)](path[_0x547b62(0x16e)](this[_0x547b62(0x3b3)],_0x4631d3),_0x547b62(0x13b));return SENSITIVE_CONTENT_PATTERNS['some'](_0x3d0e96=>_0x3d0e96[_0x547b62(0x200)](_0x6d2177));}),_0x9f7c3a=_0x3bd920['filter'](_0x3f41f0=>_0x3f41f0['size']>0xa*0x400*0x400)[_0x936a9b(0x2c7)](_0x44965e=>_0x44965e[_0x936a9b(0x1a0)]),_0x5caa29=[_0x936a9b(0x225)],_0x1bc9a1={};_0x1bc9a1[_0x936a9b(0x364)]=_0x3bd920,_0x1bc9a1[_0x936a9b(0x2e6)]=_0x5caa29;const _0x23f0b2=crypto[_0x936a9b(0x2df)](_0x936a9b(0x167))[_0x936a9b(0x1fd)](JSON[_0x936a9b(0x28b)](_0x1bc9a1))[_0x936a9b(0x368)](_0x936a9b(0x258));return{'success':![],'code':_0x30aad2[_0x936a9b(0x1b6)]?_0x936a9b(0x238):_0x936a9b(0x1bd),'error':_0x30aad2[_0x936a9b(0x1b6)]?_0x936a9b(0x33e):'Git\x20initialization\x20and\x20a\x20baseline\x20commit\x20require\x20direct\x20user\x20confirmation.','confirmationToken':_0x23f0b2,'fileCount':_0x316a4d['length'],'totalBytes':_0x3bd920[_0x936a9b(0x1fb)]((_0x58c955,_0x528f59)=>_0x58c955+_0x528f59['size'],0x0),'files':_0x316a4d,'sensitiveFiles':_0x30aad2,'largeFiles':_0x9f7c3a,'plannedIgnoreAdditions':_0x5caa29};}finally{const _0x2d1411={};_0x2d1411['recursive']=!![],_0x2d1411[_0x936a9b(0x282)]=!![],fs[_0x936a9b(0x2f8)](_0xb3dbc9,_0x2d1411);}}[_0x417f9e(0x2f1)](){const _0x7459e1=_0x417f9e,_0x4ee35f=path[_0x7459e1(0x16e)](this[_0x7459e1(0x3b3)],_0x7459e1(0x33b)),_0x11e70f=_0x7459e1(0x225),_0x1e3522=fs[_0x7459e1(0x3b9)](_0x4ee35f)?fs[_0x7459e1(0x27d)](_0x4ee35f,'utf8'):'',_0x13c04f=_0x1e3522[_0x7459e1(0x2db)](/\r?\n/)['map'](_0x247e61=>_0x247e61[_0x7459e1(0x315)]());if(_0x13c04f['includes'](_0x11e70f))return;const _0x1f4de7=_0x1e3522&&!_0x1e3522[_0x7459e1(0x13e)]('\x0a')?'\x0a':'';fs['appendFileSync'](_0x4ee35f,''+_0x1f4de7+_0x11e70f+'\x0a',_0x7459e1(0x13b));}['initializeGitFromPreview'](_0x43f1ff){const _0x1db80c=_0x417f9e,_0x20a51b=this[_0x1db80c(0x25a)]();if(_0x20a51b[_0x1db80c(0x2d6)]===_0x1db80c(0x238))return _0x20a51b;if(_0x20a51b[_0x1db80c(0x252)]!==_0x43f1ff){const _0x41da12={};return _0x41da12[_0x1db80c(0x275)]=_0x20a51b,error(_0x1db80c(0x1ef),'Project\x20files\x20changed\x20after\x20preview.\x20Request\x20a\x20new\x20confirmation\x20token.',_0x41da12);}const _0x18d686=this['listRuns']()['filter'](_0x5284a4=>_0x5284a4['status']===_0x1db80c(0x2e2)||_0x5284a4[_0x1db80c(0x253)]===_0x1db80c(0x14b));if(_0x18d686['length'])return error('PIPELINES_ACTIVE_DURING_GIT_INIT',_0x1db80c(0x34a));const _0x1ec140=this['runGit']([_0x1db80c(0x360),_0x1db80c(0x2d4),'user.name']),_0x45982a=this[_0x1db80c(0x1fa)](['config',_0x1db80c(0x2d4),_0x1db80c(0x39e)]);if(!_0x1ec140['ok']||!_0x1ec140[_0x1db80c(0x346)]||!_0x45982a['ok']||!_0x45982a[_0x1db80c(0x346)]){const _0xb671ac={};return _0xb671ac[_0x1db80c(0x26c)]=[_0x1db80c(0x31d),_0x1db80c(0x23f)],error(_0x1db80c(0x2fc),_0x1db80c(0x1cb),_0xb671ac);}const _0x42dc6b=this['runGit']([_0x1db80c(0x360),_0x1db80c(0x2d4),_0x1db80c(0x372)]),_0x5cdac2=_0x42dc6b['ok']&&_0x42dc6b[_0x1db80c(0x346)]?_0x42dc6b['stdout']:_0x1db80c(0x1cf);let _0x39ec7e=this['runGit']([_0x1db80c(0x222),'-b',_0x5cdac2]);if(!_0x39ec7e['ok']){_0x39ec7e=this[_0x1db80c(0x1fa)]([_0x1db80c(0x222)]);if(!_0x39ec7e['ok'])return error(_0x1db80c(0x2a4),_0x39ec7e[_0x1db80c(0x1ff)]);const _0x5176a4=this[_0x1db80c(0x1fa)]([_0x1db80c(0x3a1),'-M',_0x5cdac2]);if(!_0x5176a4['ok'])return error('GIT_INIT_FAILED',_0x5176a4[_0x1db80c(0x1ff)]);}this[_0x1db80c(0x2f1)]();const _0x35be30=this['runGit']([_0x1db80c(0x30e),'-A']);if(!_0x35be30['ok'])return error(_0x1db80c(0x310),_0x35be30[_0x1db80c(0x1ff)]);const _0x1bbaaf=this[_0x1db80c(0x1fa)](['commit',_0x1db80c(0x324),'-m',_0x1db80c(0x2f0)]);if(!_0x1bbaaf['ok'])return error(_0x1db80c(0x310),_0x1bbaaf[_0x1db80c(0x1ff)]);const _0x4f9e36=this[_0x1db80c(0x1fa)]([_0x1db80c(0x253),_0x1db80c(0x37c)]);if(!_0x4f9e36['ok']||_0x4f9e36[_0x1db80c(0x346)])return error('GIT_BASELINE_NOT_CLEAN',_0x1db80c(0x29b),{'status':_0x4f9e36[_0x1db80c(0x346)]});const _0xfb00b8=this[_0x1db80c(0x369)];this[_0x1db80c(0x3a6)](),this[_0x1db80c(0x2eb)](_0xfb00b8);const _0x2c3e1a={};return _0x2c3e1a[_0x1db80c(0x2ef)]=!![],_0x2c3e1a[_0x1db80c(0x3a1)]=_0x5cdac2,_0x2c3e1a[_0x1db80c(0x27f)]=!![],_0x2c3e1a;}[_0x417f9e(0x2eb)](_0x3fa0ff){const _0x156a7a=_0x417f9e;if(!_0x3fa0ff||normalizePath(_0x3fa0ff)===normalizePath(this['stateRoot'])||!fs[_0x156a7a(0x3b9)](_0x3fa0ff))return;const _0x2695c0=path['join'](this[_0x156a7a(0x369)],_0x156a7a(0x177),crypto[_0x156a7a(0x2df)]('sha256')['update'](_0x3fa0ff)['digest'](_0x156a7a(0x258))+_0x156a7a(0x13f));if(fs[_0x156a7a(0x3b9)](_0x2695c0))return;const _0x371095=this[_0x156a7a(0x27a)](_0x3fa0ff)[_0x156a7a(0x250)](_0x3ed795=>_0x3ed795['status']===_0x156a7a(0x2e2)||_0x3ed795[_0x156a7a(0x253)]===_0x156a7a(0x14b)),_0x3a62bb={};_0x3a62bb[_0x156a7a(0x2d6)]=_0x156a7a(0x146);if(_0x371095[_0x156a7a(0x1b6)])throw Object[_0x156a7a(0x214)](new Error('Active\x20pipelines\x20cannot\x20be\x20migrated\x20during\x20Git\x20initialization.'),_0x3a62bb);for(const _0x5ea50a of this['listRunsFromRoot'](_0x3fa0ff)){const _0x595204=path[_0x156a7a(0x16e)](_0x3fa0ff,_0x5ea50a[_0x156a7a(0x39b)],_0x156a7a(0x285),_0x5ea50a['runId']),_0x3d3691=this[_0x156a7a(0x389)](_0x5ea50a[_0x156a7a(0x39b)],_0x5ea50a['runId']),_0x5d248e={};_0x5d248e[_0x156a7a(0x2af)]=!![],_0x5d248e[_0x156a7a(0x2d9)]=!![];if(!fs[_0x156a7a(0x3b9)](_0x3d3691))fs[_0x156a7a(0x37d)](_0x595204,_0x3d3691,_0x5d248e);this[_0x156a7a(0x32a)](_0x595204,_0x3d3691);const _0x56d8e9=path[_0x156a7a(0x16e)](_0x3fa0ff,_0x5ea50a['task'],'current.json');fs[_0x156a7a(0x3b9)](_0x56d8e9)&&!fs[_0x156a7a(0x3b9)](this[_0x156a7a(0x1a4)](_0x5ea50a['task']))&&(fs['copyFileSync'](_0x56d8e9,this[_0x156a7a(0x1a4)](_0x5ea50a[_0x156a7a(0x39b)])),this[_0x156a7a(0x32a)](_0x56d8e9,this[_0x156a7a(0x1a4)](_0x5ea50a[_0x156a7a(0x39b)])));}this[_0x156a7a(0x22b)](_0x2695c0,{'source':_0x3fa0ff,'migratedAt':this[_0x156a7a(0x313)]()[_0x156a7a(0x3a4)]()});}['verifyCopiedTree'](_0x50620d,_0x387bae){const _0x564f7c=_0x417f9e,_0x19b0c2=fs[_0x564f7c(0x366)](_0x50620d),_0x1b9865=fs['statSync'](_0x387bae);if(_0x19b0c2[_0x564f7c(0x244)]()!==_0x1b9865[_0x564f7c(0x244)]()){const _0x55e35d={};_0x55e35d[_0x564f7c(0x2d6)]='STATE_MIGRATION_VERIFY_FAILED';throw Object[_0x564f7c(0x214)](new Error(_0x564f7c(0x1f3)+_0x50620d),_0x55e35d);}if(_0x19b0c2[_0x564f7c(0x244)]()){const _0x3e5b3d=fs[_0x564f7c(0x1bf)](_0x50620d)[_0x564f7c(0x266)](),_0x40922f=fs[_0x564f7c(0x1bf)](_0x387bae)['sort']();if(JSON[_0x564f7c(0x28b)](_0x3e5b3d)!==JSON[_0x564f7c(0x28b)](_0x40922f)){const _0xebcf8a={};_0xebcf8a['code']='STATE_MIGRATION_VERIFY_FAILED';throw Object['assign'](new Error('Pipeline\x20state\x20copy\x20entries\x20mismatch:\x20'+_0x50620d),_0xebcf8a);}for(const _0x27a5f0 of _0x3e5b3d)this['verifyCopiedTree'](path['join'](_0x50620d,_0x27a5f0),path[_0x564f7c(0x16e)](_0x387bae,_0x27a5f0));return;}const _0x26f2f7=crypto[_0x564f7c(0x2df)](_0x564f7c(0x167))['update'](fs['readFileSync'](_0x50620d))[_0x564f7c(0x368)]('hex'),_0x18ce1c=crypto[_0x564f7c(0x2df)](_0x564f7c(0x167))[_0x564f7c(0x1fd)](fs[_0x564f7c(0x27d)](_0x387bae))[_0x564f7c(0x368)](_0x564f7c(0x258));if(_0x26f2f7!==_0x18ce1c){const _0x33827d={};_0x33827d[_0x564f7c(0x2d6)]='STATE_MIGRATION_VERIFY_FAILED';throw Object[_0x564f7c(0x214)](new Error(_0x564f7c(0x348)+_0x50620d),_0x33827d);}}[_0x417f9e(0x298)](_0x52ea09,_0x1898d8,_0x19aa9c){const _0x363eba=_0x417f9e;if(!this[_0x363eba(0x168)]){if(!_0x19aa9c[_0x363eba(0x3af)]||!_0x19aa9c[_0x363eba(0x252)])return this[_0x363eba(0x25a)]();if(!_0x19aa9c[_0x363eba(0x344)])return error(_0x363eba(0x255),_0x363eba(0x2b6));const _0x5a8377=this[_0x363eba(0x37b)](_0x19aa9c[_0x363eba(0x252)]);if(!_0x5a8377['success'])return _0x5a8377;}if(!_0x19aa9c['confirmed'])return error(_0x363eba(0x255),_0x363eba(0x17e));const _0x7b8248=this['runGit'](['status',_0x363eba(0x37c)]);if(!_0x7b8248['ok']||_0x7b8248[_0x363eba(0x346)])return error(_0x363eba(0x2f7),_0x363eba(0x22f),{'status':_0x7b8248[_0x363eba(0x346)]});const _0x20c4f8=this[_0x363eba(0x1fa)]([_0x363eba(0x2cf),_0x363eba(0x305)]);if(!_0x20c4f8['ok'])return error(_0x363eba(0x232),_0x20c4f8['stderr']||_0x363eba(0x2fd));const _0x450fc8=this['runGit'](['branch','--show-current']),_0x42b3c7=path[_0x363eba(0x175)](this[_0x363eba(0x3b3)]),_0x18c8e3=path[_0x363eba(0x16e)](path[_0x363eba(0x2f5)](this[_0x363eba(0x3b3)]),_0x363eba(0x1d4),_0x42b3c7,_0x52ea09,_0x1898d8),_0x394d0e=_0x363eba(0x28e)+_0x52ea09+'/'+_0x1898d8;if(fs[_0x363eba(0x3b9)](_0x18c8e3))return error('WORKTREE_PATH_EXISTS',_0x363eba(0x1a6)+_0x18c8e3);const _0x55f91d=this[_0x363eba(0x1fa)]([_0x363eba(0x35d),_0x363eba(0x30e),'-b',_0x394d0e,_0x18c8e3,_0x19aa9c[_0x363eba(0x14f)]||_0x20c4f8['stdout']]),_0x39b667={};_0x39b667[_0x363eba(0x140)]=_0x18c8e3,_0x39b667[_0x363eba(0x3a1)]=_0x394d0e;if(!_0x55f91d['ok'])return error('WORKTREE_CREATE_FAILED',_0x55f91d['stderr']||_0x363eba(0x237),_0x39b667);return{'success':!![],'workspace':{'mode':_0x363eba(0x35d),'path':normalizePath(_0x18c8e3),'branch':_0x394d0e,'baseRef':_0x19aa9c[_0x363eba(0x14f)]||_0x20c4f8[_0x363eba(0x346)],'baseBranch':_0x450fc8['ok']?_0x450fc8[_0x363eba(0x346)]:'','status':_0x363eba(0x2a9),'createdAt':this[_0x363eba(0x313)]()[_0x363eba(0x3a4)](),'managed':!![]}};}[_0x417f9e(0x148)](_0x4a4dfc,_0x15e277,_0x44665f={}){const _0x3c3d11=_0x417f9e,_0x3f8e53=_0x44665f[_0x3c3d11(0x35a)]||_0x3c3d11(0x144);if(![_0x3c3d11(0x144),'current',_0x3c3d11(0x35d)][_0x3c3d11(0x36f)](_0x3f8e53))return error('INVALID_WORKSPACE_MODE',_0x3c3d11(0x371)+_0x3f8e53);if(_0x3f8e53===_0x3c3d11(0x35d))return this[_0x3c3d11(0x298)](_0x4a4dfc,_0x15e277,_0x44665f);return{'success':!![],'workspace':{'mode':this[_0x3c3d11(0x19b)]()?_0x3c3d11(0x2a2):_0x3c3d11(0x271),'path':this[_0x3c3d11(0x3b3)],'branch':this['isGitRepository']?this[_0x3c3d11(0x1fa)]([_0x3c3d11(0x3a1),_0x3c3d11(0x301)])['stdout']:'','baseRef':this[_0x3c3d11(0x168)]?this[_0x3c3d11(0x1fa)](['rev-parse',_0x3c3d11(0x305)])[_0x3c3d11(0x346)]:'','baseBranch':this[_0x3c3d11(0x168)]?this['runGit']([_0x3c3d11(0x3a1),_0x3c3d11(0x301)])[_0x3c3d11(0x346)]:'','status':_0x3c3d11(0x2a9),'managed':![]}};}[_0x417f9e(0x1eb)](_0x4bed04={}){const _0x5840da=_0x417f9e;let {pipeline:_0x881d9f,task:_0x3d43f3,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x4bed04;const _0x3453d5=PipelineManager[_0x5840da(0x16d)](_0x3d43f3);if(_0x3453d5)return _0x3453d5;if(_0x4bed04['recoverRunId'])try{return this[_0x5840da(0x17a)](_0x3d43f3,_0x4bed04[_0x5840da(0x337)],_0x4bed04['sessionId']);}catch(_0x115f30){return error('RUN_RECOVERY_FAILED',_0x5840da(0x1c9),{'task':_0x3d43f3,'runId':_0x4bed04[_0x5840da(0x337)],'diagnostic':creationFailure(_0x115f30,'recovery-inspection')});}const _0x872518=PipelineManager[_0x5840da(0x145)](_0x4bed04[_0x5840da(0x311)]);if(_0x872518)return _0x872518;if(![0x2,0x3][_0x5840da(0x36f)](schemaVersion))return error(_0x5840da(0x24d),_0x5840da(0x341));if(_0x4bed04[_0x5840da(0x26f)]!==undefined&&![0x1,0x2,0x3][_0x5840da(0x36f)](_0x4bed04['policyVersion']))return error(_0x5840da(0x28f),_0x5840da(0x161));if(_0x4bed04[_0x5840da(0x34f)]!==undefined&&![_0x5840da(0x149),_0x5840da(0x388),'high-risk'][_0x5840da(0x36f)](_0x4bed04['workflowProfile']))return error(_0x5840da(0x309),_0x5840da(0x19f));if(_0x4bed04[_0x5840da(0x30c)]!==undefined&&(!Number[_0x5840da(0x1e7)](_0x4bed04[_0x5840da(0x30c)])||_0x4bed04['workItemCount']<0x1))return error(_0x5840da(0x2ba),'workItemCount\x20must\x20be\x20a\x20positive\x20integer.');for(const _0x40b54c of['acceptanceCriteria',_0x5840da(0x3b8),_0x5840da(0x30b)]){if(_0x4bed04[_0x40b54c]!==undefined&&(!Array[_0x5840da(0x2c6)](_0x4bed04[_0x40b54c])||!_0x4bed04[_0x40b54c][_0x5840da(0x18f)](_0x291070=>typeof _0x291070===_0x5840da(0x186)&&_0x291070['trim']())))return error(_0x5840da(0x2ba),_0x40b54c+_0x5840da(0x299));}if(schemaVersion===0x3&&_0x4bed04[_0x5840da(0x32b)]!==0x0&&_0x881d9f!==_0x5840da(0x283)&&!_0x4bed04[_0x5840da(0x27e)]?.[_0x5840da(0x1b6)])return error(_0x5840da(0x2e4),_0x5840da(0x3b5));let _0x535cbd;if(schemaVersion===0x3&&_0x4bed04[_0x5840da(0x32b)]!==0x0&&_0x881d9f!==_0x5840da(0x283))try{_0x535cbd=require('../core/quality')[_0x5840da(0x295)](_0x4bed04[_0x5840da(0x1f2)],_0x4bed04[_0x5840da(0x27e)]||[],{'productImpact':_0x4bed04['productImpact']===!![],'platformTarget':_0x4bed04[_0x5840da(0x393)]===!![]&&[_0x5840da(0x292),_0x5840da(0x2ee),'flutter'][_0x5840da(0x36f)](_0x4bed04['productTarget'])?_0x4bed04[_0x5840da(0x3aa)]==='web'?'web':'mobile':null,'contentReview':_0x881d9f===_0x5840da(0x1f9),'artifactReview':_0x4bed04[_0x5840da(0x195)]===!![]});}catch(_0x4df26f){return error(_0x5840da(0x2a1),_0x4df26f[_0x5840da(0x293)]);}const _0x8402c3=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x4e9a15=_0x8402c3[_0x881d9f];if(!_0x4e9a15)return error(_0x5840da(0x1f7),_0x5840da(0x1e2)+_0x881d9f+'.',{'valid_pipelines':Object['keys'](PIPELINE_DEFINITIONS)});const _0x5841b7=_0x4e9a15[_0x5840da(0x349)][0x0][_0x5840da(0x2da)];if(_0x5841b7){const _0x6885c8=this[_0x5840da(0x17c)](_0x5841b7);if(_0x6885c8)return _0x6885c8;}if((workspace['mode']||'auto')===_0x5840da(0x35d)&&!this[_0x5840da(0x168)]){if(!workspace['initializeGit']||!workspace[_0x5840da(0x252)])return this['previewGitBootstrap']();if(!workspace[_0x5840da(0x344)])return error(_0x5840da(0x255),_0x5840da(0x2b6));const _0x3b9c3b=this[_0x5840da(0x37b)](workspace[_0x5840da(0x252)]);if(!_0x3b9c3b[_0x5840da(0x2ef)])return _0x3b9c3b;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this['withLock']('__pipeline_start__',()=>this['withLock'](_0x3d43f3,()=>{const _0x88c885=_0x5840da,_0x1e187b=this[_0x88c885(0x1a8)](_0x3d43f3);if(_0x1e187b&&[_0x88c885(0x14b),_0x88c885(0x2e2),'paused'][_0x88c885(0x36f)](_0x1e187b[_0x88c885(0x253)]))return error('TASK_ALREADY_ACTIVE',_0x88c885(0x2a3)+_0x3d43f3+_0x88c885(0x165),{'task':_0x3d43f3,'runId':_0x1e187b[_0x88c885(0x196)]});if(schemaVersion===0x3&&_0x4bed04[_0x88c885(0x32b)]!==0x0&&_0x881d9f!=='readonly'){const _0x2b0b71=_0x13aee3=>JSON[_0x88c885(0x28b)](_0x13aee3[_0x88c885(0x2c7)](_0x314c46=>_0x314c46[_0x88c885(0x315)]()[_0x88c885(0x384)](/\s+/g,'\x20')[_0x88c885(0x314)]())['sort']()),_0x382ac8=_0x2b0b71(_0x4bed04[_0x88c885(0x27e)]),_0x65b65=_0x41ba44=>{const _0x398375=_0x88c885,_0x4e7e22=normalizePath(_0x41ba44);return process['platform']==='win32'?_0x4e7e22[_0x398375(0x2d5)]():_0x4e7e22;};if(fs['existsSync'](this[_0x88c885(0x369)])){const _0x1be019={};_0x1be019[_0x88c885(0x272)]=!![];for(const _0x5034f0 of fs[_0x88c885(0x1bf)](this['stateRoot'],_0x1be019)){if(!_0x5034f0[_0x88c885(0x244)]()||_0x5034f0[_0x88c885(0x34c)][_0x88c885(0x16f)]('.')||_0x5034f0['name']===_0x3d43f3)continue;const _0x4ce593=this['readCurrent'](_0x5034f0[_0x88c885(0x34c)]);if(_0x4ce593&&[_0x88c885(0x14b),'active','paused']['includes'](_0x4ce593['status'])&&_0x4ce593[_0x88c885(0x36c)]!=='readonly'&&_0x4ce593[_0x88c885(0x3b0)]?.[_0x88c885(0x1f8)]&&_0x4ce593[_0x88c885(0x24b)]?.[_0x88c885(0x2fa)]?.[_0x88c885(0x1b6)]&&[_0x4ce593[_0x88c885(0x303)],_0x4ce593[_0x88c885(0x311)][_0x88c885(0x1a0)]][_0x88c885(0x250)](Boolean)[_0x88c885(0x2b7)](_0x38dcf4=>_0x65b65(_0x38dcf4)===_0x65b65(this[_0x88c885(0x3b3)]))&&overlappingScope(_0x4ce593[_0x88c885(0x3b8)],_0x4bed04['scope'],this[_0x88c885(0x3b3)])&&_0x2b0b71(_0x4ce593['acceptance'][_0x88c885(0x2fa)])===_0x382ac8){const _0x3c185a={};return _0x3c185a[_0x88c885(0x39b)]=_0x4ce593[_0x88c885(0x39b)],_0x3c185a[_0x88c885(0x196)]=_0x4ce593[_0x88c885(0x196)],_0x3c185a[_0x88c885(0x253)]=_0x4ce593[_0x88c885(0x253)],_0x3c185a[_0x88c885(0x30d)]=_0x4ce593['execution']?.[_0x88c885(0x30d)]||null,_0x3c185a['impact']=_0x4ce593[_0x88c885(0x3b0)]?.[_0x88c885(0x1f8)]?.[_0x88c885(0x358)]||null,error('ACCEPTANCE_ALREADY_ACTIVE',_0x88c885(0x2dd),_0x3c185a);}}}}const _0x4cf387=this[_0x88c885(0x247)](),_0x448d6e=this['pendingCreation'](_0x3d43f3);if(_0x448d6e)return error(_0x88c885(0x2f4),'Reconcile\x20the\x20saved\x20creation\x20intent\x20before\x20creating\x20another\x20workspace.',{'intent':_0x448d6e});const _0x22b244=this[_0x88c885(0x1a9)](_0x3d43f3,_0x4cf387),_0x710c60={'task':_0x3d43f3,'runId':_0x4cf387,'pipeline':_0x881d9f,'schemaVersion':schemaVersion,'status':_0x88c885(0x240),'originWorkspace':this[_0x88c885(0x3b3)],'requestedWorkspace':workspace,'runtimeVersion':require(_0x88c885(0x373))['version'],'args':_0x4bed04,'createdAt':this['now']()[_0x88c885(0x3a4)]()};this['atomicWriteJson'](_0x22b244,_0x710c60);let _0x453ab9='workspace-resolution';try{const _0x8388bb=this[_0x88c885(0x148)](_0x3d43f3,_0x4cf387,workspace);if(!_0x8388bb[_0x88c885(0x2ef)]){const _0x2c50f9={..._0x710c60};return _0x2c50f9['status']=_0x88c885(0x235),_0x2c50f9['error']=_0x8388bb,this[_0x88c885(0x22b)](_0x22b244,_0x2c50f9),_0x8388bb;}_0x710c60[_0x88c885(0x311)]=_0x8388bb['workspace'],_0x710c60['status']=_0x88c885(0x19d),_0x453ab9='intent-workspace-write',this[_0x88c885(0x22b)](_0x22b244,_0x710c60);const _0xd5543b={'schemaVersion':schemaVersion,'task':_0x3d43f3,'runId':_0x4cf387,'pipeline':_0x881d9f,'status':_0x88c885(0x2e2),'completedSteps':[],'originWorkspace':this['projectPath'],'workspace':_0x8388bb[_0x88c885(0x311)],'startedAt':this[_0x88c885(0x313)]()[_0x88c885(0x3a4)](),'updatedAt':this[_0x88c885(0x313)]()[_0x88c885(0x3a4)]()};_0x453ab9=_0x88c885(0x364);if(schemaVersion===0x3)this[_0x88c885(0x2a6)][_0x88c885(0x24c)](_0xd5543b,_0x4bed04);else this[_0x88c885(0x2ed)](_0xd5543b);this[_0x88c885(0x1ba)](_0xd5543b),_0x453ab9=_0x88c885(0x378);const _0x59cb7c={};_0x59cb7c[_0x88c885(0x2ec)]=!![],this['writeState'](_0xd5543b,_0x59cb7c),_0x453ab9='ledger-write',this[_0x88c885(0x32d)](_0xd5543b,_0x88c885(0x156),'Workspace:\x20'+_0xd5543b[_0x88c885(0x311)]['path']+_0x88c885(0x34e)+_0x4e9a15[_0x88c885(0x349)][0x0]['id']),_0x453ab9=_0x88c885(0x394);const _0xb238b9={..._0x710c60};_0xb238b9[_0x88c885(0x253)]=_0x88c885(0x37e),this[_0x88c885(0x22b)](_0x22b244,_0xb238b9);const _0x400acc={};return _0x400acc[_0x88c885(0x2ef)]=!![],this['formatStatus'](_0xd5543b,_0x400acc);}catch(_0x8a45e){const _0x5d0a1a=creationFailure(_0x8a45e,_0x453ab9);try{const _0x181516={..._0x710c60};_0x181516['status']=_0x88c885(0x380),_0x181516[_0x88c885(0x2c2)]=_0x5d0a1a,this[_0x88c885(0x22b)](_0x22b244,_0x181516);}catch{}const _0x34c550={};return _0x34c550[_0x88c885(0x39b)]=_0x3d43f3,_0x34c550[_0x88c885(0x196)]=_0x4cf387,_0x34c550[_0x88c885(0x3ab)]=_0x22b244,_0x34c550[_0x88c885(0x311)]=_0x710c60[_0x88c885(0x311)],_0x34c550['reason']=_0x5d0a1a['code'],_0x34c550[_0x88c885(0x26b)]=_0x5d0a1a,error(_0x88c885(0x21e),'Run\x20creation\x20was\x20interrupted;\x20its\x20workspace\x20and\x20intent\x20were\x20preserved.',_0x34c550);}}));}catch(_0x593233){return error(_0x5840da(0x190),_0x5840da(0x343),{'task':_0x3d43f3,'diagnostic':creationFailure(_0x593233,'pre-create-state')});}}['next'](_0x3cee2a={}){const _0x245d43=_0x417f9e;return this['execution'][_0x245d43(0x138)](_0x3cee2a);}['cancelVerifications'](){const _0x56d0fd=_0x417f9e;return this['execution'][_0x56d0fd(0x155)]();}[_0x417f9e(0x206)](_0x17688b={}){const _0x300f7e=_0x417f9e;return this[_0x300f7e(0x2a6)][_0x300f7e(0x206)](_0x17688b);}['recordVerification'](_0x4f1869={}){const _0x31efff=_0x417f9e;return this[_0x31efff(0x2a6)][_0x31efff(0x21d)](_0x4f1869);}['addReceiptObservation'](_0x5138a6={},_0x680a8f){const _0x497e05=_0x417f9e;return this[_0x497e05(0x2a6)][_0x497e05(0x22e)](_0x5138a6,_0x680a8f);}['releaseNativeWorkerForUpgrade'](_0x22a214,_0x1e7f6e){const _0x45f537=_0x417f9e,_0x2b1aa3=PipelineManager[_0x45f537(0x16d)](_0x22a214[_0x45f537(0x39b)])||PipelineManager['validateRunId'](_0x22a214[_0x45f537(0x196)]);if(_0x2b1aa3)return _0x2b1aa3;return this[_0x45f537(0x2d7)](_0x45f537(0x204),()=>this[_0x45f537(0x2d7)](_0x22a214[_0x45f537(0x39b)],()=>{const _0x255c4a=_0x45f537,_0x3ca346=this[_0x255c4a(0x245)](_0x22a214['task'],_0x22a214[_0x255c4a(0x196)]);if(!_0x3ca346||_0x3ca346[_0x255c4a(0x297)]!==0x3)return error('RUN_NOT_FOUND',_0x255c4a(0x333));const _0x511bd2=this[_0x255c4a(0x269)](_0x3ca346);if(_0x511bd2['mutation']===_0x255c4a(0x262))return error(_0x511bd2[_0x255c4a(0x2d6)],_0x255c4a(0x370));if(!_0x22a214[_0x255c4a(0x365)]||_0x3ca346[_0x255c4a(0x375)]!==_0x22a214[_0x255c4a(0x365)])return error(_0x255c4a(0x1a7),_0x255c4a(0x2be));if(!require(_0x255c4a(0x260))['sameWorkspace'](_0x3ca346[_0x255c4a(0x311)]?.[_0x255c4a(0x1a0)]||'',this[_0x255c4a(0x3b3)]))return error(_0x255c4a(0x239),_0x255c4a(0x2b3));const _0xa9332=_0x3ca346[_0x255c4a(0x2a6)][_0x255c4a(0x2e2)]['find'](_0x3df13b=>_0x3df13b[_0x255c4a(0x302)]===_0x22a214[_0x255c4a(0x302)]&&_0x3df13b['actorId']===_0x22a214[_0x255c4a(0x1d1)]);if(!_0xa9332)return error(_0x255c4a(0x281),_0x255c4a(0x242));if(_0xa9332['verificationInFlight'])return error('VERIFICATION_IN_FLIGHT',_0x255c4a(0x181));const _0x7fb983={};_0x7fb983[_0x255c4a(0x208)]=this,_0x7fb983[_0x255c4a(0x18e)]=_0x3ca346,_0x7fb983[_0x255c4a(0x290)]=_0x22a214,_0x7fb983[_0x255c4a(0x320)]=_0x1e7f6e;const _0x26b18e=require('../core/native-receipt')[_0x255c4a(0x294)](_0x7fb983);if(!_0x26b18e['success'])return error(_0x26b18e[_0x255c4a(0x2d6)],'Fresh\x20native\x20completion\x20proof\x20is\x20required\x20for\x20release.');const _0x1fcbd2=(_0x3ca346[_0x255c4a(0x2a6)]['receiptObservations']||[])[_0x255c4a(0x147)](_0xe50ea2=>_0xe50ea2[_0x255c4a(0x302)]===_0x22a214[_0x255c4a(0x302)]);if(_0x1e7f6e[_0x255c4a(0x253)]!=='verified'||!_0x1e7f6e[_0x255c4a(0x1c4)]||_0x1e7f6e[_0x255c4a(0x2e7)]!==_0x255c4a(0x254)||_0x1fcbd2?.['workerStatus']!=='confirmed'||_0x1fcbd2[_0x255c4a(0x1be)]!==_0x255c4a(0x210)||_0x1fcbd2[_0x255c4a(0x1db)]!==_0x1e7f6e[_0x255c4a(0x1db)]||_0x1fcbd2[_0x255c4a(0x1d1)]!==_0x22a214['actorId'])return error(_0x255c4a(0x137),_0x255c4a(0x39f));if(_0xa9332[_0x255c4a(0x16b)]&&!_0x3ca346[_0x255c4a(0x2a6)][_0x255c4a(0x2e2)][_0x255c4a(0x2b7)](_0x2ef786=>_0x2ef786['attemptId']!==_0xa9332[_0x255c4a(0x302)]&&_0x2ef786[_0x255c4a(0x16b)]===_0xa9332[_0x255c4a(0x16b)])){const _0x3f2bd9=_0x3ca346[_0x255c4a(0x31c)]?.[_0x255c4a(0x147)](_0x5e9df8=>_0x5e9df8['id']===_0xa9332[_0x255c4a(0x16b)]);if(_0x3f2bd9?.['status']===_0x255c4a(0x33f))_0x3f2bd9[_0x255c4a(0x253)]=_0x255c4a(0x21c);}const _0x323f5e=_0x3ca346[_0x255c4a(0x2a6)][_0x255c4a(0x287)];this['execution'][_0x255c4a(0x1b9)](_0x3ca346,_0xa9332);if(_0x3ca346[_0x255c4a(0x2a6)][_0x255c4a(0x30d)])_0x3ca346[_0x255c4a(0x2a6)][_0x255c4a(0x287)]=_0x323f5e;this[_0x255c4a(0x1ee)](_0x3ca346),this[_0x255c4a(0x32d)](_0x3ca346,_0x255c4a(0x28c),_0x255c4a(0x151)+_0x22a214[_0x255c4a(0x1d1)]+_0x255c4a(0x353)+_0x22a214[_0x255c4a(0x302)]+_0x255c4a(0x316));const _0xf8cb68={};return _0xf8cb68[_0x255c4a(0x2ef)]=!![],_0xf8cb68['released']=!![],_0xf8cb68[_0x255c4a(0x1d1)]=_0x22a214[_0x255c4a(0x1d1)],_0xf8cb68[_0x255c4a(0x302)]=_0x22a214[_0x255c4a(0x302)],_0xf8cb68;}));}[_0x417f9e(0x1d5)](_0x45ae15={}){const _0x5abea8=_0x417f9e;return this[_0x5abea8(0x2a6)]['canMutate'](_0x45ae15);}[_0x417f9e(0x23e)](_0x306b9e={}){const _0x199a46=_0x417f9e;return this['execution'][_0x199a46(0x23e)](_0x306b9e);}[_0x417f9e(0x2ac)](_0x4899b3={}){const _0x14d177=_0x417f9e,{task:_0x572e47,runId:_0x8d7807,pipeline:_0x4d9505,step:_0x504c9a,status:_0x58ba94,summary:_0x10b4b8}=_0x4899b3,_0x3fbc58=PipelineManager[_0x14d177(0x16d)](_0x572e47);if(_0x3fbc58)return _0x3fbc58;if(!_0x8d7807)return error(_0x14d177(0x38a),_0x14d177(0x3ad));const _0x21f91a=PipelineManager[_0x14d177(0x157)](_0x8d7807);if(_0x21f91a)return _0x21f91a;const _0x4dd001=this[_0x14d177(0x245)](_0x572e47,_0x8d7807);if(_0x4dd001&&this[_0x14d177(0x269)](_0x4dd001)[_0x14d177(0x1ea)]===_0x14d177(0x262))return error(this[_0x14d177(0x269)](_0x4dd001)['code'],_0x14d177(0x1ac));if(_0x4dd001?.['schemaVersion']===0x3)return this[_0x14d177(0x2a6)][_0x14d177(0x2ac)](_0x4899b3);return this[_0x14d177(0x2d7)](_0x572e47,()=>{const _0x14663d=_0x14d177,_0x4ee607=this[_0x14663d(0x245)](_0x572e47,_0x8d7807);if(!_0x4ee607)return error(_0x14663d(0x29a),_0x14663d(0x3ba)+_0x8d7807+_0x14663d(0x300)+_0x572e47+'\x22.');const _0x4b9557=this[_0x14663d(0x1a8)](_0x572e47);if(!_0x4b9557||_0x4b9557[_0x14663d(0x196)]!==_0x8d7807)return error(_0x14663d(0x221),_0x14663d(0x1d3));if(_0x4ee607[_0x14663d(0x253)]!==_0x14663d(0x2e2))return error('RUN_NOT_ACTIVE','Run\x20is\x20'+_0x4ee607['status']+',\x20not\x20active.');if(_0x4d9505&&_0x4d9505!==_0x4ee607[_0x14663d(0x36c)])return error(_0x14663d(0x211),_0x14663d(0x35b)+_0x4ee607['pipeline']+'\x22,\x20not\x20\x22'+_0x4d9505+'\x22.');if(_0x58ba94!==_0x14663d(0x37e))return error(_0x14663d(0x15d),_0x14663d(0x179));const _0x17de16=_0x4ee607[_0x14663d(0x189)],_0x3f4157=_0x17de16[_0x14663d(0x349)][_0x4ee607['completedSteps'][_0x14663d(0x1b6)]];if(!_0x3f4157||_0x3f4157['id']!==_0x504c9a)return error(_0x14663d(0x14c),_0x14663d(0x162)+(_0x3f4157?.['id']||'none')+_0x14663d(0x1cc)+_0x504c9a+'\x22.',{'expected_step':_0x3f4157?.['id']||null});if(_0x3f4157[_0x14663d(0x2da)]){const _0xe5229=this[_0x14663d(0x17c)](_0x3f4157[_0x14663d(0x2da)],_0x4ee607['workspace']['path']);if(_0xe5229)return _0xe5229;}if(_0x4ee607[_0x14663d(0x36c)]===_0x14663d(0x180)&&_0x504c9a===_0x14663d(0x178)&&(!_0x10b4b8||_0x10b4b8['trim']()['length']<0xa))return error(_0x14663d(0x328),'Hotfix\x20scope\x20justification\x20must\x20contain\x20at\x20least\x2010\x20characters.');_0x4ee607[_0x14663d(0x25f)][_0x14663d(0x323)]({'id':_0x504c9a,'summary':_0x10b4b8||'','completedAt':this[_0x14663d(0x313)]()[_0x14663d(0x3a4)]()});if(_0x4ee607['completedSteps'][_0x14663d(0x1b6)]===_0x17de16['steps'][_0x14663d(0x1b6)])_0x4ee607[_0x14663d(0x253)]=_0x14663d(0x37e);this[_0x14663d(0x1ee)](_0x4ee607),this[_0x14663d(0x32d)](_0x4ee607,'Step\x20completed:\x20'+_0x504c9a,_0x10b4b8||'(no\x20summary)');const _0xa23a39={};_0xa23a39['success']=!![];const _0x36123c=this['formatStatus'](_0x4ee607,_0xa23a39);if(MEMORY_TRIGGERS[_0x504c9a])_0x36123c[_0x14663d(0x251)]=MEMORY_TRIGGERS[_0x504c9a];return _0x36123c;});}[_0x417f9e(0x1ba)](_0x47aff6){const _0x3668de=_0x417f9e,_0x2638e1=this[_0x3668de(0x1cd)](path['join'](this[_0x3668de(0x374)](_0x47aff6[_0x3668de(0x39b)]),_0x3668de(0x205)));if(!_0x2638e1||_0x2638e1[_0x3668de(0x39b)]!==_0x47aff6[_0x3668de(0x39b)]||PipelineManager['validateRunId'](_0x2638e1[_0x3668de(0x196)]))return;const _0x14c158=this[_0x3668de(0x245)](_0x47aff6['task'],_0x2638e1['runId']);if(!_0x14c158||_0x14c158['status']!==_0x3668de(0x191)||_0x14c158['cancellation']?.[_0x3668de(0x37a)]!=='runtime-upgrade'||_0x14c158[_0x3668de(0x22c)][_0x3668de(0x2f9)]!==_0x2638e1[_0x3668de(0x2f9)]||!require(_0x3668de(0x260))[_0x3668de(0x1c3)](_0x14c158[_0x3668de(0x311)]?.['path']||'',_0x47aff6[_0x3668de(0x311)][_0x3668de(0x1a0)]))return;_0x47aff6[_0x3668de(0x185)]={'task':_0x47aff6['task'],'runId':_0x14c158['runId'],'reason':'runtime-upgrade','requirements':[..._0x14c158[_0x3668de(0x24b)]?.[_0x3668de(0x2fa)]||[]],'findings':JSON[_0x3668de(0x3bb)](JSON[_0x3668de(0x28b)](Object[_0x3668de(0x356)](_0x14c158[_0x3668de(0x3b0)]?.[_0x3668de(0x1f1)]||{})[_0x3668de(0x250)](_0x26f14b=>_0x26f14b['required']!==![]&&!['resolved',_0x3668de(0x172)][_0x3668de(0x36f)](_0x26f14b[_0x3668de(0x253)])))),'attempts':{..._0x14c158[_0x3668de(0x2a6)]?.[_0x3668de(0x390)]||{}},'noProgress':_0x14c158[_0x3668de(0x2a6)]?.[_0x3668de(0x158)]||0x0,'lastFailure':_0x14c158[_0x3668de(0x2a6)]?.[_0x3668de(0x30f)]||null,'progress':(_0x14c158[_0x3668de(0x31c)]||[])[_0x3668de(0x2c7)](_0x2841b7=>({'id':_0x2841b7['id'],'noProgress':_0x2841b7[_0x3668de(0x158)]||0x0,'lastFailure':_0x2841b7['lastFailure']||null}))};if(_0x47aff6[_0x3668de(0x297)]!==0x3)return;_0x47aff6[_0x3668de(0x2a6)][_0x3668de(0x390)]={..._0x47aff6['inherited'][_0x3668de(0x390)]},_0x47aff6[_0x3668de(0x2a6)]['inheritedAttemptFloor']=Math[_0x3668de(0x3b4)](0x0,_0x14c158[_0x3668de(0x2a6)]?.['inheritedAttemptFloor']||0x0,...Object['values'](_0x47aff6['inherited'][_0x3668de(0x390)])),_0x47aff6[_0x3668de(0x2a6)][_0x3668de(0x158)]=_0x47aff6['inherited'][_0x3668de(0x158)],_0x47aff6[_0x3668de(0x2a6)][_0x3668de(0x30f)]=_0x47aff6['inherited'][_0x3668de(0x30f)];[_0x3668de(0x193),'attempt_limit']['includes'](_0x14c158[_0x3668de(0x2a6)]?.[_0x3668de(0x30d)])&&(_0x47aff6[_0x3668de(0x253)]=_0x3668de(0x166),_0x47aff6['execution']['stopReason']=_0x14c158['execution'][_0x3668de(0x30d)]);for(const _0x568701 of _0x47aff6['inherited'][_0x3668de(0x1f1)])if(_0x47aff6['quality'])_0x47aff6['quality']['findings'][_0x568701['id']]={..._0x568701,'status':'open','inheritedFrom':_0x14c158[_0x3668de(0x196)],'resolution':null};}[_0x417f9e(0x21f)]({task:_0x459160,runId:_0x1fbb6c,transactionId:_0xff4f18,epoch:_0x21901a,target:_0x4d796b}){const _0x570c34=_0x417f9e,{readFence:_0xd365fa}=require(_0x570c34(0x2de)),_0x2ac510=_0xd365fa(this[_0x570c34(0x3b3)]);if(_0x2ac510[_0x570c34(0x18e)]!==_0x570c34(0x201)||_0x2ac510[_0x570c34(0x2f9)]!==_0xff4f18||_0x2ac510[_0x570c34(0x280)]!==_0x21901a||_0x2ac510[_0x570c34(0x215)]!==_0x4d796b?.[_0x570c34(0x1c8)]||_0x2ac510[_0x570c34(0x36d)]!==_0x4d796b?.[_0x570c34(0x368)])return error(_0x570c34(0x15b),'Upgrade\x20cancellation\x20requires\x20the\x20current\x20frozen\x20transaction.');const _0x49c1c8=PipelineManager[_0x570c34(0x16d)](_0x459160)||PipelineManager[_0x570c34(0x157)](_0x1fbb6c);if(_0x49c1c8)return _0x49c1c8;return this['withLock'](_0x459160,()=>{const _0x40de60=_0x570c34,_0x4cb3d7=this[_0x40de60(0x245)](_0x459160,_0x1fbb6c);if(!_0x4cb3d7||!_0x4cb3d7['workspace']?.[_0x40de60(0x1a0)]||!require('../core/workspace-path')['sameWorkspace'](_0x4cb3d7[_0x40de60(0x311)][_0x40de60(0x1a0)],this[_0x40de60(0x3b3)]))return error('RUN_WORKSPACE_UNVERIFIED',_0x40de60(0x2b3));const _0x475825=_0x4cb3d7[_0x40de60(0x253)]==='cancelled'&&_0x4cb3d7[_0x40de60(0x22c)]?.[_0x40de60(0x2f9)]===_0xff4f18,_0x2c4110={};_0x2c4110['success']=!![],_0x2c4110[_0x40de60(0x397)]=!![];if(!_0x475825&&['completed','cancelled']['includes'](_0x4cb3d7[_0x40de60(0x253)]))return _0x2c4110;if(_0x4cb3d7[_0x40de60(0x2a6)]?.[_0x40de60(0x2e2)]?.[_0x40de60(0x1b6)]||(_0x4cb3d7[_0x40de60(0x2a6)]?.['receiptObservations']||[])[_0x40de60(0x2b7)](_0x542d88=>_0x542d88[_0x40de60(0x21a)]==='confirmed'&&_0x542d88[_0x40de60(0x1be)]!=='stopped'))return error('WORKER_STOP_UNCONFIRMED',_0x40de60(0x327));!_0x475825&&(_0x4cb3d7[_0x40de60(0x253)]=_0x40de60(0x191),_0x4cb3d7['cancelledAt']=this['now']()[_0x40de60(0x3a4)](),_0x4cb3d7[_0x40de60(0x22c)]={'reason':_0x40de60(0x1fe),'transactionId':_0xff4f18,'target':_0x4d796b,'epoch':_0x21901a,'cancelledAt':_0x4cb3d7[_0x40de60(0x1f0)]},this[_0x40de60(0x1ee)](_0x4cb3d7),this['appendLedger'](_0x4cb3d7,_0x40de60(0x1f5),_0x40de60(0x176)+_0xff4f18+_0x40de60(0x2e3)));this['atomicWriteJson'](path[_0x40de60(0x16e)](this[_0x40de60(0x374)](_0x459160),_0x40de60(0x205)),{'task':_0x459160,'runId':_0x1fbb6c,'transactionId':_0xff4f18,'target':_0x4d796b});const _0x17815a=this['readJson'](this[_0x40de60(0x1a4)](_0x459160));if(_0x17815a?.[_0x40de60(0x196)]===_0x1fbb6c)fs['unlinkSync'](this['currentFile'](_0x459160));const _0x5e1cfd=new(require(_0x40de60(0x159)))[(_0x40de60(0x192))](this[_0x40de60(0x3b3)]);if(fs['existsSync'](_0x5e1cfd[_0x40de60(0x1ec)]))for(const _0x1c7447 of fs[_0x40de60(0x1bf)](_0x5e1cfd[_0x40de60(0x1ec)])){if(!/^[a-f0-9]{64}\.json$/['test'](_0x1c7447))continue;const _0x33f169=this[_0x40de60(0x1cd)](path['join'](_0x5e1cfd[_0x40de60(0x1ec)],_0x1c7447));if(_0x33f169?.[_0x40de60(0x39b)]===_0x459160&&_0x33f169[_0x40de60(0x196)]===_0x1fbb6c)_0x5e1cfd[_0x40de60(0x359)](_0x33f169[_0x40de60(0x365)],_0x2f4e5c=>{const _0x1da605=_0x40de60,_0x9775d6={};_0x9775d6[_0x1da605(0x39b)]=_0x459160,_0x9775d6['runId']=_0x1fbb6c,_0x9775d6[_0x1da605(0x37a)]='runtime-upgrade',_0x2f4e5c[_0x1da605(0x351)]=_0x9775d6,_0x2f4e5c[_0x1da605(0x39b)]=null,_0x2f4e5c[_0x1da605(0x196)]=null,_0x2f4e5c[_0x1da605(0x302)]=null,_0x2f4e5c[_0x1da605(0x390)]={};});}const _0x27c611={};return _0x27c611['success']=!![],_0x27c611[_0x40de60(0x268)]=_0x475825,_0x27c611[_0x40de60(0x22c)]=_0x4cb3d7['cancellation'],_0x27c611;});}[_0x417f9e(0x1e6)]({task:_0x35cf9e,runId:_0x4b3530,confirm:_0x581f1b,target:target=_0x417f9e(0x2cc),sessionId:_0xb503cf}={}){const _0x54fa82=_0x417f9e,_0x19f373=PipelineManager[_0x54fa82(0x16d)](_0x35cf9e);if(_0x19f373)return _0x19f373;if(!_0x4b3530)return error(_0x54fa82(0x38a),_0x54fa82(0x3a7));const _0x2e027c=PipelineManager['validateRunId'](_0x4b3530);if(_0x2e027c)return _0x2e027c;if(_0x581f1b!==!![])return error(_0x54fa82(0x259),'Cancelling\x20a\x20run\x20requires\x20confirm=true.');if(![_0x54fa82(0x2cc),'creation'][_0x54fa82(0x36f)](target))return error(_0x54fa82(0x2c9),_0x54fa82(0x2c8));return this[_0x54fa82(0x2d7)](_0x35cf9e,()=>{const _0x69dd15=_0x54fa82;if(target==='creation'){const _0x12abfb=this[_0x69dd15(0x1a9)](_0x35cf9e,_0x4b3530),_0x139625=this[_0x69dd15(0x1cd)](_0x12abfb);if(!_0x139625||_0x139625[_0x69dd15(0x39b)]!==_0x35cf9e||_0x139625[_0x69dd15(0x196)]!==_0x4b3530||![_0x69dd15(0x240),'workspace-ready',_0x69dd15(0x380)][_0x69dd15(0x36f)](_0x139625[_0x69dd15(0x253)]))return error(_0x69dd15(0x154),_0x69dd15(0x381));if(!_0xb503cf||_0x139625[_0x69dd15(0x290)]?.[_0x69dd15(0x365)]&&_0x139625[_0x69dd15(0x290)]['sessionId']!==_0xb503cf)return error('SESSION_MISMATCH','Resolve\x20creation\x20with\x20its\x20recorded\x20coordinator\x20session.');if(PipelineManager[_0x69dd15(0x145)](_0x139625[_0x69dd15(0x2a0)])||_0x139625[_0x69dd15(0x303)]&&(typeof _0x139625[_0x69dd15(0x303)]!==_0x69dd15(0x186)||normalizePath(_0x139625[_0x69dd15(0x303)])!==this[_0x69dd15(0x3b3)])||!_0x139625[_0x69dd15(0x311)]||_0x139625[_0x69dd15(0x311)][_0x69dd15(0x2c4)]||!_0x139625[_0x69dd15(0x311)]['path']||normalizePath(_0x139625[_0x69dd15(0x311)][_0x69dd15(0x1a0)])!==this[_0x69dd15(0x3b3)])return error(_0x69dd15(0x35f),'Intent\x20ownership\x20or\x20current\x20workspace\x20cannot\x20be\x20proven.');if(this[_0x69dd15(0x245)](_0x35cf9e,_0x4b3530)||fs[_0x69dd15(0x3b9)](this[_0x69dd15(0x389)](_0x35cf9e,_0x4b3530))||fs[_0x69dd15(0x3b9)](this[_0x69dd15(0x1a4)](_0x35cf9e)))return error('CREATION_RUN_EXISTS','Creation\x20already\x20has\x20run\x20state\x20or\x20a\x20current\x20binding;\x20it\x20cannot\x20be\x20abandoned.');this[_0x69dd15(0x22b)](_0x12abfb,{..._0x139625,'status':'abandoned','resolvedAt':this[_0x69dd15(0x313)]()['toISOString'](),'resolvedBySession':_0xb503cf,'resolution':_0x69dd15(0x1e9)});const _0x122f50={};return _0x122f50[_0x69dd15(0x2ef)]=!![],_0x122f50['task']=_0x35cf9e,_0x122f50[_0x69dd15(0x196)]=_0x4b3530,_0x122f50[_0x69dd15(0x2f2)]=_0x69dd15(0x1e3),_0x122f50[_0x69dd15(0x3ab)]=_0x12abfb,_0x122f50['state']='abandoned',_0x122f50['freshStartAvailable']=!![],_0x122f50;}const _0x678bf6=this[_0x69dd15(0x245)](_0x35cf9e,_0x4b3530);if(!_0x678bf6)return error(_0x69dd15(0x29a),_0x69dd15(0x3ba)+_0x4b3530+_0x69dd15(0x296));const _0x444284=this[_0x69dd15(0x269)](_0x678bf6);if(_0x444284[_0x69dd15(0x1ea)]===_0x69dd15(0x262))return error(_0x444284[_0x69dd15(0x2d6)],'This\x20run\x20cannot\x20be\x20changed\x20until\x20its\x20contract\x20is\x20verified.');if(_0x678bf6[_0x69dd15(0x375)]&&_0x678bf6[_0x69dd15(0x375)]!==_0xb503cf)return error('SESSION_MISMATCH',_0x69dd15(0x2ca));const _0x341467=this[_0x69dd15(0x1a8)](_0x35cf9e);if(!_0x341467||_0x341467[_0x69dd15(0x196)]!==_0x4b3530)return error(_0x69dd15(0x221),_0x69dd15(0x1d3));if(![_0x69dd15(0x2e2),_0x69dd15(0x166)][_0x69dd15(0x36f)](_0x678bf6['status']))return error('RUN_NOT_ACTIVE',_0x69dd15(0x1da)+_0x678bf6['status']+_0x69dd15(0x1c1));if(_0x678bf6[_0x69dd15(0x2a6)]?.['active'][_0x69dd15(0x1b6)])return error(_0x69dd15(0x3a9),'Stop\x20and\x20release\x20active\x20workers\x20before\x20cancelling\x20the\x20run.');_0x678bf6[_0x69dd15(0x253)]=_0x69dd15(0x191),_0x678bf6['cancelledAt']=this[_0x69dd15(0x313)]()['toISOString'](),this[_0x69dd15(0x1ee)](_0x678bf6),this[_0x69dd15(0x32d)](_0x678bf6,_0x69dd15(0x1b8),'Cancelled\x20by\x20explicit\x20request.\x20History\x20was\x20preserved.');const _0x34b70f={};return _0x34b70f[_0x69dd15(0x2ef)]=!![],this['formatStatus'](_0x678bf6,_0x34b70f);});}['use'](_0x1d321f,_0x163bb6){const _0x56cb85=_0x417f9e,_0x3ddc18=PipelineManager[_0x56cb85(0x16d)](_0x1d321f);if(_0x3ddc18)return _0x3ddc18;if(!_0x163bb6)return error(_0x56cb85(0x38a),_0x56cb85(0x264));const _0x5a2bce=PipelineManager[_0x56cb85(0x157)](_0x163bb6);if(_0x5a2bce)return _0x5a2bce;const _0x3ba0c4=this[_0x56cb85(0x32c)](_0x1d321f,_0x163bb6);if(_0x3ba0c4?.['success']===![])return _0x3ba0c4;if(!_0x3ba0c4)return error(_0x56cb85(0x29a),_0x56cb85(0x3ba)+_0x163bb6+_0x56cb85(0x296));const _0x16755c=this['contract'](_0x3ba0c4);if(_0x16755c[_0x56cb85(0x1ea)]===_0x56cb85(0x262))return error(_0x16755c[_0x56cb85(0x2d6)],_0x56cb85(0x308));if(![_0x56cb85(0x2e2),_0x56cb85(0x166)][_0x56cb85(0x36f)](_0x3ba0c4[_0x56cb85(0x253)]))return error(_0x56cb85(0x2b1),_0x56cb85(0x1da)+_0x3ba0c4[_0x56cb85(0x253)]+_0x56cb85(0x2b8));const _0x454eef={};return _0x454eef['success']=!![],this['formatStatus'](_0x3ba0c4,_0x454eef);}[_0x417f9e(0x203)](_0x1556ac,_0x1a42cc={}){const _0x4c4c7b=_0x417f9e,_0x4ab654={};_0x4ab654[_0x4c4c7b(0x1d0)]=![];const _0x102141=this[_0x4c4c7b(0x269)](_0x1556ac,_0x4ab654),_0x3bcb35=_0x1556ac[_0x4c4c7b(0x297)]===0x3?_0x1556ac[_0x4c4c7b(0x189)]:_0x1556ac[_0x4c4c7b(0x189)]||PIPELINE_DEFINITIONS[_0x1556ac[_0x4c4c7b(0x36c)]],_0x4c9e04={..._0x1a42cc};_0x4c9e04['active']=![],_0x4c9e04['state']=_0x1556ac[_0x4c4c7b(0x253)],_0x4c9e04[_0x4c4c7b(0x39b)]=_0x1556ac['task'],_0x4c9e04[_0x4c4c7b(0x196)]=_0x1556ac[_0x4c4c7b(0x196)],_0x4c9e04[_0x4c4c7b(0x36c)]=_0x1556ac['pipeline'],_0x4c9e04[_0x4c4c7b(0x25d)]=_0x102141,_0x4c9e04[_0x4c4c7b(0x262)]=!![],_0x4c9e04[_0x4c4c7b(0x287)]={},_0x4c9e04[_0x4c4c7b(0x287)][_0x4c4c7b(0x13c)]='contract-unavailable',_0x4c9e04[_0x4c4c7b(0x287)][_0x4c4c7b(0x2d6)]=_0x102141[_0x4c4c7b(0x2d6)];if(!_0x3bcb35?.[_0x4c4c7b(0x349)])return _0x4c9e04;const _0xec4f7f=_0x1556ac[_0x4c4c7b(0x25f)][_0x4c4c7b(0x1b6)],_0x4d2c7c=_0x3bcb35[_0x4c4c7b(0x349)][_0xec4f7f]||null,_0xf7808e={..._0x1a42cc,'active':_0x1556ac[_0x4c4c7b(0x253)]===_0x4c4c7b(0x2e2),'state':_0x1556ac[_0x4c4c7b(0x253)],'task':_0x1556ac[_0x4c4c7b(0x39b)],'runId':_0x1556ac['runId'],'pipeline':_0x1556ac[_0x4c4c7b(0x36c)],'pipeline_name':_0x3bcb35['name'],'progress':_0xec4f7f+'/'+_0x3bcb35[_0x4c4c7b(0x349)][_0x4c4c7b(0x1b6)],'completed':_0x1556ac[_0x4c4c7b(0x25f)][_0x4c4c7b(0x2c7)](_0x259a1e=>_0x259a1e['id']),'next_step':_0x4d2c7c?{'id':_0x4d2c7c['id'],'name':_0x4d2c7c[_0x4c4c7b(0x34c)],'skill':_0x4d2c7c[_0x4c4c7b(0x2da)]}:null,'workspacePath':_0x1556ac['workspace'][_0x4c4c7b(0x1a0)],'stateRoot':this[_0x4c4c7b(0x369)],'ledgerPath':this[_0x4c4c7b(0x383)](_0x1556ac['task'],_0x1556ac['runId']),'workspace':_0x1556ac[_0x4c4c7b(0x311)],'compatibility':_0x102141,'cancellation':_0x1556ac[_0x4c4c7b(0x22c)]||null,'inherited':_0x1556ac[_0x4c4c7b(0x185)]||null,'tool_routing':TOOL_ROUTING};if(_0x102141[_0x4c4c7b(0x1ea)]===_0x4c4c7b(0x262))return{..._0xf7808e,'active':![],'blocked':!![],'nextAction':{'kind':_0x4c4c7b(0x3ac),'code':_0x102141[_0x4c4c7b(0x2d6)]}};const _0x614e6={};_0x614e6['kind']=_0x4c4c7b(0x1f6);const _0x4f68f1={};_0x4f68f1['kind']=_0x4c4c7b(0x150);if(_0x1556ac[_0x4c4c7b(0x297)]===0x3)Object[_0x4c4c7b(0x214)](_0xf7808e,{...require(_0x4c4c7b(0x2d0))[_0x4c4c7b(0x399)](_0x1556ac,_0x4d2c7c?.['id']),'schemaVersion':0x3,'versions':_0x1556ac[_0x4c4c7b(0x2a7)],'acceptance':_0x1556ac[_0x4c4c7b(0x24b)],'sessionId':_0x1556ac[_0x4c4c7b(0x375)],'workItems':_0x1556ac[_0x4c4c7b(0x219)],'plannedItems':_0x1556ac[_0x4c4c7b(0x31c)]||[],'execution':_0x1556ac['execution'],'receiptObservations':_0x1556ac[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x25c)]||[],'verification_level':_0x1556ac['quality']?_0x4c4c7b(0x14e):_0x4c4c7b(0x2f3),'stop_reason':_0x1556ac[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x30d)],'nextAction':_0x1556ac['status']==='cancelled'?{'kind':_0x4c4c7b(0x379),'reason':_0x1556ac['cancellation']?.[_0x4c4c7b(0x37a)]||_0x4c4c7b(0x191)}:_0x1556ac[_0x4c4c7b(0x253)]===_0x4c4c7b(0x37e)?_0x614e6:_0x1556ac[_0x4c4c7b(0x253)]===_0x4c4c7b(0x166)?{'kind':_0x4c4c7b(0x166),'reason':_0x1556ac[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x30d)]}:_0x1556ac[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x287)]||_0x4f68f1});if(_0x1556ac['quality']&&_0x1a42cc[_0x4c4c7b(0x39d)]===![])_0xf7808e['quality']={'plan':_0x1556ac[_0x4c4c7b(0x3b0)]['plan'],'freshness':_0x4c4c7b(0x26a),'reason':_0x4c4c7b(0x2ea),'checks':Object[_0x4c4c7b(0x3b7)](_0x1556ac['quality'][_0x4c4c7b(0x1f8)]['checks']['map'](_0x320f7a=>[_0x320f7a['id'],_0x4c4c7b(0x26a)])),'criteria':Object[_0x4c4c7b(0x3b7)](_0x1556ac[_0x4c4c7b(0x3b0)][_0x4c4c7b(0x1f8)][_0x4c4c7b(0x2fa)][_0x4c4c7b(0x2c7)](_0x13c252=>[_0x13c252['id'],{'expectedOutcome':_0x13c252[_0x4c4c7b(0x325)],'source':_0x13c252[_0x4c4c7b(0x2e7)],'status':_0x4c4c7b(0x26a)}])),'missingChecks':_0x1556ac[_0x4c4c7b(0x3b0)][_0x4c4c7b(0x1f8)][_0x4c4c7b(0x3b2)][_0x4c4c7b(0x250)](_0x2aabb9=>_0x2aabb9[_0x4c4c7b(0x1b4)]!==![])[_0x4c4c7b(0x2c7)](_0x5d98e6=>_0x5d98e6['id']),'openFindings':Object['values'](_0x1556ac['quality'][_0x4c4c7b(0x1f1)]||{})['filter'](_0x4f8911=>_0x4f8911[_0x4c4c7b(0x1b4)]!==![]),'unavailable':_0x1556ac[_0x4c4c7b(0x3b0)]['unavailable']||{},'reviewProvenance':[],'impactEscalation':_0x1556ac[_0x4c4c7b(0x3b0)][_0x4c4c7b(0x1fc)]||null};else{if(_0x1556ac['quality']){const _0x3543bb=this[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x364)](_0x1556ac)['id'],_0x38978e=Object['fromEntries'](_0x1556ac[_0x4c4c7b(0x3b0)]['plan'][_0x4c4c7b(0x3b2)]['map'](_0x29a3f3=>{const _0x4f1283=_0x4c4c7b,_0xdc845b=_0x1556ac[_0x4f1283(0x2a6)][_0x4f1283(0x234)][_0x4f1283(0x250)](_0x1ff22e=>_0x1ff22e[_0x4f1283(0x3b0)]?.[_0x4f1283(0x376)]===_0x29a3f3['id']&&_0x1ff22e[_0x4f1283(0x364)]===_0x3543bb&&_0x1ff22e[_0x4f1283(0x163)]===_0x1556ac['acceptance'][_0x4f1283(0x1de)]&&!_0x1ff22e[_0x4f1283(0x228)])['at'](-0x1);return[_0x29a3f3['id'],_0xdc845b&&artifactEvidenceCurrent(_0x1556ac,_0xdc845b)?_0xdc845b[_0x4f1283(0x3b0)]['status']:_0x4f1283(0x26a)];})),_0x326ad0=Object['fromEntries'](_0x1556ac[_0x4c4c7b(0x3b0)][_0x4c4c7b(0x1f8)]['criteria']['map'](_0x122347=>{const _0x3d43f0=_0x4c4c7b,_0x4d51bc=new Set([..._0x122347['checkIds'],..._0x1556ac['quality'][_0x3d43f0(0x1f8)][_0x3d43f0(0x3b2)][_0x3d43f0(0x250)](_0x54dae7=>_0x54dae7[_0x3d43f0(0x1b4)]!==![]&&_0x54dae7[_0x3d43f0(0x265)][_0x3d43f0(0x36f)](_0x122347['id']))[_0x3d43f0(0x2c7)](_0x86a71b=>_0x86a71b['id'])]);return[_0x122347['id'],{'expectedOutcome':_0x122347['expectedOutcome'],'source':_0x122347['source'],'status':[..._0x4d51bc]['every'](_0x105066=>_0x38978e[_0x105066]==='passed')&&(!_0x1556ac[_0x3d43f0(0x3b0)][_0x3d43f0(0x1f8)][_0x3d43f0(0x195)]||_0x1556ac[_0x3d43f0(0x3b0)]['plan']['checks'][_0x3d43f0(0x2b7)](_0x370090=>_0x370090[_0x3d43f0(0x1b4)]!==![]&&_0x370090[_0x3d43f0(0x2bc)]?.[_0x3d43f0(0x1b6)]))?_0x3d43f0(0x1b7):[..._0x4d51bc][_0x3d43f0(0x2b7)](_0x322411=>_0x38978e[_0x322411]===_0x3d43f0(0x235))?'failed':_0x3d43f0(0x26a)}];}));_0xf7808e[_0x4c4c7b(0x3b0)]={'plan':_0x1556ac['quality'][_0x4c4c7b(0x1f8)],'freshness':_0x4c4c7b(0x28d),'checks':_0x38978e,'openFindings':this[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x322)](_0x1556ac,_0x3543bb),'impactEscalation':_0x1556ac[_0x4c4c7b(0x3b0)][_0x4c4c7b(0x1fc)]||null,'criteria':_0x326ad0,'missingChecks':this['execution'][_0x4c4c7b(0x24f)](_0x1556ac,undefined,_0x3543bb),'unavailable':_0x1556ac[_0x4c4c7b(0x3b0)]['unavailable']||{},'reviewProvenance':_0x1556ac[_0x4c4c7b(0x2a6)]['evidence']['filter'](_0x1ad3f5=>_0x1ad3f5[_0x4c4c7b(0x2e7)]===_0x4c4c7b(0x338))['map'](_0x5b24cb=>({'evidenceId':_0x5b24cb['id'],'stage':_0x5b24cb[_0x4c4c7b(0x2bb)]?.['stage'],'verdict':_0x5b24cb['review']?.[_0x4c4c7b(0x3a3)],'actorSeparated':_0x5b24cb[_0x4c4c7b(0x2b9)],'artifactsCurrent':artifactEvidenceCurrent(_0x1556ac,_0x5b24cb),'hostObservedIndependent':this[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x1c5)](_0x1556ac,_0x5b24cb),'workerHostConfirmed':(_0x1556ac[_0x4c4c7b(0x2a6)]['receiptObservations']||[])[_0x4c4c7b(0x2b7)](_0x24ea4c=>_0x24ea4c[_0x4c4c7b(0x302)]===_0x5b24cb[_0x4c4c7b(0x302)]&&_0x24ea4c['workerStatus']==='confirmed')||(_0x1556ac[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x218)]||[])[_0x4c4c7b(0x2b7)](_0x49ad54=>_0x49ad54[_0x4c4c7b(0x302)]===_0x5b24cb[_0x4c4c7b(0x302)]&&_0x49ad54[_0x4c4c7b(0x1b5)]?.[_0x4c4c7b(0x2e7)]===_0x4c4c7b(0x21b)),'modelHostConfirmed':(_0x1556ac[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x25c)]||[])[_0x4c4c7b(0x2b7)](_0x17316d=>_0x17316d[_0x4c4c7b(0x302)]===_0x5b24cb['attemptId']&&_0x17316d[_0x4c4c7b(0x392)]===_0x4c4c7b(0x344))||(_0x1556ac[_0x4c4c7b(0x2a6)][_0x4c4c7b(0x218)]||[])[_0x4c4c7b(0x2b7)](_0x16d0cb=>_0x16d0cb['attemptId']===_0x5b24cb[_0x4c4c7b(0x302)]&&_0x16d0cb[_0x4c4c7b(0x2b0)]?.[_0x4c4c7b(0x2e7)]==='host-observed'&&_0x16d0cb['modelReceipt']?.['status']===_0x4c4c7b(0x344))}))};}else _0xf7808e[_0x4c4c7b(0x20d)]=_0x4c4c7b(0x169);}if(_0x4d2c7c?.[_0x4c4c7b(0x2da)]){const _0x2a4068=_0x1556ac['schemaVersion']===0x3&&_0x1556ac[_0x4c4c7b(0x160)]?.[_0x4d2c7c['skill']]?null:this[_0x4c4c7b(0x17c)](_0x4d2c7c['skill'],_0x1556ac['workspace']['path']),_0x308790={};_0x308790[_0x4c4c7b(0x2e2)]=![],_0x308790[_0x4c4c7b(0x262)]=!![];if(_0x2a4068)Object['assign'](_0xf7808e,_0x2a4068,_0x308790);else _0xf7808e[_0x4c4c7b(0x20a)]='Read\x20.agents/skills/'+_0x4d2c7c[_0x4c4c7b(0x2da)]+_0x4c4c7b(0x331)+_0x4d2c7c['id']+'\x22.';}if(_0x4d2c7c&&[_0x4c4c7b(0x362),_0x4c4c7b(0x273),_0x4c4c7b(0x2ad)][_0x4c4c7b(0x36f)](_0x4d2c7c['id']))_0xf7808e[_0x4c4c7b(0x37f)]=DOMAIN_SKILL_REMINDER;return _0xf7808e;}['listRunsFromRoot'](_0x1abbe7){const _0x3ed885=_0x417f9e,_0x48a2f4=[];if(!fs[_0x3ed885(0x3b9)](_0x1abbe7))return _0x48a2f4;const _0x5e5cc4={};_0x5e5cc4['withFileTypes']=!![];for(const _0x523e68 of fs[_0x3ed885(0x1bf)](_0x1abbe7,_0x5e5cc4)){if(!_0x523e68[_0x3ed885(0x244)]()||_0x523e68['name'][_0x3ed885(0x16f)]('.'))continue;const _0x24bf07=path[_0x3ed885(0x16e)](_0x1abbe7,_0x523e68[_0x3ed885(0x34c)],_0x3ed885(0x285));if(!fs[_0x3ed885(0x3b9)](_0x24bf07))continue;const _0x1d9dec={};_0x1d9dec[_0x3ed885(0x272)]=!![];for(const _0x403842 of fs[_0x3ed885(0x1bf)](_0x24bf07,_0x1d9dec)){if(!_0x403842[_0x3ed885(0x244)]())continue;const _0x50912d=path['join'](_0x24bf07,_0x403842[_0x3ed885(0x34c)]);let _0x416f51;if(_0x1abbe7===this[_0x3ed885(0x369)])_0x416f51=this[_0x3ed885(0x245)](_0x523e68['name'],_0x403842[_0x3ed885(0x34c)]);else{const _0x2c3fea={};_0x2c3fea[_0x3ed885(0x39b)]=_0x523e68[_0x3ed885(0x34c)],_0x2c3fea[_0x3ed885(0x196)]=_0x403842[_0x3ed885(0x34c)];const _0x40271f=require(_0x3ed885(0x332))[_0x3ed885(0x2cb)](path['join'](_0x50912d,_0x3ed885(0x28a)),_0x2c3fea);_0x416f51=_0x40271f?require(_0x3ed885(0x336))[_0x3ed885(0x212)](_0x40271f,_0x50912d):new Execution({'runDir':()=>_0x50912d})[_0x3ed885(0x317)](_0x523e68[_0x3ed885(0x34c)],_0x403842[_0x3ed885(0x34c)],this[_0x3ed885(0x1cd)](path[_0x3ed885(0x16e)](_0x50912d,'state.json')));}if(_0x416f51&&this['ownsRun'](_0x416f51))_0x48a2f4[_0x3ed885(0x323)](_0x416f51);else{if(_0x416f51)this['recordForeignRun'](_0x416f51);}}}return _0x48a2f4;}[_0x417f9e(0x1dc)](){const _0x247f5c=_0x417f9e;return this['listRunsFromRoot'](this[_0x247f5c(0x369)]);}[_0x417f9e(0x1dd)](){const _0x5ef9c3=_0x417f9e;return this[_0x5ef9c3(0x1dc)]()['filter'](_0x186085=>_0x186085[_0x5ef9c3(0x253)]===_0x5ef9c3(0x2e2))[_0x5ef9c3(0x2c7)](_0xabf1b9=>this['formatStatus'](_0xabf1b9));}[_0x417f9e(0x19a)](_0x1c8e23){const _0x72923c=_0x417f9e;let _0x2c6e77=![];const _0xc7455d=(_0x11fa14,_0x4f03b3=0xa0)=>{const _0x547527=_0x6240;if(_0x11fa14===undefined||_0x11fa14===null)return null;const _0x30b98d=String(_0x11fa14);if(_0x30b98d[_0x547527(0x1b6)]<=_0x4f03b3)return _0x30b98d;return _0x2c6e77=!![],_0x30b98d[_0x547527(0x31a)](0x0,_0x4f03b3)+'...';},_0x2d5d14=_0xebe2e8=>![_0x72923c(0x37e),_0x72923c(0x191)][_0x72923c(0x36f)](_0xebe2e8['state']),_0x5badfe=_0x2d7ce4=>({'code':_0xc7455d(_0x2d7ce4[_0x72923c(0x2d6)],0x50),'task':_0xc7455d(_0x2d7ce4[_0x72923c(0x39b)],0x40),'runId':_0xc7455d(_0x2d7ce4[_0x72923c(0x196)],0x20),'path':_0xc7455d(_0x2d7ce4[_0x72923c(0x1a0)],0xf0),'error':_0xc7455d(_0x2d7ce4['error']||_0x2d7ce4['message'],0xf0)}),_0x2c5c34={'success':_0x1c8e23[_0x72923c(0x2ef)],'active':_0x1c8e23[_0x72923c(0x2e2)],'state':_0x1c8e23[_0x72923c(0x18e)],'summary':'bootstrap','stateRoot':_0xc7455d(_0x1c8e23[_0x72923c(0x369)],0xf0),'pipelines':[..._0x1c8e23[_0x72923c(0x2d1)]][_0x72923c(0x266)]((_0x56c435,_0x521daa)=>Number(_0x2d5d14(_0x521daa))-Number(_0x2d5d14(_0x56c435)))[_0x72923c(0x31a)](0x0,0x8)['map'](_0x1862f8=>({'task':_0xc7455d(_0x1862f8['task'],0x40),'runId':_0xc7455d(_0x1862f8[_0x72923c(0x196)],0x20),'pipeline':_0xc7455d(_0x1862f8[_0x72923c(0x36c)],0x50),'state':_0xc7455d(_0x1862f8[_0x72923c(0x18e)],0x20),'active':_0x1862f8[_0x72923c(0x2e2)],'blocked':_0x1862f8[_0x72923c(0x262)]===!![],'success':_0x1862f8[_0x72923c(0x2ef)],'code':_0xc7455d(_0x1862f8[_0x72923c(0x2d6)],0x50),'error':_0xc7455d(_0x1862f8[_0x72923c(0x2c2)],0xf0),'resumable':_0x1862f8[_0x72923c(0x262)]!==!![]&&[_0x72923c(0x2e2),_0x72923c(0x166),_0x72923c(0x14b)]['includes'](_0x1862f8['state'])&&_0x1862f8[_0x72923c(0x25d)]?.[_0x72923c(0x1ea)]!==_0x72923c(0x262),'progress':_0xc7455d(_0x1862f8[_0x72923c(0x29f)],0x28),'sessionId':_0xc7455d(_0x1862f8[_0x72923c(0x365)],0x80),'workspacePath':_0xc7455d(_0x1862f8[_0x72923c(0x140)],0xf0),'next_step':_0x1862f8[_0x72923c(0x385)]?{'id':_0xc7455d(_0x1862f8[_0x72923c(0x385)]['id'],0x50),'name':_0xc7455d(_0x1862f8['next_step']['name'],0x50),'skill':_0xc7455d(_0x1862f8[_0x72923c(0x385)]['skill'],0x50)}:null,'stop_reason':_0xc7455d(_0x1862f8[_0x72923c(0x330)],0x50),'nextAction':_0x1862f8['nextAction']?{'kind':_0xc7455d(_0x1862f8[_0x72923c(0x287)][_0x72923c(0x13c)],0x50),'reason':_0xc7455d(_0x1862f8[_0x72923c(0x287)][_0x72923c(0x37a)]),'code':_0xc7455d(_0x1862f8[_0x72923c(0x287)][_0x72923c(0x2d6)],0x50)}:null,'compatibility':{'mutation':_0xc7455d(_0x1862f8['compatibility']?.[_0x72923c(0x1ea)],0x50),'code':_0xc7455d(_0x1862f8[_0x72923c(0x25d)]?.['code'],0x50)}})),'pendingCreations':_0x1c8e23[_0x72923c(0x386)][_0x72923c(0x31a)](0x0,0x4)[_0x72923c(0x2c7)](_0x19e78b=>({'task':_0xc7455d(_0x19e78b['task'],0x40),'runId':_0xc7455d(_0x19e78b[_0x72923c(0x196)],0x20),'status':_0xc7455d(_0x19e78b[_0x72923c(0x253)],0x20),'workspacePath':_0xc7455d(_0x19e78b[_0x72923c(0x311)]?.[_0x72923c(0x1a0)],0xf0),'error':_0x19e78b[_0x72923c(0x2c2)]?_0x5badfe(_0x19e78b[_0x72923c(0x2c2)]):null,'availableActions':{'resume':_0x19e78b['availableActions']?.['resume']===!![],'abandon':_0x19e78b['availableActions']?.[_0x72923c(0x23b)]===!![]}})),'migrationWarnings':_0x1c8e23[_0x72923c(0x227)][_0x72923c(0x31a)](0x0,0x3)[_0x72923c(0x2c7)](_0x5badfe),'foreignWorkspaceStates':_0x1c8e23[_0x72923c(0x3ae)][_0x72923c(0x31a)](0x0,0x3)[_0x72923c(0x2c7)](_0x5badfe),'counts':{},'truncated':![],'details':_0x72923c(0x270)},_0x54a996=[_0x72923c(0x2d1),_0x72923c(0x386),_0x72923c(0x227),_0x72923c(0x3ae)],_0xf61d97=()=>{const _0x4c1ec3=_0x72923c;for(const _0x417705 of _0x54a996)_0x2c5c34['counts'][_0x417705]={'total':_0x1c8e23[_0x417705][_0x4c1ec3(0x1b6)],'displayed':_0x2c5c34[_0x417705][_0x4c1ec3(0x1b6)],'omitted':_0x1c8e23[_0x417705][_0x4c1ec3(0x1b6)]-_0x2c5c34[_0x417705][_0x4c1ec3(0x1b6)]};Object[_0x4c1ec3(0x214)](_0x2c5c34[_0x4c1ec3(0x38d)]['pipelines'],{'unfinished':_0x1c8e23[_0x4c1ec3(0x2d1)][_0x4c1ec3(0x250)](_0x2d5d14)['length'],'active':_0x1c8e23[_0x4c1ec3(0x2d1)][_0x4c1ec3(0x250)](_0x18c266=>_0x18c266[_0x4c1ec3(0x18e)]===_0x4c1ec3(0x2e2))[_0x4c1ec3(0x1b6)],'paused':_0x1c8e23[_0x4c1ec3(0x2d1)][_0x4c1ec3(0x250)](_0x445893=>_0x445893[_0x4c1ec3(0x18e)]===_0x4c1ec3(0x166))[_0x4c1ec3(0x1b6)],'completed':_0x1c8e23[_0x4c1ec3(0x2d1)]['filter'](_0x5a1cdf=>_0x5a1cdf[_0x4c1ec3(0x18e)]==='completed')[_0x4c1ec3(0x1b6)],'cancelled':_0x1c8e23[_0x4c1ec3(0x2d1)][_0x4c1ec3(0x250)](_0x4b183d=>_0x4b183d[_0x4c1ec3(0x18e)]===_0x4c1ec3(0x191))[_0x4c1ec3(0x1b6)]}),_0x2c5c34['truncated']=_0x2c6e77||_0x54a996[_0x4c1ec3(0x2b7)](_0x16dde0=>_0x2c5c34[_0x4c1ec3(0x38d)][_0x16dde0][_0x4c1ec3(0x243)]>0x0);};_0xf61d97();while(Buffer['byteLength'](JSON[_0x72923c(0x28b)](_0x2c5c34))>0xc*0x400){const _0x771f60=[_0x72923c(0x227),_0x72923c(0x3ae),_0x72923c(0x2d1),_0x72923c(0x386)][_0x72923c(0x147)](_0x1539fc=>_0x2c5c34[_0x1539fc][_0x72923c(0x1b6)]);if(!_0x771f60)break;_0x2c5c34[_0x771f60]['pop'](),_0xf61d97();}return _0x2c5c34;}[_0x417f9e(0x291)](_0x494d95,_0x52e934,_0x326145={}){const _0x7c494b=_0x417f9e;try{if(!_0x494d95){const _0x293776=[];if(fs[_0x7c494b(0x3b9)](this[_0x7c494b(0x369)])){const _0x1e5171={};_0x1e5171[_0x7c494b(0x272)]=!![];for(const _0x34440f of fs[_0x7c494b(0x1bf)](this[_0x7c494b(0x369)],_0x1e5171)){if(!_0x34440f[_0x7c494b(0x244)]()||_0x34440f[_0x7c494b(0x34c)][_0x7c494b(0x16f)]('.'))continue;const _0x2a72c6=this['readCurrent'](_0x34440f['name']);if(_0x2a72c6&&this[_0x7c494b(0x29c)](_0x2a72c6))_0x293776[_0x7c494b(0x323)](this[_0x7c494b(0x203)](_0x2a72c6,_0x326145));else{if(_0x2a72c6)this['recordForeignRun'](_0x2a72c6);}}}const _0x335fef={'success':!![],'active':_0x293776['some'](_0x369dab=>_0x369dab['active']),'state':_0x293776[_0x7c494b(0x1b6)]?_0x7c494b(0x334):_0x7c494b(0x1c0),'pipelines':_0x293776,'stateRoot':this[_0x7c494b(0x369)],'migrationWarnings':this[_0x7c494b(0x227)],'foreignWorkspaceStates':this[_0x7c494b(0x3ae)]||[],'pendingCreations':this[_0x7c494b(0x386)](),'message':_0x293776['length']?_0x293776[_0x7c494b(0x1b6)]+_0x7c494b(0x139):_0x7c494b(0x229),'tool_routing':TOOL_ROUTING};return _0x326145[_0x7c494b(0x38c)]==='bootstrap'?this[_0x7c494b(0x19a)](_0x335fef):_0x335fef;}const _0x1fbb06=PipelineManager[_0x7c494b(0x16d)](_0x494d95);if(_0x1fbb06)return _0x1fbb06;if(_0x52e934){const _0x549d41=PipelineManager[_0x7c494b(0x157)](_0x52e934);if(_0x549d41)return _0x549d41;}const _0x53da29=_0x52e934?this[_0x7c494b(0x245)](_0x494d95,_0x52e934):this[_0x7c494b(0x1a8)](_0x494d95);if(!_0x53da29)return error('RUN_NOT_FOUND',_0x7c494b(0x2ce)+_0x494d95+'\x22.',{'active':![],'state':_0x7c494b(0x1c0),'task':_0x494d95,'stateRoot':this[_0x7c494b(0x369)],'pendingCreations':this[_0x7c494b(0x386)](_0x494d95)});const _0x488aef={..._0x326145};return _0x488aef['success']=!![],{...this['formatStatus'](_0x53da29,_0x488aef),'pendingCreations':this[_0x7c494b(0x386)](_0x494d95)};}catch(_0x5dc884){if(![_0x7c494b(0x39c),_0x7c494b(0x3bc)]['includes'](_0x5dc884['code']))throw _0x5dc884;return error(_0x7c494b(0x197),_0x7c494b(0x24a),{'active':![],'task':_0x494d95||null,'diagnostic':creationFailure(_0x5dc884,_0x7c494b(0x18b))});}}[_0x417f9e(0x213)](_0x530a85,_0x4395f3){const _0x3ba90b=_0x417f9e,_0x32ceaa=PipelineManager[_0x3ba90b(0x16d)](_0x530a85);if(_0x32ceaa)return _0x32ceaa;const _0x48e93f=PipelineManager['validateRunId'](_0x4395f3);if(_0x48e93f)return _0x48e93f;const _0x34a787=this[_0x3ba90b(0x245)](_0x530a85,_0x4395f3);if(!_0x34a787)return error(_0x3ba90b(0x29a),_0x3ba90b(0x3ba)+_0x4395f3+_0x3ba90b(0x296));if(!_0x34a787[_0x3ba90b(0x311)][_0x3ba90b(0x2c4)]||_0x34a787[_0x3ba90b(0x311)]['mode']!==_0x3ba90b(0x35d))return error('WORKTREE_NOT_MANAGED',_0x3ba90b(0x2e5));const _0x20e061={};_0x20e061[_0x3ba90b(0x321)]=_0x34a787[_0x3ba90b(0x311)]['path'];const _0x5ab896=this[_0x3ba90b(0x1fa)]([_0x3ba90b(0x253),'--porcelain'],_0x20e061);if(!_0x34a787['workspace'][_0x3ba90b(0x256)])return error('WORKTREE_BASE_BRANCH_MISSING',_0x3ba90b(0x1e4));const _0x111101=this[_0x3ba90b(0x1fa)]([_0x3ba90b(0x1c2),_0x3ba90b(0x246),_0x3ba90b(0x1d8),_0x34a787['workspace'][_0x3ba90b(0x256)]+_0x3ba90b(0x329)+_0x34a787[_0x3ba90b(0x311)]['branch']]),_0x4cbabc=this[_0x3ba90b(0x1fa)](['diff','--name-only',_0x34a787[_0x3ba90b(0x311)]['baseRef']+'...'+_0x34a787['workspace'][_0x3ba90b(0x3a1)]]),[_0x21f09c='0',_0x26f068='0']=_0x111101[_0x3ba90b(0x346)][_0x3ba90b(0x2db)](/\s+/);return{'success':_0x5ab896['ok']&&_0x111101['ok']&&_0x4cbabc['ok'],'task':_0x530a85,'runId':_0x4395f3,'workspacePath':_0x34a787['workspace'][_0x3ba90b(0x1a0)],'branch':_0x34a787[_0x3ba90b(0x311)]['branch'],'baseRef':_0x34a787[_0x3ba90b(0x311)][_0x3ba90b(0x14f)],'baseBranch':_0x34a787[_0x3ba90b(0x311)][_0x3ba90b(0x256)],'clean':_0x5ab896['ok']&&!_0x5ab896[_0x3ba90b(0x346)],'status':_0x5ab896[_0x3ba90b(0x346)],'ahead':Number(_0x26f068),'behind':Number(_0x21f09c),'changedFiles':_0x4cbabc[_0x3ba90b(0x346)]?_0x4cbabc[_0x3ba90b(0x346)][_0x3ba90b(0x2db)](/\r?\n/)[_0x3ba90b(0x250)](Boolean):[],'mergePerformed':![]};}[_0x417f9e(0x1a1)]({task:_0x39e10c,runId:_0x512968,confirm:_0x147090,sessionId:_0xb90e73}={}){const _0x2498d0=_0x417f9e,_0x16a336=PipelineManager[_0x2498d0(0x16d)](_0x39e10c);if(_0x16a336)return _0x16a336;const _0x1bbb75=PipelineManager[_0x2498d0(0x157)](_0x512968);if(_0x1bbb75)return _0x1bbb75;if(_0x147090!==!![])return error(_0x2498d0(0x1e1),_0x2498d0(0x18d));return this[_0x2498d0(0x2d7)](_0x39e10c,()=>{const _0x13ce3b=_0x2498d0,_0x3bdd7f=this[_0x13ce3b(0x245)](_0x39e10c,_0x512968);if(!_0x3bdd7f)return error(_0x13ce3b(0x29a),'Run\x20\x22'+_0x512968+_0x13ce3b(0x296));if(_0x3bdd7f['coordinator']&&_0x3bdd7f['coordinator']!==_0xb90e73)return error(_0x13ce3b(0x1a7),_0x13ce3b(0x20c));if(![_0x13ce3b(0x37e),_0x13ce3b(0x191)][_0x13ce3b(0x36f)](_0x3bdd7f[_0x13ce3b(0x253)]))return error(_0x13ce3b(0x31e),_0x13ce3b(0x1e0));if(_0x3bdd7f[_0x13ce3b(0x2a6)]?.['active']?.[_0x13ce3b(0x1b6)])return error(_0x13ce3b(0x3a9),'Stop\x20and\x20release\x20active\x20workers\x20before\x20worktree\x20cleanup.');if(!_0x3bdd7f['workspace'][_0x13ce3b(0x2c4)]||_0x3bdd7f[_0x13ce3b(0x311)]['status']==='removed')return error(_0x13ce3b(0x16a),'No\x20managed\x20worktree\x20is\x20available\x20for\x20cleanup.');const _0x33d684={};_0x33d684[_0x13ce3b(0x321)]=_0x3bdd7f['workspace'][_0x13ce3b(0x1a0)];const _0x5574a7=this['runGit']([_0x13ce3b(0x253),'--porcelain'],_0x33d684);if(!_0x5574a7['ok']||_0x5574a7[_0x13ce3b(0x346)])return error(_0x13ce3b(0x1ed),_0x13ce3b(0x3a0),{'status':_0x5574a7[_0x13ce3b(0x346)]});if(!_0x3bdd7f[_0x13ce3b(0x311)]['baseBranch'])return error(_0x13ce3b(0x342),_0x13ce3b(0x396));const _0x2a5209=this['runGit']([_0x13ce3b(0x188),'--is-ancestor',_0x3bdd7f['workspace']['branch'],_0x3bdd7f['workspace'][_0x13ce3b(0x256)]]);if(!_0x2a5209['ok'])return error(_0x13ce3b(0x342),_0x13ce3b(0x354));const _0x4f1706=this[_0x13ce3b(0x1fa)]([_0x13ce3b(0x35d),_0x13ce3b(0x39a),_0x3bdd7f[_0x13ce3b(0x311)][_0x13ce3b(0x1a0)]]);if(!_0x4f1706['ok'])return error(_0x13ce3b(0x357),_0x4f1706[_0x13ce3b(0x1ff)]);_0x3bdd7f[_0x13ce3b(0x311)][_0x13ce3b(0x253)]=_0x13ce3b(0x141),_0x3bdd7f[_0x13ce3b(0x311)][_0x13ce3b(0x2d3)]=this['now']()[_0x13ce3b(0x3a4)](),this[_0x13ce3b(0x1ee)](_0x3bdd7f),this['appendLedger'](_0x3bdd7f,'Worktree\x20removed','Branch\x20preserved:\x20'+_0x3bdd7f[_0x13ce3b(0x311)][_0x13ce3b(0x3a1)]);const _0x1af66c={};return _0x1af66c[_0x13ce3b(0x2ef)]=!![],_0x1af66c[_0x13ce3b(0x39b)]=_0x39e10c,_0x1af66c[_0x13ce3b(0x196)]=_0x512968,_0x1af66c['branch']=_0x3bdd7f['workspace']['branch'],_0x1af66c['branchDeleted']=![],_0x1af66c;});}['migrateLegacyTaskDirectories'](){const _0x103c31=_0x417f9e,_0x3ddf11=new Set([path[_0x103c31(0x16e)](this[_0x103c31(0x3b3)],_0x103c31(0x30a),_0x103c31(0x2d1)),this[_0x103c31(0x369)]]);for(const _0x11808b of _0x3ddf11){if(!fs['existsSync'](_0x11808b))continue;const _0x5e1eee={};_0x5e1eee[_0x103c31(0x272)]=!![];for(const _0x47f41b of fs['readdirSync'](_0x11808b,_0x5e1eee)){if(!_0x47f41b['isDirectory']()||_0x47f41b[_0x103c31(0x34c)][_0x103c31(0x16f)]('.'))continue;const _0x5513de=path[_0x103c31(0x16e)](_0x11808b,_0x47f41b['name'],_0x103c31(0x2e8));if(!fs[_0x103c31(0x3b9)](_0x5513de))continue;const _0x199adb=fs[_0x103c31(0x27d)](_0x5513de,_0x103c31(0x13b));let _0x46cf31;try{_0x46cf31=JSON[_0x103c31(0x3bb)](_0x199adb);}catch(_0x5b0889){const _0x1b13d0={};_0x1b13d0[_0x103c31(0x2d6)]='LEGACY_STATE_INVALID',_0x1b13d0[_0x103c31(0x1a0)]=_0x5513de,_0x1b13d0[_0x103c31(0x2c2)]=_0x5b0889[_0x103c31(0x293)],this[_0x103c31(0x227)][_0x103c31(0x323)](_0x1b13d0);continue;}if(!_0x46cf31?.[_0x103c31(0x36c)]||!PIPELINE_DEFINITIONS[_0x46cf31['pipeline']]){const _0x56cc17={};_0x56cc17['code']='LEGACY_STATE_INVALID',_0x56cc17['path']=_0x5513de,_0x56cc17[_0x103c31(0x2c2)]=_0x103c31(0x367),this[_0x103c31(0x227)][_0x103c31(0x323)](_0x56cc17);continue;}const _0x31e08f=crypto['createHash']('sha256')['update'](_0x5513de+'\x00'+_0x199adb)[_0x103c31(0x368)](_0x103c31(0x258)),_0x510120=path[_0x103c31(0x16e)](this[_0x103c31(0x369)],'.migrations',_0x31e08f+_0x103c31(0x13f));if(fs[_0x103c31(0x3b9)](_0x510120))continue;const _0x3b51a5=String(_0x46cf31[_0x103c31(0x2dc)]||this[_0x103c31(0x313)]()[_0x103c31(0x3a4)]())[_0x103c31(0x31a)](0x0,0xa)[_0x103c31(0x384)](/-/g,''),_0x4a5d30=PipelineManager[_0x103c31(0x16d)](_0x47f41b[_0x103c31(0x34c)])?_0x103c31(0x26e)+_0x46cf31[_0x103c31(0x36c)]+'-'+_0x3b51a5:_0x47f41b['name'];let _0x2d9dc6=_0x4a5d30,_0x366956=0x0;while(this[_0x103c31(0x1a8)](_0x2d9dc6)){const _0x1b91e8=_0x366956++===0x0?_0x31e08f['slice'](0x0,0x6):_0x31e08f[_0x103c31(0x31a)](0x0,0x4)+'-'+_0x366956;_0x2d9dc6=_0x4a5d30[_0x103c31(0x31a)](0x0,0x3f-_0x1b91e8[_0x103c31(0x1b6)])+'-'+_0x1b91e8;}const _0x77600=this['generateRunId'](),_0x36aa2b=PIPELINE_DEFINITIONS[_0x46cf31[_0x103c31(0x36c)]],_0xa03d52=(_0x46cf31[_0x103c31(0x25f)]||[])['map'](_0x4150ee=>typeof _0x4150ee===_0x103c31(0x186)?{'id':_0x4150ee,'summary':'Migrated\x20from\x201.x\x20task\x20state','completedAt':this[_0x103c31(0x313)]()[_0x103c31(0x3a4)]()}:_0x4150ee),_0x3c6ef9={};_0x3c6ef9[_0x103c31(0x35a)]='current',_0x3c6ef9[_0x103c31(0x1a0)]=this[_0x103c31(0x3b3)],_0x3c6ef9['managed']=![],_0x3c6ef9[_0x103c31(0x253)]=_0x103c31(0x2a9);const _0x4e95d5={'schemaVersion':0x2,'task':_0x2d9dc6,'runId':_0x77600,'pipeline':_0x46cf31['pipeline'],'status':_0xa03d52[_0x103c31(0x1b6)]>=_0x36aa2b[_0x103c31(0x349)][_0x103c31(0x1b6)]?'completed':_0x103c31(0x2e2),'completedSteps':_0xa03d52,'workspace':_0x3c6ef9,'startedAt':_0x46cf31[_0x103c31(0x2dc)]||this[_0x103c31(0x313)]()['toISOString'](),'updatedAt':this['now']()['toISOString'](),'migratedFrom':_0x5513de},_0x37d59d={};_0x37d59d[_0x103c31(0x2ec)]=!![],this['writeState'](_0x4e95d5,_0x37d59d);const _0x557d39=path[_0x103c31(0x16e)](_0x11808b,_0x47f41b[_0x103c31(0x34c)],_0x103c31(0x306)),_0x1efa5c=fs[_0x103c31(0x3b9)](_0x557d39)?fs[_0x103c31(0x27d)](_0x557d39,_0x103c31(0x13b)):_0x103c31(0x319);this['appendLedger'](_0x4e95d5,_0x103c31(0x142),_0x103c31(0x38e)+_0x5513de+'\x0a\x0a'+_0x1efa5c),this[_0x103c31(0x22b)](_0x510120,{'source':_0x5513de,'task':_0x2d9dc6,'runId':_0x77600,'fingerprint':_0x31e08f,'migratedAt':this[_0x103c31(0x313)]()[_0x103c31(0x3a4)]()});}}}[_0x417f9e(0x26d)](){const _0x42e1d3=_0x417f9e;if(!fs[_0x42e1d3(0x3b9)](this[_0x42e1d3(0x33d)]))return;const _0x407183=fs[_0x42e1d3(0x27d)](this[_0x42e1d3(0x33d)],_0x42e1d3(0x13b));let _0x137cf3;try{_0x137cf3=JSON[_0x42e1d3(0x3bb)](_0x407183);}catch(_0x8dda5d){this['migrationWarnings'][_0x42e1d3(0x323)]({'code':_0x42e1d3(0x339),'path':this[_0x42e1d3(0x33d)],'error':_0x8dda5d[_0x42e1d3(0x293)]});return;}if(!_0x137cf3?.[_0x42e1d3(0x36c)]||!PIPELINE_DEFINITIONS[_0x137cf3[_0x42e1d3(0x36c)]]){this['migrationWarnings'][_0x42e1d3(0x323)]({'code':_0x42e1d3(0x339),'path':this['legacyStateFilePath'],'error':_0x42e1d3(0x367)});return;}const _0x39e870=crypto['createHash']('sha256')[_0x42e1d3(0x1fd)](_0x407183)[_0x42e1d3(0x368)](_0x42e1d3(0x258)),_0x436ba9=path[_0x42e1d3(0x16e)](this[_0x42e1d3(0x369)],_0x42e1d3(0x177),_0x39e870+_0x42e1d3(0x13f));if(fs['existsSync'](_0x436ba9))return;const _0x5b455c=String(_0x137cf3[_0x42e1d3(0x2dc)]||this[_0x42e1d3(0x313)]()[_0x42e1d3(0x3a4)]())[_0x42e1d3(0x31a)](0x0,0xa)[_0x42e1d3(0x384)](/-/g,''),_0x4ab14d=_0x42e1d3(0x26e)+_0x137cf3[_0x42e1d3(0x36c)]+'-'+_0x5b455c;let _0x4eec12=_0x4ab14d,_0x12f2f3=0x0;while(fs[_0x42e1d3(0x3b9)](this[_0x42e1d3(0x374)](_0x4eec12))){const _0x4dc12f=_0x12f2f3++===0x0?_0x39e870[_0x42e1d3(0x31a)](0x0,0x6):_0x39e870[_0x42e1d3(0x31a)](0x0,0x4)+'-'+_0x12f2f3;_0x4eec12=_0x4ab14d['slice'](0x0,0x3f-_0x4dc12f[_0x42e1d3(0x1b6)])+'-'+_0x4dc12f;}const _0x4460ef=this['generateRunId'](),_0xf2f042=PIPELINE_DEFINITIONS[_0x137cf3[_0x42e1d3(0x36c)]],_0x578aee=(_0x137cf3['completedSteps']||[])[_0x42e1d3(0x2c7)](_0xdd631f=>typeof _0xdd631f===_0x42e1d3(0x186)?{'id':_0xdd631f,'summary':_0x42e1d3(0x1a2),'completedAt':this[_0x42e1d3(0x313)]()[_0x42e1d3(0x3a4)]()}:_0xdd631f),_0xc7f741={};_0xc7f741[_0x42e1d3(0x35a)]=_0x42e1d3(0x271),_0xc7f741[_0x42e1d3(0x1a0)]=this[_0x42e1d3(0x3b3)],_0xc7f741[_0x42e1d3(0x2c4)]=![],_0xc7f741[_0x42e1d3(0x253)]='ready';const _0x3d910f={'schemaVersion':0x2,'task':_0x4eec12,'runId':_0x4460ef,'pipeline':_0x137cf3[_0x42e1d3(0x36c)],'status':_0x578aee[_0x42e1d3(0x1b6)]>=_0xf2f042[_0x42e1d3(0x349)][_0x42e1d3(0x1b6)]?_0x42e1d3(0x37e):_0x42e1d3(0x2e2),'completedSteps':_0x578aee,'workspace':_0xc7f741,'startedAt':_0x137cf3['startedAt']||this[_0x42e1d3(0x313)]()[_0x42e1d3(0x3a4)](),'updatedAt':this[_0x42e1d3(0x313)]()[_0x42e1d3(0x3a4)](),'migratedFrom':this[_0x42e1d3(0x33d)]},_0x27b321={};_0x27b321[_0x42e1d3(0x2ec)]=!![],this[_0x42e1d3(0x1ee)](_0x3d910f,_0x27b321),this['appendLedger'](_0x3d910f,_0x42e1d3(0x2cd),_0x42e1d3(0x38e)+this[_0x42e1d3(0x33d)]),this[_0x42e1d3(0x22b)](_0x436ba9,{'source':this[_0x42e1d3(0x33d)],'task':_0x4eec12,'runId':_0x4460ef,'fingerprint':_0x39e870,'migratedAt':this['now']()[_0x42e1d3(0x3a4)]()});}static['classifyRequest'](_0x51a636){const _0x97323b=_0x417f9e,_0x5efe85=String(_0x51a636||'')[_0x97323b(0x2d5)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/['test'](_0x5efe85)){const _0x35430e={};return _0x35430e[_0x97323b(0x15c)]=_0x97323b(0x2c3),_0x35430e[_0x97323b(0x2ab)]='medium',_0x35430e['reason']=_0x97323b(0x1df),_0x35430e;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/['test'](_0x5efe85)){const _0x2f3414={};return _0x2f3414[_0x97323b(0x15c)]=_0x97323b(0x180),_0x2f3414['confidence']='medium',_0x2f3414['reason']=_0x97323b(0x199),_0x2f3414;}const _0x269382={};return _0x269382['suggested_pipeline']=_0x97323b(0x274),_0x269382[_0x97323b(0x2ab)]=_0x5efe85[_0x97323b(0x1b6)]>=0x3?'medium':_0x97323b(0x1b2),_0x269382[_0x97323b(0x37a)]=_0x97323b(0x2fb),_0x269382;}}const _0x325919={};_0x325919[_0x417f9e(0x16c)]=PipelineManager,_0x325919[_0x417f9e(0x347)]=PIPELINE_DEFINITIONS,_0x325919[_0x417f9e(0x216)]=PIPELINE_DEFINITIONS_V3,module[_0x417f9e(0x173)]=_0x325919;
1
+ const _0xd8aaed=_0x5ead;function _0x40f3(){const _0x22e3f0=['BM93','zgLYzwn0B3j5','zxjYB3i','lI4U','BM9YBwfSAxPLuxvHBgL0EvbSyw4','zNjVEMvU','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','D29YA0L0zw1jza','cLj1BJOG','CMvJB3zLCNKTAw5ZCgvJDgLVBG','kg5Vihn1Bw1HCNKP','zxHWzwn0zwrFCgf0Aa','BgLZDfj1BNm','ChjVzhvJDfrHCMDLDa','z2L0q29TBw9UrgLY','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','mtu1ndqZmvvNsNn4Aa','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','yNvNlwrPywDUB3n0AwnZ','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlM5HBwuGiLLVDxiGtMfTzsi','CNvUswq','Aw52ywXPza','C3rHDhvZlwLUC3bLy3rPB24','C3rHDgu','y29UDhjHy3q','DgvYBwLUywW','D29YA3rYzwu','DMfSAwrHDgvxB3jRC3bHy2u','rNjLC2GGBMf0AxzLignVBxbSzxrPB24GChjVB2yGAxmGCMvXDwLYzwqGzM9YihjLBgvHC2uU','y29UzMLKzw5Jzq','BM9qCM9NCMvZCW','uMvWB3nPDg9YEsbPCYbUB3qGy2XLyw4Gywz0zxiGDgHLigjHC2vSAw5LignVBw1PDc4','CMvUyw1Lu3LUyW','Ag90zML4','ChjKlwDLBG','r0Lux0Lorevyx0zjteu','y2HPBgrFChjVy2vZCW','y2fUy2vSvMvYAwzPy2f0Aw9UCW','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','CMvHC29U','C29YDa','CMvHzgrPCLn5BMm','B21PDhrLza','uMvJB3jKigf0igXLyxn0ig9UzsbHy2nLChrHBMnLignYAxrLCMLVBIbHDcbWAxbLBgLUzv9ZDgfYDdSGAxrZihrLEhqGBxvZDcbTyxrJAcbHihf1ywXPDhLqBgfUignYAxrLCMLVBIbLEhbLy3rLze91DgnVBwuU','BwvYz2uTyMfZzq','v09ss1rsruvFuKvnt1zfx0zbsuXfra','Dg8TAxnZDwvZ','qurnsvntsu9ox0nptKzmsunu','ls1Nzxq','yxb0lW','BMfTzq','C3rHDfn5BMm','Cgf1C2vK','ihrHC2SOCYKGDhjHy2TLzc4','v09ss1rsruvFqKftrv9nsvntsu5h','u2f2zwqGy3jLyxrPB24GAw50zw50ignVDwXKig5VDcbIzsbPBNnWzwn0zwqU','yxzHAwXHyMXLqwn0Aw9UCW','CgvUzgLUz0nYzwf0Aw9UCW','Dw5SAw5Ru3LUyW','CgLWzwXPBMvZ','BgvNywn5u3rHDgvgAwXLugf0Aa','iIWGCMvJzwL2zwqGiG','y2HLy2Tjza','sw1WBgvTzw50ihrLC3qTzMLYC3q','r0Lux0LosvrFq09orKLstufusu9ox1jfuvvjuKve','C2vZC2LVBKLK','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','zgLHz25VC3rPyW','CMvJB3jKrM9YzwLNBLj1BG','CxvHBgL0Eq','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','ChjLCgfYzu1LCMDL','zgvJB2rLuNvUu3rHDgu','ls1Uyw1Llw9UBhK','rufdq0vt','vgHLihjLC2vYDMf0Aw9UigHHCYbUBYbJB25MAxjTzwqGC3rVChbLzcbUyxrPDMuGD29YA2vYlG','DMfSDwvZ','q29UzMLYBsb3B3jRzxiGC2H1DgrVD24GyMvMB3jLignHBMnLBgXPBMCGDgHLihj1BI4','y3btEw5J','Aw5PDgLHBgL6zuDPDa','mtjXyvrPz20','ChjVAMvJDfbHDgG','Bxv0yxrPB24','v09ss1rsruvFvu5nrvjhruq','lI4Vy29Yzs9LEgvJDxrPB24','BgLZDefJDgL2zvbPCgvSAw5LCW','DxnL','sg90zML4ihnJB3bLigP1C3rPzMLJyxrPB24GBxvZDcbJB250ywLUigf0igXLyxn0ideWignOyxjHy3rLCNmU','ywnJzxb0yw5Jzq','CMvXDwLYzwq','DMvYAwz5lxnJB3bL','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','C2vW','mtqYmtuYwgXwuLHf','zgv2zwXVCg1LBNrnB2rL','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','r0Lux1bsrvzjrvDFrKfjteve','uNvUici','D2L0AeXVy2S','zM9YBwf0u3rHDhvZ','lM1Pz3jHDgLVBNm','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','BM9Uzq','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','lI4Vy29Yzs9XDwfSAxr5','CgXHBG','DMfSAwrHDgvsDw5jza','CgXHDgzVCM0','y2HLy2TWB2LUDa','C3bSAxq','D29YA3nWywnLigzPzwXKCYbOyxzLigLUDMfSAwqGDhLWzxmU','D29YA2zSB3DqCM9MAwXL','Dhj1BMm','lI4VBgLJzw5Zzs92zxjPzNK','zM9Yy2u','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzc4','ChjLlwnYzwf0zs1ZDgf0zq','BwLNCMf0zq','ChvIBgLJs2v5','uLvox0Lex1jfuvvjuKve','BwfPBG','se9urKLyx1ndt1bfx1jfuvvjuKve','zNjLC2HtDgfYDef2ywLSywjSzq','AxneAxjLy3rVCNK','D29YA0L0zw1dB3vUDcbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCI4','CMvZB2X2zq','qw5VDgHLCIbYDw4GAxmGy3vYCMvUDdSGCMvJB3zLCNKGy2fUBM90ihjLCgXHy2uGAxrZigjPBMrPBMCU','qNjHBMnOihbYzxnLCNzLzdOG','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','Bg9JA0zPBgu','rgvMyxvSDgLUzYb0BYb0AguGC2fMzxn0igz1BgWGCgLWzwXPBMuU','C3rYAw5NAwz5','q2HHBgXLBMDLihrOzsbMAxGGzgvZAwDU','CgvYC2LZDa','uLvox0nsrufusu9ox0Loq09nueXfveu','ChjLDMLLDW','CMvTB3zLza','nde3ndm3mgnurvr1tG','y2fUy2vSBgvKqxq','l1nlsuXmlM1KigjLzM9YzsbZDgvWici','yxjNCW','yxr0zw1WDeLK','mJKYmJvbzgv2EMm','su5wquXjrf9tq0HftufFvKvsu0LptG','C3vNz2vZDgvKx3bPCgvSAw5L','Ag9ZDc1VyNnLCNzLza','q1jfqvrjt05FuLvox01ju01bveni','DMvYC2LVBG','zxHLy3v0Aw9U','ls1XDwLLDa','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','qMfZzsbJAgvJA291DcbTDxn0igjLignSzwfUigjLzM9YzsbJCMvHDgLUzYbHihDVCMT0CMvLlG','C2fTzvDVCMTZCgfJzq','y2fUy2vSBgvK','C2TPBgXFzgLYzwn0AxzL','zxzLBNrZlMPZB25S','ChjVzhvJDeLTCgfJDa','ls1IyxjL','Bw9Kzq','CMvJDxjZAxzL','lMfNzw50CW','yNL0zuXLBMD0Aa','BwfW','uNvUihvZzxmGCgLWzwXPBMuGiG','y2fUy2vSrM9YvxbNCMfKzq','uMvJB3jKzwqGD29YA3nWywnLigrPzMzLCNmGzNjVBsb0AgLZihbYB2PLy3qU','yxb0lw1JCc1NAxqTChjLDMLLDY0','BxvSDgK','u2f2zwqGy3jLyxrPB24GAw50zw50igHHCYbHBIbPBNzHBgLKihDVCMTZCgfJzsbVCIbIzwXVBMDZihrVigfUB3rOzxiGChjVAMvJDc4','Bw9IAwXL','ueLqruXjtKvFtuLttufuq0G','Bg9JA1rPBwvVDxrnCW','mtyWmtC4mfbdD1z5zG','v29YA3rYzwuGCMvTB3zLza','y2HLy2Tjzhm','C29Tzq','DgfZA0rPCG','Cg9SAwn5vMvYC2LVBG','su5wquXjrf9xt1jlu1bbq0vFtu9erq','rxHWzwn0zwqGC3rLCcaI','BgLZDa','CNvUBMLUzW','Aw5OzxjPDfvWz3jHzgvdB250zxH0','D2LUmZi','C3rYzxnZlxrLC3qTCgXHBG','su5wquXjrf9rvufmsvrzx1bmqu4','y3jPDgvYAwe','su5wquXjrf9srvnfvf9uqvjhrvq','vKvssuzjq0fusu9ox0Lox0zmsuDiva','tgvNywn5ihn0yxrLigLTCg9YDgvK','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','lI4VlI4VCgfJA2fNzs5QC29U','y2fUy2vSBgf0Aw9U','q1jfqvrjt05Fu1vqrvjtrurfra','Cg9W','CMvZB2X2zwq','CMvWBgfJzq','zMLSDgvY','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','zMLSzq','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','ywrK','v09ss1rsruvFtK9ux01btKfhruq','ugLWzwXPBMuGC3rHCNrLza','y29UzMLN','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','ugLWzwXPBMuGC3rHDguGy29WEsb0ExbLig1PC21HDgnOoIa','DhjPBq','cK5LEhqGC3rLCdOG','ChjLDMLVDxnsDw4','BwfYA0f0DgvTChrtDgfYDgvK','y3jLyxrLv29YA3rYzwu','u1rfuf9pvvrFt0zFt1jervi','y2XLyw51CfDVCMTZCgfJzq','y2XVC2vK','ls12zxjPzNK','AxnbCNjHEq','CM1tEw5J','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','z2L0','v09ss0vsx1nut1bFvu5dt05gsvjnruq','y3vYCMvUDa','lI4Vy29Yzs9VD25Lzc1SB2nR','CMvJB3zLCG','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','C3rHCNq','CNvUrgLY','C2nVCgu','D29YA2vYu3rHDhvZ','y29UzMLYBwvK','BgvKz2vY','Ag9ZDfDVCMTLCKLK','lI4Vy29Yzs9YDw4Ty2HLy2TWB2LUDa','Dg9mB3DLCKnHC2u','y29TCgXLDgvKu3rLChm','lMPZB24','ls1UBY1NCgCTC2LNBG','B3bLBG','y29UDgLUDwu','u291CMnLihjLDgfPBMvKigf0ia','v29YA3rYzwuGy2XLyw51CcbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','q3jLyxrLihzLCNrPy2fSlxnSAwnLigLZC3vLCW','uNvUignYzwf0Aw9UihDHCYbPBNrLCNj1ChrLzdSGAxrZihDVCMTZCgfJzsbHBMqGAw50zw50ihDLCMuGChjLC2vYDMvKlG','v09ss1rsruvFqKftrv9esvjuwq','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','u0TjteWUBwq','kg5VigXLz2fJEsbSzwrNzxiP','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','u2vUC2L0AxzLigzPBgvZihDVDwXKigjLignVBw1PDhrLzc4GqwrKihrOzw0GDg8GlMDPDgLNBM9YzsbHBMqGCMvXDwvZDcbHig5LDYbWCMv2Awv3lG','uMvHzcaUywDLBNrZl3nRAwXSCY8','y29TCgXLDgvKqxq','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','yMfZzvjLzG','yxrVBwLJv3jPDgvkC29U','C2HHmJu2','D29YA3nWywnL','DgfYz2v0rgLNzxn0','zxzPzgvUy2u','D29YA3nWywnLugf0Aa','CMvHzhK','y2XHC3nPzNLszxf1zxn0','BwfUywDLza','uNvUigLZia','CMvWB3j0CW','iIWGBM90ici','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','zg9JDw1LBNqTyxj0AwzHy3q','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlMvTywLSicj5B3vazxHHBxbSzs5JB20I','CMvZzxq','BMv4Df9ZDgvW','yxj0AwzHy3rqyxrOCW','y2HLy2TZ','u3rLCcbJB21WBgv0zwq6ia','CMvSzwfZzwq','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','sevbra','u0fwrsbquKqGC2nVCguGyw5KigTLEsbYzxf1AxjLBwvUDhmGD2L0AcbYzw1LBwjLCI4','Aw5KzxG','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','DxnLCI5LBwfPBa','yxbWzw5KtgvKz2vY','C3rKB3v0','zMLUza','y3jLyxrPBMC','D2vI','yMfZzujYyw5JAa','uMvJB3zLCNKGD2fZigLUDgvYCNvWDgvKoYbPDhmGAw50zw50ihDHCYbWCMvZzxj2zwqU','Cgf0Aa','C3rVChbLza','BwLZC2LUz1f1ywXPDhLdAgvJA3m','C3LZy2fSBa','lI4Vy29Yzs9UyxrPDMuTCMvJzwLWDa','ywjHBMrVBMvK','ueLqruXjtKvFu1rbvfvtx1voqvzbsuXbqKXf','BgvNywn5lw1Pz3jHDgLVBG','cLbPCgvSAw5LoIa','C3vTBwfYAxPLqM9VDhn0CMfWu3rHDhvZ','CgfZC2vK','lI4Vy29Yzs9YDw50Aw1LlwLUzM8','C2L6zq','CMvHBhbHDgHtEw5J','AgfZtgvNywn5u3rHDgu','zgLYBMfTzq','y2HVCMu6igLUAxrPywXPEMuGBg9JywWGCMvWB3nPDg9YEq','x19WAxbLBgLUzv9ZDgfYDf9F','qwn0AxzLihbPCgvSAw5LCYbJyw5UB3qGyMuGBwLNCMf0zwqGzhvYAw5NieDPDcbPBML0AwfSAxPHDgLVBI4','CMvTB3zLzef0','C2nOzw1HvMvYC2LVBG','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','C3rHDguUANnVBG','C3rHCNrZv2L0Aa','yM9VBgvHBG','y3vYCMvUDc5QC29U','CMvWB3nPDg9YEunVBNrLEhq','CMvXDwvZDgvKv29YA3nWywnL','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','q2fUBM90ihjLywqGr2L0igjVB3rZDhjHCcbWCMv2Awv3lG','DgrKlwXVB3a','B3jPz2LUv29YA3nWywnL','D2LUzg93C0HPzgu','CMvJB3jKvMvYAwzPy2f0Aw9U','zxHLy3v0Aw9Uu3rHDhvZ','BwLNCMf0zvn0yxrLuM9VDa','C2HVDY1Yzwy','ywn0AxzL','Dg9ju09tDhjPBMC','B3bLBLn5BMm','ChjVz3jLC3m','DMfSAwrHDgvtDg9YywDL','CMvXDwLYzwrtA2LSBevYCM9Y','A2v5CW','lIbbDhrLBxb0oIa','yMfZzw5HBwu','lI4Vy29Yzs9XDwfSAxr5lwfYDgLMywn0CW','BNb4igfWDc1Ty3aTywDLBNqTC2v0DxaGDxbKyxrLic0TChjVAMvJDcaI','CMv2lxbHCNnL','CNvUswqGAxmGCMvXDwLYzwqU','vgHPCYbJCMvHDgLVBIbPBNrLBNqGAgfZigfSCMvHzhKGyMvLBIbYzxnVBhzLzc4GvxnLihbPCgvSAw5Lx3vZzsbMB3iGyw4GzxHPC3rPBMCGCNvUlG','CNvUr2L0','su5wquXjrf9xt1jlrKXpv19quK9gsuXf','iIb3yxmGBM90igzVDw5KlG','Aw50zxjYDxb0zwq','ig11C3qGy29UDgfPBIbUB24Tzw1WDhKGC3rYAw5NCY4','CgLK','BgvKz2vYrMLSzq','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','CMvKDwnL','AgLNAc1YAxnR','uLvox05pvf9bq1rjvKu','yNvNzML4','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','D29YA0L0zw1dB3vUDa','CMvWBgfJzufSBa','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','uKvrvuLsrurFu0TjteXFtuLtu0LorW','u3vWCg9YDgvKihbPCgvSAw5LihzLCNnPB25ZigfYzsaYigfUzcaZlG','AxnhAxrszxbVC2L0B3j5','Aw5PDa','ChvZAa','ywnJzxb0yw5JzunYAxrLCMLH','y3jPDgvYAw9UswrZ','BMv4DefJDgLVBG','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','vw5RBM93BIbWAxbLBgLUzsb0ExbLoIa','zxHWzwn0zwrpDxrJB21L','CMvJB3jKvMvYAwzPy2f0Aw9Uqxn5BMm','Agv4','C2XPy2u','q3jLyxrPB24GywXYzwfKEsbOyxmGCNvUihn0yxrLig9YigeGy3vYCMvUDcbIAw5KAw5NoYbPDcbJyw5UB3qGyMuGywjHBMrVBMvKlG','ugLWzwXPBMvnyw5Hz2vY','rvbfuK0','yMXVy2TLza','vhjHBNnHy3rPB246ia','mti4ndGYmdjkz3n1v2O','CMvZDw1L','D2fPDa','CMvWywLYuNvU','ueLqruXjtKvFrevgsu5jveLptLnFvJm','ugLWzwXPBMuGC3rHDguGy29WEsbLBNrYAwvZig1PC21HDgnOoIa','ls1PCY1HBMnLC3rVCG','DMvYC2LVBNm','DMvYAwzPzwq','DgfZAW','DgrK','DMvYzgLJDa','D2L0AezPBgvuExbLCW','v29YA3nWywnLoIa','lcbUB3qGywn0AxzLlG','C3vNz2vZDfrHC2S','yxrVBwLJv3jPDgu','z2v0u3rHDhvZ','zgLMzG','zgv2zwXVCg1LBNqTC291CMnL','y3j5ChrV','CNvUDgLTzvzLCNnPB24','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','CNvUDgLTzvb1yMXPy0TLEq','CgfYC2u','D29YA3nWywnLlxjLC29SDxrPB24','BwvZC2fNzq','ls1JywnOzwq','BgvKz2vYlxDYAxrL','CMvHzePZB24','BgfZDezHAwX1CMu','u3rVChbLzcbUyxrPDMuGD29YA2vYihjLy29Uy2LSzwqGzM9YihvWz3jHzgu','Aw5OzxjPDgvK','tw9IAwXLifvjoIaUywDLBNrZl3nRAwXSCY9TB2jPBguTCNvSzxmVu0TjteWUBwq','yxnZzxj0Aw9Ulwv2AwrLBMnL','uLvox1jfq09wrvjzx0zbsuXfra','D29YA3rYzwuG','BMv3lxj1BI1Yzxf1AxjLza','C3rHz2u','CNvUDgLTzvbPBG','Aw50zwDYAxr5lw1HBMLMzxn0lMPZB24','ls1WB3jJzwXHAw4','tg9Hzcb0AguGBwf0y2HPBMCGzg9TywLUihnRAwXSigjLzM9YzsbJB2rPBMC6','CgLWzwXPBMuTC3rHDguUANnVBG','ru5pru5u','CMv2Awv3t2jZzxj2zwq','DMvYAwz5q29WAwvKvhjLzq','CMvWBgf5','q1jfqvrjt05FquXsrufewv9srvnptfzfra','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','CNvUDgLTzs11CgDYywrL','C3rKzxjY','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','zgLNzxn0','yxr0zw1WDhm','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','zw5KC1DPDgG','uLvox1nusuXmx0fdveLwrq','v09ss1rsruvFuefusf9fweLtvfm','ChjVz3jLC3mUBwq','yxv0BW','mtu1mJm0odbwqNfUtuK','BwvKAxvT','ywnJzxb0yw5JzvjLDMLZAw9U','zxHPC3rZu3LUyW','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGy2fUy2vSBgLUzYb0AguGCNvUlG','B3DUC1j1BG','BgvNywn5lq','rMvHDhvYzsbezxzLBg9WBwvUDa','CNvUCW','iIbPCYbTAxnZAw5NlG','CgLUtgvNywn5rgvMAw5PDgLVBG','AxnmAw5RzwrxB3jRDhjLzq','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','zxzLCNK','lMDPDgLNBM9Yzq','DgfYz2v0','CgLWzwXPBMu','zML4lwfUzc10zxn0','C3vTBwfYEq','AM9PBG','uMvWB3nPDg9YEsbOyxmGBM8GyMfZzsbJB21TAxqU','lMXVy2S','DgfZAY1ICMvHA2rVD24','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','y3jLyxrPB25jBNrLBNrgAwXL','CNvUDgLTzvjVB3q','BMv4Da','lMfNlwTPDc13B3jRDhjLzxm','zNn5BMntEw5J','C3rHDhvZ','DhjHBNnHy3rPB25jza','DgvZDa','C3rHBMrHCMq','C2v0q3vYCMvUDa','r0Lux0LosvrFrKfjteve','twLNCMf0zwqGzNjVBsaXlNGGDgfZAYbZDgf0zq','z2vUzxjHDgvsDw5jza','lI4Vy29Yzs9YDw4TC3rHDguTy29Kzwm','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','C2LNBMvKlxjLBgvHC2u','BwfUywDLCG','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5Lig11Dgf0Aw9UCY4','vu5ltK9xtG','D29YA0L0zw1Z','Aw1WCM92zs1HCMnOAxrLy3r1CMu','su5wquXjrf9xt1jlu1bbq0u','y3jLyxrLsgfZAa','Bw9KzwXszwnLAxb0','zgvMAw5PDgLVBG','vefts19btfjfqurzx0fdveLwrq','DMfSAwrHDgvuyxnR','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','BxrPBwvnCW','C291CMnL','BgLZDfj1BNngCM9TuM9VDa','CMvJB3zLCLj1BKLK','y29VCMrPBMf0B3i','y3vYCMvUDezPBgu','D3jPDgvgAwXLu3LUyW','CMvZB2X2zvDVCMTZCgfJzq','D29YA3nWywnLig11C3qGyMuGyw4GB2jQzwn0ihDPDgGGBw9KzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','q2fUBM90ignVBxbHCMuGDgHLihDVCMT0CMvLihDPDgHVDxqGAxrZihjLy29YzgvKigjHC2uGyNjHBMnOlG','C3rYAw5N','u2vZC2LVBLj1BNrPBwu','zw5JB2rPBMC','Aw50zw50rMLSzq','yNjHBMnO','vgHPCYbOAxn0B3jPy2fSihj1BIbPCYbYzwfKywjSzsbIDxqGy2fUBM90igjLihjLyM91BMqGzM9Yig11Dgf0Aw9UlG','z3jPBgWTBwu','qvruru1qvf9nsvnnqvrdsa','v09ss1rsruvFreLsvfK','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','zMLUzgLUz3m','zw52','CMv2Awv3','y29UDhjHy3qTDw5HDMfPBgfIBgu','ChjLDMLLD0DPDejVB3rZDhjHCa','ls1ZAg93lwn1CNjLBNq','lMnYzwf0Aw9U','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzdSGBM8GBMv3ihj1BIb3yxmGy3jLyxrLzc4','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','D3jPDgvtDgf0zq','y3DK','vxbNCMfKzsbJyw5JzwXSyxrPB24GCMvXDwLYzxmGDgHLign1CNjLBNqGzNjVEMvUihrYyw5Zywn0Aw9UlG','mta1u3PitfvK','CMvHzen1CNjLBNq','v09ss1rsruvFq1jfqvrfx0zbsuXfra','q3vYCMvUDcbUyxrPDMuGCNvUihDHCYbUB3qGzM91BMqU','q0Xfqu5vuf9dt05gsvjnqvrjt05FuKvrvuLsruq','CMvHzg9UBhK','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','AgfZ','u0vtu0LptL9nsvnnqvrdsa','q2fUy2vSBgvKigj5igv4CgXPy2L0ihjLCxvLC3qUieHPC3rVCNKGD2fZihbYzxnLCNzLzc4','zMfPBgvK','DxbKyxrL','ls13B3jRlxrYzwu','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','C25HChnOB3qTzxzPzgvUy2u','Bwf4','zxHWBg9Yzv9JB2rLiezjuLnuigzVCIbJB2rLlIbNCMvWx3nLyxjJAcbptKXzig5VBI1JB2rLicHJB25MAwCVzg9JCY8Uzw52ks4GtM8Gz3jLCcbSB29WCY4','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5LihjLC2v0lG','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','vgfZAYaI','tevhqunzx1nuqvrfx0LovKfmsuq','DxbKyxrLzef0','Dg1WzgLY','u0fwrsbYB290ignHDxnLigfUzcbYzxbYB2r1y3rPB24GC3rLChmGD2L0AcbYzw1LBwjLCI4','zMvHDhvYzq','C2TPBgW','y29TCgXLDgvK','BgvNywn5lxn1Bw1HCNK','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','BwLNCMf0zuXLz2fJEvn0yxrLCW','DgLTzw91Da','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','Aw1Wywn0','CMvMCMvZAfnUyxbZAg90','y29TCgfJDa','CNvU','A2LUza','v2vIifvjoIaUywDLBNrZl3nRAwXSCY91As1ZDhLSzs1YDwXLCY9ts0Lmtc5Tza','BwLNCMf0Aw9Uv2fYBMLUz3m','BgvUz3rO','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','CMfUzg9TqNL0zxm','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','lMXVy2TZ','vxnLignVBxbHy3qSihn0yw5KyxjKig9YigHPz2GTCMLZAY4','Aw5OzxjPDgvKqxr0zw1WDezSB29Y','C3rLChm','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','CMvTB3zL','CMvSzwfZzu5HDgL2zvDVCMTLCKzVCLvWz3jHzgu','CgXHBM5LzeL0zw1Z','y2fUtxv0yxrL','BwLNCMf0zuXLz2fJEvn0yxrL','DxrMoa','lMfNzw50CY9WAxbLBgLUzxmV','C3rHDgvgAwXL','C3rHDguTD3jPDgu','B3bLBKzPBMrPBMDZ','Aw5PDgLHBgL6Aw5N','C3rVCfjLyxnVBG','rgLHz25VC2uGyw5KihjLChjVzhvJzq','ls1JB3vUDa','zNjVBuvUDhjPzxm','D29YA3nWywnLlxjLywr5','twLNCMf0zwqGzNjVBsbSzwDHy3KGC3rHDgu','C3vJy2vZCW','qNvNiezPEa','Bg93','C3rHDgvsB290','q29UzMLNDxjLieDPDcb1C2vYlM5HBwuGyw5KihvZzxiUzw1HAwWGyMvMB3jLignYzwf0Aw5NihrOzsbIyxnLBgLUzsbJB21TAxqU','DMvYAwzPy2f0Aw9Ux2XLDMvS','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','Aw5PDc5KzwzHDwX0qNjHBMnO','CMvHzfj1BG','uhjVAMvJDcbMAwXLCYbJAgfUz2vKigfMDgvYihbYzxzPzxCUifjLCxvLC3qGysbUzxCGy29UzMLYBwf0Aw9UihrVA2vUlG','CMvJzwLWDe9IC2vYDMf0Aw9UCW','rMX1DhrLCJOGC2vSzwn0ihrOzsb0yxnRlxnWzwnPzMLJiezSDxr0zxiGC2TPBgWU','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','su5wquXjrf9uqvnlx0Le','C2TPBgXZ','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','DxbNCMfKzs1SAw5LywDLlMPZB24','CMvJB3zLCNLFy29TBwfUza','uNvUignHBMnLBgXLza','yxnZAwDU','y29TCgf0AwjPBgL0Eq','ls1NAxqTzgLY','yM9VDhn0CMfW','y3jLyxrPB24','Dg9tDhjPBMC','uMvZB2X2zsbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','uLvox05pvf9gt1vora','yxbWzw5KrMLSzvn5BMm','Aw5PDgLHBgL6zq','CMvJB3zLCKnYzwf0Aw9U','Aw5ZDgfSBgvKuNvUDgLTzvjVB3q','uMvZzxqGBxvZDcb1C2uGDgHLihjLy29YzgvKignVB3jKAw5HDg9YihnLC3nPB24U','y29KzxGTCgfYzw50lwnOAwXKlxrYyw5Zy3jPChrZ','uLvox01ju01bveni','y3jLyxrLzef0','BwvTB3j5x2fJDgLVBG','r0Lux0Leru5usvrzx1jfuvvjuKve','uMvXDwLYzwqGCgLWzwXPBMuGC2TPBgWGiG','q2fSBcbWAxbLBgLUzv9ZDgf0DxmODgfZAYWGCNvUswqPigzVCIbMDwXSihj1BIbKzxrHAwXZigfUzcbOAxn0B3j5lIbdywXSihbPCgvSAw5Lx3n0yxr1CYGPigzVCIbHBgWGDhjHy2TLzcb0yxnRCYWGzgLHz25VC3rPy3mGyw5KihvUzMLUAxnOzwqGy3jLyxrPB25ZlG','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','mJe1mKLHuxzSEq','yxr0zw1WDf9SAw1PDa','Dw52zxjPzMLLza','ywnXDwLYzuXVy2S','q2HLy2TWB2LUDcbZDgf0DxmGBxvZDcbIzsaIy29TCgXLDgvKiI4','CMv2ywXPzgf0zu5HDgL2zvjLy2vPChq','ywn0B3jjza','CMvJzwLWDa','CMvHzenOzwnRCg9PBNq','zgLHz25VC2u','y291BNrZ','CMvHzezPBgvtEw5J','C25HChnOB3q','Aw5JBhvKzxm','y29UzMLYBwf0Aw9Uvg9Rzw4','CxvHBgL0EvzLCNnPB24','y29Kzq','C3rHCNrLzef0','CMvHzhKTzM9YlwfJy2vWDgfUy2u','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra'];_0x40f3=function(){return _0x22e3f0;};return _0x40f3();}(function(_0x2b036d,_0x13dff8){const _0x4a58ff=_0x5ead,_0x365437=_0x2b036d();while(!![]){try{const _0x2cf1d9=parseInt(_0x4a58ff(0x1bb))/0x1+parseInt(_0x4a58ff(0x259))/0x2+-parseInt(_0x4a58ff(0x12a))/0x3*(-parseInt(_0x4a58ff(0x20a))/0x4)+parseInt(_0x4a58ff(0x236))/0x5*(-parseInt(_0x4a58ff(0x1fd))/0x6)+-parseInt(_0x4a58ff(0x23b))/0x7*(parseInt(_0x4a58ff(0x197))/0x8)+-parseInt(_0x4a58ff(0x325))/0x9+parseInt(_0x4a58ff(0x362))/0xa;if(_0x2cf1d9===_0x13dff8)break;else _0x365437['push'](_0x365437['shift']());}catch(_0x9c5b9d){_0x365437['push'](_0x365437['shift']());}}}(_0x40f3,0xe351a));const crypto=require(_0xd8aaed(0x339)),fs=require('fs'),os=require('os'),path=require(_0xd8aaed(0x2ce)),{spawnSync}=require(_0xd8aaed(0x1cf)),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0xd8aaed(0x201)),{inspectRunContract}=require(_0xd8aaed(0x273)),{artifactEvidenceCurrent}=require(_0xd8aaed(0x2fc)),{acquireRuntimeLock}=require(_0xd8aaed(0x28b)),TOOL_ROUTING=_0xd8aaed(0x13a),_0x57e1b7={};_0x57e1b7[_0xd8aaed(0x11a)]='SAVE\x20design\x20decisions\x20and\x20constraints\x20with\x20remember.',_0x57e1b7['to-prd']=_0xd8aaed(0x2c3),_0x57e1b7[_0xd8aaed(0x1a0)]=_0xd8aaed(0x142),_0x57e1b7['tdd']='SAVE\x20implementation\x20decisions\x20and\x20test\x20patterns\x20with\x20remember.',_0x57e1b7[_0xd8aaed(0x102)]='SAVE\x20architecture\x20decisions\x20and\x20findings\x20with\x20remember.';const MEMORY_TRIGGERS=_0x57e1b7,DOMAIN_SKILL_REMINDER=[_0xd8aaed(0x34f),_0xd8aaed(0x150),_0xd8aaed(0x346),_0xd8aaed(0x177)][_0xd8aaed(0xe9)]('\x0a'),_0x25e539={};_0x25e539['id']=_0xd8aaed(0x11a),_0x25e539[_0xd8aaed(0x1dd)]=_0xd8aaed(0x359),_0x25e539['skill']=_0xd8aaed(0x265);const _0x2d9f8e={};_0x2d9f8e['id']='to-prd',_0x2d9f8e[_0xd8aaed(0x1dd)]='Synthesize\x20PRD',_0x2d9f8e[_0xd8aaed(0x144)]=_0xd8aaed(0x1cd);const _0x3384e7={};_0x3384e7['id']=_0xd8aaed(0x1d9),_0x3384e7[_0xd8aaed(0x1dd)]=_0xd8aaed(0x29e),_0x3384e7[_0xd8aaed(0x144)]=_0xd8aaed(0xec);const _0x25824a={};_0x25824a['id']=_0xd8aaed(0x32f),_0x25824a[_0xd8aaed(0x1dd)]=_0xd8aaed(0x1ea),_0x25824a[_0xd8aaed(0x144)]=_0xd8aaed(0x2ec);const _0x7454ef={};_0x7454ef['id']='improve-architecture',_0x7454ef[_0xd8aaed(0x1dd)]='Review\x20architecture',_0x7454ef['skill']='improve-codebase-architecture';const _0xf1c0fc={};_0xf1c0fc[_0xd8aaed(0x1dd)]=_0xd8aaed(0xdd),_0xf1c0fc[_0xd8aaed(0x159)]=[_0x25e539,_0x2d9f8e,_0x3384e7,_0x25824a,_0x7454ef];const _0x2d765d={};_0x2d765d['id']=_0xd8aaed(0x1a0),_0x2d765d[_0xd8aaed(0x1dd)]=_0xd8aaed(0x167),_0x2d765d[_0xd8aaed(0x144)]=_0xd8aaed(0x1bd);const _0x243f5b={};_0x243f5b['id']=_0xd8aaed(0x11a),_0x243f5b['name']=_0xd8aaed(0x231),_0x243f5b['skill']=_0xd8aaed(0x265);const _0x349503={};_0x349503['id']='to-prd',_0x349503[_0xd8aaed(0x1dd)]='Document\x20the\x20fix',_0x349503[_0xd8aaed(0x144)]=_0xd8aaed(0x1cd);const _0x2f5c75={};_0x2f5c75['id']='to-issues',_0x2f5c75[_0xd8aaed(0x1dd)]='Create\x20tracking\x20issues',_0x2f5c75[_0xd8aaed(0x144)]=_0xd8aaed(0xec);const _0x10f7c2={};_0x10f7c2['id']=_0xd8aaed(0x32f),_0x10f7c2[_0xd8aaed(0x1dd)]=_0xd8aaed(0x208),_0x10f7c2[_0xd8aaed(0x144)]=_0xd8aaed(0x2ec);const _0x207e94={};_0x207e94[_0xd8aaed(0x1dd)]=_0xd8aaed(0x16d),_0x207e94[_0xd8aaed(0x159)]=[_0x2d765d,_0x243f5b,_0x349503,_0x2f5c75,_0x10f7c2];const _0x31c0c0={};_0x31c0c0['id']=_0xd8aaed(0x207),_0x31c0c0[_0xd8aaed(0x1dd)]=_0xd8aaed(0x2a8),_0x31c0c0[_0xd8aaed(0x144)]=null;const _0x2d95f3={};_0x2d95f3['id']=_0xd8aaed(0xe7),_0x2d95f3[_0xd8aaed(0x1dd)]=_0xd8aaed(0x1ee),_0x2d95f3['skill']=_0xd8aaed(0x2ec);const _0x45fbf7={};_0x45fbf7['name']='Hotfix',_0x45fbf7[_0xd8aaed(0x159)]=[_0x31c0c0,_0x2d95f3];const _0x5f353b={};_0x5f353b[_0xd8aaed(0x143)]=_0xf1c0fc,_0x5f353b['bugfix']=_0x207e94,_0x5f353b[_0xd8aaed(0x1cc)]=_0x45fbf7;const PIPELINE_DEFINITIONS=_0x5f353b,TASK_PATTERN=/^[a-z0-9](?:[a-z0-9_-]{0,62}[a-z0-9])?$/,RUN_PATTERN=/^\d{8}T\d{6}Z-[a-f0-9]{8}$/,SENSITIVE_PATTERNS=[/(?:^|\/)\.env(?:\..+)?$/i,/(?:^|\/)(?:\.npmrc|\.netrc|\.pypirc|\.git-credentials)$/i,/(?:^|\/)\.aws\/credentials$/i,/(?:^|\/)\.config\/gcloud\/(?:application_default_credentials\.json|credentials\.db)$/i,/(?:^|\/)(?:id_rsa|id_ed25519)$/i,/\.(?:pem|key|p12|pfx)$/i,/(?:^|\/)(?:credentials|service-account)[^/]*\.json$/i],SENSITIVE_CONTENT_PATTERNS=[/(?:^|\n)\s*(?:_authToken|npm_[A-Za-z0-9_]*token)\s*=/i,/-----BEGIN [A-Z ]*PRIVATE KEY-----/,/(?:aws_secret_access_key|client_secret)\s*[=:]/i];function _0x5ead(_0x5d5b5d,_0x375001){_0x5d5b5d=_0x5d5b5d-0xd7;const _0x40f3ea=_0x40f3();let _0x5ead1b=_0x40f3ea[_0x5d5b5d];if(_0x5ead['bTlznh']===undefined){var _0x52f3f4=function(_0xe9f35f){const _0x407694='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x57e1b7='',_0x25e539='';for(let _0x2d9f8e=0x0,_0x3384e7,_0x25824a,_0x7454ef=0x0;_0x25824a=_0xe9f35f['charAt'](_0x7454ef++);~_0x25824a&&(_0x3384e7=_0x2d9f8e%0x4?_0x3384e7*0x40+_0x25824a:_0x25824a,_0x2d9f8e++%0x4)?_0x57e1b7+=String['fromCharCode'](0xff&_0x3384e7>>(-0x2*_0x2d9f8e&0x6)):0x0){_0x25824a=_0x407694['indexOf'](_0x25824a);}for(let _0xf1c0fc=0x0,_0x2d765d=_0x57e1b7['length'];_0xf1c0fc<_0x2d765d;_0xf1c0fc++){_0x25e539+='%'+('00'+_0x57e1b7['charCodeAt'](_0xf1c0fc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x25e539);};_0x5ead['CYtcth']=_0x52f3f4,_0x5ead['ejvSaI']={},_0x5ead['bTlznh']=!![];}const _0x78fea9=_0x40f3ea[0x0],_0x5d41cc=_0x5d5b5d+_0x78fea9,_0x2a40ee=_0x5ead['ejvSaI'][_0x5d41cc];return!_0x2a40ee?(_0x5ead1b=_0x5ead['CYtcth'](_0x5ead1b),_0x5ead['ejvSaI'][_0x5d41cc]=_0x5ead1b):_0x5ead1b=_0x2a40ee,_0x5ead1b;}function error(_0x82343b,_0x5e22c3,_0x3ae154={}){const _0x316945={'success':![],'code':_0x82343b,'error':_0x5e22c3,..._0x3ae154};return _0x316945;}function creationFailure(_0x266c14,_0x1147f6){const _0x33e024=_0xd8aaed;return{'phase':_0x1147f6,'code':typeof _0x266c14['code']===_0x33e024(0x114)?_0x266c14[_0x33e024(0x1a7)]:_0x33e024(0x100),'syscall':typeof _0x266c14[_0x33e024(0x2d1)]===_0x33e024(0x114)?_0x266c14['syscall']:null,'path':typeof _0x266c14[_0x33e024(0x2ce)]===_0x33e024(0x114)?_0x266c14[_0x33e024(0x2ce)]:null,'message':typeof _0x266c14[_0x33e024(0x33f)]===_0x33e024(0x114)?_0x266c14[_0x33e024(0x33f)]['slice'](0x0,0xf0):null};}function normalizePath(_0x4cb97d){const _0x4601cd=_0xd8aaed;try{return fs[_0x4601cd(0x2db)](_0x4cb97d);}catch{return path[_0x4601cd(0x22a)](_0x4cb97d);}}function overlappingScope(_0x1206d9=[],_0x3b4546=[],_0x1cdabf){const _0x35d8b1=_0xd8aaed;if(!_0x1206d9[_0x35d8b1(0x152)]||!_0x3b4546['length']||[..._0x1206d9,..._0x3b4546][_0x35d8b1(0x25c)](_0xed1985=>/[*?\[\]{}!]/[_0x35d8b1(0xf5)](_0xed1985)))return!![];const _0x7f309=_0x58cd5a=>{const _0x3aa13a=_0x35d8b1,_0x2ff1a0=normalizePath(path[_0x3aa13a(0x22a)](_0x1cdabf,_0x58cd5a[_0x3aa13a(0x310)]('\x5c','/')));return process['platform']===_0x3aa13a(0x264)?_0x2ff1a0['toLowerCase']():_0x2ff1a0;};return _0x1206d9[_0x35d8b1(0x25c)](_0xd9cffa=>_0x3b4546[_0x35d8b1(0x25c)](_0x4e5205=>{const _0x4bb41f=_0x35d8b1,_0x146a34=_0x7f309(_0xd9cffa),_0x1934a1=_0x7f309(_0x4e5205);return _0x146a34===_0x1934a1||_0x146a34[_0x4bb41f(0x2e5)](_0x1934a1+path[_0x4bb41f(0x209)])||_0x1934a1['startsWith'](_0x146a34+path[_0x4bb41f(0x209)]);}));}function sleep(_0x3f9d01){const _0x4b9cd8=_0xd8aaed;Atomics[_0x4b9cd8(0x327)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x3f9d01);}class PipelineManager{constructor(_0x43b478,_0x3a3843={}){const _0x1586d4=_0xd8aaed;this[_0x1586d4(0x1fe)]=normalizePath(_0x43b478),this['env']=_0x3a3843['env']||process.env,this[_0x1586d4(0xef)]=_0x3a3843['runtimeRoot']||process.env.APT_RUNTIME_ROOT||require(_0x1586d4(0x2d9))[_0x1586d4(0x18d)](),this['runtimePublicKey']=_0x3a3843[_0x1586d4(0x223)]||require(_0x1586d4(0x21e))['PRODUCTION_PUBLIC_KEY'],this[_0x1586d4(0x20b)]=!fs['existsSync'](path[_0x1586d4(0xe9)](__dirname,'..','..',_0x1586d4(0x34d))),this[_0x1586d4(0x1ab)]=_0x3a3843[_0x1586d4(0x1ab)]||(()=>new Date()),this['randomBytes']=_0x3a3843[_0x1586d4(0x154)]||crypto[_0x1586d4(0x154)],this[_0x1586d4(0x258)]=_0x3a3843[_0x1586d4(0x258)]||0x7d0,this[_0x1586d4(0x151)]=[],this[_0x1586d4(0x241)]=new Execution(this),this[_0x1586d4(0x2c0)]();if(_0x3a3843[_0x1586d4(0x222)]!==![])this['migrateLegacyStates']();}static['suggestTask'](_0x422c72){const _0x4ecaa7=_0xd8aaed;if(typeof _0x422c72!=='string')return'';return _0x422c72[_0x4ecaa7(0x296)]()[_0x4ecaa7(0x27c)]()[_0x4ecaa7(0x271)](/[^a-z0-9_-]+/g,'-')[_0x4ecaa7(0x271)](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')[_0x4ecaa7(0x31f)](0x0,0x40);}static[_0xd8aaed(0x108)](_0x53e200){const _0xae9ccd=_0xd8aaed;if(typeof _0x53e200!==_0xae9ccd(0x114)||!_0x53e200['trim']())return error('TASK_REQUIRED',_0xae9ccd(0x178));if(_0x53e200!==_0x53e200[_0xae9ccd(0x27c)]()||!TASK_PATTERN[_0xae9ccd(0xf5)](_0x53e200))return error(_0xae9ccd(0x179),'Task\x20must\x20be\x20a\x20lowercase\x20canonical\x20ID\x20using\x20letters,\x20numbers,\x20hyphens,\x20or\x20underscores\x20(max\x2064).',{'suggested_task':PipelineManager[_0xae9ccd(0x334)](_0x53e200)});return null;}static[_0xd8aaed(0x217)](_0x3c5634){const _0x1aad22=_0xd8aaed;if(typeof _0x3c5634!==_0x1aad22(0x114)||!RUN_PATTERN[_0x1aad22(0xf5)](_0x3c5634))return error('INVALID_RUN_ID',_0x1aad22(0x1d1));return null;}static[_0xd8aaed(0x1c6)](_0xc4685b){const _0x27b6e3=_0xd8aaed;if(_0xc4685b===undefined)return null;if(!_0xc4685b||typeof _0xc4685b!=='object'||Array['isArray'](_0xc4685b))return error(_0x27b6e3(0x103),_0x27b6e3(0x112));const _0x16e504=new Set([_0x27b6e3(0x24b),_0x27b6e3(0x292),_0x27b6e3(0x1fc),_0x27b6e3(0x1a5),_0x27b6e3(0x2a9)]);if(Object[_0x27b6e3(0x2f9)](_0xc4685b)[_0x27b6e3(0x25c)](_0x16497b=>!_0x16e504[_0x27b6e3(0x131)](_0x16497b)))return error('INVALID_WORKSPACE','workspace\x20contains\x20an\x20unsupported\x20field;\x20select\x20the\x20workspace\x20through\x20the\x20MCP\x20server\x20binding.');if(_0xc4685b[_0x27b6e3(0x24b)]!==undefined&&![_0x27b6e3(0x361),_0x27b6e3(0x28a),_0x27b6e3(0x1c5)][_0x27b6e3(0x1a4)](_0xc4685b[_0x27b6e3(0x24b)]))return error(_0x27b6e3(0x103),_0x27b6e3(0x15a));if([_0x27b6e3(0x292),_0x27b6e3(0x1fc)]['some'](_0x1e3f7c=>_0xc4685b[_0x1e3f7c]!==undefined&&typeof _0xc4685b[_0x1e3f7c]!==_0x27b6e3(0x2e6))||['confirmationToken','baseRef'][_0x27b6e3(0x25c)](_0x6bc868=>_0xc4685b[_0x6bc868]!==undefined&&typeof _0xc4685b[_0x6bc868]!==_0x27b6e3(0x114)))return error(_0x27b6e3(0x103),_0x27b6e3(0x21b));return null;}[_0xd8aaed(0x301)](_0x262e14,_0x55d45a={}){const _0x4fdc59=_0xd8aaed,_0x197334={};_0x197334[_0x4fdc59(0x128)]=_0x55d45a[_0x4fdc59(0x128)]||this[_0x4fdc59(0x1fe)],_0x197334[_0x4fdc59(0x11f)]={...this[_0x4fdc59(0x11f)],..._0x55d45a['env']||{}},_0x197334[_0x4fdc59(0x116)]='utf8',_0x197334[_0x4fdc59(0x2ee)]=!![],_0x197334['timeout']=_0x55d45a[_0x4fdc59(0x149)]||0x7530;const _0x3f1ffa=spawnSync(_0x4fdc59(0x288),_0x262e14,_0x197334);return{'ok':!_0x3f1ffa[_0x4fdc59(0x1ad)]&&_0x3f1ffa[_0x4fdc59(0xf3)]===0x0,'status':_0x3f1ffa['status'],'stdout':(_0x3f1ffa[_0x4fdc59(0x2c8)]||'')[_0x4fdc59(0x27c)](),'stderr':(_0x3f1ffa[_0x4fdc59(0x358)]||_0x3f1ffa[_0x4fdc59(0x1ad)]?.[_0x4fdc59(0x33f)]||'')['trim']()};}[_0xd8aaed(0x2c0)](){const _0x14947c=_0xd8aaed,_0x1a4923=require('../core/git-context')[_0x14947c(0x2e8)](this[_0x14947c(0x1fe)],this['env']);this[_0x14947c(0x314)]=_0x1a4923[_0x14947c(0x314)],this[_0x14947c(0x1b9)]=_0x1a4923['gitCommonDir']?normalizePath(_0x1a4923[_0x14947c(0x1b9)]):null,this[_0x14947c(0x16f)]=this[_0x14947c(0x1b9)]?path[_0x14947c(0xe9)](this[_0x14947c(0x1b9)],'apt-mcp-agent',_0x14947c(0x1e6)):path[_0x14947c(0xe9)](this[_0x14947c(0x1fe)],'.agents',_0x14947c(0x1e6)),this[_0x14947c(0x1e7)]=path[_0x14947c(0xe9)](this['projectPath'],_0x14947c(0x24d),_0x14947c(0x350));}[_0xd8aaed(0xfa)](){const _0x522b8a=_0xd8aaed,_0x1797a3=this[_0x522b8a(0x1ab)]()[_0x522b8a(0x2f4)]()['replace'](/[-:]/g,'')[_0x522b8a(0x271)](/\.\d{3}/,'');return _0x1797a3+'-'+this['randomBytes'](0x4)[_0x522b8a(0x184)](_0x522b8a(0x31e));}['taskDir'](_0x1984e9){const _0x22a0ed=_0xd8aaed;return path['join'](this[_0x22a0ed(0x16f)],_0x1984e9);}['runDir'](_0x3760c9,_0x276657){const _0x1d0d8f=_0xd8aaed;return path[_0x1d0d8f(0xe9)](this[_0x1d0d8f(0x25d)](_0x3760c9),_0x1d0d8f(0xde),_0x276657);}['currentFile'](_0x45e58f){const _0x556e2a=_0xd8aaed;return path[_0x556e2a(0xe9)](this[_0x556e2a(0x25d)](_0x45e58f),_0x556e2a(0x2e7));}[_0xd8aaed(0x162)](_0x530707,_0x1b084f){const _0x3b4755=_0xd8aaed;return path[_0x3b4755(0xe9)](this[_0x3b4755(0x28f)](_0x530707,_0x1b084f),'state.json');}[_0xd8aaed(0x307)](_0x54e7bb,_0x4f64b4){const _0x426d12=_0xd8aaed;return path[_0x426d12(0xe9)](this[_0x426d12(0x28f)](_0x54e7bb,_0x4f64b4),_0x426d12(0x360));}[_0xd8aaed(0x335)](_0x29495d,_0x4af89a){const _0xd4dbee=_0xd8aaed,_0x3a18b9={};_0x3a18b9[_0xd4dbee(0x24c)]=!![],fs['mkdirSync'](path['dirname'](_0x29495d),_0x3a18b9);const _0x4cd5f5=_0x29495d+'.'+process[_0xd4dbee(0x306)]+'.'+this[_0xd4dbee(0x154)](0x4)[_0xd4dbee(0x184)]('hex')+'.tmp',_0x11f2fc=fs[_0xd4dbee(0x2f5)](_0x4cd5f5,'wx');try{fs[_0xd4dbee(0x110)](_0x11f2fc,_0x4af89a,_0xd4dbee(0x160)),fs[_0xd4dbee(0xf2)](_0x11f2fc);}finally{fs['closeSync'](_0x11f2fc);}fs[_0xd4dbee(0x1cb)](_0x4cd5f5,_0x29495d);}[_0xd8aaed(0x2aa)](_0x2c127f,_0xb440aa){const _0x4e4a2d=_0xd8aaed;this['atomicWrite'](_0x2c127f,JSON[_0x4e4a2d(0x230)](_0xb440aa,null,0x2)+'\x0a');}['lockFile'](_0x4a8adf){const _0x1b2d92=_0xd8aaed;return path['join'](this[_0x1b2d92(0x16f)],_0x1b2d92(0x156),_0x4a8adf+_0x1b2d92(0xeb));}[_0xd8aaed(0x19a)](_0x5da691){const _0x17fb69=_0xd8aaed,_0x125239=this[_0x17fb69(0x22e)](_0x5da691),_0x4d94a4={};_0x4d94a4[_0x17fb69(0x24c)]=!![],fs['mkdirSync'](path[_0x17fb69(0x2dd)](_0x125239),_0x4d94a4);const _0x2b208f=Date[_0x17fb69(0x1ab)]();while(Date[_0x17fb69(0x1ab)]()-_0x2b208f<=this[_0x17fb69(0x258)]){const _0x55e330=acquireRuntimeLock(_0x125239);if(_0x55e330)return _0x55e330;sleep(0x14);}const _0x149dea={};_0x149dea[_0x17fb69(0x1a7)]='PIPELINE_STATE_LOCKED';throw Object[_0x17fb69(0x17f)](new Error(_0x17fb69(0x311)+_0x5da691+'\x22.'),_0x149dea);}['withLock'](_0x29d6e9,_0x10673d){const _0x5951e2=_0xd8aaed;let _0x9bec0e;try{return _0x9bec0e=this[_0x5951e2(0x19a)](_0x29d6e9),_0x10673d();}catch(_0x52b638){if(_0x52b638[_0x5951e2(0x1a7)]==='PIPELINE_STATE_LOCKED')return error(_0x52b638['code'],_0x52b638[_0x5951e2(0x33f)]);throw _0x52b638;}finally{if(_0x9bec0e)_0x9bec0e();}}[_0xd8aaed(0x2dc)](){const _0x3c3d7d=_0xd8aaed;if(fs[_0x3c3d7d(0xd9)](this['legacyStateFilePath']))return!![];const _0x1726af=new Set([path[_0x3c3d7d(0xe9)](this[_0x3c3d7d(0x1fe)],'.agents',_0x3c3d7d(0x1e6)),this[_0x3c3d7d(0x16f)]]);for(const _0x286c19 of _0x1726af){if(!fs[_0x3c3d7d(0xd9)](_0x286c19))continue;const _0x1338e={};_0x1338e[_0x3c3d7d(0x331)]=!![];if(fs[_0x3c3d7d(0x1d4)](_0x286c19,_0x1338e)[_0x3c3d7d(0x25c)](_0x3e73fc=>_0x3e73fc['isDirectory']()&&!_0x3e73fc[_0x3c3d7d(0x1dd)][_0x3c3d7d(0x2e5)]('.')&&fs[_0x3c3d7d(0xd9)](path[_0x3c3d7d(0xe9)](_0x286c19,_0x3e73fc[_0x3c3d7d(0x1dd)],_0x3c3d7d(0x2e4)))))return!![];}return![];}[_0xd8aaed(0x148)](){const _0x838181=_0xd8aaed;if(!this[_0x838181(0x2dc)]())return;const _0x940f35=this[_0x838181(0x19a)](_0x838181(0x2d5));try{this[_0x838181(0x15f)](),this[_0x838181(0x11d)]();}finally{_0x940f35();}}[_0xd8aaed(0x342)](_0x22e5c4){const _0x4e8173=_0xd8aaed;try{return JSON['parse'](fs[_0x4e8173(0x1a2)](_0x22e5c4,'utf8'));}catch(_0x4e216b){if(_0x4e216b['code']!==_0x4e8173(0x351)&&!(_0x4e216b instanceof SyntaxError))throw _0x4e216b;return null;}}['readCurrent'](_0x479617){const _0x399af1=_0xd8aaed,_0x1f4b4d=this[_0x399af1(0x342)](this[_0x399af1(0x10f)](_0x479617));if(!_0x1f4b4d?.[_0x399af1(0x1bf)])return null;return this[_0x399af1(0x174)](_0x479617,_0x1f4b4d[_0x399af1(0x1bf)]);}[_0xd8aaed(0x174)](_0x23dddf,_0x1aee00){const _0x49e122=_0xd8aaed,_0x417efe=path[_0x49e122(0xe9)](this[_0x49e122(0x28f)](_0x23dddf,_0x1aee00),'events.jsonl'),_0x5b7711={};_0x5b7711['task']=_0x23dddf,_0x5b7711['runId']=_0x1aee00;const _0x7391ed=require(_0x49e122(0x295))[_0x49e122(0x19f)](_0x417efe,_0x5b7711);if(_0x7391ed)return require('../core/run-state-codec')[_0x49e122(0x1f5)](_0x7391ed,this[_0x49e122(0x28f)](_0x23dddf,_0x1aee00));return this[_0x49e122(0x241)][_0x49e122(0x28c)](_0x23dddf,_0x1aee00,this[_0x49e122(0x342)](this[_0x49e122(0x162)](_0x23dddf,_0x1aee00)));}[_0xd8aaed(0x1c3)](_0x5096fd,_0x1ac8cd={}){const _0x2cce44=_0xd8aaed,_0x345618={};_0x345618[_0x2cce44(0x1ff)]='blocked',_0x345618[_0x2cce44(0x1a7)]=_0x2cce44(0x13d);if(!this['ownsRun'](_0x5096fd))return _0x345618;return inspectRunContract(_0x5096fd,{'runtimeRoot':this[_0x2cce44(0xef)],'publicKey':this[_0x2cce44(0x33c)],'developmentMode':this[_0x2cce44(0x20b)],'legacyDefinitions':PIPELINE_DEFINITIONS,'runDir':this[_0x2cce44(0x28f)](_0x5096fd[_0x2cce44(0x32e)],_0x5096fd[_0x2cce44(0x1bf)]),..._0x1ac8cd});}[_0xd8aaed(0xdb)](_0x55f07e){const _0x50a5f5=_0xd8aaed;return[_0x55f07e?.['originWorkspace'],_0x55f07e?.[_0x50a5f5(0x2ac)]?.[_0x50a5f5(0x2ce)]][_0x50a5f5(0x272)](Boolean)[_0x50a5f5(0x25c)](_0x5cba27=>{const _0x5dc78f=_0x50a5f5;try{return require(_0x5dc78f(0xed))[_0x5dc78f(0x245)](_0x5cba27,this[_0x5dc78f(0x1fe)]);}catch{return![];}});}['recordForeignRun'](_0x4bd9ad){const _0x4303b3=_0xd8aaed,_0x2e92eb={};_0x2e92eb[_0x4303b3(0x1a7)]=_0x4303b3(0x13d),_0x2e92eb[_0x4303b3(0x32e)]=_0x4bd9ad['task'],_0x2e92eb[_0x4303b3(0x1bf)]=_0x4bd9ad[_0x4303b3(0x1bf)];const _0x10eba8=_0x2e92eb;this[_0x4303b3(0x1b1)]||=[];if(!this[_0x4303b3(0x1b1)][_0x4303b3(0x25c)](_0x2629d9=>_0x2629d9['task']===_0x4bd9ad['task']&&_0x2629d9[_0x4303b3(0x1bf)]===_0x4bd9ad['runId']))this[_0x4303b3(0x1b1)][_0x4303b3(0x316)](_0x10eba8);}[_0xd8aaed(0xe0)](_0x477189){const _0x524cf9=_0xd8aaed;_0x477189[_0x524cf9(0x106)]=JSON[_0x524cf9(0x33d)](JSON['stringify'](PIPELINE_DEFINITIONS[_0x477189[_0x524cf9(0xe6)]]));const _0x14eedd=path[_0x524cf9(0xe9)](__dirname,'..','..',_0x524cf9(0x34d)),_0x551bb3=fs['existsSync'](_0x14eedd);_0x477189[_0x524cf9(0x34c)]={'source':_0x551bb3?_0x524cf9(0xfd):_0x524cf9(0x338),'version':require(_0x524cf9(0x26c))[_0x524cf9(0x240)],'digest':_0x551bb3?crypto[_0x524cf9(0x104)](_0x524cf9(0x2ab))[_0x524cf9(0x135)](JSON[_0x524cf9(0x230)](JSON[_0x524cf9(0x33d)](fs[_0x524cf9(0x1a2)](_0x14eedd,'utf8'))))[_0x524cf9(0x35a)](_0x524cf9(0x31e)):null,'definitionHash':crypto['createHash'](_0x524cf9(0x2ab))[_0x524cf9(0x135)](JSON[_0x524cf9(0x230)](_0x477189['definition']))[_0x524cf9(0x35a)]('hex')};}[_0xd8aaed(0x328)](_0x18b091,_0x45e1d0){const _0x114e9e=_0xd8aaed;return this[_0x114e9e(0x20f)](_0x18b091,()=>{const _0x43f5a7=_0x114e9e,_0x57c053=this['readRun'](_0x18b091,_0x45e1d0);return _0x57c053?.[_0x43f5a7(0x2e2)]===0x3&&this[_0x43f5a7(0x1c3)](_0x57c053)['mutation']!==_0x43f5a7(0x323)&&(this[_0x43f5a7(0x2aa)](this[_0x43f5a7(0x162)](_0x18b091,_0x45e1d0),_0x57c053),this[_0x43f5a7(0x241)]['ledger'](_0x57c053)),_0x57c053;});}['creationIntentFile'](_0x532a14,_0x1d998e){const _0x28abc9=_0xd8aaed;return path[_0x28abc9(0xe9)](this[_0x28abc9(0x16f)],_0x28abc9(0x124),_0x532a14,_0x1d998e+_0x28abc9(0x298));}['pendingCreation'](_0xed9c76){const _0x4af0a3=_0xd8aaed,_0x521bd0=path['join'](this[_0x4af0a3(0x16f)],_0x4af0a3(0x124),_0xed9c76);if(!fs[_0x4af0a3(0xd9)](_0x521bd0))return null;for(const _0x15c9df of fs['readdirSync'](_0x521bd0)){const _0x3463aa=this[_0x4af0a3(0x342)](path[_0x4af0a3(0xe9)](_0x521bd0,_0x15c9df)),_0xdb7e32={};_0xdb7e32['status']='invalid',_0xdb7e32[_0x4af0a3(0x274)]=_0x15c9df;if(!_0x3463aa)return _0xdb7e32;const _0x3aa805={};_0x3aa805[_0x4af0a3(0xf3)]=_0x4af0a3(0x1c0),_0x3aa805[_0x4af0a3(0x274)]=_0x15c9df;if(_0x3463aa[_0x4af0a3(0x32e)]!==_0xed9c76||PipelineManager['validateRunId'](_0x3463aa[_0x4af0a3(0x1bf)]))return _0x3aa805;if([_0x4af0a3(0x2ca),'workspace-ready','interrupted']['includes'](_0x3463aa['status'])&&!this[_0x4af0a3(0x174)](_0xed9c76,_0x3463aa[_0x4af0a3(0x1bf)]))return _0x3463aa;}return null;}[_0xd8aaed(0x1e4)](_0x498012){const _0x33ad88=_0xd8aaed,_0x6aa506=path[_0x33ad88(0xe9)](this['stateRoot'],_0x33ad88(0x124));if(!fs[_0x33ad88(0xd9)](_0x6aa506))return[];const _0x276ff8={};_0x276ff8[_0x33ad88(0x331)]=!![];const _0xf607f9=_0x498012?[_0x498012]:fs['readdirSync'](_0x6aa506,_0x276ff8)[_0x33ad88(0x272)](_0x5ebcfb=>_0x5ebcfb[_0x33ad88(0x228)]())[_0x33ad88(0x24f)](_0x1dafdc=>_0x1dafdc[_0x33ad88(0x1dd)]),_0x4fd2b8=[];for(const _0x425713 of _0xf607f9){const _0x5d9659=path[_0x33ad88(0xe9)](_0x6aa506,_0x425713);if(!fs[_0x33ad88(0xd9)](_0x5d9659))continue;for(const _0xe0c745 of fs[_0x33ad88(0x1d4)](_0x5d9659)['filter'](_0x2b0192=>_0x2b0192['endsWith'](_0x33ad88(0x298)))){const _0x4242b3=this['readJson'](path[_0x33ad88(0xe9)](_0x5d9659,_0xe0c745));if(!_0x4242b3||_0x4242b3[_0x33ad88(0x32e)]!==_0x425713||PipelineManager[_0x33ad88(0x217)](_0x4242b3[_0x33ad88(0x1bf)])||![_0x33ad88(0x2ca),_0x33ad88(0x16a),'interrupted'][_0x33ad88(0x1a4)](_0x4242b3['status'])||this[_0x33ad88(0x174)](_0x425713,_0x4242b3[_0x33ad88(0x1bf)]))continue;const _0x1df425=!PipelineManager[_0x33ad88(0x1c6)](_0x4242b3[_0x33ad88(0x2e9)]),_0x4ae1c6=_0x4242b3[_0x33ad88(0x2ac)]&&!_0x4242b3[_0x33ad88(0x2ac)][_0x33ad88(0x2b2)]&&typeof _0x4242b3[_0x33ad88(0x2ac)]['path']===_0x33ad88(0x114)&&normalizePath(_0x4242b3[_0x33ad88(0x2ac)][_0x33ad88(0x2ce)])===this[_0x33ad88(0x1fe)],_0x496a43=_0x4242b3['originWorkspace']===undefined?_0x4ae1c6:typeof _0x4242b3[_0x33ad88(0x2ed)]===_0x33ad88(0x114)&&normalizePath(_0x4242b3[_0x33ad88(0x2ed)])===this[_0x33ad88(0x1fe)];_0x4fd2b8[_0x33ad88(0x316)]({'task':_0x425713,'runId':_0x4242b3[_0x33ad88(0x1bf)],'status':_0x4242b3[_0x33ad88(0xf3)],'originWorkspace':_0x4242b3[_0x33ad88(0x2ed)]||null,'requestedWorkspace':_0x4242b3[_0x33ad88(0x2e9)]||null,'workspace':_0x4242b3[_0x33ad88(0x2ac)]||null,'runtimeVersion':_0x4242b3[_0x33ad88(0x33a)]||null,'error':_0x4242b3['error']||null,'intentFile':path[_0x33ad88(0xe9)](_0x5d9659,_0xe0c745),'availableActions':{'resume':_0x1df425&&_0x496a43&&_0x4ae1c6,'abandon':_0x1df425&&_0x496a43&&_0x4ae1c6&&!this[_0x33ad88(0x12b)](_0x425713)}});}}return _0x4fd2b8;}[_0xd8aaed(0x18c)](_0x53e233,_0x2d09f6,_0x183ede){const _0x2cacb4=_0xd8aaed,_0x215850=PipelineManager[_0x2cacb4(0x217)](_0x2d09f6);if(_0x215850)return _0x215850;return this[_0x2cacb4(0x20f)](_0x53e233,()=>{const _0x115516=_0x2cacb4,_0x57d5b7=this[_0x115516(0xee)](_0x53e233,_0x2d09f6),_0x3c6ce8=this[_0x115516(0x342)](_0x57d5b7);if(!_0x3c6ce8||_0x3c6ce8[_0x115516(0x32e)]!==_0x53e233||_0x3c6ce8[_0x115516(0x1bf)]!==_0x2d09f6)return error(_0x115516(0x287),_0x115516(0x31a));if(!['creating','workspace-ready',_0x115516(0x304)][_0x115516(0x1a4)](_0x3c6ce8['status']))return error(_0x115516(0x355),_0x115516(0x300));if(PipelineManager[_0x115516(0x1c6)](_0x3c6ce8['requestedWorkspace'])||_0x3c6ce8[_0x115516(0x2ed)]&&(typeof _0x3c6ce8[_0x115516(0x2ed)]!==_0x115516(0x114)||normalizePath(_0x3c6ce8[_0x115516(0x2ed)])!==this[_0x115516(0x1fe)]))return error(_0x115516(0x2b8),_0x115516(0x255));if(_0x3c6ce8['args']?.[_0x115516(0x1ec)]&&_0x3c6ce8[_0x115516(0x239)][_0x115516(0x1ec)]!==_0x183ede)return error(_0x115516(0x132),_0x115516(0x126));const _0x45e393=this[_0x115516(0x12b)](_0x53e233);if(_0x45e393&&_0x45e393[_0x115516(0x1bf)]!==_0x2d09f6)return error(_0x115516(0x26e),_0x115516(0x22b));const _0x1db572=this[_0x115516(0x174)](_0x53e233,_0x2d09f6);if(_0x1db572){if(_0x1db572[_0x115516(0xf3)]!==_0x115516(0x2f3)||_0x1db572['coordinator']&&_0x1db572[_0x115516(0x10e)]!==_0x183ede)return error(_0x115516(0x23f),'Existing\x20run\x20is\x20terminal\x20or\x20belongs\x20to\x20another\x20coordinator.');const _0x1a7b41={};_0x1a7b41[_0x115516(0xf7)]=!![],this[_0x115516(0x127)](_0x1db572,_0x1a7b41);const _0x414da4={..._0x3c6ce8};_0x414da4['status']='completed',this[_0x115516(0x2aa)](_0x57d5b7,_0x414da4);const _0x214121={};return _0x214121['success']=!![],this['formatStatus'](_0x1db572,_0x214121);}let _0x492333=_0x3c6ce8[_0x115516(0x2ac)];const _0x1718c1={};_0x1718c1[_0x115516(0x24b)]=_0x115516(0x28a);if(!_0x492333&&_0x3c6ce8[_0x115516(0x2e9)][_0x115516(0x24b)]!==_0x115516(0x1c5))_0x492333=this[_0x115516(0x111)](_0x53e233,_0x2d09f6,_0x1718c1)[_0x115516(0x2ac)];if(!_0x492333&&_0x3c6ce8[_0x115516(0x2e9)][_0x115516(0x24b)]==='worktree'){const _0x1b27a6=path['join'](path[_0x115516(0x2dd)](this['projectPath']),_0x115516(0xf1),path[_0x115516(0x2fb)](this['projectPath']),_0x53e233,_0x2d09f6),_0x59a9f1={};_0x59a9f1[_0x115516(0x2ce)]=_0x1b27a6,_0x59a9f1['mode']='worktree',_0x59a9f1['managed']=!![],_0x59a9f1[_0x115516(0x118)]=_0x115516(0x1dc)+_0x53e233+'/'+_0x2d09f6,_0x59a9f1[_0x115516(0xf3)]='ready',_0x492333=_0x59a9f1;}if(!_0x492333||!fs[_0x115516(0xd9)](_0x492333[_0x115516(0x2ce)])){if(_0x492333?.[_0x115516(0x2b2)]&&!_0x3c6ce8['workspace']){const _0x5b5948=this['runGit']([_0x115516(0x1c5),_0x115516(0x261),_0x115516(0x34e)]),_0x164bcc=this[_0x115516(0x301)]([_0x115516(0x2f2),_0x115516(0x284),_0x115516(0x242),'refs/heads/'+_0x492333['branch']]),_0x2b2555=_0x5b5948[_0x115516(0x2c8)]?.[_0x115516(0x21a)](/\r?\n/)[_0x115516(0x25c)](_0x48ada4=>_0x48ada4[_0x115516(0x2e5)](_0x115516(0x349))&&normalizePath(_0x48ada4[_0x115516(0x31f)](0x9))===normalizePath(_0x492333[_0x115516(0x2ce)]));if(_0x5b5948['ok']&&!_0x2b2555&&_0x164bcc[_0x115516(0xf3)]===0x1)return this[_0x115516(0x2aa)](_0x57d5b7,{..._0x3c6ce8,'status':_0x115516(0x2d3),'resolvedAt':this[_0x115516(0x1ab)]()[_0x115516(0x2f4)]()}),error('CREATION_NOT_STARTED',_0x115516(0x14a));}return error(_0x115516(0x309),_0x115516(0x147));}if(_0x492333['managed']){const _0x238f1a=this['runGit']([_0x115516(0x1c5),_0x115516(0x261),_0x115516(0x34e)]),_0x2774d5={};_0x2774d5[_0x115516(0x128)]=_0x492333['path'];const _0x197fdb=this['runGit']([_0x115516(0x118),'--show-current'],_0x2774d5);if(!_0x238f1a['ok']||!_0x238f1a['stdout'][_0x115516(0x21a)]('\x0a')[_0x115516(0x25c)](_0x50ac1d=>_0x50ac1d['startsWith'](_0x115516(0x349))&&normalizePath(_0x50ac1d['slice'](0x9))===normalizePath(_0x492333[_0x115516(0x2ce)]))||_0x197fdb[_0x115516(0x2c8)]!==_0x492333[_0x115516(0x118)])return error(_0x115516(0x2b8),_0x115516(0x1bc));}else{if(!_0x492333[_0x115516(0x2ce)]||normalizePath(_0x492333[_0x115516(0x2ce)])!==this[_0x115516(0x1fe)])return error(_0x115516(0x2b8),_0x115516(0x252));}if(!_0x3c6ce8['originWorkspace']&&_0x492333[_0x115516(0x2b2)])return error(_0x115516(0x2b8),_0x115516(0x28d));const _0x20cbd1={'schemaVersion':_0x3c6ce8[_0x115516(0x2e2)]||0x3,'task':_0x53e233,'runId':_0x2d09f6,'pipeline':_0x3c6ce8[_0x115516(0xe6)],'status':_0x115516(0x2f3),'completedSteps':[],'originWorkspace':_0x3c6ce8[_0x115516(0x2ed)]||this[_0x115516(0x1fe)],'workspace':_0x492333,'startedAt':_0x3c6ce8[_0x115516(0x191)],'updatedAt':this[_0x115516(0x1ab)]()[_0x115516(0x2f4)]()};let _0x6b1a13='snapshot';try{if(_0x20cbd1[_0x115516(0x2e2)]===0x3)this[_0x115516(0x241)]['initialize'](_0x20cbd1,_0x3c6ce8[_0x115516(0x239)]);else this['pinLegacyDefinition'](_0x20cbd1);_0x6b1a13='state-write';const _0x4e079b={};_0x4e079b[_0x115516(0xf7)]=!![],this['writeState'](_0x20cbd1,_0x4e079b),_0x6b1a13='intent-complete',this[_0x115516(0x2aa)](_0x57d5b7,{..._0x3c6ce8,'status':_0x115516(0x145),'recoveredAt':this[_0x115516(0x1ab)]()['toISOString']()});const _0x498037={};return _0x498037[_0x115516(0x16c)]=!![],_0x498037['recovered']=!![],this['formatStatus'](_0x20cbd1,_0x498037);}catch(_0x3913e4){const _0x954d63=creationFailure(_0x3913e4,_0x6b1a13);try{const _0x2bbffb={..._0x3c6ce8};_0x2bbffb[_0x115516(0xf3)]=_0x115516(0x304),_0x2bbffb[_0x115516(0x1ad)]=_0x954d63,this[_0x115516(0x2aa)](_0x57d5b7,_0x2bbffb);}catch{}const _0x33cd75={};return _0x33cd75[_0x115516(0x32e)]=_0x53e233,_0x33cd75[_0x115516(0x1bf)]=_0x2d09f6,_0x33cd75[_0x115516(0x117)]=_0x57d5b7,_0x33cd75[_0x115516(0x2ac)]=_0x492333,_0x33cd75[_0x115516(0x1d2)]=_0x954d63[_0x115516(0x1a7)],_0x33cd75[_0x115516(0x1f0)]=_0x954d63,error(_0x115516(0x1aa),_0x115516(0x2cd),_0x33cd75);}});}[_0xd8aaed(0x127)](_0x5da767,{setCurrent:setCurrent=![]}={}){const _0x301e2e=_0xd8aaed;_0x5da767[_0x301e2e(0x140)]=this[_0x301e2e(0x1ab)]()['toISOString']();if(_0x5da767[_0x301e2e(0x2e2)]===0x3)this[_0x301e2e(0x241)][_0x301e2e(0x232)](_0x5da767);this[_0x301e2e(0x2aa)](this[_0x301e2e(0x162)](_0x5da767[_0x301e2e(0x32e)],_0x5da767[_0x301e2e(0x1bf)]),_0x5da767);if(_0x5da767['schemaVersion']===0x3)this[_0x301e2e(0x241)]['ledger'](_0x5da767);setCurrent&&this['atomicWriteJson'](this[_0x301e2e(0x10f)](_0x5da767[_0x301e2e(0x32e)]),{'task':_0x5da767['task'],'runId':_0x5da767[_0x301e2e(0x1bf)],'updatedAt':_0x5da767[_0x301e2e(0x140)]});}[_0xd8aaed(0x2c7)](_0x55c6d2,_0x1899de,_0x2bc770){const _0x20659c=_0xd8aaed;if(_0x55c6d2[_0x20659c(0x2e2)]===0x3)return this[_0x20659c(0x241)][_0x20659c(0x293)](_0x55c6d2);const _0x564931=this[_0x20659c(0x307)](_0x55c6d2[_0x20659c(0x32e)],_0x55c6d2[_0x20659c(0x1bf)]);let _0x53b446=fs['existsSync'](_0x564931)?fs[_0x20659c(0x1a2)](_0x564931,_0x20659c(0x160)):'';!_0x53b446&&(_0x53b446='#\x20Pipeline\x20ledger\x0a\x0aTask:\x20'+_0x55c6d2['task']+_0x20659c(0x1b3)+_0x55c6d2[_0x20659c(0x1bf)]+_0x20659c(0x2d6)+_0x55c6d2[_0x20659c(0xe6)]+'\x0a'),_0x53b446+='\x0a##\x20'+this['now']()[_0x20659c(0x2f4)]()+'\x20-\x20'+_0x1899de+'\x0a\x0a'+_0x2bc770+'\x0a',this['atomicWrite'](_0x564931,_0x53b446);}['requiredSkillError'](_0x2eef55,_0x1f5120=this['projectPath']){const _0x2191b8=_0xd8aaed,_0x5d190a=[path[_0x2191b8(0xe9)](_0x1f5120,'.agents',_0x2191b8(0x17a),_0x2eef55,_0x2191b8(0x2a2)),path[_0x2191b8(0xe9)](this[_0x2191b8(0x1fe)],_0x2191b8(0x24d),'skills',_0x2eef55,'SKILL.md')],{SKILL_NAME_MAPPING:_0xec87e4,CANONICAL_SKILL_SOURCES:_0x1cdbc1}=require('../core/skill-names.js'),_0x2f919d=_0x1cdbc1[_0x2eef55]||Object[_0x2191b8(0x2f9)](_0xec87e4)[_0x2191b8(0x2c9)](_0x3698e7=>_0xec87e4[_0x3698e7]===_0x2eef55);if(_0x2f919d)_0x5d190a['push'](path[_0x2191b8(0xe9)](this[_0x2191b8(0x1fe)],_0x2191b8(0x24d),_0x2191b8(0x17a),_0x2f919d,_0x2191b8(0x2a2)));const _0x464ca0=_0x5d190a[_0x2191b8(0x2c9)](_0x45fcfd=>fs['existsSync'](_0x45fcfd));if(_0x464ca0)return null;const _0x2e5a76={};return _0x2e5a76[_0x2191b8(0x1b6)]=_0x5d190a[0x0],_0x2e5a76[_0x2191b8(0x17d)]=_0x2191b8(0x2fd)+this[_0x2191b8(0x1fe)]+'\x22',error(_0x2191b8(0x312),_0x2191b8(0x194)+_0x2eef55+_0x2191b8(0xdf),_0x2e5a76);}[_0xd8aaed(0xe1)](){const _0x5b7410=_0xd8aaed;if(!this[_0x5b7410(0x314)])return![];const _0x216f2a=this[_0x5b7410(0x301)]([_0x5b7410(0x2fe),_0x5b7410(0x181)]);if(!_0x216f2a['ok']||!this['gitCommonDir'])return![];const _0x5b373c=normalizePath(path[_0x5b7410(0x22a)](this['projectPath'],_0x216f2a[_0x5b7410(0x2c8)]));if(_0x5b373c===this[_0x5b7410(0x1b9)])return![];const _0x3cb808=this[_0x5b7410(0x301)]([_0x5b7410(0x1c5),_0x5b7410(0x261),_0x5b7410(0x34e)]);if(!_0x3cb808['ok'])return![];const _0x16d32b=normalizePath(this[_0x5b7410(0x1fe)])[_0x5b7410(0x296)]();return _0x3cb808[_0x5b7410(0x2c8)][_0x5b7410(0x21a)](/\r?\n/)[_0x5b7410(0x272)](_0x2a08f7=>_0x2a08f7[_0x5b7410(0x2e5)](_0x5b7410(0x349)))['some'](_0x3cf566=>normalizePath(_0x3cf566['slice'](0x9))[_0x5b7410(0x296)]()===_0x16d32b);}[_0xd8aaed(0x122)](){const _0x3affd8=_0xd8aaed;if(this[_0x3affd8(0x314)])return error(_0x3affd8(0x172),_0x3affd8(0x2c1));const _0xa3d6ff=fs['mkdtempSync'](path['join'](os[_0x3affd8(0x141)](),_0x3affd8(0x253)));try{const _0x371e50=path[_0x3affd8(0xe9)](_0xa3d6ff,_0x3affd8(0x288)),_0x116f3f=path['join'](_0xa3d6ff,_0x3affd8(0x2c4)),_0x186e5c={};_0x186e5c['cwd']=_0xa3d6ff;const _0x4e347f=this[_0x3affd8(0x301)](['init',_0x3affd8(0x24a),_0x371e50],_0x186e5c);if(!_0x4e347f['ok'])return error(_0x3affd8(0x20d),_0x4e347f[_0x3affd8(0x358)]||'Cannot\x20initialize\x20temporary\x20Git\x20index.');const _0x43f8f8={};_0x43f8f8[_0x3affd8(0x1ce)]=_0x116f3f;const _0x36c9c=_0x43f8f8,_0x169333=this[_0x3affd8(0x301)]([_0x3affd8(0x181),_0x371e50,_0x3affd8(0x136),this['projectPath'],'add','-A'],{'cwd':this[_0x3affd8(0x1fe)],'env':_0x36c9c});if(!_0x169333['ok'])return error(_0x3affd8(0x20d),_0x169333[_0x3affd8(0x358)]||_0x3affd8(0x1ed));const _0x5b1bde=this[_0x3affd8(0x301)]([_0x3affd8(0x181),_0x371e50,_0x3affd8(0x136),this[_0x3affd8(0x1fe)],_0x3affd8(0x337),_0x3affd8(0x340),_0x3affd8(0x1f6),'-z'],{'cwd':this[_0x3affd8(0x1fe)],'env':_0x36c9c});if(!_0x5b1bde['ok'])return error('GIT_PREVIEW_FAILED',_0x5b1bde[_0x3affd8(0x358)]||_0x3affd8(0x2eb));const _0xaac44b=_0x5b1bde[_0x3affd8(0x2c8)]?_0x5b1bde[_0x3affd8(0x2c8)][_0x3affd8(0x21a)]('\x00')[_0x3affd8(0x272)](Boolean)[_0x3affd8(0x24f)](_0x3cd8aa=>_0x3cd8aa['replace'](/\\/g,'/'))[_0x3affd8(0x1d3)]():[],_0xc23a5d=_0xaac44b[_0x3affd8(0x24f)](_0x35122a=>{const _0x4f9b65=_0x3affd8,_0x18632a=path[_0x4f9b65(0xe9)](this[_0x4f9b65(0x1fe)],_0x35122a),_0x2b73d4=fs[_0x4f9b65(0x1de)](_0x18632a),_0x5d6d1a=crypto['createHash']('sha256')[_0x4f9b65(0x135)](fs[_0x4f9b65(0x1a2)](_0x18632a))[_0x4f9b65(0x35a)](_0x4f9b65(0x31e));return{'path':_0x35122a,'size':_0x2b73d4[_0x4f9b65(0x2da)],'mtimeMs':Math[_0x4f9b65(0x21d)](_0x2b73d4[_0x4f9b65(0x10a)]),'sha256':_0x5d6d1a};}),_0x41f62c=_0xaac44b[_0x3affd8(0x272)](_0x46154e=>{const _0x4f6a34=_0x3affd8,_0x21f21a=/\.env\.example$/i[_0x4f6a34(0xf5)](_0x46154e);if(!_0x21f21a&&SENSITIVE_PATTERNS[_0x4f6a34(0x25c)](_0x20789c=>_0x20789c['test'](_0x46154e)))return!![];const _0x4360ef=fs['readFileSync'](path[_0x4f6a34(0xe9)](this[_0x4f6a34(0x1fe)],_0x46154e),_0x4f6a34(0x160));return SENSITIVE_CONTENT_PATTERNS[_0x4f6a34(0x25c)](_0x336ca4=>_0x336ca4[_0x4f6a34(0xf5)](_0x4360ef));}),_0x5b1200=_0xc23a5d[_0x3affd8(0x272)](_0x237b7c=>_0x237b7c['size']>0xa*0x400*0x400)['map'](_0x841c7a=>_0x841c7a[_0x3affd8(0x2ce)]),_0x2076e4=[_0x3affd8(0x161)],_0x347b90={};_0x347b90[_0x3affd8(0x1a3)]=_0xc23a5d,_0x347b90[_0x3affd8(0x356)]=_0x2076e4;const _0x121123=crypto['createHash'](_0x3affd8(0x2ab))[_0x3affd8(0x135)](JSON[_0x3affd8(0x230)](_0x347b90))['digest']('hex');return{'success':![],'code':_0x41f62c['length']?_0x3affd8(0x212):_0x3affd8(0x1eb),'error':_0x41f62c[_0x3affd8(0x152)]?_0x3affd8(0x2a5):'Git\x20initialization\x20and\x20a\x20baseline\x20commit\x20require\x20direct\x20user\x20confirmation.','confirmationToken':_0x121123,'fileCount':_0xaac44b[_0x3affd8(0x152)],'totalBytes':_0xc23a5d[_0x3affd8(0x30a)]((_0x5c6c03,_0x3da89e)=>_0x5c6c03+_0x3da89e[_0x3affd8(0x2da)],0x0),'files':_0xaac44b,'sensitiveFiles':_0x41f62c,'largeFiles':_0x5b1200,'plannedIgnoreAdditions':_0x2076e4};}finally{const _0x4c5527={};_0x4c5527['recursive']=!![],_0x4c5527[_0x3affd8(0x21f)]=!![],fs[_0x3affd8(0x286)](_0xa3d6ff,_0x4c5527);}}['ensureRuntimeIgnore'](){const _0x4ffa5d=_0xd8aaed,_0x50ec56=path[_0x4ffa5d(0xe9)](this[_0x4ffa5d(0x1fe)],_0x4ffa5d(0xe4)),_0x11c2f8=_0x4ffa5d(0x161),_0x6eab0c=fs[_0x4ffa5d(0xd9)](_0x50ec56)?fs[_0x4ffa5d(0x1a2)](_0x50ec56,_0x4ffa5d(0x160)):'',_0x5b04e2=_0x6eab0c['split'](/\r?\n/)[_0x4ffa5d(0x24f)](_0x34fe20=>_0x34fe20[_0x4ffa5d(0x27c)]());if(_0x5b04e2[_0x4ffa5d(0x1a4)](_0x11c2f8))return;const _0x395b2b=_0x6eab0c&&!_0x6eab0c[_0x4ffa5d(0x35d)]('\x0a')?'\x0a':'';fs[_0x4ffa5d(0x18a)](_0x50ec56,''+_0x395b2b+_0x11c2f8+'\x0a',_0x4ffa5d(0x160));}[_0xd8aaed(0x30e)](_0x31bb3b){const _0x3b78e0=_0xd8aaed,_0x428211=this[_0x3b78e0(0x122)]();if(_0x428211[_0x3b78e0(0x1a7)]===_0x3b78e0(0x212))return _0x428211;if(_0x428211[_0x3b78e0(0x1a5)]!==_0x31bb3b){const _0xfcbcda={};return _0xfcbcda[_0x3b78e0(0x234)]=_0x428211,error('GIT_PREVIEW_STALE',_0x3b78e0(0x175),_0xfcbcda);}const _0x49d75c=this[_0x3b78e0(0x1b7)]()['filter'](_0x5bfd3f=>_0x5bfd3f[_0x3b78e0(0xf3)]===_0x3b78e0(0x2f3)||_0x5bfd3f[_0x3b78e0(0xf3)]==='initializing');if(_0x49d75c[_0x3b78e0(0x152)])return error('PIPELINES_ACTIVE_DURING_GIT_INIT','Complete\x20or\x20cancel\x20active\x20pipelines\x20before\x20initializing\x20Git.');const _0x420926=this['runGit']([_0x3b78e0(0x279),_0x3b78e0(0x1db),'user.name']),_0x2b7047=this[_0x3b78e0(0x301)]([_0x3b78e0(0x279),'--get',_0x3b78e0(0x2c6)]);if(!_0x420926['ok']||!_0x420926[_0x3b78e0(0x2c8)]||!_0x2b7047['ok']||!_0x2b7047['stdout']){const _0x1c95ee={};return _0x1c95ee['recovery_commands']=[_0x3b78e0(0x1be),_0x3b78e0(0x2b9)],error(_0x3b78e0(0x193),_0x3b78e0(0x170),_0x1c95ee);}const _0x2931d8=this[_0x3b78e0(0x301)]([_0x3b78e0(0x279),'--get',_0x3b78e0(0x173)]),_0x3df28e=_0x2931d8['ok']&&_0x2931d8[_0x3b78e0(0x2c8)]?_0x2931d8[_0x3b78e0(0x2c8)]:_0x3b78e0(0x225);let _0x27e5cc=this[_0x3b78e0(0x301)]([_0x3b78e0(0x315),'-b',_0x3df28e]);if(!_0x27e5cc['ok']){_0x27e5cc=this['runGit']([_0x3b78e0(0x315)]);if(!_0x27e5cc['ok'])return error(_0x3b78e0(0xf8),_0x27e5cc[_0x3b78e0(0x358)]);const _0x44b18d=this['runGit']([_0x3b78e0(0x118),'-M',_0x3df28e]);if(!_0x44b18d['ok'])return error(_0x3b78e0(0xf8),_0x44b18d[_0x3b78e0(0x358)]);}this[_0x3b78e0(0x275)]();const _0x4e65bc=this[_0x3b78e0(0x301)]([_0x3b78e0(0x276),'-A']);if(!_0x4e65bc['ok'])return error(_0x3b78e0(0x243),_0x4e65bc[_0x3b78e0(0x358)]);const _0x1d1deb=this[_0x3b78e0(0x301)](['commit',_0x3b78e0(0x299),'-m',_0x3b78e0(0x2de)]);if(!_0x1d1deb['ok'])return error(_0x3b78e0(0x243),_0x1d1deb[_0x3b78e0(0x358)]);const _0x5022bc=this[_0x3b78e0(0x301)](['status','--porcelain']);if(!_0x5022bc['ok']||_0x5022bc[_0x3b78e0(0x2c8)])return error('GIT_BASELINE_NOT_CLEAN',_0x3b78e0(0x1ca),{'status':_0x5022bc[_0x3b78e0(0x2c8)]});const _0x4439a5=this[_0x3b78e0(0x16f)];this[_0x3b78e0(0x2c0)](),this['migrateStateRoot'](_0x4439a5);const _0x99dacb={};return _0x99dacb[_0x3b78e0(0x16c)]=!![],_0x99dacb['branch']=_0x3df28e,_0x99dacb['initialized']=!![],_0x99dacb;}[_0xd8aaed(0x2f1)](_0x2d7129){const _0x39f1fe=_0xd8aaed;if(!_0x2d7129||normalizePath(_0x2d7129)===normalizePath(this['stateRoot'])||!fs[_0x39f1fe(0xd9)](_0x2d7129))return;const _0x186ea8=path[_0x39f1fe(0xe9)](this[_0x39f1fe(0x16f)],_0x39f1fe(0x211),crypto['createHash'](_0x39f1fe(0x2ab))[_0x39f1fe(0x135)](_0x2d7129)[_0x39f1fe(0x35a)]('hex')+_0x39f1fe(0x298));if(fs[_0x39f1fe(0xd9)](_0x186ea8))return;const _0x13a953=this['listRunsFromRoot'](_0x2d7129)[_0x39f1fe(0x272)](_0x454a78=>_0x454a78['status']===_0x39f1fe(0x2f3)||_0x454a78[_0x39f1fe(0xf3)]===_0x39f1fe(0x165)),_0x5b5d8e={};_0x5b5d8e[_0x39f1fe(0x1a7)]=_0x39f1fe(0x155);if(_0x13a953['length'])throw Object[_0x39f1fe(0x17f)](new Error(_0x39f1fe(0x2e0)),_0x5b5d8e);for(const _0x22740a of this[_0x39f1fe(0x10c)](_0x2d7129)){const _0x287e27=path[_0x39f1fe(0xe9)](_0x2d7129,_0x22740a[_0x39f1fe(0x32e)],_0x39f1fe(0xde),_0x22740a['runId']),_0x49d5ed=this[_0x39f1fe(0x28f)](_0x22740a[_0x39f1fe(0x32e)],_0x22740a['runId']),_0x4e6ac6={};_0x4e6ac6['recursive']=!![],_0x4e6ac6['errorOnExist']=!![];if(!fs[_0x39f1fe(0xd9)](_0x49d5ed))fs[_0x39f1fe(0x1fb)](_0x287e27,_0x49d5ed,_0x4e6ac6);this[_0x39f1fe(0x353)](_0x287e27,_0x49d5ed);const _0x3fe0fa=path[_0x39f1fe(0xe9)](_0x2d7129,_0x22740a['task'],_0x39f1fe(0x2e7));fs['existsSync'](_0x3fe0fa)&&!fs['existsSync'](this[_0x39f1fe(0x10f)](_0x22740a[_0x39f1fe(0x32e)]))&&(fs['copyFileSync'](_0x3fe0fa,this[_0x39f1fe(0x10f)](_0x22740a['task'])),this[_0x39f1fe(0x353)](_0x3fe0fa,this[_0x39f1fe(0x10f)](_0x22740a[_0x39f1fe(0x32e)])));}this[_0x39f1fe(0x2aa)](_0x186ea8,{'source':_0x2d7129,'migratedAt':this[_0x39f1fe(0x1ab)]()[_0x39f1fe(0x2f4)]()});}[_0xd8aaed(0x353)](_0xd71e1f,_0x1416d7){const _0x39f454=_0xd8aaed,_0x1d049b=fs[_0x39f454(0x1de)](_0xd71e1f),_0x13029c=fs[_0x39f454(0x1de)](_0x1416d7);if(_0x1d049b[_0x39f454(0x228)]()!==_0x13029c[_0x39f454(0x228)]()){const _0x1edcd0={};_0x1edcd0['code']='STATE_MIGRATION_VERIFY_FAILED';throw Object['assign'](new Error(_0x39f454(0x27b)+_0xd71e1f),_0x1edcd0);}if(_0x1d049b[_0x39f454(0x228)]()){const _0x14db3c=fs['readdirSync'](_0xd71e1f)[_0x39f454(0x1d3)](),_0x2a1ba0=fs[_0x39f454(0x1d4)](_0x1416d7)[_0x39f454(0x1d3)]();if(JSON[_0x39f454(0x230)](_0x14db3c)!==JSON[_0x39f454(0x230)](_0x2a1ba0)){const _0x1d315b={};_0x1d315b['code']=_0x39f454(0x2ea);throw Object['assign'](new Error(_0x39f454(0x32a)+_0xd71e1f),_0x1d315b);}for(const _0x4c3c6e of _0x14db3c)this['verifyCopiedTree'](path['join'](_0xd71e1f,_0x4c3c6e),path['join'](_0x1416d7,_0x4c3c6e));return;}const _0x4ed7bd=crypto[_0x39f454(0x104)](_0x39f454(0x2ab))[_0x39f454(0x135)](fs['readFileSync'](_0xd71e1f))[_0x39f454(0x35a)](_0x39f454(0x31e)),_0x1af574=crypto[_0x39f454(0x104)](_0x39f454(0x2ab))[_0x39f454(0x135)](fs[_0x39f454(0x1a2)](_0x1416d7))['digest'](_0x39f454(0x31e));if(_0x4ed7bd!==_0x1af574){const _0x547bba={};_0x547bba[_0x39f454(0x1a7)]=_0x39f454(0x2ea);throw Object['assign'](new Error(_0x39f454(0x130)+_0xd71e1f),_0x547bba);}}[_0xd8aaed(0x280)](_0x33742f,_0x38b272,_0x1bae11){const _0x3cb170=_0xd8aaed;if(!this['isGitRepository']){if(!_0x1bae11[_0x3cb170(0x1fc)]||!_0x1bae11['confirmationToken'])return this['previewGitBootstrap']();if(!_0x1bae11[_0x3cb170(0x292)])return error(_0x3cb170(0x20c),_0x3cb170(0x214));const _0x2c6ac4=this['initializeGitFromPreview'](_0x1bae11[_0x3cb170(0x1a5)]);if(!_0x2c6ac4[_0x3cb170(0x16c)])return _0x2c6ac4;}if(!_0x1bae11[_0x3cb170(0x292)])return error(_0x3cb170(0x20c),_0x3cb170(0x109));const _0x50d86b=this[_0x3cb170(0x301)]([_0x3cb170(0xf3),'--porcelain']);if(!_0x50d86b['ok']||_0x50d86b[_0x3cb170(0x2c8)])return error(_0x3cb170(0x2a0),_0x3cb170(0x244),{'status':_0x50d86b[_0x3cb170(0x2c8)]});const _0x4d7e9a=this[_0x3cb170(0x301)](['rev-parse',_0x3cb170(0x2c2)]);if(!_0x4d7e9a['ok'])return error(_0x3cb170(0x1e1),_0x4d7e9a[_0x3cb170(0x358)]||_0x3cb170(0xea));const _0x3c5f1f=this[_0x3cb170(0x301)](['branch','--show-current']),_0x2bf8b4=path[_0x3cb170(0x2fb)](this[_0x3cb170(0x1fe)]),_0x16a993=path[_0x3cb170(0xe9)](path[_0x3cb170(0x2dd)](this['projectPath']),_0x3cb170(0xf1),_0x2bf8b4,_0x33742f,_0x38b272),_0x299346=_0x3cb170(0x1dc)+_0x33742f+'/'+_0x38b272;if(fs[_0x3cb170(0xd9)](_0x16a993))return error(_0x3cb170(0x35f),'Worktree\x20path\x20already\x20exists:\x20'+_0x16a993);const _0x5a2c9d=this['runGit'](['worktree',_0x3cb170(0x276),'-b',_0x299346,_0x16a993,_0x1bae11[_0x3cb170(0x2a9)]||_0x4d7e9a[_0x3cb170(0x2c8)]]),_0x18b000={};_0x18b000[_0x3cb170(0x2af)]=_0x16a993,_0x18b000[_0x3cb170(0x118)]=_0x299346;if(!_0x5a2c9d['ok'])return error(_0x3cb170(0x12c),_0x5a2c9d[_0x3cb170(0x358)]||_0x3cb170(0x27a),_0x18b000);return{'success':!![],'workspace':{'mode':_0x3cb170(0x1c5),'path':normalizePath(_0x16a993),'branch':_0x299346,'baseRef':_0x1bae11[_0x3cb170(0x2a9)]||_0x4d7e9a[_0x3cb170(0x2c8)],'baseBranch':_0x3c5f1f['ok']?_0x3c5f1f[_0x3cb170(0x2c8)]:'','status':_0x3cb170(0x2b0),'createdAt':this[_0x3cb170(0x1ab)]()[_0x3cb170(0x2f4)](),'managed':!![]}};}[_0xd8aaed(0x111)](_0x3cb3dc,_0x342533,_0x28ec28={}){const _0x32ae50=_0xd8aaed,_0x31e545=_0x28ec28[_0x32ae50(0x24b)]||'auto';if(!['auto','current','worktree'][_0x32ae50(0x1a4)](_0x31e545))return error(_0x32ae50(0x25f),'Unknown\x20workspace\x20mode:\x20'+_0x31e545);if(_0x31e545==='worktree')return this[_0x32ae50(0x280)](_0x3cb3dc,_0x342533,_0x28ec28);return{'success':!![],'workspace':{'mode':this[_0x32ae50(0xe1)]()?'native-worktree':'current','path':this[_0x32ae50(0x1fe)],'branch':this[_0x32ae50(0x314)]?this[_0x32ae50(0x301)](['branch','--show-current'])[_0x32ae50(0x2c8)]:'','baseRef':this[_0x32ae50(0x314)]?this['runGit']([_0x32ae50(0x2fe),_0x32ae50(0x2c2)])['stdout']:'','baseBranch':this[_0x32ae50(0x314)]?this[_0x32ae50(0x301)]([_0x32ae50(0x118),_0x32ae50(0x123)])[_0x32ae50(0x2c8)]:'','status':_0x32ae50(0x2b0),'managed':![]}};}[_0xd8aaed(0x28e)](_0x221373={}){const _0x466e83=_0xd8aaed;let {pipeline:_0x202bf4,task:_0x2c6ebc,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x221373;const _0x4bcfb7=PipelineManager[_0x466e83(0x108)](_0x2c6ebc);if(_0x4bcfb7)return _0x4bcfb7;if(_0x221373[_0x466e83(0x10d)])try{return this['recoverCreation'](_0x2c6ebc,_0x221373['recoverRunId'],_0x221373[_0x466e83(0x1ec)]);}catch(_0x147dd1){return error(_0x466e83(0x348),_0x466e83(0x1e2),{'task':_0x2c6ebc,'runId':_0x221373['recoverRunId'],'diagnostic':creationFailure(_0x147dd1,_0x466e83(0x1b4))});}const _0xbb9bd4=PipelineManager[_0x466e83(0x1c6)](_0x221373['workspace']);if(_0xbb9bd4)return _0xbb9bd4;if(![0x2,0x3]['includes'](schemaVersion))return error(_0x466e83(0x23c),_0x466e83(0x313));if(_0x221373[_0x466e83(0x25e)]!==undefined&&![0x1,0x2,0x3]['includes'](_0x221373[_0x466e83(0x25e)]))return error('INVALID_POLICY_VERSION','Supported\x20policies\x20are\x201,\x202\x20and\x203.');if(_0x221373[_0x466e83(0x21c)]!==undefined&&![_0x466e83(0x14d),_0x466e83(0xf6),_0x466e83(0x30b)][_0x466e83(0x1a4)](_0x221373['workflowProfile']))return error(_0x466e83(0x302),_0x466e83(0x157));if(_0x221373[_0x466e83(0x30f)]!==undefined&&(!Number['isInteger'](_0x221373[_0x466e83(0x30f)])||_0x221373[_0x466e83(0x30f)]<0x1))return error('INVALID_RUN_INPUT',_0x466e83(0x229));for(const _0x771c35 of['acceptanceCriteria','scope',_0x466e83(0x17a)]){if(_0x221373[_0x771c35]!==undefined&&(!Array[_0x466e83(0x285)](_0x221373[_0x771c35])||!_0x221373[_0x771c35][_0x466e83(0xe3)](_0x95da67=>typeof _0x95da67==='string'&&_0x95da67[_0x466e83(0x27c)]())))return error('INVALID_RUN_INPUT',_0x771c35+_0x466e83(0x305));}if(schemaVersion===0x3&&_0x221373[_0x466e83(0x1a6)]!==0x0&&_0x202bf4!==_0x466e83(0x12f)&&!_0x221373['acceptanceCriteria']?.[_0x466e83(0x152)])return error(_0x466e83(0x196),_0x466e83(0x1d6));let _0x19521d;if(schemaVersion===0x3&&_0x221373['qualityVersion']!==0x0&&_0x202bf4!==_0x466e83(0x12f))try{_0x19521d=require(_0x466e83(0x215))[_0x466e83(0x1af)](_0x221373['qualityPlan'],_0x221373[_0x466e83(0x317)]||[],{'productImpact':_0x221373[_0x466e83(0x249)]===!![],'platformTarget':_0x221373['productImpact']===!![]&&['web',_0x466e83(0x256),'flutter'][_0x466e83(0x1a4)](_0x221373[_0x466e83(0x1b8)])?_0x221373['productTarget']===_0x466e83(0x2cb)?'web':_0x466e83(0x256):null,'contentReview':_0x202bf4===_0x466e83(0x2b7),'artifactReview':_0x221373['artifactReview']===!![]});}catch(_0x162dcc){return error(_0x466e83(0x266),_0x162dcc[_0x466e83(0x33f)]);}const _0x188178=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x1a0a04=_0x188178[_0x202bf4];if(!_0x1a0a04)return error('INVALID_PIPELINE',_0x466e83(0x31b)+_0x202bf4+'.',{'valid_pipelines':Object['keys'](PIPELINE_DEFINITIONS)});const _0x15151e=_0x1a0a04[_0x466e83(0x159)][0x0][_0x466e83(0x144)];if(_0x15151e){const _0x56af43=this[_0x466e83(0x2f8)](_0x15151e);if(_0x56af43)return _0x56af43;}if((workspace[_0x466e83(0x24b)]||_0x466e83(0x361))===_0x466e83(0x1c5)&&!this[_0x466e83(0x314)]){if(!workspace[_0x466e83(0x1fc)]||!workspace['confirmationToken'])return this[_0x466e83(0x122)]();if(!workspace['confirmed'])return error(_0x466e83(0x20c),_0x466e83(0x214));const _0x3455e8=this['initializeGitFromPreview'](workspace['confirmationToken']);if(!_0x3455e8[_0x466e83(0x16c)])return _0x3455e8;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this['withLock'](_0x466e83(0x2df),()=>this[_0x466e83(0x20f)](_0x2c6ebc,()=>{const _0x4f6df1=_0x466e83,_0x483deb=this['readCurrent'](_0x2c6ebc);if(_0x483deb&&[_0x4f6df1(0x165),_0x4f6df1(0x2f3),'paused'][_0x4f6df1(0x1a4)](_0x483deb[_0x4f6df1(0xf3)]))return error(_0x4f6df1(0x107),_0x4f6df1(0x13e)+_0x2c6ebc+_0x4f6df1(0xe2),{'task':_0x2c6ebc,'runId':_0x483deb[_0x4f6df1(0x1bf)]});if(schemaVersion===0x3&&_0x221373[_0x4f6df1(0x1a6)]!==0x0&&_0x202bf4!==_0x4f6df1(0x12f)){const _0x1691e4=_0x2e9276=>JSON[_0x4f6df1(0x230)](_0x2e9276[_0x4f6df1(0x24f)](_0x128467=>_0x128467[_0x4f6df1(0x27c)]()[_0x4f6df1(0x271)](/\s+/g,'\x20')['toLocaleLowerCase']())[_0x4f6df1(0x1d3)]()),_0x14fce8=_0x1691e4(_0x221373[_0x4f6df1(0x317)]),_0x43cfb5=_0x23bc45=>{const _0x265ca0=_0x4f6df1,_0xef7f21=normalizePath(_0x23bc45);return process[_0x265ca0(0x218)]===_0x265ca0(0x264)?_0xef7f21[_0x265ca0(0x296)]():_0xef7f21;};if(fs[_0x4f6df1(0xd9)](this[_0x4f6df1(0x16f)])){const _0x3467e7={};_0x3467e7[_0x4f6df1(0x331)]=!![];for(const _0x16dc6a of fs[_0x4f6df1(0x1d4)](this['stateRoot'],_0x3467e7)){if(!_0x16dc6a[_0x4f6df1(0x228)]()||_0x16dc6a['name']['startsWith']('.')||_0x16dc6a[_0x4f6df1(0x1dd)]===_0x2c6ebc)continue;const _0x291386=this[_0x4f6df1(0x12b)](_0x16dc6a[_0x4f6df1(0x1dd)]);if(_0x291386&&[_0x4f6df1(0x165),_0x4f6df1(0x2f3),_0x4f6df1(0x1df)][_0x4f6df1(0x1a4)](_0x291386[_0x4f6df1(0xf3)])&&_0x291386[_0x4f6df1(0xe6)]!=='readonly'&&_0x291386[_0x4f6df1(0x1f2)]?.[_0x4f6df1(0x216)]&&_0x291386['acceptance']?.[_0x4f6df1(0x267)]?.[_0x4f6df1(0x152)]&&[_0x291386[_0x4f6df1(0x2ed)],_0x291386['workspace'][_0x4f6df1(0x2ce)]]['filter'](Boolean)[_0x4f6df1(0x25c)](_0x16982f=>_0x43cfb5(_0x16982f)===_0x43cfb5(this[_0x4f6df1(0x1fe)]))&&overlappingScope(_0x291386['scope'],_0x221373[_0x4f6df1(0x290)],this[_0x4f6df1(0x1fe)])&&_0x1691e4(_0x291386[_0x4f6df1(0x205)]['criteria'])===_0x14fce8){const _0x464f8c={};return _0x464f8c[_0x4f6df1(0x32e)]=_0x291386[_0x4f6df1(0x32e)],_0x464f8c['runId']=_0x291386['runId'],_0x464f8c['status']=_0x291386[_0x4f6df1(0xf3)],_0x464f8c['stopReason']=_0x291386[_0x4f6df1(0x241)]?.[_0x4f6df1(0x166)]||null,_0x464f8c[_0x4f6df1(0x14b)]=_0x291386[_0x4f6df1(0x1f2)]?.[_0x4f6df1(0x216)]?.[_0x4f6df1(0x14b)]||null,error('ACCEPTANCE_ALREADY_ACTIVE',_0x4f6df1(0x186),_0x464f8c);}}}}const _0x3e4269=this['generateRunId'](),_0x14e60b=this['pendingCreation'](_0x2c6ebc);if(_0x14e60b)return error(_0x4f6df1(0x233),_0x4f6df1(0x2b6),{'intent':_0x14e60b});const _0x2b48cb=this[_0x4f6df1(0xee)](_0x2c6ebc,_0x3e4269),_0x1a1989={'task':_0x2c6ebc,'runId':_0x3e4269,'pipeline':_0x202bf4,'schemaVersion':schemaVersion,'status':_0x4f6df1(0x2ca),'originWorkspace':this['projectPath'],'requestedWorkspace':workspace,'runtimeVersion':require(_0x4f6df1(0x26c))['version'],'args':_0x221373,'createdAt':this[_0x4f6df1(0x1ab)]()[_0x4f6df1(0x2f4)]()};this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x1a1989);let _0x40789b=_0x4f6df1(0x33e);try{const _0x4e7a6e=this[_0x4f6df1(0x111)](_0x2c6ebc,_0x3e4269,workspace);if(!_0x4e7a6e['success']){const _0x895edd={..._0x1a1989};return _0x895edd['status']=_0x4f6df1(0x134),_0x895edd['error']=_0x4e7a6e,this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x895edd),_0x4e7a6e;}_0x1a1989[_0x4f6df1(0x2ac)]=_0x4e7a6e[_0x4f6df1(0x2ac)],_0x1a1989[_0x4f6df1(0xf3)]=_0x4f6df1(0x16a),_0x40789b='intent-workspace-write',this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x1a1989);const _0x282b3c={'schemaVersion':schemaVersion,'task':_0x2c6ebc,'runId':_0x3e4269,'pipeline':_0x202bf4,'status':'active','completedSteps':[],'originWorkspace':this[_0x4f6df1(0x1fe)],'workspace':_0x4e7a6e[_0x4f6df1(0x2ac)],'startedAt':this['now']()[_0x4f6df1(0x2f4)](),'updatedAt':this[_0x4f6df1(0x1ab)]()[_0x4f6df1(0x2f4)]()};_0x40789b=_0x4f6df1(0x1a3);if(schemaVersion===0x3)this['execution'][_0x4f6df1(0x18b)](_0x282b3c,_0x221373);else this[_0x4f6df1(0xe0)](_0x282b3c);this[_0x4f6df1(0x263)](_0x282b3c),_0x40789b=_0x4f6df1(0x163);const _0x37d42d={};_0x37d42d[_0x4f6df1(0xf7)]=!![],this['writeState'](_0x282b3c,_0x37d42d),_0x40789b=_0x4f6df1(0x341),this[_0x4f6df1(0x2c7)](_0x282b3c,_0x4f6df1(0x278),_0x4f6df1(0x332)+_0x282b3c[_0x4f6df1(0x2ac)][_0x4f6df1(0x2ce)]+_0x4f6df1(0x27d)+_0x1a0a04[_0x4f6df1(0x159)][0x0]['id']),_0x40789b='intent-complete';const _0x37038d={..._0x1a1989};_0x37038d[_0x4f6df1(0xf3)]='completed',this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x37038d);const _0x599e53={};return _0x599e53[_0x4f6df1(0x16c)]=!![],this[_0x4f6df1(0x210)](_0x282b3c,_0x599e53);}catch(_0x5863ad){const _0x2660f9=creationFailure(_0x5863ad,_0x40789b);try{const _0x10f8df={..._0x1a1989};_0x10f8df[_0x4f6df1(0xf3)]='interrupted',_0x10f8df[_0x4f6df1(0x1ad)]=_0x2660f9,this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x10f8df);}catch{}const _0x2a84ca={};return _0x2a84ca[_0x4f6df1(0x32e)]=_0x2c6ebc,_0x2a84ca[_0x4f6df1(0x1bf)]=_0x3e4269,_0x2a84ca[_0x4f6df1(0x117)]=_0x2b48cb,_0x2a84ca[_0x4f6df1(0x2ac)]=_0x1a1989[_0x4f6df1(0x2ac)],_0x2a84ca[_0x4f6df1(0x1d2)]=_0x2660f9[_0x4f6df1(0x1a7)],_0x2a84ca[_0x4f6df1(0x1f0)]=_0x2660f9,error(_0x4f6df1(0x1aa),_0x4f6df1(0x29f),_0x2a84ca);}}));}catch(_0x562ab6){return error('PIPELINE_STATE_UNAVAILABLE',_0x466e83(0x125),{'task':_0x2c6ebc,'diagnostic':creationFailure(_0x562ab6,_0x466e83(0x221))});}}[_0xd8aaed(0xf0)](_0x1fe475={}){const _0x4784e6=_0xd8aaed;return this[_0x4784e6(0x241)][_0x4784e6(0xf0)](_0x1fe475);}[_0xd8aaed(0x1d0)](){const _0x396fbe=_0xd8aaed;return this['execution'][_0x396fbe(0x1d0)]();}[_0xd8aaed(0x31d)](_0x257526={}){const _0x44555e=_0xd8aaed;return this['execution'][_0x44555e(0x31d)](_0x257526);}[_0xd8aaed(0x2ef)](_0x5c56be={}){const _0x411f76=_0xd8aaed;return this[_0x411f76(0x241)][_0x411f76(0x2ef)](_0x5c56be);}[_0xd8aaed(0x137)](_0x29c540={},_0x12a2af){const _0x186295=_0xd8aaed;return this[_0x186295(0x241)][_0x186295(0x137)](_0x29c540,_0x12a2af);}[_0xd8aaed(0x15c)](_0x78a640,_0x22dd85){const _0x222110=_0xd8aaed,_0x473f3=PipelineManager[_0x222110(0x108)](_0x78a640[_0x222110(0x32e)])||PipelineManager[_0x222110(0x217)](_0x78a640['runId']);if(_0x473f3)return _0x473f3;return this[_0x222110(0x20f)]('_execution',()=>this[_0x222110(0x20f)](_0x78a640[_0x222110(0x32e)],()=>{const _0x52e87a=_0x222110,_0x2e17a=this[_0x52e87a(0x174)](_0x78a640[_0x52e87a(0x32e)],_0x78a640[_0x52e87a(0x1bf)]);if(!_0x2e17a||_0x2e17a['schemaVersion']!==0x3)return error(_0x52e87a(0x189),_0x52e87a(0x12d));const _0x456419=this['contract'](_0x2e17a);if(_0x456419[_0x52e87a(0x1ff)]==='blocked')return error(_0x456419[_0x52e87a(0x1a7)],'The\x20run\x20contract\x20does\x20not\x20permit\x20reconciliation.');if(!_0x78a640['sessionId']||_0x2e17a[_0x52e87a(0x10e)]!==_0x78a640[_0x52e87a(0x1ec)])return error(_0x52e87a(0x132),'Reconcile\x20with\x20the\x20recorded\x20coordinator.');if(!require(_0x52e87a(0xed))[_0x52e87a(0x245)](_0x2e17a['workspace']?.['path']||'',this[_0x52e87a(0x1fe)]))return error(_0x52e87a(0x33b),_0x52e87a(0x188));const _0x2830da=_0x2e17a[_0x52e87a(0x241)][_0x52e87a(0x2f3)]['find'](_0x4d0dac=>_0x4d0dac[_0x52e87a(0x23a)]===_0x78a640[_0x52e87a(0x23a)]&&_0x4d0dac['actorId']===_0x78a640[_0x52e87a(0x19d)]);if(!_0x2830da)return error(_0x52e87a(0x11b),'The\x20exact\x20actor\x20reservation\x20is\x20no\x20longer\x20active.');if(_0x2830da['verificationInFlight'])return error(_0x52e87a(0x269),'Verification\x20must\x20stop\x20before\x20release.');const _0x154b87={};_0x154b87[_0x52e87a(0xfe)]=this,_0x154b87['state']=_0x2e17a,_0x154b87[_0x52e87a(0x239)]=_0x78a640,_0x154b87[_0x52e87a(0x19e)]=_0x22dd85;const _0x4d9c41=require(_0x52e87a(0x2d2))[_0x52e87a(0x19c)](_0x154b87);if(!_0x4d9c41[_0x52e87a(0x16c)])return error(_0x4d9c41[_0x52e87a(0x1a7)],_0x52e87a(0x1c7));const _0x22fd28=(_0x2e17a[_0x52e87a(0x241)][_0x52e87a(0x176)]||[])[_0x52e87a(0x2c9)](_0x147e60=>_0x147e60[_0x52e87a(0x23a)]===_0x78a640[_0x52e87a(0x23a)]);if(_0x22dd85[_0x52e87a(0xf3)]!==_0x52e87a(0x32d)||!_0x22dd85[_0x52e87a(0x2a7)]||_0x22dd85[_0x52e87a(0x10b)]!==_0x52e87a(0x18f)||_0x22fd28?.[_0x52e87a(0x291)]!=='confirmed'||_0x22fd28[_0x52e87a(0x2f0)]!=='stopped'||_0x22fd28[_0x52e87a(0x294)]!==_0x22dd85[_0x52e87a(0x294)]||_0x22fd28[_0x52e87a(0x19d)]!==_0x78a640[_0x52e87a(0x19d)])return error(_0x52e87a(0x289),_0x52e87a(0x1f8));if(_0x2830da[_0x52e87a(0x1b2)]&&!_0x2e17a[_0x52e87a(0x241)][_0x52e87a(0x2f3)][_0x52e87a(0x25c)](_0x3f528c=>_0x3f528c[_0x52e87a(0x23a)]!==_0x2830da[_0x52e87a(0x23a)]&&_0x3f528c[_0x52e87a(0x1b2)]===_0x2830da[_0x52e87a(0x1b2)])){const _0xdfa7fb=_0x2e17a[_0x52e87a(0x15d)]?.[_0x52e87a(0x2c9)](_0x2d8f6f=>_0x2d8f6f['id']===_0x2830da['workItemId']);if(_0xdfa7fb?.[_0x52e87a(0xf3)]===_0x52e87a(0x262))_0xdfa7fb[_0x52e87a(0xf3)]='pending';}const _0x34cc94=_0x2e17a[_0x52e87a(0x241)]['nextAction'];this[_0x52e87a(0x241)]['release'](_0x2e17a,_0x2830da);if(_0x2e17a['execution'][_0x52e87a(0x166)])_0x2e17a['execution']['nextAction']=_0x34cc94;this[_0x52e87a(0x127)](_0x2e17a),this[_0x52e87a(0x2c7)](_0x2e17a,_0x52e87a(0x344),'Actor:\x20'+_0x78a640[_0x52e87a(0x19d)]+_0x52e87a(0x2fa)+_0x78a640[_0x52e87a(0x23a)]+'.\x20Completion\x20does\x20not\x20prove\x20a\x20review\x20verdict.');const _0x56dac2={};return _0x56dac2[_0x52e87a(0x16c)]=!![],_0x56dac2[_0x52e87a(0x2bf)]=!![],_0x56dac2[_0x52e87a(0x19d)]=_0x78a640[_0x52e87a(0x19d)],_0x56dac2[_0x52e87a(0x23a)]=_0x78a640[_0x52e87a(0x23a)],_0x56dac2;}));}[_0xd8aaed(0x15e)](_0x45c60f={}){return this['execution']['canMutate'](_0x45c60f);}['markAttemptStarted'](_0x47276e={}){const _0x397035=_0xd8aaed;return this[_0x397035(0x241)][_0x397035(0x27f)](_0x47276e);}[_0xd8aaed(0x219)](_0x3a14da={}){const _0x16fb93=_0xd8aaed,{task:_0x299b39,runId:_0x2fe465,pipeline:_0x31ee77,step:_0x4bc635,status:_0x12fa3c,summary:_0xb945e4}=_0x3a14da,_0x21b9ea=PipelineManager[_0x16fb93(0x108)](_0x299b39);if(_0x21b9ea)return _0x21b9ea;if(!_0x2fe465)return error(_0x16fb93(0x224),_0x16fb93(0xff));const _0x313bd1=PipelineManager['validateRunId'](_0x2fe465);if(_0x313bd1)return _0x313bd1;const _0x214605=this[_0x16fb93(0x174)](_0x299b39,_0x2fe465);if(_0x214605&&this[_0x16fb93(0x1c3)](_0x214605)[_0x16fb93(0x1ff)]===_0x16fb93(0x323))return error(this[_0x16fb93(0x1c3)](_0x214605)[_0x16fb93(0x1a7)],'This\x20run\x20remains\x20readable,\x20but\x20its\x20historical\x20contract\x20cannot\x20be\x20verified\x20for\x20mutation.');if(_0x214605?.[_0x16fb93(0x2e2)]===0x3)return this['execution'][_0x16fb93(0x219)](_0x3a14da);return this['withLock'](_0x299b39,()=>{const _0x12e2be=_0x16fb93,_0x479a15=this[_0x12e2be(0x174)](_0x299b39,_0x2fe465);if(!_0x479a15)return error('RUN_NOT_FOUND',_0x12e2be(0x20e)+_0x2fe465+_0x12e2be(0x2a4)+_0x299b39+'\x22.');const _0x2a4fd1=this[_0x12e2be(0x12b)](_0x299b39);if(!_0x2a4fd1||_0x2a4fd1['runId']!==_0x2fe465)return error(_0x12e2be(0x190),'This\x20run\x20is\x20no\x20longer\x20the\x20current\x20run\x20for\x20the\x20task.');if(_0x479a15[_0x12e2be(0xf3)]!==_0x12e2be(0x2f3))return error(_0x12e2be(0x30c),_0x12e2be(0x2b3)+_0x479a15['status']+_0x12e2be(0x333));if(_0x31ee77&&_0x31ee77!==_0x479a15['pipeline'])return error(_0x12e2be(0x257),_0x12e2be(0x250)+_0x479a15[_0x12e2be(0xe6)]+_0x12e2be(0x2b5)+_0x31ee77+'\x22.');if(_0x12fa3c!=='completed')return error('INVALID_CHECKPOINT_STATUS',_0x12e2be(0x19b));const _0x14b231=_0x479a15[_0x12e2be(0x106)],_0x43e1be=_0x14b231[_0x12e2be(0x159)][_0x479a15['completedSteps'][_0x12e2be(0x152)]];if(!_0x43e1be||_0x43e1be['id']!==_0x4bc635)return error(_0x12e2be(0x281),_0x12e2be(0x260)+(_0x43e1be?.['id']||'none')+_0x12e2be(0x1e8)+_0x4bc635+'\x22.',{'expected_step':_0x43e1be?.['id']||null});if(_0x43e1be[_0x12e2be(0x144)]){const _0x17e36f=this[_0x12e2be(0x2f8)](_0x43e1be[_0x12e2be(0x144)],_0x479a15[_0x12e2be(0x2ac)]['path']);if(_0x17e36f)return _0x17e36f;}if(_0x479a15[_0x12e2be(0xe6)]===_0x12e2be(0x1cc)&&_0x4bc635===_0x12e2be(0x207)&&(!_0xb945e4||_0xb945e4['trim']()['length']<0xa))return error(_0x12e2be(0x226),_0x12e2be(0x204));_0x479a15[_0x12e2be(0x297)]['push']({'id':_0x4bc635,'summary':_0xb945e4||'','completedAt':this[_0x12e2be(0x1ab)]()[_0x12e2be(0x2f4)]()});if(_0x479a15[_0x12e2be(0x297)][_0x12e2be(0x152)]===_0x14b231[_0x12e2be(0x159)][_0x12e2be(0x152)])_0x479a15[_0x12e2be(0xf3)]=_0x12e2be(0x145);this[_0x12e2be(0x127)](_0x479a15),this[_0x12e2be(0x2c7)](_0x479a15,_0x12e2be(0x2be)+_0x4bc635,_0xb945e4||_0x12e2be(0x1b5));const _0x196cde={};_0x196cde[_0x12e2be(0x16c)]=!![];const _0x38014c=this['formatStatus'](_0x479a15,_0x196cde);if(MEMORY_TRIGGERS[_0x4bc635])_0x38014c[_0x12e2be(0x192)]=MEMORY_TRIGGERS[_0x4bc635];return _0x38014c;});}[_0xd8aaed(0x263)](_0x2b1151){const _0x18bf9c=_0xd8aaed,_0x2ea32b=this[_0x18bf9c(0x342)](path['join'](this[_0x18bf9c(0x25d)](_0x2b1151[_0x18bf9c(0x32e)]),'upgrade-lineage.json'));if(!_0x2ea32b||_0x2ea32b[_0x18bf9c(0x32e)]!==_0x2b1151[_0x18bf9c(0x32e)]||PipelineManager[_0x18bf9c(0x217)](_0x2ea32b['runId']))return;const _0x21c4be=this[_0x18bf9c(0x174)](_0x2b1151[_0x18bf9c(0x32e)],_0x2ea32b[_0x18bf9c(0x1bf)]);if(!_0x21c4be||_0x21c4be[_0x18bf9c(0xf3)]!==_0x18bf9c(0x246)||_0x21c4be[_0x18bf9c(0x26d)]?.[_0x18bf9c(0x1d2)]!==_0x18bf9c(0x357)||_0x21c4be[_0x18bf9c(0x26d)][_0x18bf9c(0xf4)]!==_0x2ea32b['transactionId']||!require(_0x18bf9c(0xed))[_0x18bf9c(0x245)](_0x21c4be['workspace']?.['path']||'',_0x2b1151[_0x18bf9c(0x2ac)][_0x18bf9c(0x2ce)]))return;_0x2b1151[_0x18bf9c(0x345)]={'task':_0x2b1151[_0x18bf9c(0x32e)],'runId':_0x21c4be[_0x18bf9c(0x1bf)],'reason':'runtime-upgrade','requirements':[..._0x21c4be[_0x18bf9c(0x205)]?.['criteria']||[]],'findings':JSON[_0x18bf9c(0x33d)](JSON[_0x18bf9c(0x230)](Object[_0x18bf9c(0x1f9)](_0x21c4be[_0x18bf9c(0x1f2)]?.[_0x18bf9c(0x11e)]||{})[_0x18bf9c(0x272)](_0x2f3bb2=>_0x2f3bb2[_0x18bf9c(0x206)]!==![]&&![_0x18bf9c(0x270),_0x18bf9c(0x283)][_0x18bf9c(0x1a4)](_0x2f3bb2[_0x18bf9c(0xf3)])))),'attempts':{..._0x21c4be[_0x18bf9c(0x241)]?.[_0x18bf9c(0x35b)]||{}},'noProgress':_0x21c4be[_0x18bf9c(0x241)]?.[_0x18bf9c(0x1c9)]||0x0,'lastFailure':_0x21c4be[_0x18bf9c(0x241)]?.[_0x18bf9c(0x343)]||null,'progress':(_0x21c4be[_0x18bf9c(0x15d)]||[])[_0x18bf9c(0x24f)](_0x2de462=>({'id':_0x2de462['id'],'noProgress':_0x2de462[_0x18bf9c(0x1c9)]||0x0,'lastFailure':_0x2de462[_0x18bf9c(0x343)]||null}))};if(_0x2b1151[_0x18bf9c(0x2e2)]!==0x3)return;_0x2b1151[_0x18bf9c(0x241)]['attempts']={..._0x2b1151['inherited'][_0x18bf9c(0x35b)]},_0x2b1151['execution'][_0x18bf9c(0x158)]=Math[_0x18bf9c(0x139)](0x0,_0x21c4be[_0x18bf9c(0x241)]?.['inheritedAttemptFloor']||0x0,...Object['values'](_0x2b1151[_0x18bf9c(0x345)][_0x18bf9c(0x35b)])),_0x2b1151[_0x18bf9c(0x241)][_0x18bf9c(0x1c9)]=_0x2b1151[_0x18bf9c(0x345)]['noProgress'],_0x2b1151[_0x18bf9c(0x241)]['lastFailure']=_0x2b1151[_0x18bf9c(0x345)][_0x18bf9c(0x343)];['no_progress',_0x18bf9c(0x198)][_0x18bf9c(0x1a4)](_0x21c4be[_0x18bf9c(0x241)]?.[_0x18bf9c(0x166)])&&(_0x2b1151['status']=_0x18bf9c(0x1df),_0x2b1151[_0x18bf9c(0x241)][_0x18bf9c(0x166)]=_0x21c4be[_0x18bf9c(0x241)][_0x18bf9c(0x166)]);for(const _0x31f2df of _0x2b1151[_0x18bf9c(0x345)][_0x18bf9c(0x11e)])if(_0x2b1151[_0x18bf9c(0x1f2)])_0x2b1151['quality'][_0x18bf9c(0x11e)][_0x31f2df['id']]={..._0x31f2df,'status':_0x18bf9c(0x29a),'inheritedFrom':_0x21c4be[_0x18bf9c(0x1bf)],'resolution':null};}[_0xd8aaed(0x251)]({task:_0x19ccf1,runId:_0x52666d,transactionId:_0x1164cc,epoch:_0x48a878,target:_0x4aa5e3}){const _0x16413b=_0xd8aaed,{readFence:_0x4c536d}=require('../core/admission-fence'),_0x13841b=_0x4c536d(this[_0x16413b(0x1fe)]);if(_0x13841b[_0x16413b(0x1c2)]!==_0x16413b(0x1b0)||_0x13841b[_0x16413b(0xf4)]!==_0x1164cc||_0x13841b['epoch']!==_0x48a878||_0x13841b['targetVersion']!==_0x4aa5e3?.[_0x16413b(0x240)]||_0x13841b[_0x16413b(0x2ad)]!==_0x4aa5e3?.[_0x16413b(0x35a)])return error(_0x16413b(0x1da),_0x16413b(0x129));const _0x4e515b=PipelineManager[_0x16413b(0x108)](_0x19ccf1)||PipelineManager[_0x16413b(0x217)](_0x52666d);if(_0x4e515b)return _0x4e515b;return this[_0x16413b(0x20f)](_0x19ccf1,()=>{const _0x16f1c4=_0x16413b,_0x40b3b6=this[_0x16f1c4(0x174)](_0x19ccf1,_0x52666d);if(!_0x40b3b6||!_0x40b3b6[_0x16f1c4(0x2ac)]?.[_0x16f1c4(0x2ce)]||!require(_0x16f1c4(0xed))[_0x16f1c4(0x245)](_0x40b3b6['workspace'][_0x16f1c4(0x2ce)],this['projectPath']))return error(_0x16f1c4(0x33b),'Run\x20does\x20not\x20belong\x20to\x20this\x20workspace.');const _0x3fcbef=_0x40b3b6['status']===_0x16f1c4(0x246)&&_0x40b3b6[_0x16f1c4(0x26d)]?.[_0x16f1c4(0xf4)]===_0x1164cc,_0x11b2fe={};_0x11b2fe[_0x16f1c4(0x16c)]=!![],_0x11b2fe[_0x16f1c4(0x1c4)]=!![];if(!_0x3fcbef&&[_0x16f1c4(0x145),_0x16f1c4(0x246)][_0x16f1c4(0x1a4)](_0x40b3b6[_0x16f1c4(0xf3)]))return _0x11b2fe;if(_0x40b3b6[_0x16f1c4(0x241)]?.['active']?.[_0x16f1c4(0x152)]||(_0x40b3b6[_0x16f1c4(0x241)]?.[_0x16f1c4(0x176)]||[])['some'](_0x2aa523=>_0x2aa523[_0x16f1c4(0x291)]===_0x16f1c4(0x292)&&_0x2aa523[_0x16f1c4(0x2f0)]!==_0x16f1c4(0x2cf)))return error(_0x16f1c4(0x289),_0x16f1c4(0x1fa));!_0x3fcbef&&(_0x40b3b6['status']='cancelled',_0x40b3b6['cancelledAt']=this[_0x16f1c4(0x1ab)]()[_0x16f1c4(0x2f4)](),_0x40b3b6['cancellation']={'reason':_0x16f1c4(0x357),'transactionId':_0x1164cc,'target':_0x4aa5e3,'epoch':_0x48a878,'cancelledAt':_0x40b3b6[_0x16f1c4(0x237)]},this[_0x16f1c4(0x127)](_0x40b3b6),this[_0x16f1c4(0x2c7)](_0x40b3b6,_0x16f1c4(0x1ba),_0x16f1c4(0x324)+_0x1164cc+_0x16f1c4(0x153)));this[_0x16f1c4(0x2aa)](path['join'](this['taskDir'](_0x19ccf1),_0x16f1c4(0x17c)),{'task':_0x19ccf1,'runId':_0x52666d,'transactionId':_0x1164cc,'target':_0x4aa5e3});const _0x354a36=this['readJson'](this[_0x16f1c4(0x10f)](_0x19ccf1));if(_0x354a36?.[_0x16f1c4(0x1bf)]===_0x52666d)fs[_0x16f1c4(0x1e5)](this[_0x16f1c4(0x10f)](_0x19ccf1));const _0xf7d0fc=new(require('../core/session'))[(_0x16f1c4(0x115))](this[_0x16f1c4(0x1fe)]);if(fs['existsSync'](_0xf7d0fc[_0x16f1c4(0x1ac)]))for(const _0x448dce of fs[_0x16f1c4(0x1d4)](_0xf7d0fc['directory'])){if(!/^[a-f0-9]{64}\.json$/[_0x16f1c4(0xf5)](_0x448dce))continue;const _0x47d816=this[_0x16f1c4(0x342)](path['join'](_0xf7d0fc['directory'],_0x448dce));if(_0x47d816?.[_0x16f1c4(0x32e)]===_0x19ccf1&&_0x47d816[_0x16f1c4(0x1bf)]===_0x52666d)_0xf7d0fc['transact'](_0x47d816['sessionId'],_0x2f030d=>{const _0x327306=_0x16f1c4,_0x97fafd={};_0x97fafd[_0x327306(0x32e)]=_0x19ccf1,_0x97fafd[_0x327306(0x1bf)]=_0x52666d,_0x97fafd[_0x327306(0x1d2)]='runtime-upgrade',_0x2f030d[_0x327306(0x27e)]=_0x97fafd,_0x2f030d[_0x327306(0x32e)]=null,_0x2f030d[_0x327306(0x1bf)]=null,_0x2f030d[_0x327306(0x23a)]=null,_0x2f030d[_0x327306(0x35b)]={};});}const _0xe4e0f={};return _0xe4e0f[_0x16f1c4(0x16c)]=!![],_0xe4e0f[_0x16f1c4(0x354)]=_0x3fcbef,_0xe4e0f[_0x16f1c4(0x26d)]=_0x40b3b6[_0x16f1c4(0x26d)],_0xe4e0f;});}[_0xd8aaed(0x2ba)]({task:_0x38c213,runId:_0x1f13ef,confirm:_0x53494d,target:target=_0xd8aaed(0x14e),sessionId:_0x382f47}={}){const _0x564f15=_0xd8aaed,_0x1ac53c=PipelineManager[_0x564f15(0x108)](_0x38c213);if(_0x1ac53c)return _0x1ac53c;if(!_0x1f13ef)return error(_0x564f15(0x224),_0x564f15(0x13b));const _0x18ae88=PipelineManager[_0x564f15(0x217)](_0x1f13ef);if(_0x18ae88)return _0x18ae88;if(_0x53494d!==!![])return error(_0x564f15(0x1f3),_0x564f15(0x308));if(![_0x564f15(0x14e),_0x564f15(0x183)][_0x564f15(0x1a4)](target))return error(_0x564f15(0x268),'target\x20must\x20be\x20run\x20or\x20creation.');return this[_0x564f15(0x20f)](_0x38c213,()=>{const _0x4efe60=_0x564f15;if(target===_0x4efe60(0x183)){const _0x436b22=this[_0x4efe60(0xee)](_0x38c213,_0x1f13ef),_0x108c0c=this[_0x4efe60(0x342)](_0x436b22);if(!_0x108c0c||_0x108c0c['task']!==_0x38c213||_0x108c0c[_0x4efe60(0x1bf)]!==_0x1f13ef||![_0x4efe60(0x2ca),'workspace-ready',_0x4efe60(0x304)][_0x4efe60(0x1a4)](_0x108c0c[_0x4efe60(0xf3)]))return error(_0x4efe60(0x287),'A\x20matching\x20unresolved\x20creation\x20intent\x20is\x20required.');if(!_0x382f47||_0x108c0c['args']?.[_0x4efe60(0x1ec)]&&_0x108c0c[_0x4efe60(0x239)]['sessionId']!==_0x382f47)return error('SESSION_MISMATCH',_0x4efe60(0x185));if(PipelineManager[_0x4efe60(0x1c6)](_0x108c0c[_0x4efe60(0x2e9)])||_0x108c0c[_0x4efe60(0x2ed)]&&(typeof _0x108c0c['originWorkspace']!==_0x4efe60(0x114)||normalizePath(_0x108c0c[_0x4efe60(0x2ed)])!==this[_0x4efe60(0x1fe)])||!_0x108c0c[_0x4efe60(0x2ac)]||_0x108c0c[_0x4efe60(0x2ac)][_0x4efe60(0x2b2)]||!_0x108c0c[_0x4efe60(0x2ac)]['path']||normalizePath(_0x108c0c[_0x4efe60(0x2ac)]['path'])!==this['projectPath'])return error('CREATION_WORKSPACE_MISMATCH','Intent\x20ownership\x20or\x20current\x20workspace\x20cannot\x20be\x20proven.');if(this[_0x4efe60(0x174)](_0x38c213,_0x1f13ef)||fs['existsSync'](this[_0x4efe60(0x28f)](_0x38c213,_0x1f13ef))||fs[_0x4efe60(0xd9)](this[_0x4efe60(0x10f)](_0x38c213)))return error('CREATION_RUN_EXISTS',_0x4efe60(0x320));this[_0x4efe60(0x2aa)](_0x436b22,{..._0x108c0c,'status':_0x4efe60(0x2d3),'resolvedAt':this['now']()[_0x4efe60(0x2f4)](),'resolvedBySession':_0x382f47,'resolution':'explicit-creation-reset'});const _0x1f4229={};return _0x1f4229[_0x4efe60(0x16c)]=!![],_0x1f4229[_0x4efe60(0x32e)]=_0x38c213,_0x1f4229[_0x4efe60(0x1bf)]=_0x1f13ef,_0x1f4229[_0x4efe60(0xe5)]=_0x4efe60(0x183),_0x1f4229['intentFile']=_0x436b22,_0x1f4229['state']=_0x4efe60(0x2d3),_0x1f4229[_0x4efe60(0x227)]=!![],_0x1f4229;}const _0x43137e=this[_0x4efe60(0x174)](_0x38c213,_0x1f13ef);if(!_0x43137e)return error(_0x4efe60(0x189),'Run\x20\x22'+_0x1f13ef+_0x4efe60(0x303));const _0x14af85=this[_0x4efe60(0x1c3)](_0x43137e);if(_0x14af85[_0x4efe60(0x1ff)]===_0x4efe60(0x323))return error(_0x14af85[_0x4efe60(0x1a7)],'This\x20run\x20cannot\x20be\x20changed\x20until\x20its\x20contract\x20is\x20verified.');if(_0x43137e['coordinator']&&_0x43137e['coordinator']!==_0x382f47)return error(_0x4efe60(0x132),_0x4efe60(0x18e));const _0x165922=this[_0x4efe60(0x12b)](_0x38c213);if(!_0x165922||_0x165922['runId']!==_0x1f13ef)return error('RUN_MISMATCH',_0x4efe60(0x187));if(!['active','paused'][_0x4efe60(0x1a4)](_0x43137e[_0x4efe60(0xf3)]))return error(_0x4efe60(0x30c),_0x4efe60(0x2b3)+_0x43137e['status']+',\x20not\x20active.');if(_0x43137e['execution']?.[_0x4efe60(0x2f3)][_0x4efe60(0x152)])return error('WORK_IN_FLIGHT',_0x4efe60(0xda));_0x43137e[_0x4efe60(0xf3)]=_0x4efe60(0x246),_0x43137e[_0x4efe60(0x237)]=this[_0x4efe60(0x1ab)]()[_0x4efe60(0x2f4)](),this[_0x4efe60(0x127)](_0x43137e),this['appendLedger'](_0x43137e,_0x4efe60(0x17e),_0x4efe60(0x133));const _0x4f0d90={};return _0x4f0d90[_0x4efe60(0x16c)]=!![],this[_0x4efe60(0x210)](_0x43137e,_0x4f0d90);});}[_0xd8aaed(0x203)](_0x562577,_0x84ccac){const _0x26c8e1=_0xd8aaed,_0x26fab3=PipelineManager[_0x26c8e1(0x108)](_0x562577);if(_0x26fab3)return _0x26fab3;if(!_0x84ccac)return error(_0x26c8e1(0x224),_0x26c8e1(0x2ff));const _0xd801f8=PipelineManager[_0x26c8e1(0x217)](_0x84ccac);if(_0xd801f8)return _0xd801f8;const _0x4d1f84=this[_0x26c8e1(0x328)](_0x562577,_0x84ccac);if(_0x4d1f84?.[_0x26c8e1(0x16c)]===![])return _0x4d1f84;if(!_0x4d1f84)return error(_0x26c8e1(0x189),_0x26c8e1(0x20e)+_0x84ccac+_0x26c8e1(0x303));const _0x4eecf7=this[_0x26c8e1(0x1c3)](_0x4d1f84);if(_0x4eecf7[_0x26c8e1(0x1ff)]===_0x26c8e1(0x323))return error(_0x4eecf7[_0x26c8e1(0x1a7)],_0x26c8e1(0x119));if(![_0x26c8e1(0x2f3),'paused'][_0x26c8e1(0x1a4)](_0x4d1f84[_0x26c8e1(0xf3)]))return error('RUN_NOT_ACTIVE',_0x26c8e1(0x2b3)+_0x4d1f84[_0x26c8e1(0xf3)]+',\x20not\x20resumable.');const _0x573326={};return _0x573326[_0x26c8e1(0x16c)]=!![],this[_0x26c8e1(0x210)](_0x4d1f84,_0x573326);}[_0xd8aaed(0x210)](_0x18a6f3,_0x216354={}){const _0x3264a5=_0xd8aaed,_0x57f18d={};_0x57f18d[_0x3264a5(0x2f7)]=![];const _0x533d2e=this[_0x3264a5(0x1c3)](_0x18a6f3,_0x57f18d),_0x58db8a=_0x18a6f3[_0x3264a5(0x2e2)]===0x3?_0x18a6f3[_0x3264a5(0x106)]:_0x18a6f3[_0x3264a5(0x106)]||PIPELINE_DEFINITIONS[_0x18a6f3['pipeline']],_0x4e2e03={..._0x216354};_0x4e2e03['active']=![],_0x4e2e03['state']=_0x18a6f3[_0x3264a5(0xf3)],_0x4e2e03[_0x3264a5(0x32e)]=_0x18a6f3['task'],_0x4e2e03['runId']=_0x18a6f3[_0x3264a5(0x1bf)],_0x4e2e03[_0x3264a5(0xe6)]=_0x18a6f3[_0x3264a5(0xe6)],_0x4e2e03['compatibility']=_0x533d2e,_0x4e2e03[_0x3264a5(0x323)]=!![],_0x4e2e03[_0x3264a5(0x319)]={},_0x4e2e03[_0x3264a5(0x319)][_0x3264a5(0x14f)]=_0x3264a5(0x121),_0x4e2e03[_0x3264a5(0x319)][_0x3264a5(0x1a7)]=_0x533d2e[_0x3264a5(0x1a7)];if(!_0x58db8a?.[_0x3264a5(0x159)])return _0x4e2e03;const _0x212672=_0x18a6f3['completedSteps']['length'],_0x11ad8e=_0x58db8a['steps'][_0x212672]||null,_0x398d7f={..._0x216354,'active':_0x18a6f3['status']===_0x3264a5(0x2f3),'state':_0x18a6f3[_0x3264a5(0xf3)],'task':_0x18a6f3['task'],'runId':_0x18a6f3[_0x3264a5(0x1bf)],'pipeline':_0x18a6f3[_0x3264a5(0xe6)],'pipeline_name':_0x58db8a[_0x3264a5(0x1dd)],'progress':_0x212672+'/'+_0x58db8a[_0x3264a5(0x159)][_0x3264a5(0x152)],'completed':_0x18a6f3[_0x3264a5(0x297)]['map'](_0x1d2ed8=>_0x1d2ed8['id']),'next_step':_0x11ad8e?{'id':_0x11ad8e['id'],'name':_0x11ad8e[_0x3264a5(0x1dd)],'skill':_0x11ad8e[_0x3264a5(0x144)]}:null,'workspacePath':_0x18a6f3[_0x3264a5(0x2ac)]['path'],'stateRoot':this[_0x3264a5(0x16f)],'ledgerPath':this[_0x3264a5(0x307)](_0x18a6f3[_0x3264a5(0x32e)],_0x18a6f3[_0x3264a5(0x1bf)]),'workspace':_0x18a6f3['workspace'],'compatibility':_0x533d2e,'cancellation':_0x18a6f3[_0x3264a5(0x26d)]||null,'inherited':_0x18a6f3[_0x3264a5(0x345)]||null,'tool_routing':TOOL_ROUTING};if(_0x533d2e[_0x3264a5(0x1ff)]===_0x3264a5(0x323))return{..._0x398d7f,'active':![],'blocked':!![],'nextAction':{'kind':_0x3264a5(0x121),'code':_0x533d2e[_0x3264a5(0x1a7)]}};const _0x2c7770={};_0x2c7770[_0x3264a5(0x14f)]=_0x3264a5(0x1a9);const _0x479051={};_0x479051[_0x3264a5(0x14f)]=_0x3264a5(0x29b);if(_0x18a6f3[_0x3264a5(0x2e2)]===0x3)Object[_0x3264a5(0x17f)](_0x398d7f,{...require('../core/workflow-policy')['response'](_0x18a6f3,_0x11ad8e?.['id']),'schemaVersion':0x3,'versions':_0x18a6f3[_0x3264a5(0x32c)],'acceptance':_0x18a6f3[_0x3264a5(0x205)],'sessionId':_0x18a6f3[_0x3264a5(0x10e)],'workItems':_0x18a6f3[_0x3264a5(0x101)],'plannedItems':_0x18a6f3[_0x3264a5(0x15d)]||[],'execution':_0x18a6f3[_0x3264a5(0x241)],'receiptObservations':_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x176)]||[],'verification_level':_0x18a6f3[_0x3264a5(0x1f2)]?_0x3264a5(0x347):_0x3264a5(0x138),'stop_reason':_0x18a6f3[_0x3264a5(0x241)]['stopReason'],'nextAction':_0x18a6f3[_0x3264a5(0xf3)]===_0x3264a5(0x246)?{'kind':_0x3264a5(0x34a),'reason':_0x18a6f3['cancellation']?.[_0x3264a5(0x1d2)]||_0x3264a5(0x246)}:_0x18a6f3[_0x3264a5(0xf3)]==='completed'?_0x2c7770:_0x18a6f3['status']==='paused'?{'kind':_0x3264a5(0x1df),'reason':_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x166)]}:_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x319)]||_0x479051});if(_0x18a6f3['quality']&&_0x216354[_0x3264a5(0x14c)]===![])_0x398d7f[_0x3264a5(0x1f2)]={'plan':_0x18a6f3[_0x3264a5(0x1f2)][_0x3264a5(0x216)],'freshness':_0x3264a5(0x199),'reason':'snapshot-not-refreshed','checks':Object[_0x3264a5(0x169)](_0x18a6f3[_0x3264a5(0x1f2)][_0x3264a5(0x216)][_0x3264a5(0x2bd)][_0x3264a5(0x24f)](_0x336d05=>[_0x336d05['id'],'unverified'])),'criteria':Object[_0x3264a5(0x169)](_0x18a6f3[_0x3264a5(0x1f2)][_0x3264a5(0x216)][_0x3264a5(0x267)]['map'](_0x1f83cc=>[_0x1f83cc['id'],{'expectedOutcome':_0x1f83cc[_0x3264a5(0x31c)],'source':_0x1f83cc[_0x3264a5(0x10b)],'status':_0x3264a5(0x199)}])),'missingChecks':_0x18a6f3[_0x3264a5(0x1f2)][_0x3264a5(0x216)][_0x3264a5(0x2bd)]['filter'](_0x4c3af4=>_0x4c3af4[_0x3264a5(0x206)]!==![])[_0x3264a5(0x24f)](_0x5939ac=>_0x5939ac['id']),'openFindings':Object[_0x3264a5(0x1f9)](_0x18a6f3[_0x3264a5(0x1f2)]['findings']||{})['filter'](_0x1e053a=>_0x1e053a[_0x3264a5(0x206)]!==![]),'unavailable':_0x18a6f3[_0x3264a5(0x1f2)]['unavailable']||{},'reviewProvenance':[],'impactEscalation':_0x18a6f3['quality']['impactEscalation']||null};else{if(_0x18a6f3[_0x3264a5(0x1f2)]){const _0x5634b5=this[_0x3264a5(0x241)][_0x3264a5(0x1a3)](_0x18a6f3)['id'],_0x5a295d=Object['fromEntries'](_0x18a6f3[_0x3264a5(0x1f2)]['plan'][_0x3264a5(0x2bd)][_0x3264a5(0x24f)](_0x1bc607=>{const _0x3cfc6e=_0x3264a5,_0x26f5e4=_0x18a6f3['execution']['evidence'][_0x3cfc6e(0x272)](_0xda2350=>_0xda2350[_0x3cfc6e(0x1f2)]?.[_0x3cfc6e(0x1e9)]===_0x1bc607['id']&&_0xda2350[_0x3cfc6e(0x1a3)]===_0x5634b5&&_0xda2350[_0x3cfc6e(0xd8)]===_0x18a6f3[_0x3cfc6e(0x205)]['revision']&&!_0xda2350['stale'])['at'](-0x1);return[_0x1bc607['id'],_0x26f5e4&&artifactEvidenceCurrent(_0x18a6f3,_0x26f5e4)?_0x26f5e4[_0x3cfc6e(0x1f2)][_0x3cfc6e(0xf3)]:'unverified'];})),_0x22e1ba=Object['fromEntries'](_0x18a6f3['quality'][_0x3264a5(0x216)]['criteria'][_0x3264a5(0x24f)](_0x16255b=>{const _0x171650=_0x3264a5,_0x4091a6=new Set([..._0x16255b[_0x171650(0x25b)],..._0x18a6f3[_0x171650(0x1f2)][_0x171650(0x216)][_0x171650(0x2bd)]['filter'](_0x2655a5=>_0x2655a5[_0x171650(0x206)]!==![]&&_0x2655a5[_0x171650(0x318)][_0x171650(0x1a4)](_0x16255b['id']))[_0x171650(0x24f)](_0x262bd4=>_0x262bd4['id'])]);return[_0x16255b['id'],{'expectedOutcome':_0x16255b[_0x171650(0x31c)],'source':_0x16255b[_0x171650(0x10b)],'status':[..._0x4091a6]['every'](_0x501ef1=>_0x5a295d[_0x501ef1]==='passed')&&(!_0x18a6f3[_0x171650(0x1f2)][_0x171650(0x216)]['artifactReview']||_0x18a6f3[_0x171650(0x1f2)][_0x171650(0x216)][_0x171650(0x2bd)]['some'](_0x9ef867=>_0x9ef867[_0x171650(0x206)]!==![]&&_0x9ef867[_0x171650(0x2bc)]?.[_0x171650(0x152)]))?_0x171650(0x2d8):[..._0x4091a6][_0x171650(0x25c)](_0x4d0ab5=>_0x5a295d[_0x4d0ab5]===_0x171650(0x134))?_0x171650(0x134):'unverified'}];}));_0x398d7f[_0x3264a5(0x1f2)]={'plan':_0x18a6f3['quality'][_0x3264a5(0x216)],'freshness':_0x3264a5(0x32d),'checks':_0x5a295d,'openFindings':this[_0x3264a5(0x241)][_0x3264a5(0x164)](_0x18a6f3,_0x5634b5),'impactEscalation':_0x18a6f3[_0x3264a5(0x1f2)]['impactEscalation']||null,'criteria':_0x22e1ba,'missingChecks':this['execution'][_0x3264a5(0x2d0)](_0x18a6f3,undefined,_0x5634b5),'unavailable':_0x18a6f3[_0x3264a5(0x1f2)]['unavailable']||{},'reviewProvenance':_0x18a6f3['execution'][_0x3264a5(0x2ae)][_0x3264a5(0x272)](_0x1df7d8=>_0x1df7d8[_0x3264a5(0x10b)]==='agent-review')[_0x3264a5(0x24f)](_0x300e53=>({'evidenceId':_0x300e53['id'],'stage':_0x300e53[_0x3264a5(0x120)]?.[_0x3264a5(0x34b)],'verdict':_0x300e53['review']?.[_0x3264a5(0x330)],'actorSeparated':_0x300e53['actorSeparated'],'artifactsCurrent':artifactEvidenceCurrent(_0x18a6f3,_0x300e53),'hostObservedIndependent':this[_0x3264a5(0x241)][_0x3264a5(0x352)](_0x18a6f3,_0x300e53),'workerHostConfirmed':(_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x176)]||[])['some'](_0x55b286=>_0x55b286[_0x3264a5(0x23a)]===_0x300e53['attemptId']&&_0x55b286[_0x3264a5(0x291)]===_0x3264a5(0x292))||(_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x2b4)]||[])[_0x3264a5(0x25c)](_0x4a8d0d=>_0x4a8d0d[_0x3264a5(0x23a)]===_0x300e53['attemptId']&&_0x4a8d0d[_0x3264a5(0x22d)]?.[_0x3264a5(0x10b)]==='host-observed'),'modelHostConfirmed':(_0x18a6f3['execution'][_0x3264a5(0x176)]||[])[_0x3264a5(0x25c)](_0x4f2757=>_0x4f2757[_0x3264a5(0x23a)]===_0x300e53[_0x3264a5(0x23a)]&&_0x4f2757['modelStatus']===_0x3264a5(0x292))||(_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x2b4)]||[])[_0x3264a5(0x25c)](_0x352c86=>_0x352c86[_0x3264a5(0x23a)]===_0x300e53[_0x3264a5(0x23a)]&&_0x352c86['modelReceipt']?.['source']===_0x3264a5(0x23e)&&_0x352c86[_0x3264a5(0x105)]?.[_0x3264a5(0xf3)]==='confirmed')}))};}else _0x398d7f[_0x3264a5(0x171)]=_0x3264a5(0x146);}if(_0x11ad8e?.['skill']){const _0x321482=_0x18a6f3[_0x3264a5(0x2e2)]===0x3&&_0x18a6f3['skillPins']?.[_0x11ad8e[_0x3264a5(0x144)]]?null:this['requiredSkillError'](_0x11ad8e[_0x3264a5(0x144)],_0x18a6f3[_0x3264a5(0x2ac)][_0x3264a5(0x2ce)]),_0x24d394={};_0x24d394[_0x3264a5(0x2f3)]=![],_0x24d394[_0x3264a5(0x323)]=!![];if(_0x321482)Object[_0x3264a5(0x17f)](_0x398d7f,_0x321482,_0x24d394);else _0x398d7f[_0x3264a5(0x247)]=_0x3264a5(0x2a6)+_0x11ad8e[_0x3264a5(0x144)]+_0x3264a5(0x238)+_0x11ad8e['id']+'\x22.';}if(_0x11ad8e&&[_0x3264a5(0x32f),_0x3264a5(0x102),_0x3264a5(0xe7)][_0x3264a5(0x1a4)](_0x11ad8e['id']))_0x398d7f['domain_skills']=DOMAIN_SKILL_REMINDER;return _0x398d7f;}[_0xd8aaed(0x10c)](_0xef7a70){const _0x194722=_0xd8aaed,_0xe30fa4=[];if(!fs[_0x194722(0xd9)](_0xef7a70))return _0xe30fa4;const _0x3a27a3={};_0x3a27a3[_0x194722(0x331)]=!![];for(const _0x491702 of fs[_0x194722(0x1d4)](_0xef7a70,_0x3a27a3)){if(!_0x491702[_0x194722(0x228)]()||_0x491702[_0x194722(0x1dd)]['startsWith']('.'))continue;const _0x3b76f3=path[_0x194722(0xe9)](_0xef7a70,_0x491702[_0x194722(0x1dd)],'runs');if(!fs['existsSync'](_0x3b76f3))continue;const _0x18f2de={};_0x18f2de[_0x194722(0x331)]=!![];for(const _0x146621 of fs['readdirSync'](_0x3b76f3,_0x18f2de)){if(!_0x146621[_0x194722(0x228)]())continue;const _0x4a6b08=path[_0x194722(0xe9)](_0x3b76f3,_0x146621[_0x194722(0x1dd)]);let _0xc78e91;if(_0xef7a70===this[_0x194722(0x16f)])_0xc78e91=this[_0x194722(0x174)](_0x491702[_0x194722(0x1dd)],_0x146621['name']);else{const _0x822d03={};_0x822d03[_0x194722(0x32e)]=_0x491702[_0x194722(0x1dd)],_0x822d03[_0x194722(0x1bf)]=_0x146621['name'];const _0x595d4c=require('../core/run-checkpoint')[_0x194722(0x19f)](path[_0x194722(0xe9)](_0x4a6b08,_0x194722(0x248)),_0x822d03);_0xc78e91=_0x595d4c?require(_0x194722(0xfb))[_0x194722(0x1f5)](_0x595d4c,_0x4a6b08):new Execution({'runDir':()=>_0x4a6b08})[_0x194722(0x28c)](_0x491702[_0x194722(0x1dd)],_0x146621[_0x194722(0x1dd)],this['readJson'](path[_0x194722(0xe9)](_0x4a6b08,_0x194722(0x2e4))));}if(_0xc78e91&&this[_0x194722(0xdb)](_0xc78e91))_0xe30fa4[_0x194722(0x316)](_0xc78e91);else{if(_0xc78e91)this[_0x194722(0x1f1)](_0xc78e91);}}}return _0xe30fa4;}[_0xd8aaed(0x1b7)](){const _0xda1401=_0xd8aaed;return this[_0xda1401(0x10c)](this[_0xda1401(0x16f)]);}[_0xd8aaed(0x202)](){const _0x1a4e84=_0xd8aaed;return this[_0x1a4e84(0x1b7)]()[_0x1a4e84(0x272)](_0x577965=>_0x577965['status']===_0x1a4e84(0x2f3))[_0x1a4e84(0x24f)](_0x16e63f=>this[_0x1a4e84(0x210)](_0x16e63f));}[_0xd8aaed(0x2d7)](_0x5e453f){const _0x4356a6=_0xd8aaed;let _0x255ca6=![];const _0xc3aba4=(_0x491176,_0x4accf2=0xa0)=>{const _0x5e181d=_0x5ead;if(_0x491176===undefined||_0x491176===null)return null;const _0x5056fb=String(_0x491176);if(_0x5056fb[_0x5e181d(0x152)]<=_0x4accf2)return _0x5056fb;return _0x255ca6=!![],_0x5056fb[_0x5e181d(0x31f)](0x0,_0x4accf2)+_0x5e181d(0x1ae);},_0x94febe=_0x44a145=>![_0x4356a6(0x145),_0x4356a6(0x246)][_0x4356a6(0x1a4)](_0x44a145[_0x4356a6(0x1c2)]),_0x1ca78b=_0x1ce823=>({'code':_0xc3aba4(_0x1ce823['code'],0x50),'task':_0xc3aba4(_0x1ce823[_0x4356a6(0x32e)],0x40),'runId':_0xc3aba4(_0x1ce823[_0x4356a6(0x1bf)],0x20),'path':_0xc3aba4(_0x1ce823[_0x4356a6(0x2ce)],0xf0),'error':_0xc3aba4(_0x1ce823[_0x4356a6(0x1ad)]||_0x1ce823[_0x4356a6(0x33f)],0xf0)}),_0x3314ca={'success':_0x5e453f[_0x4356a6(0x16c)],'active':_0x5e453f[_0x4356a6(0x2f3)],'state':_0x5e453f[_0x4356a6(0x1c2)],'summary':_0x4356a6(0x182),'stateRoot':_0xc3aba4(_0x5e453f[_0x4356a6(0x16f)],0xf0),'pipelines':[..._0x5e453f[_0x4356a6(0x1e6)]][_0x4356a6(0x1d3)]((_0x181782,_0x5e436d)=>Number(_0x94febe(_0x5e436d))-Number(_0x94febe(_0x181782)))[_0x4356a6(0x31f)](0x0,0x8)[_0x4356a6(0x24f)](_0x24d329=>({'task':_0xc3aba4(_0x24d329[_0x4356a6(0x32e)],0x40),'runId':_0xc3aba4(_0x24d329[_0x4356a6(0x1bf)],0x20),'pipeline':_0xc3aba4(_0x24d329[_0x4356a6(0xe6)],0x50),'state':_0xc3aba4(_0x24d329[_0x4356a6(0x1c2)],0x20),'active':_0x24d329[_0x4356a6(0x2f3)],'blocked':_0x24d329['blocked']===!![],'success':_0x24d329[_0x4356a6(0x16c)],'code':_0xc3aba4(_0x24d329['code'],0x50),'error':_0xc3aba4(_0x24d329[_0x4356a6(0x1ad)],0xf0),'resumable':_0x24d329[_0x4356a6(0x323)]!==!![]&&['active',_0x4356a6(0x1df),'initializing'][_0x4356a6(0x1a4)](_0x24d329[_0x4356a6(0x1c2)])&&_0x24d329[_0x4356a6(0x180)]?.[_0x4356a6(0x1ff)]!==_0x4356a6(0x323),'progress':_0xc3aba4(_0x24d329[_0x4356a6(0x2f6)],0x28),'sessionId':_0xc3aba4(_0x24d329['sessionId'],0x80),'workspacePath':_0xc3aba4(_0x24d329[_0x4356a6(0x2af)],0xf0),'next_step':_0x24d329['next_step']?{'id':_0xc3aba4(_0x24d329[_0x4356a6(0x2bb)]['id'],0x50),'name':_0xc3aba4(_0x24d329[_0x4356a6(0x2bb)][_0x4356a6(0x1dd)],0x50),'skill':_0xc3aba4(_0x24d329[_0x4356a6(0x2bb)][_0x4356a6(0x144)],0x50)}:null,'stop_reason':_0xc3aba4(_0x24d329['stop_reason'],0x50),'nextAction':_0x24d329[_0x4356a6(0x319)]?{'kind':_0xc3aba4(_0x24d329[_0x4356a6(0x319)][_0x4356a6(0x14f)],0x50),'reason':_0xc3aba4(_0x24d329[_0x4356a6(0x319)]['reason']),'code':_0xc3aba4(_0x24d329[_0x4356a6(0x319)][_0x4356a6(0x1a7)],0x50)}:null,'compatibility':{'mutation':_0xc3aba4(_0x24d329[_0x4356a6(0x180)]?.['mutation'],0x50),'code':_0xc3aba4(_0x24d329[_0x4356a6(0x180)]?.[_0x4356a6(0x1a7)],0x50)}})),'pendingCreations':_0x5e453f[_0x4356a6(0x1e4)][_0x4356a6(0x31f)](0x0,0x4)['map'](_0x4c5c86=>({'task':_0xc3aba4(_0x4c5c86[_0x4356a6(0x32e)],0x40),'runId':_0xc3aba4(_0x4c5c86['runId'],0x20),'status':_0xc3aba4(_0x4c5c86[_0x4356a6(0xf3)],0x20),'workspacePath':_0xc3aba4(_0x4c5c86['workspace']?.[_0x4356a6(0x2ce)],0xf0),'error':_0x4c5c86[_0x4356a6(0x1ad)]?_0x1ca78b(_0x4c5c86[_0x4356a6(0x1ad)]):null,'availableActions':{'resume':_0x4c5c86['availableActions']?.[_0x4356a6(0x326)]===!![],'abandon':_0x4c5c86[_0x4356a6(0x1e3)]?.['abandon']===!![]}})),'migrationWarnings':_0x5e453f[_0x4356a6(0x151)][_0x4356a6(0x31f)](0x0,0x3)[_0x4356a6(0x24f)](_0x1ca78b),'foreignWorkspaceStates':_0x5e453f[_0x4356a6(0x1b1)][_0x4356a6(0x31f)](0x0,0x3)['map'](_0x1ca78b),'counts':{},'truncated':![],'details':_0x4356a6(0x195)},_0x3a77b1=[_0x4356a6(0x1e6),_0x4356a6(0x1e4),'migrationWarnings','foreignWorkspaceStates'],_0x1b3d18=()=>{const _0x565f7a=_0x4356a6;for(const _0x5b78cc of _0x3a77b1)_0x3314ca[_0x565f7a(0x1a1)][_0x5b78cc]={'total':_0x5e453f[_0x5b78cc][_0x565f7a(0x152)],'displayed':_0x3314ca[_0x5b78cc][_0x565f7a(0x152)],'omitted':_0x5e453f[_0x5b78cc]['length']-_0x3314ca[_0x5b78cc]['length']};Object['assign'](_0x3314ca[_0x565f7a(0x1a1)][_0x565f7a(0x1e6)],{'unfinished':_0x5e453f[_0x565f7a(0x1e6)][_0x565f7a(0x272)](_0x94febe)[_0x565f7a(0x152)],'active':_0x5e453f[_0x565f7a(0x1e6)][_0x565f7a(0x272)](_0x531543=>_0x531543[_0x565f7a(0x1c2)]==='active')[_0x565f7a(0x152)],'paused':_0x5e453f[_0x565f7a(0x1e6)][_0x565f7a(0x272)](_0x13dee8=>_0x13dee8[_0x565f7a(0x1c2)]===_0x565f7a(0x1df))[_0x565f7a(0x152)],'completed':_0x5e453f['pipelines']['filter'](_0x5e0593=>_0x5e0593[_0x565f7a(0x1c2)]===_0x565f7a(0x145))[_0x565f7a(0x152)],'cancelled':_0x5e453f['pipelines'][_0x565f7a(0x272)](_0x3e148a=>_0x3e148a[_0x565f7a(0x1c2)]==='cancelled')[_0x565f7a(0x152)]}),_0x3314ca['truncated']=_0x255ca6||_0x3a77b1[_0x565f7a(0x25c)](_0x12af53=>_0x3314ca['counts'][_0x12af53][_0x565f7a(0x1d5)]>0x0);};_0x1b3d18();while(Buffer[_0x4356a6(0x24e)](JSON[_0x4356a6(0x230)](_0x3314ca))>0xc*0x400){const _0x2c71fb=[_0x4356a6(0x151),'foreignWorkspaceStates',_0x4356a6(0x1e6),_0x4356a6(0x1e4)][_0x4356a6(0x2c9)](_0xfb4e04=>_0x3314ca[_0xfb4e04][_0x4356a6(0x152)]);if(!_0x2c71fb)break;_0x3314ca[_0x2c71fb][_0x4356a6(0x26f)](),_0x1b3d18();}return _0x3314ca;}[_0xd8aaed(0x336)](_0x20e63f,_0x200f95,_0x350346={}){const _0x49966c=_0xd8aaed;try{if(!_0x20e63f){const _0x3ed235=[];if(fs[_0x49966c(0xd9)](this['stateRoot'])){const _0x4a9a33={};_0x4a9a33[_0x49966c(0x331)]=!![];for(const _0x5c1128 of fs['readdirSync'](this[_0x49966c(0x16f)],_0x4a9a33)){if(!_0x5c1128[_0x49966c(0x228)]()||_0x5c1128[_0x49966c(0x1dd)]['startsWith']('.'))continue;const _0x45a779=this[_0x49966c(0x12b)](_0x5c1128[_0x49966c(0x1dd)]);if(_0x45a779&&this[_0x49966c(0xdb)](_0x45a779))_0x3ed235['push'](this[_0x49966c(0x210)](_0x45a779,_0x350346));else{if(_0x45a779)this[_0x49966c(0x1f1)](_0x45a779);}}}const _0x144318={'success':!![],'active':_0x3ed235[_0x49966c(0x25c)](_0x582870=>_0x582870['active']),'state':_0x3ed235[_0x49966c(0x152)]?_0x49966c(0x254):_0x49966c(0x213),'pipelines':_0x3ed235,'stateRoot':this[_0x49966c(0x16f)],'migrationWarnings':this[_0x49966c(0x151)],'foreignWorkspaceStates':this[_0x49966c(0x1b1)]||[],'pendingCreations':this[_0x49966c(0x1e4)](),'message':_0x3ed235[_0x49966c(0x152)]?_0x3ed235[_0x49966c(0x152)]+_0x49966c(0x1e0):_0x49966c(0xfc),'tool_routing':TOOL_ROUTING};return _0x350346[_0x49966c(0xe8)]===_0x49966c(0x182)?this[_0x49966c(0x2d7)](_0x144318):_0x144318;}const _0x5c4652=PipelineManager[_0x49966c(0x108)](_0x20e63f);if(_0x5c4652)return _0x5c4652;if(_0x200f95){const _0x598922=PipelineManager['validateRunId'](_0x200f95);if(_0x598922)return _0x598922;}const _0x113d03=_0x200f95?this['readRun'](_0x20e63f,_0x200f95):this[_0x49966c(0x12b)](_0x20e63f);if(!_0x113d03)return error(_0x49966c(0x189),_0x49966c(0x17b)+_0x20e63f+'\x22.',{'active':![],'state':'none','task':_0x20e63f,'stateRoot':this[_0x49966c(0x16f)],'pendingCreations':this[_0x49966c(0x1e4)](_0x20e63f)});const _0x32439a={..._0x350346};return _0x32439a[_0x49966c(0x16c)]=!![],{...this['formatStatus'](_0x113d03,_0x32439a),'pendingCreations':this[_0x49966c(0x1e4)](_0x20e63f)};}catch(_0x236fb3){if(![_0x49966c(0x322),_0x49966c(0x1f7)][_0x49966c(0x1a4)](_0x236fb3[_0x49966c(0x1a7)]))throw _0x236fb3;return error(_0x49966c(0x2d4),_0x49966c(0x220),{'active':![],'task':_0x20e63f||null,'diagnostic':creationFailure(_0x236fb3,_0x49966c(0x1c1))});}}[_0xd8aaed(0x1f4)](_0x3b5a9b,_0x14ee05){const _0x15633c=_0xd8aaed,_0x362f86=PipelineManager['validateTask'](_0x3b5a9b);if(_0x362f86)return _0x362f86;const _0x43bd64=PipelineManager['validateRunId'](_0x14ee05);if(_0x43bd64)return _0x43bd64;const _0x335a1e=this[_0x15633c(0x174)](_0x3b5a9b,_0x14ee05);if(!_0x335a1e)return error(_0x15633c(0x189),_0x15633c(0x20e)+_0x14ee05+_0x15633c(0x303));if(!_0x335a1e[_0x15633c(0x2ac)]['managed']||_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x24b)]!==_0x15633c(0x1c5))return error(_0x15633c(0x277),'Run\x20does\x20not\x20use\x20a\x20managed\x20worktree.');const _0x2c15c3={};_0x2c15c3[_0x15633c(0x128)]=_0x335a1e['workspace'][_0x15633c(0x2ce)];const _0x5d87c8=this[_0x15633c(0x301)](['status',_0x15633c(0x34e)],_0x2c15c3);if(!_0x335a1e['workspace'][_0x15633c(0x2cc)])return error('WORKTREE_BASE_BRANCH_MISSING',_0x15633c(0x113));const _0x158984=this[_0x15633c(0x301)](['rev-list','--left-right',_0x15633c(0x168),_0x335a1e['workspace']['baseBranch']+_0x15633c(0x1ae)+_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x118)]]),_0xc4a65=this[_0x15633c(0x301)]([_0x15633c(0x337),_0x15633c(0x1f6),_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x2a9)]+_0x15633c(0x1ae)+_0x335a1e[_0x15633c(0x2ac)]['branch']]),[_0x33c2cb='0',_0x4fdc5e='0']=_0x158984['stdout'][_0x15633c(0x21a)](/\s+/);return{'success':_0x5d87c8['ok']&&_0x158984['ok']&&_0xc4a65['ok'],'task':_0x3b5a9b,'runId':_0x14ee05,'workspacePath':_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x2ce)],'branch':_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x118)],'baseRef':_0x335a1e[_0x15633c(0x2ac)]['baseRef'],'baseBranch':_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x2cc)],'clean':_0x5d87c8['ok']&&!_0x5d87c8[_0x15633c(0x2c8)],'status':_0x5d87c8[_0x15633c(0x2c8)],'ahead':Number(_0x4fdc5e),'behind':Number(_0x33c2cb),'changedFiles':_0xc4a65['stdout']?_0xc4a65[_0x15633c(0x2c8)][_0x15633c(0x21a)](/\r?\n/)['filter'](Boolean):[],'mergePerformed':![]};}[_0xd8aaed(0x282)]({task:_0x1e9e06,runId:_0x6dfb83,confirm:_0x537960,sessionId:_0x13b790}={}){const _0x4e5195=_0xd8aaed,_0x474163=PipelineManager['validateTask'](_0x1e9e06);if(_0x474163)return _0x474163;const _0x1c4e57=PipelineManager[_0x4e5195(0x217)](_0x6dfb83);if(_0x1c4e57)return _0x1c4e57;if(_0x537960!==!![])return error(_0x4e5195(0x12e),_0x4e5195(0x29d));return this[_0x4e5195(0x20f)](_0x1e9e06,()=>{const _0x2ebdc8=_0x4e5195,_0x1899f5=this[_0x2ebdc8(0x174)](_0x1e9e06,_0x6dfb83);if(!_0x1899f5)return error(_0x2ebdc8(0x189),'Run\x20\x22'+_0x6dfb83+_0x2ebdc8(0x303));if(_0x1899f5[_0x2ebdc8(0x10e)]&&_0x1899f5[_0x2ebdc8(0x10e)]!==_0x13b790)return error(_0x2ebdc8(0x132),_0x2ebdc8(0x2c5));if(![_0x2ebdc8(0x145),'cancelled'][_0x2ebdc8(0x1a4)](_0x1899f5[_0x2ebdc8(0xf3)]))return error(_0x2ebdc8(0x35e),_0x2ebdc8(0x2e3));if(_0x1899f5[_0x2ebdc8(0x241)]?.['active']?.[_0x2ebdc8(0x152)])return error('WORK_IN_FLIGHT','Stop\x20and\x20release\x20active\x20workers\x20before\x20worktree\x20cleanup.');if(!_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x2b2)]||_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0xf3)]==='removed')return error(_0x2ebdc8(0x277),'No\x20managed\x20worktree\x20is\x20available\x20for\x20cleanup.');const _0x602648={};_0x602648[_0x2ebdc8(0x128)]=_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x2ce)];const _0x5892fb=this[_0x2ebdc8(0x301)]([_0x2ebdc8(0xf3),_0x2ebdc8(0x34e)],_0x602648);if(!_0x5892fb['ok']||_0x5892fb[_0x2ebdc8(0x2c8)])return error(_0x2ebdc8(0x11c),_0x2ebdc8(0x1ef),{'status':_0x5892fb[_0x2ebdc8(0x2c8)]});if(!_0x1899f5['workspace'][_0x2ebdc8(0x2cc)])return error(_0x2ebdc8(0x200),_0x2ebdc8(0x2a1));const _0x5a66a7=this['runGit']([_0x2ebdc8(0x1d7),_0x2ebdc8(0x32b),_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x118)],_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x2cc)]]);if(!_0x5a66a7['ok'])return error('WORKTREE_UNMERGED',_0x2ebdc8(0x35c));const _0x27a419=this[_0x2ebdc8(0x301)]([_0x2ebdc8(0x1c5),_0x2ebdc8(0x15b),_0x1899f5[_0x2ebdc8(0x2ac)]['path']]);if(!_0x27a419['ok'])return error(_0x2ebdc8(0x1d8),_0x27a419[_0x2ebdc8(0x358)]);_0x1899f5[_0x2ebdc8(0x2ac)]['status']=_0x2ebdc8(0x235),_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x2e1)]=this['now']()['toISOString'](),this['writeState'](_0x1899f5),this[_0x2ebdc8(0x2c7)](_0x1899f5,_0x2ebdc8(0x25a),_0x2ebdc8(0x22c)+_0x1899f5[_0x2ebdc8(0x2ac)]['branch']);const _0x4dfd4c={};return _0x4dfd4c[_0x2ebdc8(0x16c)]=!![],_0x4dfd4c[_0x2ebdc8(0x32e)]=_0x1e9e06,_0x4dfd4c[_0x2ebdc8(0x1bf)]=_0x6dfb83,_0x4dfd4c[_0x2ebdc8(0x118)]=_0x1899f5[_0x2ebdc8(0x2ac)]['branch'],_0x4dfd4c['branchDeleted']=![],_0x4dfd4c;});}[_0xd8aaed(0x11d)](){const _0x3a3313=_0xd8aaed,_0x311667=new Set([path[_0x3a3313(0xe9)](this[_0x3a3313(0x1fe)],_0x3a3313(0x24d),_0x3a3313(0x1e6)),this[_0x3a3313(0x16f)]]);for(const _0x4d2154 of _0x311667){if(!fs[_0x3a3313(0xd9)](_0x4d2154))continue;const _0x4375b4={};_0x4375b4['withFileTypes']=!![];for(const _0x1609ff of fs[_0x3a3313(0x1d4)](_0x4d2154,_0x4375b4)){if(!_0x1609ff[_0x3a3313(0x228)]()||_0x1609ff[_0x3a3313(0x1dd)]['startsWith']('.'))continue;const _0xcd913f=path['join'](_0x4d2154,_0x1609ff[_0x3a3313(0x1dd)],_0x3a3313(0x2e4));if(!fs['existsSync'](_0xcd913f))continue;const _0x1d31d7=fs['readFileSync'](_0xcd913f,_0x3a3313(0x160));let _0x3d03dc;try{_0x3d03dc=JSON[_0x3a3313(0x33d)](_0x1d31d7);}catch(_0x5784ba){const _0x480c88={};_0x480c88[_0x3a3313(0x1a7)]=_0x3a3313(0x13f),_0x480c88[_0x3a3313(0x2ce)]=_0xcd913f,_0x480c88[_0x3a3313(0x1ad)]=_0x5784ba[_0x3a3313(0x33f)],this[_0x3a3313(0x151)][_0x3a3313(0x316)](_0x480c88);continue;}if(!_0x3d03dc?.[_0x3a3313(0xe6)]||!PIPELINE_DEFINITIONS[_0x3d03dc[_0x3a3313(0xe6)]]){const _0x321845={};_0x321845['code']='LEGACY_STATE_INVALID',_0x321845['path']=_0xcd913f,_0x321845[_0x3a3313(0x1ad)]='Missing\x20or\x20invalid\x20pipeline.',this[_0x3a3313(0x151)][_0x3a3313(0x316)](_0x321845);continue;}const _0x1e4c36=crypto['createHash'](_0x3a3313(0x2ab))['update'](_0xcd913f+'\x00'+_0x1d31d7)['digest'](_0x3a3313(0x31e)),_0x35aea3=path[_0x3a3313(0xe9)](this['stateRoot'],_0x3a3313(0x211),_0x1e4c36+_0x3a3313(0x298));if(fs[_0x3a3313(0xd9)](_0x35aea3))continue;const _0x3ed566=String(_0x3d03dc['startedAt']||this[_0x3a3313(0x1ab)]()['toISOString']())[_0x3a3313(0x31f)](0x0,0xa)[_0x3a3313(0x271)](/-/g,''),_0x2fecb9=PipelineManager[_0x3a3313(0x108)](_0x1609ff[_0x3a3313(0x1dd)])?_0x3a3313(0xdc)+_0x3d03dc[_0x3a3313(0xe6)]+'-'+_0x3ed566:_0x1609ff['name'];let _0x43ffa2=_0x2fecb9,_0x5a0328=0x0;while(this['readCurrent'](_0x43ffa2)){const _0x5a511f=_0x5a0328++===0x0?_0x1e4c36[_0x3a3313(0x31f)](0x0,0x6):_0x1e4c36[_0x3a3313(0x31f)](0x0,0x4)+'-'+_0x5a0328;_0x43ffa2=_0x2fecb9['slice'](0x0,0x3f-_0x5a511f['length'])+'-'+_0x5a511f;}const _0x3dd490=this[_0x3a3313(0xfa)](),_0x367a42=PIPELINE_DEFINITIONS[_0x3d03dc[_0x3a3313(0xe6)]],_0x8af5f5=(_0x3d03dc[_0x3a3313(0x297)]||[])[_0x3a3313(0x24f)](_0x1994df=>typeof _0x1994df==='string'?{'id':_0x1994df,'summary':_0x3a3313(0xf9),'completedAt':this[_0x3a3313(0x1ab)]()[_0x3a3313(0x2f4)]()}:_0x1994df),_0x5124ea={};_0x5124ea[_0x3a3313(0x24b)]='current',_0x5124ea['path']=this[_0x3a3313(0x1fe)],_0x5124ea[_0x3a3313(0x2b2)]=![],_0x5124ea[_0x3a3313(0xf3)]=_0x3a3313(0x2b0);const _0x14e6d5={'schemaVersion':0x2,'task':_0x43ffa2,'runId':_0x3dd490,'pipeline':_0x3d03dc[_0x3a3313(0xe6)],'status':_0x8af5f5['length']>=_0x367a42[_0x3a3313(0x159)]['length']?'completed':_0x3a3313(0x2f3),'completedSteps':_0x8af5f5,'workspace':_0x5124ea,'startedAt':_0x3d03dc[_0x3a3313(0x1a8)]||this['now']()[_0x3a3313(0x2f4)](),'updatedAt':this['now']()[_0x3a3313(0x2f4)](),'migratedFrom':_0xcd913f},_0x5675d0={};_0x5675d0['setCurrent']=!![],this['writeState'](_0x14e6d5,_0x5675d0);const _0x1b9829=path[_0x3a3313(0xe9)](_0x4d2154,_0x1609ff[_0x3a3313(0x1dd)],'progress.md'),_0xaa1ee9=fs[_0x3a3313(0xd9)](_0x1b9829)?fs[_0x3a3313(0x1a2)](_0x1b9829,_0x3a3313(0x160)):_0x3a3313(0x2a3);this[_0x3a3313(0x2c7)](_0x14e6d5,'1.x\x20task\x20state\x20imported',_0x3a3313(0x29c)+_0xcd913f+'\x0a\x0a'+_0xaa1ee9),this[_0x3a3313(0x2aa)](_0x35aea3,{'source':_0xcd913f,'task':_0x43ffa2,'runId':_0x3dd490,'fingerprint':_0x1e4c36,'migratedAt':this[_0x3a3313(0x1ab)]()['toISOString']()});}}}[_0xd8aaed(0x15f)](){const _0x49dd37=_0xd8aaed;if(!fs[_0x49dd37(0xd9)](this[_0x49dd37(0x1e7)]))return;const _0x4eaf37=fs[_0x49dd37(0x1a2)](this[_0x49dd37(0x1e7)],_0x49dd37(0x160));let _0x1320b2;try{_0x1320b2=JSON['parse'](_0x4eaf37);}catch(_0xb14d88){this[_0x49dd37(0x151)][_0x49dd37(0x316)]({'code':_0x49dd37(0x13f),'path':this['legacyStateFilePath'],'error':_0xb14d88[_0x49dd37(0x33f)]});return;}if(!_0x1320b2?.['pipeline']||!PIPELINE_DEFINITIONS[_0x1320b2[_0x49dd37(0xe6)]]){this[_0x49dd37(0x151)]['push']({'code':'LEGACY_STATE_INVALID','path':this['legacyStateFilePath'],'error':_0x49dd37(0x13c)});return;}const _0x49eefd=crypto['createHash'](_0x49dd37(0x2ab))[_0x49dd37(0x135)](_0x4eaf37)['digest'](_0x49dd37(0x31e)),_0xed0a49=path[_0x49dd37(0xe9)](this[_0x49dd37(0x16f)],_0x49dd37(0x211),_0x49eefd+_0x49dd37(0x298));if(fs['existsSync'](_0xed0a49))return;const _0x215b8d=String(_0x1320b2[_0x49dd37(0x1a8)]||this[_0x49dd37(0x1ab)]()[_0x49dd37(0x2f4)]())['slice'](0x0,0xa)['replace'](/-/g,''),_0x162055=_0x49dd37(0xdc)+_0x1320b2[_0x49dd37(0xe6)]+'-'+_0x215b8d;let _0x4dcf4c=_0x162055,_0x5de50a=0x0;while(fs['existsSync'](this[_0x49dd37(0x25d)](_0x4dcf4c))){const _0x365e3f=_0x5de50a++===0x0?_0x49eefd[_0x49dd37(0x31f)](0x0,0x6):_0x49eefd[_0x49dd37(0x31f)](0x0,0x4)+'-'+_0x5de50a;_0x4dcf4c=_0x162055[_0x49dd37(0x31f)](0x0,0x3f-_0x365e3f['length'])+'-'+_0x365e3f;}const _0x36605e=this[_0x49dd37(0xfa)](),_0x4cdd98=PIPELINE_DEFINITIONS[_0x1320b2[_0x49dd37(0xe6)]],_0x174da1=(_0x1320b2[_0x49dd37(0x297)]||[])['map'](_0x451327=>typeof _0x451327===_0x49dd37(0x114)?{'id':_0x451327,'summary':_0x49dd37(0x16b),'completedAt':this[_0x49dd37(0x1ab)]()[_0x49dd37(0x2f4)]()}:_0x451327),_0x53ae0d={};_0x53ae0d[_0x49dd37(0x24b)]=_0x49dd37(0x28a),_0x53ae0d['path']=this[_0x49dd37(0x1fe)],_0x53ae0d[_0x49dd37(0x2b2)]=![],_0x53ae0d[_0x49dd37(0xf3)]=_0x49dd37(0x2b0);const _0x315bb1={'schemaVersion':0x2,'task':_0x4dcf4c,'runId':_0x36605e,'pipeline':_0x1320b2[_0x49dd37(0xe6)],'status':_0x174da1[_0x49dd37(0x152)]>=_0x4cdd98[_0x49dd37(0x159)][_0x49dd37(0x152)]?_0x49dd37(0x145):_0x49dd37(0x2f3),'completedSteps':_0x174da1,'workspace':_0x53ae0d,'startedAt':_0x1320b2[_0x49dd37(0x1a8)]||this[_0x49dd37(0x1ab)]()[_0x49dd37(0x2f4)](),'updatedAt':this['now']()[_0x49dd37(0x2f4)](),'migratedFrom':this[_0x49dd37(0x1e7)]},_0x46bbaf={};_0x46bbaf['setCurrent']=!![],this[_0x49dd37(0x127)](_0x315bb1,_0x46bbaf),this[_0x49dd37(0x2c7)](_0x315bb1,_0x49dd37(0x26a),_0x49dd37(0x29c)+this['legacyStateFilePath']),this[_0x49dd37(0x2aa)](_0xed0a49,{'source':this[_0x49dd37(0x1e7)],'task':_0x4dcf4c,'runId':_0x36605e,'fingerprint':_0x49eefd,'migratedAt':this[_0x49dd37(0x1ab)]()[_0x49dd37(0x2f4)]()});}static[_0xd8aaed(0x2b1)](_0x37d62f){const _0x5847c3=_0xd8aaed,_0x5001dd=String(_0x37d62f||'')[_0x5847c3(0x296)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/[_0x5847c3(0xf5)](_0x5001dd)){const _0x320c96={};return _0x320c96['suggested_pipeline']=_0x5847c3(0x30d),_0x320c96[_0x5847c3(0x1c8)]=_0x5847c3(0xd7),_0x320c96['reason']='Bug-fix\x20signals\x20detected.',_0x320c96;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/[_0x5847c3(0xf5)](_0x5001dd)){const _0x43d1f8={};return _0x43d1f8['suggested_pipeline']='hotfix',_0x43d1f8[_0x5847c3(0x1c8)]=_0x5847c3(0xd7),_0x43d1f8[_0x5847c3(0x1d2)]=_0x5847c3(0x26b),_0x43d1f8;}const _0xfe2740={};return _0xfe2740[_0x5847c3(0x23d)]='feature',_0xfe2740[_0x5847c3(0x1c8)]=_0x5001dd[_0x5847c3(0x152)]>=0x3?'medium':_0x5847c3(0x16e),_0xfe2740[_0x5847c3(0x1d2)]=_0x5847c3(0x22f),_0xfe2740;}}const _0x3d97d6={};_0x3d97d6[_0xd8aaed(0x321)]=PipelineManager,_0x3d97d6['PIPELINE_DEFINITIONS']=PIPELINE_DEFINITIONS,_0x3d97d6[_0xd8aaed(0x329)]=PIPELINE_DEFINITIONS_V3,module['exports']=_0x3d97d6;