apt-mcp-agent-setup 3.5.11 → 3.5.12

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 (125) hide show
  1. package/bin/cli.js +1 -1
  2. package/bundle/NOTICES.md +0 -0
  3. package/bundle/core.enc +0 -0
  4. package/bundle/mcp-rules.enc +0 -0
  5. package/bundle/skills-aso.enc +0 -0
  6. package/bundle/skills-ba.enc +0 -0
  7. package/bundle/skills-base.enc +0 -0
  8. package/bundle/skills-be.enc +0 -0
  9. package/bundle/skills-design.enc +0 -0
  10. package/bundle/skills-fe.enc +0 -0
  11. package/bundle/skills-marketing.enc +0 -0
  12. package/bundle/skills-mobile.enc +0 -0
  13. package/bundle/skills-pm.enc +0 -0
  14. package/integrity-manifest.json +125 -125
  15. package/package.json +1 -1
  16. package/src/backends/browser-tools.js +1 -1
  17. package/src/backends/index-command.js +1 -1
  18. package/src/backends/index-store.js +1 -1
  19. package/src/backends/profiles.js +1 -1
  20. package/src/core/admission-fence.js +1 -1
  21. package/src/core/aso-import.js +1 -1
  22. package/src/core/caller-context.js +1 -1
  23. package/src/core/catalog.js +1 -1
  24. package/src/core/claude-caller-authority.js +1 -1
  25. package/src/core/claude-invocation.js +1 -1
  26. package/src/core/claude-native.js +1 -1
  27. package/src/core/claude-plan.js +1 -1
  28. package/src/core/claude-worker-transcript.js +1 -1
  29. package/src/core/codex-host-metadata.js +1 -1
  30. package/src/core/codex-transcript-receipt.js +1 -1
  31. package/src/core/context-metrics.js +1 -1
  32. package/src/core/doctor.js +1 -1
  33. package/src/core/draining-completion.js +1 -1
  34. package/src/core/execution.js +1 -1
  35. package/src/core/git-context.js +1 -1
  36. package/src/core/hook-bridge.js +1 -1
  37. package/src/core/host-adapters.js +1 -1
  38. package/src/core/ipc-envelope.js +1 -1
  39. package/src/core/memory-scope.js +1 -1
  40. package/src/core/memory-store.js +1 -1
  41. package/src/core/model-inventory.js +1 -1
  42. package/src/core/model-routing.js +1 -1
  43. package/src/core/native-dispatch.js +1 -1
  44. package/src/core/node-version.js +1 -1
  45. package/src/core/npm-cli.js +1 -1
  46. package/src/core/owned-command-child.js +1 -1
  47. package/src/core/owned-command.js +1 -1
  48. package/src/core/owned-lock.js +1 -1
  49. package/src/core/owned-process.js +1 -1
  50. package/src/core/presentations.js +1 -1
  51. package/src/core/quality-artifacts.js +1 -1
  52. package/src/core/quality.js +1 -1
  53. package/src/core/read-command.js +1 -1
  54. package/src/core/readonly-skill.js +1 -1
  55. package/src/core/resource-transaction.js +1 -1
  56. package/src/core/run-checkpoint.js +1 -1
  57. package/src/core/run-compatibility.js +1 -1
  58. package/src/core/runtime-authority.js +1 -1
  59. package/src/core/runtime-info.js +1 -1
  60. package/src/core/runtime-ownership.js +1 -1
  61. package/src/core/session.js +1 -1
  62. package/src/core/skill-companions.js +1 -1
  63. package/src/core/skill-names.js +1 -1
  64. package/src/core/storage-retry.js +1 -1
  65. package/src/core/tool-contracts.js +1 -1
  66. package/src/core/update-control.js +1 -1
  67. package/src/core/upgrade-runs.js +1 -1
  68. package/src/core/upgrade-stop.js +1 -1
  69. package/src/core/windows-job.js +1 -1
  70. package/src/core/workspace-generation.js +1 -1
  71. package/src/core/workspace-path.js +1 -1
  72. package/src/installer/bounded-command.js +1 -1
  73. package/src/installer/candidate-preflight.js +1 -1
  74. package/src/installer/connection-activation.js +1 -1
  75. package/src/installer/connection-supervisor.js +1 -1
  76. package/src/installer/deployment-draft.js +1 -1
  77. package/src/installer/gateway-context.js +1 -1
  78. package/src/installer/gateway-migration.js +1 -1
  79. package/src/installer/gateway-runtime.js +1 -1
  80. package/src/installer/global-setup.js +1 -1
  81. package/src/installer/hook-context-client.js +1 -1
  82. package/src/installer/host-hooks.js +1 -1
  83. package/src/installer/index-recovery.js +1 -1
  84. package/src/installer/legacy-registration.js +1 -1
  85. package/src/installer/managed-config.js +1 -1
  86. package/src/installer/migration-scope.js +1 -1
  87. package/src/installer/platform-config.js +1 -1
  88. package/src/installer/prerequisites.js +1 -1
  89. package/src/installer/presentations.js +1 -1
  90. package/src/installer/project-outcome.js +1 -1
  91. package/src/installer/project-setup.js +1 -1
  92. package/src/installer/registration-closure.js +1 -1
  93. package/src/installer/registration-plan.js +1 -1
  94. package/src/installer/registration-receipt.js +1 -1
  95. package/src/installer/registrations.js +1 -1
  96. package/src/installer/runtime-activation.js +1 -1
  97. package/src/installer/runtime-child.js +1 -1
  98. package/src/installer/runtime-cleanup.js +1 -1
  99. package/src/installer/runtime-lock.js +1 -1
  100. package/src/installer/runtime-store.js +1 -1
  101. package/src/installer/runtime-supervisor.js +1 -1
  102. package/src/installer/setup-wizard.js +1 -1
  103. package/src/installer/update-addons.js +1 -1
  104. package/src/installer/update-cleanup.js +1 -1
  105. package/src/installer/update-executor.js +1 -1
  106. package/src/installer/update-registration.js +1 -1
  107. package/src/installer/update-request.js +1 -1
  108. package/src/installer/update-scope.js +1 -1
  109. package/src/installer/workspace-registry.js +1 -1
  110. package/src/installer/workspace-transaction.js +1 -1
  111. package/src/installer/workspace-update.js +1 -1
  112. package/src/license/crypto.js +1 -1
  113. package/src/license/fingerprint.js +1 -1
  114. package/src/license/terms.js +1 -1
  115. package/src/license/verify.js +1 -1
  116. package/src/presets/index.js +1 -1
  117. package/src/proxy/backends.js +1 -1
  118. package/src/proxy/browser-sessions.js +1 -1
  119. package/src/proxy/core-tools.js +1 -1
  120. package/src/proxy/pipeline.js +1 -1
  121. package/src/proxy/public-catalog.js +1 -1
  122. package/src/proxy/router.config.js +1 -1
  123. package/src/proxy/router.js +1 -1
  124. package/src/proxy/server.js +1 -1
  125. package/src/proxy/workspace-gateway.js +1 -1
@@ -1 +1 @@
1
- const _0x5d090b=_0x25c3;(function(_0x4d5dae,_0x50557d){const _0xabf025=_0x25c3,_0xbe93ce=_0x4d5dae();while(!![]){try{const _0x354094=-parseInt(_0xabf025(0x31c))/0x1+parseInt(_0xabf025(0x1b8))/0x2*(-parseInt(_0xabf025(0x222))/0x3)+-parseInt(_0xabf025(0x358))/0x4+parseInt(_0xabf025(0x2e0))/0x5*(-parseInt(_0xabf025(0x267))/0x6)+parseInt(_0xabf025(0x177))/0x7+parseInt(_0xabf025(0x2a7))/0x8*(-parseInt(_0xabf025(0x1eb))/0x9)+parseInt(_0xabf025(0x1bc))/0xa*(parseInt(_0xabf025(0x1c2))/0xb);if(_0x354094===_0x50557d)break;else _0xbe93ce['push'](_0xbe93ce['shift']());}catch(_0x59ebc1){_0xbe93ce['push'](_0xbe93ce['shift']());}}}(_0x5743,0xd1a8b));const crypto=require(_0x5d090b(0x285)),fs=require('fs'),os=require('os'),path=require('path'),{spawnSync}=require('child_process'),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0x5d090b(0x2e8)),{inspectRunContract}=require(_0x5d090b(0x1f2)),{artifactEvidenceCurrent}=require(_0x5d090b(0x2aa)),TOOL_ROUTING=_0x5d090b(0x1a6),_0x2593b6={};_0x2593b6[_0x5d090b(0x32f)]=_0x5d090b(0x349),_0x2593b6['to-prd']=_0x5d090b(0x1b4),_0x2593b6[_0x5d090b(0x209)]=_0x5d090b(0x373),_0x2593b6[_0x5d090b(0x293)]=_0x5d090b(0x1ee),_0x2593b6[_0x5d090b(0x379)]='SAVE\x20architecture\x20decisions\x20and\x20findings\x20with\x20remember.';const MEMORY_TRIGGERS=_0x2593b6,DOMAIN_SKILL_REMINDER=['Load\x20the\x20matching\x20domain\x20skill\x20before\x20coding:',_0x5d090b(0x204),_0x5d090b(0x1f9),_0x5d090b(0x291)]['join']('\x0a'),_0x343084={};_0x343084['id']='grill-me',_0x343084[_0x5d090b(0x1ac)]=_0x5d090b(0x36d),_0x343084[_0x5d090b(0x2b8)]=_0x5d090b(0x189);const _0x3cd80a={};_0x3cd80a['id']=_0x5d090b(0x1c4),_0x3cd80a[_0x5d090b(0x1ac)]=_0x5d090b(0x33f),_0x3cd80a[_0x5d090b(0x2b8)]=_0x5d090b(0x22b);const _0x2521fb={};_0x2521fb['id']=_0x5d090b(0x200),_0x2521fb[_0x5d090b(0x1ac)]='Create\x20vertical-slice\x20issues',_0x2521fb[_0x5d090b(0x2b8)]=_0x5d090b(0x1bf);const _0x251ced={};_0x251ced['id']=_0x5d090b(0x293),_0x251ced[_0x5d090b(0x1ac)]='Implement\x20test-first',_0x251ced['skill']='tdd-loop';const _0x779e23={};_0x779e23['id']=_0x5d090b(0x379),_0x779e23['name']=_0x5d090b(0x2a4),_0x779e23['skill']=_0x5d090b(0x1c7);const _0x2db58c={};_0x2db58c['name']=_0x5d090b(0x37f),_0x2db58c[_0x5d090b(0x26b)]=[_0x343084,_0x3cd80a,_0x2521fb,_0x251ced,_0x779e23];const _0x42c208={};_0x42c208['id']=_0x5d090b(0x209),_0x42c208[_0x5d090b(0x1ac)]='Diagnose\x20and\x20reproduce',_0x42c208[_0x5d090b(0x2b8)]=_0x5d090b(0x176);const _0x346f5d={};_0x346f5d['id']=_0x5d090b(0x32f),_0x346f5d[_0x5d090b(0x1ac)]=_0x5d090b(0x2ca),_0x346f5d[_0x5d090b(0x2b8)]='stress-test-plan';const _0x3a39ad={};_0x3a39ad['id']=_0x5d090b(0x1c4),_0x3a39ad[_0x5d090b(0x1ac)]=_0x5d090b(0x2de),_0x3a39ad[_0x5d090b(0x2b8)]=_0x5d090b(0x22b);const _0x1224be={};_0x1224be['id']=_0x5d090b(0x200),_0x1224be[_0x5d090b(0x1ac)]=_0x5d090b(0x21e),_0x1224be[_0x5d090b(0x2b8)]='task-breakdown';function _0x25c3(_0x47c06d,_0x50f2ef){_0x47c06d=_0x47c06d-0x14f;const _0x574302=_0x5743();let _0x25c36b=_0x574302[_0x47c06d];if(_0x25c3['HlvKtH']===undefined){var _0x2e878e=function(_0x2b3696){const _0x2c0526='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2593b6='',_0x343084='';for(let _0x3cd80a=0x0,_0x2521fb,_0x251ced,_0x779e23=0x0;_0x251ced=_0x2b3696['charAt'](_0x779e23++);~_0x251ced&&(_0x2521fb=_0x3cd80a%0x4?_0x2521fb*0x40+_0x251ced:_0x251ced,_0x3cd80a++%0x4)?_0x2593b6+=String['fromCharCode'](0xff&_0x2521fb>>(-0x2*_0x3cd80a&0x6)):0x0){_0x251ced=_0x2c0526['indexOf'](_0x251ced);}for(let _0x2db58c=0x0,_0x42c208=_0x2593b6['length'];_0x2db58c<_0x42c208;_0x2db58c++){_0x343084+='%'+('00'+_0x2593b6['charCodeAt'](_0x2db58c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x343084);};_0x25c3['EBYFnX']=_0x2e878e,_0x25c3['nFTPfr']={},_0x25c3['HlvKtH']=!![];}const _0x4607fd=_0x574302[0x0],_0x4df504=_0x47c06d+_0x4607fd,_0x22cbd2=_0x25c3['nFTPfr'][_0x4df504];return!_0x22cbd2?(_0x25c36b=_0x25c3['EBYFnX'](_0x25c36b),_0x25c3['nFTPfr'][_0x4df504]=_0x25c36b):_0x25c36b=_0x22cbd2,_0x25c36b;}const _0x5544a6={};_0x5544a6['id']=_0x5d090b(0x293),_0x5544a6[_0x5d090b(0x1ac)]=_0x5d090b(0x36a),_0x5544a6[_0x5d090b(0x2b8)]='tdd-loop';function _0x5743(){const _0x4679aa=['CgLWzwXPBMvZ','uMvZzxqGBxvZDcb1C2uGDgHLihjLy29YzgvKignVB3jKAw5HDg9YihnLC3nPB24U','zML4lwfUzc10zxn0','qw5VDgHLCIbYDw4GAxmGy3vYCMvUDdSGCMvJB3zLCNKGy2fUBM90ihjLCgXHy2uGAxrZigjPBMrPBMCU','A2v5CW','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','z2v0u3rHDhvZ','C2TPBgW','v29YA3rYzwuGy2XLyw51CcbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','DMfSAwrHDgvxB3jRC3bHy2u','C3rHDguTD3jPDgu','ChjLCgfYzu1LCMDL','BM9FChjVz3jLC3m','Aw5PDgLHBgL6zq','DhjHBNnHy3rPB25jza','D29YA3nWywnL','ufjprfvdveLptL9qvujmsunFs0vz','y3vYCMvUDc5QC29U','su5wquXjrf9svu5Fsu5qvvq','Aw1Wywn0rxnJywXHDgLVBG','D29YA3rYzwu','y2fUy2vSBgvK','C2HVDY1Yzwy','rvbfuK0','ywnJzxb0yw5Jzq','q2HHBgXLBMDLihrOzsbMAxGGzgvZAwDU','q1jfqvrjt05Fu1vqrvjtrurfra','cImJia','BgLZDfj1BNm','CgfZC2vK','rxHWzwn0zwqGC3rLCcaI','uLvox01ju01bveni','lMXVy2TZ','u2vUC2L0AxzLigzPBgvZihDVDwXKigjLignVBw1PDhrLzc4GqwrKihrOzw0GDg8GlMDPDgLNBM9YzsbHBMqGCMvXDwvZDcbHig5LDYbWCMv2Awv3lG','y3vYCMvUDa','CMvJzwLWDe9IC2vYDMf0Aw9UCW','CMvZB2X2zq','ChjVzhvJDfrHCMDLDa','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','DMvYC2LVBG','yxrVBwLJv3jPDgvkC29U','v09ss19jtL9gteLhsfq','C3vJy2vZCW','CMvJB3jKvMvYAwzPy2f0Aw9Uqxn5BMm','DhjPBq','rg9JDw1LBNqGDgHLigzPEa','DMfSDwvZ','odaWnZG1nvb5qLnOAW','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','vgfZAYbTDxn0igjLigeGBg93zxjJyxnLignHBM9UAwnHBcbjrcb1C2LUzYbSzxr0zxjZlcbUDw1IzxjZlcbOExbOzw5ZlcbVCIb1BMrLCNnJB3jLCYaOBwf4idy0ks4','CMvJB3zLCG','ywn0B3jtzxbHCMf0zwq','uMvWB3nPDg9YEsbPCYbUB3qGy2XLyw4Gywz0zxiGDgHLigjHC2vSAw5LignVBw1PDc4','yxnZAwDU','rxHPC3rPBMCGCNvUigLZihrLCM1PBMfSig9YigjLBg9Uz3mGDg8Gyw5VDgHLCIbJB29YzgLUyxrVCI4','lI4Vy29Yzs9LEgvJDxrPB24','yMfZzw5HBwu','ms54ihrHC2SGC3rHDguGAw1WB3j0zwq','C3LZy2fSBa','C3vNz2vZDgvKx3bPCgvSAw5L','CgLWzwXPBMu','uNvUigLZia','BgvNywn5lw1Pz3jHDgLVBG','zxHWBgLJAxqTy3jLyxrPB24TCMvZzxq','ChjVAMvJDfbHDgG','ls1Nzxq','ueLqruXjtKvFrevgsu5jveLptLnFvJm','yxrVBwLJv3jPDgu','u3rLCcbJB21WBgv0zwq6ia','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','DgfZAW','rufdq0vt','v09ss1rsruvFtK9ux01btKfhruq','yxr0zw1WDeLK','AgfZ','r0Lux1bsrvzjrvDFu1rbteu','sw50zw50ig93BMvYC2HPCcbVCIbJDxjYzw50ihDVCMTZCgfJzsbJyw5UB3qGyMuGChjVDMvUlG','ic0G','C2HHmJu2','C2fTzvDVCMTZCgfJzq','DxbNCMfKzs1SAw5LywDLlMPZB24','yxbWzw5KrMLSzvn5BMm','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','Dg9tDhjPBMC','ueLqruXjtKvFrevgsu5jveLptLm','y2HLy2TWB2LUDa','cK5LEhqGC3rLCdOG','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra','y29UzMLYBwvK','AxnhAxrszxbVC2L0B3j5','q29TCgXLDguGB3iGy2fUy2vSigfJDgL2zsbWAxbLBgLUzxmGyMvMB3jLigLUAxrPywXPEMLUzYbhAxqU','DxnL','tevhqunzx1nuqvrfx0LovKfmsuq','sw52ywXPzcbVD25LCG','CNvU','BwfUywDLza','BMv4DefJDgLVBG','Aw50zw50rMLSzq','C3rYAw5N','C25HChnOB3qTzxzPzgvUy2u','CgLWzwXPBMuTC3rHDguUANnVBG','r0Lux0LosvrFrKfjteve','Bwf4','ywDLBNqTCMv2Awv3','Bxv0yxrPB24','Aw5KzxG','mtqXmdaWmKjHs1LKCq','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','C3rVCfjLyxnVBG','zMLSzq','y3jLyxrPB25jBNrLBNrgAwXL','Aw5PDa','BgLZDfj1BNngCM9TuM9VDa','zxHLy3v0Aw9Uu3rHDhvZ','y29UDhjHy3q','Aw1Wywn0','DgfZA0rPCG','Dg1WzgLY','v09ss1rsruvFuKvnt1zfx0zbsuXfra','zM9YBwf0u3rHDhvZ','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','CMvWywLYuNvU','y3jPDgvYAwe','q2fUBM90igLUAxrPywXPEMuGDgvTCg9Yyxj5ieDPDcbPBMrLEc4','cLj1BJOG','z3jPBgWTBwu','uLvox1jfq09wrvjzx0zbsuXfra','DMvYAwz5q29WAwvKvhjLzq','Dg9ju09tDhjPBMC','ls1WB3jJzwXHAw4','yMfZzvjLzG','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGy2fUy2vSBgLUzYb0AguGCNvUlG','ueLqruXjtKvFtuLttufuq0G','CgvUzgLUz0nYzwf0Aw9UCW','ls1Szwz0lxjPz2H0','B3bLBG','Ag90zML4','lI4Vy29Yzs9ZA2LSBc1Uyw1LCY5QCW','BwLZC2LUz1f1ywXPDhLdAgvJA3m','zxzLCNK','CMvWB3j0CW','u3LUDgHLC2L6zsbquKq','Bg9JA0zPBgu','CxvHBgL0EvzLCNnPB24','C3rKB3v0','B3jPz2LUv29YA3nWywnL','u2f2zwqGy3jLyxrPB24GAw50zw50ignVDwXKig5VDcbIzsbPBNnWzwn0zwqU','y29TCgXLDgvK','CMvJDxjZAxzL','sg90zML4','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','u0fwrsbKzxnPz24GzgvJAxnPB25ZigfUzcbJB25ZDhjHAw50CYb3AxrOihjLBwvTyMvYlG','qundrvbuqu5drv9btfjfqurzx0fdveLwrq','y3jLyxrLsgfZAa','y3jLyxrPBMC','ChjLlwnYzwf0zs1ZDgf0zq','zNjVBuvUDhjPzxm','zMLSDgvY','CMvHzg9UBhK','DgLTzw91Da','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','qwn0AxzLihbPCgvSAw5LCYbJyw5UB3qGyMuGBwLNCMf0zwqGzhvYAw5NieDPDcbPBML0AwfSAxPHDgLVBI4','CMvMCY9OzwfKCY8','CMvTB3zLza','yNjHBMnO','yxr0zw1WDhm','mJuZndyZmLnAB2zWra','Aw50zxjYDxb0zwq','uNvUihvZzxmGCgLWzwXPBMuGiG','CxvHBgL0Eq','rvnsq0G','Aw5JBhvKzxm','vgfZAYaI','zw5JB2rPBMC','vgHPCYbYDw4Gy2fUBM90igjLignOyw5NzwqGDw50AwWGAxrZignVBNrYywn0igLZihzLCMLMAwvKlG','BgvUz3rO','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','C2vW','q2fUBM90ignVBxbHCMuGDgHLihDVCMT0CMvLihDPDgHVDxqGAxrZihjLy29YzgvKigjHC2uGyNjHBMnOlG','y29TCgf0AwjPBgL0Eq','v09ss1rsruvFuefusf9fweLtvfm','ls1XDwLLDa','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','CMvJB3jKrM9YzwLNBLj1BG','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','CgXHDgzVCM0','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','vgHPCYbYDw4GCMvTywLUCYbYzwfKywjSzsWGyNv0igL0CYbOAxn0B3jPy2fSignVBNrYywn0ignHBM5VDcbIzsb2zxjPzMLLzcbMB3iGBxv0yxrPB24U','CMv2Awv3','CgvYC2LZDa','zxHWzwn0zwrpDxrJB21L','zMvHDhvYzq','u0fwrsbYB290ignHDxnLigfUzcbYzxbYB2r1y3rPB24GC3rLChmGD2L0AcbYzw1LBwjLCI4','uNvUici','uMvJB3jKigf0igXLyxn0ig9UzsbHy2nLChrHBMnLignYAxrLCMLVBIbHDcbWAxbLBgLUzv9ZDgfYDdSGAxrZihrLEhqGBxvZDcbTyxrJAcbHihf1ywXPDhLqBgfUignYAxrLCMLVBIbLEhbLy3rLze91DgnVBwuU','C29YDa','BwLNCMf0Aw9Uv2fYBMLUz3m','zxjYB3jpBKv4Axn0','Aw1WCM92zs1HCMnOAxrLy3r1CMu','CgfYC2u','ChjLDMLLD0DPDejVB3rZDhjHCa','y2XVC2vtEw5J','Dw5SAw5Ru3LUyW','DMvYzgLJDa','rMvHDhvYzsbezxzLBg9WBwvUDa','C2L6zq','CMvXDwLYzwq','lMnYzwf0Aw9U','u0vtu0LptL9nsvnnqvrdsa','CNvUr2L0','r2L0igLUAxrPywXPEMf0Aw9UigfUzcbHigjHC2vSAw5LignVBw1PDcbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','BgvKz2vYlxDYAxrL','su5wquXjrf9xt1jlu1bbq0vFtu9erq','B3bLBLn5BMm','r0Lux0jbu0vmsu5fx05pvf9dtevbtG','C2TPBgXFzgLYzwn0AxzL','lM1Pz3jHDgLVBNm','su5wquXjrf9xt1jlu1bbq0u','BM9Uzq','CMvHzhKTzM9YlwfJy2vWDgfUy2u','zMLUzgLUz3m','qurnsvntsu9ox0nptKzmsunu','CMv2lxbHCNnL','C3rHDguUANnVBG','q1jfqvrjt05FuLvox01ju01bveni','C25HChnOB3q','C3rHCNrLzef0','CMvXDwvZDgvKv29YA3nWywnL','C2nOzw1HvMvYC2LVBG','y2HLy2Tjzhm','DxbKyxrLzef0','kg5VigXLz2fJEsbSzwrNzxiP','uMvHzcaUywDLBNrZl3nRAwXSCY8','BgLZDa','C2vZC2LVBKLK','D29YA3rYzwuG','y3jLyxrPB24','CMvKDwnL','z2L0q29TBw9UrgLY','CgLK','r0Lux1bsrvzjrvDFrKfjteve','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGD29YA3rYzwuGy2XLyw51Cc4','Bw9IAwXL','vgHPCYbOAxn0B3jPy2fSihj1BIbPCYbYzwfKywjSzsbIDxqGy2fUBM90igjLihjLyM91BMqGzM9Yig11Dgf0Aw9UlG','C291CMnL','DgvZDa','CMvJB3zLCNLFy29TBwfUzhm','CNvUDgLTzvjVB3q','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','DMfSAwrHDgvuyxnR','CMfUzg9TqNL0zxm','vgHPCYbJCMvHDgLVBIbPBNrLBNqGAgfZigfSCMvHzhKGyMvLBIbYzxnVBhzLzc4GvxnLihbPCgvSAw5Lx3vZzsbMB3iGyw4GzxHPC3rPBMCGCNvUlG','z2vUzxjHDgvsDw5jza','DMfSAwrHDgvsDw5jza','ywjHBMrVBMvK','u0TjteWUBwq','iIb3yxmGBM90igzVDw5KlG','BwvZC2fNzq','y29UzMLN','BwvTB3j5x2fJDgLVBG','CNvUCW','y29UDhjHy3qTDw5HDMfPBgfIBgu','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzdSGBM8GBMv3ihj1BIb3yxmGy3jLyxrLzc4','D3jPDgvgAwXLu3LUyW','zNn5BMntEw5J','BwLNCMf0zuXLz2fJEvn0yxrLCW','zgLHz25VC3rPyW','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','y2fUy2vSvMvYAwzPy2f0Aw9UCW','D3jPDgvtDgf0zq','zw5KC1DPDgG','Aw5PDgLHBgL6zuDPDa','v09ss1rsruvFvu5nrvjhruq','yxbWzw5KtgvKz2vY','zxzPzgvUy2u','ugLWzwXPBMuGC3rHDguGy29WEsb0ExbLig1PC21HDgnOoIa','y3DK','uLvox0Lex1jfuvvjuKve','Cgf0Aa','ueLqruXjtKvFu1rbvevFvu5bvKfjtefcteu','yNvNlwrPywDUB3n0AwnZ','mZa0nJu0mffMCuvpEG','C3rVChbLza','uNvUigrVzxmGBM90ihvZzsbHig1HBMfNzwqGD29YA3rYzwuU','BwLNCMf0zuXLz2fJEvn0yxrL','C3rHDgvsB290','vw5RBM93BIb3B3jRC3bHy2uGBw9KztOG','zMX1DhrLCG','CMvHzfj1BG','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','Aw50zw50lwnVBxbSzxrL','ls1UBY1NCgCTC2LNBG','ls1Uyw1Llw9UBhK','su5wquXjrf9svu5Fsuq','Dhj1BMm','v09ss1rsruvFqKftrv9nsvntsu5h','C3rHBgu','iIbPCYbTAxnZAw5NlG','ls1JywnOzwq','C3rYzxnZlxrLC3qTCgXHBG','y29VCMrPBMf0B3i','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','CMvHzePZB24','BwvKAxvT','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','sg90zML4ihnJB3bLigP1C3rPzMLJyxrPB24GBxvZDcbJB250ywLUigf0igXLyxn0ideWignOyxjHy3rLCNmU','CMvJB3zLCLj1BKLK','uhjVAMvJDcbMAwXLCYbJAgfUz2vKigfMDgvYihbYzxzPzxCUifjLCxvLC3qGysbUzxCGy29UzMLYBwf0Aw9UihrVA2vUlG','yxj0AwzHy3rqyxrOCW','lI4Vy29Yzs9NAxqTy29UDgv4Da','DMvYC2LVBNm','zxHPC3rZu3LUyW','twLNCMf0zwqGzNjVBsaXlNGGDgfZAYbZDgf0zq','lMfNzw50CW','C3rHCNq','z2L0','CMvHzen1CNjLBNq','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','u2f2zwqGy3jLyxrPB24GAw50zw50igHHCYbHBIbPBNzHBgLKihDVCMTZCgfJzsbVCIbIzwXVBMDZihrVigfUB3rOzxiGChjVAMvJDc4','y29TBwL0','y29UzMLKzw5Jzq','D2LUmZi','Aw50zw50lxDVCMTZCgfJzs13CML0zq','CMvHC29U','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','zxHWB3j0CW','lI4U','cLbPCgvSAw5LoIa','zxHWBg9Yzv9JB2rLiezjuLnuigzVCIbJB2rLlIbNCMvWx3nLyxjJAcbptKXzig5VBI1JB2rLicHJB25MAwCVzg9JCY8Uzw52ks4GtM8Gz3jLCcbSB29WCY4','tM8GBwfUywDLzcb3B3jRDhjLzsbPCYbHDMfPBgfIBguGzM9YignSzwfUDxaU','Aw5PDgLHBgL6Aw5N','rgvMyxvSDgLUzYb0BYb0AguGC2fMzxn0igz1BgWGCgLWzwXPBMuU','CMv2lwXPC3q','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','BMfTzq','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','yxj0AwzHy3rszxzPzxC','zxHLy3v0Aw9U','CgXHBG','tgvNywn5ihn0yxrLigLTCg9YDgvK','C3rHDgvgAwXL','y2HLy2TZ','u0fwrsbquKqGC2nVCguGyw5KigTLEsbYzxf1AxjLBwvUDhmGD2L0AcbYzw1LBwjLCI4','zgLMzG','CMvHzezPBgvtEw5J','D29YA3nWywnLugf0Aa','nJC5nefmqK5yua','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','Agv4','yxjNCW','mteWDLv4zuTX','DgvYBwLUywW','uMvZB2X2zsbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','DgfZAY1ICMvHA2rVD24','su5wquXjrf9tq0HftufFvKvsu0LptG','DgrKlwXVB3a','nti5mZiXmvbRCuzUua','BgvNywn5u3rHDgvgAwXLugf0Aa','Dg8TChjK','zxHWzwn0zwrFCgf0Aa','uLvox05pvf9gt1vora','Aw1WCM92zs1JB2rLyMfZzs1HCMnOAxrLy3r1CMu','BwfPBG','C3rYAw5NAwz5','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','Cgf1C2vK','kg5Vihn1Bw1HCNKP','D29YA3nWywnLlxjLC29SDxrPB24','vhjHBNnHy3rPB246ia','ls1JB3vUDa','y3jPDgvYAw9UswrZ','zgv2zwXVCg1LBNrnB2rL','yNjHBMnOrgvSzxrLza','CMvJB3jKvMvYAwzPy2f0Aw9U','y3jLyxrLv29YA3rYzwu','BwfW','zgLYBMfTzq','lMfNlwTPDc13B3jRDhjLzxm','su5wquXjrf9rvufmsvrzx1bmqu4','u1rfuf9pvvrFt0zFt1jervi','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','ls12zxjPzNK','ueLqruXjtKvFu1rbvfvtx1voqvzbsuXbqKXf','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','C3rKzxjY','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','A2LUza','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','CgLUtgvNywn5rgvMAw5PDgLVBG','Bw9Kzq','y3vYCMvUDezPBgu','y29TCgXLDgvKu3rLChm','DxrMoa','ls1ZAg93lwn1CNjLBNq','uKvrvuLsrurFu0TjteXFtuLtu0LorW','yM9VBgvHBG','Bw9KzwXtDgf0Dxm','mJDJzez4uvC','CMvWBgfJzq','C3rHCNrZv2L0Aa','u0fwrsbPBxbSzw1LBNrHDgLVBIbKzwnPC2LVBNmGyw5KihrLC3qGCgf0DgvYBNmGD2L0AcbYzw1LBwjLCI4','ChjLDMLLDW','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','y29Kzq','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','y2HLy2Tjza','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','yNvNzML4','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','zw52','C2TPBgXqAw5Z','tw9IAwXLifvjoIaUywDLBNrZl3nRAwXSCY9TB2jPBguTCNvSzxmVu0TjteWUBwq','CNvUswq','AM9PBG','ls1NAxqTzgLY','uLvox1nusuXmx0fdveLwrq','DMvYAwz5lxnJB3bL','iYbqAxbLBgLUzsbSzwrNzxikcLrHC2S6ia','Dg8TAxnZDwvZ','y2fUy2vSBgf0Aw9U','ChjVzhvJDeLTCgfJDa','uMvXDwLYzwqGCgLWzwXPBMuGC2TPBgWGiG','v2vIifvjoIaUywDLBNrZl3nRAwXSCY91As1ZDhLSzs1YDwXLCY9ts0Lmtc5Tza','BM93','yMfZzujYyw5JAa','y29UzMLYBwf0Aw9Uvg9Rzw4','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','zgLHz25VC2u','q1jfqvrjt05FuLvox0vysvnuuW','y2fUy2vSBgvKqxq','BNb4igfWDc1Ty3aTywDLBNqTC2v0DxaGDxbKyxrLic0TChjVAMvJDcaI','BgvKz2vY','C2v0q3vYCMvUDa','lI4VlI4VCgfJA2fNzs5QC29U','C3rHDhvZ','CMfUzg9Tvvvjra','ChvZAa','yxb0lw1JCc1Hz2vUDa','v09ss1rsruvFreLsvfK','y2fUtxv0yxrL','BMf0AxzLlxDVCMT0CMvL','BMv3lxj1BI1Yzxf1AxjLza','ls1IyxjL','CMvXDwLYzwrtA2LSBevYCM9Y','BwvYz2uTyMfZzq','uLvox05pvf9bq1rjvKu','zgvMAw5PDgLVBG','ruvysvnu','q3jLyxrLihrYywnRAw5NigLZC3vLCW','CNvUrgLY','uNvUignHBMnLBgXLza','sevbra','odC5qwPrs0TR','D2L0AeXVy2S','lNrTCa','vefts19btfjfqurzx0fdveLwrq','CMvMCMvZAfnUyxbZAg90','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','ugLWzwXPBMuGC3rHDguGy29WEsbLBNrYAwvZig1PC21HDgnOoIa','zgLYzwn0B3j5','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','ChjKlwDLBG','BgvNywn5lq','y3jLyxrLzef0','u3vWCg9YDgvKihbPCgvSAw5LihzLCNnPB25ZigfYzsaYigfUzcaZlG','BM9qCM9NCMvZCW','Dg9mB2nHBgvmB3DLCKnHC2u','CMv2AxnPB24','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','Ag9ZDc1VyNnLCNzLza','BxrPBwvnCW','BMv4Da','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','qNvNlwzPEcbZAwDUywXZigrLDgvJDgvKlG','iIWGBM90ici','lcbUB3qGCMvZDw1HyMXLlG','ls1PCY1HBMnLC3rVCG','Dg9mB3DLCKnHC2u','yxb0lw1JCc1NAxqTChjLDMLLDY0','su5wquXjrf9dsevds1bpsu5ux1nuqvrvuW','CMvHzgrPCLn5BMm','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','CMvZB2X2zvDVCMTZCgfJzq','y29WEuzPBgvtEw5J','v09ss0vsx1nut1bFvu5dt05gsvjnruq','D2L0AezPBgvuExbLCW','lMDPDgLNBM9Yzq','zNjLC2HtDgfYDef2ywLSywjSzq','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','D2LUzg93C0HPzgu','vxbNCMfKzsbJyw5JzwXSyxrPB24GCMvXDwLYzxmGDgHLign1CNjLBNqGzNjVEMvUihrYyw5Zywn0Aw9UlG','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','C3rHDfn5BMm','Aw5OzxjPDgvK','yxb0lW','y29UDgLUDwu','se9urKLyx1ndt1bfx1jfuvvjuKve','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','CgXHBM5LzeL0zw1Z','BgvNywn5lxn1Bw1HCNK','C2XPy2u','Aw5OzxjPDfvWz3jHzgvdB250zxH0','CNvUDgLTzvb1yMXPy0TLEq','q2fUy2vSBgvKigj5igv4CgXPy2L0ihjLCxvLC3qUieHPC3rVCNKGD2fZihbYzxnLCNzLzc4','Bw9KzwXszwnLAxb0','C2LNBMvKlxjLBgvHC2u','zg9JDw1LBNqTyxj0AwzHy3q','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','su5wquXjrf9qsvbfteLorq','zNjVEMvU','Aw5ZDgfSBgvKuNvUDgLTzvjVB3q','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','BgvKz2vYrMLSzq','C2TPBgXZ','yMXVy2TLza','B3DUC1j1BG','DMvYAwzPy2f0Aw9Ux2XLDMvS','D29YA2vYu3rHDhvZ','q1jfqvrjt05FquXsrufewv9srvnptfzfra','nKnfDNrHwq','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','Bg93','Aw5PDgLHBgL6zwq','C3rLChm','iIWGCMvJzwL2zwqGiG','CMvJB3zLCNLFy29TBwfUza','CMvWBgf5','AgfZtgvNywn5u3rHDgu','y2XVC2vK','lMfNzw50CY9WAxbLBgLUzxmV','lMPZB24','y2fUy2vSrM9YvxbNCMfKzq','B3bLBKzPBMrPBMDZ','D29YA3nWywnLlxjLywr5','DxbKyxrL','qMfZzsbJAgvJA291DcbTDxn0igjLignSzwfUigjLzM9YzsbJCMvHDgLUzYbHihDVCMT0CMvLlG','zgLNzxn0','BgLZDefJDgL2zvbPCgvSAw5LCW','ugLWzwXPBMuGC3rHCNrLza','zxjYB3i','C3vNz2vZDfrHC2S','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','BgvNywn5rgvMAw5PDgLVBNm','y2XHC3nPzNLszxf1zxn0','CMvJB3zLCKnYzwf0Aw9U','D29YA3nWywnLigzPzwXKCYbOyxzLigLUDMfSAwqGDhLWzxmU','Dw5HDMfPBgfIBgu','y3j5ChrV','CMvUyw1Lu3LUyW','ru5pru5u','BxvSDgK','C2nVCgu','AxnmAw5RzwrxB3jRDhjLzq','Dw52zxjPzMLLza','CMvHzhK','lI4VBgLJzw5Zzs92zxjPzNK','DgfYz2v0','ywnJzxb0yw5JzunYAxrLCMLH','q3jLyxrPB24GywXYzwfKEsbOyxmGCNvUihn0yxrLig9YigeGy3vYCMvUDcbIAw5KAw5NoYbPDcbJyw5UB3qGyMuGywjHBMrVBMvKlG','rMX1DhrLCJOGC2vSzwn0ihrOzsb0yxnRlxnWzwnPzMLJiezSDxr0zxiGC2TPBgWU','DgfYz2v0vMvYC2LVBG','DgrK','uMvWB3nPDg9YEsbOyxmGBM8GyMfZzsbJB21TAxqU','C29Tzq','BwTKAxjtEw5J','Aw52ywXPza','BwLNCMf0zvn0yxrLuM9VDa','CNvUDgLTzs11CgDYywrL','CNvUDgLTzvbPBG','CgvUzgLUz0nYzwf0Aw9U','C3bSAxq','CMvZB2X2zwq','zM9Yy2u','CNvUDgLTzvzLCNnPB24','Bg9JA1rPBwvVDxrnCW','ywrK','D2vI','BgfZDezHAwX1CMu','uMv2Awv3igfYy2HPDgvJDhvYzq','u291CMnLihjLDgfPBMvKigf0ia','ywnXDwLYzuXVy2S','nJeWotC2uefOvwrl','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','lI4Vy29Yzs9XDwfSAxr5lwfYDgLMywn0CW','AxneAxjLy3rVCNK','yxv0BW','yxr0zw1WDf9SAw1PDa','ywn0AxzL','q1jfqvrjt05FtK9ux1nuqvjuruq'];_0x5743=function(){return _0x4679aa;};return _0x5743();}const _0x436420={};_0x436420[_0x5d090b(0x1ac)]='Bug\x20Fix',_0x436420[_0x5d090b(0x26b)]=[_0x42c208,_0x346f5d,_0x3a39ad,_0x1224be,_0x5544a6];const _0x4b85a8={};_0x4b85a8['id']='verify-scope',_0x4b85a8[_0x5d090b(0x1ac)]=_0x5d090b(0x24b),_0x4b85a8['skill']=null;const _0x2a6fc5={};_0x2a6fc5['id']=_0x5d090b(0x2b2),_0x2a6fc5[_0x5d090b(0x1ac)]=_0x5d090b(0x2b5),_0x2a6fc5[_0x5d090b(0x2b8)]=_0x5d090b(0x1c1);const _0x43725b={};_0x43725b['name']=_0x5d090b(0x347),_0x43725b[_0x5d090b(0x26b)]=[_0x4b85a8,_0x2a6fc5];const _0x528919={};_0x528919[_0x5d090b(0x372)]=_0x2db58c,_0x528919[_0x5d090b(0x1f5)]=_0x436420,_0x528919[_0x5d090b(0x33a)]=_0x43725b;const PIPELINE_DEFINITIONS=_0x528919,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(_0x283821,_0x5ac6fe,_0x3b2899={}){const _0x33862d={'success':![],'code':_0x283821,'error':_0x5ac6fe,..._0x3b2899};return _0x33862d;}function creationFailure(_0x3e9bbf,_0x5bea6b){const _0x6c53b=_0x5d090b;return{'phase':_0x5bea6b,'code':typeof _0x3e9bbf['code']===_0x6c53b(0x314)?_0x3e9bbf[_0x6c53b(0x1f1)]:'UNKNOWN','syscall':typeof _0x3e9bbf['syscall']===_0x6c53b(0x314)?_0x3e9bbf[_0x6c53b(0x2eb)]:null,'path':typeof _0x3e9bbf[_0x6c53b(0x174)]==='string'?_0x3e9bbf['path']:null,'message':typeof _0x3e9bbf[_0x6c53b(0x15f)]===_0x6c53b(0x314)?_0x3e9bbf['message'][_0x6c53b(0x254)](0x0,0xf0):null};}function normalizePath(_0x485e2e){const _0x3f04d1=_0x5d090b;try{return fs['realpathSync'](_0x485e2e);}catch{return path[_0x3f04d1(0x2d5)](_0x485e2e);}}function overlappingScope(_0x116f9f=[],_0x5b0597=[],_0x3ca98a){const _0x5ec384=_0x5d090b;if(!_0x116f9f[_0x5ec384(0x361)]||!_0x5b0597[_0x5ec384(0x361)]||[..._0x116f9f,..._0x5b0597][_0x5ec384(0x295)](_0xdf2052=>/[*?\[\]{}!]/[_0x5ec384(0x153)](_0xdf2052)))return!![];const _0x30c9f0=_0x26ba3f=>{const _0x3a1fcd=_0x5ec384,_0x3d7587=normalizePath(path[_0x3a1fcd(0x2d5)](_0x3ca98a,_0x26ba3f['replaceAll']('\x5c','/')));return process['platform']===_0x3a1fcd(0x19f)?_0x3d7587[_0x3a1fcd(0x23c)]():_0x3d7587;};return _0x116f9f[_0x5ec384(0x295)](_0x44254b=>_0x5b0597[_0x5ec384(0x295)](_0x5d9081=>{const _0x277f49=_0x5ec384,_0x5ed3fa=_0x30c9f0(_0x44254b),_0x57e5b7=_0x30c9f0(_0x5d9081);return _0x5ed3fa===_0x57e5b7||_0x5ed3fa[_0x277f49(0x1ed)](_0x57e5b7+path[_0x277f49(0x363)])||_0x57e5b7[_0x277f49(0x1ed)](_0x5ed3fa+path[_0x277f49(0x363)]);}));}function sleep(_0x4cc3f2){Atomics['wait'](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x4cc3f2);}class PipelineManager{constructor(_0x24d918,_0x1e7ef2={}){const _0x1bea57=_0x5d090b;this['projectPath']=normalizePath(_0x24d918),this['env']=_0x1e7ef2[_0x1bea57(0x1f7)]||process.env,this[_0x1bea57(0x155)]=_0x1e7ef2['runtimeRoot']||process.env.APT_RUNTIME_ROOT||require('../core/runtime-info')[_0x1bea57(0x25e)](),this[_0x1bea57(0x256)]=_0x1e7ef2['publicKey']||require(_0x1bea57(0x28d))[_0x1bea57(0x2c1)],this[_0x1bea57(0x1d1)]=!fs[_0x1bea57(0x195)](path['join'](__dirname,'..','..','integrity-manifest.json')),this['now']=_0x1e7ef2[_0x1bea57(0x205)]||(()=>new Date()),this[_0x1bea57(0x158)]=_0x1e7ef2[_0x1bea57(0x158)]||crypto[_0x1bea57(0x158)],this[_0x1bea57(0x2a0)]=_0x1e7ef2[_0x1bea57(0x2a0)]||0x7d0,this[_0x1bea57(0x377)]=[],this['execution']=new Execution(this),this[_0x1bea57(0x1dd)]();if(_0x1e7ef2['migrate']!==![])this[_0x1bea57(0x167)]();}static[_0x5d090b(0x27c)](_0x46f469){const _0x3393ac=_0x5d090b;if(typeof _0x46f469!==_0x3393ac(0x314))return'';return _0x46f469['toLowerCase']()[_0x3393ac(0x2dd)]()[_0x3393ac(0x1ec)](/[^a-z0-9_-]+/g,'-')[_0x3393ac(0x1ec)](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')['slice'](0x0,0x40);}static['validateTask'](_0x5ee714){const _0x16c856=_0x5d090b;if(typeof _0x5ee714!==_0x16c856(0x314)||!_0x5ee714[_0x16c856(0x2dd)]())return error('TASK_REQUIRED',_0x16c856(0x18b));if(_0x5ee714!==_0x5ee714[_0x16c856(0x2dd)]()||!TASK_PATTERN[_0x16c856(0x153)](_0x5ee714))return error('INVALID_TASK_ID',_0x16c856(0x2e2),{'suggested_task':PipelineManager[_0x16c856(0x27c)](_0x5ee714)});return null;}static[_0x5d090b(0x15b)](_0x3facf6){const _0x3577ba=_0x5d090b;if(typeof _0x3facf6!==_0x3577ba(0x314)||!RUN_PATTERN[_0x3577ba(0x153)](_0x3facf6))return error(_0x3577ba(0x183),'runId\x20must\x20be\x20a\x20server-generated\x20pipeline\x20run\x20ID.');return null;}static[_0x5d090b(0x2ba)](_0x376030){const _0x2e096d=_0x5d090b;if(_0x376030===undefined)return null;if(!_0x376030||typeof _0x376030!=='object'||Array['isArray'](_0x376030))return error(_0x2e096d(0x38c),'workspace\x20must\x20be\x20an\x20object\x20with\x20mode\x20auto,\x20current,\x20or\x20worktree.');const _0x31957c=new Set([_0x2e096d(0x1e3),_0x2e096d(0x30a),_0x2e096d(0x16d),_0x2e096d(0x207),_0x2e096d(0x334)]);if(Object[_0x2e096d(0x2b4)](_0x376030)[_0x2e096d(0x295)](_0x1a46b1=>!_0x31957c[_0x2e096d(0x2fb)](_0x1a46b1)))return error(_0x2e096d(0x38c),'workspace\x20contains\x20an\x20unsupported\x20field;\x20select\x20the\x20workspace\x20through\x20the\x20MCP\x20server\x20binding.');if(_0x376030[_0x2e096d(0x1e3)]!==undefined&&![_0x2e096d(0x2ac),_0x2e096d(0x2d3),'worktree'][_0x2e096d(0x35d)](_0x376030[_0x2e096d(0x1e3)]))return error('INVALID_WORKSPACE',_0x2e096d(0x32a));if([_0x2e096d(0x30a),'initializeGit'][_0x2e096d(0x295)](_0x355947=>_0x376030[_0x355947]!==undefined&&typeof _0x376030[_0x355947]!==_0x2e096d(0x1e9))||[_0x2e096d(0x207),_0x2e096d(0x334)][_0x2e096d(0x295)](_0x3679d6=>_0x376030[_0x3679d6]!==undefined&&typeof _0x376030[_0x3679d6]!==_0x2e096d(0x314)))return error('INVALID_WORKSPACE',_0x2e096d(0x283));return null;}['runGit'](_0x2e1554,_0x545b99={}){const _0x1c0d4f=_0x5d090b,_0x102558={};_0x102558[_0x1c0d4f(0x172)]=_0x545b99['cwd']||this[_0x1c0d4f(0x2f1)],_0x102558[_0x1c0d4f(0x1f7)]={...this[_0x1c0d4f(0x1f7)],..._0x545b99[_0x1c0d4f(0x1f7)]||{}},_0x102558[_0x1c0d4f(0x35f)]=_0x1c0d4f(0x1e6),_0x102558[_0x1c0d4f(0x249)]=!![],_0x102558[_0x1c0d4f(0x351)]=_0x545b99[_0x1c0d4f(0x351)]||0x7530;const _0x542525=spawnSync('git',_0x2e1554,_0x102558);return{'ok':!_0x542525[_0x1c0d4f(0x27b)]&&_0x542525[_0x1c0d4f(0x210)]===0x0,'status':_0x542525['status'],'stdout':(_0x542525[_0x1c0d4f(0x342)]||'')[_0x1c0d4f(0x2dd)](),'stderr':(_0x542525[_0x1c0d4f(0x1de)]||_0x542525[_0x1c0d4f(0x27b)]?.[_0x1c0d4f(0x15f)]||'')['trim']()};}[_0x5d090b(0x1dd)](){const _0x42f6a3=_0x5d090b,_0x4ce74a=require(_0x42f6a3(0x193))['repositoryContext'](this[_0x42f6a3(0x2f1)],this[_0x42f6a3(0x1f7)]);this[_0x42f6a3(0x30b)]=_0x4ce74a['isGitRepository'],this[_0x42f6a3(0x3a1)]=_0x4ce74a[_0x42f6a3(0x3a1)]?normalizePath(_0x4ce74a[_0x42f6a3(0x3a1)]):null,this[_0x42f6a3(0x17b)]=this['gitCommonDir']?path[_0x42f6a3(0x1fb)](this[_0x42f6a3(0x3a1)],_0x42f6a3(0x213),_0x42f6a3(0x2b0)):path['join'](this['projectPath'],_0x42f6a3(0x197),_0x42f6a3(0x2b0)),this[_0x42f6a3(0x1c3)]=path[_0x42f6a3(0x1fb)](this[_0x42f6a3(0x2f1)],_0x42f6a3(0x197),_0x42f6a3(0x316));}[_0x5d090b(0x15a)](){const _0x4a3db5=_0x5d090b,_0x27a2b5=this[_0x4a3db5(0x205)]()[_0x4a3db5(0x332)]()[_0x4a3db5(0x1ec)](/[-:]/g,'')[_0x4a3db5(0x1ec)](/\.\d{3}/,'');return _0x27a2b5+'-'+this[_0x4a3db5(0x158)](0x4)[_0x4a3db5(0x305)]('hex');}[_0x5d090b(0x326)](_0x178e94){const _0xf8c29f=_0x5d090b;return path[_0xf8c29f(0x1fb)](this[_0xf8c29f(0x17b)],_0x178e94);}['runDir'](_0x1198e2,_0x552306){const _0x23d9b5=_0x5d090b;return path[_0x23d9b5(0x1fb)](this[_0x23d9b5(0x326)](_0x1198e2),'runs',_0x552306);}[_0x5d090b(0x1e4)](_0x23e9a0){const _0x425cc3=_0x5d090b;return path['join'](this[_0x425cc3(0x326)](_0x23e9a0),_0x425cc3(0x2c2));}['stateFile'](_0x4c952e,_0x2116eb){const _0x58f8d7=_0x5d090b;return path[_0x58f8d7(0x1fb)](this['runDir'](_0x4c952e,_0x2116eb),'state.json');}['ledgerFile'](_0x29f5c9,_0x217531){const _0xc79100=_0x5d090b;return path['join'](this[_0xc79100(0x21f)](_0x29f5c9,_0x217531),'progress.md');}['atomicWrite'](_0x281fa7,_0x5ab210){const _0x243e39=_0x5d090b,_0x151e59={};_0x151e59[_0x243e39(0x346)]=!![],fs[_0x243e39(0x296)](path[_0x243e39(0x1d6)](_0x281fa7),_0x151e59);const _0x421b9d=_0x281fa7+'.'+process['pid']+'.'+this['randomBytes'](0x4)[_0x243e39(0x305)](_0x243e39(0x1ba))+_0x243e39(0x224),_0x960deb=fs[_0x243e39(0x388)](_0x421b9d,'wx');try{fs[_0x243e39(0x165)](_0x960deb,_0x5ab210,_0x243e39(0x1e6)),fs[_0x243e39(0x166)](_0x960deb);}finally{fs[_0x243e39(0x37c)](_0x960deb);}fs[_0x243e39(0x286)](_0x421b9d,_0x281fa7);}[_0x5d090b(0x2d9)](_0x5e80bb,_0x136e47){const _0x3c7e45=_0x5d090b;this['atomicWrite'](_0x5e80bb,JSON[_0x3c7e45(0x1c9)](_0x136e47,null,0x2)+'\x0a');}[_0x5d090b(0x340)](_0x24b5be){const _0xc649ec=_0x5d090b;return path[_0xc649ec(0x1fb)](this[_0xc649ec(0x17b)],_0xc649ec(0x2d1),_0x24b5be+'.lock');}['acquireLock'](_0x5b9cd8){const _0x43a09c=_0x5d090b,_0x1527db=this[_0x43a09c(0x340)](_0x5b9cd8),_0x13a5ae={};_0x13a5ae[_0x43a09c(0x346)]=!![],fs[_0x43a09c(0x296)](path[_0x43a09c(0x1d6)](_0x1527db),_0x13a5ae);const _0xcf06c7=Date['now'](),_0x3de940=JSON['stringify']({'pid':process['pid'],'token':crypto[_0x43a09c(0x211)](),'createdAt':Date['now']()});while(Date['now']()-_0xcf06c7<=this[_0x43a09c(0x2a0)]){try{const _0x34005b=fs['openSync'](_0x1527db,'wx');try{fs['writeFileSync'](_0x34005b,_0x3de940),fs[_0x43a09c(0x166)](_0x34005b);}finally{fs['closeSync'](_0x34005b);}return()=>{const _0xbed79d=_0x43a09c;try{if(fs['readFileSync'](_0x1527db,_0xbed79d(0x1e6))===_0x3de940)fs[_0xbed79d(0x37d)](_0x1527db);}catch{}};}catch(_0x5673f3){if(_0x5673f3[_0x43a09c(0x1f1)]!==_0x43a09c(0x21d))throw _0x5673f3;try{const _0x1e332e=JSON['parse'](fs[_0x43a09c(0x1b6)](_0x1527db,'utf8'));let _0x4346d2=!![];if(!Number['isSafeInteger'](_0x1e332e[_0x43a09c(0x3a2)])||_0x1e332e[_0x43a09c(0x3a2)]<=0x0)throw new Error(_0x43a09c(0x30f));try{process['kill'](_0x1e332e[_0x43a09c(0x3a2)],0x0);}catch(_0x145c7a){_0x4346d2=_0x145c7a[_0x43a09c(0x1f1)]!==_0x43a09c(0x35c);}if(!_0x4346d2&&Date[_0x43a09c(0x205)]()-_0x1e332e[_0x43a09c(0x22d)]>this[_0x43a09c(0x2a0)]){fs['unlinkSync'](_0x1527db);continue;}}catch{}sleep(0x14);}}const _0x8af353={};_0x8af353[_0x43a09c(0x1f1)]='PIPELINE_STATE_LOCKED';throw Object['assign'](new Error('Pipeline\x20state\x20is\x20locked\x20for\x20task\x20\x22'+_0x5b9cd8+'\x22.'),_0x8af353);}[_0x5d090b(0x223)](_0x1cfb61,_0x81b16b){const _0x4f7cae=_0x5d090b;let _0xf06924;try{return _0xf06924=this[_0x4f7cae(0x2a6)](_0x1cfb61),_0x81b16b();}catch(_0x468d74){if(_0x468d74[_0x4f7cae(0x1f1)]==='PIPELINE_STATE_LOCKED')return error(_0x468d74['code'],_0x468d74[_0x4f7cae(0x15f)]);throw _0x468d74;}finally{if(_0xf06924)_0xf06924();}}[_0x5d090b(0x26f)](){const _0x4c684c=_0x5d090b;if(fs[_0x4c684c(0x195)](this[_0x4c684c(0x1c3)]))return!![];const _0x554007=new Set([path['join'](this[_0x4c684c(0x2f1)],'.agents',_0x4c684c(0x2b0)),this[_0x4c684c(0x17b)]]);for(const _0x29f703 of _0x554007){if(!fs[_0x4c684c(0x195)](_0x29f703))continue;const _0x90d52a={};_0x90d52a[_0x4c684c(0x244)]=!![];if(fs[_0x4c684c(0x23f)](_0x29f703,_0x90d52a)[_0x4c684c(0x295)](_0x387941=>_0x387941[_0x4c684c(0x2ab)]()&&!_0x387941['name']['startsWith']('.')&&fs[_0x4c684c(0x195)](path[_0x4c684c(0x1fb)](_0x29f703,_0x387941[_0x4c684c(0x1ac)],_0x4c684c(0x392)))))return!![];}return![];}[_0x5d090b(0x167)](){const _0x471e10=_0x5d090b;if(!this[_0x471e10(0x26f)]())return;const _0x1c465f=this[_0x471e10(0x2a6)](_0x471e10(0x2ef));try{this[_0x471e10(0x17a)](),this[_0x471e10(0x2b6)]();}finally{_0x1c465f();}}['readJson'](_0x477b9e){const _0x3cf97f=_0x5d090b;try{return JSON[_0x3cf97f(0x37a)](fs[_0x3cf97f(0x1b6)](_0x477b9e,_0x3cf97f(0x1e6)));}catch(_0x5f1445){if(_0x5f1445['code']!==_0x3cf97f(0x287)&&!(_0x5f1445 instanceof SyntaxError))throw _0x5f1445;return null;}}[_0x5d090b(0x19a)](_0x296d14){const _0x511995=_0x5d090b,_0x43107c=this[_0x511995(0x18c)](this['currentFile'](_0x296d14));if(!_0x43107c?.[_0x511995(0x1fa)])return null;return this['readRun'](_0x296d14,_0x43107c[_0x511995(0x1fa)]);}[_0x5d090b(0x17e)](_0x40e3e6,_0x1ec300){const _0x12147b=_0x5d090b;return this['execution'][_0x12147b(0x2e3)](_0x40e3e6,_0x1ec300,this[_0x12147b(0x18c)](this[_0x12147b(0x1b2)](_0x40e3e6,_0x1ec300)));}[_0x5d090b(0x324)](_0x1792ce){const _0x390870=_0x5d090b,_0xddd8b2={};_0xddd8b2[_0x390870(0x31a)]='blocked',_0xddd8b2[_0x390870(0x1f1)]=_0x390870(0x251);if(!this[_0x390870(0x263)](_0x1792ce))return _0xddd8b2;const _0x2c5b96={};return _0x2c5b96[_0x390870(0x155)]=this[_0x390870(0x155)],_0x2c5b96['publicKey']=this[_0x390870(0x256)],_0x2c5b96[_0x390870(0x1d1)]=this[_0x390870(0x1d1)],_0x2c5b96[_0x390870(0x280)]=PIPELINE_DEFINITIONS,inspectRunContract(_0x1792ce,_0x2c5b96);}[_0x5d090b(0x263)](_0x4b9d43){const _0x26db24=_0x5d090b;return[_0x4b9d43?.[_0x26db24(0x343)],_0x4b9d43?.[_0x26db24(0x2c0)]?.[_0x26db24(0x174)]][_0x26db24(0x34f)](Boolean)[_0x26db24(0x295)](_0x353967=>{const _0x6e4bae=_0x26db24;try{return require('../core/workspace-path')['sameWorkspace'](_0x353967,this[_0x6e4bae(0x2f1)]);}catch{return![];}});}[_0x5d090b(0x369)](_0x87088){const _0x5cc982=_0x5d090b,_0x2d567f={};_0x2d567f[_0x5cc982(0x1f1)]='FOREIGN_WORKSPACE_STATE',_0x2d567f[_0x5cc982(0x2f7)]=_0x87088['task'],_0x2d567f[_0x5cc982(0x1fa)]=_0x87088[_0x5cc982(0x1fa)];const _0x597dd1=_0x2d567f;this[_0x5cc982(0x2f6)]||=[];if(!this[_0x5cc982(0x2f6)][_0x5cc982(0x295)](_0x424cfd=>_0x424cfd[_0x5cc982(0x2f7)]===_0x87088['task']&&_0x424cfd[_0x5cc982(0x1fa)]===_0x87088[_0x5cc982(0x1fa)]))this['foreignWorkspaceStates']['push'](_0x597dd1);}['pinLegacyDefinition'](_0x248005){const _0x577ca3=_0x5d090b;_0x248005[_0x577ca3(0x21c)]=JSON[_0x577ca3(0x37a)](JSON[_0x577ca3(0x1c9)](PIPELINE_DEFINITIONS[_0x248005[_0x577ca3(0x2ed)]]));const _0x5ad819=path['join'](__dirname,'..','..','integrity-manifest.json'),_0x50698e=fs[_0x577ca3(0x195)](_0x5ad819);_0x248005[_0x577ca3(0x29a)]={'source':_0x50698e?_0x577ca3(0x259):'development-source','version':require(_0x577ca3(0x20f))[_0x577ca3(0x2d8)],'digest':_0x50698e?crypto['createHash']('sha256')['update'](JSON[_0x577ca3(0x1c9)](JSON[_0x577ca3(0x37a)](fs[_0x577ca3(0x1b6)](_0x5ad819,'utf8'))))[_0x577ca3(0x278)](_0x577ca3(0x1ba)):null,'definitionHash':crypto['createHash'](_0x577ca3(0x2ff))['update'](JSON[_0x577ca3(0x1c9)](_0x248005['definition']))['digest'](_0x577ca3(0x1ba))};}[_0x5d090b(0x32b)](_0x441b64,_0x45e117){const _0x3cacb4=_0x5d090b;return this[_0x3cacb4(0x223)](_0x441b64,()=>{const _0x238bd5=_0x3cacb4,_0x187d7a=this[_0x238bd5(0x17e)](_0x441b64,_0x45e117);return _0x187d7a?.[_0x238bd5(0x397)]===0x3&&this['contract'](_0x187d7a)['mutation']!==_0x238bd5(0x262)&&(this[_0x238bd5(0x2d9)](this[_0x238bd5(0x1b2)](_0x441b64,_0x45e117),_0x187d7a),this[_0x238bd5(0x1af)][_0x238bd5(0x20d)](_0x187d7a)),_0x187d7a;});}[_0x5d090b(0x320)](_0x38b124,_0x3b8f56){const _0x2108a4=_0x5d090b;return path['join'](this[_0x2108a4(0x17b)],_0x2108a4(0x382),_0x38b124,_0x3b8f56+_0x2108a4(0x272));}[_0x5d090b(0x29b)](_0x467eac){const _0x431f99=_0x5d090b,_0x202d0a=path[_0x431f99(0x1fb)](this['stateRoot'],'.creation',_0x467eac);if(!fs[_0x431f99(0x195)](_0x202d0a))return null;for(const _0x2cf1ea of fs['readdirSync'](_0x202d0a)){const _0x2fe692=this[_0x431f99(0x18c)](path[_0x431f99(0x1fb)](_0x202d0a,_0x2cf1ea)),_0xc0ce6b={};_0xc0ce6b[_0x431f99(0x210)]=_0x431f99(0x297),_0xc0ce6b[_0x431f99(0x31f)]=_0x2cf1ea;if(!_0x2fe692)return _0xc0ce6b;const _0x494063={};_0x494063[_0x431f99(0x210)]=_0x431f99(0x297),_0x494063[_0x431f99(0x31f)]=_0x2cf1ea;if(_0x2fe692[_0x431f99(0x2f7)]!==_0x467eac||PipelineManager['validateRunId'](_0x2fe692[_0x431f99(0x1fa)]))return _0x494063;if([_0x431f99(0x34c),_0x431f99(0x275),_0x431f99(0x359)][_0x431f99(0x35d)](_0x2fe692[_0x431f99(0x210)])&&!this[_0x431f99(0x17e)](_0x467eac,_0x2fe692[_0x431f99(0x1fa)]))return _0x2fe692;}return null;}[_0x5d090b(0x337)](_0x4351c0){const _0x247ebc=_0x5d090b,_0x30aba3=path[_0x247ebc(0x1fb)](this[_0x247ebc(0x17b)],_0x247ebc(0x382));if(!fs[_0x247ebc(0x195)](_0x30aba3))return[];const _0x2b7cdd={};_0x2b7cdd[_0x247ebc(0x244)]=!![];const _0x2f733c=_0x4351c0?[_0x4351c0]:fs[_0x247ebc(0x23f)](_0x30aba3,_0x2b7cdd)[_0x247ebc(0x34f)](_0x3f45a4=>_0x3f45a4[_0x247ebc(0x2ab)]())[_0x247ebc(0x1d5)](_0x4f4aea=>_0x4f4aea[_0x247ebc(0x1ac)]),_0x2e5c83=[];for(const _0x273fd9 of _0x2f733c){const _0x430aef=path[_0x247ebc(0x1fb)](_0x30aba3,_0x273fd9);if(!fs['existsSync'](_0x430aef))continue;for(const _0x215602 of fs['readdirSync'](_0x430aef)['filter'](_0x1526e2=>_0x1526e2['endsWith'](_0x247ebc(0x272)))){const _0xecdafa=this[_0x247ebc(0x18c)](path['join'](_0x430aef,_0x215602));if(!_0xecdafa||_0xecdafa[_0x247ebc(0x2f7)]!==_0x273fd9||PipelineManager[_0x247ebc(0x15b)](_0xecdafa['runId'])||!['creating','workspace-ready',_0x247ebc(0x359)]['includes'](_0xecdafa[_0x247ebc(0x210)])||this['readRun'](_0x273fd9,_0xecdafa[_0x247ebc(0x1fa)]))continue;const _0x14d462=!PipelineManager['validateWorkspace'](_0xecdafa[_0x247ebc(0x396)]),_0x1b7539=_0xecdafa[_0x247ebc(0x2c0)]&&!_0xecdafa[_0x247ebc(0x2c0)]['managed']&&typeof _0xecdafa[_0x247ebc(0x2c0)]['path']===_0x247ebc(0x314)&&normalizePath(_0xecdafa[_0x247ebc(0x2c0)][_0x247ebc(0x174)])===this[_0x247ebc(0x2f1)],_0x518a0f=_0xecdafa[_0x247ebc(0x343)]===undefined?_0x1b7539:typeof _0xecdafa[_0x247ebc(0x343)]===_0x247ebc(0x314)&&normalizePath(_0xecdafa[_0x247ebc(0x343)])===this[_0x247ebc(0x2f1)];_0x2e5c83['push']({'task':_0x273fd9,'runId':_0xecdafa[_0x247ebc(0x1fa)],'status':_0xecdafa[_0x247ebc(0x210)],'originWorkspace':_0xecdafa[_0x247ebc(0x343)]||null,'requestedWorkspace':_0xecdafa['requestedWorkspace']||null,'workspace':_0xecdafa['workspace']||null,'runtimeVersion':_0xecdafa[_0x247ebc(0x29f)]||null,'error':_0xecdafa[_0x247ebc(0x27b)]||null,'intentFile':path[_0x247ebc(0x1fb)](_0x430aef,_0x215602),'availableActions':{'resume':_0x14d462&&_0x518a0f&&_0x1b7539,'abandon':_0x14d462&&_0x518a0f&&_0x1b7539&&!this[_0x247ebc(0x19a)](_0x273fd9)}});}}return _0x2e5c83;}[_0x5d090b(0x282)](_0x3c159d,_0x1a6c51,_0x58f34b){const _0x2fd17f=_0x5d090b,_0x36f953=PipelineManager[_0x2fd17f(0x15b)](_0x1a6c51);if(_0x36f953)return _0x36f953;return this[_0x2fd17f(0x223)](_0x3c159d,()=>{const _0x181d41=_0x2fd17f,_0x39cc73=this['creationIntentFile'](_0x3c159d,_0x1a6c51),_0x10b6bf=this[_0x181d41(0x18c)](_0x39cc73);if(!_0x10b6bf||_0x10b6bf['task']!==_0x3c159d||_0x10b6bf[_0x181d41(0x1fa)]!==_0x1a6c51)return error(_0x181d41(0x303),_0x181d41(0x31d));if(![_0x181d41(0x34c),_0x181d41(0x275),_0x181d41(0x359)][_0x181d41(0x35d)](_0x10b6bf[_0x181d41(0x210)]))return error(_0x181d41(0x266),_0x181d41(0x159));if(PipelineManager[_0x181d41(0x2ba)](_0x10b6bf[_0x181d41(0x396)])||_0x10b6bf['originWorkspace']&&(typeof _0x10b6bf['originWorkspace']!==_0x181d41(0x314)||normalizePath(_0x10b6bf['originWorkspace'])!==this[_0x181d41(0x2f1)]))return error(_0x181d41(0x247),_0x181d41(0x19c));if(_0x10b6bf[_0x181d41(0x1bb)]?.['sessionId']&&_0x10b6bf[_0x181d41(0x1bb)][_0x181d41(0x39d)]!==_0x58f34b)return error('SESSION_MISMATCH',_0x181d41(0x169));const _0x2b7414=this['readCurrent'](_0x3c159d);if(_0x2b7414&&_0x2b7414[_0x181d41(0x1fa)]!==_0x1a6c51)return error(_0x181d41(0x2cb),_0x181d41(0x2b3));const _0x2aaa5b=this[_0x181d41(0x17e)](_0x3c159d,_0x1a6c51);if(_0x2aaa5b){if(_0x2aaa5b['status']!==_0x181d41(0x2ae)||_0x2aaa5b[_0x181d41(0x18a)]&&_0x2aaa5b[_0x181d41(0x18a)]!==_0x58f34b)return error(_0x181d41(0x393),_0x181d41(0x2e7));const _0x3a1239={};_0x3a1239[_0x181d41(0x20e)]=!![],this[_0x181d41(0x16b)](_0x2aaa5b,_0x3a1239);const _0x2eae2a={..._0x10b6bf};_0x2eae2a[_0x181d41(0x210)]=_0x181d41(0x345),this['atomicWriteJson'](_0x39cc73,_0x2eae2a);const _0xb14d02={};return _0xb14d02[_0x181d41(0x2db)]=!![],this[_0x181d41(0x329)](_0x2aaa5b,_0xb14d02);}let _0x2d459c=_0x10b6bf[_0x181d41(0x2c0)];const _0x42b3ed={};_0x42b3ed['mode']=_0x181d41(0x2d3);if(!_0x2d459c&&_0x10b6bf[_0x181d41(0x396)][_0x181d41(0x1e3)]!=='worktree')_0x2d459c=this[_0x181d41(0x241)](_0x3c159d,_0x1a6c51,_0x42b3ed)[_0x181d41(0x2c0)];if(!_0x2d459c&&_0x10b6bf[_0x181d41(0x396)][_0x181d41(0x1e3)]===_0x181d41(0x2c5)){const _0x1fa354=path['join'](path[_0x181d41(0x1d6)](this[_0x181d41(0x2f1)]),_0x181d41(0x1d7),path[_0x181d41(0x2e9)](this[_0x181d41(0x2f1)]),_0x3c159d,_0x1a6c51),_0x3d1401={};_0x3d1401[_0x181d41(0x174)]=_0x1fa354,_0x3d1401[_0x181d41(0x1e3)]=_0x181d41(0x2c5),_0x3d1401[_0x181d41(0x311)]=!![],_0x3d1401[_0x181d41(0x356)]=_0x181d41(0x24e)+_0x3c159d+'/'+_0x1a6c51,_0x3d1401[_0x181d41(0x210)]=_0x181d41(0x28c),_0x2d459c=_0x3d1401;}if(!_0x2d459c||!fs[_0x181d41(0x195)](_0x2d459c[_0x181d41(0x174)])){if(_0x2d459c?.[_0x181d41(0x311)]&&!_0x10b6bf[_0x181d41(0x2c0)]){const _0x4a0a5c=this[_0x181d41(0x384)]([_0x181d41(0x2c5),'list',_0x181d41(0x333)]),_0x5cafb4=this[_0x181d41(0x384)]([_0x181d41(0x2c7),_0x181d41(0x1db),_0x181d41(0x367),_0x181d41(0x354)+_0x2d459c[_0x181d41(0x356)]]),_0xaff1d3=_0x4a0a5c[_0x181d41(0x342)]?.[_0x181d41(0x29c)](/\r?\n/)[_0x181d41(0x295)](_0x586659=>_0x586659[_0x181d41(0x1ed)]('worktree\x20')&&normalizePath(_0x586659['slice'](0x9))===normalizePath(_0x2d459c[_0x181d41(0x174)]));if(_0x4a0a5c['ok']&&!_0xaff1d3&&_0x5cafb4[_0x181d41(0x210)]===0x1)return this['atomicWriteJson'](_0x39cc73,{..._0x10b6bf,'status':_0x181d41(0x15c),'resolvedAt':this[_0x181d41(0x205)]()[_0x181d41(0x332)]()}),error(_0x181d41(0x2af),_0x181d41(0x1ca));}return error('CREATION_WORKSPACE_MISSING',_0x181d41(0x27d));}if(_0x2d459c['managed']){const _0x45965e=this[_0x181d41(0x384)]([_0x181d41(0x2c5),_0x181d41(0x39c),_0x181d41(0x333)]),_0x41d85c={};_0x41d85c[_0x181d41(0x172)]=_0x2d459c[_0x181d41(0x174)];const _0x3fb1e5=this[_0x181d41(0x384)](['branch',_0x181d41(0x1e7)],_0x41d85c);if(!_0x45965e['ok']||!_0x45965e[_0x181d41(0x342)][_0x181d41(0x29c)]('\x0a')[_0x181d41(0x295)](_0x2697db=>_0x2697db[_0x181d41(0x1ed)](_0x181d41(0x39e))&&normalizePath(_0x2697db[_0x181d41(0x254)](0x9))===normalizePath(_0x2d459c['path']))||_0x3fb1e5[_0x181d41(0x342)]!==_0x2d459c[_0x181d41(0x356)])return error(_0x181d41(0x247),_0x181d41(0x1da));}else{if(!_0x2d459c[_0x181d41(0x174)]||normalizePath(_0x2d459c[_0x181d41(0x174)])!==this[_0x181d41(0x2f1)])return error(_0x181d41(0x247),'Recorded\x20workspace\x20differs\x20from\x20this\x20project.');}if(!_0x10b6bf[_0x181d41(0x343)]&&_0x2d459c[_0x181d41(0x311)])return error(_0x181d41(0x247),_0x181d41(0x18e));const _0x4777aa={'schemaVersion':_0x10b6bf[_0x181d41(0x397)]||0x3,'task':_0x3c159d,'runId':_0x1a6c51,'pipeline':_0x10b6bf[_0x181d41(0x2ed)],'status':_0x181d41(0x2ae),'completedSteps':[],'originWorkspace':_0x10b6bf[_0x181d41(0x343)]||this[_0x181d41(0x2f1)],'workspace':_0x2d459c,'startedAt':_0x10b6bf['createdAt'],'updatedAt':this['now']()['toISOString']()};let _0x3b6794=_0x181d41(0x394);try{if(_0x4777aa[_0x181d41(0x397)]===0x3)this['execution'][_0x181d41(0x2be)](_0x4777aa,_0x10b6bf[_0x181d41(0x1bb)]);else this[_0x181d41(0x1e2)](_0x4777aa);_0x3b6794=_0x181d41(0x2bb);const _0x13849d={};_0x13849d[_0x181d41(0x20e)]=!![],this[_0x181d41(0x16b)](_0x4777aa,_0x13849d),_0x3b6794=_0x181d41(0x180),this[_0x181d41(0x2d9)](_0x39cc73,{..._0x10b6bf,'status':_0x181d41(0x345),'recoveredAt':this['now']()[_0x181d41(0x332)]()});const _0x2d397a={};return _0x2d397a[_0x181d41(0x2db)]=!![],_0x2d397a['recovered']=!![],this['formatStatus'](_0x4777aa,_0x2d397a);}catch(_0x288447){const _0x40d266=creationFailure(_0x288447,_0x3b6794);try{const _0x2c47ef={..._0x10b6bf};_0x2c47ef[_0x181d41(0x210)]=_0x181d41(0x359),_0x2c47ef[_0x181d41(0x27b)]=_0x40d266,this[_0x181d41(0x2d9)](_0x39cc73,_0x2c47ef);}catch{}const _0x8ca4ba={};return _0x8ca4ba[_0x181d41(0x2f7)]=_0x3c159d,_0x8ca4ba[_0x181d41(0x1fa)]=_0x1a6c51,_0x8ca4ba[_0x181d41(0x313)]=_0x39cc73,_0x8ca4ba[_0x181d41(0x2c0)]=_0x2d459c,_0x8ca4ba[_0x181d41(0x1a1)]=_0x40d266[_0x181d41(0x1f1)],_0x8ca4ba[_0x181d41(0x168)]=_0x40d266,error(_0x181d41(0x309),'Recovery\x20was\x20interrupted;\x20its\x20intent\x20was\x20preserved.',_0x8ca4ba);}});}[_0x5d090b(0x16b)](_0x176051,{setCurrent:setCurrent=![]}={}){const _0xccac7=_0x5d090b;_0x176051[_0xccac7(0x399)]=this[_0xccac7(0x205)]()['toISOString']();if(_0x176051[_0xccac7(0x397)]===0x3)this['execution'][_0xccac7(0x370)](_0x176051);this[_0xccac7(0x2d9)](this[_0xccac7(0x1b2)](_0x176051['task'],_0x176051[_0xccac7(0x1fa)]),_0x176051);if(_0x176051[_0xccac7(0x397)]===0x3)this[_0xccac7(0x1af)]['ledger'](_0x176051);setCurrent&&this[_0xccac7(0x2d9)](this[_0xccac7(0x1e4)](_0x176051[_0xccac7(0x2f7)]),{'task':_0x176051[_0xccac7(0x2f7)],'runId':_0x176051[_0xccac7(0x1fa)],'updatedAt':_0x176051[_0xccac7(0x399)]});}['appendLedger'](_0x223785,_0x12b26c,_0x529e03){const _0x49478c=_0x5d090b;if(_0x223785['schemaVersion']===0x3)return this[_0x49478c(0x1af)][_0x49478c(0x20d)](_0x223785);const _0x5f155e=this[_0x49478c(0x260)](_0x223785['task'],_0x223785[_0x49478c(0x1fa)]);let _0x90bbe7=fs['existsSync'](_0x5f155e)?fs[_0x49478c(0x1b6)](_0x5f155e,'utf8'):'';!_0x90bbe7&&(_0x90bbe7=_0x49478c(0x1ff)+_0x223785['task']+_0x49478c(0x32e)+_0x223785[_0x49478c(0x1fa)]+_0x49478c(0x1a5)+_0x223785[_0x49478c(0x2ed)]+'\x0a'),_0x90bbe7+=_0x49478c(0x2cc)+this[_0x49478c(0x205)]()[_0x49478c(0x332)]()+_0x49478c(0x2fe)+_0x12b26c+'\x0a\x0a'+_0x529e03+'\x0a',this[_0x49478c(0x2f4)](_0x5f155e,_0x90bbe7);}['requiredSkillError'](_0x2ed735,_0x32cb42=this[_0x5d090b(0x2f1)]){const _0x2c0dd8=_0x5d090b,_0x25f76b=[path[_0x2c0dd8(0x1fb)](_0x32cb42,'.agents',_0x2c0dd8(0x261),_0x2ed735,'SKILL.md'),path[_0x2c0dd8(0x1fb)](this['projectPath'],'.agents',_0x2c0dd8(0x261),_0x2ed735,_0x2c0dd8(0x15d))],{SKILL_NAME_MAPPING:_0x140103,CANONICAL_SKILL_SOURCES:_0x560652}=require(_0x2c0dd8(0x33b)),_0x1429d1=_0x560652[_0x2ed735]||Object[_0x2c0dd8(0x2b4)](_0x140103)['find'](_0x150d2b=>_0x140103[_0x150d2b]===_0x2ed735);if(_0x1429d1)_0x25f76b[_0x2c0dd8(0x212)](path[_0x2c0dd8(0x1fb)](this[_0x2c0dd8(0x2f1)],'.agents',_0x2c0dd8(0x261),_0x1429d1,'SKILL.md'));const _0x5df7bf=_0x25f76b['find'](_0x5bbefd=>fs[_0x2c0dd8(0x195)](_0x5bbefd));if(_0x5df7bf)return null;const _0x4f9fc0={};return _0x4f9fc0[_0x2c0dd8(0x1c5)]=_0x25f76b[0x0],_0x4f9fc0[_0x2c0dd8(0x26d)]=_0x2c0dd8(0x20c)+this[_0x2c0dd8(0x2f1)]+'\x22',error(_0x2c0dd8(0x1e8),_0x2c0dd8(0x203)+_0x2ed735+_0x2c0dd8(0x187),_0x4f9fc0);}[_0x5d090b(0x28a)](){const _0x4d20b7=_0x5d090b;if(!this['isGitRepository'])return![];const _0x15a307=this[_0x4d20b7(0x384)]([_0x4d20b7(0x391),'--git-dir']);if(!_0x15a307['ok']||!this['gitCommonDir'])return![];const _0x35fbc1=normalizePath(path[_0x4d20b7(0x2d5)](this[_0x4d20b7(0x2f1)],_0x15a307[_0x4d20b7(0x342)]));if(_0x35fbc1===this[_0x4d20b7(0x3a1)])return![];const _0x4ce4d9=this[_0x4d20b7(0x384)]([_0x4d20b7(0x2c5),_0x4d20b7(0x39c),_0x4d20b7(0x333)]);if(!_0x4ce4d9['ok'])return![];const _0x26e852=normalizePath(this[_0x4d20b7(0x2f1)])[_0x4d20b7(0x23c)]();return _0x4ce4d9[_0x4d20b7(0x342)][_0x4d20b7(0x29c)](/\r?\n/)[_0x4d20b7(0x34f)](_0x5558b5=>_0x5558b5[_0x4d20b7(0x1ed)]('worktree\x20'))[_0x4d20b7(0x295)](_0x598074=>normalizePath(_0x598074[_0x4d20b7(0x254)](0x9))[_0x4d20b7(0x23c)]()===_0x26e852);}['previewGitBootstrap'](){const _0x195707=_0x5d090b;if(this[_0x195707(0x30b)])return error(_0x195707(0x2a9),_0x195707(0x248));const _0x4345f7=fs['mkdtempSync'](path[_0x195707(0x1fb)](os[_0x195707(0x327)](),_0x195707(0x23d)));try{const _0x361d2f=path[_0x195707(0x1fb)](_0x4345f7,_0x195707(0x199)),_0x4380c3=path[_0x195707(0x1fb)](_0x4345f7,_0x195707(0x31b)),_0x1d17ec={};_0x1d17ec['cwd']=_0x4345f7;const _0x4e556b=this[_0x195707(0x384)]([_0x195707(0x321),_0x195707(0x218),_0x361d2f],_0x1d17ec);if(!_0x4e556b['ok'])return error(_0x195707(0x3a3),_0x4e556b['stderr']||_0x195707(0x32d));const _0x312097={};_0x312097['GIT_INDEX_FILE']=_0x4380c3;const _0x9bae93=_0x312097,_0x3c7bef=this[_0x195707(0x384)]([_0x195707(0x1fc),_0x361d2f,'--work-tree',this['projectPath'],_0x195707(0x2a1),'-A'],{'cwd':this[_0x195707(0x2f1)],'env':_0x9bae93});if(!_0x3c7bef['ok'])return error(_0x195707(0x3a3),_0x3c7bef['stderr']||_0x195707(0x1ad));const _0x3c0036=this[_0x195707(0x384)]([_0x195707(0x1fc),_0x361d2f,'--work-tree',this[_0x195707(0x2f1)],'diff',_0x195707(0x188),_0x195707(0x182),'-z'],{'cwd':this[_0x195707(0x2f1)],'env':_0x9bae93});if(!_0x3c0036['ok'])return error(_0x195707(0x3a3),_0x3c0036[_0x195707(0x1de)]||'Cannot\x20read\x20Git\x20bootstrap\x20preview.');const _0xe94d29=_0x3c0036[_0x195707(0x342)]?_0x3c0036[_0x195707(0x342)][_0x195707(0x29c)]('\x00')[_0x195707(0x34f)](Boolean)[_0x195707(0x1d5)](_0x26bd37=>_0x26bd37[_0x195707(0x1ec)](/\\/g,'/'))['sort']():[],_0xfc37d9=_0xe94d29['map'](_0x12045d=>{const _0x17b66c=_0x195707,_0x18954c=path['join'](this[_0x17b66c(0x2f1)],_0x12045d),_0x5eb93d=fs[_0x17b66c(0x24c)](_0x18954c),_0x5f2f24=crypto[_0x17b66c(0x34b)](_0x17b66c(0x2ff))[_0x17b66c(0x276)](fs[_0x17b66c(0x1b6)](_0x18954c))[_0x17b66c(0x278)](_0x17b66c(0x1ba));return{'path':_0x12045d,'size':_0x5eb93d['size'],'mtimeMs':Math[_0x17b66c(0x184)](_0x5eb93d[_0x17b66c(0x234)]),'sha256':_0x5f2f24};}),_0x4d030b=_0xe94d29[_0x195707(0x34f)](_0x3cc11b=>{const _0x29c420=_0x195707,_0x5012bc=/\.env\.example$/i[_0x29c420(0x153)](_0x3cc11b);if(!_0x5012bc&&SENSITIVE_PATTERNS[_0x29c420(0x295)](_0x10aa52=>_0x10aa52[_0x29c420(0x153)](_0x3cc11b)))return!![];const _0xe86d13=fs['readFileSync'](path[_0x29c420(0x1fb)](this[_0x29c420(0x2f1)],_0x3cc11b),_0x29c420(0x1e6));return SENSITIVE_CONTENT_PATTERNS[_0x29c420(0x295)](_0x29ff26=>_0x29ff26[_0x29c420(0x153)](_0xe86d13));}),_0x3a7132=_0xfc37d9[_0x195707(0x34f)](_0x229224=>_0x229224['size']>0xa*0x400*0x400)[_0x195707(0x1d5)](_0x69cf3b=>_0x69cf3b['path']),_0x1f0c69=[_0x195707(0x271)],_0x510ef8={};_0x510ef8[_0x195707(0x394)]=_0xfc37d9,_0x510ef8['plannedIgnoreAdditions']=_0x1f0c69;const _0x44229b=crypto[_0x195707(0x34b)](_0x195707(0x2ff))[_0x195707(0x276)](JSON['stringify'](_0x510ef8))[_0x195707(0x278)](_0x195707(0x1ba));return{'success':![],'code':_0x4d030b['length']?_0x195707(0x27f):'GIT_INIT_CONFIRMATION_REQUIRED','error':_0x4d030b[_0x195707(0x361)]?_0x195707(0x2d2):_0x195707(0x385),'confirmationToken':_0x44229b,'fileCount':_0xe94d29[_0x195707(0x361)],'totalBytes':_0xfc37d9[_0x195707(0x3a0)]((_0x3ef472,_0x27abdd)=>_0x3ef472+_0x27abdd[_0x195707(0x380)],0x0),'files':_0xe94d29,'sensitiveFiles':_0x4d030b,'largeFiles':_0x3a7132,'plannedIgnoreAdditions':_0x1f0c69};}finally{const _0x4804c0={};_0x4804c0[_0x195707(0x346)]=!![],_0x4804c0[_0x195707(0x29e)]=!![],fs['rmSync'](_0x4345f7,_0x4804c0);}}[_0x5d090b(0x2e1)](){const _0xbb4a76=_0x5d090b,_0x33eec4=path[_0xbb4a76(0x1fb)](this[_0xbb4a76(0x2f1)],_0xbb4a76(0x245)),_0x510e08='.agents/pipelines/',_0x3696a4=fs[_0xbb4a76(0x195)](_0x33eec4)?fs[_0xbb4a76(0x1b6)](_0x33eec4,_0xbb4a76(0x1e6)):'',_0x42ac71=_0x3696a4[_0xbb4a76(0x29c)](/\r?\n/)[_0xbb4a76(0x1d5)](_0x4c2cb9=>_0x4c2cb9['trim']());if(_0x42ac71[_0xbb4a76(0x35d)](_0x510e08))return;const _0x50880a=_0x3696a4&&!_0x3696a4[_0xbb4a76(0x16c)]('\x0a')?'\x0a':'';fs[_0xbb4a76(0x302)](_0x33eec4,''+_0x50880a+_0x510e08+'\x0a',_0xbb4a76(0x1e6));}[_0x5d090b(0x304)](_0x3cebf3){const _0x51a52d=_0x5d090b,_0x5475e3=this[_0x51a52d(0x37b)]();if(_0x5475e3[_0x51a52d(0x1f1)]===_0x51a52d(0x27f))return _0x5475e3;if(_0x5475e3[_0x51a52d(0x207)]!==_0x3cebf3){const _0x2d47bb={};return _0x2d47bb[_0x51a52d(0x1ef)]=_0x5475e3,error(_0x51a52d(0x2fc),_0x51a52d(0x191),_0x2d47bb);}const _0x6aa989=this[_0x51a52d(0x2cd)]()[_0x51a52d(0x34f)](_0xa33328=>_0xa33328[_0x51a52d(0x210)]===_0x51a52d(0x2ae)||_0xa33328[_0x51a52d(0x210)]===_0x51a52d(0x1a8));if(_0x6aa989[_0x51a52d(0x361)])return error('PIPELINES_ACTIVE_DURING_GIT_INIT',_0x51a52d(0x30c));const _0x3f0691=this[_0x51a52d(0x384)](['config',_0x51a52d(0x2f2),'user.name']),_0x4990fc=this[_0x51a52d(0x384)]([_0x51a52d(0x160),_0x51a52d(0x2f2),'user.email']);if(!_0x3f0691['ok']||!_0x3f0691[_0x51a52d(0x342)]||!_0x4990fc['ok']||!_0x4990fc[_0x51a52d(0x342)]){const _0x1329ee={};return _0x1329ee[_0x51a52d(0x154)]=['git\x20config\x20--global\x20user.name\x20\x22Your\x20Name\x22','git\x20config\x20--global\x20user.email\x20\x22you@example.com\x22'],error('GIT_IDENTITY_REQUIRED','Configure\x20Git\x20user.name\x20and\x20user.email\x20before\x20creating\x20the\x20baseline\x20commit.',_0x1329ee);}const _0x31a6af=this['runGit']([_0x51a52d(0x160),_0x51a52d(0x2f2),'init.defaultBranch']),_0x224d8c=_0x31a6af['ok']&&_0x31a6af[_0x51a52d(0x342)]?_0x31a6af[_0x51a52d(0x342)]:_0x51a52d(0x1c8);let _0x3ae2f8=this[_0x51a52d(0x384)](['init','-b',_0x224d8c]);if(!_0x3ae2f8['ok']){_0x3ae2f8=this[_0x51a52d(0x384)]([_0x51a52d(0x321)]);if(!_0x3ae2f8['ok'])return error('GIT_INIT_FAILED',_0x3ae2f8['stderr']);const _0x1c8573=this[_0x51a52d(0x384)](['branch','-M',_0x224d8c]);if(!_0x1c8573['ok'])return error(_0x51a52d(0x317),_0x1c8573[_0x51a52d(0x1de)]);}this[_0x51a52d(0x2e1)]();const _0x52afee=this[_0x51a52d(0x384)]([_0x51a52d(0x2a1),'-A']);if(!_0x52afee['ok'])return error(_0x51a52d(0x232),_0x52afee[_0x51a52d(0x1de)]);const _0xaaf7ec=this[_0x51a52d(0x384)]([_0x51a52d(0x19d),_0x51a52d(0x181),'-m','chore:\x20initialize\x20local\x20repository']);if(!_0xaaf7ec['ok'])return error(_0x51a52d(0x232),_0xaaf7ec[_0x51a52d(0x1de)]);const _0x234487=this[_0x51a52d(0x384)](['status',_0x51a52d(0x333)]);if(!_0x234487['ok']||_0x234487[_0x51a52d(0x342)])return error(_0x51a52d(0x389),_0x51a52d(0x2e5),{'status':_0x234487['stdout']});const _0x347b52=this[_0x51a52d(0x17b)];this[_0x51a52d(0x1dd)](),this[_0x51a52d(0x298)](_0x347b52);const _0x29dfb7={};return _0x29dfb7['success']=!![],_0x29dfb7['branch']=_0x224d8c,_0x29dfb7[_0x51a52d(0x26a)]=!![],_0x29dfb7;}[_0x5d090b(0x298)](_0xb7ae2){const _0x14f32b=_0x5d090b;if(!_0xb7ae2||normalizePath(_0xb7ae2)===normalizePath(this[_0x14f32b(0x17b)])||!fs['existsSync'](_0xb7ae2))return;const _0x14d2ad=path['join'](this[_0x14f32b(0x17b)],_0x14f32b(0x38b),crypto[_0x14f32b(0x34b)](_0x14f32b(0x2ff))[_0x14f32b(0x276)](_0xb7ae2)[_0x14f32b(0x278)](_0x14f32b(0x1ba))+'.json');if(fs['existsSync'](_0x14d2ad))return;const _0x46c5df=this[_0x14f32b(0x322)](_0xb7ae2)[_0x14f32b(0x34f)](_0x24ed09=>_0x24ed09['status']===_0x14f32b(0x2ae)||_0x24ed09[_0x14f32b(0x210)]===_0x14f32b(0x1a8)),_0x25e36e={};_0x25e36e['code']=_0x14f32b(0x25b);if(_0x46c5df[_0x14f32b(0x361)])throw Object[_0x14f32b(0x2e6)](new Error(_0x14f32b(0x353)),_0x25e36e);for(const _0xbdda8c of this[_0x14f32b(0x322)](_0xb7ae2)){const _0x34e7e2=path[_0x14f32b(0x1fb)](_0xb7ae2,_0xbdda8c[_0x14f32b(0x2f7)],_0x14f32b(0x162),_0xbdda8c['runId']),_0x455551=this[_0x14f32b(0x21f)](_0xbdda8c[_0x14f32b(0x2f7)],_0xbdda8c['runId']),_0x5f1aec={};_0x5f1aec[_0x14f32b(0x346)]=!![],_0x5f1aec[_0x14f32b(0x378)]=!![];if(!fs[_0x14f32b(0x195)](_0x455551))fs['cpSync'](_0x34e7e2,_0x455551,_0x5f1aec);this[_0x14f32b(0x331)](_0x34e7e2,_0x455551);const _0xb71693=path[_0x14f32b(0x1fb)](_0xb7ae2,_0xbdda8c['task'],'current.json');fs[_0x14f32b(0x195)](_0xb71693)&&!fs['existsSync'](this[_0x14f32b(0x1e4)](_0xbdda8c['task']))&&(fs[_0x14f32b(0x242)](_0xb71693,this[_0x14f32b(0x1e4)](_0xbdda8c[_0x14f32b(0x2f7)])),this[_0x14f32b(0x331)](_0xb71693,this[_0x14f32b(0x1e4)](_0xbdda8c['task'])));}this[_0x14f32b(0x2d9)](_0x14d2ad,{'source':_0xb7ae2,'migratedAt':this[_0x14f32b(0x205)]()[_0x14f32b(0x332)]()});}[_0x5d090b(0x331)](_0x446154,_0x32c0d9){const _0x3b96e0=_0x5d090b,_0x501ae8=fs[_0x3b96e0(0x24c)](_0x446154),_0x48b367=fs[_0x3b96e0(0x24c)](_0x32c0d9);if(_0x501ae8['isDirectory']()!==_0x48b367[_0x3b96e0(0x2ab)]()){const _0x170eb1={};_0x170eb1[_0x3b96e0(0x1f1)]=_0x3b96e0(0x1a2);throw Object[_0x3b96e0(0x2e6)](new Error(_0x3b96e0(0x171)+_0x446154),_0x170eb1);}if(_0x501ae8[_0x3b96e0(0x2ab)]()){const _0x25838c=fs['readdirSync'](_0x446154)[_0x3b96e0(0x376)](),_0x184eac=fs[_0x3b96e0(0x23f)](_0x32c0d9)[_0x3b96e0(0x376)]();if(JSON['stringify'](_0x25838c)!==JSON[_0x3b96e0(0x1c9)](_0x184eac)){const _0x3bb763={};_0x3bb763[_0x3b96e0(0x1f1)]='STATE_MIGRATION_VERIFY_FAILED';throw Object['assign'](new Error(_0x3b96e0(0x228)+_0x446154),_0x3bb763);}for(const _0x1a213a of _0x25838c)this[_0x3b96e0(0x331)](path[_0x3b96e0(0x1fb)](_0x446154,_0x1a213a),path[_0x3b96e0(0x1fb)](_0x32c0d9,_0x1a213a));return;}const _0x4cba16=crypto[_0x3b96e0(0x34b)](_0x3b96e0(0x2ff))[_0x3b96e0(0x276)](fs[_0x3b96e0(0x1b6)](_0x446154))[_0x3b96e0(0x278)](_0x3b96e0(0x1ba)),_0x313e60=crypto['createHash'](_0x3b96e0(0x2ff))[_0x3b96e0(0x276)](fs[_0x3b96e0(0x1b6)](_0x32c0d9))[_0x3b96e0(0x278)](_0x3b96e0(0x1ba));if(_0x4cba16!==_0x313e60){const _0x1f27a2={};_0x1f27a2[_0x3b96e0(0x1f1)]=_0x3b96e0(0x1a2);throw Object[_0x3b96e0(0x2e6)](new Error(_0x3b96e0(0x36c)+_0x446154),_0x1f27a2);}}['createWorktree'](_0x2b3344,_0x25a4e9,_0x1d1183){const _0x221f07=_0x5d090b;if(!this[_0x221f07(0x30b)]){if(!_0x1d1183[_0x221f07(0x16d)]||!_0x1d1183[_0x221f07(0x207)])return this[_0x221f07(0x37b)]();if(!_0x1d1183[_0x221f07(0x30a)])return error(_0x221f07(0x240),_0x221f07(0x1ab));const _0x3a46f1=this[_0x221f07(0x304)](_0x1d1183[_0x221f07(0x207)]);if(!_0x3a46f1[_0x221f07(0x2db)])return _0x3a46f1;}if(!_0x1d1183['confirmed'])return error(_0x221f07(0x240),_0x221f07(0x1b9));const _0x5738e8=this[_0x221f07(0x384)](['status',_0x221f07(0x333)]);if(!_0x5738e8['ok']||_0x5738e8[_0x221f07(0x342)])return error('WORKTREE_BASE_DIRTY',_0x221f07(0x277),{'status':_0x5738e8['stdout']});const _0xabe866=this[_0x221f07(0x384)]([_0x221f07(0x391),'HEAD']);if(!_0xabe866['ok'])return error(_0x221f07(0x185),_0xabe866['stderr']||_0x221f07(0x294));const _0x4d85d8=this['runGit'](['branch',_0x221f07(0x1e7)]),_0x9f2439=path[_0x221f07(0x2e9)](this[_0x221f07(0x2f1)]),_0x284889=path[_0x221f07(0x1fb)](path['dirname'](this[_0x221f07(0x2f1)]),'.ag-kit-worktrees',_0x9f2439,_0x2b3344,_0x25a4e9),_0x695c7b='apt/'+_0x2b3344+'/'+_0x25a4e9;if(fs[_0x221f07(0x195)](_0x284889))return error(_0x221f07(0x366),'Worktree\x20path\x20already\x20exists:\x20'+_0x284889);const _0x1c0a6e=this[_0x221f07(0x384)]([_0x221f07(0x2c5),_0x221f07(0x2a1),'-b',_0x695c7b,_0x284889,_0x1d1183[_0x221f07(0x334)]||_0xabe866[_0x221f07(0x342)]]),_0x2b4ede={};_0x2b4ede[_0x221f07(0x1b7)]=_0x284889,_0x2b4ede[_0x221f07(0x356)]=_0x695c7b;if(!_0x1c0a6e['ok'])return error('WORKTREE_CREATE_FAILED',_0x1c0a6e[_0x221f07(0x1de)]||'git\x20worktree\x20add\x20failed.',_0x2b4ede);return{'success':!![],'workspace':{'mode':_0x221f07(0x2c5),'path':normalizePath(_0x284889),'branch':_0x695c7b,'baseRef':_0x1d1183['baseRef']||_0xabe866['stdout'],'baseBranch':_0x4d85d8['ok']?_0x4d85d8['stdout']:'','status':'ready','createdAt':this['now']()[_0x221f07(0x332)](),'managed':!![]}};}['resolveWorkspace'](_0x4b0cba,_0x205d6f,_0x27699e={}){const _0x35a930=_0x5d090b,_0x59f187=_0x27699e['mode']||_0x35a930(0x2ac);if(![_0x35a930(0x2ac),_0x35a930(0x2d3),_0x35a930(0x2c5)][_0x35a930(0x35d)](_0x59f187))return error(_0x35a930(0x387),_0x35a930(0x17c)+_0x59f187);if(_0x59f187===_0x35a930(0x2c5))return this[_0x35a930(0x1d4)](_0x4b0cba,_0x205d6f,_0x27699e);return{'success':!![],'workspace':{'mode':this[_0x35a930(0x28a)]()?_0x35a930(0x216):_0x35a930(0x2d3),'path':this['projectPath'],'branch':this[_0x35a930(0x30b)]?this[_0x35a930(0x384)]([_0x35a930(0x356),_0x35a930(0x1e7)])[_0x35a930(0x342)]:'','baseRef':this['isGitRepository']?this['runGit'](['rev-parse',_0x35a930(0x221)])[_0x35a930(0x342)]:'','baseBranch':this[_0x35a930(0x30b)]?this[_0x35a930(0x384)]([_0x35a930(0x356),_0x35a930(0x1e7)])[_0x35a930(0x342)]:'','status':_0x35a930(0x28c),'managed':![]}};}[_0x5d090b(0x198)](_0x1539d0={}){const _0x613b17=_0x5d090b;let {pipeline:_0x1ad4c0,task:_0x1b9029,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x1539d0;const _0x36f484=PipelineManager[_0x613b17(0x157)](_0x1b9029);if(_0x36f484)return _0x36f484;if(_0x1539d0[_0x613b17(0x190)])try{return this[_0x613b17(0x282)](_0x1b9029,_0x1539d0[_0x613b17(0x190)],_0x1539d0[_0x613b17(0x39d)]);}catch(_0x34e54c){return error(_0x613b17(0x330),_0x613b17(0x344),{'task':_0x1b9029,'runId':_0x1539d0['recoverRunId'],'diagnostic':creationFailure(_0x34e54c,'recovery-inspection')});}const _0x21550f=PipelineManager['validateWorkspace'](_0x1539d0[_0x613b17(0x2c0)]);if(_0x21550f)return _0x21550f;if(![0x2,0x3][_0x613b17(0x35d)](schemaVersion))return error(_0x613b17(0x1c0),_0x613b17(0x22e));for(const _0x256176 of['acceptanceCriteria',_0x613b17(0x289),'skills']){if(_0x1539d0[_0x256176]!==undefined&&(!Array['isArray'](_0x1539d0[_0x256176])||!_0x1539d0[_0x256176][_0x613b17(0x33d)](_0x4ff740=>typeof _0x4ff740===_0x613b17(0x314)&&_0x4ff740[_0x613b17(0x2dd)]())))return error(_0x613b17(0x2c3),_0x256176+'\x20must\x20contain\x20non-empty\x20strings.');}if(schemaVersion===0x3&&_0x1539d0[_0x613b17(0x341)]!==0x0&&_0x1ad4c0!==_0x613b17(0x350)&&!_0x1539d0[_0x613b17(0x28f)]?.[_0x613b17(0x361)])return error(_0x613b17(0x1e1),_0x613b17(0x375));let _0x230f53;if(schemaVersion===0x3&&_0x1539d0[_0x613b17(0x341)]!==0x0&&_0x1ad4c0!==_0x613b17(0x350))try{_0x230f53=require('../core/quality')['normalizeQualityPlan'](_0x1539d0['qualityPlan'],_0x1539d0[_0x613b17(0x28f)]||[],{'productImpact':_0x1539d0[_0x613b17(0x202)]===!![],'platformTarget':_0x1539d0[_0x613b17(0x202)]===!![]&&[_0x613b17(0x2a2),_0x613b17(0x150),_0x613b17(0x17d)][_0x613b17(0x35d)](_0x1539d0['productTarget'])?_0x1539d0[_0x613b17(0x2d6)]===_0x613b17(0x2a2)?_0x613b17(0x2a2):'mobile':null,'contentReview':_0x1ad4c0===_0x613b17(0x25a),'artifactReview':_0x1539d0[_0x613b17(0x1ae)]===!![]});}catch(_0x437bb5){return error(_0x613b17(0x1d8),_0x437bb5[_0x613b17(0x15f)]);}const _0x4312a3=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x5a4f92=_0x4312a3[_0x1ad4c0];if(!_0x5a4f92)return error(_0x613b17(0x25c),'Unknown\x20pipeline\x20type:\x20'+_0x1ad4c0+'.',{'valid_pipelines':Object[_0x613b17(0x2b4)](PIPELINE_DEFINITIONS)});const _0x17ce74=_0x5a4f92[_0x613b17(0x26b)][0x0][_0x613b17(0x2b8)];if(_0x17ce74){const _0x4a876c=this[_0x613b17(0x219)](_0x17ce74);if(_0x4a876c)return _0x4a876c;}if((workspace[_0x613b17(0x1e3)]||_0x613b17(0x2ac))===_0x613b17(0x2c5)&&!this[_0x613b17(0x30b)]){if(!workspace[_0x613b17(0x16d)]||!workspace[_0x613b17(0x207)])return this[_0x613b17(0x37b)]();if(!workspace[_0x613b17(0x30a)])return error(_0x613b17(0x240),_0x613b17(0x1ab));const _0x3c5d71=this['initializeGitFromPreview'](workspace[_0x613b17(0x207)]);if(!_0x3c5d71[_0x613b17(0x2db)])return _0x3c5d71;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this[_0x613b17(0x223)]('__pipeline_start__',()=>this[_0x613b17(0x223)](_0x1b9029,()=>{const _0x43889b=_0x613b17,_0x38459c=this[_0x43889b(0x19a)](_0x1b9029);if(_0x38459c&&[_0x43889b(0x1a8),_0x43889b(0x2ae),'paused']['includes'](_0x38459c[_0x43889b(0x210)]))return error(_0x43889b(0x225),_0x43889b(0x35e)+_0x1b9029+_0x43889b(0x17f),{'task':_0x1b9029,'runId':_0x38459c[_0x43889b(0x1fa)]});if(schemaVersion===0x3&&_0x1539d0['qualityVersion']!==0x0&&_0x1ad4c0!==_0x43889b(0x350)){const _0x174451=_0x6f0b12=>JSON[_0x43889b(0x1c9)](_0x6f0b12[_0x43889b(0x1d5)](_0x5b68a7=>_0x5b68a7[_0x43889b(0x2dd)]()[_0x43889b(0x1ec)](/\s+/g,'\x20')[_0x43889b(0x230)]())['sort']()),_0x24f7f8=_0x174451(_0x1539d0[_0x43889b(0x28f)]),_0x5033c4=_0xf03f3c=>{const _0x2ffa96=_0x43889b,_0x569edf=normalizePath(_0xf03f3c);return process[_0x2ffa96(0x36b)]===_0x2ffa96(0x19f)?_0x569edf['toLowerCase']():_0x569edf;};if(fs[_0x43889b(0x195)](this[_0x43889b(0x17b)])){const _0x4fdacf={};_0x4fdacf[_0x43889b(0x244)]=!![];for(const _0x398267 of fs[_0x43889b(0x23f)](this[_0x43889b(0x17b)],_0x4fdacf)){if(!_0x398267[_0x43889b(0x2ab)]()||_0x398267[_0x43889b(0x1ac)]['startsWith']('.')||_0x398267[_0x43889b(0x1ac)]===_0x1b9029)continue;const _0x59b763=this[_0x43889b(0x19a)](_0x398267[_0x43889b(0x1ac)]);if(_0x59b763&&[_0x43889b(0x1a8),'active','paused'][_0x43889b(0x35d)](_0x59b763['status'])&&_0x59b763[_0x43889b(0x2ed)]!==_0x43889b(0x350)&&_0x59b763[_0x43889b(0x35b)]?.[_0x43889b(0x1b0)]&&_0x59b763[_0x43889b(0x2c9)]?.['criteria']?.['length']&&[_0x59b763[_0x43889b(0x343)],_0x59b763[_0x43889b(0x2c0)][_0x43889b(0x174)]]['filter'](Boolean)['some'](_0x2b3141=>_0x5033c4(_0x2b3141)===_0x5033c4(this[_0x43889b(0x2f1)]))&&overlappingScope(_0x59b763['scope'],_0x1539d0['scope'],this[_0x43889b(0x2f1)])&&_0x174451(_0x59b763[_0x43889b(0x2c9)][_0x43889b(0x32c)])===_0x24f7f8){const _0x1cc6ca={};return _0x1cc6ca[_0x43889b(0x2f7)]=_0x59b763[_0x43889b(0x2f7)],_0x1cc6ca[_0x43889b(0x1fa)]=_0x59b763[_0x43889b(0x1fa)],_0x1cc6ca[_0x43889b(0x210)]=_0x59b763[_0x43889b(0x210)],_0x1cc6ca[_0x43889b(0x31e)]=_0x59b763[_0x43889b(0x1af)]?.[_0x43889b(0x31e)]||null,_0x1cc6ca[_0x43889b(0x325)]=_0x59b763['quality']?.['plan']?.[_0x43889b(0x325)]||null,error(_0x43889b(0x34a),_0x43889b(0x27e),_0x1cc6ca);}}}}const _0x1c7c07=this[_0x43889b(0x15a)](),_0x5f1542=this[_0x43889b(0x29b)](_0x1b9029);if(_0x5f1542)return error('RUN_CREATION_INCOMPLETE',_0x43889b(0x156),{'intent':_0x5f1542});const _0x1b7037=this['creationIntentFile'](_0x1b9029,_0x1c7c07),_0x46d7ee={'task':_0x1b9029,'runId':_0x1c7c07,'pipeline':_0x1ad4c0,'schemaVersion':schemaVersion,'status':_0x43889b(0x34c),'originWorkspace':this[_0x43889b(0x2f1)],'requestedWorkspace':workspace,'runtimeVersion':require('../../package.json')[_0x43889b(0x2d8)],'args':_0x1539d0,'createdAt':this[_0x43889b(0x205)]()[_0x43889b(0x332)]()};this['atomicWriteJson'](_0x1b7037,_0x46d7ee);let _0x5cd441=_0x43889b(0x1cd);try{const _0x1c10d9=this['resolveWorkspace'](_0x1b9029,_0x1c7c07,workspace);if(!_0x1c10d9[_0x43889b(0x2db)]){const _0x140c84={..._0x46d7ee};return _0x140c84[_0x43889b(0x210)]='failed',_0x140c84['error']=_0x1c10d9,this[_0x43889b(0x2d9)](_0x1b7037,_0x140c84),_0x1c10d9;}_0x46d7ee['workspace']=_0x1c10d9[_0x43889b(0x2c0)],_0x46d7ee[_0x43889b(0x210)]=_0x43889b(0x275),_0x5cd441=_0x43889b(0x1a0),this[_0x43889b(0x2d9)](_0x1b7037,_0x46d7ee);const _0x24e09f={'schemaVersion':schemaVersion,'task':_0x1b9029,'runId':_0x1c7c07,'pipeline':_0x1ad4c0,'status':_0x43889b(0x2ae),'completedSteps':[],'originWorkspace':this[_0x43889b(0x2f1)],'workspace':_0x1c10d9[_0x43889b(0x2c0)],'startedAt':this[_0x43889b(0x205)]()[_0x43889b(0x332)](),'updatedAt':this['now']()[_0x43889b(0x332)]()};_0x5cd441='snapshot';if(schemaVersion===0x3)this[_0x43889b(0x1af)][_0x43889b(0x2be)](_0x24e09f,_0x1539d0);else this['pinLegacyDefinition'](_0x24e09f);this[_0x43889b(0x255)](_0x24e09f),_0x5cd441=_0x43889b(0x2bb);const _0x1f5e5e={};_0x1f5e5e[_0x43889b(0x20e)]=!![],this[_0x43889b(0x16b)](_0x24e09f,_0x1f5e5e),_0x5cd441=_0x43889b(0x386),this[_0x43889b(0x16f)](_0x24e09f,_0x43889b(0x27a),'Workspace:\x20'+_0x24e09f[_0x43889b(0x2c0)][_0x43889b(0x174)]+_0x43889b(0x308)+_0x5a4f92[_0x43889b(0x26b)][0x0]['id']),_0x5cd441=_0x43889b(0x180);const _0x1d3764={..._0x46d7ee};_0x1d3764[_0x43889b(0x210)]=_0x43889b(0x345),this['atomicWriteJson'](_0x1b7037,_0x1d3764);const _0x2bdfc3={};return _0x2bdfc3[_0x43889b(0x2db)]=!![],this[_0x43889b(0x329)](_0x24e09f,_0x2bdfc3);}catch(_0x465114){const _0x112acf=creationFailure(_0x465114,_0x5cd441);try{const _0x4f4b1c={..._0x46d7ee};_0x4f4b1c[_0x43889b(0x210)]=_0x43889b(0x359),_0x4f4b1c[_0x43889b(0x27b)]=_0x112acf,this[_0x43889b(0x2d9)](_0x1b7037,_0x4f4b1c);}catch{}const _0x7baa17={};return _0x7baa17[_0x43889b(0x2f7)]=_0x1b9029,_0x7baa17['runId']=_0x1c7c07,_0x7baa17[_0x43889b(0x313)]=_0x1b7037,_0x7baa17[_0x43889b(0x2c0)]=_0x46d7ee[_0x43889b(0x2c0)],_0x7baa17['reason']=_0x112acf[_0x43889b(0x1f1)],_0x7baa17['diagnostic']=_0x112acf,error('RUN_INITIALIZATION_FAILED','Run\x20creation\x20was\x20interrupted;\x20its\x20workspace\x20and\x20intent\x20were\x20preserved.',_0x7baa17);}}));}catch(_0x53b57d){return error(_0x613b17(0x175),_0x613b17(0x164),{'task':_0x1b9029,'diagnostic':creationFailure(_0x53b57d,_0x613b17(0x34d))});}}[_0x5d090b(0x235)](_0x3289b0={}){const _0x3b73ca=_0x5d090b;return this[_0x3b73ca(0x1af)][_0x3b73ca(0x235)](_0x3289b0);}[_0x5d090b(0x16a)](){const _0x28720f=_0x5d090b;return this[_0x28720f(0x1af)][_0x28720f(0x16a)]();}[_0x5d090b(0x2dc)](_0x42ccc8={}){const _0x1234db=_0x5d090b;return this[_0x1234db(0x1af)][_0x1234db(0x2dc)](_0x42ccc8);}['recordVerification'](_0x374496={}){const _0x44fdcb=_0x5d090b;return this[_0x44fdcb(0x1af)][_0x44fdcb(0x1d3)](_0x374496);}[_0x5d090b(0x1f4)](_0x4b8e9f={},_0x4686d4){const _0x4105d8=_0x5d090b;return this[_0x4105d8(0x1af)][_0x4105d8(0x1f4)](_0x4b8e9f,_0x4686d4);}['canMutate'](_0x171244={}){const _0x3d51ef=_0x5d090b;return this[_0x3d51ef(0x1af)][_0x3d51ef(0x215)](_0x171244);}[_0x5d090b(0x307)](_0x4a700d={}){const _0x5ab3e6=_0x5d090b,{task:_0x200264,runId:_0x257e27,pipeline:_0x8369b9,step:_0x4155c0,status:_0x4f0604,summary:_0x18aa28}=_0x4a700d,_0x3d7bc1=PipelineManager['validateTask'](_0x200264);if(_0x3d7bc1)return _0x3d7bc1;if(!_0x257e27)return error(_0x5ab3e6(0x173),'runId\x20is\x20required\x20for\x20pipeline\x20mutations.');const _0x190560=PipelineManager['validateRunId'](_0x257e27);if(_0x190560)return _0x190560;const _0x33bb77=this[_0x5ab3e6(0x17e)](_0x200264,_0x257e27);if(_0x33bb77&&this[_0x5ab3e6(0x324)](_0x33bb77)[_0x5ab3e6(0x31a)]===_0x5ab3e6(0x262))return error(this[_0x5ab3e6(0x324)](_0x33bb77)[_0x5ab3e6(0x1f1)],_0x5ab3e6(0x36e));if(_0x33bb77?.[_0x5ab3e6(0x397)]===0x3)return this['execution'][_0x5ab3e6(0x307)](_0x4a700d);return this[_0x5ab3e6(0x223)](_0x200264,()=>{const _0x1691f9=_0x5ab3e6,_0x3e9a2d=this[_0x1691f9(0x17e)](_0x200264,_0x257e27);if(!_0x3e9a2d)return error(_0x1691f9(0x1c6),_0x1691f9(0x374)+_0x257e27+_0x1691f9(0x368)+_0x200264+'\x22.');const _0xaad58b=this[_0x1691f9(0x19a)](_0x200264);if(!_0xaad58b||_0xaad58b[_0x1691f9(0x1fa)]!==_0x257e27)return error(_0x1691f9(0x2d0),_0x1691f9(0x25f));if(_0x3e9a2d['status']!==_0x1691f9(0x2ae))return error(_0x1691f9(0x21b),'Run\x20is\x20'+_0x3e9a2d[_0x1691f9(0x210)]+',\x20not\x20active.');if(_0x8369b9&&_0x8369b9!==_0x3e9a2d[_0x1691f9(0x2ed)])return error(_0x1691f9(0x336),_0x1691f9(0x35a)+_0x3e9a2d[_0x1691f9(0x2ed)]+_0x1691f9(0x239)+_0x8369b9+'\x22.');if(_0x4f0604!==_0x1691f9(0x345))return error(_0x1691f9(0x23e),'Checkpoint\x20status\x20must\x20be\x20\x22completed\x22.');const _0xaef131=_0x3e9a2d[_0x1691f9(0x21c)],_0x15bc54=_0xaef131[_0x1691f9(0x26b)][_0x3e9a2d[_0x1691f9(0x1e5)]['length']];if(!_0x15bc54||_0x15bc54['id']!==_0x4155c0)return error(_0x1691f9(0x1d9),_0x1691f9(0x2cf)+(_0x15bc54?.['id']||_0x1691f9(0x38d))+_0x1691f9(0x26c)+_0x4155c0+'\x22.',{'expected_step':_0x15bc54?.['id']||null});if(_0x15bc54[_0x1691f9(0x2b8)]){const _0x2b0ad5=this[_0x1691f9(0x219)](_0x15bc54[_0x1691f9(0x2b8)],_0x3e9a2d[_0x1691f9(0x2c0)][_0x1691f9(0x174)]);if(_0x2b0ad5)return _0x2b0ad5;}if(_0x3e9a2d['pipeline']===_0x1691f9(0x33a)&&_0x4155c0===_0x1691f9(0x1fe)&&(!_0x18aa28||_0x18aa28[_0x1691f9(0x2dd)]()['length']<0xa))return error(_0x1691f9(0x250),_0x1691f9(0x18f));_0x3e9a2d[_0x1691f9(0x1e5)][_0x1691f9(0x212)]({'id':_0x4155c0,'summary':_0x18aa28||'','completedAt':this[_0x1691f9(0x205)]()[_0x1691f9(0x332)]()});if(_0x3e9a2d[_0x1691f9(0x1e5)][_0x1691f9(0x361)]===_0xaef131[_0x1691f9(0x26b)][_0x1691f9(0x361)])_0x3e9a2d[_0x1691f9(0x210)]=_0x1691f9(0x345);this[_0x1691f9(0x16b)](_0x3e9a2d),this[_0x1691f9(0x16f)](_0x3e9a2d,_0x1691f9(0x2f5)+_0x4155c0,_0x18aa28||_0x1691f9(0x1cc));const _0xc13c7a={};_0xc13c7a['success']=!![];const _0x380258=this[_0x1691f9(0x329)](_0x3e9a2d,_0xc13c7a);if(MEMORY_TRIGGERS[_0x4155c0])_0x380258[_0x1691f9(0x161)]=MEMORY_TRIGGERS[_0x4155c0];return _0x380258;});}[_0x5d090b(0x255)](_0x8ee32b){const _0x340298=_0x5d090b,_0x3274c2=this[_0x340298(0x18c)](path[_0x340298(0x1fb)](this[_0x340298(0x326)](_0x8ee32b['task']),_0x340298(0x301)));if(!_0x3274c2||_0x3274c2['task']!==_0x8ee32b[_0x340298(0x2f7)]||PipelineManager[_0x340298(0x15b)](_0x3274c2[_0x340298(0x1fa)]))return;const _0xccacf7=this[_0x340298(0x17e)](_0x8ee32b['task'],_0x3274c2['runId']);if(!_0xccacf7||_0xccacf7['status']!==_0x340298(0x2c6)||_0xccacf7[_0x340298(0x201)]?.[_0x340298(0x1a1)]!=='runtime-upgrade'||_0xccacf7[_0x340298(0x201)][_0x340298(0x2bf)]!==_0x3274c2[_0x340298(0x2bf)]||!require(_0x340298(0x2a8))['sameWorkspace'](_0xccacf7[_0x340298(0x2c0)]?.['path']||'',_0x8ee32b[_0x340298(0x2c0)][_0x340298(0x174)]))return;_0x8ee32b[_0x340298(0x24d)]={'task':_0x8ee32b[_0x340298(0x2f7)],'runId':_0xccacf7[_0x340298(0x1fa)],'reason':_0x340298(0x299),'requirements':[..._0xccacf7[_0x340298(0x2c9)]?.[_0x340298(0x32c)]||[]],'findings':JSON[_0x340298(0x37a)](JSON[_0x340298(0x1c9)](Object[_0x340298(0x2df)](_0xccacf7[_0x340298(0x35b)]?.[_0x340298(0x38f)]||{})[_0x340298(0x34f)](_0x3d3d98=>_0x3d3d98[_0x340298(0x381)]!==![]&&![_0x340298(0x29d),_0x340298(0x270)][_0x340298(0x35d)](_0x3d3d98[_0x340298(0x210)])))),'attempts':{..._0xccacf7[_0x340298(0x1af)]?.[_0x340298(0x357)]||{}},'noProgress':_0xccacf7[_0x340298(0x1af)]?.[_0x340298(0x22f)]||0x0,'lastFailure':_0xccacf7[_0x340298(0x1af)]?.[_0x340298(0x2a3)]||null,'progress':(_0xccacf7[_0x340298(0x252)]||[])[_0x340298(0x1d5)](_0x5ee797=>({'id':_0x5ee797['id'],'noProgress':_0x5ee797[_0x340298(0x22f)]||0x0,'lastFailure':_0x5ee797[_0x340298(0x2a3)]||null}))};if(_0x8ee32b[_0x340298(0x397)]!==0x3)return;_0x8ee32b[_0x340298(0x1af)][_0x340298(0x357)]={..._0x8ee32b['inherited']['attempts']},_0x8ee32b[_0x340298(0x1af)]['inheritedAttemptFloor']=Math[_0x340298(0x318)](0x0,_0xccacf7[_0x340298(0x1af)]?.['inheritedAttemptFloor']||0x0,...Object[_0x340298(0x2df)](_0x8ee32b[_0x340298(0x24d)]['attempts'])),_0x8ee32b[_0x340298(0x1af)][_0x340298(0x22f)]=_0x8ee32b[_0x340298(0x24d)][_0x340298(0x22f)],_0x8ee32b['execution'][_0x340298(0x2a3)]=_0x8ee32b[_0x340298(0x24d)][_0x340298(0x2a3)];[_0x340298(0x2bd),_0x340298(0x2ad)]['includes'](_0xccacf7['execution']?.['stopReason'])&&(_0x8ee32b[_0x340298(0x210)]=_0x340298(0x1cb),_0x8ee32b[_0x340298(0x1af)][_0x340298(0x31e)]=_0xccacf7[_0x340298(0x1af)][_0x340298(0x31e)]);for(const _0x23c283 of _0x8ee32b[_0x340298(0x24d)][_0x340298(0x38f)])if(_0x8ee32b['quality'])_0x8ee32b[_0x340298(0x35b)][_0x340298(0x38f)][_0x23c283['id']]={..._0x23c283,'status':_0x340298(0x339),'inheritedFrom':_0xccacf7[_0x340298(0x1fa)],'resolution':null};}[_0x5d090b(0x273)]({task:_0x51b5cb,runId:_0x492a5a,transactionId:_0x24ed29,epoch:_0x3da8c4,target:_0x5c21e7}){const _0x37b6cb=_0x5d090b,{readFence:_0x2b480d}=require(_0x37b6cb(0x19b)),_0x3a02c2=_0x2b480d(this[_0x37b6cb(0x2f1)]);if(_0x3a02c2['state']!==_0x37b6cb(0x25d)||_0x3a02c2[_0x37b6cb(0x2bf)]!==_0x24ed29||_0x3a02c2['epoch']!==_0x3da8c4||_0x3a02c2[_0x37b6cb(0x292)]!==_0x5c21e7?.[_0x37b6cb(0x2d8)]||_0x3a02c2['targetDigest']!==_0x5c21e7?.[_0x37b6cb(0x278)])return error(_0x37b6cb(0x390),_0x37b6cb(0x24a));const _0x596187=PipelineManager[_0x37b6cb(0x157)](_0x51b5cb)||PipelineManager['validateRunId'](_0x492a5a);if(_0x596187)return _0x596187;return this['withLock'](_0x51b5cb,()=>{const _0x52bcb4=_0x37b6cb,_0x509408=this[_0x52bcb4(0x17e)](_0x51b5cb,_0x492a5a);if(!_0x509408||!_0x509408[_0x52bcb4(0x2c0)]?.[_0x52bcb4(0x174)]||!require(_0x52bcb4(0x2a8))[_0x52bcb4(0x300)](_0x509408['workspace'][_0x52bcb4(0x174)],this[_0x52bcb4(0x2f1)]))return error('RUN_WORKSPACE_UNVERIFIED',_0x52bcb4(0x348));const _0x39b23c=_0x509408['status']===_0x52bcb4(0x2c6)&&_0x509408[_0x52bcb4(0x201)]?.[_0x52bcb4(0x2bf)]===_0x24ed29,_0x5f5280={};_0x5f5280[_0x52bcb4(0x2db)]=!![],_0x5f5280[_0x52bcb4(0x1bd)]=!![];if(!_0x39b23c&&['completed',_0x52bcb4(0x2c6)][_0x52bcb4(0x35d)](_0x509408[_0x52bcb4(0x210)]))return _0x5f5280;if(_0x509408[_0x52bcb4(0x1af)]?.['active']?.[_0x52bcb4(0x361)]||(_0x509408['execution']?.[_0x52bcb4(0x2d4)]||[])[_0x52bcb4(0x295)](_0x115f1b=>_0x115f1b[_0x52bcb4(0x265)]==='confirmed'&&_0x115f1b[_0x52bcb4(0x323)]!==_0x52bcb4(0x178)))return error(_0x52bcb4(0x243),'Confirm\x20worker\x20shutdown\x20before\x20cancelling\x20the\x20run.');!_0x39b23c&&(_0x509408['status']=_0x52bcb4(0x2c6),_0x509408[_0x52bcb4(0x20b)]=this[_0x52bcb4(0x205)]()[_0x52bcb4(0x332)](),_0x509408[_0x52bcb4(0x201)]={'reason':'runtime-upgrade','transactionId':_0x24ed29,'target':_0x5c21e7,'epoch':_0x3da8c4,'cancelledAt':_0x509408[_0x52bcb4(0x20b)]},this[_0x52bcb4(0x16b)](_0x509408),this[_0x52bcb4(0x16f)](_0x509408,_0x52bcb4(0x237),_0x52bcb4(0x1ce)+_0x24ed29+_0x52bcb4(0x268)));this[_0x52bcb4(0x2d9)](path[_0x52bcb4(0x1fb)](this[_0x52bcb4(0x326)](_0x51b5cb),_0x52bcb4(0x301)),{'task':_0x51b5cb,'runId':_0x492a5a,'transactionId':_0x24ed29,'target':_0x5c21e7});const _0x15ca86=this[_0x52bcb4(0x18c)](this['currentFile'](_0x51b5cb));if(_0x15ca86?.[_0x52bcb4(0x1fa)]===_0x492a5a)fs[_0x52bcb4(0x37d)](this[_0x52bcb4(0x1e4)](_0x51b5cb));const _0x14ac2a=new(require('../core/session'))['SessionRuntime'](this['projectPath']);if(fs[_0x52bcb4(0x195)](_0x14ac2a[_0x52bcb4(0x229)]))for(const _0x1b21e5 of fs[_0x52bcb4(0x23f)](_0x14ac2a[_0x52bcb4(0x229)])){if(!/^[a-f0-9]{64}\.json$/[_0x52bcb4(0x153)](_0x1b21e5))continue;const _0x302c36=this[_0x52bcb4(0x18c)](path[_0x52bcb4(0x1fb)](_0x14ac2a['directory'],_0x1b21e5));if(_0x302c36?.[_0x52bcb4(0x2f7)]===_0x51b5cb&&_0x302c36[_0x52bcb4(0x1fa)]===_0x492a5a)_0x14ac2a['transact'](_0x302c36['sessionId'],_0x2425ec=>{const _0x21e7cd=_0x52bcb4,_0x195365={};_0x195365[_0x21e7cd(0x2f7)]=_0x51b5cb,_0x195365[_0x21e7cd(0x1fa)]=_0x492a5a,_0x195365[_0x21e7cd(0x1a1)]='runtime-upgrade',_0x2425ec['previousRun']=_0x195365,_0x2425ec['task']=null,_0x2425ec[_0x21e7cd(0x1fa)]=null,_0x2425ec[_0x21e7cd(0x2fa)]=null,_0x2425ec[_0x21e7cd(0x357)]={};});}const _0x313379={};return _0x313379[_0x52bcb4(0x2db)]=!![],_0x313379[_0x52bcb4(0x26e)]=_0x39b23c,_0x313379[_0x52bcb4(0x201)]=_0x509408[_0x52bcb4(0x201)],_0x313379;});}['reset']({task:_0x193f6e,runId:_0x27a349,confirm:_0x7767b3,target:target=_0x5d090b(0x310),sessionId:_0x437ade}={}){const _0x24c411=_0x5d090b,_0x5757d8=PipelineManager[_0x24c411(0x157)](_0x193f6e);if(_0x5757d8)return _0x5757d8;if(!_0x27a349)return error(_0x24c411(0x173),'runId\x20is\x20required\x20for\x20pipeline\x20reset.');const _0x45d96d=PipelineManager[_0x24c411(0x15b)](_0x27a349);if(_0x45d96d)return _0x45d96d;if(_0x7767b3!==!![])return error(_0x24c411(0x208),_0x24c411(0x1f6));if(![_0x24c411(0x310),_0x24c411(0x39f)][_0x24c411(0x35d)](target))return error('INVALID_RESET_TARGET','target\x20must\x20be\x20run\x20or\x20creation.');return this[_0x24c411(0x223)](_0x193f6e,()=>{const _0xdb3132=_0x24c411;if(target===_0xdb3132(0x39f)){const _0x160ffd=this['creationIntentFile'](_0x193f6e,_0x27a349),_0x160636=this[_0xdb3132(0x18c)](_0x160ffd);if(!_0x160636||_0x160636['task']!==_0x193f6e||_0x160636[_0xdb3132(0x1fa)]!==_0x27a349||!['creating',_0xdb3132(0x275),_0xdb3132(0x359)][_0xdb3132(0x35d)](_0x160636[_0xdb3132(0x210)]))return error(_0xdb3132(0x303),'A\x20matching\x20unresolved\x20creation\x20intent\x20is\x20required.');if(!_0x437ade||_0x160636[_0xdb3132(0x1bb)]?.[_0xdb3132(0x39d)]&&_0x160636[_0xdb3132(0x1bb)][_0xdb3132(0x39d)]!==_0x437ade)return error(_0xdb3132(0x383),_0xdb3132(0x1be));if(PipelineManager[_0xdb3132(0x2ba)](_0x160636[_0xdb3132(0x396)])||_0x160636[_0xdb3132(0x343)]&&(typeof _0x160636[_0xdb3132(0x343)]!==_0xdb3132(0x314)||normalizePath(_0x160636['originWorkspace'])!==this['projectPath'])||!_0x160636[_0xdb3132(0x2c0)]||_0x160636[_0xdb3132(0x2c0)][_0xdb3132(0x311)]||!_0x160636[_0xdb3132(0x2c0)][_0xdb3132(0x174)]||normalizePath(_0x160636[_0xdb3132(0x2c0)]['path'])!==this['projectPath'])return error(_0xdb3132(0x247),_0xdb3132(0x2fd));if(this[_0xdb3132(0x17e)](_0x193f6e,_0x27a349)||fs[_0xdb3132(0x195)](this[_0xdb3132(0x21f)](_0x193f6e,_0x27a349))||fs[_0xdb3132(0x195)](this[_0xdb3132(0x1e4)](_0x193f6e)))return error(_0xdb3132(0x20a),_0xdb3132(0x290));this[_0xdb3132(0x2d9)](_0x160ffd,{..._0x160636,'status':_0xdb3132(0x15c),'resolvedAt':this[_0xdb3132(0x205)]()[_0xdb3132(0x332)](),'resolvedBySession':_0x437ade,'resolution':_0xdb3132(0x2f0)});const _0x4539e4={};return _0x4539e4['success']=!![],_0x4539e4[_0xdb3132(0x2f7)]=_0x193f6e,_0x4539e4[_0xdb3132(0x1fa)]=_0x27a349,_0x4539e4[_0xdb3132(0x28e)]=_0xdb3132(0x39f),_0x4539e4[_0xdb3132(0x313)]=_0x160ffd,_0x4539e4['state']=_0xdb3132(0x15c),_0x4539e4[_0xdb3132(0x246)]=!![],_0x4539e4;}const _0x20a998=this[_0xdb3132(0x17e)](_0x193f6e,_0x27a349);if(!_0x20a998)return error(_0xdb3132(0x1c6),_0xdb3132(0x374)+_0x27a349+_0xdb3132(0x15e));const _0x59daa9=this[_0xdb3132(0x324)](_0x20a998);if(_0x59daa9[_0xdb3132(0x31a)]===_0xdb3132(0x262))return error(_0x59daa9[_0xdb3132(0x1f1)],_0xdb3132(0x360));if(_0x20a998[_0xdb3132(0x18a)]&&_0x20a998[_0xdb3132(0x18a)]!==_0x437ade)return error(_0xdb3132(0x383),_0xdb3132(0x2b1));const _0x54fd80=this['readCurrent'](_0x193f6e);if(!_0x54fd80||_0x54fd80[_0xdb3132(0x1fa)]!==_0x27a349)return error(_0xdb3132(0x2d0),'This\x20run\x20is\x20no\x20longer\x20the\x20current\x20run\x20for\x20the\x20task.');if(!['active','paused'][_0xdb3132(0x35d)](_0x20a998[_0xdb3132(0x210)]))return error('RUN_NOT_ACTIVE','Run\x20is\x20'+_0x20a998['status']+',\x20not\x20active.');if(_0x20a998[_0xdb3132(0x1af)]?.['active'][_0xdb3132(0x361)])return error(_0xdb3132(0x2da),_0xdb3132(0x335));_0x20a998[_0xdb3132(0x210)]=_0xdb3132(0x2c6),_0x20a998[_0xdb3132(0x20b)]=this['now']()['toISOString'](),this[_0xdb3132(0x16b)](_0x20a998),this[_0xdb3132(0x16f)](_0x20a998,_0xdb3132(0x220),_0xdb3132(0x257));const _0x392bd3={};return _0x392bd3[_0xdb3132(0x2db)]=!![],this[_0xdb3132(0x329)](_0x20a998,_0x392bd3);});}[_0x5d090b(0x30d)](_0x394e4c,_0x39fb9a){const _0x440a64=_0x5d090b,_0x2b792b=PipelineManager[_0x440a64(0x157)](_0x394e4c);if(_0x2b792b)return _0x2b792b;if(!_0x39fb9a)return error(_0x440a64(0x173),'runId\x20is\x20required.');const _0x380b29=PipelineManager[_0x440a64(0x15b)](_0x39fb9a);if(_0x380b29)return _0x380b29;const _0x1fce3c=this['repairRun'](_0x394e4c,_0x39fb9a);if(_0x1fce3c?.['success']===![])return _0x1fce3c;if(!_0x1fce3c)return error(_0x440a64(0x1c6),_0x440a64(0x374)+_0x39fb9a+_0x440a64(0x15e));const _0x5ab822=this[_0x440a64(0x324)](_0x1fce3c);if(_0x5ab822[_0x440a64(0x31a)]===_0x440a64(0x262))return error(_0x5ab822[_0x440a64(0x1f1)],_0x440a64(0x151));if(![_0x440a64(0x2ae),_0x440a64(0x1cb)]['includes'](_0x1fce3c['status']))return error(_0x440a64(0x21b),_0x440a64(0x2ee)+_0x1fce3c[_0x440a64(0x210)]+_0x440a64(0x23a));const _0x3ccd9f={};return _0x3ccd9f[_0x440a64(0x2db)]=!![],this[_0x440a64(0x329)](_0x1fce3c,_0x3ccd9f);}[_0x5d090b(0x329)](_0x16ecce,_0x58d508={}){const _0x5e9438=_0x5d090b,_0x475362=this[_0x5e9438(0x324)](_0x16ecce),_0x16ded2=_0x16ecce[_0x5e9438(0x397)]===0x3?_0x16ecce[_0x5e9438(0x21c)]:_0x16ecce[_0x5e9438(0x21c)]||PIPELINE_DEFINITIONS[_0x16ecce[_0x5e9438(0x2ed)]],_0x1f33ee={..._0x58d508};_0x1f33ee[_0x5e9438(0x2ae)]=![],_0x1f33ee['state']=_0x16ecce['status'],_0x1f33ee[_0x5e9438(0x2f7)]=_0x16ecce[_0x5e9438(0x2f7)],_0x1f33ee['runId']=_0x16ecce['runId'],_0x1f33ee[_0x5e9438(0x2ed)]=_0x16ecce[_0x5e9438(0x2ed)],_0x1f33ee[_0x5e9438(0x365)]=_0x475362,_0x1f33ee[_0x5e9438(0x262)]=!![],_0x1f33ee[_0x5e9438(0x312)]={},_0x1f33ee[_0x5e9438(0x312)][_0x5e9438(0x1e0)]='contract-unavailable',_0x1f33ee[_0x5e9438(0x312)][_0x5e9438(0x1f1)]=_0x475362[_0x5e9438(0x1f1)];if(!_0x16ded2?.[_0x5e9438(0x26b)])return _0x1f33ee;const _0x4cd08f=_0x16ecce[_0x5e9438(0x1e5)][_0x5e9438(0x361)],_0x662bbb=_0x16ded2[_0x5e9438(0x26b)][_0x4cd08f]||null,_0x24cfe8={..._0x58d508,'active':_0x16ecce[_0x5e9438(0x210)]===_0x5e9438(0x2ae),'state':_0x16ecce[_0x5e9438(0x210)],'task':_0x16ecce[_0x5e9438(0x2f7)],'runId':_0x16ecce[_0x5e9438(0x1fa)],'pipeline':_0x16ecce[_0x5e9438(0x2ed)],'pipeline_name':_0x16ded2[_0x5e9438(0x1ac)],'progress':_0x4cd08f+'/'+_0x16ded2[_0x5e9438(0x26b)][_0x5e9438(0x361)],'completed':_0x16ecce[_0x5e9438(0x1e5)][_0x5e9438(0x1d5)](_0x31efc2=>_0x31efc2['id']),'next_step':_0x662bbb?{'id':_0x662bbb['id'],'name':_0x662bbb[_0x5e9438(0x1ac)],'skill':_0x662bbb[_0x5e9438(0x2b8)]}:null,'workspacePath':_0x16ecce[_0x5e9438(0x2c0)]['path'],'stateRoot':this[_0x5e9438(0x17b)],'ledgerPath':this[_0x5e9438(0x260)](_0x16ecce[_0x5e9438(0x2f7)],_0x16ecce['runId']),'workspace':_0x16ecce[_0x5e9438(0x2c0)],'compatibility':_0x475362,'cancellation':_0x16ecce[_0x5e9438(0x201)]||null,'inherited':_0x16ecce[_0x5e9438(0x24d)]||null,'tool_routing':TOOL_ROUTING};if(_0x475362[_0x5e9438(0x31a)]===_0x5e9438(0x262))return{..._0x24cfe8,'active':![],'blocked':!![],'nextAction':{'kind':_0x5e9438(0x163),'code':_0x475362[_0x5e9438(0x1f1)]}};const _0x1f6e6b={};_0x1f6e6b['kind']=_0x5e9438(0x38e);const _0x11a66d={};_0x11a66d[_0x5e9438(0x1e0)]=_0x5e9438(0x24f);if(_0x16ecce['schemaVersion']===0x3)Object['assign'](_0x24cfe8,{'schemaVersion':0x3,'versions':_0x16ecce[_0x5e9438(0x194)],'acceptance':_0x16ecce['acceptance'],'sessionId':_0x16ecce['coordinator'],'workItems':_0x16ecce['workItems'],'plannedItems':_0x16ecce[_0x5e9438(0x252)]||[],'execution':_0x16ecce[_0x5e9438(0x1af)],'receiptObservations':_0x16ecce[_0x5e9438(0x1af)][_0x5e9438(0x2d4)]||[],'verification_level':_0x16ecce[_0x5e9438(0x35b)]?'assertion-evidence':_0x5e9438(0x315),'stop_reason':_0x16ecce['execution']['stopReason'],'nextAction':_0x16ecce['status']==='cancelled'?{'kind':_0x5e9438(0x217),'reason':_0x16ecce['cancellation']?.['reason']||_0x5e9438(0x2c6)}:_0x16ecce['status']===_0x5e9438(0x345)?_0x1f6e6b:_0x16ecce[_0x5e9438(0x210)]===_0x5e9438(0x1cb)?{'kind':_0x5e9438(0x1cb),'reason':_0x16ecce[_0x5e9438(0x1af)][_0x5e9438(0x31e)]}:_0x16ecce[_0x5e9438(0x1af)]['nextAction']||_0x11a66d});if(_0x16ecce[_0x5e9438(0x35b)]&&_0x58d508[_0x5e9438(0x226)]===![])_0x24cfe8[_0x5e9438(0x35b)]={'plan':_0x16ecce[_0x5e9438(0x35b)][_0x5e9438(0x1b0)],'freshness':_0x5e9438(0x28b),'reason':'snapshot-not-refreshed','checks':Object[_0x5e9438(0x34e)](_0x16ecce[_0x5e9438(0x35b)][_0x5e9438(0x1b0)]['checks'][_0x5e9438(0x1d5)](_0x2d99d0=>[_0x2d99d0['id'],'unverified'])),'criteria':Object[_0x5e9438(0x34e)](_0x16ecce[_0x5e9438(0x35b)][_0x5e9438(0x1b0)][_0x5e9438(0x32c)][_0x5e9438(0x1d5)](_0x2d081a=>[_0x2d081a['id'],{'expectedOutcome':_0x2d081a[_0x5e9438(0x371)],'source':_0x2d081a['source'],'status':_0x5e9438(0x28b)}])),'missingChecks':_0x16ecce[_0x5e9438(0x35b)][_0x5e9438(0x1b0)][_0x5e9438(0x1b3)]['filter'](_0x103ba8=>_0x103ba8['required']!==![])[_0x5e9438(0x1d5)](_0x928f09=>_0x928f09['id']),'openFindings':Object[_0x5e9438(0x2df)](_0x16ecce['quality']['findings']||{})[_0x5e9438(0x34f)](_0x1c8b66=>_0x1c8b66[_0x5e9438(0x381)]!==![]),'unavailable':_0x16ecce[_0x5e9438(0x35b)][_0x5e9438(0x284)]||{},'reviewProvenance':[],'impactEscalation':_0x16ecce['quality'][_0x5e9438(0x2c4)]||null};else{if(_0x16ecce[_0x5e9438(0x35b)]){const _0x15b4d3=this[_0x5e9438(0x1af)][_0x5e9438(0x394)](_0x16ecce)['id'],_0x297209=Object[_0x5e9438(0x34e)](_0x16ecce['quality'][_0x5e9438(0x1b0)]['checks'][_0x5e9438(0x1d5)](_0x4af2d4=>{const _0x5affaa=_0x5e9438,_0x2f40ea=_0x16ecce[_0x5affaa(0x1af)][_0x5affaa(0x170)]['filter'](_0x20526b=>_0x20526b[_0x5affaa(0x35b)]?.[_0x5affaa(0x1f3)]===_0x4af2d4['id']&&_0x20526b[_0x5affaa(0x394)]===_0x15b4d3&&_0x20526b['acceptanceRevision']===_0x16ecce[_0x5affaa(0x2c9)][_0x5affaa(0x231)]&&!_0x20526b[_0x5affaa(0x186)])['at'](-0x1);return[_0x4af2d4['id'],_0x2f40ea&&artifactEvidenceCurrent(_0x16ecce,_0x2f40ea)?_0x2f40ea['quality'][_0x5affaa(0x210)]:_0x5affaa(0x28b)];})),_0x38cb4c=Object['fromEntries'](_0x16ecce[_0x5e9438(0x35b)][_0x5e9438(0x1b0)][_0x5e9438(0x32c)][_0x5e9438(0x1d5)](_0x305b82=>{const _0x29c978=_0x5e9438,_0x369e13=new Set([..._0x305b82[_0x29c978(0x398)],..._0x16ecce[_0x29c978(0x35b)][_0x29c978(0x1b0)][_0x29c978(0x1b3)][_0x29c978(0x34f)](_0x4e79b7=>_0x4e79b7[_0x29c978(0x381)]!==![]&&_0x4e79b7[_0x29c978(0x1d0)][_0x29c978(0x35d)](_0x305b82['id']))['map'](_0x6ba7a4=>_0x6ba7a4['id'])]);return[_0x305b82['id'],{'expectedOutcome':_0x305b82['expectedOutcome'],'source':_0x305b82[_0x29c978(0x152)],'status':[..._0x369e13][_0x29c978(0x33d)](_0x2e0f22=>_0x297209[_0x2e0f22]===_0x29c978(0x2ce))&&(!_0x16ecce[_0x29c978(0x35b)]['plan']['artifactReview']||_0x16ecce[_0x29c978(0x35b)][_0x29c978(0x1b0)]['checks']['some'](_0x19b07c=>_0x19b07c[_0x29c978(0x381)]!==![]&&_0x19b07c[_0x29c978(0x192)]?.[_0x29c978(0x361)]))?_0x29c978(0x2ce):[..._0x369e13]['some'](_0x5d061e=>_0x297209[_0x5d061e]==='failed')?'failed':_0x29c978(0x28b)}];}));_0x24cfe8[_0x5e9438(0x35b)]={'plan':_0x16ecce[_0x5e9438(0x35b)][_0x5e9438(0x1b0)],'freshness':'verified','checks':_0x297209,'openFindings':this[_0x5e9438(0x1af)][_0x5e9438(0x274)](_0x16ecce),'impactEscalation':_0x16ecce[_0x5e9438(0x35b)]['impactEscalation']||null,'criteria':_0x38cb4c,'missingChecks':this['execution'][_0x5e9438(0x33c)](_0x16ecce),'unavailable':_0x16ecce[_0x5e9438(0x35b)]['unavailable']||{},'reviewProvenance':_0x16ecce[_0x5e9438(0x1af)][_0x5e9438(0x170)][_0x5e9438(0x34f)](_0x237d7e=>_0x237d7e['source']===_0x5e9438(0x319))['map'](_0x4af9cf=>({'evidenceId':_0x4af9cf['id'],'stage':_0x4af9cf['review']?.['stage'],'verdict':_0x4af9cf[_0x5e9438(0x36f)]?.[_0x5e9438(0x37e)],'actorSeparated':_0x4af9cf[_0x5e9438(0x2e4)],'artifactsCurrent':artifactEvidenceCurrent(_0x16ecce,_0x4af9cf),'hostObservedIndependent':this[_0x5e9438(0x1af)]['reviewObserved'](_0x16ecce,_0x4af9cf),'workerHostConfirmed':(_0x16ecce[_0x5e9438(0x1af)][_0x5e9438(0x2d4)]||[])[_0x5e9438(0x295)](_0x1bb559=>_0x1bb559[_0x5e9438(0x2fa)]===_0x4af9cf['attemptId']&&_0x1bb559['workerStatus']===_0x5e9438(0x30a))||(_0x16ecce['execution'][_0x5e9438(0x33e)]||[])[_0x5e9438(0x295)](_0x295f22=>_0x295f22[_0x5e9438(0x2fa)]===_0x4af9cf[_0x5e9438(0x2fa)]&&_0x295f22['hostWorkerObservation']?.[_0x5e9438(0x152)]===_0x5e9438(0x233)),'modelHostConfirmed':(_0x16ecce[_0x5e9438(0x1af)][_0x5e9438(0x2d4)]||[])[_0x5e9438(0x295)](_0x43d12e=>_0x43d12e[_0x5e9438(0x2fa)]===_0x4af9cf[_0x5e9438(0x2fa)]&&_0x43d12e[_0x5e9438(0x1ea)]===_0x5e9438(0x30a))||(_0x16ecce[_0x5e9438(0x1af)][_0x5e9438(0x33e)]||[])['some'](_0x369ad2=>_0x369ad2['attemptId']===_0x4af9cf[_0x5e9438(0x2fa)]&&_0x369ad2[_0x5e9438(0x258)]?.[_0x5e9438(0x152)]===_0x5e9438(0x233)&&_0x369ad2[_0x5e9438(0x258)]?.[_0x5e9438(0x210)]==='confirmed')}))};}else _0x24cfe8[_0x5e9438(0x264)]=_0x5e9438(0x253);}if(_0x662bbb?.[_0x5e9438(0x2b8)]){const _0x4c7534=_0x16ecce[_0x5e9438(0x397)]===0x3&&_0x16ecce[_0x5e9438(0x1f8)]?.[_0x662bbb[_0x5e9438(0x2b8)]]?null:this[_0x5e9438(0x219)](_0x662bbb[_0x5e9438(0x2b8)],_0x16ecce[_0x5e9438(0x2c0)][_0x5e9438(0x174)]),_0x235f0f={};_0x235f0f[_0x5e9438(0x2ae)]=![],_0x235f0f[_0x5e9438(0x262)]=!![];if(_0x4c7534)Object[_0x5e9438(0x2e6)](_0x24cfe8,_0x4c7534,_0x235f0f);else _0x24cfe8[_0x5e9438(0x38a)]=_0x5e9438(0x39b)+_0x662bbb[_0x5e9438(0x2b8)]+'/SKILL.md\x20before\x20step\x20\x22'+_0x662bbb['id']+'\x22.';}if(_0x662bbb&&[_0x5e9438(0x293),_0x5e9438(0x379),_0x5e9438(0x2b2)][_0x5e9438(0x35d)](_0x662bbb['id']))_0x24cfe8['domain_skills']=DOMAIN_SKILL_REMINDER;return _0x24cfe8;}['listRunsFromRoot'](_0x3173ab){const _0x2904f8=_0x5d090b,_0x4a2e13=[];if(!fs[_0x2904f8(0x195)](_0x3173ab))return _0x4a2e13;const _0x1d0a58={};_0x1d0a58[_0x2904f8(0x244)]=!![];for(const _0x23dcdc of fs[_0x2904f8(0x23f)](_0x3173ab,_0x1d0a58)){if(!_0x23dcdc[_0x2904f8(0x2ab)]()||_0x23dcdc['name']['startsWith']('.'))continue;const _0x264f41=path[_0x2904f8(0x1fb)](_0x3173ab,_0x23dcdc[_0x2904f8(0x1ac)],_0x2904f8(0x162));if(!fs[_0x2904f8(0x195)](_0x264f41))continue;const _0x409b63={};_0x409b63[_0x2904f8(0x244)]=!![];for(const _0x4489ea of fs[_0x2904f8(0x23f)](_0x264f41,_0x409b63)){if(!_0x4489ea[_0x2904f8(0x2ab)]())continue;const _0x250718=_0x3173ab===this[_0x2904f8(0x17b)]?this['readRun'](_0x23dcdc[_0x2904f8(0x1ac)],_0x4489ea[_0x2904f8(0x1ac)]):this[_0x2904f8(0x18c)](path[_0x2904f8(0x1fb)](_0x264f41,_0x4489ea[_0x2904f8(0x1ac)],_0x2904f8(0x392)));if(_0x250718&&this[_0x2904f8(0x263)](_0x250718))_0x4a2e13[_0x2904f8(0x212)](_0x250718);else{if(_0x250718)this[_0x2904f8(0x369)](_0x250718);}}}return _0x4a2e13;}[_0x5d090b(0x2cd)](){const _0xcf2374=_0x5d090b;return this['listRunsFromRoot'](this[_0xcf2374(0x17b)]);}[_0x5d090b(0x279)](){const _0x457feb=_0x5d090b;return this[_0x457feb(0x2cd)]()[_0x457feb(0x34f)](_0x579084=>_0x579084[_0x457feb(0x210)]===_0x457feb(0x2ae))[_0x457feb(0x1d5)](_0x387e33=>this['formatStatus'](_0x387e33));}[_0x5d090b(0x2b7)](_0x249dd1,_0x484426,_0x557d03={}){const _0x5e5c2b=_0x5d090b;try{if(!_0x249dd1){const _0x33f09f=[];if(fs[_0x5e5c2b(0x195)](this[_0x5e5c2b(0x17b)])){const _0x1c1e4f={};_0x1c1e4f[_0x5e5c2b(0x244)]=!![];for(const _0x20faf2 of fs['readdirSync'](this[_0x5e5c2b(0x17b)],_0x1c1e4f)){if(!_0x20faf2[_0x5e5c2b(0x2ab)]()||_0x20faf2[_0x5e5c2b(0x1ac)][_0x5e5c2b(0x1ed)]('.'))continue;const _0x257e92=this['readCurrent'](_0x20faf2[_0x5e5c2b(0x1ac)]);if(_0x257e92&&this[_0x5e5c2b(0x263)](_0x257e92))_0x33f09f['push'](this[_0x5e5c2b(0x329)](_0x257e92,_0x557d03));else{if(_0x257e92)this[_0x5e5c2b(0x369)](_0x257e92);}}}return{'success':!![],'active':_0x33f09f[_0x5e5c2b(0x295)](_0x2381d6=>_0x2381d6['active']),'state':_0x33f09f[_0x5e5c2b(0x361)]?_0x5e5c2b(0x288):'none','pipelines':_0x33f09f,'stateRoot':this[_0x5e5c2b(0x17b)],'migrationWarnings':this[_0x5e5c2b(0x377)],'foreignWorkspaceStates':this['foreignWorkspaceStates']||[],'pendingCreations':this['pendingCreations'](),'message':_0x33f09f[_0x5e5c2b(0x361)]?_0x33f09f[_0x5e5c2b(0x361)]+'\x20task(s)\x20tracked.':_0x5e5c2b(0x362),'tool_routing':TOOL_ROUTING};}const _0x41715c=PipelineManager[_0x5e5c2b(0x157)](_0x249dd1);if(_0x41715c)return _0x41715c;if(_0x484426){const _0x46ac88=PipelineManager[_0x5e5c2b(0x15b)](_0x484426);if(_0x46ac88)return _0x46ac88;}const _0x5857a0=_0x484426?this[_0x5e5c2b(0x17e)](_0x249dd1,_0x484426):this['readCurrent'](_0x249dd1);if(!_0x5857a0)return error(_0x5e5c2b(0x1c6),_0x5e5c2b(0x1f0)+_0x249dd1+'\x22.',{'active':![],'state':_0x5e5c2b(0x38d),'task':_0x249dd1,'stateRoot':this[_0x5e5c2b(0x17b)],'pendingCreations':this[_0x5e5c2b(0x337)](_0x249dd1)});const _0x599662={..._0x557d03};return _0x599662[_0x5e5c2b(0x2db)]=!![],{...this[_0x5e5c2b(0x329)](_0x5857a0,_0x599662),'pendingCreations':this['pendingCreations'](_0x249dd1)};}catch(_0x3e92a1){if(![_0x5e5c2b(0x2c8),_0x5e5c2b(0x2f8)]['includes'](_0x3e92a1[_0x5e5c2b(0x1f1)]))throw _0x3e92a1;return error(_0x5e5c2b(0x1dc),'Pipeline\x20state\x20could\x20not\x20be\x20inspected.',{'active':![],'task':_0x249dd1||null,'diagnostic':creationFailure(_0x3e92a1,'status-inspection')});}}[_0x5d090b(0x2bc)](_0x3cf44a,_0x1ecc8c){const _0x402d60=_0x5d090b,_0x4780f1=PipelineManager[_0x402d60(0x157)](_0x3cf44a);if(_0x4780f1)return _0x4780f1;const _0x375a52=PipelineManager[_0x402d60(0x15b)](_0x1ecc8c);if(_0x375a52)return _0x375a52;const _0x24f926=this[_0x402d60(0x17e)](_0x3cf44a,_0x1ecc8c);if(!_0x24f926)return error('RUN_NOT_FOUND','Run\x20\x22'+_0x1ecc8c+_0x402d60(0x15e));if(!_0x24f926[_0x402d60(0x2c0)][_0x402d60(0x311)]||_0x24f926['workspace'][_0x402d60(0x1e3)]!=='worktree')return error(_0x402d60(0x2f9),_0x402d60(0x179));const _0x22d815={};_0x22d815['cwd']=_0x24f926['workspace'][_0x402d60(0x174)];const _0x4d394e=this[_0x402d60(0x384)]([_0x402d60(0x210),_0x402d60(0x333)],_0x22d815);if(!_0x24f926[_0x402d60(0x2c0)]['baseBranch'])return error('WORKTREE_BASE_BRANCH_MISSING',_0x402d60(0x364));const _0x369feb=this[_0x402d60(0x384)]([_0x402d60(0x1aa),_0x402d60(0x338),_0x402d60(0x1cf),_0x24f926[_0x402d60(0x2c0)][_0x402d60(0x206)]+'...'+_0x24f926[_0x402d60(0x2c0)][_0x402d60(0x356)]]),_0x26f1b1=this[_0x402d60(0x384)]([_0x402d60(0x1b5),_0x402d60(0x182),_0x24f926['workspace'][_0x402d60(0x334)]+_0x402d60(0x1a4)+_0x24f926['workspace']['branch']]),[_0x31aae2='0',_0x2d0674='0']=_0x369feb[_0x402d60(0x342)]['split'](/\s+/);return{'success':_0x4d394e['ok']&&_0x369feb['ok']&&_0x26f1b1['ok'],'task':_0x3cf44a,'runId':_0x1ecc8c,'workspacePath':_0x24f926[_0x402d60(0x2c0)]['path'],'branch':_0x24f926[_0x402d60(0x2c0)][_0x402d60(0x356)],'baseRef':_0x24f926['workspace']['baseRef'],'baseBranch':_0x24f926[_0x402d60(0x2c0)]['baseBranch'],'clean':_0x4d394e['ok']&&!_0x4d394e[_0x402d60(0x342)],'status':_0x4d394e[_0x402d60(0x342)],'ahead':Number(_0x2d0674),'behind':Number(_0x31aae2),'changedFiles':_0x26f1b1[_0x402d60(0x342)]?_0x26f1b1[_0x402d60(0x342)][_0x402d60(0x29c)](/\r?\n/)['filter'](Boolean):[],'mergePerformed':![]};}['cleanupWorkspace']({task:_0x14bcce,runId:_0xbd265,confirm:_0x2dc33e,sessionId:_0x47d5bf}={}){const _0x50c5b5=_0x5d090b,_0x3c595a=PipelineManager[_0x50c5b5(0x157)](_0x14bcce);if(_0x3c595a)return _0x3c595a;const _0x58f732=PipelineManager['validateRunId'](_0xbd265);if(_0x58f732)return _0x58f732;if(_0x2dc33e!==!![])return error('CLEANUP_CONFIRMATION_REQUIRED',_0x50c5b5(0x2b9));return this[_0x50c5b5(0x223)](_0x14bcce,()=>{const _0x3a3b16=_0x50c5b5,_0x501176=this[_0x3a3b16(0x17e)](_0x14bcce,_0xbd265);if(!_0x501176)return error(_0x3a3b16(0x1c6),_0x3a3b16(0x374)+_0xbd265+_0x3a3b16(0x15e));if(_0x501176[_0x3a3b16(0x18a)]&&_0x501176[_0x3a3b16(0x18a)]!==_0x47d5bf)return error(_0x3a3b16(0x383),_0x3a3b16(0x352));if(!['completed',_0x3a3b16(0x2c6)][_0x3a3b16(0x35d)](_0x501176[_0x3a3b16(0x210)]))return error(_0x3a3b16(0x1fd),'Complete\x20or\x20cancel\x20the\x20run\x20before\x20cleanup.');if(_0x501176[_0x3a3b16(0x1af)]?.[_0x3a3b16(0x2ae)]?.[_0x3a3b16(0x361)])return error('WORK_IN_FLIGHT',_0x3a3b16(0x14f));if(!_0x501176['workspace'][_0x3a3b16(0x311)]||_0x501176[_0x3a3b16(0x2c0)][_0x3a3b16(0x210)]===_0x3a3b16(0x355))return error(_0x3a3b16(0x2f9),_0x3a3b16(0x1a7));const _0x4a57b5={};_0x4a57b5[_0x3a3b16(0x172)]=_0x501176[_0x3a3b16(0x2c0)][_0x3a3b16(0x174)];const _0x2d2a81=this[_0x3a3b16(0x384)]([_0x3a3b16(0x210),_0x3a3b16(0x333)],_0x4a57b5);if(!_0x2d2a81['ok']||_0x2d2a81[_0x3a3b16(0x342)])return error(_0x3a3b16(0x214),_0x3a3b16(0x2d7),{'status':_0x2d2a81[_0x3a3b16(0x342)]});if(!_0x501176[_0x3a3b16(0x2c0)][_0x3a3b16(0x206)])return error(_0x3a3b16(0x16e),_0x3a3b16(0x1df));const _0x381753=this[_0x3a3b16(0x384)]([_0x3a3b16(0x21a),_0x3a3b16(0x23b),_0x501176['workspace']['branch'],_0x501176[_0x3a3b16(0x2c0)][_0x3a3b16(0x206)]]);if(!_0x381753['ok'])return error(_0x3a3b16(0x16e),_0x3a3b16(0x22a));const _0x318a1b=this['runGit'](['worktree','remove',_0x501176['workspace'][_0x3a3b16(0x174)]]);if(!_0x318a1b['ok'])return error(_0x3a3b16(0x328),_0x318a1b[_0x3a3b16(0x1de)]);_0x501176[_0x3a3b16(0x2c0)][_0x3a3b16(0x210)]=_0x3a3b16(0x355),_0x501176[_0x3a3b16(0x2c0)]['removedAt']=this[_0x3a3b16(0x205)]()['toISOString'](),this['writeState'](_0x501176),this[_0x3a3b16(0x16f)](_0x501176,'Worktree\x20removed','Branch\x20preserved:\x20'+_0x501176[_0x3a3b16(0x2c0)][_0x3a3b16(0x356)]);const _0x293684={};return _0x293684[_0x3a3b16(0x2db)]=!![],_0x293684[_0x3a3b16(0x2f7)]=_0x14bcce,_0x293684[_0x3a3b16(0x1fa)]=_0xbd265,_0x293684[_0x3a3b16(0x356)]=_0x501176['workspace'][_0x3a3b16(0x356)],_0x293684[_0x3a3b16(0x1d2)]=![],_0x293684;});}[_0x5d090b(0x2b6)](){const _0x22d1dc=_0x5d090b,_0xde3884=new Set([path[_0x22d1dc(0x1fb)](this[_0x22d1dc(0x2f1)],_0x22d1dc(0x197),_0x22d1dc(0x2b0)),this['stateRoot']]);for(const _0x402e15 of _0xde3884){if(!fs['existsSync'](_0x402e15))continue;const _0x554e10={};_0x554e10[_0x22d1dc(0x244)]=!![];for(const _0x42fbe8 of fs[_0x22d1dc(0x23f)](_0x402e15,_0x554e10)){if(!_0x42fbe8[_0x22d1dc(0x2ab)]()||_0x42fbe8[_0x22d1dc(0x1ac)][_0x22d1dc(0x1ed)]('.'))continue;const _0x34d48c=path[_0x22d1dc(0x1fb)](_0x402e15,_0x42fbe8[_0x22d1dc(0x1ac)],_0x22d1dc(0x392));if(!fs[_0x22d1dc(0x195)](_0x34d48c))continue;const _0x342dbe=fs['readFileSync'](_0x34d48c,_0x22d1dc(0x1e6));let _0x5e68ed;try{_0x5e68ed=JSON[_0x22d1dc(0x37a)](_0x342dbe);}catch(_0x3ee60f){const _0x38394e={};_0x38394e[_0x22d1dc(0x1f1)]=_0x22d1dc(0x30e),_0x38394e[_0x22d1dc(0x174)]=_0x34d48c,_0x38394e['error']=_0x3ee60f['message'],this[_0x22d1dc(0x377)][_0x22d1dc(0x212)](_0x38394e);continue;}if(!_0x5e68ed?.['pipeline']||!PIPELINE_DEFINITIONS[_0x5e68ed[_0x22d1dc(0x2ed)]]){const _0x501b7c={};_0x501b7c[_0x22d1dc(0x1f1)]=_0x22d1dc(0x30e),_0x501b7c['path']=_0x34d48c,_0x501b7c[_0x22d1dc(0x27b)]=_0x22d1dc(0x227),this[_0x22d1dc(0x377)]['push'](_0x501b7c);continue;}const _0x57df22=crypto[_0x22d1dc(0x34b)](_0x22d1dc(0x2ff))[_0x22d1dc(0x276)](_0x34d48c+'\x00'+_0x342dbe)['digest'](_0x22d1dc(0x1ba)),_0x309399=path[_0x22d1dc(0x1fb)](this['stateRoot'],_0x22d1dc(0x38b),_0x57df22+_0x22d1dc(0x272));if(fs[_0x22d1dc(0x195)](_0x309399))continue;const _0x57a36f=String(_0x5e68ed['startedAt']||this['now']()[_0x22d1dc(0x332)]())[_0x22d1dc(0x254)](0x0,0xa)[_0x22d1dc(0x1ec)](/-/g,''),_0x2bba78=PipelineManager[_0x22d1dc(0x157)](_0x42fbe8['name'])?_0x22d1dc(0x22c)+_0x5e68ed[_0x22d1dc(0x2ed)]+'-'+_0x57a36f:_0x42fbe8[_0x22d1dc(0x1ac)];let _0x3d5262=_0x2bba78,_0x378cfe=0x0;while(this['readCurrent'](_0x3d5262)){const _0x16215b=_0x378cfe++===0x0?_0x57df22[_0x22d1dc(0x254)](0x0,0x6):_0x57df22[_0x22d1dc(0x254)](0x0,0x4)+'-'+_0x378cfe;_0x3d5262=_0x2bba78[_0x22d1dc(0x254)](0x0,0x3f-_0x16215b[_0x22d1dc(0x361)])+'-'+_0x16215b;}const _0x3a6884=this[_0x22d1dc(0x15a)](),_0x1282a4=PIPELINE_DEFINITIONS[_0x5e68ed[_0x22d1dc(0x2ed)]],_0x221b09=(_0x5e68ed[_0x22d1dc(0x1e5)]||[])[_0x22d1dc(0x1d5)](_0x3afd22=>typeof _0x3afd22===_0x22d1dc(0x314)?{'id':_0x3afd22,'summary':_0x22d1dc(0x196),'completedAt':this[_0x22d1dc(0x205)]()[_0x22d1dc(0x332)]()}:_0x3afd22),_0x40241a={};_0x40241a[_0x22d1dc(0x1e3)]=_0x22d1dc(0x2d3),_0x40241a[_0x22d1dc(0x174)]=this[_0x22d1dc(0x2f1)],_0x40241a[_0x22d1dc(0x311)]=![],_0x40241a['status']=_0x22d1dc(0x28c);const _0xc9b802={'schemaVersion':0x2,'task':_0x3d5262,'runId':_0x3a6884,'pipeline':_0x5e68ed[_0x22d1dc(0x2ed)],'status':_0x221b09[_0x22d1dc(0x361)]>=_0x1282a4['steps'][_0x22d1dc(0x361)]?_0x22d1dc(0x345):_0x22d1dc(0x2ae),'completedSteps':_0x221b09,'workspace':_0x40241a,'startedAt':_0x5e68ed[_0x22d1dc(0x395)]||this[_0x22d1dc(0x205)]()['toISOString'](),'updatedAt':this['now']()['toISOString'](),'migratedFrom':_0x34d48c},_0x44f797={};_0x44f797['setCurrent']=!![],this[_0x22d1dc(0x16b)](_0xc9b802,_0x44f797);const _0x22b29b=path[_0x22d1dc(0x1fb)](_0x402e15,_0x42fbe8[_0x22d1dc(0x1ac)],'progress.md'),_0x13d9fc=fs[_0x22d1dc(0x195)](_0x22b29b)?fs[_0x22d1dc(0x1b6)](_0x22b29b,_0x22d1dc(0x1e6)):_0x22d1dc(0x39a);this[_0x22d1dc(0x16f)](_0xc9b802,_0x22d1dc(0x2ea),_0x22d1dc(0x2a5)+_0x34d48c+'\x0a\x0a'+_0x13d9fc),this[_0x22d1dc(0x2d9)](_0x309399,{'source':_0x34d48c,'task':_0x3d5262,'runId':_0x3a6884,'fingerprint':_0x57df22,'migratedAt':this[_0x22d1dc(0x205)]()[_0x22d1dc(0x332)]()});}}}[_0x5d090b(0x17a)](){const _0x22fdde=_0x5d090b;if(!fs['existsSync'](this[_0x22fdde(0x1c3)]))return;const _0x56b142=fs[_0x22fdde(0x1b6)](this[_0x22fdde(0x1c3)],_0x22fdde(0x1e6));let _0x3c7be0;try{_0x3c7be0=JSON[_0x22fdde(0x37a)](_0x56b142);}catch(_0x5e0281){this[_0x22fdde(0x377)][_0x22fdde(0x212)]({'code':_0x22fdde(0x30e),'path':this[_0x22fdde(0x1c3)],'error':_0x5e0281[_0x22fdde(0x15f)]});return;}if(!_0x3c7be0?.[_0x22fdde(0x2ed)]||!PIPELINE_DEFINITIONS[_0x3c7be0[_0x22fdde(0x2ed)]]){this['migrationWarnings'][_0x22fdde(0x212)]({'code':_0x22fdde(0x30e),'path':this['legacyStateFilePath'],'error':'Missing\x20or\x20invalid\x20pipeline.'});return;}const _0x2030bf=crypto[_0x22fdde(0x34b)](_0x22fdde(0x2ff))[_0x22fdde(0x276)](_0x56b142)['digest'](_0x22fdde(0x1ba)),_0x33839b=path['join'](this[_0x22fdde(0x17b)],_0x22fdde(0x38b),_0x2030bf+_0x22fdde(0x272));if(fs['existsSync'](_0x33839b))return;const _0x2eb008=String(_0x3c7be0[_0x22fdde(0x395)]||this[_0x22fdde(0x205)]()[_0x22fdde(0x332)]())[_0x22fdde(0x254)](0x0,0xa)['replace'](/-/g,''),_0x44affd=_0x22fdde(0x22c)+_0x3c7be0['pipeline']+'-'+_0x2eb008;let _0x2ccd65=_0x44affd,_0x1d7401=0x0;while(fs['existsSync'](this[_0x22fdde(0x326)](_0x2ccd65))){const _0x586f6c=_0x1d7401++===0x0?_0x2030bf[_0x22fdde(0x254)](0x0,0x6):_0x2030bf[_0x22fdde(0x254)](0x0,0x4)+'-'+_0x1d7401;_0x2ccd65=_0x44affd[_0x22fdde(0x254)](0x0,0x3f-_0x586f6c[_0x22fdde(0x361)])+'-'+_0x586f6c;}const _0x41f3c4=this['generateRunId'](),_0x5a2cf4=PIPELINE_DEFINITIONS[_0x3c7be0[_0x22fdde(0x2ed)]],_0x5bfb56=(_0x3c7be0['completedSteps']||[])[_0x22fdde(0x1d5)](_0x5320f5=>typeof _0x5320f5===_0x22fdde(0x314)?{'id':_0x5320f5,'summary':'Migrated\x20from\x20legacy\x20state','completedAt':this[_0x22fdde(0x205)]()[_0x22fdde(0x332)]()}:_0x5320f5),_0x1048be={};_0x1048be[_0x22fdde(0x1e3)]=_0x22fdde(0x2d3),_0x1048be['path']=this[_0x22fdde(0x2f1)],_0x1048be[_0x22fdde(0x311)]=![],_0x1048be[_0x22fdde(0x210)]=_0x22fdde(0x28c);const _0x53b541={'schemaVersion':0x2,'task':_0x2ccd65,'runId':_0x41f3c4,'pipeline':_0x3c7be0[_0x22fdde(0x2ed)],'status':_0x5bfb56[_0x22fdde(0x361)]>=_0x5a2cf4[_0x22fdde(0x26b)]['length']?_0x22fdde(0x345):_0x22fdde(0x2ae),'completedSteps':_0x5bfb56,'workspace':_0x1048be,'startedAt':_0x3c7be0[_0x22fdde(0x395)]||this[_0x22fdde(0x205)]()[_0x22fdde(0x332)](),'updatedAt':this['now']()['toISOString'](),'migratedFrom':this['legacyStateFilePath']},_0xc9676c={};_0xc9676c[_0x22fdde(0x20e)]=!![],this[_0x22fdde(0x16b)](_0x53b541,_0xc9676c),this['appendLedger'](_0x53b541,_0x22fdde(0x1b1),_0x22fdde(0x2a5)+this['legacyStateFilePath']),this[_0x22fdde(0x2d9)](_0x33839b,{'source':this[_0x22fdde(0x1c3)],'task':_0x2ccd65,'runId':_0x41f3c4,'fingerprint':_0x2030bf,'migratedAt':this[_0x22fdde(0x205)]()[_0x22fdde(0x332)]()});}static[_0x5d090b(0x281)](_0x503281){const _0x55ebd1=_0x5d090b,_0x44ac30=String(_0x503281||'')[_0x55ebd1(0x23c)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/['test'](_0x44ac30)){const _0x2944be={};return _0x2944be['suggested_pipeline']=_0x55ebd1(0x1f5),_0x2944be[_0x55ebd1(0x19e)]=_0x55ebd1(0x18d),_0x2944be['reason']=_0x55ebd1(0x238),_0x2944be;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/[_0x55ebd1(0x153)](_0x44ac30)){const _0x2c67ab={};return _0x2c67ab[_0x55ebd1(0x2ec)]=_0x55ebd1(0x33a),_0x2c67ab[_0x55ebd1(0x19e)]=_0x55ebd1(0x18d),_0x2c67ab[_0x55ebd1(0x1a1)]=_0x55ebd1(0x236),_0x2c67ab;}const _0x3582ed={};return _0x3582ed[_0x55ebd1(0x2ec)]='feature',_0x3582ed[_0x55ebd1(0x19e)]=_0x44ac30[_0x55ebd1(0x361)]>=0x3?_0x55ebd1(0x18d):_0x55ebd1(0x269),_0x3582ed[_0x55ebd1(0x1a1)]=_0x55ebd1(0x1a9),_0x3582ed;}}const _0x1adba7={};_0x1adba7['PipelineManager']=PipelineManager,_0x1adba7[_0x5d090b(0x306)]=PIPELINE_DEFINITIONS,_0x1adba7[_0x5d090b(0x2f3)]=PIPELINE_DEFINITIONS_V3,module[_0x5d090b(0x1a3)]=_0x1adba7;
1
+ const _0x1dd3cc=_0x3fdf;(function(_0x163a5c,_0x2d29fd){const _0x217f06=_0x3fdf,_0x23d8fa=_0x163a5c();while(!![]){try{const _0x12f6c6=-parseInt(_0x217f06(0x20f))/0x1*(-parseInt(_0x217f06(0x232))/0x2)+-parseInt(_0x217f06(0x163))/0x3+parseInt(_0x217f06(0x11e))/0x4*(-parseInt(_0x217f06(0x16e))/0x5)+-parseInt(_0x217f06(0x183))/0x6*(parseInt(_0x217f06(0x23d))/0x7)+-parseInt(_0x217f06(0x363))/0x8+-parseInt(_0x217f06(0x243))/0x9+parseInt(_0x217f06(0x264))/0xa;if(_0x12f6c6===_0x2d29fd)break;else _0x23d8fa['push'](_0x23d8fa['shift']());}catch(_0x27f8ec){_0x23d8fa['push'](_0x23d8fa['shift']());}}}(_0x3757,0x6703e));const crypto=require(_0x1dd3cc(0x1f7)),fs=require('fs'),os=require('os'),path=require(_0x1dd3cc(0x22f)),{spawnSync}=require(_0x1dd3cc(0x14b)),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0x1dd3cc(0x2d3)),{inspectRunContract}=require(_0x1dd3cc(0x310)),{artifactEvidenceCurrent}=require('../core/quality-artifacts'),TOOL_ROUTING=_0x1dd3cc(0x153),_0x2a693c={};_0x2a693c['grill-me']=_0x1dd3cc(0x2f2),_0x2a693c[_0x1dd3cc(0x2ed)]='SAVE\x20PRD\x20scope\x20and\x20key\x20requirements\x20with\x20remember.',_0x2a693c[_0x1dd3cc(0x209)]='SAVE\x20root\x20cause\x20and\x20reproduction\x20steps\x20with\x20remember.',_0x2a693c[_0x1dd3cc(0x2bc)]=_0x1dd3cc(0x1de),_0x2a693c[_0x1dd3cc(0x1bb)]='SAVE\x20architecture\x20decisions\x20and\x20findings\x20with\x20remember.';function _0x3757(){const _0x7962b2=['D2L0AezPBgvuExbLCW','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','q3jLyxrLihzLCNrPy2fSlxnSAwnLigLZC3vLCW','CMvHzhK','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlMvTywLSicj5B3vazxHHBxbSzs5JB20I','lI4U','yxr0zw1WDhm','CMvZzxq','CNvUswqGAxmGCMvXDwLYzwqU','v09ss1rsruvFvu5nrvjhruq','BwLNCMf0zuXLz2fJEvn0yxrLCW','BgLZDfj1BNngCM9TuM9VDa','ChvIBgLJs2v5','CMvMCMvZAfnUyxbZAg90','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','Aw50zw50rMLSzq','DgvYBwLUywW','CMvWBgfJzq','Dhj1BMm','DhjHBNnHy3rPB25jza','qNvNiezPEa','DhjHBNnHy3q','C2fTzvDVCMTZCgfJzq','Aw50zw50lwnVBxbSzxrL','ChjVzhvJDeLTCgfJDa','rxHPC3rPBMCGCNvUigLZihrLCM1PBMfSig9YigjLBg9Uz3mGDg8Gyw5VDgHLCIbJB29YzgLUyxrVCI4','Dw5HDMfPBgfIBgu','D29YA3rYzwuG','Bw9Kzq','CMvJB3zLCG','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','yxb0lw1JCc1Hz2vUDa','Dg9tDhjPBMC','B3bLBG','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','Aw52ywXPza','DgfZA0rPCG','r0Lux0LosvrFrKfjteve','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','tgvNywn5ihn0yxrLigLTCg9YDgvK','qw5VDgHLCIbYDw4GAxmGy3vYCMvUDdSGCMvJB3zLCNKGy2fUBM90ihjLCgXHy2uGAxrZigjPBMrPBMCU','BM93','yxv0BW','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','C3LZy2fSBa','y29UzMLYBwf0Aw9Uvg9Rzw4','vgfZAYaI','C3vJy2vZCW','y2XLyw51CfDVCMTZCgfJzq','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','y29TBwL0','ru5pru5u','C2TPBgXZ','Aw1WCM92zs1HCMnOAxrLy3r1CMu','su5wquXjrf9tq0HftufFvKvsu0LptG','r0Lux1bsrvzjrvDFrKfjteve','D29YA3nWywnLlxjLywr5','vw5RBM93BIbWAxbLBgLUzsb0ExbLoIa','D2vI','C3rHDguUANnVBG','ls1JywnOzwq','ChjKlwDLBG','BgvNywn5u3rHDgvgAwXLugf0Aa','BwfW','y29UDgLUDwu','B3DUC1j1BG','DMvYAwz5q29WAwvKvhjLzq','yNjHBMnOrgvSzxrLza','qurnsvntsu9ox0nptKzmsunu','y29UzMLYBwvK','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','zMLSDgvY','Aw50zw50lxDVCMTZCgfJzs13CML0zq','Aw1WCM92zs1JB2rLyMfZzs1HCMnOAxrLy3r1CMu','zMvHDhvYzq','C3vNz2vZDgvKx3bPCgvSAw5L','ChvZAa','BMv4DefJDgLVBG','zgLHz25VC3rPyW','lNrTCa','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','zgvMAw5PDgLVBG','Dg1WzgLY','C2nOzw1HvMvYC2LVBG','ugLWzwXPBMuGC3rHCNrLza','y29Kzq','q3jLyxrLihrYywnRAw5NigLZC3vLCW','CxvHBgL0Eq','u0fwrsbPBxbSzw1LBNrHDgLVBIbKzwnPC2LVBNmGyw5KihrLC3qGCgf0DgvYBNmGD2L0AcbYzw1LBwjLCI4','zgv2zwXVCg1LBNrnB2rL','uLvox0Lex1jfuvvjuKve','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','yxb0lw1JCc1NAxqTChjLDMLLDY0','lMfNzw50CW','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','CgLK','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGy2fUy2vSBgLUzYb0AguGCNvUlG','CMvJDxjZAxzL','zgLNzxn0','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','Aw5OzxjPDfvWz3jHzgvdB250zxH0','CgLWzwXPBMu','y29UzMLKzw5Jzq','B3bLBLn5BMm','tM8GBwfUywDLzcb3B3jRDhjLzsbPCYbHDMfPBgfIBguGzM9YignSzwfUDxaU','q29UzMLNDxjLieDPDcb1C2vYlM5HBwuGyw5KihvZzxiUzw1HAwWGyMvMB3jLignYzwf0Aw5NihrOzsbIyxnLBgLUzsbJB21TAxqU','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','zM9YBwf0u3rHDhvZ','yxj0AwzHy3rszxzPzxC','u2vUC2L0AxzLigzPBgvZihDVDwXKigjLignVBw1PDhrLzc4GqwrKihrOzw0GDg8GlMDPDgLNBM9YzsbHBMqGCMvXDwvZDcbHig5LDYbWCMv2Awv3lG','y3jLyxrPB25jBNrLBNrgAwXL','zxjYB3i','zgLMzG','y3j5ChrV','Dw5SAw5Ru3LUyW','zMfPBgvK','Ag9ZDc1VyNnLCNzLza','DMvYAwz5lxnJB3bL','r0Lux0LosvrFq09orKLstufusu9ox1jfuvvjuKve','uMvJB3jKzwqGD29YA3nWywnLigrPzMzLCNmGzNjVBsb0AgLZihbYB2PLy3qU','BxvSDgK','yNvNzML4','C2TPBgXFzgLYzwn0AxzL','u291CMnLihjLDgfPBMvKigf0ia','CNvUDgLTzs11CgDYywrL','sw52ywXPzcbVD25LCG','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','yMfZzujYyw5JAa','CgXHBG','C3rHDfn5BMm','CMvWywLYuNvU','zgLHz25VC2u','C3rHz2u','yMfZzw5HBwu','ls13B3jRlxrYzwu','y2XHC3nPzNLszxf1zxn0','y3jLyxrLv29YA3rYzwu','mwz3u09YsW','uLvox05pvf9gt1vora','vw5RBM93BIb3B3jRC3bHy2uGBw9KztOG','twLNCMf0zwqGzNjVBsaXlNGGDgfZAYbZDgf0zq','BwLNCMf0Aw9Uv2fYBMLUz3m','BwvZC2fNzq','DgfZAY1ICMvHA2rVD24','CMvZB2X2zq','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','CMfUzg9Tvvvjra','CxvHBgL0EvzLCNnPB24','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','Dg9mB2nHBgvmB3DLCKnHC2u','yxrVBwLJv3jPDgu','C3rYzxnZlxrLC3qTCgXHBG','Aw5PDgLHBgL6zwq','AxnbCNjHEq','v09ss1rsruvFqKftrv9nsvntsu5h','AxneAxjLy3rVCNK','ig11C3qGy29UDgfPBIbUB24Tzw1WDhKGC3rYAw5NCY4','ywnJzxb0yw5JzunYAxrLCMLH','D29YA3nWywnLigzPzwXKCYbOyxzLigLUDMfSAwqGDhLWzxmU','ywn0AxzL','ls1Uyw1Llw9UBhK','Aw1Wywn0rxnJywXHDgLVBG','D3jPDgvgAwXLu3LUyW','Ag90zML4','CNvUrgLY','DMvYAwzPzwq','CMvJB3zLCNLFy29TBwfUza','lI4VBgLJzw5Zzs92zxjPzNK','Cgf0Aa','DgfYz2v0rgLNzxn0','DhjPBq','mti3ntC0nNzruKrwrW','BwTKAxjtEw5J','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5Lig11Dgf0Aw9UCY4','lMXVy2S','iIb3yxmGBM90igzVDw5KlG','lI4Vy29Yzs9XDwfSAxr5','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','zxzLCNK','CgXHBM5LzeL0zw1Z','ugLWzwXPBMvnyw5Hz2vY','B3bLBKzPBMrPBMDZ','mZaZmxfVAgzvEa','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','zgLYzwn0B3j5','Cgf1C2vK','D2L0AeXVy2S','u3LUDgHLC2L6zsbquKq','ndCYnZu5mKf4uu5xCq','CMvTB3zLza','ms54ihrHC2SGC3rHDguGAw1WB3j0zwq','yxb0lW','BxrPBwvnCW','ls1ZAg93lwn1CNjLBNq','y2fUy2vSvMvYAwzPy2f0Aw9UCW','y3btEw5J','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','q1jfqvrjt05FuLvox0vysvnuuW','CMvJB3jKrM9YzwLNBLj1BG','yM9VBgvHBG','ChjVz3jLC3mUBwq','CMvHzgrPCLn5BMm','q2fUy2vSBgvKigj5igv4CgXPy2L0ihjLCxvLC3qUieHPC3rVCNKGD2fZihbYzxnLCNzLzc4','CgvUzgLUz0nYzwf0Aw9U','C2HVDY1Yzwy','CNvUDgLTzvzLCNnPB24','CMvHBhbHDgHtEw5J','x19WAxbLBgLUzv9ZDgfYDf9F','AM9PBG','rgvMyxvSDgLUzYb0BYb0AguGC2fMzxn0igz1BgWGCgLWzwXPBMuU','DgLTzw91Da','u2f2zwqGy3jLyxrPB24GAw50zw50ignVDwXKig5VDcbIzsbPBNnWzwn0zwqU','qundrvbuqu5drv9btfjfqurzx0fdveLwrq','BgvNywn5rgvMAw5PDgLVBNm','su5wquXjrf9xt1jlu1bbq0u','z2v0u3rHDhvZ','C3rHDhvZ','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','zg9TywLUx3nRAwXSCW','q2fUBM90ihjLywqGr2L0igjVB3rZDhjHCcbWCMv2Awv3lG','B3jPz2LUv29YA3nWywnL','mtqWnJC4mZb0qMXYuee','BMf0AxzLlxDVCMT0CMvL','vgHPCYbYDw4GCMvTywLUCYbYzwfKywjSzsWGyNv0igL0CYbOAxn0B3jPy2fSignVBNrYywn0ignHBM5VDcbIzsb2zxjPzMLLzcbMB3iGBxv0yxrPB24U','AgfZ','ls1WB3jJzwXHAw4','C2HHmJu2','uLvox05pvf9bq1rjvKu','ChjLDMLVDxnsDw4','Aw5OzxjPDgvKqxr0zw1WDezSB29Y','z2vUzxjHDgvsDw5jza','zNn5BMntEw5J','CMvXDwLYzwq','zxHWBgLJAxqTy3jLyxrPB24TCMvZzxq','ls1NAxqTzgLY','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','Bw9KzwXszwnLAxb0','BgvNywn5lw1Pz3jHDgLVBG','ChjLDMLLDW','y2fUy2vSBgvKqxq','r0Lux0jbu0vmsu5fx05pvf9dtevbtG','DxnLCI5Uyw1L','q3jLyxrPB24GywXYzwfKEsbOyxmGCNvUihn0yxrLig9YigeGy3vYCMvUDcbIAw5KAw5NoYbPDcbJyw5UB3qGyMuGywjHBMrVBMvKlG','uNvUignYzwf0Aw9UihDHCYbPBNrLCNj1ChrLzdSGAxrZihDVCMTZCgfJzsbHBMqGAw50zw50ihDLCMuGChjLC2vYDMvKlG','CMv2Awv3','ls12zxjPzNK','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','su5wquXjrf9srvnfvf9uqvjhrvq','r0Lux0Leru5usvrzx1jfuvvjuKve','DgfYz2v0vMvYC2LVBG','tevhqunzx1nuqvrfx0LovKfmsuq','CMvJB3zLCLj1BKLK','D2fPDa','y2fUtxv0yxrL','yNjHBMnO','BgLZDfj1BNm','CMvWBgf5','D29YA3rYzwu','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','zxHWzwn0zwrFCgf0Aa','cLj1BJOG','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','CMvHC29U','CMvUyw1Lu3LUyW','cImJia','C3rHBgu','v09ss1rsruvFqKftrv9esvjuwq','uLvox1nusuXmx0fdveLwrq','ChjLDMLLD0DPDejVB3rZDhjHCa','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','Bg9JA0zPBgu','Aw5ZDgfSBgvKuNvUDgLTzvjVB3q','DxrMoa','CNvUr2L0','uNvUigLZia','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','CgfYC2u','BgLZDa','C2vZC2LVBKLK','uNvUigrVzxmGBM90ihvZzsbHig1HBMfNzwqGD29YA3rYzwuU','zxHWzwn0zwrpDxrJB21L','CgLWzwXPBMvZ','yMfZzvjLzG','Agv4','CgLWzwXPBMuTC3rHDguUANnVBG','C3rYAw5N','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','Bg9JA1rPBwvVDxrnCW','y29UzMLN','Aw5OzxjPDgvK','BwfUywDLza','rvbfuK0','tw9IAwXLifvjoIaUywDLBNrZl3nRAwXSCY9TB2jPBguTCNvSzxmVu0TjteWUBwq','yxnZAwDU','DgrKlwXVB3a','CMvJB3zLCNLFy29TBwfUzhm','D29YA0L0zw1Z','DMvYC2LVBNm','z2L0','y2HVCMu6igLUAxrPywXPEMuGBg9JywWGCMvWB3nPDg9YEq','C2TPBgW','ueLqruXjtKvFrevgsu5jveLptLm','BMfTzq','y2XVC2vtEw5J','v29YA3rYzwuGy2XLyw51CcbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','BwLNCMf0zuXLz2fJEvn0yxrL','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','C3rLChm','CMv2lxbHCNnL','DgrK','iIWGBM90ici','v09ss0vsx1nut1bFvu5dt05gsvjnruq','AxnhAxrszxbVC2L0B3j5','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','yxbWzw5KtgvKz2vY','CMvHzg9UBhK','uLvox1jfq09wrvjzx0zbsuXfra','ls1XDwLLDa','CMv2AxnPB24','D29YA3nWywnLlxjLC29SDxrPB24','v09ss1rsruvFtK9ux01btKfhruq','CMvHzePZB24','rMvHDhvYzsbezxzLBg9WBwvUDa','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','D2LUmZi','v09ss1rsruvFreLsvfK','Aw5PDgLHBgL6zuDPDa','C3rKB3v0','CgLUtgvNywn5rgvMAw5PDgLVBG','uNvUihvZzxmGCgLWzwXPBMuGiG','ywn0B3jtzxbHCMf0zwq','DMfSAwrHDgvsDw5jza','lI4Vy29Yzs9LEgvJDxrPB24','DMvYzgLJDa','Aw5PDa','y2XVC2vK','CMvJB3jKvMvYAwzPy2f0Aw9U','Aw5KzxG','q0Xfqu5vuf9dt05gsvjnqvrjt05FuKvrvuLsruq','y29TCgXLDgvKu3rLChm','C3rKzxjY','D29YA3nWywnLignVBNrHAw5ZigfUihvUC3vWCg9YDgvKigzPzwXKoYbZzwXLy3qGDgHLihDVCMTZCgfJzsb0AhjVDwDOihrOzsbnq1aGC2vYDMvYigjPBMrPBMCU','qwn0AxzLihbPCgvSAw5LCYbJyw5UB3qGyMuGBwLNCMf0zwqGzhvYAw5NieDPDcbPBML0AwfSAxPHDgLVBI4','CMvHzezPBgvtEw5J','CMvJB3zLCMvK','Bw9IAwXL','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','ugLWzwXPBMuGC3rHDguGy29WEsb0ExbLig1PC21HDgnOoIa','yxr0zw1WDeLK','C3rHDgu','Bwf4','z2L0q29TBw9UrgLY','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','DgfYz2v0ig11C3qGyMuGCNvUig9YignYzwf0Aw9UlG','Aw1Wywn0','C2LNBMvKlxjLBgvHC2u','rufdq0vt','Dg8TChjK','C25HChnOB3qTzxzPzgvUy2u','y3jLyxrLzef0','y29TCgf0AwjPBgL0Eq','lcbUB3qGCMvZDw1HyMXLlG','u0fwrsbKzxnPz24GzgvJAxnPB25ZigfUzcbJB25ZDhjHAw50CYb3AxrOihjLBwvTyMvYlG','y3jPDgvYAwe','zxHLy3v0Aw9U','C3rHCNrLzef0','BgLZDefJDgL2zvbPCgvSAw5LCW','zw5KC1DPDgG','uKvrvuLsrurFu0TjteXFtuLtu0LorW','ueLqruXjtKvFtuLttufuq0G','ywrK','lMnYzwf0Aw9U','Aw5PDgLHBgL6Aw5N','CMvJzwLWDe9IC2vYDMf0Aw9UCW','zMLUzgLUz3m','lI4Vy29Yzs9NAxqTy29UDgv4Da','yxnZzxj0Aw9Ulwv2AwrLBMnL','lMfNlwTPDc13B3jRDhjLzxm','ls1JB3vUDa','vefts19srvfvsvjfra','y29WEuzPBgvtEw5J','C3rHCNrZv2L0Aa','r0Lux0Lorevyx0zjteu','y3vYCMvUDa','ihrHC2SOCYKGDhjHy2TLzc4','BM9qCM9NCMvZCW','CMvXDwvZDgvKv29YA3nWywnL','sw50zw50ig93BMvYC2HPCcbVCIbJDxjYzw50ihDVCMTZCgfJzsbJyw5UB3qGyMuGChjVDMvUlG','r0Lux1bsrvzjrvDFu1rbteu','C3rHDgvsB290','BwvYz2uTyMfZzq','BgfZDezHAwX1CMu','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','zNjVEMvU','CMv2lwXPC3q','BMv3lxj1BI1Yzxf1AxjLza','C25HChnOB3qTBM90lxjLzNjLC2HLza','q1jfqvrjt05FuLvox01ju01bveni','sg90zML4','D2LUzg93C0HPzgu','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlM5HBwuGiLLVDxiGtMfTzsi','AgfZtgvNywn5u3rHDgu','C3rHDguTD3jPDgu','C2XPy2u','lMDPDgLNBM9Yzq','C2vW','su5wquXjrf9xt1jlu1bbq0vFtu9erq','lMfNzw50CY9WAxbLBgLUzxmV','BwvKAxvT','DMfSDwvZ','yxr0zw1WDf9SAw1PDa','DxnL','lcbUB3qGywn0AxzLlG','CNvUswq','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','BgvUz3rO','ChjLlwnYzwf0zs1ZDgf0zq','Dg9mB3DLCKnHC2u','u3rLCcbJB21WBgv0zwq6ia','D29YA2vYu3rHDhvZ','y3jLyxrLsgfZAa','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','DMfSAwrHDgvxB3jRC3bHy2u','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','Dg9ju09tDhjPBMC','CMvZB2X2zvDVCMTZCgfJzq','zw52','u0vtu0LptL9nsvnnqvrdsa','y29UDhjHy3qTDw5HDMfPBgfIBgu','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','rvnsq0G','uMvWB3nPDg9YEsbPCYbUB3qGy2XLyw4Gywz0zxiGDgHLigjHC2vSAw5LignVBw1PDc4','CMvJB3zLCNKTAw5ZCgvJDgLVBG','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','yMXVy2TLza','y3jLyxrPB24','BM9YBwfSAxPLuxvHBgL0EvbSyw4','v29YA3rYzwuGCgf0AcbHBhjLywr5igv4Axn0CZOG','CM1tEw5J','r2L0igLUAxrPywXPEMf0Aw9UigfUzcbHigjHC2vSAw5LignVBw1PDcbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','zxjYB3jpBKv4Axn0','CMvJB3zLCKnYzwf0Aw9U','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','DxbKyxrL','CgXHDgzVCM0','CNvUCW','su5wquXjrf9svu5Fsu5qvvq','zMLSzq','Aw50zxjYDxb0zwq','ueLqruXjtKvFu1rbvevFte9ds0ve','zNjLC2HtDgfYDef2ywLSywjSzq','C25HChnOB3q','y3DK','CMvWB3nPDg9YEunVBNrLEhq','CMvXDwLYzwrtA2LSBevYCM9Y','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','sevbra','kg5Vihn1Bw1HCNKP','y3vYCMvUDezPBgu','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','C2L6zq','BwfPBG','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','ueLqruXjtKvFu1rbvevFvu5bvKfjtefcteu','CMvMCY9OzwfKCY8','CgfZC2vK','C291CMnL','D3jPDgvtDgf0zq','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','sg90zML4ihnJB3bLigP1C3rPzMLJyxrPB24GBxvZDcbJB250ywLUigf0igXLyxn0ideWignOyxjHy3rLCNmU','iYbqAxbLBgLUzsbSzwrNzxikcLrHC2S6ia','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','y29TCgXLDgvK','B2jQzwn0','y2HLy2TWB2LUDa','mti2mdi0teHstfDi','Bxv0yxrPB24','u1rfuf9pvvrFt0zFt1jervi','DgfZAW','y2HLy2TZ','CxvHBgL0EvbSyw4','ChjVAMvJDfbHDgG','uNvUici','CMvJB3jKvMvYAwzPy2f0Aw9Uqxn5BMm','su5wquXjrf9uqvnlx0Le','C3rYAw5NAwz5','zNjVBuvUDhjPzxm','u0TjteWUBwq','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','CMvWB3j0CW','vgHPCYbYDw4Gy2fUBM90igjLignOyw5NzwqGDw50AwWGAxrZignVBNrYywn0igLZihzLCMLMAwvKlG','iIbPCYbTAxnZAw5NlG','v09ss1rsruvFuefusf9fweLtvfm','Bg93','lI4VlI4VCgfJA2fNzs5QC29U','DMvYAwzPy2f0Aw9Ux2XLDMvS','BgvKz2vY','Aw5PDgLHBgL6zq','ChjVzhvJDfrHCMDLDa','uMv2Awv3igfYy2HPDgvJDhvYzq','zxbVy2G','CMvHzen1CNjLBNq','v29YA3nWywnLoIa','y29VCMrPBMf0B3i','su5wquXjrf9rvufmsvrzx1bmqu4','mJKXmdq4AvHiDgry','uMvJB3jKigf0igXLyxn0ig9UzsbHy2nLChrHBMnLignYAxrLCMLVBIbHDcbWAxbLBgLUzv9ZDgfYDdSGAxrZihrLEhqGBxvZDcbTyxrJAcbHihf1ywXPDhLqBgfUignYAxrLCMLVBIbLEhbLy3rLze91DgnVBwuU','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','CNvUDgLTzvb1yMXPy0TLEq','Dw52zxjPzMLLza','v09ss1rsruvFuKvnt1zfx0zbsuXfra','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','v2vIifvjoIaUywDLBNrZl3nRAwXSCY91As1ZDhLSzs1YDwXLCY9ts0Lmtc5Tza','C3rVCfjLyxnVBG','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','C2TPBgXqAw5Z','Aw5JBhvKzxm','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGD29YA3rYzwuGy2XLyw51Cc4','BwLNCMf0zvn0yxrLuM9VDa','yxjNCW','CNvUDgLTzvjVB3q','yNvNlwrPywDUB3n0AwnZ','zxHLy3v0Aw9Uu3rHDhvZ','lMPZB24','C3vNz2vZDfrHC2S','ywjHBMrVBMvK','DxbKyxrLzef0','BM9Uzq','C29Tzq','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','uMvHzcaUywDLBNrZl3nRAwXSCY8','y3jLyxrPBMC','ls1Nzxq','CMfUzg9TqNL0zxm','y29UDhjHy3q','su5wquXjrf9qsvbfteLorq','CMvHzfj1BG','zM9Yy2u','C3rVChbLza','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzc4','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','BgvKz2vYrMLSzq','DMfSAwrHDgvuyxnR','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','CgvUzgLUz0nYzwf0Aw9UCW','BgvKz2vYlxDYAxrL','C2nVCgu','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5LihjLC2v0lG','yxrVBwLJv3jPDgvkC29U','DgfYz2v0','y2HPBgrFChjVy2vZCW','C2v0q3vYCMvUDa','ChjLCgfYzu1LCMDL','Bw9KzwXtDgf0Dxm','su5wquXjrf9dsevds1bpsu5ux1nuqvrvuW','q2fUBM90igLUAxrPywXPEMuGDgvTCg9Yyxj5ieDPDcbPBMrLEc4','DgvZDa','v29YA3rYzwuGCMvTB3zLza','zxHWBg9Yzv9JB2rLiezjuLnuigzVCIbJB2rLlIbNCMvWx3nLyxjJAcbptKXzig5VBI1JB2rLicHJB25MAwCVzg9JCY8Uzw52ks4GtM8Gz3jLCcbSB29WCY4','C3bSAxq','cK5LEhqGC3rLCdOG','zxHPC3rZu3LUyW','CNvU','BMv4Da','v09ss1rsruvFq1jfqvrfx0zbsuXfra','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','y3vYCMvUDc5QC29U','q1jfqvrjt05FtK9ux1nuqvjuruq','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','DMvYC2LVBG','C3rHDgvgAwXL','zML4lwfUzc10zxn0','C3rHCNq','C29YDa','mZCZotG5sLnIrvH5','zgLYBMfTzq','u2vZC2LVBLj1BNrPBwu','ywnJzxb0yw5Jzq','z3jPBgWTBwu','DxbNCMfKzs1SAw5LywDLlMPZB24','y2fUy2vSBgvK','BgvNywn5lq','uLvox01ju01bveni','y2fUy2vSBgf0Aw9U','y2HLy2Tjza','mJbPt1nRsKm','CMv2Awv3t2jZzxj2zwq','y2fUy2vSrM9YvxbNCMfKzq','ywnXDwLYzuXVy2S','lI4Vy29Yzs9YDw50Aw1LlwLUzM8','A2v5CW','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','q1jfqvrjt05Fu1vqrvjtrurfra','se9urKLyx1ndt1bfx1jfuvvjuKve','vhjHBNnHy3rPB246ia','BwTKDgvTCfn5BMm','zMLUza','tg9Hzcb0AguGBwf0y2HPBMCGzg9TywLUihnRAwXSigjLzM9YzsbJB2rPBMC6','uMvZB2X2zsbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','D29YA3nWywnL','D29YA3nWywnLugf0Aa','BwLNCMf0zq','A2LUza','BwLZC2LUz1f1ywXPDhLdAgvJA3m','ruvysvnu','otiYoejxr1HnsG','BwvTB3j5x2fJDgLVBG','CgvYC2LZDa'];_0x3757=function(){return _0x7962b2;};return _0x3757();}const MEMORY_TRIGGERS=_0x2a693c,DOMAIN_SKILL_REMINDER=[_0x1dd3cc(0x17a),_0x1dd3cc(0x125),_0x1dd3cc(0x2ab),'Flutter:\x20select\x20the\x20task-specific\x20Flutter\x20skill.'][_0x1dd3cc(0x257)]('\x0a'),_0x277711={};_0x277711['id']=_0x1dd3cc(0x167),_0x277711[_0x1dd3cc(0x2b5)]=_0x1dd3cc(0x339),_0x277711[_0x1dd3cc(0x2b3)]='stress-test-plan';const _0x1c33ae={};_0x1c33ae['id']='to-prd',_0x1c33ae['name']=_0x1dd3cc(0x242),_0x1c33ae[_0x1dd3cc(0x2b3)]=_0x1dd3cc(0x1c3);const _0x22be1f={};_0x22be1f['id']='to-issues',_0x22be1f[_0x1dd3cc(0x2b5)]=_0x1dd3cc(0x188),_0x22be1f['skill']=_0x1dd3cc(0x215);const _0x3182fa={};_0x3182fa['id']=_0x1dd3cc(0x2bc),_0x3182fa[_0x1dd3cc(0x2b5)]='Implement\x20test-first',_0x3182fa[_0x1dd3cc(0x2b3)]=_0x1dd3cc(0x2ad);const _0x43ec72={};_0x43ec72['id']=_0x1dd3cc(0x1bb),_0x43ec72['name']=_0x1dd3cc(0x118),_0x43ec72['skill']=_0x1dd3cc(0x1cf);const _0x1cd5ec={};_0x1cd5ec[_0x1dd3cc(0x2b5)]=_0x1dd3cc(0x2c9),_0x1cd5ec['steps']=[_0x277711,_0x1c33ae,_0x22be1f,_0x3182fa,_0x43ec72];const _0xb0fea2={};_0xb0fea2['id']=_0x1dd3cc(0x209),_0xb0fea2[_0x1dd3cc(0x2b5)]='Diagnose\x20and\x20reproduce',_0xb0fea2[_0x1dd3cc(0x2b3)]=_0x1dd3cc(0x12e);const _0x553eb9={};_0x553eb9['id']=_0x1dd3cc(0x167),_0x553eb9['name']='Challenge\x20the\x20fix\x20design',_0x553eb9['skill']=_0x1dd3cc(0x21e);const _0x3d4672={};_0x3d4672['id']=_0x1dd3cc(0x2ed),_0x3d4672[_0x1dd3cc(0x2b5)]='Document\x20the\x20fix',_0x3d4672[_0x1dd3cc(0x2b3)]=_0x1dd3cc(0x1c3);const _0x2070eb={};_0x2070eb['id']='to-issues',_0x2070eb[_0x1dd3cc(0x2b5)]=_0x1dd3cc(0x1dc),_0x2070eb[_0x1dd3cc(0x2b3)]=_0x1dd3cc(0x215);const _0x406cf7={};_0x406cf7['id']='tdd',_0x406cf7['name']=_0x1dd3cc(0x17c),_0x406cf7[_0x1dd3cc(0x2b3)]=_0x1dd3cc(0x2ad);const _0x4173d={};_0x4173d[_0x1dd3cc(0x2b5)]=_0x1dd3cc(0x19a),_0x4173d[_0x1dd3cc(0x2ba)]=[_0xb0fea2,_0x553eb9,_0x3d4672,_0x2070eb,_0x406cf7];const _0x3d95c9={};_0x3d95c9['id']=_0x1dd3cc(0x1fb),_0x3d95c9[_0x1dd3cc(0x2b5)]=_0x1dd3cc(0x335),_0x3d95c9[_0x1dd3cc(0x2b3)]=null;const _0xc09479={};_0xc09479['id']='fix-and-test',_0xc09479[_0x1dd3cc(0x2b5)]=_0x1dd3cc(0x174),_0xc09479['skill']='tdd-loop';const _0x32ff40={};_0x32ff40[_0x1dd3cc(0x2b5)]=_0x1dd3cc(0x316),_0x32ff40[_0x1dd3cc(0x2ba)]=[_0x3d95c9,_0xc09479];const _0x3a1874={};_0x3a1874[_0x1dd3cc(0x1d0)]=_0x1cd5ec,_0x3a1874[_0x1dd3cc(0x1ff)]=_0x4173d,_0x3a1874['hotfix']=_0x32ff40;const PIPELINE_DEFINITIONS=_0x3a1874,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(_0x4e401d,_0x4e2baa,_0x58cf38={}){const _0x5b94e2={'success':![],'code':_0x4e401d,'error':_0x4e2baa,..._0x58cf38};return _0x5b94e2;}function creationFailure(_0x2bf843,_0x452fef){const _0x537e94=_0x1dd3cc;return{'phase':_0x452fef,'code':typeof _0x2bf843['code']===_0x537e94(0x2a4)?_0x2bf843[_0x537e94(0x1db)]:'UNKNOWN','syscall':typeof _0x2bf843[_0x537e94(0x1b2)]===_0x537e94(0x2a4)?_0x2bf843['syscall']:null,'path':typeof _0x2bf843[_0x537e94(0x22f)]===_0x537e94(0x2a4)?_0x2bf843['path']:null,'message':typeof _0x2bf843[_0x537e94(0x214)]===_0x537e94(0x2a4)?_0x2bf843[_0x537e94(0x214)][_0x537e94(0x31b)](0x0,0xf0):null};}function normalizePath(_0x540618){const _0x25552d=_0x1dd3cc;try{return fs[_0x25552d(0x255)](_0x540618);}catch{return path[_0x25552d(0x216)](_0x540618);}}function overlappingScope(_0x422713=[],_0xd63abf=[],_0x121f3f){const _0x307c0e=_0x1dd3cc;if(!_0x422713[_0x307c0e(0x327)]||!_0xd63abf[_0x307c0e(0x327)]||[..._0x422713,..._0xd63abf][_0x307c0e(0x135)](_0x3abc19=>/[*?\[\]{}!]/[_0x307c0e(0x151)](_0x3abc19)))return!![];const _0x38ea8c=_0x384661=>{const _0x223cb0=_0x307c0e,_0x4537b4=normalizePath(path['resolve'](_0x121f3f,_0x384661['replaceAll']('\x5c','/')));return process[_0x223cb0(0x344)]==='win32'?_0x4537b4[_0x223cb0(0x329)]():_0x4537b4;};return _0x422713[_0x307c0e(0x135)](_0xf316b8=>_0xd63abf['some'](_0x195a41=>{const _0x35dc66=_0x307c0e,_0x2c1691=_0x38ea8c(_0xf316b8),_0x15189f=_0x38ea8c(_0x195a41);return _0x2c1691===_0x15189f||_0x2c1691['startsWith'](_0x15189f+path[_0x35dc66(0x31d)])||_0x15189f[_0x35dc66(0x305)](_0x2c1691+path[_0x35dc66(0x31d)]);}));}function sleep(_0x2d3dc6){const _0x3a3568=_0x1dd3cc;Atomics[_0x3a3568(0x283)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x2d3dc6);}class PipelineManager{constructor(_0x5d292c,_0x501c22={}){const _0x4db2f6=_0x1dd3cc;this[_0x4db2f6(0x369)]=normalizePath(_0x5d292c),this['env']=_0x501c22['env']||process.env,this['runtimeRoot']=_0x501c22['runtimeRoot']||process.env.APT_RUNTIME_ROOT||require(_0x4db2f6(0x172))[_0x4db2f6(0x296)](),this[_0x4db2f6(0x121)]=_0x501c22['publicKey']||require(_0x4db2f6(0x22e))['PRODUCTION_PUBLIC_KEY'],this['developmentMode']=!fs['existsSync'](path[_0x4db2f6(0x257)](__dirname,'..','..','integrity-manifest.json')),this[_0x4db2f6(0x1af)]=_0x501c22[_0x4db2f6(0x1af)]||(()=>new Date()),this[_0x4db2f6(0x13a)]=_0x501c22['randomBytes']||crypto[_0x4db2f6(0x13a)],this[_0x4db2f6(0x2a6)]=_0x501c22['lockTimeoutMs']||0x7d0,this['migrationWarnings']=[],this[_0x4db2f6(0x2f4)]=new Execution(this),this[_0x4db2f6(0x260)]();if(_0x501c22[_0x4db2f6(0x17f)]!==![])this[_0x4db2f6(0x190)]();}static[_0x1dd3cc(0x131)](_0x55c41a){const _0x14fc5a=_0x1dd3cc;if(typeof _0x55c41a!=='string')return'';return _0x55c41a[_0x14fc5a(0x329)]()[_0x14fc5a(0x231)]()[_0x14fc5a(0x197)](/[^a-z0-9_-]+/g,'-')[_0x14fc5a(0x197)](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')[_0x14fc5a(0x31b)](0x0,0x40);}static[_0x1dd3cc(0x143)](_0x1ac757){const _0x17e2fb=_0x1dd3cc;if(typeof _0x1ac757!==_0x17e2fb(0x2a4)||!_0x1ac757[_0x17e2fb(0x231)]())return error(_0x17e2fb(0x303),_0x17e2fb(0x238));if(_0x1ac757!==_0x1ac757[_0x17e2fb(0x231)]()||!TASK_PATTERN[_0x17e2fb(0x151)](_0x1ac757))return error(_0x17e2fb(0x36c),'Task\x20must\x20be\x20a\x20lowercase\x20canonical\x20ID\x20using\x20letters,\x20numbers,\x20hyphens,\x20or\x20underscores\x20(max\x2064).',{'suggested_task':PipelineManager[_0x17e2fb(0x131)](_0x1ac757)});return null;}static[_0x1dd3cc(0x2d2)](_0x1d3b76){const _0x53cd2d=_0x1dd3cc;if(typeof _0x1d3b76!==_0x53cd2d(0x2a4)||!RUN_PATTERN[_0x53cd2d(0x151)](_0x1d3b76))return error('INVALID_RUN_ID',_0x53cd2d(0x120));return null;}static[_0x1dd3cc(0x32e)](_0x56012b){const _0x2f7ab3=_0x1dd3cc;if(_0x56012b===undefined)return null;if(!_0x56012b||typeof _0x56012b!==_0x2f7ab3(0x361)||Array[_0x2f7ab3(0x220)](_0x56012b))return error('INVALID_WORKSPACE','workspace\x20must\x20be\x20an\x20object\x20with\x20mode\x20auto,\x20current,\x20or\x20worktree.');const _0x40ccb0=new Set(['mode',_0x2f7ab3(0x1cb),'initializeGit','confirmationToken',_0x2f7ab3(0x2a1)]);if(Object[_0x2f7ab3(0x173)](_0x56012b)['some'](_0x4d96a9=>!_0x40ccb0[_0x2f7ab3(0x267)](_0x4d96a9)))return error(_0x2f7ab3(0x25d),_0x2f7ab3(0x2dc));if(_0x56012b[_0x2f7ab3(0x1a2)]!==undefined&&!['auto',_0x2f7ab3(0x307),_0x2f7ab3(0x288)]['includes'](_0x56012b[_0x2f7ab3(0x1a2)]))return error(_0x2f7ab3(0x25d),_0x2f7ab3(0x356));if([_0x2f7ab3(0x1cb),_0x2f7ab3(0x2cd)][_0x2f7ab3(0x135)](_0x36a3f4=>_0x56012b[_0x36a3f4]!==undefined&&typeof _0x56012b[_0x36a3f4]!==_0x2f7ab3(0x24e))||['confirmationToken','baseRef'][_0x2f7ab3(0x135)](_0x31c8db=>_0x56012b[_0x31c8db]!==undefined&&typeof _0x56012b[_0x31c8db]!==_0x2f7ab3(0x2a4)))return error(_0x2f7ab3(0x25d),_0x2f7ab3(0x225));return null;}[_0x1dd3cc(0x298)](_0x10e20d,_0xa6ba82={}){const _0x205c4b=_0x1dd3cc,_0x4fbf7b={};_0x4fbf7b[_0x205c4b(0x34c)]=_0xa6ba82[_0x205c4b(0x34c)]||this[_0x205c4b(0x369)],_0x4fbf7b['env']={...this[_0x205c4b(0x332)],..._0xa6ba82['env']||{}},_0x4fbf7b['encoding']=_0x205c4b(0x297),_0x4fbf7b[_0x205c4b(0x317)]=!![],_0x4fbf7b[_0x205c4b(0x259)]=_0xa6ba82[_0x205c4b(0x259)]||0x7530;const _0x153cb7=spawnSync(_0x205c4b(0x2b1),_0x10e20d,_0x4fbf7b);return{'ok':!_0x153cb7[_0x205c4b(0x1f5)]&&_0x153cb7[_0x205c4b(0x25f)]===0x0,'status':_0x153cb7[_0x205c4b(0x25f)],'stdout':(_0x153cb7[_0x205c4b(0x2ce)]||'')[_0x205c4b(0x231)](),'stderr':(_0x153cb7['stderr']||_0x153cb7[_0x205c4b(0x1f5)]?.[_0x205c4b(0x214)]||'')[_0x205c4b(0x231)]()};}[_0x1dd3cc(0x260)](){const _0x208692=_0x1dd3cc,_0xcfc21c=require(_0x208692(0x2ff))[_0x208692(0x34d)](this['projectPath'],this[_0x208692(0x332)]);this[_0x208692(0x2bf)]=_0xcfc21c['isGitRepository'],this['gitCommonDir']=_0xcfc21c['gitCommonDir']?normalizePath(_0xcfc21c['gitCommonDir']):null,this['stateRoot']=this[_0x208692(0x2e6)]?path[_0x208692(0x257)](this['gitCommonDir'],_0x208692(0x1a5),_0x208692(0x2a0)):path[_0x208692(0x257)](this['projectPath'],'.agents','pipelines'),this['legacyStateFilePath']=path[_0x208692(0x257)](this['projectPath'],_0x208692(0x1e3),_0x208692(0x2a3));}['generateRunId'](){const _0x181b53=_0x1dd3cc,_0x3404ba=this[_0x181b53(0x1af)]()[_0x181b53(0x330)]()['replace'](/[-:]/g,'')['replace'](/\.\d{3}/,'');return _0x3404ba+'-'+this[_0x181b53(0x13a)](0x4)[_0x181b53(0x1a6)](_0x181b53(0x2a2));}[_0x1dd3cc(0x1aa)](_0x40bfb4){return path['join'](this['stateRoot'],_0x40bfb4);}[_0x1dd3cc(0x22b)](_0x58ca49,_0x524a86){const _0x389707=_0x1dd3cc;return path[_0x389707(0x257)](this[_0x389707(0x1aa)](_0x58ca49),_0x389707(0x345),_0x524a86);}['currentFile'](_0x174f25){const _0x1bd1ee=_0x1dd3cc;return path[_0x1bd1ee(0x257)](this[_0x1bd1ee(0x1aa)](_0x174f25),'current.json');}['stateFile'](_0x1ffebb,_0x1a0ffb){const _0x1d42c2=_0x1dd3cc;return path[_0x1d42c2(0x257)](this[_0x1d42c2(0x22b)](_0x1ffebb,_0x1a0ffb),_0x1d42c2(0x1c1));}[_0x1dd3cc(0x142)](_0x42e364,_0x472225){const _0x58dd19=_0x1dd3cc;return path[_0x58dd19(0x257)](this[_0x58dd19(0x22b)](_0x42e364,_0x472225),'progress.md');}['atomicWrite'](_0x5dffce,_0x564e1){const _0x72afb6=_0x1dd3cc,_0x51b03c={};_0x51b03c[_0x72afb6(0x1e7)]=!![],fs[_0x72afb6(0x233)](path[_0x72afb6(0x164)](_0x5dffce),_0x51b03c);const _0x4ae726=_0x5dffce+'.'+process['pid']+'.'+this['randomBytes'](0x4)['toString'](_0x72afb6(0x2a2))+_0x72afb6(0x1d5),_0x1b592b=fs[_0x72afb6(0x1ed)](_0x4ae726,'wx');try{fs[_0x72afb6(0x229)](_0x1b592b,_0x564e1,_0x72afb6(0x297)),fs[_0x72afb6(0x26e)](_0x1b592b);}finally{fs['closeSync'](_0x1b592b);}fs[_0x72afb6(0x28e)](_0x4ae726,_0x5dffce);}['atomicWriteJson'](_0x565f3e,_0x47af84){const _0x4c29ac=_0x1dd3cc;this[_0x4c29ac(0x21d)](_0x565f3e,JSON['stringify'](_0x47af84,null,0x2)+'\x0a');}['lockFile'](_0x2d46d2){const _0x36848c=_0x1dd3cc;return path[_0x36848c(0x257)](this[_0x36848c(0x30d)],'.locks',_0x2d46d2+_0x36848c(0x235));}[_0x1dd3cc(0x171)](_0x3e6f19){const _0x471815=_0x1dd3cc,_0x595b1b=this[_0x471815(0x295)](_0x3e6f19),_0x1deaa8={};_0x1deaa8[_0x471815(0x1e7)]=!![],fs[_0x471815(0x233)](path[_0x471815(0x164)](_0x595b1b),_0x1deaa8);const _0x163159=Date['now'](),_0xd56a14=JSON[_0x471815(0x36d)]({'pid':process[_0x471815(0x1e5)],'token':crypto[_0x471815(0x218)](),'createdAt':Date[_0x471815(0x1af)]()});while(Date['now']()-_0x163159<=this['lockTimeoutMs']){try{const _0x5415ce=fs[_0x471815(0x1ed)](_0x595b1b,'wx');try{fs[_0x471815(0x229)](_0x5415ce,_0xd56a14),fs[_0x471815(0x26e)](_0x5415ce);}finally{fs[_0x471815(0x2b6)](_0x5415ce);}return()=>{const _0x23aef6=_0x471815;try{if(fs[_0x23aef6(0x2de)](_0x595b1b,_0x23aef6(0x297))===_0xd56a14)fs[_0x23aef6(0x1f8)](_0x595b1b);}catch{}};}catch(_0x1fa6dc){if(_0x1fa6dc[_0x471815(0x1db)]!==_0x471815(0x182))throw _0x1fa6dc;try{const _0x3d950d=JSON[_0x471815(0x29b)](fs['readFileSync'](_0x595b1b,'utf8'));let _0x18c6d0=!![];if(!Number['isSafeInteger'](_0x3d950d[_0x471815(0x1e5)])||_0x3d950d[_0x471815(0x1e5)]<=0x0)throw new Error(_0x471815(0x203));try{process['kill'](_0x3d950d['pid'],0x0);}catch(_0x1f24ae){_0x18c6d0=_0x1f24ae['code']!==_0x471815(0x336);}if(!_0x18c6d0&&Date[_0x471815(0x1af)]()-_0x3d950d[_0x471815(0x2ef)]>this[_0x471815(0x2a6)]){fs['unlinkSync'](_0x595b1b);continue;}}catch{}sleep(0x14);}}const _0x220f60={};_0x220f60[_0x471815(0x1db)]=_0x471815(0x349);throw Object[_0x471815(0x2ac)](new Error(_0x471815(0x32f)+_0x3e6f19+'\x22.'),_0x220f60);}[_0x1dd3cc(0x241)](_0x48c629,_0xfc863b){const _0x155389=_0x1dd3cc;let _0x1d4eb1;try{return _0x1d4eb1=this[_0x155389(0x171)](_0x48c629),_0xfc863b();}catch(_0x5e25f8){if(_0x5e25f8['code']===_0x155389(0x349))return error(_0x5e25f8[_0x155389(0x1db)],_0x5e25f8[_0x155389(0x214)]);throw _0x5e25f8;}finally{if(_0x1d4eb1)_0x1d4eb1();}}[_0x1dd3cc(0x319)](){const _0x5e01c6=_0x1dd3cc;if(fs[_0x5e01c6(0x156)](this[_0x5e01c6(0x1c4)]))return!![];const _0x3be7a6=new Set([path[_0x5e01c6(0x257)](this[_0x5e01c6(0x369)],_0x5e01c6(0x1e3),'pipelines'),this[_0x5e01c6(0x30d)]]);for(const _0x4b44bf of _0x3be7a6){if(!fs[_0x5e01c6(0x156)](_0x4b44bf))continue;const _0x4c864e={};_0x4c864e[_0x5e01c6(0x186)]=!![];if(fs[_0x5e01c6(0x250)](_0x4b44bf,_0x4c864e)['some'](_0xdccd27=>_0xdccd27[_0x5e01c6(0x222)]()&&!_0xdccd27[_0x5e01c6(0x2b5)][_0x5e01c6(0x305)]('.')&&fs[_0x5e01c6(0x156)](path[_0x5e01c6(0x257)](_0x4b44bf,_0xdccd27[_0x5e01c6(0x2b5)],_0x5e01c6(0x1c1)))))return!![];}return![];}[_0x1dd3cc(0x190)](){const _0x46705b=_0x1dd3cc;if(!this['hasLegacyState']())return;const _0x232ff5=this[_0x46705b(0x171)](_0x46705b(0x274));try{this[_0x46705b(0x2b8)](),this[_0x46705b(0x29a)]();}finally{_0x232ff5();}}[_0x1dd3cc(0x2c8)](_0x76951e){const _0x57a852=_0x1dd3cc;try{return JSON[_0x57a852(0x29b)](fs[_0x57a852(0x2de)](_0x76951e,_0x57a852(0x297)));}catch(_0x4b6308){if(_0x4b6308[_0x57a852(0x1db)]!==_0x57a852(0x1b9)&&!(_0x4b6308 instanceof SyntaxError))throw _0x4b6308;return null;}}[_0x1dd3cc(0x11a)](_0x5c3f14){const _0x4e5f31=_0x1dd3cc,_0x33ae27=this[_0x4e5f31(0x2c8)](this[_0x4e5f31(0x352)](_0x5c3f14));if(!_0x33ae27?.['runId'])return null;return this['readRun'](_0x5c3f14,_0x33ae27[_0x4e5f31(0x325)]);}['readRun'](_0x288248,_0x4d8741){const _0x142754=_0x1dd3cc;return this[_0x142754(0x2f4)][_0x142754(0x1a3)](_0x288248,_0x4d8741,this['readJson'](this[_0x142754(0x15f)](_0x288248,_0x4d8741)));}['contract'](_0x2dc346){const _0xc88569=_0x1dd3cc,_0x71214d={};_0x71214d[_0xc88569(0x364)]='blocked',_0x71214d[_0xc88569(0x1db)]=_0xc88569(0x32d);if(!this['ownsRun'](_0x2dc346))return _0x71214d;const _0x1824dc={};return _0x1824dc[_0xc88569(0x12d)]=this[_0xc88569(0x12d)],_0x1824dc[_0xc88569(0x192)]=this[_0xc88569(0x121)],_0x1824dc['developmentMode']=this[_0xc88569(0x1df)],_0x1824dc[_0xc88569(0x25c)]=PIPELINE_DEFINITIONS,inspectRunContract(_0x2dc346,_0x1824dc);}['ownsRun'](_0x26ea19){const _0x4d985c=_0x1dd3cc;return[_0x26ea19?.[_0x4d985c(0x263)],_0x26ea19?.[_0x4d985c(0x17d)]?.[_0x4d985c(0x22f)]][_0x4d985c(0x1cd)](Boolean)[_0x4d985c(0x135)](_0x2c3fea=>{const _0xd68c5a=_0x4d985c;try{return require(_0xd68c5a(0x1d6))[_0xd68c5a(0x19c)](_0x2c3fea,this['projectPath']);}catch{return![];}});}['recordForeignRun'](_0x104835){const _0x49cd3f=_0x1dd3cc,_0x3d82ea={};_0x3d82ea[_0x49cd3f(0x1db)]=_0x49cd3f(0x32d),_0x3d82ea[_0x49cd3f(0x366)]=_0x104835[_0x49cd3f(0x366)],_0x3d82ea[_0x49cd3f(0x325)]=_0x104835[_0x49cd3f(0x325)];const _0x4cf885=_0x3d82ea;this[_0x49cd3f(0x1a4)]||=[];if(!this[_0x49cd3f(0x1a4)][_0x49cd3f(0x135)](_0x32b3c8=>_0x32b3c8[_0x49cd3f(0x366)]===_0x104835[_0x49cd3f(0x366)]&&_0x32b3c8[_0x49cd3f(0x325)]===_0x104835[_0x49cd3f(0x325)]))this[_0x49cd3f(0x1a4)][_0x49cd3f(0x1d2)](_0x4cf885);}[_0x1dd3cc(0x2cf)](_0x3a9083){const _0x40749f=_0x1dd3cc;_0x3a9083['definition']=JSON[_0x40749f(0x29b)](JSON[_0x40749f(0x36d)](PIPELINE_DEFINITIONS[_0x3a9083[_0x40749f(0x1eb)]]));const _0x3c2d99=path[_0x40749f(0x257)](__dirname,'..','..','integrity-manifest.json'),_0x5a2b89=fs[_0x40749f(0x156)](_0x3c2d99);_0x3a9083['runtimePin']={'source':_0x5a2b89?_0x40749f(0x2eb):'development-source','version':require(_0x40749f(0x376))[_0x40749f(0x15e)],'digest':_0x5a2b89?crypto['createHash'](_0x40749f(0x269))[_0x40749f(0x343)](JSON['stringify'](JSON[_0x40749f(0x29b)](fs['readFileSync'](_0x3c2d99,_0x40749f(0x297)))))['digest'](_0x40749f(0x2a2)):null,'definitionHash':crypto['createHash'](_0x40749f(0x269))[_0x40749f(0x343)](JSON[_0x40749f(0x36d)](_0x3a9083[_0x40749f(0x1d7)]))[_0x40749f(0x1e8)](_0x40749f(0x2a2))};}[_0x1dd3cc(0x208)](_0x3deaa8,_0x59b0a8){const _0x507c48=_0x1dd3cc;return this[_0x507c48(0x241)](_0x3deaa8,()=>{const _0x40f4e3=_0x507c48,_0x298399=this[_0x40f4e3(0x13d)](_0x3deaa8,_0x59b0a8);return _0x298399?.[_0x40f4e3(0x1d9)]===0x3&&this[_0x40f4e3(0x13b)](_0x298399)[_0x40f4e3(0x364)]!==_0x40f4e3(0x33a)&&(this[_0x40f4e3(0x149)](this[_0x40f4e3(0x15f)](_0x3deaa8,_0x59b0a8),_0x298399),this[_0x40f4e3(0x2f4)][_0x40f4e3(0x115)](_0x298399)),_0x298399;});}[_0x1dd3cc(0x1f4)](_0x4724a5,_0x36923d){const _0x25634f=_0x1dd3cc;return path[_0x25634f(0x257)](this['stateRoot'],_0x25634f(0x2fb),_0x4724a5,_0x36923d+'.json');}['pendingCreation'](_0x6636e5){const _0x3d743b=_0x1dd3cc,_0x1b6dbe=path['join'](this[_0x3d743b(0x30d)],'.creation',_0x6636e5);if(!fs[_0x3d743b(0x156)](_0x1b6dbe))return null;for(const _0xbcff08 of fs[_0x3d743b(0x250)](_0x1b6dbe)){const _0x2489db=this[_0x3d743b(0x2c8)](path[_0x3d743b(0x257)](_0x1b6dbe,_0xbcff08)),_0x5dfaab={};_0x5dfaab[_0x3d743b(0x25f)]=_0x3d743b(0x1a9),_0x5dfaab['file']=_0xbcff08;if(!_0x2489db)return _0x5dfaab;const _0x2cdfe8={};_0x2cdfe8[_0x3d743b(0x25f)]='invalid',_0x2cdfe8[_0x3d743b(0x347)]=_0xbcff08;if(_0x2489db[_0x3d743b(0x366)]!==_0x6636e5||PipelineManager['validateRunId'](_0x2489db['runId']))return _0x2cdfe8;if([_0x3d743b(0x138),_0x3d743b(0x1be),_0x3d743b(0x348)][_0x3d743b(0x129)](_0x2489db[_0x3d743b(0x25f)])&&!this['readRun'](_0x6636e5,_0x2489db[_0x3d743b(0x325)]))return _0x2489db;}return null;}[_0x1dd3cc(0x145)](_0x58ddcc){const _0x2a5b90=_0x1dd3cc,_0x1de9a6=path[_0x2a5b90(0x257)](this[_0x2a5b90(0x30d)],_0x2a5b90(0x2fb));if(!fs['existsSync'](_0x1de9a6))return[];const _0x5bf471={};_0x5bf471['withFileTypes']=!![];const _0x3ce913=_0x58ddcc?[_0x58ddcc]:fs['readdirSync'](_0x1de9a6,_0x5bf471)['filter'](_0x36802f=>_0x36802f[_0x2a5b90(0x222)]())['map'](_0x42a767=>_0x42a767[_0x2a5b90(0x2b5)]),_0x4ce1eb=[];for(const _0xff4d6f of _0x3ce913){const _0x2989c2=path[_0x2a5b90(0x257)](_0x1de9a6,_0xff4d6f);if(!fs['existsSync'](_0x2989c2))continue;for(const _0x13f11c of fs[_0x2a5b90(0x250)](_0x2989c2)[_0x2a5b90(0x1cd)](_0x445bd8=>_0x445bd8[_0x2a5b90(0x2f7)](_0x2a5b90(0x130)))){const _0x58e0cd=this[_0x2a5b90(0x2c8)](path[_0x2a5b90(0x257)](_0x2989c2,_0x13f11c));if(!_0x58e0cd||_0x58e0cd[_0x2a5b90(0x366)]!==_0xff4d6f||PipelineManager[_0x2a5b90(0x2d2)](_0x58e0cd[_0x2a5b90(0x325)])||![_0x2a5b90(0x138),_0x2a5b90(0x1be),'interrupted'][_0x2a5b90(0x129)](_0x58e0cd[_0x2a5b90(0x25f)])||this[_0x2a5b90(0x13d)](_0xff4d6f,_0x58e0cd[_0x2a5b90(0x325)]))continue;const _0x478146=!PipelineManager[_0x2a5b90(0x32e)](_0x58e0cd[_0x2a5b90(0x30a)]),_0x200d2c=_0x58e0cd[_0x2a5b90(0x17d)]&&!_0x58e0cd['workspace']['managed']&&typeof _0x58e0cd['workspace'][_0x2a5b90(0x22f)]===_0x2a5b90(0x2a4)&&normalizePath(_0x58e0cd['workspace'][_0x2a5b90(0x22f)])===this[_0x2a5b90(0x369)],_0x4a0ad0=_0x58e0cd['originWorkspace']===undefined?_0x200d2c:typeof _0x58e0cd[_0x2a5b90(0x263)]===_0x2a5b90(0x2a4)&&normalizePath(_0x58e0cd[_0x2a5b90(0x263)])===this[_0x2a5b90(0x369)];_0x4ce1eb[_0x2a5b90(0x1d2)]({'task':_0xff4d6f,'runId':_0x58e0cd[_0x2a5b90(0x325)],'status':_0x58e0cd['status'],'originWorkspace':_0x58e0cd[_0x2a5b90(0x263)]||null,'requestedWorkspace':_0x58e0cd[_0x2a5b90(0x30a)]||null,'workspace':_0x58e0cd[_0x2a5b90(0x17d)]||null,'runtimeVersion':_0x58e0cd[_0x2a5b90(0x254)]||null,'error':_0x58e0cd[_0x2a5b90(0x1f5)]||null,'intentFile':path['join'](_0x2989c2,_0x13f11c),'availableActions':{'resume':_0x478146&&_0x4a0ad0&&_0x200d2c,'abandon':_0x478146&&_0x4a0ad0&&_0x200d2c&&!this['readCurrent'](_0xff4d6f)}});}}return _0x4ce1eb;}['recoverCreation'](_0x3c05c5,_0x22ef4d,_0x476073){const _0x5a0da0=_0x1dd3cc,_0x445ea2=PipelineManager[_0x5a0da0(0x2d2)](_0x22ef4d);if(_0x445ea2)return _0x445ea2;return this[_0x5a0da0(0x241)](_0x3c05c5,()=>{const _0x5e8dc2=_0x5a0da0,_0x57d78f=this['creationIntentFile'](_0x3c05c5,_0x22ef4d),_0x459ff0=this[_0x5e8dc2(0x2c8)](_0x57d78f);if(!_0x459ff0||_0x459ff0['task']!==_0x3c05c5||_0x459ff0[_0x5e8dc2(0x325)]!==_0x22ef4d)return error(_0x5e8dc2(0x144),_0x5e8dc2(0x272));if(![_0x5e8dc2(0x138),_0x5e8dc2(0x1be),'interrupted']['includes'](_0x459ff0[_0x5e8dc2(0x25f)]))return error('CREATION_ALREADY_RESOLVED','This\x20creation\x20intent\x20has\x20already\x20been\x20resolved.\x20Use\x20pipeline_use\x20for\x20an\x20existing\x20run.');if(PipelineManager['validateWorkspace'](_0x459ff0[_0x5e8dc2(0x30a)])||_0x459ff0[_0x5e8dc2(0x263)]&&(typeof _0x459ff0[_0x5e8dc2(0x263)]!==_0x5e8dc2(0x2a4)||normalizePath(_0x459ff0[_0x5e8dc2(0x263)])!==this[_0x5e8dc2(0x369)]))return error(_0x5e8dc2(0x15d),'Saved\x20creation\x20intent\x20has\x20an\x20invalid\x20workspace\x20or\x20belongs\x20to\x20another\x20project.');if(_0x459ff0[_0x5e8dc2(0x12c)]?.[_0x5e8dc2(0x29d)]&&_0x459ff0['args']['sessionId']!==_0x476073)return error(_0x5e8dc2(0x333),_0x5e8dc2(0x124));const _0x1b8dd6=this[_0x5e8dc2(0x11a)](_0x3c05c5);if(_0x1b8dd6&&_0x1b8dd6['runId']!==_0x22ef4d)return error(_0x5e8dc2(0x175),_0x5e8dc2(0x1ae));const _0x37356b=this[_0x5e8dc2(0x13d)](_0x3c05c5,_0x22ef4d);if(_0x37356b){if(_0x37356b['status']!==_0x5e8dc2(0x226)||_0x37356b[_0x5e8dc2(0x11c)]&&_0x37356b['coordinator']!==_0x476073)return error(_0x5e8dc2(0x315),_0x5e8dc2(0x19f));const _0x2984e3={};_0x2984e3[_0x5e8dc2(0x14c)]=!![],this[_0x5e8dc2(0x35b)](_0x37356b,_0x2984e3);const _0x4ff996={..._0x459ff0};_0x4ff996[_0x5e8dc2(0x25f)]=_0x5e8dc2(0x360),this[_0x5e8dc2(0x149)](_0x57d78f,_0x4ff996);const _0x18cf23={};return _0x18cf23[_0x5e8dc2(0x1b5)]=!![],this[_0x5e8dc2(0x1f1)](_0x37356b,_0x18cf23);}let _0x520d29=_0x459ff0[_0x5e8dc2(0x17d)];const _0x4b5531={};_0x4b5531['mode']=_0x5e8dc2(0x307);if(!_0x520d29&&_0x459ff0[_0x5e8dc2(0x30a)][_0x5e8dc2(0x1a2)]!==_0x5e8dc2(0x288))_0x520d29=this['resolveWorkspace'](_0x3c05c5,_0x22ef4d,_0x4b5531)[_0x5e8dc2(0x17d)];if(!_0x520d29&&_0x459ff0['requestedWorkspace'][_0x5e8dc2(0x1a2)]==='worktree'){const _0xea5311=path[_0x5e8dc2(0x257)](path[_0x5e8dc2(0x164)](this['projectPath']),_0x5e8dc2(0x301),path[_0x5e8dc2(0x20b)](this[_0x5e8dc2(0x369)]),_0x3c05c5,_0x22ef4d),_0x42e4f5={};_0x42e4f5[_0x5e8dc2(0x22f)]=_0xea5311,_0x42e4f5[_0x5e8dc2(0x1a2)]=_0x5e8dc2(0x288),_0x42e4f5[_0x5e8dc2(0x2a9)]=!![],_0x42e4f5[_0x5e8dc2(0x285)]=_0x5e8dc2(0x246)+_0x3c05c5+'/'+_0x22ef4d,_0x42e4f5['status']=_0x5e8dc2(0x189),_0x520d29=_0x42e4f5;}if(!_0x520d29||!fs[_0x5e8dc2(0x156)](_0x520d29[_0x5e8dc2(0x22f)])){if(_0x520d29?.[_0x5e8dc2(0x2a9)]&&!_0x459ff0[_0x5e8dc2(0x17d)]){const _0x339719=this[_0x5e8dc2(0x298)]([_0x5e8dc2(0x288),_0x5e8dc2(0x29c),_0x5e8dc2(0x268)]),_0x14f3b7=this[_0x5e8dc2(0x298)]([_0x5e8dc2(0x253),_0x5e8dc2(0x27c),_0x5e8dc2(0x2c4),_0x5e8dc2(0x358)+_0x520d29['branch']]),_0x580fdf=_0x339719[_0x5e8dc2(0x2ce)]?.[_0x5e8dc2(0x154)](/\r?\n/)[_0x5e8dc2(0x135)](_0x5f35a7=>_0x5f35a7[_0x5e8dc2(0x305)](_0x5e8dc2(0x1a1))&&normalizePath(_0x5f35a7[_0x5e8dc2(0x31b)](0x9))===normalizePath(_0x520d29['path']));if(_0x339719['ok']&&!_0x580fdf&&_0x14f3b7[_0x5e8dc2(0x25f)]===0x1)return this[_0x5e8dc2(0x149)](_0x57d78f,{..._0x459ff0,'status':_0x5e8dc2(0x132),'resolvedAt':this[_0x5e8dc2(0x1af)]()[_0x5e8dc2(0x330)]()}),error(_0x5e8dc2(0x15c),_0x5e8dc2(0x2a5));}return error(_0x5e8dc2(0x1b1),_0x5e8dc2(0x34f));}if(_0x520d29[_0x5e8dc2(0x2a9)]){const _0x4b104b=this[_0x5e8dc2(0x298)](['worktree','list',_0x5e8dc2(0x268)]),_0x175def={};_0x175def['cwd']=_0x520d29['path'];const _0x2e26b7=this[_0x5e8dc2(0x298)]([_0x5e8dc2(0x285),_0x5e8dc2(0x248)],_0x175def);if(!_0x4b104b['ok']||!_0x4b104b[_0x5e8dc2(0x2ce)]['split']('\x0a')[_0x5e8dc2(0x135)](_0xe43109=>_0xe43109[_0x5e8dc2(0x305)](_0x5e8dc2(0x1a1))&&normalizePath(_0xe43109[_0x5e8dc2(0x31b)](0x9))===normalizePath(_0x520d29[_0x5e8dc2(0x22f)]))||_0x2e26b7[_0x5e8dc2(0x2ce)]!==_0x520d29[_0x5e8dc2(0x285)])return error(_0x5e8dc2(0x15d),_0x5e8dc2(0x194));}else{if(!_0x520d29['path']||normalizePath(_0x520d29[_0x5e8dc2(0x22f)])!==this[_0x5e8dc2(0x369)])return error(_0x5e8dc2(0x15d),_0x5e8dc2(0x1fd));}if(!_0x459ff0[_0x5e8dc2(0x263)]&&_0x520d29[_0x5e8dc2(0x2a9)])return error(_0x5e8dc2(0x15d),_0x5e8dc2(0x136));const _0x4145f4={'schemaVersion':_0x459ff0[_0x5e8dc2(0x1d9)]||0x3,'task':_0x3c05c5,'runId':_0x22ef4d,'pipeline':_0x459ff0[_0x5e8dc2(0x1eb)],'status':'active','completedSteps':[],'originWorkspace':_0x459ff0[_0x5e8dc2(0x263)]||this[_0x5e8dc2(0x369)],'workspace':_0x520d29,'startedAt':_0x459ff0[_0x5e8dc2(0x2ef)],'updatedAt':this[_0x5e8dc2(0x1af)]()[_0x5e8dc2(0x330)]()};let _0x474511=_0x5e8dc2(0x34b);try{if(_0x4145f4[_0x5e8dc2(0x1d9)]===0x3)this[_0x5e8dc2(0x2f4)]['initialize'](_0x4145f4,_0x459ff0[_0x5e8dc2(0x12c)]);else this['pinLegacyDefinition'](_0x4145f4);_0x474511=_0x5e8dc2(0x31a);const _0x5dd1fe={};_0x5dd1fe[_0x5e8dc2(0x14c)]=!![],this[_0x5e8dc2(0x35b)](_0x4145f4,_0x5dd1fe),_0x474511='intent-complete',this[_0x5e8dc2(0x149)](_0x57d78f,{..._0x459ff0,'status':_0x5e8dc2(0x360),'recoveredAt':this['now']()['toISOString']()});const _0x2966c7={};return _0x2966c7[_0x5e8dc2(0x1b5)]=!![],_0x2966c7[_0x5e8dc2(0x2df)]=!![],this[_0x5e8dc2(0x1f1)](_0x4145f4,_0x2966c7);}catch(_0x5e5de7){const _0x252980=creationFailure(_0x5e5de7,_0x474511);try{const _0xc0659b={..._0x459ff0};_0xc0659b[_0x5e8dc2(0x25f)]=_0x5e8dc2(0x348),_0xc0659b[_0x5e8dc2(0x1f5)]=_0x252980,this[_0x5e8dc2(0x149)](_0x57d78f,_0xc0659b);}catch{}const _0x45d34b={};return _0x45d34b['task']=_0x3c05c5,_0x45d34b[_0x5e8dc2(0x325)]=_0x22ef4d,_0x45d34b[_0x5e8dc2(0x195)]=_0x57d78f,_0x45d34b[_0x5e8dc2(0x17d)]=_0x520d29,_0x45d34b['reason']=_0x252980[_0x5e8dc2(0x1db)],_0x45d34b[_0x5e8dc2(0x1d4)]=_0x252980,error('RUN_INITIALIZATION_FAILED','Recovery\x20was\x20interrupted;\x20its\x20intent\x20was\x20preserved.',_0x45d34b);}});}[_0x1dd3cc(0x35b)](_0x4919a2,{setCurrent:setCurrent=![]}={}){const _0x2b8d32=_0x1dd3cc;_0x4919a2[_0x2b8d32(0x133)]=this[_0x2b8d32(0x1af)]()[_0x2b8d32(0x330)]();if(_0x4919a2[_0x2b8d32(0x1d9)]===0x3)this['execution'][_0x2b8d32(0x185)](_0x4919a2);this[_0x2b8d32(0x149)](this[_0x2b8d32(0x15f)](_0x4919a2[_0x2b8d32(0x366)],_0x4919a2[_0x2b8d32(0x325)]),_0x4919a2);if(_0x4919a2[_0x2b8d32(0x1d9)]===0x3)this['execution'][_0x2b8d32(0x115)](_0x4919a2);setCurrent&&this['atomicWriteJson'](this[_0x2b8d32(0x352)](_0x4919a2['task']),{'task':_0x4919a2[_0x2b8d32(0x366)],'runId':_0x4919a2[_0x2b8d32(0x325)],'updatedAt':_0x4919a2[_0x2b8d32(0x133)]});}['appendLedger'](_0x219c30,_0x363dde,_0x32f89d){const _0xa3db3b=_0x1dd3cc;if(_0x219c30[_0xa3db3b(0x1d9)]===0x3)return this['execution'][_0xa3db3b(0x115)](_0x219c30);const _0x52317e=this[_0xa3db3b(0x142)](_0x219c30['task'],_0x219c30[_0xa3db3b(0x325)]);let _0x57956d=fs[_0xa3db3b(0x156)](_0x52317e)?fs[_0xa3db3b(0x2de)](_0x52317e,_0xa3db3b(0x297)):'';!_0x57956d&&(_0x57956d=_0xa3db3b(0x35e)+_0x219c30[_0xa3db3b(0x366)]+_0xa3db3b(0x28b)+_0x219c30[_0xa3db3b(0x325)]+'\x0aPipeline:\x20'+_0x219c30[_0xa3db3b(0x1eb)]+'\x0a'),_0x57956d+=_0xa3db3b(0x28f)+this[_0xa3db3b(0x1af)]()['toISOString']()+'\x20-\x20'+_0x363dde+'\x0a\x0a'+_0x32f89d+'\x0a',this[_0xa3db3b(0x21d)](_0x52317e,_0x57956d);}[_0x1dd3cc(0x34e)](_0x12ae95,_0x2b4bd8=this[_0x1dd3cc(0x369)]){const _0x32e99b=_0x1dd3cc,_0xc15b43=[path[_0x32e99b(0x257)](_0x2b4bd8,_0x32e99b(0x1e3),'skills',_0x12ae95,_0x32e99b(0x36f)),path[_0x32e99b(0x257)](this[_0x32e99b(0x369)],_0x32e99b(0x1e3),_0x32e99b(0x1ba),_0x12ae95,_0x32e99b(0x36f))],{SKILL_NAME_MAPPING:_0x155ae9,CANONICAL_SKILL_SOURCES:_0xb044b7}=require('../core/skill-names.js'),_0x3e83ba=_0xb044b7[_0x12ae95]||Object[_0x32e99b(0x173)](_0x155ae9)[_0x32e99b(0x179)](_0x1646ad=>_0x155ae9[_0x1646ad]===_0x12ae95);if(_0x3e83ba)_0xc15b43[_0x32e99b(0x1d2)](path['join'](this[_0x32e99b(0x369)],_0x32e99b(0x1e3),_0x32e99b(0x1ba),_0x3e83ba,_0x32e99b(0x36f)));const _0x4f2c0e=_0xc15b43[_0x32e99b(0x179)](_0x6fb6c0=>fs[_0x32e99b(0x156)](_0x6fb6c0));if(_0x4f2c0e)return null;const _0x38345b={};return _0x38345b[_0x32e99b(0x28a)]=_0xc15b43[0x0],_0x38345b[_0x32e99b(0x22d)]='npx\x20apt-mcp-agent-setup\x20update\x20--project\x20\x22'+this[_0x32e99b(0x369)]+'\x22',error(_0x32e99b(0x2f8),'Required\x20pipeline\x20skill\x20\x22'+_0x12ae95+_0x32e99b(0x373),_0x38345b);}['isLinkedWorktree'](){const _0x21db7f=_0x1dd3cc;if(!this[_0x21db7f(0x2bf)])return![];const _0x59e996=this[_0x21db7f(0x298)]([_0x21db7f(0x2bb),_0x21db7f(0x271)]);if(!_0x59e996['ok']||!this[_0x21db7f(0x2e6)])return![];const _0x18963b=normalizePath(path['resolve'](this[_0x21db7f(0x369)],_0x59e996[_0x21db7f(0x2ce)]));if(_0x18963b===this[_0x21db7f(0x2e6)])return![];const _0x54c734=this[_0x21db7f(0x298)]([_0x21db7f(0x288),_0x21db7f(0x29c),_0x21db7f(0x268)]);if(!_0x54c734['ok'])return![];const _0x5283ff=normalizePath(this[_0x21db7f(0x369)])[_0x21db7f(0x329)]();return _0x54c734[_0x21db7f(0x2ce)][_0x21db7f(0x154)](/\r?\n/)['filter'](_0x34b797=>_0x34b797[_0x21db7f(0x305)](_0x21db7f(0x1a1)))[_0x21db7f(0x135)](_0x7f5748=>normalizePath(_0x7f5748[_0x21db7f(0x31b)](0x9))[_0x21db7f(0x329)]()===_0x5283ff);}[_0x1dd3cc(0x293)](){const _0x14e1a2=_0x1dd3cc;if(this[_0x14e1a2(0x2bf)])return error(_0x14e1a2(0x23e),'Project\x20is\x20already\x20a\x20Git\x20repository.');const _0x41d920=fs[_0x14e1a2(0x178)](path[_0x14e1a2(0x257)](os[_0x14e1a2(0x1d8)](),_0x14e1a2(0x1e2)));try{const _0x1e2322=path[_0x14e1a2(0x257)](_0x41d920,'git'),_0x183494=path[_0x14e1a2(0x257)](_0x41d920,_0x14e1a2(0x2d8)),_0x15b908={};_0x15b908['cwd']=_0x41d920;const _0x5ad8f9=this['runGit']([_0x14e1a2(0x2d5),'--bare',_0x1e2322],_0x15b908);if(!_0x5ad8f9['ok'])return error('GIT_PREVIEW_FAILED',_0x5ad8f9[_0x14e1a2(0x2db)]||_0x14e1a2(0x150));const _0x490b17={};_0x490b17[_0x14e1a2(0x306)]=_0x183494;const _0x36d42c=_0x490b17,_0x2701a5=this[_0x14e1a2(0x298)]([_0x14e1a2(0x271),_0x1e2322,_0x14e1a2(0x20c),this[_0x14e1a2(0x369)],'add','-A'],{'cwd':this['projectPath'],'env':_0x36d42c});if(!_0x2701a5['ok'])return error(_0x14e1a2(0x1bd),_0x2701a5[_0x14e1a2(0x2db)]||_0x14e1a2(0x1f0));const _0xfe5318=this[_0x14e1a2(0x298)]([_0x14e1a2(0x271),_0x1e2322,_0x14e1a2(0x20c),this[_0x14e1a2(0x369)],_0x14e1a2(0x1f6),_0x14e1a2(0x1c2),_0x14e1a2(0x227),'-z'],{'cwd':this[_0x14e1a2(0x369)],'env':_0x36d42c});if(!_0xfe5318['ok'])return error(_0x14e1a2(0x1bd),_0xfe5318[_0x14e1a2(0x2db)]||_0x14e1a2(0x262));const _0x443213=_0xfe5318['stdout']?_0xfe5318[_0x14e1a2(0x2ce)]['split']('\x00')['filter'](Boolean)['map'](_0x4d378d=>_0x4d378d[_0x14e1a2(0x197)](/\\/g,'/'))[_0x14e1a2(0x162)]():[],_0x44dc01=_0x443213[_0x14e1a2(0x1c5)](_0x1ac98e=>{const _0x3c88bb=_0x14e1a2,_0x309e92=path[_0x3c88bb(0x257)](this[_0x3c88bb(0x369)],_0x1ac98e),_0x489b13=fs[_0x3c88bb(0x207)](_0x309e92),_0x275618=crypto[_0x3c88bb(0x32c)](_0x3c88bb(0x269))[_0x3c88bb(0x343)](fs['readFileSync'](_0x309e92))[_0x3c88bb(0x1e8)](_0x3c88bb(0x2a2));return{'path':_0x1ac98e,'size':_0x489b13[_0x3c88bb(0x354)],'mtimeMs':Math[_0x3c88bb(0x198)](_0x489b13[_0x3c88bb(0x247)]),'sha256':_0x275618};}),_0x2fec02=_0x443213[_0x14e1a2(0x1cd)](_0x55ae28=>{const _0x102dd4=_0x14e1a2,_0x2458fc=/\.env\.example$/i[_0x102dd4(0x151)](_0x55ae28);if(!_0x2458fc&&SENSITIVE_PATTERNS[_0x102dd4(0x135)](_0x12b544=>_0x12b544[_0x102dd4(0x151)](_0x55ae28)))return!![];const _0x268d3e=fs[_0x102dd4(0x2de)](path[_0x102dd4(0x257)](this[_0x102dd4(0x369)],_0x55ae28),_0x102dd4(0x297));return SENSITIVE_CONTENT_PATTERNS[_0x102dd4(0x135)](_0x1e8507=>_0x1e8507[_0x102dd4(0x151)](_0x268d3e));}),_0x14ac1d=_0x44dc01[_0x14e1a2(0x1cd)](_0x52e3fe=>_0x52e3fe['size']>0xa*0x400*0x400)[_0x14e1a2(0x1c5)](_0x1ba635=>_0x1ba635['path']),_0x2cc3f3=[_0x14e1a2(0x31f)],_0x135706={};_0x135706[_0x14e1a2(0x34b)]=_0x44dc01,_0x135706[_0x14e1a2(0x1e1)]=_0x2cc3f3;const _0x1a386d=crypto[_0x14e1a2(0x32c)](_0x14e1a2(0x269))['update'](JSON[_0x14e1a2(0x36d)](_0x135706))[_0x14e1a2(0x1e8)]('hex');return{'success':![],'code':_0x2fec02[_0x14e1a2(0x327)]?_0x14e1a2(0x370):_0x14e1a2(0x1fc),'error':_0x2fec02[_0x14e1a2(0x327)]?_0x14e1a2(0x1f3):_0x14e1a2(0x33f),'confirmationToken':_0x1a386d,'fileCount':_0x443213[_0x14e1a2(0x327)],'totalBytes':_0x44dc01['reduce']((_0x18c86d,_0x5bb327)=>_0x18c86d+_0x5bb327['size'],0x0),'files':_0x443213,'sensitiveFiles':_0x2fec02,'largeFiles':_0x14ac1d,'plannedIgnoreAdditions':_0x2cc3f3};}finally{const _0x2269ab={};_0x2269ab['recursive']=!![],_0x2269ab[_0x14e1a2(0x13e)]=!![],fs[_0x14e1a2(0x33e)](_0x41d920,_0x2269ab);}}[_0x1dd3cc(0x217)](){const _0x9b7371=_0x1dd3cc,_0x1d894d=path['join'](this[_0x9b7371(0x369)],_0x9b7371(0x31c)),_0x2fb4fc='.agents/pipelines/',_0x508737=fs[_0x9b7371(0x156)](_0x1d894d)?fs[_0x9b7371(0x2de)](_0x1d894d,_0x9b7371(0x297)):'',_0x3145e1=_0x508737[_0x9b7371(0x154)](/\r?\n/)[_0x9b7371(0x1c5)](_0x5e9967=>_0x5e9967[_0x9b7371(0x231)]());if(_0x3145e1[_0x9b7371(0x129)](_0x2fb4fc))return;const _0x5e0e47=_0x508737&&!_0x508737[_0x9b7371(0x2f7)]('\x0a')?'\x0a':'';fs['appendFileSync'](_0x1d894d,''+_0x5e0e47+_0x2fb4fc+'\x0a',_0x9b7371(0x297));}[_0x1dd3cc(0x1e9)](_0x3f23ab){const _0x5b769e=_0x1dd3cc,_0x14e44a=this[_0x5b769e(0x293)]();if(_0x14e44a['code']===_0x5b769e(0x370))return _0x14e44a;if(_0x14e44a[_0x5b769e(0x1b3)]!==_0x3f23ab){const _0x15f62f={};return _0x15f62f[_0x5b769e(0x275)]=_0x14e44a,error(_0x5b769e(0x30c),'Project\x20files\x20changed\x20after\x20preview.\x20Request\x20a\x20new\x20confirmation\x20token.',_0x15f62f);}const _0xa315ef=this[_0x5b769e(0x286)]()[_0x5b769e(0x1cd)](_0x1001e4=>_0x1001e4[_0x5b769e(0x25f)]===_0x5b769e(0x226)||_0x1001e4[_0x5b769e(0x25f)]===_0x5b769e(0x2fc));if(_0xa315ef[_0x5b769e(0x327)])return error('PIPELINES_ACTIVE_DURING_GIT_INIT','Complete\x20or\x20cancel\x20active\x20pipelines\x20before\x20initializing\x20Git.');const _0x1ad182=this['runGit']([_0x5b769e(0x2a7),_0x5b769e(0x139),_0x5b769e(0x278)]),_0x301095=this[_0x5b769e(0x298)](['config',_0x5b769e(0x139),'user.email']);if(!_0x1ad182['ok']||!_0x1ad182[_0x5b769e(0x2ce)]||!_0x301095['ok']||!_0x301095[_0x5b769e(0x2ce)]){const _0x10f8f2={};return _0x10f8f2[_0x5b769e(0x2ae)]=[_0x5b769e(0x318),_0x5b769e(0x18a)],error(_0x5b769e(0x27f),_0x5b769e(0x1ef),_0x10f8f2);}const _0x13625c=this[_0x5b769e(0x298)]([_0x5b769e(0x2a7),'--get','init.defaultBranch']),_0x527376=_0x13625c['ok']&&_0x13625c['stdout']?_0x13625c[_0x5b769e(0x2ce)]:_0x5b769e(0x355);let _0x281360=this['runGit'](['init','-b',_0x527376]);if(!_0x281360['ok']){_0x281360=this[_0x5b769e(0x298)]([_0x5b769e(0x2d5)]);if(!_0x281360['ok'])return error(_0x5b769e(0x1ab),_0x281360[_0x5b769e(0x2db)]);const _0x348bcd=this['runGit'](['branch','-M',_0x527376]);if(!_0x348bcd['ok'])return error(_0x5b769e(0x1ab),_0x348bcd[_0x5b769e(0x2db)]);}this[_0x5b769e(0x217)]();const _0x442ee5=this[_0x5b769e(0x298)]([_0x5b769e(0x2fa),'-A']);if(!_0x442ee5['ok'])return error(_0x5b769e(0x204),_0x442ee5[_0x5b769e(0x2db)]);const _0x33156=this[_0x5b769e(0x298)]([_0x5b769e(0x1b8),'--no-gpg-sign','-m',_0x5b769e(0x2b2)]);if(!_0x33156['ok'])return error(_0x5b769e(0x204),_0x33156[_0x5b769e(0x2db)]);const _0x3c8d0b=this[_0x5b769e(0x298)]([_0x5b769e(0x25f),_0x5b769e(0x268)]);if(!_0x3c8d0b['ok']||_0x3c8d0b['stdout'])return error(_0x5b769e(0x277),_0x5b769e(0x337),{'status':_0x3c8d0b['stdout']});const _0x4bd23b=this[_0x5b769e(0x30d)];this[_0x5b769e(0x260)](),this[_0x5b769e(0x12b)](_0x4bd23b);const _0x22ef13={};return _0x22ef13[_0x5b769e(0x1b5)]=!![],_0x22ef13[_0x5b769e(0x285)]=_0x527376,_0x22ef13[_0x5b769e(0x21f)]=!![],_0x22ef13;}[_0x1dd3cc(0x12b)](_0x5dc88b){const _0xdc857a=_0x1dd3cc;if(!_0x5dc88b||normalizePath(_0x5dc88b)===normalizePath(this[_0xdc857a(0x30d)])||!fs[_0xdc857a(0x156)](_0x5dc88b))return;const _0xaa7697=path[_0xdc857a(0x257)](this[_0xdc857a(0x30d)],'.migrations',crypto[_0xdc857a(0x32c)]('sha256')[_0xdc857a(0x343)](_0x5dc88b)[_0xdc857a(0x1e8)](_0xdc857a(0x2a2))+_0xdc857a(0x130));if(fs['existsSync'](_0xaa7697))return;const _0x5a464c=this['listRunsFromRoot'](_0x5dc88b)['filter'](_0xf3814=>_0xf3814[_0xdc857a(0x25f)]===_0xdc857a(0x226)||_0xf3814[_0xdc857a(0x25f)]==='initializing'),_0x5d1855={};_0x5d1855[_0xdc857a(0x1db)]=_0xdc857a(0x141);if(_0x5a464c[_0xdc857a(0x327)])throw Object[_0xdc857a(0x2ac)](new Error(_0xdc857a(0x2dd)),_0x5d1855);for(const _0x1395aa of this['listRunsFromRoot'](_0x5dc88b)){const _0x47e173=path[_0xdc857a(0x257)](_0x5dc88b,_0x1395aa[_0xdc857a(0x366)],_0xdc857a(0x345),_0x1395aa['runId']),_0x2d89b4=this[_0xdc857a(0x22b)](_0x1395aa[_0xdc857a(0x366)],_0x1395aa[_0xdc857a(0x325)]),_0x2dbd97={};_0x2dbd97['recursive']=!![],_0x2dbd97[_0xdc857a(0x340)]=!![];if(!fs[_0xdc857a(0x156)](_0x2d89b4))fs[_0xdc857a(0x24a)](_0x47e173,_0x2d89b4,_0x2dbd97);this['verifyCopiedTree'](_0x47e173,_0x2d89b4);const _0x4b0d6f=path['join'](_0x5dc88b,_0x1395aa[_0xdc857a(0x366)],_0xdc857a(0x15b));fs[_0xdc857a(0x156)](_0x4b0d6f)&&!fs[_0xdc857a(0x156)](this[_0xdc857a(0x352)](_0x1395aa[_0xdc857a(0x366)]))&&(fs[_0xdc857a(0x304)](_0x4b0d6f,this[_0xdc857a(0x352)](_0x1395aa[_0xdc857a(0x366)])),this[_0xdc857a(0x1c8)](_0x4b0d6f,this[_0xdc857a(0x352)](_0x1395aa[_0xdc857a(0x366)])));}this[_0xdc857a(0x149)](_0xaa7697,{'source':_0x5dc88b,'migratedAt':this['now']()[_0xdc857a(0x330)]()});}[_0x1dd3cc(0x1c8)](_0x467439,_0x33e75b){const _0x47b378=_0x1dd3cc,_0x4f4bd1=fs[_0x47b378(0x207)](_0x467439),_0x2c4160=fs[_0x47b378(0x207)](_0x33e75b);if(_0x4f4bd1['isDirectory']()!==_0x2c4160['isDirectory']()){const _0x12ca03={};_0x12ca03[_0x47b378(0x1db)]=_0x47b378(0x1cc);throw Object['assign'](new Error(_0x47b378(0x2e2)+_0x467439),_0x12ca03);}if(_0x4f4bd1['isDirectory']()){const _0x20f688=fs['readdirSync'](_0x467439)[_0x47b378(0x162)](),_0x1352af=fs[_0x47b378(0x250)](_0x33e75b)[_0x47b378(0x162)]();if(JSON[_0x47b378(0x36d)](_0x20f688)!==JSON[_0x47b378(0x36d)](_0x1352af)){const _0x3ea637={};_0x3ea637[_0x47b378(0x1db)]='STATE_MIGRATION_VERIFY_FAILED';throw Object[_0x47b378(0x2ac)](new Error('Pipeline\x20state\x20copy\x20entries\x20mismatch:\x20'+_0x467439),_0x3ea637);}for(const _0x4508ec of _0x20f688)this['verifyCopiedTree'](path[_0x47b378(0x257)](_0x467439,_0x4508ec),path[_0x47b378(0x257)](_0x33e75b,_0x4508ec));return;}const _0x341bf3=crypto[_0x47b378(0x32c)](_0x47b378(0x269))[_0x47b378(0x343)](fs[_0x47b378(0x2de)](_0x467439))[_0x47b378(0x1e8)](_0x47b378(0x2a2)),_0x3f4d32=crypto['createHash'](_0x47b378(0x269))[_0x47b378(0x343)](fs['readFileSync'](_0x33e75b))[_0x47b378(0x1e8)](_0x47b378(0x2a2));if(_0x341bf3!==_0x3f4d32){const _0x17e0d0={};_0x17e0d0[_0x47b378(0x1db)]=_0x47b378(0x1cc);throw Object['assign'](new Error(_0x47b378(0x28c)+_0x467439),_0x17e0d0);}}[_0x1dd3cc(0x20e)](_0xe9dcb4,_0x587485,_0x21130a){const _0x18d460=_0x1dd3cc;if(!this[_0x18d460(0x2bf)]){if(!_0x21130a['initializeGit']||!_0x21130a[_0x18d460(0x1b3)])return this[_0x18d460(0x293)]();if(!_0x21130a[_0x18d460(0x1cb)])return error(_0x18d460(0x1a8),'Git\x20initialization\x20and\x20worktree\x20creation\x20require\x20direct\x20user\x20confirmation.');const _0x57643f=this[_0x18d460(0x1e9)](_0x21130a[_0x18d460(0x1b3)]);if(!_0x57643f['success'])return _0x57643f;}if(!_0x21130a['confirmed'])return error(_0x18d460(0x1a8),_0x18d460(0x2ca));const _0x590f03=this[_0x18d460(0x298)](['status',_0x18d460(0x268)]);if(!_0x590f03['ok']||_0x590f03[_0x18d460(0x2ce)])return error(_0x18d460(0x291),'Base\x20checkout\x20must\x20be\x20clean\x20before\x20creating\x20a\x20worktree.',{'status':_0x590f03['stdout']});const _0x3d8bed=this[_0x18d460(0x298)]([_0x18d460(0x2bb),_0x18d460(0x350)]);if(!_0x3d8bed['ok'])return error(_0x18d460(0x221),_0x3d8bed[_0x18d460(0x2db)]||'Repository\x20has\x20no\x20base\x20commit.');const _0x8973b7=this[_0x18d460(0x298)]([_0x18d460(0x285),_0x18d460(0x248)]),_0x26d4ac=path[_0x18d460(0x20b)](this['projectPath']),_0x50acb1=path[_0x18d460(0x257)](path[_0x18d460(0x164)](this[_0x18d460(0x369)]),_0x18d460(0x301),_0x26d4ac,_0xe9dcb4,_0x587485),_0xdba50=_0x18d460(0x246)+_0xe9dcb4+'/'+_0x587485;if(fs[_0x18d460(0x156)](_0x50acb1))return error(_0x18d460(0x374),_0x18d460(0x33d)+_0x50acb1);const _0x2b0ed7=this[_0x18d460(0x298)]([_0x18d460(0x288),'add','-b',_0xdba50,_0x50acb1,_0x21130a['baseRef']||_0x3d8bed[_0x18d460(0x2ce)]]),_0x1d2522={};_0x1d2522[_0x18d460(0x17e)]=_0x50acb1,_0x1d2522[_0x18d460(0x285)]=_0xdba50;if(!_0x2b0ed7['ok'])return error(_0x18d460(0x159),_0x2b0ed7['stderr']||_0x18d460(0x2c0),_0x1d2522);return{'success':!![],'workspace':{'mode':_0x18d460(0x288),'path':normalizePath(_0x50acb1),'branch':_0xdba50,'baseRef':_0x21130a['baseRef']||_0x3d8bed['stdout'],'baseBranch':_0x8973b7['ok']?_0x8973b7[_0x18d460(0x2ce)]:'','status':'ready','createdAt':this[_0x18d460(0x1af)]()['toISOString'](),'managed':!![]}};}[_0x1dd3cc(0x331)](_0x3b8ef3,_0x208c0d,_0x43bc5b={}){const _0x35596a=_0x1dd3cc,_0x22dc23=_0x43bc5b['mode']||_0x35596a(0x1b0);if(![_0x35596a(0x1b0),_0x35596a(0x307),'worktree'][_0x35596a(0x129)](_0x22dc23))return error(_0x35596a(0x31e),_0x35596a(0x211)+_0x22dc23);if(_0x22dc23===_0x35596a(0x288))return this[_0x35596a(0x20e)](_0x3b8ef3,_0x208c0d,_0x43bc5b);return{'success':!![],'workspace':{'mode':this['isLinkedWorktree']()?_0x35596a(0x265):_0x35596a(0x307),'path':this['projectPath'],'branch':this[_0x35596a(0x2bf)]?this[_0x35596a(0x298)]([_0x35596a(0x285),_0x35596a(0x248)])['stdout']:'','baseRef':this[_0x35596a(0x2bf)]?this[_0x35596a(0x298)](['rev-parse',_0x35596a(0x350)])[_0x35596a(0x2ce)]:'','baseBranch':this[_0x35596a(0x2bf)]?this['runGit']([_0x35596a(0x285),'--show-current'])['stdout']:'','status':_0x35596a(0x189),'managed':![]}};}[_0x1dd3cc(0x161)](_0xd9e9e8={}){const _0x1e0acd=_0x1dd3cc;let {pipeline:_0x53cec5,task:_0x2cfc1b,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0xd9e9e8;const _0xd2069b=PipelineManager[_0x1e0acd(0x143)](_0x2cfc1b);if(_0xd2069b)return _0xd2069b;if(_0xd9e9e8[_0x1e0acd(0x282)])try{return this[_0x1e0acd(0x341)](_0x2cfc1b,_0xd9e9e8['recoverRunId'],_0xd9e9e8['sessionId']);}catch(_0x34ec6a){return error(_0x1e0acd(0x2c3),_0x1e0acd(0x25a),{'task':_0x2cfc1b,'runId':_0xd9e9e8[_0x1e0acd(0x282)],'diagnostic':creationFailure(_0x34ec6a,_0x1e0acd(0x338))});}const _0x2e16c1=PipelineManager[_0x1e0acd(0x32e)](_0xd9e9e8[_0x1e0acd(0x17d)]);if(_0x2e16c1)return _0x2e16c1;if(![0x2,0x3][_0x1e0acd(0x129)](schemaVersion))return error(_0x1e0acd(0x1bc),'Supported\x20pipeline\x20versions\x20are\x202\x20and\x203.');for(const _0x16bb9f of['acceptanceCriteria',_0x1e0acd(0x147),'skills']){if(_0xd9e9e8[_0x16bb9f]!==undefined&&(!Array[_0x1e0acd(0x220)](_0xd9e9e8[_0x16bb9f])||!_0xd9e9e8[_0x16bb9f][_0x1e0acd(0x239)](_0x346106=>typeof _0x346106===_0x1e0acd(0x2a4)&&_0x346106[_0x1e0acd(0x231)]())))return error(_0x1e0acd(0x346),_0x16bb9f+_0x1e0acd(0x223));}if(schemaVersion===0x3&&_0xd9e9e8['qualityVersion']!==0x0&&_0x53cec5!==_0x1e0acd(0x2c2)&&!_0xd9e9e8[_0x1e0acd(0x224)]?.['length'])return error('ACCEPTANCE_CRITERIA_REQUIRED',_0x1e0acd(0x11f));let _0x44e224;if(schemaVersion===0x3&&_0xd9e9e8[_0x1e0acd(0x219)]!==0x0&&_0x53cec5!==_0x1e0acd(0x2c2))try{_0x44e224=require(_0x1e0acd(0x237))[_0x1e0acd(0x33c)](_0xd9e9e8[_0x1e0acd(0x368)],_0xd9e9e8['acceptanceCriteria']||[],{'productImpact':_0xd9e9e8[_0x1e0acd(0x19e)]===!![],'platformTarget':_0xd9e9e8[_0x1e0acd(0x19e)]===!![]&&[_0x1e0acd(0x1c0),_0x1e0acd(0x2e0),'flutter'][_0x1e0acd(0x129)](_0xd9e9e8[_0x1e0acd(0x117)])?_0xd9e9e8[_0x1e0acd(0x117)]==='web'?_0x1e0acd(0x1c0):_0x1e0acd(0x2e0):null,'contentReview':_0x53cec5==='document-artifact','artifactReview':_0xd9e9e8[_0x1e0acd(0x1f2)]===!![]});}catch(_0x111c24){return error(_0x1e0acd(0x11d),_0x111c24[_0x1e0acd(0x214)]);}const _0x5e0d68=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x419610=_0x5e0d68[_0x53cec5];if(!_0x419610)return error(_0x1e0acd(0x13c),_0x1e0acd(0x1bf)+_0x53cec5+'.',{'valid_pipelines':Object[_0x1e0acd(0x173)](PIPELINE_DEFINITIONS)});const _0x2795f9=_0x419610['steps'][0x0]['skill'];if(_0x2795f9){const _0x47b690=this[_0x1e0acd(0x34e)](_0x2795f9);if(_0x47b690)return _0x47b690;}if((workspace[_0x1e0acd(0x1a2)]||'auto')===_0x1e0acd(0x288)&&!this[_0x1e0acd(0x2bf)]){if(!workspace['initializeGit']||!workspace[_0x1e0acd(0x1b3)])return this[_0x1e0acd(0x293)]();if(!workspace[_0x1e0acd(0x1cb)])return error(_0x1e0acd(0x1a8),'Git\x20initialization\x20and\x20worktree\x20creation\x20require\x20direct\x20user\x20confirmation.');const _0x50ef8b=this[_0x1e0acd(0x1e9)](workspace[_0x1e0acd(0x1b3)]);if(!_0x50ef8b[_0x1e0acd(0x1b5)])return _0x50ef8b;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this[_0x1e0acd(0x241)](_0x1e0acd(0x256),()=>this[_0x1e0acd(0x241)](_0x2cfc1b,()=>{const _0x1e2390=_0x1e0acd,_0x3be078=this[_0x1e2390(0x11a)](_0x2cfc1b);if(_0x3be078&&['initializing',_0x1e2390(0x226),_0x1e2390(0x240)][_0x1e2390(0x129)](_0x3be078[_0x1e2390(0x25f)]))return error('TASK_ALREADY_ACTIVE',_0x1e2390(0x1b4)+_0x2cfc1b+_0x1e2390(0x127),{'task':_0x2cfc1b,'runId':_0x3be078[_0x1e2390(0x325)]});if(schemaVersion===0x3&&_0xd9e9e8[_0x1e2390(0x219)]!==0x0&&_0x53cec5!==_0x1e2390(0x2c2)){const _0x318652=_0x4066fd=>JSON[_0x1e2390(0x36d)](_0x4066fd[_0x1e2390(0x1c5)](_0x5dd290=>_0x5dd290[_0x1e2390(0x231)]()[_0x1e2390(0x197)](/\s+/g,'\x20')[_0x1e2390(0x21c)]())[_0x1e2390(0x162)]()),_0x1d9f1e=_0x318652(_0xd9e9e8['acceptanceCriteria']),_0x47f937=_0x14092f=>{const _0x4cda84=_0x1e2390,_0x39b7dd=normalizePath(_0x14092f);return process[_0x4cda84(0x344)]===_0x4cda84(0x2cb)?_0x39b7dd[_0x4cda84(0x329)]():_0x39b7dd;};if(fs['existsSync'](this[_0x1e2390(0x30d)])){const _0x434da7={};_0x434da7[_0x1e2390(0x186)]=!![];for(const _0x51c62a of fs[_0x1e2390(0x250)](this['stateRoot'],_0x434da7)){if(!_0x51c62a[_0x1e2390(0x222)]()||_0x51c62a[_0x1e2390(0x2b5)][_0x1e2390(0x305)]('.')||_0x51c62a[_0x1e2390(0x2b5)]===_0x2cfc1b)continue;const _0x43604b=this[_0x1e2390(0x11a)](_0x51c62a[_0x1e2390(0x2b5)]);if(_0x43604b&&[_0x1e2390(0x2fc),_0x1e2390(0x226),'paused'][_0x1e2390(0x129)](_0x43604b['status'])&&_0x43604b[_0x1e2390(0x1eb)]!==_0x1e2390(0x2c2)&&_0x43604b[_0x1e2390(0x1dd)]?.[_0x1e2390(0x206)]&&_0x43604b[_0x1e2390(0x166)]?.[_0x1e2390(0x2f3)]?.[_0x1e2390(0x327)]&&[_0x43604b[_0x1e2390(0x263)],_0x43604b[_0x1e2390(0x17d)][_0x1e2390(0x22f)]][_0x1e2390(0x1cd)](Boolean)['some'](_0x29e8f2=>_0x47f937(_0x29e8f2)===_0x47f937(this[_0x1e2390(0x369)]))&&overlappingScope(_0x43604b['scope'],_0xd9e9e8['scope'],this['projectPath'])&&_0x318652(_0x43604b[_0x1e2390(0x166)][_0x1e2390(0x2f3)])===_0x1d9f1e){const _0x1a613c={};return _0x1a613c[_0x1e2390(0x366)]=_0x43604b[_0x1e2390(0x366)],_0x1a613c[_0x1e2390(0x325)]=_0x43604b['runId'],_0x1a613c[_0x1e2390(0x25f)]=_0x43604b[_0x1e2390(0x25f)],_0x1a613c[_0x1e2390(0x126)]=_0x43604b[_0x1e2390(0x2f4)]?.[_0x1e2390(0x126)]||null,_0x1a613c[_0x1e2390(0x2ea)]=_0x43604b[_0x1e2390(0x1dd)]?.[_0x1e2390(0x206)]?.[_0x1e2390(0x2ea)]||null,error(_0x1e2390(0x25b),_0x1e2390(0x2e7),_0x1a613c);}}}}const _0x14c1e0=this['generateRunId'](),_0x52e2f4=this[_0x1e2390(0x252)](_0x2cfc1b);if(_0x52e2f4)return error('RUN_CREATION_INCOMPLETE',_0x1e2390(0x342),{'intent':_0x52e2f4});const _0xdfdc6e=this['creationIntentFile'](_0x2cfc1b,_0x14c1e0),_0x2e1492={'task':_0x2cfc1b,'runId':_0x14c1e0,'pipeline':_0x53cec5,'schemaVersion':schemaVersion,'status':'creating','originWorkspace':this[_0x1e2390(0x369)],'requestedWorkspace':workspace,'runtimeVersion':require(_0x1e2390(0x376))[_0x1e2390(0x15e)],'args':_0xd9e9e8,'createdAt':this['now']()[_0x1e2390(0x330)]()};this[_0x1e2390(0x149)](_0xdfdc6e,_0x2e1492);let _0x4b6e48=_0x1e2390(0x2c6);try{const _0x5eb53e=this[_0x1e2390(0x331)](_0x2cfc1b,_0x14c1e0,workspace);if(!_0x5eb53e[_0x1e2390(0x1b5)]){const _0x421493={..._0x2e1492};return _0x421493['status']=_0x1e2390(0x1f9),_0x421493[_0x1e2390(0x1f5)]=_0x5eb53e,this[_0x1e2390(0x149)](_0xdfdc6e,_0x421493),_0x5eb53e;}_0x2e1492['workspace']=_0x5eb53e['workspace'],_0x2e1492[_0x1e2390(0x25f)]=_0x1e2390(0x1be),_0x4b6e48=_0x1e2390(0x1ce),this[_0x1e2390(0x149)](_0xdfdc6e,_0x2e1492);const _0x40c391={'schemaVersion':schemaVersion,'task':_0x2cfc1b,'runId':_0x14c1e0,'pipeline':_0x53cec5,'status':_0x1e2390(0x226),'completedSteps':[],'originWorkspace':this[_0x1e2390(0x369)],'workspace':_0x5eb53e[_0x1e2390(0x17d)],'startedAt':this['now']()[_0x1e2390(0x330)](),'updatedAt':this['now']()[_0x1e2390(0x330)]()};_0x4b6e48=_0x1e2390(0x34b);if(schemaVersion===0x3)this[_0x1e2390(0x2f4)][_0x1e2390(0x116)](_0x40c391,_0xd9e9e8);else this['pinLegacyDefinition'](_0x40c391);this['inheritUpgradeContext'](_0x40c391),_0x4b6e48=_0x1e2390(0x31a);const _0x443916={};_0x443916[_0x1e2390(0x14c)]=!![],this['writeState'](_0x40c391,_0x443916),_0x4b6e48=_0x1e2390(0x146),this['appendLedger'](_0x40c391,_0x1e2390(0x1da),_0x1e2390(0x11b)+_0x40c391[_0x1e2390(0x17d)][_0x1e2390(0x22f)]+_0x1e2390(0x155)+_0x419610[_0x1e2390(0x2ba)][0x0]['id']),_0x4b6e48=_0x1e2390(0x19d);const _0x733cb8={..._0x2e1492};_0x733cb8[_0x1e2390(0x25f)]='completed',this[_0x1e2390(0x149)](_0xdfdc6e,_0x733cb8);const _0x93a971={};return _0x93a971[_0x1e2390(0x1b5)]=!![],this[_0x1e2390(0x1f1)](_0x40c391,_0x93a971);}catch(_0x15a66b){const _0x37d429=creationFailure(_0x15a66b,_0x4b6e48);try{const _0x3dfd86={..._0x2e1492};_0x3dfd86[_0x1e2390(0x25f)]='interrupted',_0x3dfd86[_0x1e2390(0x1f5)]=_0x37d429,this['atomicWriteJson'](_0xdfdc6e,_0x3dfd86);}catch{}const _0x357641={};return _0x357641[_0x1e2390(0x366)]=_0x2cfc1b,_0x357641[_0x1e2390(0x325)]=_0x14c1e0,_0x357641[_0x1e2390(0x195)]=_0xdfdc6e,_0x357641[_0x1e2390(0x17d)]=_0x2e1492['workspace'],_0x357641[_0x1e2390(0x28d)]=_0x37d429[_0x1e2390(0x1db)],_0x357641[_0x1e2390(0x1d4)]=_0x37d429,error('RUN_INITIALIZATION_FAILED',_0x1e2390(0x27a),_0x357641);}}));}catch(_0x36004){return error(_0x1e0acd(0x357),'Pipeline\x20state\x20could\x20not\x20be\x20inspected;\x20no\x20new\x20run\x20was\x20created.',{'task':_0x2cfc1b,'diagnostic':creationFailure(_0x36004,_0x1e0acd(0x328))});}}['next'](_0xa4a2e6={}){const _0x242ffa=_0x1dd3cc;return this['execution'][_0x242ffa(0x158)](_0xa4a2e6);}[_0x1dd3cc(0x249)](){const _0x206ed3=_0x1dd3cc;return this['execution'][_0x206ed3(0x249)]();}[_0x1dd3cc(0x36b)](_0x289897={}){const _0x3a8cb9=_0x1dd3cc;return this[_0x3a8cb9(0x2f4)][_0x3a8cb9(0x36b)](_0x289897);}['recordVerification'](_0x84c1e9={}){const _0x4f3475=_0x1dd3cc;return this['execution'][_0x4f3475(0x2d7)](_0x84c1e9);}[_0x1dd3cc(0x35c)](_0xd20a8a={},_0xa4bee5){const _0x17d5f8=_0x1dd3cc;return this[_0x17d5f8(0x2f4)][_0x17d5f8(0x35c)](_0xd20a8a,_0xa4bee5);}[_0x1dd3cc(0x284)](_0x28eb77={}){const _0x3e87ec=_0x1dd3cc;return this['execution'][_0x3e87ec(0x284)](_0x28eb77);}[_0x1dd3cc(0x362)](_0x1a7140={}){const _0x145208=_0x1dd3cc,{task:_0x27b925,runId:_0x36c8b3,pipeline:_0x1cbe42,step:_0x30bc1e,status:_0x1c58ac,summary:_0x24f21b}=_0x1a7140,_0x47c9bc=PipelineManager[_0x145208(0x143)](_0x27b925);if(_0x47c9bc)return _0x47c9bc;if(!_0x36c8b3)return error(_0x145208(0x1e0),_0x145208(0x234));const _0xbafae7=PipelineManager[_0x145208(0x2d2)](_0x36c8b3);if(_0xbafae7)return _0xbafae7;const _0x148f9e=this['readRun'](_0x27b925,_0x36c8b3);if(_0x148f9e&&this[_0x145208(0x13b)](_0x148f9e)[_0x145208(0x364)]==='blocked')return error(this[_0x145208(0x13b)](_0x148f9e)[_0x145208(0x1db)],_0x145208(0x266));if(_0x148f9e?.[_0x145208(0x1d9)]===0x3)return this[_0x145208(0x2f4)][_0x145208(0x362)](_0x1a7140);return this['withLock'](_0x27b925,()=>{const _0x300ce5=_0x145208,_0x4f6ce4=this[_0x300ce5(0x13d)](_0x27b925,_0x36c8b3);if(!_0x4f6ce4)return error(_0x300ce5(0x210),'Run\x20\x22'+_0x36c8b3+_0x300ce5(0x15a)+_0x27b925+'\x22.');const _0x429dc8=this['readCurrent'](_0x27b925);if(!_0x429dc8||_0x429dc8['runId']!==_0x36c8b3)return error(_0x300ce5(0x16b),_0x300ce5(0x1b7));if(_0x4f6ce4[_0x300ce5(0x25f)]!==_0x300ce5(0x226))return error(_0x300ce5(0x26a),'Run\x20is\x20'+_0x4f6ce4[_0x300ce5(0x25f)]+_0x300ce5(0x324));if(_0x1cbe42&&_0x1cbe42!==_0x4f6ce4[_0x300ce5(0x1eb)])return error(_0x300ce5(0x2f9),_0x300ce5(0x2d0)+_0x4f6ce4[_0x300ce5(0x1eb)]+_0x300ce5(0x2bd)+_0x1cbe42+'\x22.');if(_0x1c58ac!=='completed')return error(_0x300ce5(0x14f),'Checkpoint\x20status\x20must\x20be\x20\x22completed\x22.');const _0xc6f0bb=_0x4f6ce4[_0x300ce5(0x1d7)],_0x5091d6=_0xc6f0bb['steps'][_0x4f6ce4[_0x300ce5(0x2da)][_0x300ce5(0x327)]];if(!_0x5091d6||_0x5091d6['id']!==_0x30bc1e)return error(_0x300ce5(0x365),'Expected\x20step\x20\x22'+(_0x5091d6?.['id']||_0x300ce5(0x134))+'\x22,\x20received\x20\x22'+_0x30bc1e+'\x22.',{'expected_step':_0x5091d6?.['id']||null});if(_0x5091d6[_0x300ce5(0x2b3)]){const _0x6f3d44=this['requiredSkillError'](_0x5091d6[_0x300ce5(0x2b3)],_0x4f6ce4[_0x300ce5(0x17d)]['path']);if(_0x6f3d44)return _0x6f3d44;}if(_0x4f6ce4[_0x300ce5(0x1eb)]===_0x300ce5(0x22a)&&_0x30bc1e===_0x300ce5(0x1fb)&&(!_0x24f21b||_0x24f21b[_0x300ce5(0x231)]()['length']<0xa))return error(_0x300ce5(0x176),_0x300ce5(0x35d));_0x4f6ce4[_0x300ce5(0x2da)][_0x300ce5(0x1d2)]({'id':_0x30bc1e,'summary':_0x24f21b||'','completedAt':this[_0x300ce5(0x1af)]()['toISOString']()});if(_0x4f6ce4[_0x300ce5(0x2da)]['length']===_0xc6f0bb['steps']['length'])_0x4f6ce4['status']=_0x300ce5(0x360);this[_0x300ce5(0x35b)](_0x4f6ce4),this[_0x300ce5(0x2c1)](_0x4f6ce4,_0x300ce5(0x32a)+_0x30bc1e,_0x24f21b||_0x300ce5(0x351));const _0x1a8abb={};_0x1a8abb['success']=!![];const _0x322597=this[_0x300ce5(0x1f1)](_0x4f6ce4,_0x1a8abb);if(MEMORY_TRIGGERS[_0x30bc1e])_0x322597[_0x300ce5(0x184)]=MEMORY_TRIGGERS[_0x30bc1e];return _0x322597;});}[_0x1dd3cc(0x1ea)](_0x33ad79){const _0x416263=_0x1dd3cc,_0x38c236=this[_0x416263(0x2c8)](path['join'](this['taskDir'](_0x33ad79['task']),_0x416263(0x168)));if(!_0x38c236||_0x38c236['task']!==_0x33ad79['task']||PipelineManager[_0x416263(0x2d2)](_0x38c236[_0x416263(0x325)]))return;const _0x50345f=this[_0x416263(0x13d)](_0x33ad79[_0x416263(0x366)],_0x38c236[_0x416263(0x325)]);if(!_0x50345f||_0x50345f[_0x416263(0x25f)]!==_0x416263(0x169)||_0x50345f[_0x416263(0x16c)]?.[_0x416263(0x28d)]!==_0x416263(0x202)||_0x50345f[_0x416263(0x16c)][_0x416263(0x199)]!==_0x38c236['transactionId']||!require(_0x416263(0x1d6))[_0x416263(0x19c)](_0x50345f[_0x416263(0x17d)]?.[_0x416263(0x22f)]||'',_0x33ad79[_0x416263(0x17d)][_0x416263(0x22f)]))return;_0x33ad79['inherited']={'task':_0x33ad79[_0x416263(0x366)],'runId':_0x50345f[_0x416263(0x325)],'reason':_0x416263(0x202),'requirements':[..._0x50345f[_0x416263(0x166)]?.[_0x416263(0x2f3)]||[]],'findings':JSON[_0x416263(0x29b)](JSON[_0x416263(0x36d)](Object[_0x416263(0x321)](_0x50345f[_0x416263(0x1dd)]?.[_0x416263(0x2fe)]||{})['filter'](_0x56c15d=>_0x56c15d['required']!==![]&&!['resolved',_0x416263(0x2d6)][_0x416263(0x129)](_0x56c15d[_0x416263(0x25f)])))),'attempts':{..._0x50345f[_0x416263(0x2f4)]?.[_0x416263(0x18c)]||{}},'noProgress':_0x50345f['execution']?.['noProgress']||0x0,'lastFailure':_0x50345f[_0x416263(0x2f4)]?.['lastFailure']||null,'progress':(_0x50345f[_0x416263(0x23a)]||[])['map'](_0x34a8e6=>({'id':_0x34a8e6['id'],'noProgress':_0x34a8e6[_0x416263(0x309)]||0x0,'lastFailure':_0x34a8e6[_0x416263(0x30f)]||null}))};if(_0x33ad79[_0x416263(0x1d9)]!==0x3)return;_0x33ad79['execution'][_0x416263(0x18c)]={..._0x33ad79[_0x416263(0x2a8)]['attempts']},_0x33ad79[_0x416263(0x2f4)][_0x416263(0x26c)]=Math[_0x416263(0x2e5)](0x0,_0x50345f[_0x416263(0x2f4)]?.[_0x416263(0x26c)]||0x0,...Object[_0x416263(0x321)](_0x33ad79[_0x416263(0x2a8)][_0x416263(0x18c)])),_0x33ad79[_0x416263(0x2f4)][_0x416263(0x309)]=_0x33ad79['inherited'][_0x416263(0x309)],_0x33ad79['execution'][_0x416263(0x30f)]=_0x33ad79[_0x416263(0x2a8)][_0x416263(0x30f)];['no_progress',_0x416263(0x322)][_0x416263(0x129)](_0x50345f[_0x416263(0x2f4)]?.[_0x416263(0x126)])&&(_0x33ad79[_0x416263(0x25f)]=_0x416263(0x240),_0x33ad79[_0x416263(0x2f4)][_0x416263(0x126)]=_0x50345f[_0x416263(0x2f4)][_0x416263(0x126)]);for(const _0x25c24d of _0x33ad79['inherited'][_0x416263(0x2fe)])if(_0x33ad79['quality'])_0x33ad79[_0x416263(0x1dd)][_0x416263(0x2fe)][_0x25c24d['id']]={..._0x25c24d,'status':_0x416263(0x1a7),'inheritedFrom':_0x50345f[_0x416263(0x325)],'resolution':null};}[_0x1dd3cc(0x170)]({task:_0x148fc9,runId:_0x1a2bb3,transactionId:_0x4564c8,epoch:_0xf55307,target:_0x3276b1}){const _0x16ee57=_0x1dd3cc,{readFence:_0x83a36c}=require(_0x16ee57(0x326)),_0xdce305=_0x83a36c(this['projectPath']);if(_0xdce305[_0x16ee57(0x2e4)]!==_0x16ee57(0x311)||_0xdce305[_0x16ee57(0x199)]!==_0x4564c8||_0xdce305[_0x16ee57(0x119)]!==_0xf55307||_0xdce305[_0x16ee57(0x280)]!==_0x3276b1?.[_0x16ee57(0x15e)]||_0xdce305[_0x16ee57(0x230)]!==_0x3276b1?.['digest'])return error(_0x16ee57(0x1ca),'Upgrade\x20cancellation\x20requires\x20the\x20current\x20frozen\x20transaction.');const _0x3405c4=PipelineManager[_0x16ee57(0x143)](_0x148fc9)||PipelineManager[_0x16ee57(0x2d2)](_0x1a2bb3);if(_0x3405c4)return _0x3405c4;return this[_0x16ee57(0x241)](_0x148fc9,()=>{const _0x115d07=_0x16ee57,_0x29fbdf=this['readRun'](_0x148fc9,_0x1a2bb3);if(!_0x29fbdf||!_0x29fbdf[_0x115d07(0x17d)]?.['path']||!require(_0x115d07(0x1d6))[_0x115d07(0x19c)](_0x29fbdf[_0x115d07(0x17d)]['path'],this[_0x115d07(0x369)]))return error(_0x115d07(0x35f),'Run\x20does\x20not\x20belong\x20to\x20this\x20workspace.');const _0x4f5636=_0x29fbdf[_0x115d07(0x25f)]===_0x115d07(0x169)&&_0x29fbdf[_0x115d07(0x16c)]?.['transactionId']===_0x4564c8,_0x3ef564={};_0x3ef564['success']=!![],_0x3ef564[_0x115d07(0x196)]=!![];if(!_0x4f5636&&[_0x115d07(0x360),_0x115d07(0x169)][_0x115d07(0x129)](_0x29fbdf[_0x115d07(0x25f)]))return _0x3ef564;if(_0x29fbdf[_0x115d07(0x2f4)]?.['active']?.[_0x115d07(0x327)]||(_0x29fbdf[_0x115d07(0x2f4)]?.[_0x115d07(0x2fd)]||[])['some'](_0x359581=>_0x359581['workerStatus']==='confirmed'&&_0x359581[_0x115d07(0x12f)]!==_0x115d07(0x13f)))return error(_0x115d07(0x2be),'Confirm\x20worker\x20shutdown\x20before\x20cancelling\x20the\x20run.');!_0x4f5636&&(_0x29fbdf[_0x115d07(0x25f)]='cancelled',_0x29fbdf['cancelledAt']=this['now']()[_0x115d07(0x330)](),_0x29fbdf[_0x115d07(0x16c)]={'reason':'runtime-upgrade','transactionId':_0x4564c8,'target':_0x3276b1,'epoch':_0xf55307,'cancelledAt':_0x29fbdf[_0x115d07(0x276)]},this[_0x115d07(0x35b)](_0x29fbdf),this['appendLedger'](_0x29fbdf,_0x115d07(0x2b9),_0x115d07(0x177)+_0x4564c8+_0x115d07(0x1e4)));this[_0x115d07(0x149)](path[_0x115d07(0x257)](this[_0x115d07(0x1aa)](_0x148fc9),_0x115d07(0x168)),{'task':_0x148fc9,'runId':_0x1a2bb3,'transactionId':_0x4564c8,'target':_0x3276b1});const _0x46f53c=this[_0x115d07(0x2c8)](this['currentFile'](_0x148fc9));if(_0x46f53c?.[_0x115d07(0x325)]===_0x1a2bb3)fs[_0x115d07(0x1f8)](this['currentFile'](_0x148fc9));const _0x9e1d53=new(require('../core/session'))[(_0x115d07(0x165))](this['projectPath']);if(fs['existsSync'](_0x9e1d53['directory']))for(const _0x38e532 of fs[_0x115d07(0x250)](_0x9e1d53['directory'])){if(!/^[a-f0-9]{64}\.json$/[_0x115d07(0x151)](_0x38e532))continue;const _0x3d3052=this[_0x115d07(0x2c8)](path[_0x115d07(0x257)](_0x9e1d53[_0x115d07(0x23f)],_0x38e532));if(_0x3d3052?.[_0x115d07(0x366)]===_0x148fc9&&_0x3d3052[_0x115d07(0x325)]===_0x1a2bb3)_0x9e1d53[_0x115d07(0x19b)](_0x3d3052[_0x115d07(0x29d)],_0x1c4bb8=>{const _0x3b9476=_0x115d07,_0x4b6e19={};_0x4b6e19[_0x3b9476(0x366)]=_0x148fc9,_0x4b6e19['runId']=_0x1a2bb3,_0x4b6e19[_0x3b9476(0x28d)]='runtime-upgrade',_0x1c4bb8[_0x3b9476(0x26b)]=_0x4b6e19,_0x1c4bb8['task']=null,_0x1c4bb8[_0x3b9476(0x325)]=null,_0x1c4bb8[_0x3b9476(0x2e3)]=null,_0x1c4bb8[_0x3b9476(0x18c)]={};});}const _0x2b80a8={};return _0x2b80a8[_0x115d07(0x1b5)]=!![],_0x2b80a8[_0x115d07(0x287)]=_0x4f5636,_0x2b80a8[_0x115d07(0x16c)]=_0x29fbdf['cancellation'],_0x2b80a8;});}[_0x1dd3cc(0x18d)]({task:_0x190fdd,runId:_0x304522,confirm:_0x481a6f,target:target=_0x1dd3cc(0x157),sessionId:_0x1fc9fa}={}){const _0xd06085=_0x1dd3cc,_0x2ef484=PipelineManager[_0xd06085(0x143)](_0x190fdd);if(_0x2ef484)return _0x2ef484;if(!_0x304522)return error(_0xd06085(0x1e0),_0xd06085(0x148));const _0x2bc6f1=PipelineManager[_0xd06085(0x2d2)](_0x304522);if(_0x2bc6f1)return _0x2bc6f1;if(_0x481a6f!==!![])return error(_0xd06085(0x21b),_0xd06085(0x294));if(!['run',_0xd06085(0x33b)][_0xd06085(0x129)](target))return error(_0xd06085(0x27e),_0xd06085(0x2e9));return this[_0xd06085(0x241)](_0x190fdd,()=>{const _0x3fe39d=_0xd06085;if(target===_0x3fe39d(0x33b)){const _0x31ece7=this[_0x3fe39d(0x1f4)](_0x190fdd,_0x304522),_0x5c39e4=this['readJson'](_0x31ece7);if(!_0x5c39e4||_0x5c39e4[_0x3fe39d(0x366)]!==_0x190fdd||_0x5c39e4['runId']!==_0x304522||![_0x3fe39d(0x138),'workspace-ready',_0x3fe39d(0x348)]['includes'](_0x5c39e4[_0x3fe39d(0x25f)]))return error(_0x3fe39d(0x144),'A\x20matching\x20unresolved\x20creation\x20intent\x20is\x20required.');if(!_0x1fc9fa||_0x5c39e4['args']?.[_0x3fe39d(0x29d)]&&_0x5c39e4[_0x3fe39d(0x12c)]['sessionId']!==_0x1fc9fa)return error('SESSION_MISMATCH',_0x3fe39d(0x17b));if(PipelineManager[_0x3fe39d(0x32e)](_0x5c39e4['requestedWorkspace'])||_0x5c39e4[_0x3fe39d(0x263)]&&(typeof _0x5c39e4[_0x3fe39d(0x263)]!==_0x3fe39d(0x2a4)||normalizePath(_0x5c39e4[_0x3fe39d(0x263)])!==this[_0x3fe39d(0x369)])||!_0x5c39e4[_0x3fe39d(0x17d)]||_0x5c39e4[_0x3fe39d(0x17d)]['managed']||!_0x5c39e4[_0x3fe39d(0x17d)][_0x3fe39d(0x22f)]||normalizePath(_0x5c39e4[_0x3fe39d(0x17d)][_0x3fe39d(0x22f)])!==this['projectPath'])return error('CREATION_WORKSPACE_MISMATCH',_0x3fe39d(0x30b));if(this[_0x3fe39d(0x13d)](_0x190fdd,_0x304522)||fs[_0x3fe39d(0x156)](this[_0x3fe39d(0x22b)](_0x190fdd,_0x304522))||fs['existsSync'](this[_0x3fe39d(0x352)](_0x190fdd)))return error(_0x3fe39d(0x24c),_0x3fe39d(0x279));this[_0x3fe39d(0x149)](_0x31ece7,{..._0x5c39e4,'status':'abandoned','resolvedAt':this[_0x3fe39d(0x1af)]()[_0x3fe39d(0x330)](),'resolvedBySession':_0x1fc9fa,'resolution':_0x3fe39d(0x270)});const _0x4432d0={};return _0x4432d0[_0x3fe39d(0x1b5)]=!![],_0x4432d0[_0x3fe39d(0x366)]=_0x190fdd,_0x4432d0['runId']=_0x304522,_0x4432d0[_0x3fe39d(0x14a)]=_0x3fe39d(0x33b),_0x4432d0['intentFile']=_0x31ece7,_0x4432d0[_0x3fe39d(0x2e4)]=_0x3fe39d(0x132),_0x4432d0[_0x3fe39d(0x34a)]=!![],_0x4432d0;}const _0x4f5308=this[_0x3fe39d(0x13d)](_0x190fdd,_0x304522);if(!_0x4f5308)return error(_0x3fe39d(0x210),_0x3fe39d(0x36a)+_0x304522+'\x22\x20was\x20not\x20found.');const _0x521198=this[_0x3fe39d(0x13b)](_0x4f5308);if(_0x521198[_0x3fe39d(0x364)]===_0x3fe39d(0x33a))return error(_0x521198[_0x3fe39d(0x1db)],_0x3fe39d(0x372));if(_0x4f5308[_0x3fe39d(0x11c)]&&_0x4f5308[_0x3fe39d(0x11c)]!==_0x1fc9fa)return error('SESSION_MISMATCH','Reset\x20must\x20use\x20the\x20recorded\x20coordinator\x20session.');const _0x53151d=this[_0x3fe39d(0x11a)](_0x190fdd);if(!_0x53151d||_0x53151d[_0x3fe39d(0x325)]!==_0x304522)return error(_0x3fe39d(0x16b),'This\x20run\x20is\x20no\x20longer\x20the\x20current\x20run\x20for\x20the\x20task.');if(![_0x3fe39d(0x226),_0x3fe39d(0x240)][_0x3fe39d(0x129)](_0x4f5308[_0x3fe39d(0x25f)]))return error(_0x3fe39d(0x26a),_0x3fe39d(0x299)+_0x4f5308[_0x3fe39d(0x25f)]+_0x3fe39d(0x324));if(_0x4f5308['execution']?.['active'][_0x3fe39d(0x327)])return error('WORK_IN_FLIGHT',_0x3fe39d(0x1e6));_0x4f5308[_0x3fe39d(0x25f)]=_0x3fe39d(0x169),_0x4f5308[_0x3fe39d(0x276)]=this[_0x3fe39d(0x1af)]()[_0x3fe39d(0x330)](),this['writeState'](_0x4f5308),this[_0x3fe39d(0x2c1)](_0x4f5308,'Run\x20cancelled',_0x3fe39d(0x251));const _0x498fae={};return _0x498fae['success']=!![],this[_0x3fe39d(0x1f1)](_0x4f5308,_0x498fae);});}[_0x1dd3cc(0x323)](_0xbac7f9,_0x472802){const _0x323a33=_0x1dd3cc,_0x509790=PipelineManager[_0x323a33(0x143)](_0xbac7f9);if(_0x509790)return _0x509790;if(!_0x472802)return error('RUN_ID_REQUIRED',_0x323a33(0x18e));const _0x133c75=PipelineManager[_0x323a33(0x2d2)](_0x472802);if(_0x133c75)return _0x133c75;const _0x1d1b62=this[_0x323a33(0x208)](_0xbac7f9,_0x472802);if(_0x1d1b62?.[_0x323a33(0x1b5)]===![])return _0x1d1b62;if(!_0x1d1b62)return error(_0x323a33(0x210),'Run\x20\x22'+_0x472802+_0x323a33(0x236));const _0xd38a0b=this['contract'](_0x1d1b62);if(_0xd38a0b[_0x323a33(0x364)]==='blocked')return error(_0xd38a0b[_0x323a33(0x1db)],'This\x20historical\x20run\x20is\x20readable\x20but\x20cannot\x20be\x20rebound\x20for\x20mutation.');if(![_0x323a33(0x226),_0x323a33(0x240)][_0x323a33(0x129)](_0x1d1b62[_0x323a33(0x25f)]))return error(_0x323a33(0x26a),_0x323a33(0x299)+_0x1d1b62[_0x323a33(0x25f)]+_0x323a33(0x2f1));const _0x46135e={};return _0x46135e[_0x323a33(0x1b5)]=!![],this[_0x323a33(0x1f1)](_0x1d1b62,_0x46135e);}['formatStatus'](_0x45f6ff,_0x37db65={}){const _0x5ac74f=_0x1dd3cc,_0x525ae2=this['contract'](_0x45f6ff),_0x402c70=_0x45f6ff[_0x5ac74f(0x1d9)]===0x3?_0x45f6ff[_0x5ac74f(0x1d7)]:_0x45f6ff[_0x5ac74f(0x1d7)]||PIPELINE_DEFINITIONS[_0x45f6ff[_0x5ac74f(0x1eb)]],_0x58c16b={..._0x37db65};_0x58c16b[_0x5ac74f(0x226)]=![],_0x58c16b[_0x5ac74f(0x2e4)]=_0x45f6ff['status'],_0x58c16b[_0x5ac74f(0x366)]=_0x45f6ff[_0x5ac74f(0x366)],_0x58c16b[_0x5ac74f(0x325)]=_0x45f6ff['runId'],_0x58c16b[_0x5ac74f(0x1eb)]=_0x45f6ff[_0x5ac74f(0x1eb)],_0x58c16b[_0x5ac74f(0x2f0)]=_0x525ae2,_0x58c16b[_0x5ac74f(0x33a)]=!![],_0x58c16b[_0x5ac74f(0x1d3)]={},_0x58c16b[_0x5ac74f(0x1d3)][_0x5ac74f(0x180)]=_0x5ac74f(0x334),_0x58c16b[_0x5ac74f(0x1d3)][_0x5ac74f(0x1db)]=_0x525ae2[_0x5ac74f(0x1db)];if(!_0x402c70?.[_0x5ac74f(0x2ba)])return _0x58c16b;const _0x2e54f7=_0x45f6ff[_0x5ac74f(0x2da)][_0x5ac74f(0x327)],_0x1a9cbc=_0x402c70[_0x5ac74f(0x2ba)][_0x2e54f7]||null,_0xaf7595={..._0x37db65,'active':_0x45f6ff['status']==='active','state':_0x45f6ff[_0x5ac74f(0x25f)],'task':_0x45f6ff[_0x5ac74f(0x366)],'runId':_0x45f6ff[_0x5ac74f(0x325)],'pipeline':_0x45f6ff[_0x5ac74f(0x1eb)],'pipeline_name':_0x402c70['name'],'progress':_0x2e54f7+'/'+_0x402c70[_0x5ac74f(0x2ba)]['length'],'completed':_0x45f6ff[_0x5ac74f(0x2da)][_0x5ac74f(0x1c5)](_0x5381e4=>_0x5381e4['id']),'next_step':_0x1a9cbc?{'id':_0x1a9cbc['id'],'name':_0x1a9cbc[_0x5ac74f(0x2b5)],'skill':_0x1a9cbc['skill']}:null,'workspacePath':_0x45f6ff[_0x5ac74f(0x17d)]['path'],'stateRoot':this['stateRoot'],'ledgerPath':this[_0x5ac74f(0x142)](_0x45f6ff[_0x5ac74f(0x366)],_0x45f6ff[_0x5ac74f(0x325)]),'workspace':_0x45f6ff[_0x5ac74f(0x17d)],'compatibility':_0x525ae2,'cancellation':_0x45f6ff[_0x5ac74f(0x16c)]||null,'inherited':_0x45f6ff[_0x5ac74f(0x2a8)]||null,'tool_routing':TOOL_ROUTING};if(_0x525ae2[_0x5ac74f(0x364)]===_0x5ac74f(0x33a))return{..._0xaf7595,'active':![],'blocked':!![],'nextAction':{'kind':_0x5ac74f(0x334),'code':_0x525ae2['code']}};const _0x3b60c0={};_0x3b60c0['kind']='ready-for-acceptance';const _0x22929b={};_0x22929b[_0x5ac74f(0x180)]=_0x5ac74f(0x1c6);if(_0x45f6ff[_0x5ac74f(0x1d9)]===0x3)Object[_0x5ac74f(0x2ac)](_0xaf7595,{'schemaVersion':0x3,'versions':_0x45f6ff[_0x5ac74f(0x2b0)],'acceptance':_0x45f6ff[_0x5ac74f(0x166)],'sessionId':_0x45f6ff[_0x5ac74f(0x11c)],'workItems':_0x45f6ff[_0x5ac74f(0x2af)],'plannedItems':_0x45f6ff[_0x5ac74f(0x23a)]||[],'execution':_0x45f6ff[_0x5ac74f(0x2f4)],'receiptObservations':_0x45f6ff['execution'][_0x5ac74f(0x2fd)]||[],'verification_level':_0x45f6ff[_0x5ac74f(0x1dd)]?_0x5ac74f(0x300):_0x5ac74f(0x2ee),'stop_reason':_0x45f6ff[_0x5ac74f(0x2f4)][_0x5ac74f(0x126)],'nextAction':_0x45f6ff[_0x5ac74f(0x25f)]===_0x5ac74f(0x169)?{'kind':_0x5ac74f(0x313),'reason':_0x45f6ff[_0x5ac74f(0x16c)]?.['reason']||'cancelled'}:_0x45f6ff[_0x5ac74f(0x25f)]==='completed'?_0x3b60c0:_0x45f6ff[_0x5ac74f(0x25f)]==='paused'?{'kind':_0x5ac74f(0x240),'reason':_0x45f6ff[_0x5ac74f(0x2f4)][_0x5ac74f(0x126)]}:_0x45f6ff[_0x5ac74f(0x2f4)][_0x5ac74f(0x1d3)]||_0x22929b});if(_0x45f6ff[_0x5ac74f(0x1dd)]&&_0x37db65[_0x5ac74f(0x193)]===![])_0xaf7595[_0x5ac74f(0x1dd)]={'plan':_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x206)],'freshness':'unverified','reason':_0x5ac74f(0x314),'checks':Object[_0x5ac74f(0x36e)](_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x206)][_0x5ac74f(0x367)][_0x5ac74f(0x1c5)](_0x1c1535=>[_0x1c1535['id'],_0x5ac74f(0x122)])),'criteria':Object['fromEntries'](_0x45f6ff['quality'][_0x5ac74f(0x206)][_0x5ac74f(0x2f3)][_0x5ac74f(0x1c5)](_0x4ce42b=>[_0x4ce42b['id'],{'expectedOutcome':_0x4ce42b[_0x5ac74f(0x29f)],'source':_0x4ce42b[_0x5ac74f(0x35a)],'status':_0x5ac74f(0x122)}])),'missingChecks':_0x45f6ff[_0x5ac74f(0x1dd)]['plan'][_0x5ac74f(0x367)][_0x5ac74f(0x1cd)](_0x7e8aec=>_0x7e8aec['required']!==![])[_0x5ac74f(0x1c5)](_0x486b3c=>_0x486b3c['id']),'openFindings':Object[_0x5ac74f(0x321)](_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x2fe)]||{})[_0x5ac74f(0x1cd)](_0x3365e9=>_0x3365e9[_0x5ac74f(0x26f)]!==![]),'unavailable':_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x1a0)]||{},'reviewProvenance':[],'impactEscalation':_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x228)]||null};else{if(_0x45f6ff[_0x5ac74f(0x1dd)]){const _0x11794d=this[_0x5ac74f(0x2f4)][_0x5ac74f(0x34b)](_0x45f6ff)['id'],_0x1e0e17=Object[_0x5ac74f(0x36e)](_0x45f6ff['quality'][_0x5ac74f(0x206)]['checks']['map'](_0x960a21=>{const _0x3986f6=_0x5ac74f,_0x2ac302=_0x45f6ff[_0x3986f6(0x2f4)]['evidence'][_0x3986f6(0x1cd)](_0x56b343=>_0x56b343[_0x3986f6(0x1dd)]?.[_0x3986f6(0x16d)]===_0x960a21['id']&&_0x56b343[_0x3986f6(0x34b)]===_0x11794d&&_0x56b343['acceptanceRevision']===_0x45f6ff[_0x3986f6(0x166)][_0x3986f6(0x2c5)]&&!_0x56b343[_0x3986f6(0x290)])['at'](-0x1);return[_0x960a21['id'],_0x2ac302&&artifactEvidenceCurrent(_0x45f6ff,_0x2ac302)?_0x2ac302[_0x3986f6(0x1dd)]['status']:'unverified'];})),_0x1e195e=Object['fromEntries'](_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x206)][_0x5ac74f(0x2f3)][_0x5ac74f(0x1c5)](_0x3ef030=>{const _0x517527=_0x5ac74f,_0x3451c9=new Set([..._0x3ef030['checkIds'],..._0x45f6ff[_0x517527(0x1dd)][_0x517527(0x206)][_0x517527(0x367)][_0x517527(0x1cd)](_0x2fad0b=>_0x2fad0b[_0x517527(0x26f)]!==![]&&_0x2fad0b['criterionIds']['includes'](_0x3ef030['id']))['map'](_0x567fa5=>_0x567fa5['id'])]);return[_0x3ef030['id'],{'expectedOutcome':_0x3ef030[_0x517527(0x29f)],'source':_0x3ef030[_0x517527(0x35a)],'status':[..._0x3451c9]['every'](_0x3d8e86=>_0x1e0e17[_0x3d8e86]===_0x517527(0x359))&&(!_0x45f6ff['quality'][_0x517527(0x206)]['artifactReview']||_0x45f6ff[_0x517527(0x1dd)][_0x517527(0x206)]['checks'][_0x517527(0x135)](_0x5d3fe8=>_0x5d3fe8['required']!==![]&&_0x5d3fe8['artifactPaths']?.[_0x517527(0x327)]))?'passed':[..._0x3451c9][_0x517527(0x135)](_0xd1936b=>_0x1e0e17[_0xd1936b]===_0x517527(0x1f9))?'failed':_0x517527(0x122)}];}));_0xaf7595['quality']={'plan':_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x206)],'freshness':_0x5ac74f(0x22c),'checks':_0x1e0e17,'openFindings':this[_0x5ac74f(0x2f4)][_0x5ac74f(0x23c)](_0x45f6ff),'impactEscalation':_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x228)]||null,'criteria':_0x1e195e,'missingChecks':this[_0x5ac74f(0x2f4)][_0x5ac74f(0x181)](_0x45f6ff),'unavailable':_0x45f6ff[_0x5ac74f(0x1dd)][_0x5ac74f(0x1a0)]||{},'reviewProvenance':_0x45f6ff[_0x5ac74f(0x2f4)]['evidence'][_0x5ac74f(0x1cd)](_0x45904f=>_0x45904f['source']==='agent-review')[_0x5ac74f(0x1c5)](_0x21bbb1=>({'evidenceId':_0x21bbb1['id'],'stage':_0x21bbb1[_0x5ac74f(0x27b)]?.[_0x5ac74f(0x20a)],'verdict':_0x21bbb1['review']?.[_0x5ac74f(0x2d4)],'actorSeparated':_0x21bbb1[_0x5ac74f(0x2d1)],'artifactsCurrent':artifactEvidenceCurrent(_0x45f6ff,_0x21bbb1),'hostObservedIndependent':this[_0x5ac74f(0x2f4)][_0x5ac74f(0x16f)](_0x45f6ff,_0x21bbb1),'workerHostConfirmed':(_0x45f6ff[_0x5ac74f(0x2f4)][_0x5ac74f(0x2fd)]||[])['some'](_0x30abee=>_0x30abee[_0x5ac74f(0x2e3)]===_0x21bbb1[_0x5ac74f(0x2e3)]&&_0x30abee[_0x5ac74f(0x32b)]==='confirmed')||(_0x45f6ff[_0x5ac74f(0x2f4)][_0x5ac74f(0x371)]||[])['some'](_0x559a92=>_0x559a92[_0x5ac74f(0x2e3)]===_0x21bbb1['attemptId']&&_0x559a92[_0x5ac74f(0x289)]?.[_0x5ac74f(0x35a)]==='host-observed'),'modelHostConfirmed':(_0x45f6ff[_0x5ac74f(0x2f4)][_0x5ac74f(0x2fd)]||[])[_0x5ac74f(0x135)](_0x527cbb=>_0x527cbb[_0x5ac74f(0x2e3)]===_0x21bbb1[_0x5ac74f(0x2e3)]&&_0x527cbb[_0x5ac74f(0x14e)]===_0x5ac74f(0x1cb))||(_0x45f6ff[_0x5ac74f(0x2f4)]['reports']||[])[_0x5ac74f(0x135)](_0x335d67=>_0x335d67[_0x5ac74f(0x2e3)]===_0x21bbb1['attemptId']&&_0x335d67[_0x5ac74f(0x273)]?.[_0x5ac74f(0x35a)]===_0x5ac74f(0x1fa)&&_0x335d67[_0x5ac74f(0x273)]?.[_0x5ac74f(0x25f)]===_0x5ac74f(0x1cb))}))};}else _0xaf7595[_0x5ac74f(0x377)]='legacy-summary';}if(_0x1a9cbc?.[_0x5ac74f(0x2b3)]){const _0x57399e=_0x45f6ff['schemaVersion']===0x3&&_0x45f6ff[_0x5ac74f(0x128)]?.[_0x1a9cbc[_0x5ac74f(0x2b3)]]?null:this['requiredSkillError'](_0x1a9cbc[_0x5ac74f(0x2b3)],_0x45f6ff[_0x5ac74f(0x17d)][_0x5ac74f(0x22f)]),_0x2535e0={};_0x2535e0[_0x5ac74f(0x226)]=![],_0x2535e0[_0x5ac74f(0x33a)]=!![];if(_0x57399e)Object[_0x5ac74f(0x2ac)](_0xaf7595,_0x57399e,_0x2535e0);else _0xaf7595[_0x5ac74f(0x200)]=_0x5ac74f(0x137)+_0x1a9cbc['skill']+'/SKILL.md\x20before\x20step\x20\x22'+_0x1a9cbc['id']+'\x22.';}if(_0x1a9cbc&&[_0x5ac74f(0x2bc),'improve-architecture',_0x5ac74f(0x160)]['includes'](_0x1a9cbc['id']))_0xaf7595[_0x5ac74f(0x261)]=DOMAIN_SKILL_REMINDER;return _0xaf7595;}[_0x1dd3cc(0x191)](_0x54b522){const _0x27a224=_0x1dd3cc,_0x50aeef=[];if(!fs[_0x27a224(0x156)](_0x54b522))return _0x50aeef;const _0x3e085d={};_0x3e085d[_0x27a224(0x186)]=!![];for(const _0x503f01 of fs[_0x27a224(0x250)](_0x54b522,_0x3e085d)){if(!_0x503f01['isDirectory']()||_0x503f01[_0x27a224(0x2b5)][_0x27a224(0x305)]('.'))continue;const _0x2fcc6a=path[_0x27a224(0x257)](_0x54b522,_0x503f01[_0x27a224(0x2b5)],_0x27a224(0x345));if(!fs['existsSync'](_0x2fcc6a))continue;const _0x189750={};_0x189750[_0x27a224(0x186)]=!![];for(const _0x3ad7d7 of fs['readdirSync'](_0x2fcc6a,_0x189750)){if(!_0x3ad7d7[_0x27a224(0x222)]())continue;const _0x3ac141=_0x54b522===this[_0x27a224(0x30d)]?this['readRun'](_0x503f01[_0x27a224(0x2b5)],_0x3ad7d7[_0x27a224(0x2b5)]):this[_0x27a224(0x2c8)](path[_0x27a224(0x257)](_0x2fcc6a,_0x3ad7d7['name'],_0x27a224(0x1c1)));if(_0x3ac141&&this[_0x27a224(0x1c7)](_0x3ac141))_0x50aeef[_0x27a224(0x1d2)](_0x3ac141);else{if(_0x3ac141)this['recordForeignRun'](_0x3ac141);}}}return _0x50aeef;}['listRuns'](){return this['listRunsFromRoot'](this['stateRoot']);}[_0x1dd3cc(0x2f6)](){const _0x257fe1=_0x1dd3cc;return this['listRuns']()[_0x257fe1(0x1cd)](_0x508ea0=>_0x508ea0[_0x257fe1(0x25f)]===_0x257fe1(0x226))[_0x257fe1(0x1c5)](_0x5c48e0=>this[_0x257fe1(0x1f1)](_0x5c48e0));}[_0x1dd3cc(0x25e)](_0x53077b,_0x3ba631,_0x4b47c2={}){const _0x26c3c3=_0x1dd3cc;try{if(!_0x53077b){const _0x4811dd=[];if(fs[_0x26c3c3(0x156)](this['stateRoot'])){const _0x34a20f={};_0x34a20f[_0x26c3c3(0x186)]=!![];for(const _0x279f02 of fs[_0x26c3c3(0x250)](this[_0x26c3c3(0x30d)],_0x34a20f)){if(!_0x279f02[_0x26c3c3(0x222)]()||_0x279f02[_0x26c3c3(0x2b5)]['startsWith']('.'))continue;const _0x11b35a=this['readCurrent'](_0x279f02[_0x26c3c3(0x2b5)]);if(_0x11b35a&&this[_0x26c3c3(0x1c7)](_0x11b35a))_0x4811dd[_0x26c3c3(0x1d2)](this[_0x26c3c3(0x1f1)](_0x11b35a,_0x4b47c2));else{if(_0x11b35a)this[_0x26c3c3(0x24d)](_0x11b35a);}}}return{'success':!![],'active':_0x4811dd[_0x26c3c3(0x135)](_0xcbf5f7=>_0xcbf5f7[_0x26c3c3(0x226)]),'state':_0x4811dd[_0x26c3c3(0x327)]?_0x26c3c3(0x1fe):'none','pipelines':_0x4811dd,'stateRoot':this[_0x26c3c3(0x30d)],'migrationWarnings':this[_0x26c3c3(0x213)],'foreignWorkspaceStates':this[_0x26c3c3(0x1a4)]||[],'pendingCreations':this[_0x26c3c3(0x145)](),'message':_0x4811dd[_0x26c3c3(0x327)]?_0x4811dd[_0x26c3c3(0x327)]+_0x26c3c3(0x308):'No\x20pipeline.\x20Call\x20pipeline_start\x20before\x20executable\x20changes.','tool_routing':TOOL_ROUTING};}const _0x22f734=PipelineManager[_0x26c3c3(0x143)](_0x53077b);if(_0x22f734)return _0x22f734;if(_0x3ba631){const _0x544451=PipelineManager[_0x26c3c3(0x2d2)](_0x3ba631);if(_0x544451)return _0x544451;}const _0x941215=_0x3ba631?this[_0x26c3c3(0x13d)](_0x53077b,_0x3ba631):this['readCurrent'](_0x53077b);if(!_0x941215)return error(_0x26c3c3(0x210),_0x26c3c3(0x2e1)+_0x53077b+'\x22.',{'active':![],'state':_0x26c3c3(0x134),'task':_0x53077b,'stateRoot':this[_0x26c3c3(0x30d)],'pendingCreations':this['pendingCreations'](_0x53077b)});const _0x2d6cfe={..._0x4b47c2};return _0x2d6cfe[_0x26c3c3(0x1b5)]=!![],{...this[_0x26c3c3(0x1f1)](_0x941215,_0x2d6cfe),'pendingCreations':this[_0x26c3c3(0x145)](_0x53077b)};}catch(_0x409374){if(![_0x26c3c3(0x2aa),_0x26c3c3(0x2ec)]['includes'](_0x409374[_0x26c3c3(0x1db)]))throw _0x409374;return error('PIPELINE_STATUS_UNAVAILABLE',_0x26c3c3(0x140),{'active':![],'task':_0x53077b||null,'diagnostic':creationFailure(_0x409374,'status-inspection')});}}[_0x1dd3cc(0x14d)](_0x513f0a,_0x50fb76){const _0x108621=_0x1dd3cc,_0x5bdad9=PipelineManager[_0x108621(0x143)](_0x513f0a);if(_0x5bdad9)return _0x5bdad9;const _0x9ab864=PipelineManager[_0x108621(0x2d2)](_0x50fb76);if(_0x9ab864)return _0x9ab864;const _0x2d070c=this[_0x108621(0x13d)](_0x513f0a,_0x50fb76);if(!_0x2d070c)return error(_0x108621(0x210),_0x108621(0x36a)+_0x50fb76+_0x108621(0x236));if(!_0x2d070c[_0x108621(0x17d)][_0x108621(0x2a9)]||_0x2d070c['workspace']['mode']!==_0x108621(0x288))return error(_0x108621(0x2c7),_0x108621(0x29e));const _0xf11cd1={};_0xf11cd1[_0x108621(0x34c)]=_0x2d070c[_0x108621(0x17d)][_0x108621(0x22f)];const _0xa6f4ee=this['runGit'](['status',_0x108621(0x268)],_0xf11cd1);if(!_0x2d070c[_0x108621(0x17d)][_0x108621(0x205)])return error('WORKTREE_BASE_BRANCH_MISSING','Cannot\x20compare\x20the\x20worktree\x20without\x20its\x20recorded\x20base\x20branch.');const _0x2e5a7d=this['runGit']([_0x108621(0x312),'--left-right',_0x108621(0x302),_0x2d070c[_0x108621(0x17d)]['baseBranch']+_0x108621(0x18b)+_0x2d070c[_0x108621(0x17d)][_0x108621(0x285)]]),_0x5308ce=this[_0x108621(0x298)](['diff','--name-only',_0x2d070c[_0x108621(0x17d)][_0x108621(0x2a1)]+_0x108621(0x18b)+_0x2d070c[_0x108621(0x17d)][_0x108621(0x285)]]),[_0x46869a='0',_0x3e5e1b='0']=_0x2e5a7d[_0x108621(0x2ce)]['split'](/\s+/);return{'success':_0xa6f4ee['ok']&&_0x2e5a7d['ok']&&_0x5308ce['ok'],'task':_0x513f0a,'runId':_0x50fb76,'workspacePath':_0x2d070c[_0x108621(0x17d)]['path'],'branch':_0x2d070c[_0x108621(0x17d)][_0x108621(0x285)],'baseRef':_0x2d070c[_0x108621(0x17d)][_0x108621(0x2a1)],'baseBranch':_0x2d070c['workspace']['baseBranch'],'clean':_0xa6f4ee['ok']&&!_0xa6f4ee['stdout'],'status':_0xa6f4ee[_0x108621(0x2ce)],'ahead':Number(_0x3e5e1b),'behind':Number(_0x46869a),'changedFiles':_0x5308ce[_0x108621(0x2ce)]?_0x5308ce[_0x108621(0x2ce)][_0x108621(0x154)](/\r?\n/)[_0x108621(0x1cd)](Boolean):[],'mergePerformed':![]};}[_0x1dd3cc(0x1b6)]({task:_0x12b11a,runId:_0x591d0d,confirm:_0x3a9df5,sessionId:_0x3caeeb}={}){const _0x1643e6=_0x1dd3cc,_0x33e1e8=PipelineManager[_0x1643e6(0x143)](_0x12b11a);if(_0x33e1e8)return _0x33e1e8;const _0x142698=PipelineManager[_0x1643e6(0x2d2)](_0x591d0d);if(_0x142698)return _0x142698;if(_0x3a9df5!==!![])return error(_0x1643e6(0x2d9),_0x1643e6(0x2b7));return this[_0x1643e6(0x241)](_0x12b11a,()=>{const _0x46b02f=_0x1643e6,_0x483f50=this[_0x46b02f(0x13d)](_0x12b11a,_0x591d0d);if(!_0x483f50)return error('RUN_NOT_FOUND','Run\x20\x22'+_0x591d0d+_0x46b02f(0x236));if(_0x483f50['coordinator']&&_0x483f50[_0x46b02f(0x11c)]!==_0x3caeeb)return error('SESSION_MISMATCH',_0x46b02f(0x187));if(![_0x46b02f(0x360),_0x46b02f(0x169)]['includes'](_0x483f50[_0x46b02f(0x25f)]))return error(_0x46b02f(0x292),_0x46b02f(0x353));if(_0x483f50['execution']?.[_0x46b02f(0x226)]?.[_0x46b02f(0x327)])return error('WORK_IN_FLIGHT',_0x46b02f(0x12a));if(!_0x483f50[_0x46b02f(0x17d)][_0x46b02f(0x2a9)]||_0x483f50['workspace']['status']===_0x46b02f(0x244))return error(_0x46b02f(0x2c7),_0x46b02f(0x1ee));const _0x4706ab={};_0x4706ab['cwd']=_0x483f50[_0x46b02f(0x17d)][_0x46b02f(0x22f)];const _0x31b43b=this['runGit'](['status',_0x46b02f(0x268)],_0x4706ab);if(!_0x31b43b['ok']||_0x31b43b[_0x46b02f(0x2ce)])return error(_0x46b02f(0x2cc),_0x46b02f(0x1ac),{'status':_0x31b43b[_0x46b02f(0x2ce)]});if(!_0x483f50[_0x46b02f(0x17d)][_0x46b02f(0x205)])return error(_0x46b02f(0x18f),_0x46b02f(0x27d));const _0x539008=this[_0x46b02f(0x298)]([_0x46b02f(0x30e),'--is-ancestor',_0x483f50[_0x46b02f(0x17d)][_0x46b02f(0x285)],_0x483f50['workspace'][_0x46b02f(0x205)]]);if(!_0x539008['ok'])return error(_0x46b02f(0x18f),_0x46b02f(0x24b));const _0x2112a0=this['runGit']([_0x46b02f(0x288),'remove',_0x483f50[_0x46b02f(0x17d)]['path']]);if(!_0x2112a0['ok'])return error(_0x46b02f(0x123),_0x2112a0[_0x46b02f(0x2db)]);_0x483f50['workspace']['status']='removed',_0x483f50[_0x46b02f(0x17d)]['removedAt']=this[_0x46b02f(0x1af)]()['toISOString'](),this[_0x46b02f(0x35b)](_0x483f50),this[_0x46b02f(0x2c1)](_0x483f50,_0x46b02f(0x152),'Branch\x20preserved:\x20'+_0x483f50[_0x46b02f(0x17d)][_0x46b02f(0x285)]);const _0x8a1330={};return _0x8a1330[_0x46b02f(0x1b5)]=!![],_0x8a1330['task']=_0x12b11a,_0x8a1330[_0x46b02f(0x325)]=_0x591d0d,_0x8a1330['branch']=_0x483f50[_0x46b02f(0x17d)][_0x46b02f(0x285)],_0x8a1330[_0x46b02f(0x1c9)]=![],_0x8a1330;});}[_0x1dd3cc(0x29a)](){const _0x54600a=_0x1dd3cc,_0xc7f146=new Set([path[_0x54600a(0x257)](this[_0x54600a(0x369)],_0x54600a(0x1e3),_0x54600a(0x2a0)),this[_0x54600a(0x30d)]]);for(const _0xed86e1 of _0xc7f146){if(!fs[_0x54600a(0x156)](_0xed86e1))continue;const _0x49e120={};_0x49e120[_0x54600a(0x186)]=!![];for(const _0x3d948f of fs[_0x54600a(0x250)](_0xed86e1,_0x49e120)){if(!_0x3d948f['isDirectory']()||_0x3d948f[_0x54600a(0x2b5)][_0x54600a(0x305)]('.'))continue;const _0x4dead8=path[_0x54600a(0x257)](_0xed86e1,_0x3d948f[_0x54600a(0x2b5)],_0x54600a(0x1c1));if(!fs[_0x54600a(0x156)](_0x4dead8))continue;const _0x176576=fs[_0x54600a(0x2de)](_0x4dead8,'utf8');let _0x309a19;try{_0x309a19=JSON[_0x54600a(0x29b)](_0x176576);}catch(_0x400695){const _0x2921ee={};_0x2921ee[_0x54600a(0x1db)]='LEGACY_STATE_INVALID',_0x2921ee[_0x54600a(0x22f)]=_0x4dead8,_0x2921ee[_0x54600a(0x1f5)]=_0x400695['message'],this[_0x54600a(0x213)][_0x54600a(0x1d2)](_0x2921ee);continue;}if(!_0x309a19?.[_0x54600a(0x1eb)]||!PIPELINE_DEFINITIONS[_0x309a19[_0x54600a(0x1eb)]]){const _0x59d5e5={};_0x59d5e5['code']=_0x54600a(0x281),_0x59d5e5[_0x54600a(0x22f)]=_0x4dead8,_0x59d5e5[_0x54600a(0x1f5)]=_0x54600a(0x2e8),this['migrationWarnings'][_0x54600a(0x1d2)](_0x59d5e5);continue;}const _0xc5de48=crypto[_0x54600a(0x32c)]('sha256')[_0x54600a(0x343)](_0x4dead8+'\x00'+_0x176576)[_0x54600a(0x1e8)](_0x54600a(0x2a2)),_0xc716f8=path['join'](this[_0x54600a(0x30d)],'.migrations',_0xc5de48+_0x54600a(0x130));if(fs['existsSync'](_0xc716f8))continue;const _0x3bd66e=String(_0x309a19[_0x54600a(0x2f5)]||this[_0x54600a(0x1af)]()[_0x54600a(0x330)]())[_0x54600a(0x31b)](0x0,0xa)[_0x54600a(0x197)](/-/g,''),_0x3e5a9e=PipelineManager[_0x54600a(0x143)](_0x3d948f[_0x54600a(0x2b5)])?_0x54600a(0x16a)+_0x309a19[_0x54600a(0x1eb)]+'-'+_0x3bd66e:_0x3d948f['name'];let _0x3ba2c8=_0x3e5a9e,_0x25cfe7=0x0;while(this[_0x54600a(0x11a)](_0x3ba2c8)){const _0x371ae0=_0x25cfe7++===0x0?_0xc5de48[_0x54600a(0x31b)](0x0,0x6):_0xc5de48[_0x54600a(0x31b)](0x0,0x4)+'-'+_0x25cfe7;_0x3ba2c8=_0x3e5a9e['slice'](0x0,0x3f-_0x371ae0[_0x54600a(0x327)])+'-'+_0x371ae0;}const _0x354d42=this['generateRunId'](),_0x3b6252=PIPELINE_DEFINITIONS[_0x309a19[_0x54600a(0x1eb)]],_0x25f3e7=(_0x309a19[_0x54600a(0x2da)]||[])['map'](_0x199e25=>typeof _0x199e25===_0x54600a(0x2a4)?{'id':_0x199e25,'summary':_0x54600a(0x212),'completedAt':this['now']()[_0x54600a(0x330)]()}:_0x199e25),_0x30ef0d={};_0x30ef0d[_0x54600a(0x1a2)]=_0x54600a(0x307),_0x30ef0d['path']=this[_0x54600a(0x369)],_0x30ef0d[_0x54600a(0x2a9)]=![],_0x30ef0d[_0x54600a(0x25f)]=_0x54600a(0x189);const _0x277669={'schemaVersion':0x2,'task':_0x3ba2c8,'runId':_0x354d42,'pipeline':_0x309a19[_0x54600a(0x1eb)],'status':_0x25f3e7[_0x54600a(0x327)]>=_0x3b6252[_0x54600a(0x2ba)]['length']?'completed':_0x54600a(0x226),'completedSteps':_0x25f3e7,'workspace':_0x30ef0d,'startedAt':_0x309a19[_0x54600a(0x2f5)]||this['now']()[_0x54600a(0x330)](),'updatedAt':this[_0x54600a(0x1af)]()[_0x54600a(0x330)](),'migratedFrom':_0x4dead8},_0x7fc86e={};_0x7fc86e['setCurrent']=!![],this['writeState'](_0x277669,_0x7fc86e);const _0x3b96bc=path[_0x54600a(0x257)](_0xed86e1,_0x3d948f[_0x54600a(0x2b5)],_0x54600a(0x24f)),_0x2a5cb9=fs[_0x54600a(0x156)](_0x3b96bc)?fs['readFileSync'](_0x3b96bc,'utf8'):'(no\x20legacy\x20ledger)';this[_0x54600a(0x2c1)](_0x277669,_0x54600a(0x245),'Source\x20retained\x20at\x20'+_0x4dead8+'\x0a\x0a'+_0x2a5cb9),this[_0x54600a(0x149)](_0xc716f8,{'source':_0x4dead8,'task':_0x3ba2c8,'runId':_0x354d42,'fingerprint':_0xc5de48,'migratedAt':this[_0x54600a(0x1af)]()[_0x54600a(0x330)]()});}}}[_0x1dd3cc(0x2b8)](){const _0x531970=_0x1dd3cc;if(!fs[_0x531970(0x156)](this[_0x531970(0x1c4)]))return;const _0x34c978=fs['readFileSync'](this[_0x531970(0x1c4)],_0x531970(0x297));let _0x4a4292;try{_0x4a4292=JSON['parse'](_0x34c978);}catch(_0x41b8ed){this[_0x531970(0x213)][_0x531970(0x1d2)]({'code':_0x531970(0x281),'path':this['legacyStateFilePath'],'error':_0x41b8ed[_0x531970(0x214)]});return;}if(!_0x4a4292?.[_0x531970(0x1eb)]||!PIPELINE_DEFINITIONS[_0x4a4292['pipeline']]){this[_0x531970(0x213)]['push']({'code':'LEGACY_STATE_INVALID','path':this[_0x531970(0x1c4)],'error':'Missing\x20or\x20invalid\x20pipeline.'});return;}const _0xae39e2=crypto['createHash'](_0x531970(0x269))[_0x531970(0x343)](_0x34c978)[_0x531970(0x1e8)](_0x531970(0x2a2)),_0xe734ab=path['join'](this[_0x531970(0x30d)],'.migrations',_0xae39e2+_0x531970(0x130));if(fs[_0x531970(0x156)](_0xe734ab))return;const _0x3195d4=String(_0x4a4292[_0x531970(0x2f5)]||this['now']()['toISOString']())[_0x531970(0x31b)](0x0,0xa)[_0x531970(0x197)](/-/g,''),_0x2fe094=_0x531970(0x16a)+_0x4a4292[_0x531970(0x1eb)]+'-'+_0x3195d4;let _0x5d812d=_0x2fe094,_0xa005fe=0x0;while(fs[_0x531970(0x156)](this['taskDir'](_0x5d812d))){const _0x190cee=_0xa005fe++===0x0?_0xae39e2[_0x531970(0x31b)](0x0,0x6):_0xae39e2['slice'](0x0,0x4)+'-'+_0xa005fe;_0x5d812d=_0x2fe094['slice'](0x0,0x3f-_0x190cee[_0x531970(0x327)])+'-'+_0x190cee;}const _0x16829a=this[_0x531970(0x26d)](),_0x47e070=PIPELINE_DEFINITIONS[_0x4a4292[_0x531970(0x1eb)]],_0x1db2a9=(_0x4a4292[_0x531970(0x2da)]||[])[_0x531970(0x1c5)](_0x1622a2=>typeof _0x1622a2==='string'?{'id':_0x1622a2,'summary':'Migrated\x20from\x20legacy\x20state','completedAt':this[_0x531970(0x1af)]()[_0x531970(0x330)]()}:_0x1622a2),_0x481db9={};_0x481db9[_0x531970(0x1a2)]='current',_0x481db9[_0x531970(0x22f)]=this[_0x531970(0x369)],_0x481db9[_0x531970(0x2a9)]=![],_0x481db9[_0x531970(0x25f)]=_0x531970(0x189);const _0x12b3c1={'schemaVersion':0x2,'task':_0x5d812d,'runId':_0x16829a,'pipeline':_0x4a4292['pipeline'],'status':_0x1db2a9['length']>=_0x47e070[_0x531970(0x2ba)][_0x531970(0x327)]?_0x531970(0x360):_0x531970(0x226),'completedSteps':_0x1db2a9,'workspace':_0x481db9,'startedAt':_0x4a4292[_0x531970(0x2f5)]||this[_0x531970(0x1af)]()['toISOString'](),'updatedAt':this[_0x531970(0x1af)]()['toISOString'](),'migratedFrom':this['legacyStateFilePath']},_0x9b593d={};_0x9b593d[_0x531970(0x14c)]=!![],this[_0x531970(0x35b)](_0x12b3c1,_0x9b593d),this[_0x531970(0x2c1)](_0x12b3c1,_0x531970(0x1ad),_0x531970(0x201)+this[_0x531970(0x1c4)]),this[_0x531970(0x149)](_0xe734ab,{'source':this[_0x531970(0x1c4)],'task':_0x5d812d,'runId':_0x16829a,'fingerprint':_0xae39e2,'migratedAt':this['now']()[_0x531970(0x330)]()});}static[_0x1dd3cc(0x20d)](_0x19a5f9){const _0x4901be=_0x1dd3cc,_0x236a55=String(_0x19a5f9||'')['toLowerCase']();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/['test'](_0x236a55)){const _0x2d7cd7={};return _0x2d7cd7[_0x4901be(0x1d1)]=_0x4901be(0x1ff),_0x2d7cd7[_0x4901be(0x1ec)]=_0x4901be(0x320),_0x2d7cd7['reason']='Bug-fix\x20signals\x20detected.',_0x2d7cd7;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/['test'](_0x236a55)){const _0x3d3695={};return _0x3d3695[_0x4901be(0x1d1)]=_0x4901be(0x22a),_0x3d3695[_0x4901be(0x1ec)]=_0x4901be(0x320),_0x3d3695[_0x4901be(0x28d)]=_0x4901be(0x21a),_0x3d3695;}const _0xc9c523={};return _0xc9c523[_0x4901be(0x1d1)]='feature',_0xc9c523[_0x4901be(0x1ec)]=_0x236a55[_0x4901be(0x327)]>=0x3?_0x4901be(0x320):_0x4901be(0x375),_0xc9c523[_0x4901be(0x28d)]=_0x4901be(0x258),_0xc9c523;}}function _0x3fdf(_0x3ebeaf,_0x166377){_0x3ebeaf=_0x3ebeaf-0x115;const _0x375797=_0x3757();let _0x3fdf78=_0x375797[_0x3ebeaf];if(_0x3fdf['ONYpZZ']===undefined){var _0x3cf130=function(_0x65fbc3){const _0x489cf9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2a693c='',_0x277711='';for(let _0x1c33ae=0x0,_0x22be1f,_0x3182fa,_0x43ec72=0x0;_0x3182fa=_0x65fbc3['charAt'](_0x43ec72++);~_0x3182fa&&(_0x22be1f=_0x1c33ae%0x4?_0x22be1f*0x40+_0x3182fa:_0x3182fa,_0x1c33ae++%0x4)?_0x2a693c+=String['fromCharCode'](0xff&_0x22be1f>>(-0x2*_0x1c33ae&0x6)):0x0){_0x3182fa=_0x489cf9['indexOf'](_0x3182fa);}for(let _0x1cd5ec=0x0,_0xb0fea2=_0x2a693c['length'];_0x1cd5ec<_0xb0fea2;_0x1cd5ec++){_0x277711+='%'+('00'+_0x2a693c['charCodeAt'](_0x1cd5ec)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x277711);};_0x3fdf['CWLAFl']=_0x3cf130,_0x3fdf['fDDNRp']={},_0x3fdf['ONYpZZ']=!![];}const _0x52c673=_0x375797[0x0],_0x5b6f7f=_0x3ebeaf+_0x52c673,_0x543a9a=_0x3fdf['fDDNRp'][_0x5b6f7f];return!_0x543a9a?(_0x3fdf78=_0x3fdf['CWLAFl'](_0x3fdf78),_0x3fdf['fDDNRp'][_0x5b6f7f]=_0x3fdf78):_0x3fdf78=_0x543a9a,_0x3fdf78;}const _0x3acf05={};_0x3acf05[_0x1dd3cc(0x23b)]=PipelineManager,_0x3acf05[_0x1dd3cc(0x2b4)]=PIPELINE_DEFINITIONS,_0x3acf05['PIPELINE_DEFINITIONS_V3']=PIPELINE_DEFINITIONS_V3,module['exports']=_0x3acf05;