apt-mcp-agent-setup 3.5.9 → 3.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/bundle/NOTICES.md +0 -0
- package/bundle/core.enc +0 -0
- package/bundle/mcp-rules.enc +0 -0
- package/bundle/skills-aso.enc +0 -0
- package/bundle/skills-ba.enc +0 -0
- package/bundle/skills-base.enc +0 -0
- package/bundle/skills-be.enc +0 -0
- package/bundle/skills-design.enc +0 -0
- package/bundle/skills-fe.enc +0 -0
- package/bundle/skills-marketing.enc +0 -0
- package/bundle/skills-mobile.enc +0 -0
- package/bundle/skills-pm.enc +0 -0
- package/integrity-manifest.json +121 -120
- package/package.json +1 -1
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/profiles.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/aso-import.js +1 -1
- package/src/core/caller-context.js +1 -1
- package/src/core/catalog.js +1 -1
- package/src/core/claude-caller-authority.js +1 -1
- package/src/core/claude-invocation.js +1 -1
- package/src/core/claude-native.js +1 -1
- package/src/core/claude-plan.js +1 -1
- package/src/core/claude-worker-transcript.js +1 -1
- package/src/core/codex-host-metadata.js +1 -1
- package/src/core/codex-transcript-receipt.js +1 -1
- package/src/core/context-metrics.js +1 -1
- package/src/core/doctor.js +1 -1
- package/src/core/draining-completion.js +1 -1
- package/src/core/execution.js +1 -1
- package/src/core/git-context.js +1 -1
- package/src/core/hook-bridge.js +1 -1
- package/src/core/host-adapters.js +1 -1
- package/src/core/ipc-envelope.js +1 -1
- package/src/core/memory-scope.js +1 -1
- package/src/core/memory-store.js +1 -1
- package/src/core/model-inventory.js +1 -1
- package/src/core/model-routing.js +1 -1
- package/src/core/native-dispatch.js +1 -1
- package/src/core/node-version.js +1 -1
- package/src/core/npm-cli.js +1 -1
- package/src/core/owned-command-child.js +1 -1
- package/src/core/owned-command.js +1 -1
- package/src/core/owned-lock.js +1 -1
- package/src/core/owned-process.js +1 -1
- package/src/core/presentations.js +1 -1
- package/src/core/quality-artifacts.js +1 -1
- package/src/core/quality.js +1 -1
- package/src/core/read-command.js +1 -1
- package/src/core/readonly-skill.js +1 -1
- package/src/core/resource-transaction.js +1 -1
- package/src/core/run-compatibility.js +1 -1
- package/src/core/runtime-info.js +1 -1
- package/src/core/runtime-ownership.js +1 -1
- package/src/core/session.js +1 -1
- package/src/core/skill-companions.js +1 -1
- package/src/core/skill-names.js +1 -1
- package/src/core/storage-retry.js +1 -1
- package/src/core/tool-contracts.js +1 -1
- package/src/core/update-control.js +1 -1
- package/src/core/upgrade-runs.js +1 -1
- package/src/core/upgrade-stop.js +1 -1
- package/src/core/windows-job.js +1 -1
- package/src/core/workspace-generation.js +1 -1
- package/src/core/workspace-path.js +1 -1
- package/src/installer/bounded-command.js +1 -1
- package/src/installer/candidate-preflight.js +1 -1
- package/src/installer/connection-activation.js +1 -1
- package/src/installer/connection-supervisor.js +1 -1
- package/src/installer/deployment-draft.js +1 -1
- package/src/installer/gateway-context.js +1 -1
- package/src/installer/gateway-migration.js +1 -1
- package/src/installer/gateway-runtime.js +1 -1
- package/src/installer/global-setup.js +1 -1
- package/src/installer/hook-context-client.js +1 -1
- package/src/installer/host-hooks.js +1 -1
- package/src/installer/index-recovery.js +1 -0
- package/src/installer/legacy-registration.js +1 -1
- package/src/installer/managed-config.js +1 -1
- package/src/installer/platform-config.js +1 -1
- package/src/installer/prerequisites.js +1 -1
- package/src/installer/presentations.js +1 -1
- package/src/installer/project-setup.js +1 -1
- package/src/installer/registration-closure.js +1 -1
- package/src/installer/registration-plan.js +1 -1
- package/src/installer/registration-receipt.js +1 -1
- package/src/installer/registrations.js +1 -1
- package/src/installer/runtime-activation.js +1 -1
- package/src/installer/runtime-child.js +1 -1
- package/src/installer/runtime-cleanup.js +1 -1
- package/src/installer/runtime-lock.js +1 -1
- package/src/installer/runtime-store.js +1 -1
- package/src/installer/runtime-supervisor.js +1 -1
- package/src/installer/setup-wizard.js +1 -1
- package/src/installer/update-addons.js +1 -1
- package/src/installer/update-cleanup.js +1 -1
- package/src/installer/update-executor.js +1 -1
- package/src/installer/update-registration.js +1 -1
- package/src/installer/update-request.js +1 -1
- package/src/installer/update-scope.js +1 -1
- package/src/installer/workspace-registry.js +1 -1
- package/src/installer/workspace-transaction.js +1 -1
- package/src/installer/workspace-update.js +1 -1
- package/src/license/crypto.js +1 -1
- package/src/license/fingerprint.js +1 -1
- package/src/license/terms.js +1 -1
- package/src/license/verify.js +1 -1
- package/src/presets/index.js +1 -1
- package/src/proxy/backends.js +1 -1
- package/src/proxy/browser-sessions.js +1 -1
- package/src/proxy/core-tools.js +1 -1
- package/src/proxy/pipeline.js +1 -1
- package/src/proxy/public-catalog.js +1 -1
- package/src/proxy/router.config.js +1 -1
- package/src/proxy/router.js +1 -1
- package/src/proxy/server.js +1 -1
- package/src/proxy/workspace-gateway.js +1 -1
package/src/proxy/pipeline.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x29c9c8=_0x3522;(function(_0x40b122,_0x175d67){const _0x1acf65=_0x3522,_0x256ac3=_0x40b122();while(!![]){try{const _0x1bbfdd=-parseInt(_0x1acf65(0x1f3))/0x1+-parseInt(_0x1acf65(0x337))/0x2+parseInt(_0x1acf65(0x165))/0x3*(parseInt(_0x1acf65(0x21b))/0x4)+parseInt(_0x1acf65(0x342))/0x5*(parseInt(_0x1acf65(0x1cf))/0x6)+parseInt(_0x1acf65(0x20b))/0x7+-parseInt(_0x1acf65(0x167))/0x8+parseInt(_0x1acf65(0x257))/0x9*(parseInt(_0x1acf65(0x175))/0xa);if(_0x1bbfdd===_0x175d67)break;else _0x256ac3['push'](_0x256ac3['shift']());}catch(_0x20086d){_0x256ac3['push'](_0x256ac3['shift']());}}}(_0xf31d,0x4f5c0));const crypto=require(_0x29c9c8(0x182)),fs=require('fs'),os=require('os'),path=require(_0x29c9c8(0x338)),{spawnSync}=require(_0x29c9c8(0x142)),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0x29c9c8(0x302)),{inspectRunContract}=require(_0x29c9c8(0x163)),{artifactEvidenceCurrent}=require(_0x29c9c8(0x18f)),TOOL_ROUTING=_0x29c9c8(0x29a),_0x5dc5ca={};_0x5dc5ca[_0x29c9c8(0x235)]=_0x29c9c8(0x368),_0x5dc5ca['to-prd']=_0x29c9c8(0x2ed),_0x5dc5ca[_0x29c9c8(0x2c4)]=_0x29c9c8(0x1dd),_0x5dc5ca[_0x29c9c8(0x254)]=_0x29c9c8(0x320),_0x5dc5ca['improve-architecture']=_0x29c9c8(0x325);const MEMORY_TRIGGERS=_0x5dc5ca,DOMAIN_SKILL_REMINDER=[_0x29c9c8(0x19c),_0x29c9c8(0x30e),'Mobile\x20UI:\x20.agents/skills/mobile-rules/SKILL.md','Flutter:\x20select\x20the\x20task-specific\x20Flutter\x20skill.'][_0x29c9c8(0x336)]('\x0a'),_0x35d189={};_0x35d189['id']='grill-me',_0x35d189[_0x29c9c8(0x143)]=_0x29c9c8(0x308),_0x35d189[_0x29c9c8(0x22e)]=_0x29c9c8(0x261);const _0x4ddf92={};_0x4ddf92['id']='to-prd',_0x4ddf92[_0x29c9c8(0x143)]='Synthesize\x20PRD',_0x4ddf92[_0x29c9c8(0x22e)]=_0x29c9c8(0x1dc);const _0x18d2e4={};_0x18d2e4['id']=_0x29c9c8(0x15d),_0x18d2e4['name']=_0x29c9c8(0x327),_0x18d2e4[_0x29c9c8(0x22e)]=_0x29c9c8(0x174);const _0x1e40d3={};_0x1e40d3['id']='tdd',_0x1e40d3[_0x29c9c8(0x143)]='Implement\x20test-first',_0x1e40d3[_0x29c9c8(0x22e)]=_0x29c9c8(0x1b3);function _0x3522(_0x35de5d,_0x53115c){_0x35de5d=_0x35de5d-0x12f;const _0xf31d4e=_0xf31d();let _0x35227f=_0xf31d4e[_0x35de5d];if(_0x3522['UZaqma']===undefined){var _0x246179=function(_0x2dc171){const _0x13ee65='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5dc5ca='',_0x35d189='';for(let _0x4ddf92=0x0,_0x18d2e4,_0x1e40d3,_0x5104fc=0x0;_0x1e40d3=_0x2dc171['charAt'](_0x5104fc++);~_0x1e40d3&&(_0x18d2e4=_0x4ddf92%0x4?_0x18d2e4*0x40+_0x1e40d3:_0x1e40d3,_0x4ddf92++%0x4)?_0x5dc5ca+=String['fromCharCode'](0xff&_0x18d2e4>>(-0x2*_0x4ddf92&0x6)):0x0){_0x1e40d3=_0x13ee65['indexOf'](_0x1e40d3);}for(let _0x409375=0x0,_0x2b6e2a=_0x5dc5ca['length'];_0x409375<_0x2b6e2a;_0x409375++){_0x35d189+='%'+('00'+_0x5dc5ca['charCodeAt'](_0x409375)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35d189);};_0x3522['IOteMz']=_0x246179,_0x3522['SJzDbB']={},_0x3522['UZaqma']=!![];}const _0xaa5f67=_0xf31d4e[0x0],_0x42d5e3=_0x35de5d+_0xaa5f67,_0x3add16=_0x3522['SJzDbB'][_0x42d5e3];return!_0x3add16?(_0x35227f=_0x3522['IOteMz'](_0x35227f),_0x3522['SJzDbB'][_0x42d5e3]=_0x35227f):_0x35227f=_0x3add16,_0x35227f;}const _0x5104fc={};_0x5104fc['id']=_0x29c9c8(0x2d1),_0x5104fc[_0x29c9c8(0x143)]=_0x29c9c8(0x1fc),_0x5104fc[_0x29c9c8(0x22e)]=_0x29c9c8(0x19d);const _0x409375={};_0x409375['name']=_0x29c9c8(0x2c8),_0x409375[_0x29c9c8(0x2f2)]=[_0x35d189,_0x4ddf92,_0x18d2e4,_0x1e40d3,_0x5104fc];const _0x2b6e2a={};_0x2b6e2a['id']=_0x29c9c8(0x2c4),_0x2b6e2a['name']='Diagnose\x20and\x20reproduce',_0x2b6e2a[_0x29c9c8(0x22e)]=_0x29c9c8(0x344);const _0x4ae650={};_0x4ae650['id']='grill-me',_0x4ae650['name']='Challenge\x20the\x20fix\x20design',_0x4ae650[_0x29c9c8(0x22e)]='stress-test-plan';function _0xf31d(){const _0x3b62d4=['BM9qCM9NCMvZCW','y2XVC2vK','Aw50zw50lwnVBxbSzxrL','lI4Vy29Yzs9ZA2LSBc1Uyw1LCY5QCW','u3rLCcbJB21WBgv0zwq6ia','zxzPzgvUy2u','ywnJzxb0yw5Jzq','v29YA3nWywnLoIa','DxbNCMfKzs1SAw5LywDLlMPZB24','CNvUrgLY','rufdq0vt','su5wquXjrf9tq0HftufFvKvsu0LptG','iIWGBM90ici','rvbfuK0','v29YA3rYzwuGCMvTB3zLza','zgLMzG','BgLZDa','u0fwrsbPBxbSzw1LBNrHDgLVBIbKzwnPC2LVBNmGyw5KihrLC3qGCgf0DgvYBNmGD2L0AcbYzw1LBwjLCI4','DxbKyxrL','Dg8TChjK','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','u0fwrsbHCMnOAxrLy3r1CMuGzgvJAxnPB25ZigfUzcbMAw5KAw5NCYb3AxrOihjLBwvTyMvYlG','C3bSAxq','q3jLyxrLihzLCNrPy2fSlxnSAwnLigLZC3vLCW','su5wquXjrf9svu5Fsuq','Bg93','CgvYC2LZDa','y2HVCMu6igLUAxrPywXPEMuGBg9JywWGCMvWB3nPDg9YEq','CMvJB3zLCMvK','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','ChjLlwnYzwf0zs1ZDgf0zq','D2LUzg93C0HPzgu','lI4Vy29Yzs9YDw50Aw1LlwLUzM8','CNvUr2L0','yxb0lW','DMfSAwrHDgvuyxnR','lMnYzwf0Aw9U','zxHWzwn0zwrpDxrJB21L','AM9PBG','ntmWnZK4A296BMns','Cgf0Aa','y2XHC3nPzNLszxf1zxn0','DgfYz2v0vMvYC2LVBG','CMvHzfj1BG','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','Dg9ju09tDhjPBMC','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','yMfZzvjLzG','y3btEw5J','mZq2mgfwAMDnDG','CMvTB3zLza','yNvNlwrPywDUB3n0AwnZ','DMvYAwz5q29WAwvKvhjLzq','CgXHDgzVCM0','CMvJB3zLCG','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','sg90zML4','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','ueLqruXjtKvFu1rbvevFte9ds0ve','CMvWBgfJzufSBa','Aw5PDa','zxbVy2G','BwfUywDLza','CMvHzePZB24','ywnJzxb0yw5JzvjLDMLZAw9U','B3DUC1j1BG','CMvHzg9UBhK','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','ChjVz3jLC3mUBwq','BgLZDefJDgL2zvbPCgvSAw5LCW','y2HLy2Tjzhm','y29UDgLUDwu','v29YA3rYzwuGCgf0AcbHBhjLywr5igv4Axn0CZOG','r0Lux0LosvrFrKfjteve','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','Aw1Wywn0rxnJywXHDgLVBG','vgHPCYbOAxn0B3jPy2fSihj1BIbPCYbYzwfKywjSzsbIDxqGy2fUBM90igjLihjLyM91BMqGzM9Yig11Dgf0Aw9UlG','vxbNCMfKzsbJyw5JzwXSyxrPB24GCMvXDwLYzxmGDgHLign1CNjLBNqGzNjVEMvUihrYyw5Zywn0Aw9UlG','DhjPBq','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','CMvJB3zLCNLFy29TBwfUza','BwLNCMf0zuXLz2fJEvn0yxrLCW','zgv2zwXVCg1LBNqTC291CMnL','BM93','C3LZy2fSBa','u0fwrsbKzxnPz24GzgvJAxnPB25ZigfUzcbJB25ZDhjHAw50CYb3AxrOihjLBwvTyMvYlG','CMvWBgfJzq','ywrK','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','D29YA3rYzwu','y2XLyw51CfDVCMTZCgfJzq','zMLSzq','ugLWzwXPBMuGC3rHCNrLza','DMfSAwrHDgvxB3jRC3bHy2u','zgv2zwXVCg1LBNrnB2rL','zxzLCNK','DMfSAwrHDgvsDw5jza','uNvUici','D2L0AeXVy2S','CNvUDgLTzvb1yMXPy0TLEq','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','yxr0zw1WDf9SAw1PDa','CMvJDxjZAxzL','ls1Nzxq','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','q1jfqvrjt05FuLvox0vysvnuuW','yxr0zw1WDhm','Aw5OzxjPDgvK','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','C3rHz2u','DgvZDa','CMvXDwvZDgvKv29YA3nWywnL','ig11C3qGy29UDgfPBIbUB24Tzw1WDhKGC3rYAw5NCY4','u0TjteWUBwq','CMfUzg9TqNL0zxm','BxrPBwvnCW','DgfYz2v0rgLNzxn0','uLvox0nsrufusu9ox0Loq09nueXfveu','CMvUyw1Lu3LUyW','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','yMfZzujYyw5JAa','C291CMnL','iIbPCYbTAxnZAw5NlG','yxnZzxj0Aw9Ulwv2AwrLBMnL','ugLWzwXPBMuGC3rHDguGy29WEsbLBNrYAwvZig1PC21HDgnOoIa','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','lMfNzw50CW','CMvHC29U','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','zxjYB3jpBKv4Axn0','CgLWzwXPBMvZ','Dg9tDhjPBMC','yNvNzML4','ihrHC2SOCYKGDhjHy2TLzc4','y2fUtxv0yxrL','zxHLy3v0Aw9U','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','y2HLy2TZ','y3jPDgvYAwe','B3jPz2LUv29YA3nWywnL','y2HPBgrFChjVy2vZCW','BMfTzq','ChjLDMLLDW','y3jPDgvYAw9UswrZ','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGD29YA3rYzwuGy2XLyw51Cc4','y2fUy2vSvMvYAwzPy2f0Aw9UCW','q29UzMLYBsb3B3jRzxiGC2H1DgrVD24GyMvMB3jLignHBMnLBgXPBMCGDgHLihj1BI4','C29YDa','ywjHBMrVBMvK','y29TCgXLDgvK','zNjVBuvUDhjPzxm','CNvUDgLTzvjVB3q','ufjprfvdveLptL9qvujmsunFs0vz','zNjLC2HtDgfYDef2ywLSywjSzq','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','u2vUC2L0AxzLigzPBgvZihDVDwXKigjLignVBw1PDhrLzc4GqwrKihrOzw0GDg8GlMDPDgLNBM9YzsbHBMqGCMvXDwvZDcbHig5LDYbWCMv2Awv3lG','Bg9JA1rPBwvVDxrnCW','yxjNCW','uLvox05pvf9bq1rjvKu','C2TPBgXZ','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzdSGBM8GBMv3ihj1BIb3yxmGy3jLyxrLzc4','ls1NAxqTzgLY','yxj0AwzHy3rszxzPzxC','yxv0BW','su5wquXjrf9xt1jlu1bbq0vFtu9erq','C3rHDgvsB290','Dg8TAxnZDwvZ','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','CMvJB3jKvMvYAwzPy2f0Aw9U','DMvYAwzPzwq','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','ic0G','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','C3rHDguUANnVBG','oxDLqMHIsq','BgvKz2vYrMLSzq','ndq0ndK2mhzlC1D0DW','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlMvTywLSicj5B3vazxHHBxbSzs5JB20I','CMvHzhKTzM9YlwfJy2vWDgfUy2u','y2fUy2vSBgvKqxq','zNn5BMntEw5J','y29Kzq','zgLYzwn0B3j5','C2HHmJu2','ueLqruXjtKvFtuLttufuq0G','A2LUza','Ag90zML4','z2L0','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','DgfZAY1ICMvHA2rVD24','mZe0mefhrfrLCW','lcbUB3qGywn0AxzLlG','BgvNywn5lw1Pz3jHDgLVBG','zMvHDhvYzq','l1nlsuXmlM1KigjLzM9YzsbZDgvWici','y3DK','uLvox01ju01bveni','Cgf1C2vK','q2fUy2vSBgvKigj5igv4CgXPy2L0ihjLCxvLC3qUieHPC3rVCNKGD2fZihbYzxnLCNzLzc4','r0Lux0Leru5usvrzx1jfuvvjuKve','CMvWywLYuNvU','BM9Uzq','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','y3j5ChrV','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','CNvU','CMvHBhbHDgHtEw5J','C2HVDY1Yzwy','BwLNCMf0zq','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','C2L6zq','u0vtu0LptL9nsvnnqvrdsa','ywnXDwLYzuXVy2S','zxHWB3j0CW','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','z2L0q29TBw9UrgLY','lI4Vy29Yzs9XDwfSAxr5lwfYDgLMywn0CW','y2fUy2vSrM9YvxbNCMfKzq','C3rHDgvgAwXL','DxrMoa','DxnLCI5LBwfPBa','D2vI','ChjLDMLLD0DPDejVB3rZDhjHCa','yxrVBwLJv3jPDgvkC29U','q2HLy2TWB2LUDcbZDgf0DxmGBxvZDcbIzsaIy29TCgXLDgvKiI4','vhjHBNnHy3rPB246ia','zM9YBwf0u3rHDhvZ','q0Xfqu5vuf9dt05gsvjnqvrjt05FuKvrvuLsruq','r0Lux1bsrvzjrvDFrKfjteve','tg9Hzcb0AguGBwf0y2HPBMCGzg9TywLUihnRAwXSigjLzM9YzsbJB2rPBMC6','Aw1WCM92zs1JB2rLyMfZzs1HCMnOAxrLy3r1CMu','uMvJB3jKigf0igXLyxn0ig9UzsbHy2nLChrHBMnLignYAxrLCMLVBIbHDcbWAxbLBgLUzv9ZDgfYDdSGAxrZihrLEhqGBxvZDcbTyxrJAcbHihf1ywXPDhLqBgfUignYAxrLCMLVBIbLEhbLy3rLze91DgnVBwuU','CMv2lwXPC3q','zxHWzwn0zwrFCgf0Aa','B2jQzwn0','Dw52zxjPzMLLza','ywn0AxzL','CMvTB3zL','D29YA0L0zw1Z','uLvox0Lex1jfuvvjuKve','BgvNywn5lxn1Bw1HCNK','CMvWB3j0CW','Aw5PDc5KzwzHDwX0qNjHBMnO','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','CMv2AxnPB24','C2XPy2u','CNvUDgLTzs11CgDYywrL','uMvZzxqGBxvZDcb1C2uGDgHLihjLy29YzgvKignVB3jKAw5HDg9YihnLC3nPB24U','AxnmAw5RzwrxB3jRDhjLzq','BwfW','tM8GBwfUywDLzcb3B3jRDhjLzsbPCYbHDMfPBgfIBguGzM9YignSzwfUDxaU','zg9JDw1LBNqTyxj0AwzHy3q','DgrKlwXVB3a','su5wquXjrf9svu5Fsu5qvvq','uLvox1nusuXmx0fdveLwrq','D29YA3nWywnL','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5Lig11Dgf0Aw9UCY4','Dhj1BMm','y29TBwL0','zM9Yy2u','Aw5PDgLHBgL6Aw5N','Dg9mB3DLCKnHC2u','u291CMnLihjLDgfPBMvKigf0ia','ChjVzhvJDeLTCgfJDa','C3rHBgu','x19WAxbLBgLUzv9ZDgfYDf9F','iIWGCMvJzwL2zwqGiG','y29TCgf0AwjPBgL0Eq','BgvNywn5rgvMAw5PDgLVBNm','v29YA3rYzwuGy2XLyw51CcbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','C2v0q3vYCMvUDa','BMf0AxzLlxDVCMT0CMvL','CgLWzwXPBMu','D29YA3nWywnLlxjLywr5','su5wquXjrf9dsevds1bpsu5ux1nuqvrvuW','yxb0lw1JCc1NAxqTChjLDMLLDY0','r2L0igLUAxrPywXPEMf0Aw9UigfUzcbHigjHC2vSAw5LignVBw1PDcbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','DMfSDwvZ','C3rVCfjLyxnVBG','mJi2mMj0BKLuBG','Aw5PDgLHBgL6zwq','Bwf4','y29UzMLYBwf0Aw9Uvg9Rzw4','B3bLBKzPBMrPBMDZ','CgvUzgLUz0nYzwf0Aw9UCW','lI4VBgLJzw5Zzs92zxjPzNK','D3jPDgvgAwXLu3LUyW','zw5KC1DPDgG','zMLUza','C3rHCNrZv2L0Aa','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','CMv2Awv3','ChjKlwDLBG','u0fwrsbYB290ignHDxnLigfUzcbYzxbYB2r1y3rPB24GC3rLChmGD2L0AcbYzw1LBwjLCI4','yNjHBMnOrgvSzxrLza','lI4Vy29Yzs9ZzxnZAw9U','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','CMvJB3zLCLj1BKLK','CgLK','C2fTzvDVCMTZCgfJzq','uNvUigrVzxmGBM90ihvZzsbHig1HBMfNzwqGD29YA3rYzwuU','q3jLyxrLihrYywnRAw5NigLZC3vLCW','ls1IyxjL','CMvXDwLYzwrtA2LSBevYCM9Y','D29YA3rYzwuG','uNvUihvZzxmGCgLWzwXPBMuGiG','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','C3vJy2vZCW','uMvXDwLYzwqGCgLWzwXPBMuGC2TPBgWGiG','vw5RBM93BIbWAxbLBgLUzsb0ExbLoIa','BMv4Da','Aw52ywXPza','ls13B3jRlxrYzwu','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlM5HBwuGiLLVDxiGtMfTzsi','C3rHDfn5BMm','ntK1odK4sgHRruzX','qw5VDgHLCIbYDw4GAxmGy3vYCMvUDdSGCMvJB3zLCNKGy2fUBM90ihjLCgXHy2uGAxrZigjPBMrPBMCU','zxjYB3i','DMvYAwzPy2f0Aw9Ux2XLDMvS','C25HChnOB3qTBM90lxjLzNjLC2HLza','Aw50zw50rMLSzq','y2fUy2vSBgf0Aw9U','Bxv0yxrPB24','AxnhAxrszxbVC2L0B3j5','uMv2Awv3igfYy2HPDgvJDhvYzq','y2HLy2TWB2LUDa','y3jLyxrPB24','BMv4DefJDgLVBG','Aw5OzxjPDgvKqxr0zw1WDezSB29Y','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','ChjVzhvJDfrHCMDLDa','vgHPCYbYDw4Gy2fUBM90igjLignOyw5NzwqGDw50AwWGAxrZignVBNrYywn0igLZihzLCMLMAwvKlG','CMv2lxbHCNnL','yxnZAwDU','cLj1BJOG','ueLqruXjtKvFrevgsu5jveLptLnFvJm','C2nVCgu','yxr0zw1WDeLK','r0Lux0jbu0vmsu5fx05pvf9dtevbtG','mty0nZCZmhfhsvzHtG','zgLNzxn0','CMfUzg9Tvvvjra','y3vYCMvUDezPBgu','tevhqunzx1nuqvrfx0LovKfmsuq','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','ls1Szwz0lxjPz2H0','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','yxrVBwLJv3jPDgu','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','Ag9ZDc1VyNnLCNzLza','CMvHzen1CNjLBNq','v09ss1rsruvFqKftrv9cuKfoq0HFtuLtu0LorW','C2vZC2LVBKLK','yxbWzw5KtgvKz2vY','nJG1mdiWrufysvfc','rxHPC3rPBMCGCNvUigLZihrLCM1PBMfSig9YigjLBg9Uz3mGDg8Gyw5VDgHLCIbJB29YzgLUyxrVCI4','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','y2HLy2Tjza','v09ss1rsruvFtK9ux01btKfhruq','y2XVC2vtEw5J','D29YA3nWywnLigzPzwXKCYbOyxzLigLUDMfSAwqGDhLWzxmU','CMvXDwLYzwq','qNjHBMnOihbYzxnLCNzLzdOG','CMvZB2X2zq','cLbPCgvSAw5LoIa','u2f2zwqGy3jLyxrPB24GAw50zw50igHHCYbHBIbPBNzHBgLKihDVCMTZCgfJzsbVCIbIzwXVBMDZihrVigfUB3rOzxiGChjVAMvJDc4','lcbUB3qGCMvZDw1HyMXLlG','iYbqAxbLBgLUzsbSzwrNzxikcLrHC2S6ia','DMvYzgLJDa','su5wquXjrf9qsvbfteLorq','BgvUz3rO','y3jLyxrLzef0','y3jLyxrLv29YA3rYzwu','C2TPBgW','BgLZDfj1BNm','CMvHzezPBgvtEw5J','ChvIBgLJs2v5','C3rHDgu','DxbKyxrLzef0','C3rHDhvZ','z3jPBgWTBwu','C3rHDguTD3jPDgu','v09ss19jtL9gteLhsfq','Dg1WzgLY','C3vNz2vZDfrHC2S','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','y29UzMLYBwvK','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','ls1ZAg93lwn1CNjLBNq','B3bLBG','CgfZC2vK','DgfYz2v0ig11C3qGyMuGCNvUig9YignYzwf0Aw9UlG','Dw5SAw5Ru3LUyW','ru5pru5u','Aw5JBhvKzxm','CMvJB3zLCKnYzwf0Aw9U','CxvHBgL0Eq','lMfNlwTPDc13B3jRDhjLzxm','BwTKAxjtEw5J','uNvUignYzwf0Aw9UihDHCYbPBNrLCNj1ChrLzdSGAxrZihDVCMTZCgfJzsbHBMqGAw50zw50ihDLCMuGChjLC2vYDMvKlG','CMvMCMvZAfnUyxbZAg90','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','zw52','uMvJB3jKzwqGD29YA3nWywnLigrPzMzLCNmGzNjVBsb0AgLZihbYB2PLy3qU','CMvHzhK','uKvrvuLsrurFu0TjteXFtuLtu0LorW','yxbWzw5KrMLSzvn5BMm','D2L0AezPBgvuExbLCW','BwvKAxvT','CMvHzgrPCLn5BMm','DgrK','yMXVy2TLza','y29UzMLN','mJa5nZLAEenLsM8','vu5ltK9xtG','v09ss1rsruvFuefusf9fweLtvfm','ls1Uyw1Llw9UBhK','DgLTzw91Da','C2TPBgXFzgLYzwn0AxzL','C3vNz2vZDgvKx3bPCgvSAw5L','z2vUzxjHDgvsDw5jza','r0Lux0LosvrFq09orKLstufusu9ox1jfuvvjuKve','C2vW','C3rYzxnZlxrLC3qTCgXHBG','zMLUzgLUz3m','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','su5wquXjrf9xt1jlu1bbq0u','yMfZzw5HBwu','CgLWzwXPBMuTC3rHDguUANnVBG','lI4U','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','BgvKz2vY','D29YA3nWywnLig11C3qGyMuGyw4GB2jQzwn0ihDPDgGGBw9KzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','DMvYC2LVBNm','ChjVAMvJDfbHDgG','r0Lux1bsrvzjrvDFu1rbteu','Aw5PDgLHBgL6zq','CxvHBgL0EvzLCNnPB24','B3bLBLn5BMm','BgvNywn5u3rHDgvgAwXLugf0Aa','CNvUDgLTzvbPBG','Agv4','q2fUBM90ignVBxbHCMuGDgHLihDVCMT0CMvLihDPDgHVDxqGAxrZihjLy29YzgvKigjHC2uGyNjHBMnOlG','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','y29TCgXLDgvKu3rLChm','D29YA2vYu3rHDhvZ','DMvYAwz5lxnJB3bL','BwLNCMf0zuXLz2fJEvn0yxrL','DgfZAW','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','uhjVAMvJDcbMAwXLCYbJAgfUz2vKigfMDgvYihbYzxzPzxCUifjLCxvLC3qGysbUzxCGy29UzMLYBwf0Aw9UihrVA2vUlG','AxneAxjLy3rVCNK','D2fPDa','qNvNlwzPEcbZAwDUywXZigrLDgvJDgvKlG','lM1Pz3jHDgLVBNm','BwTKDgvTCfn5BMm','Aw50zwDYAxr5lw1HBMLMzxn0lMPZB24','ls12zxjPzNK','CgvUzgLUz0nYzwf0Aw9U','C25HChnOB3q','v09ss1rsruvFuKvnt1zfx0zbsuXfra','zMLSDgvY','A2LSBa','Aw5PDgLHBgL6zuDPDa','BgLZDfj1BNngCM9TuM9VDa','qurnsvntsu9ox0nptKzmsunu','ls1JB3vUDa','su5wquXjrf9rvufmsvrzx1bmqu4','Bw9KzwXszwnLAxb0','CMvJzwLWDe9IC2vYDMf0Aw9UCW','rg9JDw1LBNqGDgHLigzPEa','CNvUswq','zgLYBMfTzq','vgfZAYaI','v09ss1rsruvFreLsvfK','zgvMAw5PDgLVBG','y29VCMrPBMf0B3i','CNvUCW','DgfYz2v0','yNjHBMnO','zxHWBg9Yzv9JB2rLiezjuLnuigzVCIbJB2rLlIbNCMvWx3nLyxjJAcbptKXzig5VBI1JB2rLicHJB25MAwCVzg9JCY8Uzw52ks4GtM8Gz3jLCcbSB29WCY4','su5wquXjrf9uqvnlx0Le','CNvUDgLTzvzLCNnPB24','y3jLyxrPBMC','Aw5OzxjPDfvWz3jHzgvdB250zxH0','q29UzMLNDxjLieDPDcb1C2vYlM5HBwuGyw5KihvZzxiUzw1HAwWGyMvMB3jLignYzwf0Aw5NihrOzsbIyxnLBgLUzsbJB21TAxqU','D2LUmZi','sg90zML4ihnJB3bLigP1C3rPzMLJyxrPB24GBxvZDcbJB250ywLUigf0igXLyxn0ideWignOyxjHy3rLCNmU','AxntywzLsw50zwDLCG','C3rKzxjY','D29YA3nWywnLignVBNrHAw5ZigfUihvUC3vWCg9YDgvKigzPzwXKoYbZzwXLy3qGDgHLihDVCMTZCgfJzsb0AhjVDwDOihrOzsbnq1aGC2vYDMvYigjPBMrPBMCU','DhjHBNnHy3rPB25jza','BgvNywn5lq','ywnJzxb0yw5JzunYAxrLCMLH','y3vYCMvUDc5QC29U','D29YA3nWywnLlxjLC29SDxrPB24','lMfNzw50CY9WAxbLBgLUzxmV','BwLNCMf0zvn0yxrLuM9VDa','CMvJB3jKrM9YzwLNBLj1BG','BNb4igfWDc1Ty3aTywDLBNqTC2v0DxaGDxbKyxrLic0TChjVAMvJDcaI','zgLHz25VC3rPyW','CMvWBgf5','C2nOzw1HvMvYC2LVBG','z2v0u3rHDhvZ','CgXHBM5LzeL0zw1Z','zxHPC3rZu3LUyW','lMPZB24','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','CgLUtgvNywn5rgvMAw5PDgLVBG','ls1WB3jJzwXHAw4','DgfZA0rPCG','CMvZB2X2zvDVCMTZCgfJzq','sevbra','Aw50zxjYDxb0zwq','qundrvbuqu5drv9btfjfqurzx0fdveLwrq','vgHPCYbYDw4GCMvTywLUCYbYzwfKywjSzsWGyNv0igL0CYbOAxn0B3jPy2fSignVBNrYywn0ignHBM5VDcbIzsb2zxjPzMLLzcbMB3iGBxv0yxrPB24U','zMX1DhrLCG','DgvYBwLUywW','CMvZzxq','A2v5CW','v09ss1rsruvFvu5nrvjhruq','DhjHBNnHy3q','zgLHz25VC2u','ChvZAa','zxHWBgLJAxqTy3jLyxrPB24TCMvZzxq','AgfZtgvNywn5u3rHDgu','rMvHDhvYzsbezxzLBg9WBwvUDa','C3rHDhvZlwLUC3bLy3rPB24','D3jPDgvtDgf0zq','y29UDhjHy3qTDw5HDMfPBgfIBgu','uLvox05pvf9gt1vora','v09ss0vsx1nut1bFvu5dt05gsvjnruq','ruvysvnu','uNvUigLZia','ms54ihrHC2SGC3rHDguGAw1WB3j0zwq','Aw1WCM92zs1HCMnOAxrLy3r1CMu','y3jLyxrLsgfZAa','AxnbCNjHEq','y2fUy2vSBgvK','vefts19btfjfqurzx0fdveLwrq','y3jLyxrPB25jBNrLBNrgAwXL','Bw9Kzq','vefts19srvfvsvjfra','zMfPBgvK','CgfYC2u','u2vZC2LVBLj1BNrPBwu','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','zML4lwfUzc10zxn0','q2fUBM90ihjLywqGr2L0igjVB3rZDhjHCcbWCMv2Awv3lG','CMvMCY9OzwfKCY8','iIb3yxmGBM90igzVDw5KlG','v09ss1rsruvFq1jfqvrfx0zbsuXfra','CgXHBG','Bw9IAwXL','C2LNBMvKlxjLBgvHC2u','BwvZC2fNzq','C2TPBgXqAw5Z','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5LihjLC2v0lG','ueLqruXjtKvFrevgsu5jveLptLm','BgfZDezHAwX1CMu','r0Lux0Lorevyx0zjteu','CMvJB3zLCNKTAw5ZCgvJDgLVBG','q1jfqvrjt05FtK9ux1nuqvjuruq','u0fwrsbquKqGC2nVCguGyw5KigTLEsbYzxf1AxjLBwvUDhmGD2L0AcbYzw1LBwjLCI4','C29Tzq','y29UzMLKzw5Jzq','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','C3rYAw5N','C3rLChm','sw50zw50ig93BMvYC2HPCcbVCIbJDxjYzw50ihDVCMTZCgfJzsbJyw5UB3qGyMuGChjVDMvUlG','Aw1Wywn0','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','uMvZB2X2zsbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','C3rHCNrLzef0','BgvKz2vYlxDYAxrL','Bw9KzwXtDgf0Dxm','BwLNCMf0Aw9Uv2fYBMLUz3m','Bg9JA0zPBgu','rgvMyxvSDgLUzYb0BYb0AguGC2fMzxn0igz1BgWGCgLWzwXPBMuU','AgfZ','C3rYAw5NAwz5','u1rfuf9pvvrFt0zFt1jervi','y3vYCMvUDa','DxnL','lI4Vy29Yzs9LEgvJDxrPB24','y29WEuzPBgvtEw5J','DMvYC2LVBG','C3rKB3v0','BwvYz2uTyMfZzq','y29UDhjHy3q','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','rxHWzwn0zwqGC3rLCcaI','cK5LEhqGC3rLCdOG','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','BwLZC2LUz1f1ywXPDhLdAgvJA3m','lI4VlI4VCgfJA2fNzs5QC29U','v2vIifvjoIaUywDLBNrZl3nRAwXSCY91As1ZDhLSzs1YDwXLCY9ts0Lmtc5Tza'];_0xf31d=function(){return _0x3b62d4;};return _0xf31d();}const _0xc99a51={};_0xc99a51['id']=_0x29c9c8(0x322),_0xc99a51['name']=_0x29c9c8(0x290),_0xc99a51['skill']=_0x29c9c8(0x1dc);const _0x57acb6={};_0x57acb6['id']=_0x29c9c8(0x15d),_0x57acb6[_0x29c9c8(0x143)]=_0x29c9c8(0x1e5),_0x57acb6['skill']='task-breakdown';const _0x2a09ad={};_0x2a09ad['id']=_0x29c9c8(0x254),_0x2a09ad[_0x29c9c8(0x143)]=_0x29c9c8(0x356),_0x2a09ad[_0x29c9c8(0x22e)]=_0x29c9c8(0x1b3);const _0x182f32={};_0x182f32[_0x29c9c8(0x143)]='Bug\x20Fix',_0x182f32[_0x29c9c8(0x2f2)]=[_0x2b6e2a,_0x4ae650,_0xc99a51,_0x57acb6,_0x2a09ad];const _0x3f7216={};_0x3f7216['id']='verify-scope',_0x3f7216[_0x29c9c8(0x143)]=_0x29c9c8(0x38a),_0x3f7216[_0x29c9c8(0x22e)]=null;const _0xa984ca={};_0xa984ca['id']='fix-and-test',_0xa984ca[_0x29c9c8(0x143)]='Apply\x20fix\x20and\x20regression\x20test',_0xa984ca[_0x29c9c8(0x22e)]=_0x29c9c8(0x1b3);const _0x1f3415={};_0x1f3415[_0x29c9c8(0x143)]=_0x29c9c8(0x349),_0x1f3415['steps']=[_0x3f7216,_0xa984ca];const _0x392fdc={};_0x392fdc['feature']=_0x409375,_0x392fdc[_0x29c9c8(0x139)]=_0x182f32,_0x392fdc[_0x29c9c8(0x171)]=_0x1f3415;const PIPELINE_DEFINITIONS=_0x392fdc,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(_0x66e4b6,_0x5b54b0,_0x44aea4={}){const _0x2d5daa={'success':![],'code':_0x66e4b6,'error':_0x5b54b0,..._0x44aea4};return _0x2d5daa;}function creationFailure(_0x5ea234,_0x258831){const _0x2ddabb=_0x29c9c8;return{'phase':_0x258831,'code':typeof _0x5ea234[_0x2ddabb(0x16c)]==='string'?_0x5ea234[_0x2ddabb(0x16c)]:_0x2ddabb(0x258),'syscall':typeof _0x5ea234[_0x2ddabb(0x367)]==='string'?_0x5ea234[_0x2ddabb(0x367)]:null,'path':typeof _0x5ea234[_0x2ddabb(0x338)]===_0x2ddabb(0x2f1)?_0x5ea234[_0x2ddabb(0x338)]:null,'message':typeof _0x5ea234[_0x2ddabb(0x2e5)]===_0x2ddabb(0x2f1)?_0x5ea234[_0x2ddabb(0x2e5)][_0x2ddabb(0x1ac)](0x0,0xf0):null};}function normalizePath(_0x199e4d){const _0x4b9c53=_0x29c9c8;try{return fs[_0x4b9c53(0x185)](_0x199e4d);}catch{return path[_0x4b9c53(0x224)](_0x199e4d);}}function overlappingScope(_0x280dd3=[],_0xf2a9f4=[],_0xb6fe5){const _0x1cf5a0=_0x29c9c8;if(!_0x280dd3[_0x1cf5a0(0x22b)]||!_0xf2a9f4[_0x1cf5a0(0x22b)]||[..._0x280dd3,..._0xf2a9f4][_0x1cf5a0(0x2ee)](_0x2d5b61=>/[*?\[\]{}!]/['test'](_0x2d5b61)))return!![];const _0xc996ac=_0x38167f=>{const _0x178283=_0x1cf5a0,_0x5052a0=normalizePath(path['resolve'](_0xb6fe5,_0x38167f[_0x178283(0x34d)]('\x5c','/')));return process[_0x178283(0x346)]===_0x178283(0x2a0)?_0x5052a0['toLowerCase']():_0x5052a0;};return _0x280dd3[_0x1cf5a0(0x2ee)](_0x2d8384=>_0xf2a9f4[_0x1cf5a0(0x2ee)](_0x356bf3=>{const _0xdc57e7=_0x1cf5a0,_0x58f4fc=_0xc996ac(_0x2d8384),_0xd1e39f=_0xc996ac(_0x356bf3);return _0x58f4fc===_0xd1e39f||_0x58f4fc[_0xdc57e7(0x1d9)](_0xd1e39f+path[_0xdc57e7(0x260)])||_0xd1e39f[_0xdc57e7(0x1d9)](_0x58f4fc+path[_0xdc57e7(0x260)]);}));}function sleep(_0x39060f){const _0x49a3de=_0x29c9c8;Atomics[_0x49a3de(0x27e)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x39060f);}class PipelineManager{constructor(_0x1b4259,_0xabdb1c={}){const _0x339e3e=_0x29c9c8;this[_0x339e3e(0x26c)]=normalizePath(_0x1b4259),this[_0x339e3e(0x24c)]=_0xabdb1c['env']||process.env,this[_0x339e3e(0x14e)]=_0xabdb1c[_0x339e3e(0x14e)]||process.env.APT_RUNTIME_ROOT||require(_0x339e3e(0x330))['installedRuntimeRoot'](),this['runtimePublicKey']=_0xabdb1c['publicKey']||require(_0x339e3e(0x1d5))[_0x339e3e(0x14f)],this['developmentMode']=!fs['existsSync'](path[_0x339e3e(0x336)](__dirname,'..','..',_0x339e3e(0x282))),this['now']=_0xabdb1c[_0x339e3e(0x366)]||(()=>new Date()),this[_0x339e3e(0x385)]=_0xabdb1c[_0x339e3e(0x385)]||crypto['randomBytes'],this[_0x339e3e(0x153)]=_0xabdb1c[_0x339e3e(0x153)]||0x7d0,this[_0x339e3e(0x2fa)]=[],this[_0x339e3e(0x13c)]=new Execution(this),this[_0x339e3e(0x263)]();if(_0xabdb1c[_0x339e3e(0x187)]!==![])this['migrateLegacyStates']();}static[_0x29c9c8(0x239)](_0x2b41a8){const _0x3704d4=_0x29c9c8;if(typeof _0x2b41a8!==_0x3704d4(0x2f1))return'';return _0x2b41a8['toLowerCase']()[_0x3704d4(0x361)]()[_0x3704d4(0x369)](/[^a-z0-9_-]+/g,'-')[_0x3704d4(0x369)](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')[_0x3704d4(0x1ac)](0x0,0x40);}static[_0x29c9c8(0x333)](_0x20fe87){const _0x599105=_0x29c9c8;if(typeof _0x20fe87!==_0x599105(0x2f1)||!_0x20fe87[_0x599105(0x361)]())return error(_0x599105(0x2d8),'A\x20canonical\x20task\x20ID\x20is\x20required.');if(_0x20fe87!==_0x20fe87[_0x599105(0x361)]()||!TASK_PATTERN[_0x599105(0x381)](_0x20fe87))return error(_0x599105(0x29b),'Task\x20must\x20be\x20a\x20lowercase\x20canonical\x20ID\x20using\x20letters,\x20numbers,\x20hyphens,\x20or\x20underscores\x20(max\x2064).',{'suggested_task':PipelineManager[_0x599105(0x239)](_0x20fe87)});return null;}static[_0x29c9c8(0x373)](_0x20d9bc){const _0x14b6fa=_0x29c9c8;if(typeof _0x20d9bc!==_0x14b6fa(0x2f1)||!RUN_PATTERN['test'](_0x20d9bc))return error(_0x14b6fa(0x328),_0x14b6fa(0x37b));return null;}static[_0x29c9c8(0x370)](_0x44cd69){const _0x5529a3=_0x29c9c8;if(_0x44cd69===undefined)return null;if(!_0x44cd69||typeof _0x44cd69!==_0x5529a3(0x1a1)||Array[_0x5529a3(0x2d3)](_0x44cd69))return error('INVALID_WORKSPACE',_0x5529a3(0x26a));const _0x3c5ec7=new Set([_0x5529a3(0x2d7),_0x5529a3(0x23c),'initializeGit','confirmationToken',_0x5529a3(0x340)]);if(Object['keys'](_0x44cd69)[_0x5529a3(0x2ee)](_0x1aac30=>!_0x3c5ec7[_0x5529a3(0x2fd)](_0x1aac30)))return error(_0x5529a3(0x264),_0x5529a3(0x2a4));if(_0x44cd69[_0x5529a3(0x2d7)]!==undefined&&!['auto',_0x5529a3(0x300),'worktree'][_0x5529a3(0x244)](_0x44cd69[_0x5529a3(0x2d7)]))return error('INVALID_WORKSPACE',_0x5529a3(0x33c));if([_0x5529a3(0x23c),'initializeGit'][_0x5529a3(0x2ee)](_0x177be3=>_0x44cd69[_0x177be3]!==undefined&&typeof _0x44cd69[_0x177be3]!=='boolean')||[_0x5529a3(0x1d2),_0x5529a3(0x340)][_0x5529a3(0x2ee)](_0x388233=>_0x44cd69[_0x388233]!==undefined&&typeof _0x44cd69[_0x388233]!==_0x5529a3(0x2f1)))return error('INVALID_WORKSPACE',_0x5529a3(0x221));return null;}[_0x29c9c8(0x331)](_0x24892d,_0x192738={}){const _0x50ab33=_0x29c9c8,_0x11d529={};_0x11d529['cwd']=_0x192738[_0x50ab33(0x17a)]||this[_0x50ab33(0x26c)],_0x11d529[_0x50ab33(0x24c)]={...this[_0x50ab33(0x24c)],..._0x192738['env']||{}},_0x11d529['encoding']=_0x50ab33(0x192),_0x11d529[_0x50ab33(0x32f)]=!![],_0x11d529[_0x50ab33(0x25b)]=_0x192738[_0x50ab33(0x25b)]||0x7530;const _0x33caa4=spawnSync(_0x50ab33(0x172),_0x24892d,_0x11d529);return{'ok':!_0x33caa4['error']&&_0x33caa4['status']===0x0,'status':_0x33caa4[_0x50ab33(0x234)],'stdout':(_0x33caa4[_0x50ab33(0x305)]||'')[_0x50ab33(0x361)](),'stderr':(_0x33caa4[_0x50ab33(0x2a3)]||_0x33caa4[_0x50ab33(0x1f5)]?.[_0x50ab33(0x2e5)]||'')[_0x50ab33(0x361)]()};}[_0x29c9c8(0x263)](){const _0x8efd34=_0x29c9c8,_0x40b1da=require('../core/git-context')['repositoryContext'](this[_0x8efd34(0x26c)],this[_0x8efd34(0x24c)]);this[_0x8efd34(0x1fb)]=_0x40b1da[_0x8efd34(0x1fb)],this['gitCommonDir']=_0x40b1da[_0x8efd34(0x18e)]?normalizePath(_0x40b1da[_0x8efd34(0x18e)]):null,this[_0x8efd34(0x15c)]=this['gitCommonDir']?path['join'](this[_0x8efd34(0x18e)],'apt-mcp-agent',_0x8efd34(0x137)):path[_0x8efd34(0x336)](this['projectPath'],_0x8efd34(0x133),_0x8efd34(0x137)),this[_0x8efd34(0x271)]=path[_0x8efd34(0x336)](this[_0x8efd34(0x26c)],'.agents',_0x8efd34(0x266));}[_0x29c9c8(0x25e)](){const _0x39a4b7=_0x29c9c8,_0x32f8ed=this[_0x39a4b7(0x366)]()['toISOString']()['replace'](/[-:]/g,'')[_0x39a4b7(0x369)](/\.\d{3}/,'');return _0x32f8ed+'-'+this['randomBytes'](0x4)['toString'](_0x39a4b7(0x273));}[_0x29c9c8(0x2b8)](_0x3fb8f8){const _0x241793=_0x29c9c8;return path[_0x241793(0x336)](this['stateRoot'],_0x3fb8f8);}['runDir'](_0x4ce388,_0x32bdb8){const _0x1b515e=_0x29c9c8;return path[_0x1b515e(0x336)](this[_0x1b515e(0x2b8)](_0x4ce388),_0x1b515e(0x297),_0x32bdb8);}[_0x29c9c8(0x20e)](_0x42444b){const _0x507b0b=_0x29c9c8;return path[_0x507b0b(0x336)](this[_0x507b0b(0x2b8)](_0x42444b),_0x507b0b(0x2a8));}[_0x29c9c8(0x191)](_0x5a7111,_0x12d6d4){const _0x14d7f8=_0x29c9c8;return path[_0x14d7f8(0x336)](this['runDir'](_0x5a7111,_0x12d6d4),_0x14d7f8(0x164));}[_0x29c9c8(0x166)](_0x46445b,_0x2ae356){const _0x421ae=_0x29c9c8;return path[_0x421ae(0x336)](this['runDir'](_0x46445b,_0x2ae356),_0x421ae(0x357));}[_0x29c9c8(0x214)](_0x340eea,_0xde1621){const _0x1fd457=_0x29c9c8,_0x15f377={};_0x15f377[_0x1fd457(0x379)]=!![],fs['mkdirSync'](path[_0x1fd457(0x292)](_0x340eea),_0x15f377);const _0x3cbc7b=_0x340eea+'.'+process[_0x1fd457(0x1e2)]+'.'+this[_0x1fd457(0x385)](0x4)[_0x1fd457(0x138)]('hex')+'.tmp',_0x4cfb59=fs[_0x1fd457(0x270)](_0x3cbc7b,'wx');try{fs[_0x1fd457(0x1d6)](_0x4cfb59,_0xde1621,_0x1fd457(0x192)),fs[_0x1fd457(0x16b)](_0x4cfb59);}finally{fs[_0x1fd457(0x220)](_0x4cfb59);}fs[_0x1fd457(0x389)](_0x3cbc7b,_0x340eea);}[_0x29c9c8(0x196)](_0x5b401f,_0x2cd6f1){const _0x1e2f2d=_0x29c9c8;this[_0x1e2f2d(0x214)](_0x5b401f,JSON[_0x1e2f2d(0x2fe)](_0x2cd6f1,null,0x2)+'\x0a');}[_0x29c9c8(0x2fb)](_0xfd312e){const _0xb7571b=_0x29c9c8;return path[_0xb7571b(0x336)](this['stateRoot'],'.locks',_0xfd312e+'.lock');}[_0x29c9c8(0x18b)](_0x742cf){const _0x7e6e16=_0x29c9c8,_0x57e6b2=this[_0x7e6e16(0x2fb)](_0x742cf),_0xa7561a={};_0xa7561a['recursive']=!![],fs[_0x7e6e16(0x248)](path[_0x7e6e16(0x292)](_0x57e6b2),_0xa7561a);const _0x5c467e=Date[_0x7e6e16(0x366)](),_0x503ef0=JSON[_0x7e6e16(0x2fe)]({'pid':process[_0x7e6e16(0x1e2)],'token':crypto[_0x7e6e16(0x20d)](),'createdAt':Date[_0x7e6e16(0x366)]()});while(Date[_0x7e6e16(0x366)]()-_0x5c467e<=this['lockTimeoutMs']){try{const _0x10d64e=fs['openSync'](_0x57e6b2,'wx');try{fs[_0x7e6e16(0x1d6)](_0x10d64e,_0x503ef0),fs['fsyncSync'](_0x10d64e);}finally{fs['closeSync'](_0x10d64e);}return()=>{const _0x45008c=_0x7e6e16;try{if(fs[_0x45008c(0x230)](_0x57e6b2,'utf8')===_0x503ef0)fs[_0x45008c(0x242)](_0x57e6b2);}catch{}};}catch(_0x4e0673){if(_0x4e0673[_0x7e6e16(0x16c)]!==_0x7e6e16(0x2ce))throw _0x4e0673;try{const _0x2b5438=JSON[_0x7e6e16(0x2da)](fs['readFileSync'](_0x57e6b2,_0x7e6e16(0x192)));let _0x29d967=!![];if(!Number[_0x7e6e16(0x2a2)](_0x2b5438[_0x7e6e16(0x1e2)])||_0x2b5438[_0x7e6e16(0x1e2)]<=0x0)throw new Error('Invalid\x20owner');try{process[_0x7e6e16(0x288)](_0x2b5438[_0x7e6e16(0x1e2)],0x0);}catch(_0x9ac59b){_0x29d967=_0x9ac59b[_0x7e6e16(0x16c)]!=='ESRCH';}if(!_0x29d967&&Date[_0x7e6e16(0x366)]()-_0x2b5438[_0x7e6e16(0x22c)]>this[_0x7e6e16(0x153)]){fs[_0x7e6e16(0x242)](_0x57e6b2);continue;}}catch{}sleep(0x14);}}const _0x5bd212={};_0x5bd212[_0x7e6e16(0x16c)]=_0x7e6e16(0x34c);throw Object['assign'](new Error(_0x7e6e16(0x215)+_0x742cf+'\x22.'),_0x5bd212);}['withLock'](_0x4d22f6,_0x55b69c){const _0x29fad6=_0x29c9c8;let _0x342893;try{return _0x342893=this[_0x29fad6(0x18b)](_0x4d22f6),_0x55b69c();}catch(_0x216de1){if(_0x216de1[_0x29fad6(0x16c)]===_0x29fad6(0x34c))return error(_0x216de1['code'],_0x216de1[_0x29fad6(0x2e5)]);throw _0x216de1;}finally{if(_0x342893)_0x342893();}}['hasLegacyState'](){const _0x3dc606=_0x29c9c8;if(fs[_0x3dc606(0x2b3)](this[_0x3dc606(0x271)]))return!![];const _0x50d4b3=new Set([path[_0x3dc606(0x336)](this['projectPath'],_0x3dc606(0x133),'pipelines'),this[_0x3dc606(0x15c)]]);for(const _0x2e8668 of _0x50d4b3){if(!fs['existsSync'](_0x2e8668))continue;const _0x278a3e={};_0x278a3e[_0x3dc606(0x251)]=!![];if(fs[_0x3dc606(0x253)](_0x2e8668,_0x278a3e)['some'](_0x13fc67=>_0x13fc67[_0x3dc606(0x27d)]()&&!_0x13fc67[_0x3dc606(0x143)][_0x3dc606(0x1d9)]('.')&&fs['existsSync'](path[_0x3dc606(0x336)](_0x2e8668,_0x13fc67[_0x3dc606(0x143)],_0x3dc606(0x164)))))return!![];}return![];}[_0x29c9c8(0x364)](){const _0x5d009c=_0x29c9c8;if(!this[_0x5d009c(0x2c7)]())return;const _0x1d670f=this['acquireLock'](_0x5d009c(0x177));try{this[_0x5d009c(0x279)](),this[_0x5d009c(0x173)]();}finally{_0x1d670f();}}[_0x29c9c8(0x351)](_0x16d332){const _0xc4abd4=_0x29c9c8;try{return JSON['parse'](fs[_0xc4abd4(0x230)](_0x16d332,_0xc4abd4(0x192)));}catch(_0x2b765f){if(_0x2b765f[_0xc4abd4(0x16c)]!==_0xc4abd4(0x243)&&!(_0x2b765f instanceof SyntaxError))throw _0x2b765f;return null;}}['readCurrent'](_0x5186de){const _0x87bfce=_0x29c9c8,_0xf62af9=this[_0x87bfce(0x351)](this[_0x87bfce(0x20e)](_0x5186de));if(!_0xf62af9?.['runId'])return null;return this['readRun'](_0x5186de,_0xf62af9[_0x87bfce(0x291)]);}['readRun'](_0x29e4ca,_0x17c8a5){const _0x4a6b7f=_0x29c9c8;return this['execution'][_0x4a6b7f(0x347)](_0x29e4ca,_0x17c8a5,this['readJson'](this[_0x4a6b7f(0x191)](_0x29e4ca,_0x17c8a5)));}['contract'](_0x30f359){const _0x336295=_0x29c9c8,_0x26ed40={};_0x26ed40[_0x336295(0x1fa)]=_0x336295(0x255),_0x26ed40['code']='FOREIGN_WORKSPACE_STATE';if(!this[_0x336295(0x353)](_0x30f359))return _0x26ed40;const _0x3bbbaf={};return _0x3bbbaf[_0x336295(0x14e)]=this['runtimeRoot'],_0x3bbbaf[_0x336295(0x231)]=this[_0x336295(0x376)],_0x3bbbaf[_0x336295(0x371)]=this[_0x336295(0x371)],_0x3bbbaf[_0x336295(0x1c3)]=PIPELINE_DEFINITIONS,inspectRunContract(_0x30f359,_0x3bbbaf);}[_0x29c9c8(0x353)](_0xb3440b){const _0x58d4b0=_0x29c9c8;return[_0xb3440b?.[_0x58d4b0(0x141)],_0xb3440b?.[_0x58d4b0(0x1b6)]?.[_0x58d4b0(0x338)]][_0x58d4b0(0x287)](Boolean)[_0x58d4b0(0x2ee)](_0x188643=>{const _0x526fd3=_0x58d4b0;try{return require(_0x526fd3(0x13e))[_0x526fd3(0x1e3)](_0x188643,this['projectPath']);}catch{return![];}});}[_0x29c9c8(0x2ac)](_0x1cf596){const _0x311014=_0x29c9c8,_0x114cb9={};_0x114cb9['code']=_0x311014(0x1cc),_0x114cb9[_0x311014(0x27a)]=_0x1cf596['task'],_0x114cb9[_0x311014(0x291)]=_0x1cf596[_0x311014(0x291)];const _0x1d2a92=_0x114cb9;this[_0x311014(0x275)]||=[];if(!this[_0x311014(0x275)][_0x311014(0x2ee)](_0x236412=>_0x236412[_0x311014(0x27a)]===_0x1cf596['task']&&_0x236412[_0x311014(0x291)]===_0x1cf596[_0x311014(0x291)]))this[_0x311014(0x275)][_0x311014(0x2c5)](_0x1d2a92);}['pinLegacyDefinition'](_0x4d9f6f){const _0xa61c8b=_0x29c9c8;_0x4d9f6f[_0xa61c8b(0x295)]=JSON['parse'](JSON[_0xa61c8b(0x2fe)](PIPELINE_DEFINITIONS[_0x4d9f6f[_0xa61c8b(0x1c7)]]));const _0x848b7a=path[_0xa61c8b(0x336)](__dirname,'..','..',_0xa61c8b(0x282)),_0x5442f7=fs[_0xa61c8b(0x2b3)](_0x848b7a);_0x4d9f6f[_0xa61c8b(0x272)]={'source':_0x5442f7?_0xa61c8b(0x2e4):_0xa61c8b(0x365),'version':require('../../package.json')[_0xa61c8b(0x304)],'digest':_0x5442f7?crypto[_0xa61c8b(0x2d2)](_0xa61c8b(0x16e))[_0xa61c8b(0x321)](JSON[_0xa61c8b(0x2fe)](JSON['parse'](fs[_0xa61c8b(0x230)](_0x848b7a,_0xa61c8b(0x192)))))[_0xa61c8b(0x20c)](_0xa61c8b(0x273)):null,'definitionHash':crypto[_0xa61c8b(0x2d2)]('sha256')[_0xa61c8b(0x321)](JSON[_0xa61c8b(0x2fe)](_0x4d9f6f[_0xa61c8b(0x295)]))[_0xa61c8b(0x20c)](_0xa61c8b(0x273))};}[_0x29c9c8(0x17f)](_0x245a06,_0x400169){const _0x57833b=_0x29c9c8;return this[_0x57833b(0x375)](_0x245a06,()=>{const _0x119ff7=_0x57833b,_0x4dc602=this[_0x119ff7(0x33b)](_0x245a06,_0x400169);return _0x4dc602?.[_0x119ff7(0x2b0)]===0x3&&this['contract'](_0x4dc602)[_0x119ff7(0x1fa)]!==_0x119ff7(0x255)&&(this['atomicWriteJson'](this[_0x119ff7(0x191)](_0x245a06,_0x400169),_0x4dc602),this['execution'][_0x119ff7(0x269)](_0x4dc602)),_0x4dc602;});}[_0x29c9c8(0x2d6)](_0x22d6b0,_0x2f5712){const _0x340116=_0x29c9c8;return path[_0x340116(0x336)](this[_0x340116(0x15c)],_0x340116(0x334),_0x22d6b0,_0x2f5712+_0x340116(0x2b4));}[_0x29c9c8(0x284)](_0x3e6a29){const _0x3e9637=_0x29c9c8,_0x249d6e=path[_0x3e9637(0x336)](this['stateRoot'],_0x3e9637(0x334),_0x3e6a29);if(!fs[_0x3e9637(0x2b3)](_0x249d6e))return null;for(const _0x50c987 of fs[_0x3e9637(0x253)](_0x249d6e)){const _0x45f96e=this['readJson'](path['join'](_0x249d6e,_0x50c987)),_0x252681={};_0x252681[_0x3e9637(0x234)]=_0x3e9637(0x1ef),_0x252681[_0x3e9637(0x36e)]=_0x50c987;if(!_0x45f96e)return _0x252681;const _0xb6ee97={};_0xb6ee97['status']=_0x3e9637(0x1ef),_0xb6ee97[_0x3e9637(0x36e)]=_0x50c987;if(_0x45f96e[_0x3e9637(0x27a)]!==_0x3e6a29||PipelineManager[_0x3e9637(0x373)](_0x45f96e['runId']))return _0xb6ee97;if([_0x3e9637(0x29d),_0x3e9637(0x1c8),_0x3e9637(0x2bb)][_0x3e9637(0x244)](_0x45f96e[_0x3e9637(0x234)])&&!this[_0x3e9637(0x33b)](_0x3e6a29,_0x45f96e['runId']))return _0x45f96e;}return null;}[_0x29c9c8(0x1d4)](_0x317abc){const _0x3d301b=_0x29c9c8,_0x405f5d=path[_0x3d301b(0x336)](this['stateRoot'],_0x3d301b(0x334));if(!fs[_0x3d301b(0x2b3)](_0x405f5d))return[];const _0x255759={};_0x255759[_0x3d301b(0x251)]=!![];const _0x40fac3=_0x317abc?[_0x317abc]:fs[_0x3d301b(0x253)](_0x405f5d,_0x255759)[_0x3d301b(0x287)](_0x4fcf11=>_0x4fcf11[_0x3d301b(0x27d)]())[_0x3d301b(0x1b0)](_0xdc50d1=>_0xdc50d1[_0x3d301b(0x143)]),_0x25c69e=[];for(const _0x211dc9 of _0x40fac3){const _0x1c9b5c=path[_0x3d301b(0x336)](_0x405f5d,_0x211dc9);if(!fs['existsSync'](_0x1c9b5c))continue;for(const _0x22afbf of fs['readdirSync'](_0x1c9b5c)[_0x3d301b(0x287)](_0x4765fb=>_0x4765fb[_0x3d301b(0x1d7)](_0x3d301b(0x2b4)))){const _0x25fbaf=this['readJson'](path[_0x3d301b(0x336)](_0x1c9b5c,_0x22afbf));if(!_0x25fbaf||_0x25fbaf['task']!==_0x211dc9||PipelineManager[_0x3d301b(0x373)](_0x25fbaf[_0x3d301b(0x291)])||!['creating',_0x3d301b(0x1c8),'interrupted'][_0x3d301b(0x244)](_0x25fbaf[_0x3d301b(0x234)])||this['readRun'](_0x211dc9,_0x25fbaf[_0x3d301b(0x291)]))continue;const _0x2198ae=!PipelineManager[_0x3d301b(0x370)](_0x25fbaf[_0x3d301b(0x382)]),_0x3d1d1b=_0x25fbaf[_0x3d301b(0x1b6)]&&!_0x25fbaf[_0x3d301b(0x1b6)][_0x3d301b(0x350)]&&typeof _0x25fbaf[_0x3d301b(0x1b6)][_0x3d301b(0x338)]===_0x3d301b(0x2f1)&&normalizePath(_0x25fbaf['workspace'][_0x3d301b(0x338)])===this[_0x3d301b(0x26c)],_0x589bab=_0x25fbaf[_0x3d301b(0x141)]===undefined?_0x3d1d1b:typeof _0x25fbaf[_0x3d301b(0x141)]===_0x3d301b(0x2f1)&&normalizePath(_0x25fbaf[_0x3d301b(0x141)])===this[_0x3d301b(0x26c)];_0x25c69e[_0x3d301b(0x2c5)]({'task':_0x211dc9,'runId':_0x25fbaf['runId'],'status':_0x25fbaf['status'],'originWorkspace':_0x25fbaf[_0x3d301b(0x141)]||null,'requestedWorkspace':_0x25fbaf['requestedWorkspace']||null,'workspace':_0x25fbaf[_0x3d301b(0x1b6)]||null,'runtimeVersion':_0x25fbaf[_0x3d301b(0x29c)]||null,'error':_0x25fbaf[_0x3d301b(0x1f5)]||null,'intentFile':path[_0x3d301b(0x336)](_0x1c9b5c,_0x22afbf),'availableActions':{'resume':_0x2198ae&&_0x589bab&&_0x3d1d1b,'abandon':_0x2198ae&&_0x589bab&&_0x3d1d1b&&!this['readCurrent'](_0x211dc9)}});}}return _0x25c69e;}[_0x29c9c8(0x245)](_0x73f2be,_0x317121,_0x2fe61e){const _0xf76bb9=PipelineManager['validateRunId'](_0x317121);if(_0xf76bb9)return _0xf76bb9;return this['withLock'](_0x73f2be,()=>{const _0x21da37=_0x3522,_0x2db242=this[_0x21da37(0x2d6)](_0x73f2be,_0x317121),_0x126370=this['readJson'](_0x2db242);if(!_0x126370||_0x126370['task']!==_0x73f2be||_0x126370[_0x21da37(0x291)]!==_0x317121)return error(_0x21da37(0x2f5),'A\x20matching\x20saved\x20creation\x20intent\x20is\x20required.');if(![_0x21da37(0x29d),_0x21da37(0x1c8),'interrupted'][_0x21da37(0x244)](_0x126370[_0x21da37(0x234)]))return error('CREATION_ALREADY_RESOLVED','This\x20creation\x20intent\x20has\x20already\x20been\x20resolved.\x20Use\x20pipeline_use\x20for\x20an\x20existing\x20run.');if(PipelineManager['validateWorkspace'](_0x126370[_0x21da37(0x382)])||_0x126370[_0x21da37(0x141)]&&(typeof _0x126370['originWorkspace']!==_0x21da37(0x2f1)||normalizePath(_0x126370[_0x21da37(0x141)])!==this[_0x21da37(0x26c)]))return error(_0x21da37(0x348),_0x21da37(0x226));if(_0x126370[_0x21da37(0x154)]?.[_0x21da37(0x219)]&&_0x126370[_0x21da37(0x154)][_0x21da37(0x219)]!==_0x2fe61e)return error(_0x21da37(0x18a),_0x21da37(0x2b5));const _0x2d18a5=this[_0x21da37(0x217)](_0x73f2be);if(_0x2d18a5&&_0x2d18a5[_0x21da37(0x291)]!==_0x317121)return error('CREATION_SUPERSEDED',_0x21da37(0x1f4));const _0x2dc1cc=this[_0x21da37(0x33b)](_0x73f2be,_0x317121);if(_0x2dc1cc){if(_0x2dc1cc['status']!=='active'||_0x2dc1cc['coordinator']&&_0x2dc1cc[_0x21da37(0x296)]!==_0x2fe61e)return error('CREATION_RUN_MISMATCH',_0x21da37(0x21c));const _0x349e90={};_0x349e90[_0x21da37(0x1c5)]=!![],this[_0x21da37(0x2ca)](_0x2dc1cc,_0x349e90);const _0x2ca525={..._0x126370};_0x2ca525[_0x21da37(0x234)]=_0x21da37(0x14c),this[_0x21da37(0x196)](_0x2db242,_0x2ca525);const _0x4dbce1={};return _0x4dbce1['success']=!![],this['formatStatus'](_0x2dc1cc,_0x4dbce1);}let _0x5865b3=_0x126370[_0x21da37(0x1b6)];const _0x26588e={};_0x26588e[_0x21da37(0x2d7)]=_0x21da37(0x300);if(!_0x5865b3&&_0x126370['requestedWorkspace'][_0x21da37(0x2d7)]!==_0x21da37(0x36c))_0x5865b3=this[_0x21da37(0x2b9)](_0x73f2be,_0x317121,_0x26588e)['workspace'];if(!_0x5865b3&&_0x126370[_0x21da37(0x382)]['mode']===_0x21da37(0x36c)){const _0x2cdab2=path[_0x21da37(0x336)](path['dirname'](this[_0x21da37(0x26c)]),_0x21da37(0x247),path[_0x21da37(0x265)](this[_0x21da37(0x26c)]),_0x73f2be,_0x317121),_0x8c0d11={};_0x8c0d11[_0x21da37(0x338)]=_0x2cdab2,_0x8c0d11[_0x21da37(0x2d7)]='worktree',_0x8c0d11['managed']=!![],_0x8c0d11[_0x21da37(0x299)]=_0x21da37(0x332)+_0x73f2be+'/'+_0x317121,_0x8c0d11[_0x21da37(0x234)]=_0x21da37(0x24e),_0x5865b3=_0x8c0d11;}if(!_0x5865b3||!fs[_0x21da37(0x2b3)](_0x5865b3[_0x21da37(0x338)])){if(_0x5865b3?.[_0x21da37(0x350)]&&!_0x126370['workspace']){const _0x1ee2b4=this['runGit']([_0x21da37(0x36c),_0x21da37(0x31f),_0x21da37(0x2b7)]),_0x35c9e3=this['runGit']([_0x21da37(0x186),_0x21da37(0x283),'--quiet',_0x21da37(0x2df)+_0x5865b3[_0x21da37(0x299)]]),_0x5e2e3c=_0x1ee2b4[_0x21da37(0x305)]?.[_0x21da37(0x326)](/\r?\n/)[_0x21da37(0x2ee)](_0x561c94=>_0x561c94[_0x21da37(0x1d9)](_0x21da37(0x1e8))&&normalizePath(_0x561c94[_0x21da37(0x1ac)](0x9))===normalizePath(_0x5865b3[_0x21da37(0x338)]));if(_0x1ee2b4['ok']&&!_0x5e2e3c&&_0x35c9e3[_0x21da37(0x234)]===0x1)return this[_0x21da37(0x196)](_0x2db242,{..._0x126370,'status':_0x21da37(0x14b),'resolvedAt':this['now']()['toISOString']()}),error(_0x21da37(0x2ec),_0x21da37(0x33d));}return error(_0x21da37(0x355),_0x21da37(0x34b));}if(_0x5865b3['managed']){const _0x437fae=this[_0x21da37(0x331)]([_0x21da37(0x36c),_0x21da37(0x31f),_0x21da37(0x2b7)]),_0x6b8f8d={};_0x6b8f8d[_0x21da37(0x17a)]=_0x5865b3[_0x21da37(0x338)];const _0x57303=this[_0x21da37(0x331)]([_0x21da37(0x299),_0x21da37(0x23e)],_0x6b8f8d);if(!_0x437fae['ok']||!_0x437fae[_0x21da37(0x305)][_0x21da37(0x326)]('\x0a')[_0x21da37(0x2ee)](_0x3126e3=>_0x3126e3['startsWith'](_0x21da37(0x1e8))&&normalizePath(_0x3126e3[_0x21da37(0x1ac)](0x9))===normalizePath(_0x5865b3['path']))||_0x57303[_0x21da37(0x305)]!==_0x5865b3[_0x21da37(0x299)])return error(_0x21da37(0x348),_0x21da37(0x24b));}else{if(!_0x5865b3[_0x21da37(0x338)]||normalizePath(_0x5865b3[_0x21da37(0x338)])!==this[_0x21da37(0x26c)])return error('CREATION_WORKSPACE_MISMATCH',_0x21da37(0x24d));}if(!_0x126370['originWorkspace']&&_0x5865b3[_0x21da37(0x350)])return error(_0x21da37(0x348),_0x21da37(0x188));const _0x38b144={'schemaVersion':_0x126370[_0x21da37(0x2b0)]||0x3,'task':_0x73f2be,'runId':_0x317121,'pipeline':_0x126370[_0x21da37(0x1c7)],'status':_0x21da37(0x1a3),'completedSteps':[],'originWorkspace':_0x126370[_0x21da37(0x141)]||this[_0x21da37(0x26c)],'workspace':_0x5865b3,'startedAt':_0x126370[_0x21da37(0x22c)],'updatedAt':this[_0x21da37(0x366)]()[_0x21da37(0x33e)]()};let _0x4b460a=_0x21da37(0x285);try{if(_0x38b144[_0x21da37(0x2b0)]===0x3)this['execution'][_0x21da37(0x26e)](_0x38b144,_0x126370[_0x21da37(0x154)]);else this['pinLegacyDefinition'](_0x38b144);_0x4b460a=_0x21da37(0x236);const _0x6b757d={};_0x6b757d[_0x21da37(0x1c5)]=!![],this['writeState'](_0x38b144,_0x6b757d),_0x4b460a='intent-complete',this[_0x21da37(0x196)](_0x2db242,{..._0x126370,'status':_0x21da37(0x14c),'recoveredAt':this['now']()[_0x21da37(0x33e)]()});const _0x36c406={};return _0x36c406[_0x21da37(0x1eb)]=!![],_0x36c406[_0x21da37(0x32c)]=!![],this[_0x21da37(0x199)](_0x38b144,_0x36c406);}catch(_0x26724d){const _0x330412=creationFailure(_0x26724d,_0x4b460a);try{const _0x2f1102={..._0x126370};_0x2f1102[_0x21da37(0x234)]='interrupted',_0x2f1102[_0x21da37(0x1f5)]=_0x330412,this[_0x21da37(0x196)](_0x2db242,_0x2f1102);}catch{}const _0x5de107={};return _0x5de107[_0x21da37(0x27a)]=_0x73f2be,_0x5de107[_0x21da37(0x291)]=_0x317121,_0x5de107['intentFile']=_0x2db242,_0x5de107[_0x21da37(0x1b6)]=_0x5865b3,_0x5de107[_0x21da37(0x134)]=_0x330412['code'],_0x5de107[_0x21da37(0x2ae)]=_0x330412,error(_0x21da37(0x212),'Recovery\x20was\x20interrupted;\x20its\x20intent\x20was\x20preserved.',_0x5de107);}});}[_0x29c9c8(0x2ca)](_0x709a76,{setCurrent:setCurrent=![]}={}){const _0x30b650=_0x29c9c8;_0x709a76[_0x30b650(0x233)]=this[_0x30b650(0x366)]()[_0x30b650(0x33e)]();if(_0x709a76[_0x30b650(0x2b0)]===0x3)this[_0x30b650(0x13c)][_0x30b650(0x32a)](_0x709a76);this[_0x30b650(0x196)](this[_0x30b650(0x191)](_0x709a76['task'],_0x709a76[_0x30b650(0x291)]),_0x709a76);if(_0x709a76['schemaVersion']===0x3)this[_0x30b650(0x13c)]['ledger'](_0x709a76);setCurrent&&this[_0x30b650(0x196)](this[_0x30b650(0x20e)](_0x709a76[_0x30b650(0x27a)]),{'task':_0x709a76['task'],'runId':_0x709a76[_0x30b650(0x291)],'updatedAt':_0x709a76['updatedAt']});}[_0x29c9c8(0x21a)](_0x529033,_0x56d65a,_0x315972){const _0x10a0a1=_0x29c9c8;if(_0x529033['schemaVersion']===0x3)return this[_0x10a0a1(0x13c)][_0x10a0a1(0x269)](_0x529033);const _0x188125=this['ledgerFile'](_0x529033[_0x10a0a1(0x27a)],_0x529033[_0x10a0a1(0x291)]);let _0x337cad=fs[_0x10a0a1(0x2b3)](_0x188125)?fs[_0x10a0a1(0x230)](_0x188125,_0x10a0a1(0x192)):'';!_0x337cad&&(_0x337cad=_0x10a0a1(0x228)+_0x529033[_0x10a0a1(0x27a)]+_0x10a0a1(0x206)+_0x529033[_0x10a0a1(0x291)]+_0x10a0a1(0x225)+_0x529033['pipeline']+'\x0a'),_0x337cad+='\x0a##\x20'+this[_0x10a0a1(0x366)]()[_0x10a0a1(0x33e)]()+_0x10a0a1(0x162)+_0x56d65a+'\x0a\x0a'+_0x315972+'\x0a',this[_0x10a0a1(0x214)](_0x188125,_0x337cad);}[_0x29c9c8(0x1e7)](_0x2fa86c,_0x4392f0=this[_0x29c9c8(0x26c)]){const _0x463c0e=_0x29c9c8,_0x4ba753=[path['join'](_0x4392f0,_0x463c0e(0x133),_0x463c0e(0x156),_0x2fa86c,_0x463c0e(0x384)),path[_0x463c0e(0x336)](this['projectPath'],_0x463c0e(0x133),_0x463c0e(0x156),_0x2fa86c,_0x463c0e(0x384))],{SKILL_NAME_MAPPING:_0x81e4d,CANONICAL_SKILL_SOURCES:_0x224f36}=require(_0x463c0e(0x312)),_0xb14c22=_0x224f36[_0x2fa86c]||Object['keys'](_0x81e4d)[_0x463c0e(0x1d8)](_0x2fa579=>_0x81e4d[_0x2fa579]===_0x2fa86c);if(_0xb14c22)_0x4ba753[_0x463c0e(0x2c5)](path['join'](this['projectPath'],_0x463c0e(0x133),_0x463c0e(0x156),_0xb14c22,_0x463c0e(0x384)));const _0x3f2de6=_0x4ba753[_0x463c0e(0x1d8)](_0x1b32cb=>fs[_0x463c0e(0x2b3)](_0x1b32cb));if(_0x3f2de6)return null;const _0x147c4a={};return _0x147c4a[_0x463c0e(0x1a0)]=_0x4ba753[0x0],_0x147c4a[_0x463c0e(0x363)]=_0x463c0e(0x2ad)+this['projectPath']+'\x22',error(_0x463c0e(0x24f),_0x463c0e(0x1ec)+_0x2fa86c+_0x463c0e(0x12f),_0x147c4a);}[_0x29c9c8(0x1af)](){const _0x76af9a=_0x29c9c8;if(!this[_0x76af9a(0x1fb)])return![];const _0x115cbe=this[_0x76af9a(0x331)]([_0x76af9a(0x204),'--git-dir']);if(!_0x115cbe['ok']||!this[_0x76af9a(0x18e)])return![];const _0x4e2243=normalizePath(path[_0x76af9a(0x224)](this['projectPath'],_0x115cbe['stdout']));if(_0x4e2243===this[_0x76af9a(0x18e)])return![];const _0x1d1c4e=this[_0x76af9a(0x331)]([_0x76af9a(0x36c),_0x76af9a(0x31f),'--porcelain']);if(!_0x1d1c4e['ok'])return![];const _0x46aeec=normalizePath(this['projectPath'])[_0x76af9a(0x1bc)]();return _0x1d1c4e[_0x76af9a(0x305)][_0x76af9a(0x326)](/\r?\n/)[_0x76af9a(0x287)](_0x306a16=>_0x306a16['startsWith'](_0x76af9a(0x1e8)))['some'](_0x2754e6=>normalizePath(_0x2754e6[_0x76af9a(0x1ac)](0x9))[_0x76af9a(0x1bc)]()===_0x46aeec);}[_0x29c9c8(0x195)](){const _0x43363f=_0x29c9c8;if(this['isGitRepository'])return error(_0x43363f(0x23d),_0x43363f(0x135));const _0x1c7946=fs[_0x43363f(0x281)](path[_0x43363f(0x336)](os[_0x43363f(0x238)](),_0x43363f(0x1ca)));try{const _0x322310=path['join'](_0x1c7946,_0x43363f(0x172)),_0x27b74f=path[_0x43363f(0x336)](_0x1c7946,'index'),_0x40b02c={};_0x40b02c[_0x43363f(0x17a)]=_0x1c7946;const _0x1155f7=this['runGit']([_0x43363f(0x34e),_0x43363f(0x1e6),_0x322310],_0x40b02c);if(!_0x1155f7['ok'])return error('GIT_PREVIEW_FAILED',_0x1155f7[_0x43363f(0x2a3)]||'Cannot\x20initialize\x20temporary\x20Git\x20index.');const _0x27fbcf={};_0x27fbcf[_0x43363f(0x2ea)]=_0x27b74f;const _0x37e746=_0x27fbcf,_0x116cad=this[_0x43363f(0x331)]([_0x43363f(0x158),_0x322310,_0x43363f(0x1f0),this[_0x43363f(0x26c)],'add','-A'],{'cwd':this[_0x43363f(0x26c)],'env':_0x37e746});if(!_0x116cad['ok'])return error(_0x43363f(0x19b),_0x116cad['stderr']||_0x43363f(0x18d));const _0x1a9e16=this[_0x43363f(0x331)]([_0x43363f(0x158),_0x322310,_0x43363f(0x1f0),this[_0x43363f(0x26c)],'diff','--cached',_0x43363f(0x25a),'-z'],{'cwd':this[_0x43363f(0x26c)],'env':_0x37e746});if(!_0x1a9e16['ok'])return error(_0x43363f(0x19b),_0x1a9e16[_0x43363f(0x2a3)]||_0x43363f(0x2de));const _0x182db1=_0x1a9e16['stdout']?_0x1a9e16[_0x43363f(0x305)][_0x43363f(0x326)]('\x00')[_0x43363f(0x287)](Boolean)[_0x43363f(0x1b0)](_0x363e61=>_0x363e61[_0x43363f(0x369)](/\\/g,'/'))[_0x43363f(0x14a)]():[],_0x4d39d3=_0x182db1['map'](_0xd6ecb9=>{const _0x2e769c=_0x43363f,_0x504311=path['join'](this['projectPath'],_0xd6ecb9),_0x28f35e=fs[_0x2e769c(0x1f2)](_0x504311),_0x37cd2d=crypto[_0x2e769c(0x2d2)](_0x2e769c(0x16e))[_0x2e769c(0x321)](fs[_0x2e769c(0x230)](_0x504311))[_0x2e769c(0x20c)](_0x2e769c(0x273));return{'path':_0xd6ecb9,'size':_0x28f35e['size'],'mtimeMs':Math[_0x2e769c(0x1b8)](_0x28f35e[_0x2e769c(0x386)]),'sha256':_0x37cd2d};}),_0x488b6b=_0x182db1[_0x43363f(0x287)](_0x2f2264=>{const _0x28b1cc=_0x43363f,_0x895a1f=/\.env\.example$/i[_0x28b1cc(0x381)](_0x2f2264);if(!_0x895a1f&&SENSITIVE_PATTERNS[_0x28b1cc(0x2ee)](_0x331a12=>_0x331a12[_0x28b1cc(0x381)](_0x2f2264)))return!![];const _0xc42c8a=fs['readFileSync'](path[_0x28b1cc(0x336)](this[_0x28b1cc(0x26c)],_0x2f2264),_0x28b1cc(0x192));return SENSITIVE_CONTENT_PATTERNS[_0x28b1cc(0x2ee)](_0x11ca19=>_0x11ca19[_0x28b1cc(0x381)](_0xc42c8a));}),_0x3b2d03=_0x4d39d3[_0x43363f(0x287)](_0x274f80=>_0x274f80[_0x43363f(0x189)]>0xa*0x400*0x400)[_0x43363f(0x1b0)](_0x52880d=>_0x52880d[_0x43363f(0x338)]),_0xd5ae0b=[_0x43363f(0x2aa)],_0x2a978e={};_0x2a978e[_0x43363f(0x285)]=_0x4d39d3,_0x2a978e[_0x43363f(0x268)]=_0xd5ae0b;const _0x26ee58=crypto[_0x43363f(0x2d2)](_0x43363f(0x16e))[_0x43363f(0x321)](JSON['stringify'](_0x2a978e))[_0x43363f(0x20c)]('hex');return{'success':![],'code':_0x488b6b['length']?_0x43363f(0x27b):_0x43363f(0x25f),'error':_0x488b6b[_0x43363f(0x22b)]?_0x43363f(0x152):_0x43363f(0x1cb),'confirmationToken':_0x26ee58,'fileCount':_0x182db1['length'],'totalBytes':_0x4d39d3['reduce']((_0x4c94d4,_0x2b71bd)=>_0x4c94d4+_0x2b71bd[_0x43363f(0x189)],0x0),'files':_0x182db1,'sensitiveFiles':_0x488b6b,'largeFiles':_0x3b2d03,'plannedIgnoreAdditions':_0xd5ae0b};}finally{const _0x4114fb={};_0x4114fb['recursive']=!![],_0x4114fb[_0x43363f(0x1ba)]=!![],fs['rmSync'](_0x1c7946,_0x4114fb);}}['ensureRuntimeIgnore'](){const _0x1cb1f1=_0x29c9c8,_0x181187=path[_0x1cb1f1(0x336)](this[_0x1cb1f1(0x26c)],'.gitignore'),_0x47aa5f='.agents/pipelines/',_0x53a76d=fs[_0x1cb1f1(0x2b3)](_0x181187)?fs[_0x1cb1f1(0x230)](_0x181187,_0x1cb1f1(0x192)):'',_0x5710dc=_0x53a76d[_0x1cb1f1(0x326)](/\r?\n/)[_0x1cb1f1(0x1b0)](_0x4288f1=>_0x4288f1[_0x1cb1f1(0x361)]());if(_0x5710dc[_0x1cb1f1(0x244)](_0x47aa5f))return;const _0x57d170=_0x53a76d&&!_0x53a76d[_0x1cb1f1(0x1d7)]('\x0a')?'\x0a':'';fs[_0x1cb1f1(0x250)](_0x181187,''+_0x57d170+_0x47aa5f+'\x0a',_0x1cb1f1(0x192));}[_0x29c9c8(0x38b)](_0x22c82d){const _0x3ecf06=_0x29c9c8,_0x1d057c=this[_0x3ecf06(0x195)]();if(_0x1d057c['code']===_0x3ecf06(0x27b))return _0x1d057c;if(_0x1d057c[_0x3ecf06(0x1d2)]!==_0x22c82d){const _0x2f2e3f={};return _0x2f2e3f[_0x3ecf06(0x144)]=_0x1d057c,error(_0x3ecf06(0x26d),_0x3ecf06(0x27c),_0x2f2e3f);}const _0xad7e12=this[_0x3ecf06(0x22f)]()[_0x3ecf06(0x287)](_0x35b743=>_0x35b743[_0x3ecf06(0x234)]==='active'||_0x35b743['status']===_0x3ecf06(0x1bb));if(_0xad7e12[_0x3ecf06(0x22b)])return error(_0x3ecf06(0x32d),'Complete\x20or\x20cancel\x20active\x20pipelines\x20before\x20initializing\x20Git.');const _0x3cce4e=this[_0x3ecf06(0x331)]([_0x3ecf06(0x256),'--get','user.name']),_0x5bdef0=this[_0x3ecf06(0x331)](['config',_0x3ecf06(0x37a),_0x3ecf06(0x193)]);if(!_0x3cce4e['ok']||!_0x3cce4e[_0x3ecf06(0x305)]||!_0x5bdef0['ok']||!_0x5bdef0[_0x3ecf06(0x305)]){const _0x203524={};return _0x203524['recovery_commands']=[_0x3ecf06(0x1f1),_0x3ecf06(0x168)],error(_0x3ecf06(0x17e),_0x3ecf06(0x29f),_0x203524);}const _0xbee6aa=this[_0x3ecf06(0x331)]([_0x3ecf06(0x256),_0x3ecf06(0x37a),_0x3ecf06(0x1a9)]),_0x1b66ba=_0xbee6aa['ok']&&_0xbee6aa[_0x3ecf06(0x305)]?_0xbee6aa[_0x3ecf06(0x305)]:'main';let _0x1a53ee=this[_0x3ecf06(0x331)]([_0x3ecf06(0x34e),'-b',_0x1b66ba]);if(!_0x1a53ee['ok']){_0x1a53ee=this[_0x3ecf06(0x331)]([_0x3ecf06(0x34e)]);if(!_0x1a53ee['ok'])return error(_0x3ecf06(0x35c),_0x1a53ee[_0x3ecf06(0x2a3)]);const _0x44a473=this[_0x3ecf06(0x331)]([_0x3ecf06(0x299),'-M',_0x1b66ba]);if(!_0x44a473['ok'])return error(_0x3ecf06(0x35c),_0x44a473[_0x3ecf06(0x2a3)]);}this[_0x3ecf06(0x161)]();const _0x2866ae=this[_0x3ecf06(0x331)]([_0x3ecf06(0x36a),'-A']);if(!_0x2866ae['ok'])return error(_0x3ecf06(0x35d),_0x2866ae['stderr']);const _0x3e61ca=this[_0x3ecf06(0x331)]([_0x3ecf06(0x1b9),'--no-gpg-sign','-m',_0x3ecf06(0x32b)]);if(!_0x3e61ca['ok'])return error(_0x3ecf06(0x35d),_0x3e61ca[_0x3ecf06(0x2a3)]);const _0xaba613=this['runGit'](['status',_0x3ecf06(0x2b7)]);if(!_0xaba613['ok']||_0xaba613[_0x3ecf06(0x305)])return error(_0x3ecf06(0x20a),'Repository\x20is\x20not\x20clean\x20after\x20the\x20baseline\x20commit.',{'status':_0xaba613[_0x3ecf06(0x305)]});const _0x165aaa=this[_0x3ecf06(0x15c)];this[_0x3ecf06(0x263)](),this[_0x3ecf06(0x2ab)](_0x165aaa);const _0x773782={};return _0x773782[_0x3ecf06(0x1eb)]=!![],_0x773782[_0x3ecf06(0x299)]=_0x1b66ba,_0x773782[_0x3ecf06(0x1d0)]=!![],_0x773782;}['migrateStateRoot'](_0x4f11ec){const _0x1f88c3=_0x29c9c8;if(!_0x4f11ec||normalizePath(_0x4f11ec)===normalizePath(this['stateRoot'])||!fs[_0x1f88c3(0x2b3)](_0x4f11ec))return;const _0x2c667e=path[_0x1f88c3(0x336)](this[_0x1f88c3(0x15c)],'.migrations',crypto[_0x1f88c3(0x2d2)](_0x1f88c3(0x16e))[_0x1f88c3(0x321)](_0x4f11ec)[_0x1f88c3(0x20c)](_0x1f88c3(0x273))+_0x1f88c3(0x2b4));if(fs[_0x1f88c3(0x2b3)](_0x2c667e))return;const _0x19e95b=this[_0x1f88c3(0x28a)](_0x4f11ec)[_0x1f88c3(0x287)](_0x472a5c=>_0x472a5c[_0x1f88c3(0x234)]==='active'||_0x472a5c[_0x1f88c3(0x234)]===_0x1f88c3(0x1bb)),_0x1b508d={};_0x1b508d[_0x1f88c3(0x16c)]=_0x1f88c3(0x32d);if(_0x19e95b[_0x1f88c3(0x22b)])throw Object[_0x1f88c3(0x205)](new Error('Active\x20pipelines\x20cannot\x20be\x20migrated\x20during\x20Git\x20initialization.'),_0x1b508d);for(const _0x39e72e of this['listRunsFromRoot'](_0x4f11ec)){const _0x1ff037=path['join'](_0x4f11ec,_0x39e72e['task'],_0x1f88c3(0x297),_0x39e72e[_0x1f88c3(0x291)]),_0x2f3f62=this[_0x1f88c3(0x318)](_0x39e72e['task'],_0x39e72e['runId']),_0x3154fc={};_0x3154fc[_0x1f88c3(0x379)]=!![],_0x3154fc[_0x1f88c3(0x136)]=!![];if(!fs['existsSync'](_0x2f3f62))fs[_0x1f88c3(0x341)](_0x1ff037,_0x2f3f62,_0x3154fc);this['verifyCopiedTree'](_0x1ff037,_0x2f3f62);const _0x33f138=path[_0x1f88c3(0x336)](_0x4f11ec,_0x39e72e[_0x1f88c3(0x27a)],_0x1f88c3(0x2a8));fs[_0x1f88c3(0x2b3)](_0x33f138)&&!fs[_0x1f88c3(0x2b3)](this[_0x1f88c3(0x20e)](_0x39e72e[_0x1f88c3(0x27a)]))&&(fs[_0x1f88c3(0x303)](_0x33f138,this[_0x1f88c3(0x20e)](_0x39e72e[_0x1f88c3(0x27a)])),this['verifyCopiedTree'](_0x33f138,this[_0x1f88c3(0x20e)](_0x39e72e['task'])));}this['atomicWriteJson'](_0x2c667e,{'source':_0x4f11ec,'migratedAt':this[_0x1f88c3(0x366)]()['toISOString']()});}[_0x29c9c8(0x345)](_0xee27cb,_0x3be16e){const _0x21fb7e=_0x29c9c8,_0x55f3a3=fs[_0x21fb7e(0x1f2)](_0xee27cb),_0xf650f2=fs[_0x21fb7e(0x1f2)](_0x3be16e);if(_0x55f3a3[_0x21fb7e(0x27d)]()!==_0xf650f2[_0x21fb7e(0x27d)]()){const _0x4d3f00={};_0x4d3f00[_0x21fb7e(0x16c)]=_0x21fb7e(0x210);throw Object[_0x21fb7e(0x205)](new Error('Pipeline\x20state\x20copy\x20type\x20mismatch:\x20'+_0xee27cb),_0x4d3f00);}if(_0x55f3a3[_0x21fb7e(0x27d)]()){const _0xda33ae=fs[_0x21fb7e(0x253)](_0xee27cb)['sort'](),_0x5d50af=fs['readdirSync'](_0x3be16e)['sort']();if(JSON[_0x21fb7e(0x2fe)](_0xda33ae)!==JSON[_0x21fb7e(0x2fe)](_0x5d50af)){const _0x53230e={};_0x53230e['code']=_0x21fb7e(0x210);throw Object['assign'](new Error(_0x21fb7e(0x131)+_0xee27cb),_0x53230e);}for(const _0x260641 of _0xda33ae)this[_0x21fb7e(0x345)](path['join'](_0xee27cb,_0x260641),path['join'](_0x3be16e,_0x260641));return;}const _0x2086fd=crypto[_0x21fb7e(0x2d2)](_0x21fb7e(0x16e))[_0x21fb7e(0x321)](fs[_0x21fb7e(0x230)](_0xee27cb))[_0x21fb7e(0x20c)]('hex'),_0x15d533=crypto[_0x21fb7e(0x2d2)](_0x21fb7e(0x16e))[_0x21fb7e(0x321)](fs[_0x21fb7e(0x230)](_0x3be16e))['digest'](_0x21fb7e(0x273));if(_0x2086fd!==_0x15d533){const _0xb2bc95={};_0xb2bc95[_0x21fb7e(0x16c)]=_0x21fb7e(0x210);throw Object['assign'](new Error(_0x21fb7e(0x323)+_0xee27cb),_0xb2bc95);}}[_0x29c9c8(0x22d)](_0x381c04,_0x74e6cc,_0xb5516c){const _0x526d24=_0x29c9c8;if(!this['isGitRepository']){if(!_0xb5516c['initializeGit']||!_0xb5516c[_0x526d24(0x1d2)])return this[_0x526d24(0x195)]();if(!_0xb5516c[_0x526d24(0x23c)])return error(_0x526d24(0x377),_0x526d24(0x151));const _0x227674=this[_0x526d24(0x38b)](_0xb5516c[_0x526d24(0x1d2)]);if(!_0x227674[_0x526d24(0x1eb)])return _0x227674;}if(!_0xb5516c[_0x526d24(0x23c)])return error(_0x526d24(0x377),_0x526d24(0x33f));const _0x58d574=this[_0x526d24(0x331)]([_0x526d24(0x234),_0x526d24(0x2b7)]);if(!_0x58d574['ok']||_0x58d574['stdout'])return error('WORKTREE_BASE_DIRTY','Base\x20checkout\x20must\x20be\x20clean\x20before\x20creating\x20a\x20worktree.',{'status':_0x58d574['stdout']});const _0x2daae0=this[_0x526d24(0x331)]([_0x526d24(0x204),_0x526d24(0x2ba)]);if(!_0x2daae0['ok'])return error('WORKTREE_BASE_MISSING',_0x2daae0['stderr']||'Repository\x20has\x20no\x20base\x20commit.');const _0x36aaec=this[_0x526d24(0x331)]([_0x526d24(0x299),'--show-current']),_0x559188=path[_0x526d24(0x265)](this[_0x526d24(0x26c)]),_0x1c912f=path[_0x526d24(0x336)](path['dirname'](this[_0x526d24(0x26c)]),_0x526d24(0x247),_0x559188,_0x381c04,_0x74e6cc),_0x361e29=_0x526d24(0x332)+_0x381c04+'/'+_0x74e6cc;if(fs['existsSync'](_0x1c912f))return error(_0x526d24(0x259),_0x526d24(0x35b)+_0x1c912f);const _0x25fd4a=this[_0x526d24(0x331)](['worktree',_0x526d24(0x36a),'-b',_0x361e29,_0x1c912f,_0xb5516c['baseRef']||_0x2daae0[_0x526d24(0x305)]]),_0x1a3c6a={};_0x1a3c6a['workspacePath']=_0x1c912f,_0x1a3c6a['branch']=_0x361e29;if(!_0x25fd4a['ok'])return error(_0x526d24(0x2e1),_0x25fd4a[_0x526d24(0x2a3)]||_0x526d24(0x1aa),_0x1a3c6a);return{'success':!![],'workspace':{'mode':_0x526d24(0x36c),'path':normalizePath(_0x1c912f),'branch':_0x361e29,'baseRef':_0xb5516c[_0x526d24(0x340)]||_0x2daae0['stdout'],'baseBranch':_0x36aaec['ok']?_0x36aaec[_0x526d24(0x305)]:'','status':_0x526d24(0x24e),'createdAt':this[_0x526d24(0x366)]()[_0x526d24(0x33e)](),'managed':!![]}};}['resolveWorkspace'](_0x25b674,_0x1765c1,_0x4a5205={}){const _0x17ab75=_0x29c9c8,_0x667ba=_0x4a5205[_0x17ab75(0x2d7)]||_0x17ab75(0x15a);if(![_0x17ab75(0x15a),'current',_0x17ab75(0x36c)][_0x17ab75(0x244)](_0x667ba))return error(_0x17ab75(0x15b),'Unknown\x20workspace\x20mode:\x20'+_0x667ba);if(_0x667ba==='worktree')return this[_0x17ab75(0x22d)](_0x25b674,_0x1765c1,_0x4a5205);return{'success':!![],'workspace':{'mode':this[_0x17ab75(0x1af)]()?_0x17ab75(0x1c6):_0x17ab75(0x300),'path':this[_0x17ab75(0x26c)],'branch':this[_0x17ab75(0x1fb)]?this[_0x17ab75(0x331)]([_0x17ab75(0x299),_0x17ab75(0x23e)])[_0x17ab75(0x305)]:'','baseRef':this[_0x17ab75(0x1fb)]?this[_0x17ab75(0x331)]([_0x17ab75(0x204),'HEAD'])['stdout']:'','baseBranch':this[_0x17ab75(0x1fb)]?this['runGit']([_0x17ab75(0x299),_0x17ab75(0x23e)])[_0x17ab75(0x305)]:'','status':_0x17ab75(0x24e),'managed':![]}};}['start'](_0x4ae8ff={}){const _0x37296e=_0x29c9c8;let {pipeline:_0xb1212d,task:_0x10ca98,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x4ae8ff;const _0x5887e2=PipelineManager[_0x37296e(0x333)](_0x10ca98);if(_0x5887e2)return _0x5887e2;if(_0x4ae8ff['recoverRunId'])try{return this[_0x37296e(0x245)](_0x10ca98,_0x4ae8ff[_0x37296e(0x1e1)],_0x4ae8ff['sessionId']);}catch(_0x125b1b){return error('RUN_RECOVERY_FAILED','Saved\x20creation\x20intent\x20could\x20not\x20be\x20inspected.',{'task':_0x10ca98,'runId':_0x4ae8ff[_0x37296e(0x1e1)],'diagnostic':creationFailure(_0x125b1b,_0x37296e(0x2eb))});}const _0x474cbe=PipelineManager['validateWorkspace'](_0x4ae8ff[_0x37296e(0x1b6)]);if(_0x474cbe)return _0x474cbe;if(![0x2,0x3][_0x37296e(0x244)](schemaVersion))return error(_0x37296e(0x31a),'Supported\x20pipeline\x20versions\x20are\x202\x20and\x203.');for(const _0x5e0130 of[_0x37296e(0x2a7),_0x37296e(0x208),_0x37296e(0x156)]){if(_0x4ae8ff[_0x5e0130]!==undefined&&(!Array[_0x37296e(0x2d3)](_0x4ae8ff[_0x5e0130])||!_0x4ae8ff[_0x5e0130][_0x37296e(0x372)](_0x4f6da0=>typeof _0x4f6da0===_0x37296e(0x2f1)&&_0x4f6da0[_0x37296e(0x361)]())))return error(_0x37296e(0x1b4),_0x5e0130+_0x37296e(0x383));}if(schemaVersion===0x3&&_0x4ae8ff[_0x37296e(0x26f)]!==0x0&&_0xb1212d!==_0x37296e(0x354)&&!_0x4ae8ff['acceptanceCriteria']?.[_0x37296e(0x22b)])return error(_0x37296e(0x1da),_0x37296e(0x19e));let _0x31bfd1;if(schemaVersion===0x3&&_0x4ae8ff[_0x37296e(0x26f)]!==0x0&&_0xb1212d!==_0x37296e(0x354))try{_0x31bfd1=require('../core/quality')['normalizeQualityPlan'](_0x4ae8ff['qualityPlan'],_0x4ae8ff[_0x37296e(0x2a7)]||[],{'productImpact':_0x4ae8ff[_0x37296e(0x1be)]===!![],'platformTarget':_0x4ae8ff[_0x37296e(0x1be)]===!![]&&['web',_0x37296e(0x2e3),_0x37296e(0x2be)][_0x37296e(0x244)](_0x4ae8ff[_0x37296e(0x202)])?_0x4ae8ff[_0x37296e(0x202)]==='web'?_0x37296e(0x194):'mobile':null,'contentReview':_0xb1212d===_0x37296e(0x1b2),'artifactReview':_0x4ae8ff[_0x37296e(0x159)]===!![]});}catch(_0xd1fc3d){return error(_0x37296e(0x28d),_0xd1fc3d[_0x37296e(0x2e5)]);}const _0xa9a09c=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x21a76c=_0xa9a09c[_0xb1212d];if(!_0x21a76c)return error(_0x37296e(0x22a),_0x37296e(0x1ed)+_0xb1212d+'.',{'valid_pipelines':Object[_0x37296e(0x2c1)](PIPELINE_DEFINITIONS)});const _0x728fa=_0x21a76c[_0x37296e(0x2f2)][0x0][_0x37296e(0x22e)];if(_0x728fa){const _0x2d5e8a=this[_0x37296e(0x1e7)](_0x728fa);if(_0x2d5e8a)return _0x2d5e8a;}if((workspace[_0x37296e(0x2d7)]||_0x37296e(0x15a))===_0x37296e(0x36c)&&!this[_0x37296e(0x1fb)]){if(!workspace[_0x37296e(0x289)]||!workspace[_0x37296e(0x1d2)])return this[_0x37296e(0x195)]();if(!workspace[_0x37296e(0x23c)])return error('WORKTREE_CONSENT_REQUIRED',_0x37296e(0x151));const _0x182a4e=this['initializeGitFromPreview'](workspace['confirmationToken']);if(!_0x182a4e[_0x37296e(0x1eb)])return _0x182a4e;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this[_0x37296e(0x375)](_0x37296e(0x1c0),()=>this[_0x37296e(0x375)](_0x10ca98,()=>{const _0x566f58=_0x37296e,_0x481491=this[_0x566f58(0x217)](_0x10ca98);if(_0x481491&&[_0x566f58(0x1bb),_0x566f58(0x1a3),'paused'][_0x566f58(0x244)](_0x481491['status']))return error(_0x566f58(0x2d5),_0x566f58(0x293)+_0x10ca98+_0x566f58(0x36b),{'task':_0x10ca98,'runId':_0x481491[_0x566f58(0x291)]});if(schemaVersion===0x3&&_0x4ae8ff[_0x566f58(0x26f)]!==0x0&&_0xb1212d!==_0x566f58(0x354)){const _0x2a28e5=_0x53c537=>JSON[_0x566f58(0x2fe)](_0x53c537[_0x566f58(0x1b0)](_0x1bd0fd=>_0x1bd0fd[_0x566f58(0x361)]()[_0x566f58(0x369)](/\s+/g,'\x20')['toLocaleLowerCase']())[_0x566f58(0x14a)]()),_0x5f4690=_0x2a28e5(_0x4ae8ff[_0x566f58(0x2a7)]),_0x2d122d=_0x15ff35=>{const _0x21d256=_0x566f58,_0x13b8ac=normalizePath(_0x15ff35);return process[_0x21d256(0x346)]===_0x21d256(0x2a0)?_0x13b8ac[_0x21d256(0x1bc)]():_0x13b8ac;};if(fs['existsSync'](this[_0x566f58(0x15c)])){const _0x6f37ae={};_0x6f37ae['withFileTypes']=!![];for(const _0x5ad377 of fs['readdirSync'](this[_0x566f58(0x15c)],_0x6f37ae)){if(!_0x5ad377[_0x566f58(0x27d)]()||_0x5ad377[_0x566f58(0x143)]['startsWith']('.')||_0x5ad377[_0x566f58(0x143)]===_0x10ca98)continue;const _0x1e8117=this['readCurrent'](_0x5ad377[_0x566f58(0x143)]);if(_0x1e8117&&[_0x566f58(0x1bb),_0x566f58(0x1a3),_0x566f58(0x17c)]['includes'](_0x1e8117[_0x566f58(0x234)])&&_0x1e8117[_0x566f58(0x1c7)]!==_0x566f58(0x354)&&_0x1e8117[_0x566f58(0x246)]?.[_0x566f58(0x2e2)]&&_0x1e8117['acceptance']?.[_0x566f58(0x140)]?.[_0x566f58(0x22b)]&&[_0x1e8117[_0x566f58(0x141)],_0x1e8117[_0x566f58(0x1b6)][_0x566f58(0x338)]][_0x566f58(0x287)](Boolean)[_0x566f58(0x2ee)](_0x356266=>_0x2d122d(_0x356266)===_0x2d122d(this[_0x566f58(0x26c)]))&&overlappingScope(_0x1e8117[_0x566f58(0x208)],_0x4ae8ff[_0x566f58(0x208)],this[_0x566f58(0x26c)])&&_0x2a28e5(_0x1e8117[_0x566f58(0x315)][_0x566f58(0x140)])===_0x5f4690){const _0x5fe178={};return _0x5fe178['task']=_0x1e8117['task'],_0x5fe178[_0x566f58(0x291)]=_0x1e8117['runId'],_0x5fe178[_0x566f58(0x234)]=_0x1e8117[_0x566f58(0x234)],_0x5fe178['stopReason']=_0x1e8117[_0x566f58(0x13c)]?.['stopReason']||null,_0x5fe178['impact']=_0x1e8117[_0x566f58(0x246)]?.['plan']?.[_0x566f58(0x2f4)]||null,error(_0x566f58(0x2bc),'An\x20unfinished\x20run\x20already\x20owns\x20these\x20acceptance\x20criteria.\x20Resume\x20or\x20resolve\x20that\x20run\x20before\x20creating\x20a\x20new\x20task.',_0x5fe178);}}}}const _0x21803b=this['generateRunId'](),_0x23b11f=this[_0x566f58(0x284)](_0x10ca98);if(_0x23b11f)return error(_0x566f58(0x388),_0x566f58(0x1ea),{'intent':_0x23b11f});const _0x39f36e=this[_0x566f58(0x2d6)](_0x10ca98,_0x21803b),_0x1f5e2e={'task':_0x10ca98,'runId':_0x21803b,'pipeline':_0xb1212d,'schemaVersion':schemaVersion,'status':_0x566f58(0x29d),'originWorkspace':this[_0x566f58(0x26c)],'requestedWorkspace':workspace,'runtimeVersion':require(_0x566f58(0x30d))['version'],'args':_0x4ae8ff,'createdAt':this[_0x566f58(0x366)]()[_0x566f58(0x33e)]()};this[_0x566f58(0x196)](_0x39f36e,_0x1f5e2e);let _0x343c79=_0x566f58(0x2a9);try{const _0x2f959b=this[_0x566f58(0x2b9)](_0x10ca98,_0x21803b,workspace);if(!_0x2f959b[_0x566f58(0x1eb)]){const _0x2ada4f={..._0x1f5e2e};return _0x2ada4f[_0x566f58(0x234)]=_0x566f58(0x2d9),_0x2ada4f['error']=_0x2f959b,this[_0x566f58(0x196)](_0x39f36e,_0x2ada4f),_0x2f959b;}_0x1f5e2e[_0x566f58(0x1b6)]=_0x2f959b[_0x566f58(0x1b6)],_0x1f5e2e[_0x566f58(0x234)]='workspace-ready',_0x343c79='intent-workspace-write',this[_0x566f58(0x196)](_0x39f36e,_0x1f5e2e);const _0x5b2778={'schemaVersion':schemaVersion,'task':_0x10ca98,'runId':_0x21803b,'pipeline':_0xb1212d,'status':_0x566f58(0x1a3),'completedSteps':[],'originWorkspace':this[_0x566f58(0x26c)],'workspace':_0x2f959b[_0x566f58(0x1b6)],'startedAt':this[_0x566f58(0x366)]()[_0x566f58(0x33e)](),'updatedAt':this[_0x566f58(0x366)]()['toISOString']()};_0x343c79='snapshot';if(schemaVersion===0x3)this[_0x566f58(0x13c)][_0x566f58(0x26e)](_0x5b2778,_0x4ae8ff);else this[_0x566f58(0x2b6)](_0x5b2778);this[_0x566f58(0x29e)](_0x5b2778),_0x343c79='state-write';const _0x13cb1b={};_0x13cb1b[_0x566f58(0x1c5)]=!![],this[_0x566f58(0x2ca)](_0x5b2778,_0x13cb1b),_0x343c79=_0x566f58(0x2f8),this[_0x566f58(0x21a)](_0x5b2778,_0x566f58(0x36f),_0x566f58(0x316)+_0x5b2778['workspace'][_0x566f58(0x338)]+_0x566f58(0x30a)+_0x21a76c['steps'][0x0]['id']),_0x343c79=_0x566f58(0x311);const _0x1f11c8={..._0x1f5e2e};_0x1f11c8['status']=_0x566f58(0x14c),this[_0x566f58(0x196)](_0x39f36e,_0x1f11c8);const _0x37cee5={};return _0x37cee5[_0x566f58(0x1eb)]=!![],this['formatStatus'](_0x5b2778,_0x37cee5);}catch(_0xccddec){const _0x4c9dc4=creationFailure(_0xccddec,_0x343c79);try{const _0x114379={..._0x1f5e2e};_0x114379[_0x566f58(0x234)]=_0x566f58(0x2bb),_0x114379['error']=_0x4c9dc4,this[_0x566f58(0x196)](_0x39f36e,_0x114379);}catch{}const _0x1a6874={};return _0x1a6874[_0x566f58(0x27a)]=_0x10ca98,_0x1a6874[_0x566f58(0x291)]=_0x21803b,_0x1a6874[_0x566f58(0x1f8)]=_0x39f36e,_0x1a6874['workspace']=_0x1f5e2e[_0x566f58(0x1b6)],_0x1a6874['reason']=_0x4c9dc4[_0x566f58(0x16c)],_0x1a6874['diagnostic']=_0x4c9dc4,error(_0x566f58(0x212),_0x566f58(0x249),_0x1a6874);}}));}catch(_0x4ce7e1){return error('PIPELINE_STATE_UNAVAILABLE',_0x37296e(0x157),{'task':_0x10ca98,'diagnostic':creationFailure(_0x4ce7e1,_0x37296e(0x32e))});}}[_0x29c9c8(0x1ee)](_0x7dabb6={}){const _0x4a5fe0=_0x29c9c8;return this[_0x4a5fe0(0x13c)]['next'](_0x7dabb6);}[_0x29c9c8(0x148)](){return this['execution']['cancelVerifications']();}['recordVerificationAsync'](_0x3a3db5={}){const _0x220fee=_0x29c9c8;return this[_0x220fee(0x13c)]['recordVerificationAsync'](_0x3a3db5);}[_0x29c9c8(0x15f)](_0x3faedf={}){const _0x1e4312=_0x29c9c8;return this[_0x1e4312(0x13c)][_0x1e4312(0x15f)](_0x3faedf);}[_0x29c9c8(0x181)](_0x1a2af3={},_0x2ffeab){const _0x26209f=_0x29c9c8;return this[_0x26209f(0x13c)]['addReceiptObservation'](_0x1a2af3,_0x2ffeab);}['canMutate'](_0x18c112={}){const _0x84cd52=_0x29c9c8;return this[_0x84cd52(0x13c)][_0x84cd52(0x13b)](_0x18c112);}[_0x29c9c8(0x1fd)](_0x16444c={}){const _0x4850af=_0x29c9c8,{task:_0x42f991,runId:_0x3d44a7,pipeline:_0x4841de,step:_0x1a1c5a,status:_0x3135b2,summary:_0x57adfb}=_0x16444c,_0x2219a6=PipelineManager['validateTask'](_0x42f991);if(_0x2219a6)return _0x2219a6;if(!_0x3d44a7)return error('RUN_ID_REQUIRED',_0x4850af(0x1b7));const _0x146e74=PipelineManager[_0x4850af(0x373)](_0x3d44a7);if(_0x146e74)return _0x146e74;const _0x2ec3d1=this['readRun'](_0x42f991,_0x3d44a7);if(_0x2ec3d1&&this[_0x4850af(0x307)](_0x2ec3d1)[_0x4850af(0x1fa)]===_0x4850af(0x255))return error(this['contract'](_0x2ec3d1)[_0x4850af(0x16c)],_0x4850af(0x2bd));if(_0x2ec3d1?.[_0x4850af(0x2b0)]===0x3)return this[_0x4850af(0x13c)][_0x4850af(0x1fd)](_0x16444c);return this[_0x4850af(0x375)](_0x42f991,()=>{const _0x380bc1=_0x4850af,_0x443f65=this[_0x380bc1(0x33b)](_0x42f991,_0x3d44a7);if(!_0x443f65)return error(_0x380bc1(0x2cc),_0x380bc1(0x374)+_0x3d44a7+_0x380bc1(0x146)+_0x42f991+'\x22.');const _0x4df6c8=this[_0x380bc1(0x217)](_0x42f991);if(!_0x4df6c8||_0x4df6c8[_0x380bc1(0x291)]!==_0x3d44a7)return error(_0x380bc1(0x17b),'This\x20run\x20is\x20no\x20longer\x20the\x20current\x20run\x20for\x20the\x20task.');if(_0x443f65[_0x380bc1(0x234)]!=='active')return error(_0x380bc1(0x155),_0x380bc1(0x2cf)+_0x443f65[_0x380bc1(0x234)]+_0x380bc1(0x176));if(_0x4841de&&_0x4841de!==_0x443f65[_0x380bc1(0x1c7)])return error(_0x380bc1(0x16f),_0x380bc1(0x1e9)+_0x443f65[_0x380bc1(0x1c7)]+_0x380bc1(0x31b)+_0x4841de+'\x22.');if(_0x3135b2!==_0x380bc1(0x14c))return error(_0x380bc1(0x1c9),_0x380bc1(0x197));const _0x5ea459=_0x443f65[_0x380bc1(0x295)],_0x4f2454=_0x5ea459['steps'][_0x443f65[_0x380bc1(0x276)][_0x380bc1(0x22b)]];if(!_0x4f2454||_0x4f2454['id']!==_0x1a1c5a)return error(_0x380bc1(0x2ff),_0x380bc1(0x309)+(_0x4f2454?.['id']||_0x380bc1(0x180))+_0x380bc1(0x1c1)+_0x1a1c5a+'\x22.',{'expected_step':_0x4f2454?.['id']||null});if(_0x4f2454['skill']){const _0x758806=this[_0x380bc1(0x1e7)](_0x4f2454['skill'],_0x443f65[_0x380bc1(0x1b6)][_0x380bc1(0x338)]);if(_0x758806)return _0x758806;}if(_0x443f65[_0x380bc1(0x1c7)]===_0x380bc1(0x171)&&_0x1a1c5a===_0x380bc1(0x278)&&(!_0x57adfb||_0x57adfb[_0x380bc1(0x361)]()[_0x380bc1(0x22b)]<0xa))return error('HOTFIX_SCOPE_REQUIRED',_0x380bc1(0x2a1));_0x443f65[_0x380bc1(0x276)]['push']({'id':_0x1a1c5a,'summary':_0x57adfb||'','completedAt':this[_0x380bc1(0x366)]()[_0x380bc1(0x33e)]()});if(_0x443f65['completedSteps']['length']===_0x5ea459[_0x380bc1(0x2f2)][_0x380bc1(0x22b)])_0x443f65[_0x380bc1(0x234)]=_0x380bc1(0x14c);this[_0x380bc1(0x2ca)](_0x443f65),this[_0x380bc1(0x21a)](_0x443f65,_0x380bc1(0x313)+_0x1a1c5a,_0x57adfb||'(no\x20summary)');const _0x57f2ff={};_0x57f2ff['success']=!![];const _0x39ccd8=this[_0x380bc1(0x199)](_0x443f65,_0x57f2ff);if(MEMORY_TRIGGERS[_0x1a1c5a])_0x39ccd8['memory_action']=MEMORY_TRIGGERS[_0x1a1c5a];return _0x39ccd8;});}[_0x29c9c8(0x29e)](_0x5c75d5){const _0x16a5d5=_0x29c9c8,_0x5c8a10=this[_0x16a5d5(0x351)](path[_0x16a5d5(0x336)](this[_0x16a5d5(0x2b8)](_0x5c75d5[_0x16a5d5(0x27a)]),_0x16a5d5(0x317)));if(!_0x5c8a10||_0x5c8a10[_0x16a5d5(0x27a)]!==_0x5c75d5[_0x16a5d5(0x27a)]||PipelineManager[_0x16a5d5(0x373)](_0x5c8a10[_0x16a5d5(0x291)]))return;const _0x455ce5=this[_0x16a5d5(0x33b)](_0x5c75d5['task'],_0x5c8a10[_0x16a5d5(0x291)]);if(!_0x455ce5||_0x455ce5['status']!==_0x16a5d5(0x2d4)||_0x455ce5[_0x16a5d5(0x1f9)]?.[_0x16a5d5(0x134)]!=='runtime-upgrade'||_0x455ce5[_0x16a5d5(0x1f9)][_0x16a5d5(0x2a5)]!==_0x5c8a10['transactionId']||!require(_0x16a5d5(0x13e))[_0x16a5d5(0x1e3)](_0x455ce5[_0x16a5d5(0x1b6)]?.[_0x16a5d5(0x338)]||'',_0x5c75d5[_0x16a5d5(0x1b6)][_0x16a5d5(0x338)]))return;_0x5c75d5[_0x16a5d5(0x37e)]={'task':_0x5c75d5[_0x16a5d5(0x27a)],'runId':_0x455ce5['runId'],'reason':_0x16a5d5(0x1ad),'requirements':[..._0x455ce5[_0x16a5d5(0x315)]?.[_0x16a5d5(0x140)]||[]],'findings':JSON[_0x16a5d5(0x2da)](JSON[_0x16a5d5(0x2fe)](Object[_0x16a5d5(0x1cd)](_0x455ce5[_0x16a5d5(0x246)]?.[_0x16a5d5(0x262)]||{})[_0x16a5d5(0x287)](_0x24886b=>_0x24886b[_0x16a5d5(0x222)]!==![]&&!['resolved',_0x16a5d5(0x310)]['includes'](_0x24886b[_0x16a5d5(0x234)])))),'attempts':{..._0x455ce5[_0x16a5d5(0x13c)]?.[_0x16a5d5(0x37d)]||{}},'noProgress':_0x455ce5[_0x16a5d5(0x13c)]?.[_0x16a5d5(0x30f)]||0x0,'lastFailure':_0x455ce5[_0x16a5d5(0x13c)]?.['lastFailure']||null,'progress':(_0x455ce5[_0x16a5d5(0x2b2)]||[])['map'](_0x7814d2=>({'id':_0x7814d2['id'],'noProgress':_0x7814d2[_0x16a5d5(0x30f)]||0x0,'lastFailure':_0x7814d2[_0x16a5d5(0x2e9)]||null}))};if(_0x5c75d5[_0x16a5d5(0x2b0)]!==0x3)return;_0x5c75d5[_0x16a5d5(0x13c)][_0x16a5d5(0x37d)]={..._0x5c75d5[_0x16a5d5(0x37e)][_0x16a5d5(0x37d)]},_0x5c75d5['execution'][_0x16a5d5(0x200)]=Math[_0x16a5d5(0x1d1)](0x0,_0x455ce5['execution']?.[_0x16a5d5(0x200)]||0x0,...Object[_0x16a5d5(0x1cd)](_0x5c75d5['inherited']['attempts'])),_0x5c75d5[_0x16a5d5(0x13c)][_0x16a5d5(0x30f)]=_0x5c75d5['inherited'][_0x16a5d5(0x30f)],_0x5c75d5[_0x16a5d5(0x13c)][_0x16a5d5(0x2e9)]=_0x5c75d5[_0x16a5d5(0x37e)]['lastFailure'];['no_progress',_0x16a5d5(0x378)]['includes'](_0x455ce5[_0x16a5d5(0x13c)]?.[_0x16a5d5(0x1ce)])&&(_0x5c75d5[_0x16a5d5(0x234)]=_0x16a5d5(0x17c),_0x5c75d5[_0x16a5d5(0x13c)][_0x16a5d5(0x1ce)]=_0x455ce5['execution'][_0x16a5d5(0x1ce)]);for(const _0x587013 of _0x5c75d5[_0x16a5d5(0x37e)][_0x16a5d5(0x262)])if(_0x5c75d5[_0x16a5d5(0x246)])_0x5c75d5[_0x16a5d5(0x246)][_0x16a5d5(0x262)][_0x587013['id']]={..._0x587013,'status':_0x16a5d5(0x23f),'inheritedFrom':_0x455ce5['runId'],'resolution':null};}[_0x29c9c8(0x190)]({task:_0x521a4a,runId:_0x11537e,transactionId:_0x45e87f,epoch:_0x3ab1c0,target:_0xa49ba9}){const _0x34ed11=_0x29c9c8,{readFence:_0x1d0d51}=require(_0x34ed11(0x2f0)),_0xdf9e6c=_0x1d0d51(this[_0x34ed11(0x26c)]);if(_0xdf9e6c[_0x34ed11(0x232)]!=='frozen'||_0xdf9e6c[_0x34ed11(0x2a5)]!==_0x45e87f||_0xdf9e6c[_0x34ed11(0x34f)]!==_0x3ab1c0||_0xdf9e6c[_0x34ed11(0x33a)]!==_0xa49ba9?.[_0x34ed11(0x304)]||_0xdf9e6c[_0x34ed11(0x387)]!==_0xa49ba9?.[_0x34ed11(0x20c)])return error(_0x34ed11(0x28b),_0x34ed11(0x360));const _0x1aff36=PipelineManager[_0x34ed11(0x333)](_0x521a4a)||PipelineManager[_0x34ed11(0x373)](_0x11537e);if(_0x1aff36)return _0x1aff36;return this[_0x34ed11(0x375)](_0x521a4a,()=>{const _0xbdf561=_0x34ed11,_0x464857=this['readRun'](_0x521a4a,_0x11537e);if(!_0x464857||!_0x464857[_0xbdf561(0x1b6)]?.[_0xbdf561(0x338)]||!require(_0xbdf561(0x13e))['sameWorkspace'](_0x464857[_0xbdf561(0x1b6)]['path'],this[_0xbdf561(0x26c)]))return error(_0xbdf561(0x21d),_0xbdf561(0x213));const _0x3d43c4=_0x464857['status']===_0xbdf561(0x2d4)&&_0x464857['cancellation']?.['transactionId']===_0x45e87f,_0x328ecc={};_0x328ecc['success']=!![],_0x328ecc[_0xbdf561(0x2bf)]=!![];if(!_0x3d43c4&&[_0xbdf561(0x14c),_0xbdf561(0x2d4)][_0xbdf561(0x244)](_0x464857['status']))return _0x328ecc;if(_0x464857[_0xbdf561(0x13c)]?.[_0xbdf561(0x1a3)]?.['length']||(_0x464857[_0xbdf561(0x13c)]?.[_0xbdf561(0x28f)]||[])[_0xbdf561(0x2ee)](_0x38e06b=>_0x38e06b[_0xbdf561(0x277)]===_0xbdf561(0x23c)&&_0x38e06b['executionStatus']!=='stopped'))return error(_0xbdf561(0x2cd),_0xbdf561(0x149));!_0x3d43c4&&(_0x464857[_0xbdf561(0x234)]=_0xbdf561(0x2d4),_0x464857[_0xbdf561(0x16a)]=this['now']()[_0xbdf561(0x33e)](),_0x464857['cancellation']={'reason':_0xbdf561(0x1ad),'transactionId':_0x45e87f,'target':_0xa49ba9,'epoch':_0x3ab1c0,'cancelledAt':_0x464857[_0xbdf561(0x16a)]},this['writeState'](_0x464857),this[_0xbdf561(0x21a)](_0x464857,_0xbdf561(0x201),_0xbdf561(0x198)+_0x45e87f+_0xbdf561(0x37f)));this['atomicWriteJson'](path[_0xbdf561(0x336)](this[_0xbdf561(0x2b8)](_0x521a4a),_0xbdf561(0x317)),{'task':_0x521a4a,'runId':_0x11537e,'transactionId':_0x45e87f,'target':_0xa49ba9});const _0x4fac3f=this[_0xbdf561(0x351)](this[_0xbdf561(0x20e)](_0x521a4a));if(_0x4fac3f?.[_0xbdf561(0x291)]===_0x11537e)fs['unlinkSync'](this[_0xbdf561(0x20e)](_0x521a4a));const _0x9bee21=new(require(_0xbdf561(0x1df)))[(_0xbdf561(0x2db))](this[_0xbdf561(0x26c)]);if(fs[_0xbdf561(0x2b3)](_0x9bee21[_0xbdf561(0x16d)]))for(const _0x1ad3e7 of fs[_0xbdf561(0x253)](_0x9bee21[_0xbdf561(0x16d)])){if(!/^[a-f0-9]{64}\.json$/[_0xbdf561(0x381)](_0x1ad3e7))continue;const _0x60dd94=this[_0xbdf561(0x351)](path[_0xbdf561(0x336)](_0x9bee21['directory'],_0x1ad3e7));if(_0x60dd94?.[_0xbdf561(0x27a)]===_0x521a4a&&_0x60dd94[_0xbdf561(0x291)]===_0x11537e)_0x9bee21[_0xbdf561(0x2c3)](_0x60dd94[_0xbdf561(0x219)],_0x3e381d=>{const _0x5e66e1=_0xbdf561,_0x1dc967={};_0x1dc967[_0x5e66e1(0x27a)]=_0x521a4a,_0x1dc967['runId']=_0x11537e,_0x1dc967['reason']=_0x5e66e1(0x1ad),_0x3e381d['previousRun']=_0x1dc967,_0x3e381d['task']=null,_0x3e381d['runId']=null,_0x3e381d[_0x5e66e1(0x209)]=null,_0x3e381d[_0x5e66e1(0x37d)]={};});}const _0x3d0fc6={};return _0x3d0fc6[_0xbdf561(0x1eb)]=!![],_0x3d0fc6[_0xbdf561(0x2af)]=_0x3d43c4,_0x3d0fc6[_0xbdf561(0x1f9)]=_0x464857[_0xbdf561(0x1f9)],_0x3d0fc6;});}[_0x29c9c8(0x2c0)]({task:_0x5aa263,runId:_0x431d7d,confirm:_0x178a73,target:target=_0x29c9c8(0x184),sessionId:_0x1bb1d1}={}){const _0x3e5c73=_0x29c9c8,_0x32c7ef=PipelineManager[_0x3e5c73(0x333)](_0x5aa263);if(_0x32c7ef)return _0x32c7ef;if(!_0x431d7d)return error(_0x3e5c73(0x1a6),_0x3e5c73(0x2e7));const _0x223900=PipelineManager[_0x3e5c73(0x373)](_0x431d7d);if(_0x223900)return _0x223900;if(_0x178a73!==!![])return error(_0x3e5c73(0x30b),_0x3e5c73(0x132));if(![_0x3e5c73(0x184),_0x3e5c73(0x1fe)][_0x3e5c73(0x244)](target))return error('INVALID_RESET_TARGET',_0x3e5c73(0x241));return this['withLock'](_0x5aa263,()=>{const _0x272b94=_0x3e5c73;if(target===_0x272b94(0x1fe)){const _0x3e3192=this[_0x272b94(0x2d6)](_0x5aa263,_0x431d7d),_0x5bdc63=this['readJson'](_0x3e3192);if(!_0x5bdc63||_0x5bdc63[_0x272b94(0x27a)]!==_0x5aa263||_0x5bdc63[_0x272b94(0x291)]!==_0x431d7d||!['creating',_0x272b94(0x1c8),'interrupted'][_0x272b94(0x244)](_0x5bdc63['status']))return error(_0x272b94(0x2f5),'A\x20matching\x20unresolved\x20creation\x20intent\x20is\x20required.');if(!_0x1bb1d1||_0x5bdc63[_0x272b94(0x154)]?.[_0x272b94(0x219)]&&_0x5bdc63[_0x272b94(0x154)][_0x272b94(0x219)]!==_0x1bb1d1)return error(_0x272b94(0x18a),_0x272b94(0x2f6));if(PipelineManager['validateWorkspace'](_0x5bdc63[_0x272b94(0x382)])||_0x5bdc63[_0x272b94(0x141)]&&(typeof _0x5bdc63[_0x272b94(0x141)]!==_0x272b94(0x2f1)||normalizePath(_0x5bdc63[_0x272b94(0x141)])!==this['projectPath'])||!_0x5bdc63[_0x272b94(0x1b6)]||_0x5bdc63[_0x272b94(0x1b6)][_0x272b94(0x350)]||!_0x5bdc63['workspace'][_0x272b94(0x338)]||normalizePath(_0x5bdc63[_0x272b94(0x1b6)]['path'])!==this[_0x272b94(0x26c)])return error('CREATION_WORKSPACE_MISMATCH',_0x272b94(0x2f3));if(this[_0x272b94(0x33b)](_0x5aa263,_0x431d7d)||fs[_0x272b94(0x2b3)](this[_0x272b94(0x318)](_0x5aa263,_0x431d7d))||fs[_0x272b94(0x2b3)](this[_0x272b94(0x20e)](_0x5aa263)))return error(_0x272b94(0x37c),'Creation\x20already\x20has\x20run\x20state\x20or\x20a\x20current\x20binding;\x20it\x20cannot\x20be\x20abandoned.');this['atomicWriteJson'](_0x3e3192,{..._0x5bdc63,'status':'abandoned','resolvedAt':this[_0x272b94(0x366)]()[_0x272b94(0x33e)](),'resolvedBySession':_0x1bb1d1,'resolution':_0x272b94(0x2c6)});const _0x38c7dd={};return _0x38c7dd[_0x272b94(0x1eb)]=!![],_0x38c7dd[_0x272b94(0x27a)]=_0x5aa263,_0x38c7dd['runId']=_0x431d7d,_0x38c7dd[_0x272b94(0x298)]=_0x272b94(0x1fe),_0x38c7dd[_0x272b94(0x1f8)]=_0x3e3192,_0x38c7dd['state']=_0x272b94(0x14b),_0x38c7dd[_0x272b94(0x150)]=!![],_0x38c7dd;}const _0x1564c3=this[_0x272b94(0x33b)](_0x5aa263,_0x431d7d);if(!_0x1564c3)return error(_0x272b94(0x2cc),_0x272b94(0x374)+_0x431d7d+_0x272b94(0x2e0));const _0x320c50=this[_0x272b94(0x307)](_0x1564c3);if(_0x320c50[_0x272b94(0x1fa)]==='blocked')return error(_0x320c50[_0x272b94(0x16c)],_0x272b94(0x203));if(_0x1564c3[_0x272b94(0x296)]&&_0x1564c3['coordinator']!==_0x1bb1d1)return error('SESSION_MISMATCH',_0x272b94(0x1ae));const _0x50573b=this[_0x272b94(0x217)](_0x5aa263);if(!_0x50573b||_0x50573b['runId']!==_0x431d7d)return error('RUN_MISMATCH','This\x20run\x20is\x20no\x20longer\x20the\x20current\x20run\x20for\x20the\x20task.');if(![_0x272b94(0x1a3),'paused']['includes'](_0x1564c3['status']))return error('RUN_NOT_ACTIVE',_0x272b94(0x2cf)+_0x1564c3[_0x272b94(0x234)]+_0x272b94(0x176));if(_0x1564c3[_0x272b94(0x13c)]?.['active']['length'])return error(_0x272b94(0x237),'Stop\x20and\x20release\x20active\x20workers\x20before\x20cancelling\x20the\x20run.');_0x1564c3[_0x272b94(0x234)]=_0x272b94(0x2d4),_0x1564c3[_0x272b94(0x16a)]=this[_0x272b94(0x366)]()[_0x272b94(0x33e)](),this[_0x272b94(0x2ca)](_0x1564c3),this[_0x272b94(0x21a)](_0x1564c3,'Run\x20cancelled',_0x272b94(0x17d));const _0x2cdf08={};return _0x2cdf08[_0x272b94(0x1eb)]=!![],this[_0x272b94(0x199)](_0x1564c3,_0x2cdf08);});}[_0x29c9c8(0x301)](_0x71b1dc,_0x2ca20c){const _0x328c32=_0x29c9c8,_0x389aef=PipelineManager['validateTask'](_0x71b1dc);if(_0x389aef)return _0x389aef;if(!_0x2ca20c)return error('RUN_ID_REQUIRED','runId\x20is\x20required.');const _0x54d6b9=PipelineManager['validateRunId'](_0x2ca20c);if(_0x54d6b9)return _0x54d6b9;const _0x442a03=this[_0x328c32(0x17f)](_0x71b1dc,_0x2ca20c);if(_0x442a03?.[_0x328c32(0x1eb)]===![])return _0x442a03;if(!_0x442a03)return error('RUN_NOT_FOUND',_0x328c32(0x374)+_0x2ca20c+_0x328c32(0x2e0));const _0x5953b6=this['contract'](_0x442a03);if(_0x5953b6['mutation']==='blocked')return error(_0x5953b6['code'],_0x328c32(0x35f));if(!['active','paused'][_0x328c32(0x244)](_0x442a03[_0x328c32(0x234)]))return error(_0x328c32(0x155),_0x328c32(0x2cf)+_0x442a03[_0x328c32(0x234)]+_0x328c32(0x227));const _0x46e441={};return _0x46e441[_0x328c32(0x1eb)]=!![],this['formatStatus'](_0x442a03,_0x46e441);}[_0x29c9c8(0x199)](_0x12112a,_0x4f9a81={}){const _0x464792=_0x29c9c8,_0x233643=this['contract'](_0x12112a),_0x111a68=_0x12112a[_0x464792(0x2b0)]===0x3?_0x12112a['definition']:_0x12112a[_0x464792(0x295)]||PIPELINE_DEFINITIONS[_0x12112a['pipeline']],_0x57bec9={..._0x4f9a81};_0x57bec9[_0x464792(0x1a3)]=![],_0x57bec9['state']=_0x12112a[_0x464792(0x234)],_0x57bec9[_0x464792(0x27a)]=_0x12112a[_0x464792(0x27a)],_0x57bec9[_0x464792(0x291)]=_0x12112a[_0x464792(0x291)],_0x57bec9[_0x464792(0x1c7)]=_0x12112a['pipeline'],_0x57bec9[_0x464792(0x1c2)]=_0x233643,_0x57bec9['blocked']=!![],_0x57bec9[_0x464792(0x1ff)]={},_0x57bec9[_0x464792(0x1ff)][_0x464792(0x170)]=_0x464792(0x2cb),_0x57bec9[_0x464792(0x1ff)][_0x464792(0x16c)]=_0x233643[_0x464792(0x16c)];if(!_0x111a68?.[_0x464792(0x2f2)])return _0x57bec9;const _0x49557e=_0x12112a[_0x464792(0x276)][_0x464792(0x22b)],_0x7ca876=_0x111a68['steps'][_0x49557e]||null,_0x4e28d5={..._0x4f9a81,'active':_0x12112a[_0x464792(0x234)]===_0x464792(0x1a3),'state':_0x12112a[_0x464792(0x234)],'task':_0x12112a[_0x464792(0x27a)],'runId':_0x12112a[_0x464792(0x291)],'pipeline':_0x12112a[_0x464792(0x1c7)],'pipeline_name':_0x111a68[_0x464792(0x143)],'progress':_0x49557e+'/'+_0x111a68[_0x464792(0x2f2)]['length'],'completed':_0x12112a[_0x464792(0x276)][_0x464792(0x1b0)](_0x13f0db=>_0x13f0db['id']),'next_step':_0x7ca876?{'id':_0x7ca876['id'],'name':_0x7ca876['name'],'skill':_0x7ca876[_0x464792(0x22e)]}:null,'workspacePath':_0x12112a[_0x464792(0x1b6)]['path'],'stateRoot':this[_0x464792(0x15c)],'ledgerPath':this[_0x464792(0x166)](_0x12112a[_0x464792(0x27a)],_0x12112a[_0x464792(0x291)]),'workspace':_0x12112a['workspace'],'compatibility':_0x233643,'cancellation':_0x12112a['cancellation']||null,'inherited':_0x12112a[_0x464792(0x37e)]||null,'tool_routing':TOOL_ROUTING};if(_0x233643[_0x464792(0x1fa)]===_0x464792(0x255))return{..._0x4e28d5,'active':![],'blocked':!![],'nextAction':{'kind':_0x464792(0x2cb),'code':_0x233643['code']}};const _0x2f34e4={};_0x2f34e4[_0x464792(0x170)]=_0x464792(0x169);const _0xc5eb50={};_0xc5eb50[_0x464792(0x170)]=_0x464792(0x35a);if(_0x12112a['schemaVersion']===0x3)Object[_0x464792(0x205)](_0x4e28d5,{'schemaVersion':0x3,'versions':_0x12112a[_0x464792(0x26b)],'acceptance':_0x12112a[_0x464792(0x315)],'sessionId':_0x12112a['coordinator'],'workItems':_0x12112a[_0x464792(0x1a5)],'plannedItems':_0x12112a['plannedItems']||[],'execution':_0x12112a[_0x464792(0x13c)],'receiptObservations':_0x12112a[_0x464792(0x13c)][_0x464792(0x28f)]||[],'verification_level':_0x12112a[_0x464792(0x246)]?_0x464792(0x130):'snapshot-evidence','stop_reason':_0x12112a['execution'][_0x464792(0x1ce)],'nextAction':_0x12112a[_0x464792(0x234)]==='cancelled'?{'kind':'new-run-required','reason':_0x12112a['cancellation']?.['reason']||_0x464792(0x2d4)}:_0x12112a[_0x464792(0x234)]===_0x464792(0x14c)?_0x2f34e4:_0x12112a[_0x464792(0x234)]==='paused'?{'kind':_0x464792(0x17c),'reason':_0x12112a[_0x464792(0x13c)][_0x464792(0x1ce)]}:_0x12112a['execution']['nextAction']||_0xc5eb50});if(_0x12112a[_0x464792(0x246)]&&_0x4f9a81[_0x464792(0x24a)]===![])_0x4e28d5[_0x464792(0x246)]={'plan':_0x12112a[_0x464792(0x246)][_0x464792(0x2e2)],'freshness':_0x464792(0x1a2),'reason':_0x464792(0x1f7),'checks':Object['fromEntries'](_0x12112a['quality'][_0x464792(0x2e2)][_0x464792(0x13f)][_0x464792(0x1b0)](_0x38cad9=>[_0x38cad9['id'],_0x464792(0x1a2)])),'criteria':Object['fromEntries'](_0x12112a['quality']['plan'][_0x464792(0x140)][_0x464792(0x1b0)](_0x37e9d7=>[_0x37e9d7['id'],{'expectedOutcome':_0x37e9d7[_0x464792(0x335)],'source':_0x37e9d7[_0x464792(0x38d)],'status':_0x464792(0x1a2)}])),'missingChecks':_0x12112a[_0x464792(0x246)][_0x464792(0x2e2)]['checks'][_0x464792(0x287)](_0x267e1b=>_0x267e1b[_0x464792(0x222)]!==![])[_0x464792(0x1b0)](_0x44b3b4=>_0x44b3b4['id']),'openFindings':Object[_0x464792(0x1cd)](_0x12112a[_0x464792(0x246)][_0x464792(0x262)]||{})['filter'](_0x43ead6=>_0x43ead6[_0x464792(0x222)]!==![]),'unavailable':_0x12112a['quality']['unavailable']||{},'reviewProvenance':[],'impactEscalation':_0x12112a[_0x464792(0x246)][_0x464792(0x35e)]||null};else{if(_0x12112a[_0x464792(0x246)]){const _0x39316f=this[_0x464792(0x13c)][_0x464792(0x285)](_0x12112a)['id'],_0x3b18b8=Object[_0x464792(0x14d)](_0x12112a['quality']['plan'][_0x464792(0x13f)]['map'](_0x21e12a=>{const _0x3a92c6=_0x464792,_0x480276=_0x12112a['execution'][_0x3a92c6(0x314)][_0x3a92c6(0x287)](_0xeeb6e7=>_0xeeb6e7[_0x3a92c6(0x246)]?.[_0x3a92c6(0x21e)]===_0x21e12a['id']&&_0xeeb6e7[_0x3a92c6(0x285)]===_0x39316f&&_0xeeb6e7[_0x3a92c6(0x352)]===_0x12112a[_0x3a92c6(0x315)][_0x3a92c6(0x1ab)]&&!_0xeeb6e7[_0x3a92c6(0x1bf)])['at'](-0x1);return[_0x21e12a['id'],_0x480276&&artifactEvidenceCurrent(_0x12112a,_0x480276)?_0x480276[_0x3a92c6(0x246)][_0x3a92c6(0x234)]:_0x3a92c6(0x1a2)];})),_0x12e96d=Object[_0x464792(0x14d)](_0x12112a['quality']['plan'][_0x464792(0x140)][_0x464792(0x1b0)](_0x5c48d9=>{const _0x3a9c24=_0x464792,_0xae5296=new Set([..._0x5c48d9[_0x3a9c24(0x359)],..._0x12112a[_0x3a9c24(0x246)][_0x3a9c24(0x2e2)][_0x3a9c24(0x13f)][_0x3a9c24(0x287)](_0x57736c=>_0x57736c['required']!==![]&&_0x57736c[_0x3a9c24(0x145)][_0x3a9c24(0x244)](_0x5c48d9['id']))[_0x3a9c24(0x1b0)](_0x4e74f4=>_0x4e74f4['id'])]);return[_0x5c48d9['id'],{'expectedOutcome':_0x5c48d9[_0x3a9c24(0x335)],'source':_0x5c48d9[_0x3a9c24(0x38d)],'status':[..._0xae5296]['every'](_0x1f6ecf=>_0x3b18b8[_0x1f6ecf]===_0x3a9c24(0x240))&&(!_0x12112a[_0x3a9c24(0x246)][_0x3a9c24(0x2e2)][_0x3a9c24(0x159)]||_0x12112a[_0x3a9c24(0x246)][_0x3a9c24(0x2e2)][_0x3a9c24(0x13f)][_0x3a9c24(0x2ee)](_0x5a729a=>_0x5a729a[_0x3a9c24(0x222)]!==![]&&_0x5a729a['artifactPaths']?.[_0x3a9c24(0x22b)]))?'passed':[..._0xae5296][_0x3a9c24(0x2ee)](_0x199e1f=>_0x3b18b8[_0x199e1f]===_0x3a9c24(0x2d9))?_0x3a9c24(0x2d9):_0x3a9c24(0x1a2)}];}));_0x4e28d5['quality']={'plan':_0x12112a[_0x464792(0x246)][_0x464792(0x2e2)],'freshness':_0x464792(0x160),'checks':_0x3b18b8,'openFindings':this[_0x464792(0x13c)][_0x464792(0x1d3)](_0x12112a),'impactEscalation':_0x12112a[_0x464792(0x246)][_0x464792(0x35e)]||null,'criteria':_0x12e96d,'missingChecks':this[_0x464792(0x13c)][_0x464792(0x30c)](_0x12112a),'unavailable':_0x12112a['quality']['unavailable']||{},'reviewProvenance':_0x12112a[_0x464792(0x13c)]['evidence'][_0x464792(0x287)](_0x264856=>_0x264856[_0x464792(0x38d)]==='agent-review')[_0x464792(0x1b0)](_0x1a737d=>({'evidenceId':_0x1a737d['id'],'stage':_0x1a737d[_0x464792(0x1db)]?.[_0x464792(0x380)],'verdict':_0x1a737d[_0x464792(0x1db)]?.[_0x464792(0x229)],'actorSeparated':_0x1a737d['actorSeparated'],'artifactsCurrent':artifactEvidenceCurrent(_0x12112a,_0x1a737d),'hostObservedIndependent':this[_0x464792(0x13c)]['reviewObserved'](_0x12112a,_0x1a737d),'workerHostConfirmed':(_0x12112a['execution'][_0x464792(0x28f)]||[])['some'](_0x36a7e3=>_0x36a7e3['attemptId']===_0x1a737d[_0x464792(0x209)]&&_0x36a7e3[_0x464792(0x277)]===_0x464792(0x23c))||(_0x12112a[_0x464792(0x13c)][_0x464792(0x1a8)]||[])[_0x464792(0x2ee)](_0xa88136=>_0xa88136['attemptId']===_0x1a737d[_0x464792(0x209)]&&_0xa88136[_0x464792(0x183)]?.[_0x464792(0x38d)]===_0x464792(0x216)),'modelHostConfirmed':(_0x12112a[_0x464792(0x13c)][_0x464792(0x28f)]||[])[_0x464792(0x2ee)](_0x4b861f=>_0x4b861f['attemptId']===_0x1a737d['attemptId']&&_0x4b861f[_0x464792(0x2f9)]===_0x464792(0x23c))||(_0x12112a[_0x464792(0x13c)][_0x464792(0x1a8)]||[])['some'](_0x18aeff=>_0x18aeff[_0x464792(0x209)]===_0x1a737d['attemptId']&&_0x18aeff[_0x464792(0x28e)]?.[_0x464792(0x38d)]==='host-observed'&&_0x18aeff[_0x464792(0x28e)]?.[_0x464792(0x234)]==='confirmed')}))};}else _0x4e28d5[_0x464792(0x1f6)]=_0x464792(0x1a7);}if(_0x7ca876?.[_0x464792(0x22e)]){const _0x2d3115=_0x12112a[_0x464792(0x2b0)]===0x3&&_0x12112a[_0x464792(0x2e6)]?.[_0x7ca876[_0x464792(0x22e)]]?null:this[_0x464792(0x1e7)](_0x7ca876['skill'],_0x12112a[_0x464792(0x1b6)]['path']),_0xfd766a={};_0xfd766a[_0x464792(0x1a3)]=![],_0xfd766a[_0x464792(0x255)]=!![];if(_0x2d3115)Object[_0x464792(0x205)](_0x4e28d5,_0x2d3115,_0xfd766a);else _0x4e28d5[_0x464792(0x25c)]='Read\x20.agents/skills/'+_0x7ca876[_0x464792(0x22e)]+_0x464792(0x179)+_0x7ca876['id']+'\x22.';}if(_0x7ca876&&[_0x464792(0x254),_0x464792(0x2d1),_0x464792(0x2dd)][_0x464792(0x244)](_0x7ca876['id']))_0x4e28d5['domain_skills']=DOMAIN_SKILL_REMINDER;return _0x4e28d5;}[_0x29c9c8(0x28a)](_0x4bb940){const _0x4aaa29=_0x29c9c8,_0x45f126=[];if(!fs[_0x4aaa29(0x2b3)](_0x4bb940))return _0x45f126;const _0x1f16f3={};_0x1f16f3['withFileTypes']=!![];for(const _0x1cd408 of fs[_0x4aaa29(0x253)](_0x4bb940,_0x1f16f3)){if(!_0x1cd408[_0x4aaa29(0x27d)]()||_0x1cd408[_0x4aaa29(0x143)][_0x4aaa29(0x1d9)]('.'))continue;const _0x4c00d4=path['join'](_0x4bb940,_0x1cd408[_0x4aaa29(0x143)],_0x4aaa29(0x297));if(!fs[_0x4aaa29(0x2b3)](_0x4c00d4))continue;const _0x2065fc={};_0x2065fc[_0x4aaa29(0x251)]=!![];for(const _0x4323ec of fs['readdirSync'](_0x4c00d4,_0x2065fc)){if(!_0x4323ec['isDirectory']())continue;const _0x535769=_0x4bb940===this[_0x4aaa29(0x15c)]?this['readRun'](_0x1cd408['name'],_0x4323ec[_0x4aaa29(0x143)]):this[_0x4aaa29(0x351)](path[_0x4aaa29(0x336)](_0x4c00d4,_0x4323ec[_0x4aaa29(0x143)],_0x4aaa29(0x164)));if(_0x535769&&this[_0x4aaa29(0x353)](_0x535769))_0x45f126[_0x4aaa29(0x2c5)](_0x535769);else{if(_0x535769)this['recordForeignRun'](_0x535769);}}}return _0x45f126;}['listRuns'](){const _0x1f89f9=_0x29c9c8;return this[_0x1f89f9(0x28a)](this[_0x1f89f9(0x15c)]);}[_0x29c9c8(0x358)](){const _0x133e5f=_0x29c9c8;return this[_0x133e5f(0x22f)]()['filter'](_0x4137ac=>_0x4137ac[_0x133e5f(0x234)]===_0x133e5f(0x1a3))[_0x133e5f(0x1b0)](_0x4205a8=>this[_0x133e5f(0x199)](_0x4205a8));}[_0x29c9c8(0x2b1)](_0x5ca880,_0xe61a3d,_0x2051ac={}){const _0x3bdaad=_0x29c9c8;try{if(!_0x5ca880){const _0x1699f1=[];if(fs['existsSync'](this['stateRoot'])){const _0x373959={};_0x373959[_0x3bdaad(0x251)]=!![];for(const _0x504a20 of fs['readdirSync'](this['stateRoot'],_0x373959)){if(!_0x504a20[_0x3bdaad(0x27d)]()||_0x504a20['name'][_0x3bdaad(0x1d9)]('.'))continue;const _0x43f068=this[_0x3bdaad(0x217)](_0x504a20['name']);if(_0x43f068&&this['ownsRun'](_0x43f068))_0x1699f1['push'](this[_0x3bdaad(0x199)](_0x43f068,_0x2051ac));else{if(_0x43f068)this['recordForeignRun'](_0x43f068);}}}return{'success':!![],'active':_0x1699f1[_0x3bdaad(0x2ee)](_0x3aecc3=>_0x3aecc3[_0x3bdaad(0x1a3)]),'state':_0x1699f1[_0x3bdaad(0x22b)]?'multi':_0x3bdaad(0x180),'pipelines':_0x1699f1,'stateRoot':this[_0x3bdaad(0x15c)],'migrationWarnings':this[_0x3bdaad(0x2fa)],'foreignWorkspaceStates':this[_0x3bdaad(0x275)]||[],'pendingCreations':this[_0x3bdaad(0x1d4)](),'message':_0x1699f1[_0x3bdaad(0x22b)]?_0x1699f1[_0x3bdaad(0x22b)]+_0x3bdaad(0x13a):_0x3bdaad(0x13d),'tool_routing':TOOL_ROUTING};}const _0x547323=PipelineManager[_0x3bdaad(0x333)](_0x5ca880);if(_0x547323)return _0x547323;if(_0xe61a3d){const _0x1ec021=PipelineManager[_0x3bdaad(0x373)](_0xe61a3d);if(_0x1ec021)return _0x1ec021;}const _0x1fc66d=_0xe61a3d?this[_0x3bdaad(0x33b)](_0x5ca880,_0xe61a3d):this[_0x3bdaad(0x217)](_0x5ca880);if(!_0x1fc66d)return error('RUN_NOT_FOUND',_0x3bdaad(0x34a)+_0x5ca880+'\x22.',{'active':![],'state':'none','task':_0x5ca880,'stateRoot':this['stateRoot'],'pendingCreations':this[_0x3bdaad(0x1d4)](_0x5ca880)});const _0x50df8d={..._0x2051ac};return _0x50df8d[_0x3bdaad(0x1eb)]=!![],{...this['formatStatus'](_0x1fc66d,_0x50df8d),'pendingCreations':this[_0x3bdaad(0x1d4)](_0x5ca880)};}catch(_0x3d6e53){if(![_0x3bdaad(0x31c),_0x3bdaad(0x319)][_0x3bdaad(0x244)](_0x3d6e53[_0x3bdaad(0x16c)]))throw _0x3d6e53;return error('PIPELINE_STATUS_UNAVAILABLE','Pipeline\x20state\x20could\x20not\x20be\x20inspected.',{'active':![],'task':_0x5ca880||null,'diagnostic':creationFailure(_0x3d6e53,_0x3bdaad(0x2c9))});}}['prepareMerge'](_0x7deba9,_0x2db6bc){const _0x5e163e=_0x29c9c8,_0x6541b3=PipelineManager['validateTask'](_0x7deba9);if(_0x6541b3)return _0x6541b3;const _0x2448bf=PipelineManager[_0x5e163e(0x373)](_0x2db6bc);if(_0x2448bf)return _0x2448bf;const _0x20b561=this['readRun'](_0x7deba9,_0x2db6bc);if(!_0x20b561)return error(_0x5e163e(0x2cc),_0x5e163e(0x374)+_0x2db6bc+'\x22\x20was\x20not\x20found.');if(!_0x20b561[_0x5e163e(0x1b6)][_0x5e163e(0x350)]||_0x20b561[_0x5e163e(0x1b6)][_0x5e163e(0x2d7)]!==_0x5e163e(0x36c))return error(_0x5e163e(0x21f),_0x5e163e(0x1e4));const _0x3fe32b={};_0x3fe32b[_0x5e163e(0x17a)]=_0x20b561[_0x5e163e(0x1b6)]['path'];const _0x47574c=this[_0x5e163e(0x331)]([_0x5e163e(0x234),_0x5e163e(0x2b7)],_0x3fe32b);if(!_0x20b561[_0x5e163e(0x1b6)]['baseBranch'])return error(_0x5e163e(0x218),_0x5e163e(0x274));const _0xdf48ac=this[_0x5e163e(0x331)]([_0x5e163e(0x19f),_0x5e163e(0x211),_0x5e163e(0x28c),_0x20b561[_0x5e163e(0x1b6)][_0x5e163e(0x38c)]+_0x5e163e(0x267)+_0x20b561['workspace']['branch']]),_0x1aca6d=this[_0x5e163e(0x331)]([_0x5e163e(0x31e),_0x5e163e(0x25a),_0x20b561[_0x5e163e(0x1b6)]['baseRef']+_0x5e163e(0x267)+_0x20b561[_0x5e163e(0x1b6)]['branch']]),[_0x36e897='0',_0x326b8c='0']=_0xdf48ac[_0x5e163e(0x305)][_0x5e163e(0x326)](/\s+/);return{'success':_0x47574c['ok']&&_0xdf48ac['ok']&&_0x1aca6d['ok'],'task':_0x7deba9,'runId':_0x2db6bc,'workspacePath':_0x20b561[_0x5e163e(0x1b6)][_0x5e163e(0x338)],'branch':_0x20b561[_0x5e163e(0x1b6)][_0x5e163e(0x299)],'baseRef':_0x20b561[_0x5e163e(0x1b6)][_0x5e163e(0x340)],'baseBranch':_0x20b561[_0x5e163e(0x1b6)][_0x5e163e(0x38c)],'clean':_0x47574c['ok']&&!_0x47574c[_0x5e163e(0x305)],'status':_0x47574c[_0x5e163e(0x305)],'ahead':Number(_0x326b8c),'behind':Number(_0x36e897),'changedFiles':_0x1aca6d[_0x5e163e(0x305)]?_0x1aca6d['stdout'][_0x5e163e(0x326)](/\r?\n/)[_0x5e163e(0x287)](Boolean):[],'mergePerformed':![]};}[_0x29c9c8(0x36d)]({task:_0x8c7dc7,runId:_0x1c6439,confirm:_0x5bcf16,sessionId:_0x47b303}={}){const _0x5631ba=_0x29c9c8,_0x49c450=PipelineManager[_0x5631ba(0x333)](_0x8c7dc7);if(_0x49c450)return _0x49c450;const _0x336ec7=PipelineManager[_0x5631ba(0x373)](_0x1c6439);if(_0x336ec7)return _0x336ec7;if(_0x5bcf16!==!![])return error(_0x5631ba(0x19a),_0x5631ba(0x1c4));return this[_0x5631ba(0x375)](_0x8c7dc7,()=>{const _0x2303c6=_0x5631ba,_0x110e3b=this['readRun'](_0x8c7dc7,_0x1c6439);if(!_0x110e3b)return error(_0x2303c6(0x2cc),'Run\x20\x22'+_0x1c6439+'\x22\x20was\x20not\x20found.');if(_0x110e3b[_0x2303c6(0x296)]&&_0x110e3b[_0x2303c6(0x296)]!==_0x47b303)return error(_0x2303c6(0x18a),_0x2303c6(0x15e));if(![_0x2303c6(0x14c),_0x2303c6(0x2d4)][_0x2303c6(0x244)](_0x110e3b[_0x2303c6(0x234)]))return error(_0x2303c6(0x1b5),_0x2303c6(0x23b));if(_0x110e3b['execution']?.[_0x2303c6(0x1a3)]?.['length'])return error(_0x2303c6(0x237),_0x2303c6(0x147));if(!_0x110e3b[_0x2303c6(0x1b6)]['managed']||_0x110e3b[_0x2303c6(0x1b6)][_0x2303c6(0x234)]===_0x2303c6(0x343))return error('WORKTREE_NOT_MANAGED',_0x2303c6(0x1b1));const _0x398066={};_0x398066[_0x2303c6(0x17a)]=_0x110e3b[_0x2303c6(0x1b6)]['path'];const _0x1892e2=this['runGit'](['status',_0x2303c6(0x2b7)],_0x398066);if(!_0x1892e2['ok']||_0x1892e2['stdout'])return error(_0x2303c6(0x294),_0x2303c6(0x2dc),{'status':_0x1892e2['stdout']});if(!_0x110e3b['workspace'][_0x2303c6(0x38c)])return error(_0x2303c6(0x2c2),_0x2303c6(0x1e0));const _0x5c603f=this[_0x2303c6(0x331)]([_0x2303c6(0x306),'--is-ancestor',_0x110e3b['workspace'][_0x2303c6(0x299)],_0x110e3b[_0x2303c6(0x1b6)]['baseBranch']]);if(!_0x5c603f['ok'])return error(_0x2303c6(0x2c2),_0x2303c6(0x324));const _0x3b876e=this['runGit']([_0x2303c6(0x36c),_0x2303c6(0x1a4),_0x110e3b['workspace'][_0x2303c6(0x338)]]);if(!_0x3b876e['ok'])return error(_0x2303c6(0x286),_0x3b876e[_0x2303c6(0x2a3)]);_0x110e3b[_0x2303c6(0x1b6)][_0x2303c6(0x234)]=_0x2303c6(0x343),_0x110e3b[_0x2303c6(0x1b6)]['removedAt']=this['now']()[_0x2303c6(0x33e)](),this['writeState'](_0x110e3b),this[_0x2303c6(0x21a)](_0x110e3b,_0x2303c6(0x31d),_0x2303c6(0x223)+_0x110e3b[_0x2303c6(0x1b6)]['branch']);const _0x2110bc={};return _0x2110bc['success']=!![],_0x2110bc['task']=_0x8c7dc7,_0x2110bc[_0x2303c6(0x291)]=_0x1c6439,_0x2110bc[_0x2303c6(0x299)]=_0x110e3b['workspace']['branch'],_0x2110bc[_0x2303c6(0x1de)]=![],_0x2110bc;});}[_0x29c9c8(0x173)](){const _0x33d5e7=_0x29c9c8,_0x19fa7c=new Set([path[_0x33d5e7(0x336)](this[_0x33d5e7(0x26c)],_0x33d5e7(0x133),_0x33d5e7(0x137)),this[_0x33d5e7(0x15c)]]);for(const _0x1116a5 of _0x19fa7c){if(!fs[_0x33d5e7(0x2b3)](_0x1116a5))continue;const _0x5d4bd6={};_0x5d4bd6[_0x33d5e7(0x251)]=!![];for(const _0x346afc of fs[_0x33d5e7(0x253)](_0x1116a5,_0x5d4bd6)){if(!_0x346afc[_0x33d5e7(0x27d)]()||_0x346afc[_0x33d5e7(0x143)][_0x33d5e7(0x1d9)]('.'))continue;const _0xdecbb9=path[_0x33d5e7(0x336)](_0x1116a5,_0x346afc[_0x33d5e7(0x143)],_0x33d5e7(0x164));if(!fs[_0x33d5e7(0x2b3)](_0xdecbb9))continue;const _0x5cfc0d=fs[_0x33d5e7(0x230)](_0xdecbb9,_0x33d5e7(0x192));let _0xad1f0a;try{_0xad1f0a=JSON[_0x33d5e7(0x2da)](_0x5cfc0d);}catch(_0x8bf82c){const _0x218394={};_0x218394[_0x33d5e7(0x16c)]=_0x33d5e7(0x20f),_0x218394['path']=_0xdecbb9,_0x218394['error']=_0x8bf82c[_0x33d5e7(0x2e5)],this['migrationWarnings'][_0x33d5e7(0x2c5)](_0x218394);continue;}if(!_0xad1f0a?.[_0x33d5e7(0x1c7)]||!PIPELINE_DEFINITIONS[_0xad1f0a['pipeline']]){const _0x5b630e={};_0x5b630e['code']=_0x33d5e7(0x20f),_0x5b630e['path']=_0xdecbb9,_0x5b630e[_0x33d5e7(0x1f5)]=_0x33d5e7(0x23a),this[_0x33d5e7(0x2fa)][_0x33d5e7(0x2c5)](_0x5b630e);continue;}const _0x38d9ad=crypto['createHash'](_0x33d5e7(0x16e))[_0x33d5e7(0x321)](_0xdecbb9+'\x00'+_0x5cfc0d)[_0x33d5e7(0x20c)](_0x33d5e7(0x273)),_0x103242=path['join'](this[_0x33d5e7(0x15c)],_0x33d5e7(0x280),_0x38d9ad+_0x33d5e7(0x2b4));if(fs[_0x33d5e7(0x2b3)](_0x103242))continue;const _0x290b8f=String(_0xad1f0a[_0x33d5e7(0x2f7)]||this[_0x33d5e7(0x366)]()[_0x33d5e7(0x33e)]())[_0x33d5e7(0x1ac)](0x0,0xa)[_0x33d5e7(0x369)](/-/g,''),_0x6588=PipelineManager[_0x33d5e7(0x333)](_0x346afc[_0x33d5e7(0x143)])?_0x33d5e7(0x2a6)+_0xad1f0a[_0x33d5e7(0x1c7)]+'-'+_0x290b8f:_0x346afc['name'];let _0x4b2e9a=_0x6588,_0x36ebc4=0x0;while(this[_0x33d5e7(0x217)](_0x4b2e9a)){const _0xbf93d7=_0x36ebc4++===0x0?_0x38d9ad[_0x33d5e7(0x1ac)](0x0,0x6):_0x38d9ad[_0x33d5e7(0x1ac)](0x0,0x4)+'-'+_0x36ebc4;_0x4b2e9a=_0x6588['slice'](0x0,0x3f-_0xbf93d7[_0x33d5e7(0x22b)])+'-'+_0xbf93d7;}const _0x325b71=this[_0x33d5e7(0x25e)](),_0x317f01=PIPELINE_DEFINITIONS[_0xad1f0a[_0x33d5e7(0x1c7)]],_0x179af3=(_0xad1f0a['completedSteps']||[])[_0x33d5e7(0x1b0)](_0x1f4d46=>typeof _0x1f4d46===_0x33d5e7(0x2f1)?{'id':_0x1f4d46,'summary':'Migrated\x20from\x201.x\x20task\x20state','completedAt':this[_0x33d5e7(0x366)]()['toISOString']()}:_0x1f4d46),_0x3150f7={};_0x3150f7[_0x33d5e7(0x2d7)]=_0x33d5e7(0x300),_0x3150f7['path']=this[_0x33d5e7(0x26c)],_0x3150f7[_0x33d5e7(0x350)]=![],_0x3150f7[_0x33d5e7(0x234)]='ready';const _0xcd0e78={'schemaVersion':0x2,'task':_0x4b2e9a,'runId':_0x325b71,'pipeline':_0xad1f0a[_0x33d5e7(0x1c7)],'status':_0x179af3[_0x33d5e7(0x22b)]>=_0x317f01[_0x33d5e7(0x2f2)][_0x33d5e7(0x22b)]?_0x33d5e7(0x14c):_0x33d5e7(0x1a3),'completedSteps':_0x179af3,'workspace':_0x3150f7,'startedAt':_0xad1f0a['startedAt']||this[_0x33d5e7(0x366)]()[_0x33d5e7(0x33e)](),'updatedAt':this[_0x33d5e7(0x366)]()[_0x33d5e7(0x33e)](),'migratedFrom':_0xdecbb9},_0x6165b9={};_0x6165b9[_0x33d5e7(0x1c5)]=!![],this[_0x33d5e7(0x2ca)](_0xcd0e78,_0x6165b9);const _0xab395f=path[_0x33d5e7(0x336)](_0x1116a5,_0x346afc['name'],_0x33d5e7(0x357)),_0xd6c993=fs[_0x33d5e7(0x2b3)](_0xab395f)?fs[_0x33d5e7(0x230)](_0xab395f,'utf8'):'(no\x20legacy\x20ledger)';this[_0x33d5e7(0x21a)](_0xcd0e78,_0x33d5e7(0x2d0),'Source\x20retained\x20at\x20'+_0xdecbb9+'\x0a\x0a'+_0xd6c993),this[_0x33d5e7(0x196)](_0x103242,{'source':_0xdecbb9,'task':_0x4b2e9a,'runId':_0x325b71,'fingerprint':_0x38d9ad,'migratedAt':this[_0x33d5e7(0x366)]()[_0x33d5e7(0x33e)]()});}}}['migrateLegacyState'](){const _0x282e91=_0x29c9c8;if(!fs[_0x282e91(0x2b3)](this[_0x282e91(0x271)]))return;const _0x438b76=fs[_0x282e91(0x230)](this[_0x282e91(0x271)],_0x282e91(0x192));let _0x501aa4;try{_0x501aa4=JSON[_0x282e91(0x2da)](_0x438b76);}catch(_0xd55aef){this['migrationWarnings'][_0x282e91(0x2c5)]({'code':_0x282e91(0x20f),'path':this[_0x282e91(0x271)],'error':_0xd55aef[_0x282e91(0x2e5)]});return;}if(!_0x501aa4?.[_0x282e91(0x1c7)]||!PIPELINE_DEFINITIONS[_0x501aa4[_0x282e91(0x1c7)]]){this[_0x282e91(0x2fa)][_0x282e91(0x2c5)]({'code':_0x282e91(0x20f),'path':this[_0x282e91(0x271)],'error':_0x282e91(0x23a)});return;}const _0x4cd8bc=crypto['createHash'](_0x282e91(0x16e))['update'](_0x438b76)[_0x282e91(0x20c)](_0x282e91(0x273)),_0x291025=path[_0x282e91(0x336)](this[_0x282e91(0x15c)],_0x282e91(0x280),_0x4cd8bc+'.json');if(fs[_0x282e91(0x2b3)](_0x291025))return;const _0x1f8eb6=String(_0x501aa4[_0x282e91(0x2f7)]||this[_0x282e91(0x366)]()[_0x282e91(0x33e)]())[_0x282e91(0x1ac)](0x0,0xa)[_0x282e91(0x369)](/-/g,''),_0xa1975=_0x282e91(0x2a6)+_0x501aa4[_0x282e91(0x1c7)]+'-'+_0x1f8eb6;let _0x21dd96=_0xa1975,_0x2f4961=0x0;while(fs['existsSync'](this[_0x282e91(0x2b8)](_0x21dd96))){const _0x1c156e=_0x2f4961++===0x0?_0x4cd8bc[_0x282e91(0x1ac)](0x0,0x6):_0x4cd8bc[_0x282e91(0x1ac)](0x0,0x4)+'-'+_0x2f4961;_0x21dd96=_0xa1975[_0x282e91(0x1ac)](0x0,0x3f-_0x1c156e[_0x282e91(0x22b)])+'-'+_0x1c156e;}const _0x283312=this[_0x282e91(0x25e)](),_0x171864=PIPELINE_DEFINITIONS[_0x501aa4['pipeline']],_0x477e7c=(_0x501aa4['completedSteps']||[])[_0x282e91(0x1b0)](_0x21c62d=>typeof _0x21c62d===_0x282e91(0x2f1)?{'id':_0x21c62d,'summary':'Migrated\x20from\x20legacy\x20state','completedAt':this[_0x282e91(0x366)]()[_0x282e91(0x33e)]()}:_0x21c62d),_0x321ba0={};_0x321ba0[_0x282e91(0x2d7)]='current',_0x321ba0[_0x282e91(0x338)]=this['projectPath'],_0x321ba0[_0x282e91(0x350)]=![],_0x321ba0[_0x282e91(0x234)]=_0x282e91(0x24e);const _0x1ecef4={'schemaVersion':0x2,'task':_0x21dd96,'runId':_0x283312,'pipeline':_0x501aa4['pipeline'],'status':_0x477e7c[_0x282e91(0x22b)]>=_0x171864[_0x282e91(0x2f2)]['length']?_0x282e91(0x14c):'active','completedSteps':_0x477e7c,'workspace':_0x321ba0,'startedAt':_0x501aa4[_0x282e91(0x2f7)]||this[_0x282e91(0x366)]()[_0x282e91(0x33e)](),'updatedAt':this[_0x282e91(0x366)]()['toISOString'](),'migratedFrom':this[_0x282e91(0x271)]},_0x29b4f1={};_0x29b4f1[_0x282e91(0x1c5)]=!![],this[_0x282e91(0x2ca)](_0x1ecef4,_0x29b4f1),this[_0x282e91(0x21a)](_0x1ecef4,'Legacy\x20state\x20imported',_0x282e91(0x1bd)+this[_0x282e91(0x271)]),this[_0x282e91(0x196)](_0x291025,{'source':this[_0x282e91(0x271)],'task':_0x21dd96,'runId':_0x283312,'fingerprint':_0x4cd8bc,'migratedAt':this['now']()['toISOString']()});}static[_0x29c9c8(0x339)](_0x4981bb){const _0x14063b=_0x29c9c8,_0x502f8f=String(_0x4981bb||'')[_0x14063b(0x1bc)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/[_0x14063b(0x381)](_0x502f8f)){const _0x3e73ac={};return _0x3e73ac[_0x14063b(0x25d)]='bugfix',_0x3e73ac[_0x14063b(0x2ef)]=_0x14063b(0x252),_0x3e73ac['reason']=_0x14063b(0x27f),_0x3e73ac;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/[_0x14063b(0x381)](_0x502f8f)){const _0x580aa4={};return _0x580aa4[_0x14063b(0x25d)]=_0x14063b(0x171),_0x580aa4[_0x14063b(0x2ef)]=_0x14063b(0x252),_0x580aa4[_0x14063b(0x134)]=_0x14063b(0x362),_0x580aa4;}const _0x520025={};return _0x520025[_0x14063b(0x25d)]=_0x14063b(0x178),_0x520025['confidence']=_0x502f8f[_0x14063b(0x22b)]>=0x3?_0x14063b(0x252):_0x14063b(0x329),_0x520025[_0x14063b(0x134)]=_0x14063b(0x2fc),_0x520025;}}const _0x53d719={};_0x53d719['PipelineManager']=PipelineManager,_0x53d719[_0x29c9c8(0x2e8)]=PIPELINE_DEFINITIONS,_0x53d719[_0x29c9c8(0x207)]=PIPELINE_DEFINITIONS_V3,module[_0x29c9c8(0x18c)]=_0x53d719;
|
|
1
|
+
const _0x1a9fc9=_0x4516;(function(_0x737d2b,_0x274395){const _0x366432=_0x4516,_0x561a00=_0x737d2b();while(!![]){try{const _0x18b731=parseInt(_0x366432(0x3a3))/0x1*(parseInt(_0x366432(0x3aa))/0x2)+-parseInt(_0x366432(0x3ca))/0x3+parseInt(_0x366432(0x401))/0x4+-parseInt(_0x366432(0x314))/0x5*(-parseInt(_0x366432(0x20e))/0x6)+parseInt(_0x366432(0x3ad))/0x7*(parseInt(_0x366432(0x29e))/0x8)+parseInt(_0x366432(0x385))/0x9+-parseInt(_0x366432(0x3a9))/0xa;if(_0x18b731===_0x274395)break;else _0x561a00['push'](_0x561a00['shift']());}catch(_0x3a9530){_0x561a00['push'](_0x561a00['shift']());}}}(_0x27c7,0x4fbdc));const crypto=require(_0x1a9fc9(0x254)),fs=require('fs'),os=require('os'),path=require(_0x1a9fc9(0x1ff)),{spawnSync}=require(_0x1a9fc9(0x3cf)),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0x1a9fc9(0x2c1)),{inspectRunContract}=require(_0x1a9fc9(0x1f6)),{artifactEvidenceCurrent}=require(_0x1a9fc9(0x32f)),TOOL_ROUTING='explore_code\x20FIRST\x20for\x20code.\x20grep_search\x20ONLY\x20non-code\x20(config/docs/.env).\x20No\x20grep\x20loops.',_0x43e232={};_0x43e232[_0x1a9fc9(0x42e)]=_0x1a9fc9(0x395),_0x43e232[_0x1a9fc9(0x2a1)]='SAVE\x20PRD\x20scope\x20and\x20key\x20requirements\x20with\x20remember.',_0x43e232[_0x1a9fc9(0x34d)]=_0x1a9fc9(0x24c),_0x43e232['tdd']='SAVE\x20implementation\x20decisions\x20and\x20test\x20patterns\x20with\x20remember.',_0x43e232['improve-architecture']=_0x1a9fc9(0x443);const MEMORY_TRIGGERS=_0x43e232,DOMAIN_SKILL_REMINDER=[_0x1a9fc9(0x32a),'Web\x20UI:\x20.agents/skills/ui-style-rules/SKILL.md',_0x1a9fc9(0x322),_0x1a9fc9(0x403)]['join']('\x0a'),_0x433fa3={};_0x433fa3['id']=_0x1a9fc9(0x42e),_0x433fa3[_0x1a9fc9(0x2df)]=_0x1a9fc9(0x327),_0x433fa3[_0x1a9fc9(0x39c)]=_0x1a9fc9(0x286);const _0x41b025={};_0x41b025['id']=_0x1a9fc9(0x2a1),_0x41b025[_0x1a9fc9(0x2df)]=_0x1a9fc9(0x328),_0x41b025['skill']=_0x1a9fc9(0x235);const _0x1468d1={};_0x1468d1['id']=_0x1a9fc9(0x261),_0x1468d1[_0x1a9fc9(0x2df)]=_0x1a9fc9(0x202),_0x1468d1[_0x1a9fc9(0x39c)]=_0x1a9fc9(0x2b4);const _0x5f1298={};_0x5f1298['id']=_0x1a9fc9(0x22c),_0x5f1298[_0x1a9fc9(0x2df)]='Implement\x20test-first',_0x5f1298['skill']=_0x1a9fc9(0x1f7);const _0x576801={};_0x576801['id']=_0x1a9fc9(0x44f),_0x576801[_0x1a9fc9(0x2df)]=_0x1a9fc9(0x29f),_0x576801['skill']=_0x1a9fc9(0x288);const _0x4f08fe={};_0x4f08fe['name']=_0x1a9fc9(0x2ad),_0x4f08fe[_0x1a9fc9(0x2bd)]=[_0x433fa3,_0x41b025,_0x1468d1,_0x5f1298,_0x576801];const _0xf47331={};_0xf47331['id']=_0x1a9fc9(0x34d),_0xf47331[_0x1a9fc9(0x2df)]=_0x1a9fc9(0x339),_0xf47331[_0x1a9fc9(0x39c)]=_0x1a9fc9(0x3d5);const _0x263fab={};_0x263fab['id']=_0x1a9fc9(0x42e),_0x263fab[_0x1a9fc9(0x2df)]='Challenge\x20the\x20fix\x20design',_0x263fab[_0x1a9fc9(0x39c)]=_0x1a9fc9(0x286);const _0x444dc1={};_0x444dc1['id']=_0x1a9fc9(0x2a1),_0x444dc1[_0x1a9fc9(0x2df)]=_0x1a9fc9(0x39d),_0x444dc1[_0x1a9fc9(0x39c)]='prd-gen';const _0x5ee898={};_0x5ee898['id']=_0x1a9fc9(0x261),_0x5ee898['name']='Create\x20tracking\x20issues',_0x5ee898[_0x1a9fc9(0x39c)]=_0x1a9fc9(0x2b4);const _0x4ef1ee={};_0x4ef1ee['id']='tdd',_0x4ef1ee['name']=_0x1a9fc9(0x432),_0x4ef1ee[_0x1a9fc9(0x39c)]=_0x1a9fc9(0x1f7);const _0xa92a25={};_0xa92a25[_0x1a9fc9(0x2df)]=_0x1a9fc9(0x2db),_0xa92a25['steps']=[_0xf47331,_0x263fab,_0x444dc1,_0x5ee898,_0x4ef1ee];const _0xb40bf0={};_0xb40bf0['id']=_0x1a9fc9(0x245),_0xb40bf0['name']=_0x1a9fc9(0x2e8),_0xb40bf0[_0x1a9fc9(0x39c)]=null;const _0x422b41={};_0x422b41['id']=_0x1a9fc9(0x42f),_0x422b41[_0x1a9fc9(0x2df)]=_0x1a9fc9(0x234),_0x422b41[_0x1a9fc9(0x39c)]=_0x1a9fc9(0x1f7);const _0xf58b20={};_0xf58b20['name']=_0x1a9fc9(0x38c),_0xf58b20[_0x1a9fc9(0x2bd)]=[_0xb40bf0,_0x422b41];const _0x439ec8={};_0x439ec8['feature']=_0x4f08fe,_0x439ec8[_0x1a9fc9(0x2cd)]=_0xa92a25,_0x439ec8['hotfix']=_0xf58b20;const PIPELINE_DEFINITIONS=_0x439ec8,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(_0x4e16c9,_0x203e6c,_0x463cde={}){const _0x352b59={'success':![],'code':_0x4e16c9,'error':_0x203e6c,..._0x463cde};return _0x352b59;}function creationFailure(_0x16e977,_0x4091c2){const _0x40a47f=_0x1a9fc9;return{'phase':_0x4091c2,'code':typeof _0x16e977[_0x40a47f(0x38b)]===_0x40a47f(0x43a)?_0x16e977['code']:_0x40a47f(0x22b),'syscall':typeof _0x16e977[_0x40a47f(0x3fe)]==='string'?_0x16e977[_0x40a47f(0x3fe)]:null,'path':typeof _0x16e977[_0x40a47f(0x1ff)]===_0x40a47f(0x43a)?_0x16e977['path']:null,'message':typeof _0x16e977[_0x40a47f(0x40d)]===_0x40a47f(0x43a)?_0x16e977[_0x40a47f(0x40d)][_0x40a47f(0x3b0)](0x0,0xf0):null};}function normalizePath(_0x914375){const _0x3f3825=_0x1a9fc9;try{return fs[_0x3f3825(0x37e)](_0x914375);}catch{return path[_0x3f3825(0x412)](_0x914375);}}function _0x27c7(){const _0x26f692=['Aw50zw50lwnVBxbSzxrL','zgvMAw5PDgLVBG','lMnYzwf0Aw9U','z2L0','rMvHDhvYzsbezxzLBg9WBwvUDa','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','lcbUB3qGCMvZDw1HyMXLlG','CMv2Awv3','tgvNywn5ihn0yxrLigLTCg9YDgvK','zNjVEMvU','D29YA3nWywnLig11C3qGyMuGyw4GB2jQzwn0ihDPDgGGBw9KzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','DgfZAY1ICMvHA2rVD24','BgfZDezHAwX1CMu','qNjHBMnOihbYzxnLCNzLzdOG','v09ss1rsruvFqKftrv9cuKfoq0HFtuLtu0LorW','uMvZzxqGBxvZDcb1C2uGDgHLihjLy29YzgvKignVB3jKAw5HDg9YihnLC3nPB24U','yxr0zw1WDf9SAw1PDa','BwfUywDLza','y29UzMLYBwvK','Aw5PDgLHBgL6zq','C3rLChm','DgvYBwLUywW','z2vUzxjHDgvsDw5jza','vw5RBM93BIbWAxbLBgLUzsb0ExbLoIa','lI4Vy29Yzs9LEgvJDxrPB24','CMvHzezPBgvtEw5J','lI4Vy29Yzs9ZA2LSBc1Uyw1LCY5QCW','v09ss1rsruvFvu5nrvjhruq','DMfSAwrHDgvsDw5jza','ugLWzwXPBMvnyw5Hz2vY','yxjNCW','CMvHzhK','v29YA3nWywnLoIa','DxnL','DxnLCI5LBwfPBa','CNvUDgLTzvbPBG','yNvNzML4','su5wquXjrf9srvnfvf9uqvjhrvq','D2vI','BxvSDgK','CMvJB3zLCMvK','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','DgfYz2v0ig11C3qGyMuGCNvUig9YignYzwf0Aw9UlG','C291CMnL','C3rHCNrZv2L0Aa','C3rHCNrLzef0','CMvJB3zLCNLFy29TBwfUza','ywnJzxb0yw5JzvjLDMLZAw9U','BgLZDa','yxrVBwLJv3jPDgvkC29U','qNvNiezPEa','v09ss1rsruvFreLsvfK','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5LihjLC2v0lG','DMfSDwvZ','BMfTzq','ig11C3qGy29UDgfPBIbUB24Tzw1WDhKGC3rYAw5NCY4','y2XVC2vK','DMfSAwrHDgvxB3jRC3bHy2u','lI4Vy29Yzs9YDw50Aw1LlwLUzM8','Bxv0yxrPB24','C2TPBgXZ','BM9YBwfSAxPLuxvHBgL0EvbSyw4','B2jQzwn0','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','Dw5HDMfPBgfIBgu','Aw5PDgLHBgL6Aw5N','C25HChnOB3qTBM90lxjLzNjLC2HLza','C3vJy2vZCW','D2fPDa','BgvKz2vYlxDYAxrL','DxnLCI5Uyw1L','D2LUzg93C0HPzgu','ywnJzxb0yw5Jzq','ChjLDMLVDxnsDw4','C2LNBMvKlxjLBgvHC2u','CgLWzwXPBMvZ','BwLNCMf0Aw9Uv2fYBMLUz3m','sw50zw50ig93BMvYC2HPCcbVCIbJDxjYzw50ihDVCMTZCgfJzsbJyw5UB3qGyMuGChjVDMvUlG','uLvox01ju01bveni','ChjLlwnYzwf0zs1ZDgf0zq','zxHWzwn0zwrFCgf0Aa','y2XVC2vtEw5J','B3bLBG','qNvNlwzPEcbZAwDUywXZigrLDgvJDgvKlG','vxbNCMfKzsbJyw5JzwXSyxrPB24GCMvXDwLYzxmGDgHLign1CNjLBNqGzNjVEMvUihrYyw5Zywn0Aw9UlG','CMvKDwnL','u1rfuf9pvvrFt0zFt1jervi','y3jLyxrLsgfZAa','Ag90zML4','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','yxb0lW','CMvJzwLWDe9IC2vYDMf0Aw9UCW','zMX1DhrLCG','Bg9JA1rPBwvVDxrnCW','Agv4','Aw50zwDYAxr5lw1HBMLMzxn0lMPZB24','cK5LEhqGC3rLCdOG','CNvUr2L0','C3rYAw5NAwz5','C3rHDhvZlwLUC3bLy3rPB24','D29YA2vYu3rHDhvZ','CgvUzgLUz0nYzwf0Aw9U','uNvUignYzwf0Aw9UihDHCYbPBNrLCNj1ChrLzdSGAxrZihDVCMTZCgfJzsbHBMqGAw50zw50ihDLCMuGChjLC2vYDMvKlG','q29UzMLYBsb3B3jRzxiGC2H1DgrVD24GyMvMB3jLignHBMnLBgXPBMCGDgHLihj1BI4','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGy2fUy2vSBgLUzYb0AguGCNvUlG','A2LUza','nwvdrKDVrq','qurnsvntsu9ox0nptKzmsunu','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','zxjYB3i','AxnbCNjHEq','C29YDa','ls1ZAg93lwn1CNjLBNq','ywn0AxzL','C3vNz2vZDgvKx3bPCgvSAw5L','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','qwn0AxzLihbPCgvSAw5LCYbJyw5UB3qGyMuGBwLNCMf0zwqGzhvYAw5NieDPDcbPBML0AwfSAxPHDgLVBI4','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','yxbWzw5KtgvKz2vY','lM1Pz3jHDgLVBNm','tw9IAwXLifvjoIaUywDLBNrZl3nRAwXSCY9TB2jPBguTCNvSzxmVu0TjteWUBwq','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra','Bwf4','lMPZB24','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','u3LUDgHLC2L6zsbquKq','CgfZC2vK','tg9Hzcb0AguGBwf0y2HPBMCGzg9TywLUihnRAwXSigjLzM9YzsbJB2rPBMC6','zgLNzxn0','v09ss1rsruvFqKftrv9nsvntsu5h','CNvUCW','yMfZzw5HBwu','lI4Vy29Yzs9XDwfSAxr5lwfYDgLMywn0CW','C2HHmJu2','v29YA3rYzwuGCMvTB3zLza','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','D2L0AezPBgvuExbLCW','CMvJDxjZAxzL','Dg9ju09tDhjPBMC','su5wquXjrf9svu5Fsuq','tevhqunzx1nuqvrfx0LovKfmsuq','C2TPBgXqAw5Z','rgLHz25VC2uGyw5KihjLChjVzhvJzq','C2TPBgXFzgLYzwn0AxzL','C3rHDgu','uMvJB3zLCNKGD2fZigLUDgvYCNvWDgvKoYbPDhmGAw50zw50ihDHCYbWCMvZzxj2zwqU','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzc4','sg90zML4ihnJB3bLigP1C3rPzMLJyxrPB24GBxvZDcbJB250ywLUigf0igXLyxn0ideWignOyxjHy3rLCNmU','AxneAxjLy3rVCNK','uLvox1jfq09wrvjzx0zbsuXfra','lI4Vy29Yzs9XDwfSAxr5','CMvJB3jKvMvYAwzPy2f0Aw9Uqxn5BMm','y2fUy2vSrM9YvxbNCMfKzq','ueLqruXjtKvFu1rbvevFte9ds0ve','zgLYzwn0B3j5','CgLUtgvNywn5rgvMAw5PDgLVBG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','CMvWB3j0CW','CMvZB2X2zvDVCMTZCgfJzq','CMvZB2X2zwq','BwTKAxjtEw5J','C2vW','zgLHz25VC2u','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','Aw5PDgLHBgL6zwq','CMvWBgfJzufSBa','v09ss0vsx1nut1bFvu5dt05gsvjnruq','lI4Vy29Yzs9NAxqTy29UDgv4Da','ChjVAMvJDfbHDgG','Aw5KzxG','r2L0igLUAxrPywXPEMf0Aw9UigfUzcbHigjHC2vSAw5LignVBw1PDcbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','lMfNzw50CY9WAxbLBgLUzxmV','D29YA3nWywnLigzPzwXKCYbOyxzLigLUDMfSAwqGDhLWzxmU','qMfZzsbJAgvJA291DcbTDxn0igjLignSzwfUigjLzM9YzsbJCMvHDgLUzYbHihDVCMT0CMvLlG','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','uhjVAMvJDcbMAwXLCYbJAgfUz2vKigfMDgvYihbYzxzPzxCUifjLCxvLC3qGysbUzxCGy29UzMLYBwf0Aw9UihrVA2vUlG','BM9qCM9NCMvZCW','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','lMfNlwTPDc13B3jRDhjLzxm','D29YA3rYzwuG','DMvYzgLJDa','uNvUigLZia','CNvUDgLTzvb1yMXPy0TLEq','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','y29UDhjHy3qTDw5HDMfPBgfIBgu','l1nlsuXmlM1KigjLzM9YzsbZDgvWici','uNvUici','CgLWzwXPBMu','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','uLvox0Lex1jfuvvjuKve','BgvKz2vYrMLSzq','ueLqruXjtKvFu1rbvfvtx1voqvzbsuXbqKXf','BM9FChjVz3jLC3m','r0Lux0Lorevyx0zjteu','zxHLy3v0Aw9U','y29TCgXLDgvKu3rLChm','AM9PBG','cLbPCgvSAw5LoIa','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','BwLNCMf0zuXLz2fJEvn0yxrLCW','qsbTyxrJAgLUzYb1BNjLC29SDMvKignYzwf0Aw9UigLUDgvUDcbPCYbYzxf1AxjLzc4','C3rHBgu','y3jPDgvYAw9UswrZ','BgLZDfj1BNm','CMvMCMvZAfnUyxbZAg90','y2XHC3nPzNLszxf1zxn0','D3jPDgvgAwXLu3LUyW','y3vYCMvUDa','D29YA3nWywnLugf0Aa','ls1Nzxq','CMvHBhbHDgHtEw5J','C2nVCgu','CMfUzg9Tvvvjra','CgvUzgLUz0nYzwf0Aw9UCW','CMvHzePZB24','DxbKyxrL','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','mZG1nJa0mun2uwL5uW','C29Tzq','AxntywzLsw50zwDLCG','y3vYCMvUDc5QC29U','ywDLBNqTCMv2Awv3','D29YA3nWywnLlxjLywr5','y29Kzq','sg90zML4','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','DxbNCMfKzs1SAw5LywDLlMPZB24','uNvUignHBMnLBgXLza','y2HVCMu6igLUAxrPywXPEMuGBg9JywWGCMvWB3nPDg9YEq','uMvZB2X2zsbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','CMvWBgf5','CMv2Awv3t2jZzxj2zwq','Bg9JA0zPBgu','u0fwrsbKzxnPz24GzgvJAxnPB25ZigfUzcbJB25ZDhjHAw50CYb3AxrOihjLBwvTyMvYlG','yxnZAwDU','CNvUswqGAxmGCMvXDwLYzwqU','C2v0q3vYCMvUDa','CNvUDgLTzvjVB3q','ugLWzwXPBMuGC3rHCNrLza','y29UzMLN','C2TPBgW','rg9JDw1LBNqGDgHLigzPEa','CMvTB3zL','u0vtu0LptL9nsvnnqvrdsa','su5wquXjrf9svu5Fsu5qvvq','twLNCMf0zwqGzNjVBsbSzwDHy3KGC3rHDgu','v09ss1rsruvFtK9ux01btKfhruq','mZq5zvfsEKnO','Cgf1C2vK','BgvNywn5lw1Pz3jHDgLVBG','q1jfqvrjt05FuLvox01ju01bveni','C3rKB3v0','D29YA3nWywnLlxjLC29SDxrPB24','nta4nJK5mePrCvbmDG','mty1ng5nDuHYrW','CNvUrgLY','Bw9Kzq','mtm2mJK5mxrSquDmCW','r0Lux0jbu0vmsu5fx05pvf9dtevbtG','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','C2XPy2u','q1jfqvrjt05FuLvox0vysvnuuW','ls1Uyw1Llw9UBhK','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','sevbra','zNjVBuvUDhjPzxm','zM9YBwf0u3rHDhvZ','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','DxrMoa','y29TCgXLDgvK','CMvHzfj1BG','C3rHDgvsB290','ChjLDMLLD0DPDejVB3rZDhjHCa','BgvNywn5rgvMAw5PDgLVBNm','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlMvTywLSicj5B3vazxHHBxbSzs5JB20I','uLvox0nsrufusu9ox0Loq09nueXfveu','rxHWzwn0zwqGC3rLCcaI','C3rVCfjLyxnVBG','Dw5SAw5Ru3LUyW','zw52','ywn0B3jtzxbHCMf0zwq','C2vZC2LVBKLK','y29TCgf0AwjPBgL0Eq','y3btEw5J','C3rHDguTD3jPDgu','BxrPBwvnCW','mtm1mZG3oujRzM92ua','C3bSAxq','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','iIb3yxmGBM90igzVDw5KlG','q2fUBM90ignVBxbHCMuGDgHLihDVCMT0CMvLihDPDgHVDxqGAxrZihjLy29YzgvKigjHC2uGyNjHBMnOlG','y2HPBgrFChjVy2vZCW','zxHWzwn0zwrpDxrJB21L','CMvJB3zLCKnYzwf0Aw9U','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','BwfW','BwLNCMf0zuXLz2fJEvn0yxrL','yNvNlwrPywDUB3n0AwnZ','BgvNywn5u3rHDgvgAwXLugf0Aa','y29UDgLUDwu','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','BwLNCMf0zvn0yxrLuM9VDa','q1jfqvrjt05Fu1vqrvjtrurfra','zMLUzgLUz3m','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','ls1WB3jJzwXHAw4','q2fUBM90igLUAxrPywXPEMuGDgvTCg9Yyxj5ieDPDcbPBMrLEc4','lI4Vy29Yzs9ZzxnZAw9U','u3rLCcbJB21WBgv0zwq6ia','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','BM93','zxzLCNK','CMfUzg9TqNL0zxm','CMvWywLYuNvU','C3vNz2vZDfrHC2S','BwvKAxvT','zMvHDhvYzq','C3rHCNq','kg5Vihn1Bw1HCNKP','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','CgXHDgzVCM0','Ag9ZDc1VyNnLCNzLza','y3jLyxrLv29YA3rYzwu','C3rHDhvZ','C2HVDY1Yzwy','y2HLy2TZ','cImJia','B3DUC1j1BG','D29YA3nWywnLignVBNrHAw5ZigfUihvUC3vWCg9YDgvKigzPzwXKoYbZzwXLy3qGDgHLihDVCMTZCgfJzsb0AhjVDwDOihrOzsbnq1aGC2vYDMvYigjPBMrPBMCU','y2HLy2TWB2LUDa','Bw9IAwXL','DgfZAW','y29UzMLKzw5Jzq','zMfPBgvK','CMvXDwvZDgvKv29YA3nWywnL','uLvox1nusuXmx0fdveLwrq','A2v5CW','C25HChnOB3q','C3LZy2fSBa','DgfYz2v0','ChvZAa','mteXota0nhbqugrTtG','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','rMX1DhrLCJOGC2vSzwn0ihrOzsb0yxnRlxnWzwnPzMLJiezSDxr0zxiGC2TPBgWU','qundrvbuqu5drv9btfjfqurzx0fdveLwrq','iIbPCYbTAxnZAw5NlG','y2XLyw51CfDVCMTZCgfJzq','q29UzMLNDxjLieDPDcb1C2vYlM5HBwuGyw5KihvZzxiUzw1HAwWGyMvMB3jLignYzwf0Aw5NihrOzsbIyxnLBgLUzsbJB21TAxqU','zMLUza','CxvHBgL0Eq','zw5KC1DPDgG','r0Lux1bsrvzjrvDFrKfjteve','DhjHBNnHy3q','BwvZC2fNzq','DMvYC2LVBG','DMfSAwrHDgvuyxnR','ihrHC2SOCYKGDhjHy2TLzc4','su5wquXjrf9uqvnlx0Le','CMvZB2X2zq','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','q2HLy2TWB2LUDcbZDgf0DxmGBxvZDcbIzsaIy29TCgXLDgvKiI4','yM9VBgvHBG','se9urKLyx1ndt1bfx1jfuvvjuKve','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlM5HBwuGiLLVDxiGtMfTzsi','CMvHC29U','CNvUswq','ueLqruXjtKvFtuLttufuq0G','lcbUB3qGywn0AxzLlG','yxj0AwzHy3rqyxrOCW','Aw5OzxjPDfvWz3jHzgvdB250zxH0','DxbKyxrLzef0','zNjLC2HtDgfYDef2ywLSywjSzq','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','ywrK','uNvUihvZzxmGCgLWzwXPBMuGiG','v09ss1rsruvFuefusf9fweLtvfm','CMvJB3zLCG','AxnmAw5RzwrxB3jRDhjLzq','y2fUtxv0yxrL','CgfYC2u','y3jLyxrPB25jBNrLBNrgAwXL','zgv2zwXVCg1LBNrnB2rL','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','lMfNzw50CW','yxr0zw1WDhm','z3jPBgWTBwu','zML4lwfUzc10zxn0','BM9Uzq','CMvXDwLYzwrtA2LSBevYCM9Y','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','lMDPDgLNBM9Yzq','ywnJzxb0yw5JzunYAxrLCMLH','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','C3rHDfn5BMm','Dg9mB3DLCKnHC2u','ChjLCgfYzu1LCMDL','C3rYAw5N','u2vZC2LVBLj1BNrPBwu','vgHPCYbYDw4GCMvTywLUCYbYzwfKywjSzsWGyNv0igL0CYbOAxn0B3jPy2fSignVBNrYywn0ignHBM5VDcbIzsb2zxjPzMLLzcbMB3iGBxv0yxrPB24U','CMv2lxbHCNnL','Aw5PDgLHBgL6zuDPDa','y3jLyxrPBMC','zxjYB3jpBKv4Axn0','y29UzMLYBwf0Aw9Uvg9Rzw4','ChvIBgLJs2v5','u0fwrsbHCMnOAxrLy3r1CMuGzgvJAxnPB25ZigfUzcbMAw5KAw5NCYb3AxrOihjLBwvTyMvYlG','BgvUz3rO','y3jLyxrPB24','B3jPz2LUv29YA3nWywnL','C3rKzxjY','lI4U','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','y2fUy2vSBgvKqxq','CM1tEw5J','ls13B3jRlxrYzwu','AgfZtgvNywn5u3rHDgu','zg9TywLUx3nRAwXSCW','Aw1WCM92zs1HCMnOAxrLy3r1CMu','ls1XDwLLDa','vgHPCYbJCMvHDgLVBIbPBNrLBNqGAgfZigfSCMvHzhKGyMvLBIbYzxnVBhzLzc4GvxnLihbPCgvSAw5Lx3vZzsbMB3iGyw4GzxHPC3rPBMCGCNvUlG','kg5VigXLz2fJEsbSzwrNzxiP','lI4VlI4VCgfJA2fNzs5QC29U','u2f2zwqGy3jLyxrPB24GAw50zw50ignVDwXKig5VDcbIzsbPBNnWzwn0zwqU','lMXVy2TZ','lMXVy2S','ls12zxjPzNK','CMvJB3jKvMvYAwzPy2f0Aw9U','uMvHzcaUywDLBNrZl3nRAwXSCY8','Aw5PDa','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','D2L0AeXVy2S','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','DgrKlwXVB3a','su5wquXjrf9qsvbfteLorq','ChjVzhvJDfrHCMDLDa','yMXVy2TLza','BwvTB3j5x2fJDgLVBG','vgHPCYbOAxn0B3jPy2fSihj1BIbPCYbYzwfKywjSzsbIDxqGy2fUBM90igjLihjLyM91BMqGzM9Yig11Dgf0Aw9UlG','CMvWB3nPDg9YEunVBNrLEhq','z2L0q29TBw9UrgLY','Cgf0Aa','lNrTCa','C2L6zq','q3jLyxrLihzLCNrPy2fSlxnSAwnLigLZC3vLCW','x19WAxbLBgLUzv9ZDgfYDf9F','r0Lux0Leru5usvrzx1jfuvvjuKve','CMvHzhKTzM9YlwfJy2vWDgfUy2u','DgfZA0rPCG','CMvJB3jKrM9YzwLNBLj1BG','DhjPBq','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','BgvKz2vY','ywjHBMrVBMvK','yNjHBMnO','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','ntCWmZK2B0XJv29d','BMv3lxj1BI1Yzxf1AxjLza','lI4VBgLJzw5Zzs92zxjPzNK','y3vYCMvUDezPBgu','DMvYAwzPzwq','B3bLBLn5BMm','CMvJB3zLCLj1BKLK','su5wquXjrf9xt1jlu1bbq0vFtu9erq','ls1NAxqTzgLY','y29UDhjHy3q','ueLqruXjtKvFu1rbvevFvu5bvKfjtefcteu','ChjVz3jLC3mUBwq','BMf0AxzLlxDVCMT0CMvL','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','CMvJB3zLCNKTAw5ZCgvJDgLVBG','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','C2fTzvDVCMTZCgfJzq','AxnhAxrszxbVC2L0B3j5','v29YA3rYzwuGCgf0AcbHBhjLywr5igv4Axn0CZOG','ChjLDMLLDW','BwTKDgvTCfn5BMm','CxvHBgL0EvbSyw4','CNvU','DMvYAwz5q29WAwvKvhjLzq','Aw50zxjYDxb0zwq','C3rHDguUANnVBG','D2LUmZi','CMvTB3zLzef0','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','vu5ltK9xtG','DgrK','DhjHBNnHy3rPB25jza','zMLSDgvY','su5wquXjrf9xt1jlu1bbq0u','CMvHzg9UBhK','Aw5OzxjPDgvKqxr0zw1WDezSB29Y','yxbWzw5KrMLSzvn5BMm','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','ChjKlwDLBG','D29YA3rYzwu','zM9Yy2u','D29YA3nWywnL','CMvXDwLYzwq','D29YA0L0zw1Z','CMvHzgrPCLn5BMm','BMv4DefJDgLVBG','iIWGCMvJzwL2zwqGiG','CgXHBG','yxr0zw1WDeLK','vgfZAYbTDxn0igjLigeGBg93zxjJyxnLignHBM9UAwnHBcbjrcb1C2LUzYbSzxr0zxjZlcbUDw1IzxjZlcbOExbOzw5ZlcbVCIb1BMrLCNnJB3jLCYaOBwf4idy0ks4','u291CMnLihjLDgfPBMvKigf0ia','Dhj1BMm','zgv2zwXVCg1LBNqTC291CMnL','Aw50zw50lxDVCMTZCgfJzs13CML0zq','DMvYAwz5lxnJB3bL','y3jPDgvYAwe','Bw9KzwXszwnLAxb0','y29VCMrPBMf0B3i','Aw5OzxjPDgvK','uLvox05pvf9gt1vora','y3DK','u0fwrsbYB290ignHDxnLigfUzcbYzxbYB2r1y3rPB24GC3rLChmGD2L0AcbYzw1LBwjLCI4','DgLTzw91Da','C3rHz2u','q3jLyxrPB24GywXYzwfKEsbOyxmGCNvUihn0yxrLig9YigeGy3vYCMvUDcbIAw5KAw5NoYbPDcbJyw5UB3qGyMuGywjHBMrVBMvKlG','C2nOzw1HvMvYC2LVBG','Aw5PDc5KzwzHDwX0qNjHBMnO','Dg9tDhjPBMC','yxv0BW','y3j5ChrV','uMvJB3jKzwqGD29YA3nWywnLigrPzMzLCNmGzNjVBsb0AgLZihbYB2PLy3qU','CMvJB3zLCNLFy29TBwfUzhm','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','v09ss19jtL9gteLhsfq','BgLZDfj1BNngCM9TuM9VDa','zMLSzq','y3jLyxrLzef0','yxj0AwzHy3rszxzPzxC','zxHPC3rZu3LUyW','ls1JB3vUDa','z2v0u3rHDhvZ','y2fUy2vSBgvK','Dg8TAxnZDwvZ','CgXHBM5LzeL0zw1Z','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','CMvHzen1CNjLBNq','y2fUy2vSvMvYAwzPy2f0Aw9UCW','Dw52zxjPzMLLza','Dg1WzgLY','q29TCgXLDguGB3iGy2fUy2vSigfJDgL2zsbWAxbLBgLUzxmGyMvMB3jLigLUAxrPywXPEMLUzYbhAxqU','CgLK','u0TjteWUBwq','uMvJB3jKigf0igXLyxn0ig9UzsbHy2nLChrHBMnLignYAxrLCMLVBIbHDcbWAxbLBgLUzv9ZDgfYDdSGAxrZihrLEhqGBxvZDcbTyxrJAcbHihf1ywXPDhLqBgfUignYAxrLCMLVBIbLEhbLy3rLze91DgnVBwuU','y2fUy2vSBgf0Aw9U','r0Lux1bsrvzjrvDFu1rbteu','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','q1jfqvrjt05FtK9ux1nuqvjuruq','ls1JywnOzwq','DgvZDa','uMvWB3nPDg9YEsbOyxmGBM8GyMfZzsbJB21TAxqU','rvnsq0G','uMvWB3nPDg9YEsbPCYbUB3qGy2XLyw4Gywz0zxiGDgHLigjHC2vSAw5LignVBw1PDc4','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzdSGBM8GBMv3ihj1BIb3yxmGy3jLyxrLzc4','zNn5BMntEw5J','v09ss1rsruvFqKftrv9esvjuwq','BgvNywn5lxn1Bw1HCNK','BMv4Da','CMvWBgfJzq','ugLWzwXPBMuGC3rHDguGy29WEsbLBNrYAwvZig1PC21HDgnOoIa','zgLMzG','su5wquXjrf9rvufmsvrzx1bmqu4','BwLZC2LUz1f1ywXPDhLdAgvJA3m','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','C3rHDgvgAwXL','twLNCMf0zwqGzNjVBsaXlNGGDgfZAYbZDgf0zq','CxvHBgL0EvzLCNnPB24','C3rYzxnZlxrLC3qTCgXHBG','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','Aw1WCM92zs1JB2rLyMfZzs1HCMnOAxrLy3r1CMu','CMv2AxnPB24','Aw5JBhvKzxm','yMfZzujYyw5JAa','zgLYBMfTzq','Aw50zw50rMLSzq','Bw9KzwXtDgf0Dxm','ywnXDwLYzuXVy2S','uLvox05pvf9bq1rjvKu','Aw1Wywn0rxnJywXHDgLVBG','zxbVy2G','rufdq0vt','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGD29YA3rYzwuGy2XLyw51Cc4','vhjHBNnHy3rPB246ia','BgvNywn5lq','yxrVBwLJv3jPDgu','BgLZDefJDgL2zvbPCgvSAw5LCW','ugLWzwXPBMuGC3rHDguGy29WEsb0ExbLig1PC21HDgnOoIa','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','Aw5ZDgfSBgvKuNvUDgLTzvjVB3q','yMfZzvjLzG','ls1PCY1HBMnLC3rVCG','ohP3tvndyW','uMv2Awv3igfYy2HPDgvJDhvYzq','D3jPDgvtDgf0zq','Dg8TChjK','C25HChnOB3qTzxzPzgvUy2u','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','CMvUyw1Lu3LUyW','CNvUDgLTzs11CgDYywrL','uKvrvuLsrurFu0TjteXFtuLtu0LorW','y29TBwL0','qw5VDgHLCIbYDw4GAxmGy3vYCMvUDdSGCMvJB3zLCNKGy2fUBM90ihjLCgXHy2uGAxrZigjPBMrPBMCU'];_0x27c7=function(){return _0x26f692;};return _0x27c7();}function overlappingScope(_0x73ed1a=[],_0x5307f2=[],_0x9e7b4){const _0x41cae8=_0x1a9fc9;if(!_0x73ed1a[_0x41cae8(0x444)]||!_0x5307f2[_0x41cae8(0x444)]||[..._0x73ed1a,..._0x5307f2]['some'](_0x302421=>/[*?\[\]{}!]/[_0x41cae8(0x272)](_0x302421)))return!![];const _0x2fd1f8=_0x5e3134=>{const _0x387685=_0x41cae8,_0x2e7a58=normalizePath(path[_0x387685(0x412)](_0x9e7b4,_0x5e3134[_0x387685(0x351)]('\x5c','/')));return process[_0x387685(0x3ec)]===_0x387685(0x228)?_0x2e7a58[_0x387685(0x438)]():_0x2e7a58;};return _0x73ed1a[_0x41cae8(0x386)](_0xebed4e=>_0x5307f2[_0x41cae8(0x386)](_0x1fe8d7=>{const _0x45c982=_0x41cae8,_0x39268b=_0x2fd1f8(_0xebed4e),_0x4c28f8=_0x2fd1f8(_0x1fe8d7);return _0x39268b===_0x4c28f8||_0x39268b[_0x45c982(0x2d5)](_0x4c28f8+path[_0x45c982(0x34c)])||_0x4c28f8[_0x45c982(0x2d5)](_0x39268b+path['sep']);}));}function sleep(_0xc42946){const _0x27455f=_0x1a9fc9;Atomics[_0x27455f(0x2ed)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0xc42946);}class PipelineManager{constructor(_0x33fe08,_0x56c8fe={}){const _0x507e21=_0x1a9fc9;this['projectPath']=normalizePath(_0x33fe08),this[_0x507e21(0x3c3)]=_0x56c8fe[_0x507e21(0x3c3)]||process.env,this['runtimeRoot']=_0x56c8fe[_0x507e21(0x399)]||process.env.APT_RUNTIME_ROOT||require(_0x507e21(0x2e3))[_0x507e21(0x29b)](),this[_0x507e21(0x362)]=_0x56c8fe[_0x507e21(0x442)]||require(_0x507e21(0x210))['PRODUCTION_PUBLIC_KEY'],this['developmentMode']=!fs['existsSync'](path[_0x507e21(0x370)](__dirname,'..','..',_0x507e21(0x308))),this[_0x507e21(0x3e2)]=_0x56c8fe[_0x507e21(0x3e2)]||(()=>new Date()),this[_0x507e21(0x3e4)]=_0x56c8fe[_0x507e21(0x3e4)]||crypto[_0x507e21(0x3e4)],this['lockTimeoutMs']=_0x56c8fe[_0x507e21(0x306)]||0x7d0,this[_0x507e21(0x2f5)]=[],this[_0x507e21(0x36e)]=new Execution(this),this[_0x507e21(0x413)]();if(_0x56c8fe['migrate']!==![])this['migrateLegacyStates']();}static[_0x1a9fc9(0x3e6)](_0x457120){const _0x28fc2b=_0x1a9fc9;if(typeof _0x457120!==_0x28fc2b(0x43a))return'';return _0x457120[_0x28fc2b(0x438)]()[_0x28fc2b(0x208)]()[_0x28fc2b(0x27b)](/[^a-z0-9_-]+/g,'-')[_0x28fc2b(0x27b)](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')['slice'](0x0,0x40);}static['validateTask'](_0x19087a){const _0x5e58cb=_0x1a9fc9;if(typeof _0x19087a!==_0x5e58cb(0x43a)||!_0x19087a[_0x5e58cb(0x208)]())return error('TASK_REQUIRED',_0x5e58cb(0x332));if(_0x19087a!==_0x19087a['trim']()||!TASK_PATTERN[_0x5e58cb(0x272)](_0x19087a))return error(_0x5e58cb(0x411),_0x5e58cb(0x240),{'suggested_task':PipelineManager[_0x5e58cb(0x3e6)](_0x19087a)});return null;}static[_0x1a9fc9(0x2c5)](_0x18a375){const _0x1d9785=_0x1a9fc9;if(typeof _0x18a375!==_0x1d9785(0x43a)||!RUN_PATTERN[_0x1d9785(0x272)](_0x18a375))return error(_0x1d9785(0x336),_0x1d9785(0x287));return null;}static['validateWorkspace'](_0x30d26a){const _0x19db54=_0x1a9fc9;if(_0x30d26a===undefined)return null;if(!_0x30d26a||typeof _0x30d26a!==_0x19db54(0x2e7)||Array[_0x19db54(0x318)](_0x30d26a))return error(_0x19db54(0x22f),_0x19db54(0x2b3));const _0x469ebf=new Set([_0x19db54(0x3ac),_0x19db54(0x2bb),'initializeGit',_0x19db54(0x441),'baseRef']);if(Object[_0x19db54(0x3fc)](_0x30d26a)['some'](_0x45ab1d=>!_0x469ebf['has'](_0x45ab1d)))return error(_0x19db54(0x22f),_0x19db54(0x3f4));if(_0x30d26a[_0x19db54(0x3ac)]!==undefined&&![_0x19db54(0x253),_0x19db54(0x37b),_0x19db54(0x236)]['includes'](_0x30d26a['mode']))return error(_0x19db54(0x22f),_0x19db54(0x3cc));if([_0x19db54(0x2bb),_0x19db54(0x43e)][_0x19db54(0x386)](_0x33a703=>_0x30d26a[_0x33a703]!==undefined&&typeof _0x30d26a[_0x33a703]!==_0x19db54(0x415))||[_0x19db54(0x441),'baseRef']['some'](_0x3fedd6=>_0x30d26a[_0x3fedd6]!==undefined&&typeof _0x30d26a[_0x3fedd6]!=='string'))return error('INVALID_WORKSPACE',_0x19db54(0x358));return null;}[_0x1a9fc9(0x30a)](_0x216979,_0x13f6ae={}){const _0x50644f=_0x1a9fc9,_0x3beed4={};_0x3beed4[_0x50644f(0x24b)]=_0x13f6ae[_0x50644f(0x24b)]||this['projectPath'],_0x3beed4[_0x50644f(0x3c3)]={...this[_0x50644f(0x3c3)],..._0x13f6ae[_0x50644f(0x3c3)]||{}},_0x3beed4['encoding']=_0x50644f(0x3b8),_0x3beed4[_0x50644f(0x2f0)]=!![],_0x3beed4[_0x50644f(0x24d)]=_0x13f6ae[_0x50644f(0x24d)]||0x7530;const _0x1a98cf=spawnSync(_0x50644f(0x2ac),_0x216979,_0x3beed4);return{'ok':!_0x1a98cf['error']&&_0x1a98cf['status']===0x0,'status':_0x1a98cf[_0x50644f(0x3ef)],'stdout':(_0x1a98cf[_0x50644f(0x3a7)]||'')[_0x50644f(0x208)](),'stderr':(_0x1a98cf[_0x50644f(0x447)]||_0x1a98cf[_0x50644f(0x317)]?.[_0x50644f(0x40d)]||'')[_0x50644f(0x208)]()};}['refreshRepositoryContext'](){const _0x2cd07e=_0x1a9fc9,_0x527b7e=require(_0x2cd07e(0x353))[_0x2cd07e(0x1fd)](this[_0x2cd07e(0x354)],this[_0x2cd07e(0x3c3)]);this[_0x2cd07e(0x21f)]=_0x527b7e[_0x2cd07e(0x21f)],this[_0x2cd07e(0x1fe)]=_0x527b7e[_0x2cd07e(0x1fe)]?normalizePath(_0x527b7e[_0x2cd07e(0x1fe)]):null,this[_0x2cd07e(0x3bb)]=this['gitCommonDir']?path[_0x2cd07e(0x370)](this[_0x2cd07e(0x1fe)],'apt-mcp-agent',_0x2cd07e(0x2f4)):path['join'](this[_0x2cd07e(0x354)],_0x2cd07e(0x42c),_0x2cd07e(0x2f4)),this[_0x2cd07e(0x3d6)]=path[_0x2cd07e(0x370)](this['projectPath'],'.agents','pipeline-state.json');}['generateRunId'](){const _0x22227d=_0x1a9fc9,_0x4f1192=this[_0x22227d(0x3e2)]()[_0x22227d(0x335)]()['replace'](/[-:]/g,'')[_0x22227d(0x27b)](/\.\d{3}/,'');return _0x4f1192+'-'+this[_0x22227d(0x3e4)](0x4)[_0x22227d(0x252)](_0x22227d(0x307));}[_0x1a9fc9(0x206)](_0xc1a2bf){const _0x105cde=_0x1a9fc9;return path[_0x105cde(0x370)](this['stateRoot'],_0xc1a2bf);}[_0x1a9fc9(0x3ab)](_0x5ef17c,_0x44729d){const _0x23e0b3=_0x1a9fc9;return path[_0x23e0b3(0x370)](this['taskDir'](_0x5ef17c),_0x23e0b3(0x32d),_0x44729d);}[_0x1a9fc9(0x211)](_0x5b4d6d){const _0x1788eb=_0x1a9fc9;return path[_0x1788eb(0x370)](this['taskDir'](_0x5b4d6d),_0x1788eb(0x388));}[_0x1a9fc9(0x283)](_0x4bf713,_0x2321da){const _0x371188=_0x1a9fc9;return path[_0x371188(0x370)](this[_0x371188(0x3ab)](_0x4bf713,_0x2321da),_0x371188(0x227));}['ledgerFile'](_0x13de04,_0x5cc084){const _0x558f86=_0x1a9fc9;return path[_0x558f86(0x370)](this[_0x558f86(0x3ab)](_0x13de04,_0x5cc084),_0x558f86(0x219));}[_0x1a9fc9(0x297)](_0x1be5c1,_0x1368b5){const _0x211331=_0x1a9fc9,_0x34d33b={};_0x34d33b[_0x211331(0x334)]=!![],fs[_0x211331(0x34b)](path['dirname'](_0x1be5c1),_0x34d33b);const _0x27aa53=_0x1be5c1+'.'+process[_0x211331(0x26a)]+'.'+this['randomBytes'](0x4)['toString'](_0x211331(0x307))+_0x211331(0x200),_0x3a7176=fs[_0x211331(0x213)](_0x27aa53,'wx');try{fs['writeFileSync'](_0x3a7176,_0x1368b5,_0x211331(0x3b8)),fs[_0x211331(0x277)](_0x3a7176);}finally{fs[_0x211331(0x2fa)](_0x3a7176);}fs[_0x211331(0x2a4)](_0x27aa53,_0x1be5c1);}['atomicWriteJson'](_0x24d654,_0x29c802){const _0x4fd149=_0x1a9fc9;this[_0x4fd149(0x297)](_0x24d654,JSON[_0x4fd149(0x30b)](_0x29c802,null,0x2)+'\x0a');}[_0x1a9fc9(0x394)](_0x33b03f){const _0x1867b7=_0x1a9fc9;return path[_0x1867b7(0x370)](this[_0x1867b7(0x3bb)],_0x1867b7(0x455),_0x33b03f+_0x1867b7(0x456));}['acquireLock'](_0x2f27e6){const _0x4a674a=_0x1a9fc9,_0x39de25=this[_0x4a674a(0x394)](_0x2f27e6),_0x2f9c9a={};_0x2f9c9a[_0x4a674a(0x334)]=!![],fs[_0x4a674a(0x34b)](path['dirname'](_0x39de25),_0x2f9c9a);const _0x16980a=Date[_0x4a674a(0x3e2)](),_0x29abb9=JSON[_0x4a674a(0x30b)]({'pid':process[_0x4a674a(0x26a)],'token':crypto[_0x4a674a(0x380)](),'createdAt':Date[_0x4a674a(0x3e2)]()});while(Date['now']()-_0x16980a<=this['lockTimeoutMs']){try{const _0x25ccf6=fs['openSync'](_0x39de25,'wx');try{fs[_0x4a674a(0x37a)](_0x25ccf6,_0x29abb9),fs['fsyncSync'](_0x25ccf6);}finally{fs[_0x4a674a(0x2fa)](_0x25ccf6);}return()=>{const _0x24b2b4=_0x4a674a;try{if(fs['readFileSync'](_0x39de25,'utf8')===_0x29abb9)fs[_0x24b2b4(0x3c2)](_0x39de25);}catch{}};}catch(_0x56ee3e){if(_0x56ee3e[_0x4a674a(0x38b)]!=='EEXIST')throw _0x56ee3e;try{const _0x571853=JSON[_0x4a674a(0x427)](fs[_0x4a674a(0x2c2)](_0x39de25,'utf8'));let _0x17dabc=!![];if(!Number[_0x4a674a(0x387)](_0x571853[_0x4a674a(0x26a)])||_0x571853[_0x4a674a(0x26a)]<=0x0)throw new Error('Invalid\x20owner');try{process['kill'](_0x571853[_0x4a674a(0x26a)],0x0);}catch(_0x2b19f9){_0x17dabc=_0x2b19f9[_0x4a674a(0x38b)]!==_0x4a674a(0x274);}if(!_0x17dabc&&Date[_0x4a674a(0x3e2)]()-_0x571853['createdAt']>this['lockTimeoutMs']){fs[_0x4a674a(0x3c2)](_0x39de25);continue;}}catch{}sleep(0x14);}}const _0x284202={};_0x284202[_0x4a674a(0x38b)]='PIPELINE_STATE_LOCKED';throw Object['assign'](new Error(_0x4a674a(0x3dc)+_0x2f27e6+'\x22.'),_0x284202);}[_0x1a9fc9(0x1f5)](_0x448cd8,_0x1400e5){const _0xe2edca=_0x1a9fc9;let _0xf98f85;try{return _0xf98f85=this[_0xe2edca(0x28f)](_0x448cd8),_0x1400e5();}catch(_0x174154){if(_0x174154['code']===_0xe2edca(0x344))return error(_0x174154[_0xe2edca(0x38b)],_0x174154[_0xe2edca(0x40d)]);throw _0x174154;}finally{if(_0xf98f85)_0xf98f85();}}[_0x1a9fc9(0x44d)](){const _0x5a276b=_0x1a9fc9;if(fs[_0x5a276b(0x25d)](this[_0x5a276b(0x3d6)]))return!![];const _0x426800=new Set([path[_0x5a276b(0x370)](this['projectPath'],_0x5a276b(0x42c),_0x5a276b(0x2f4)),this['stateRoot']]);for(const _0x26f3a1 of _0x426800){if(!fs[_0x5a276b(0x25d)](_0x26f3a1))continue;const _0x240d0a={};_0x240d0a[_0x5a276b(0x333)]=!![];if(fs[_0x5a276b(0x23b)](_0x26f3a1,_0x240d0a)[_0x5a276b(0x386)](_0x46da66=>_0x46da66[_0x5a276b(0x33f)]()&&!_0x46da66[_0x5a276b(0x2df)][_0x5a276b(0x2d5)]('.')&&fs[_0x5a276b(0x25d)](path['join'](_0x26f3a1,_0x46da66['name'],'state.json'))))return!![];}return![];}[_0x1a9fc9(0x373)](){const _0x27c8df=_0x1a9fc9;if(!this[_0x27c8df(0x44d)]())return;const _0xbed5a1=this['acquireLock'](_0x27c8df(0x3a5));try{this[_0x27c8df(0x3d4)](),this[_0x27c8df(0x323)]();}finally{_0xbed5a1();}}['readJson'](_0x134802){const _0x35c969=_0x1a9fc9;try{return JSON[_0x35c969(0x427)](fs['readFileSync'](_0x134802,_0x35c969(0x3b8)));}catch(_0x21bfaf){if(_0x21bfaf[_0x35c969(0x38b)]!=='ENOENT'&&!(_0x21bfaf instanceof SyntaxError))throw _0x21bfaf;return null;}}[_0x1a9fc9(0x265)](_0x1b4652){const _0x4355f1=_0x1a9fc9,_0x469420=this['readJson'](this[_0x4355f1(0x211)](_0x1b4652));if(!_0x469420?.[_0x4355f1(0x419)])return null;return this['readRun'](_0x1b4652,_0x469420['runId']);}[_0x1a9fc9(0x3ba)](_0x2df5fd,_0x40848e){const _0x581af1=_0x1a9fc9;return this[_0x581af1(0x36e)][_0x581af1(0x424)](_0x2df5fd,_0x40848e,this[_0x581af1(0x382)](this['stateFile'](_0x2df5fd,_0x40848e)));}['contract'](_0x4a8f66){const _0x57b53a=_0x1a9fc9,_0xa3e8fc={};_0xa3e8fc[_0x57b53a(0x2e4)]=_0x57b53a(0x1fa),_0xa3e8fc[_0x57b53a(0x38b)]=_0x57b53a(0x449);if(!this[_0x57b53a(0x3f3)](_0x4a8f66))return _0xa3e8fc;const _0x1d6283={};return _0x1d6283['runtimeRoot']=this[_0x57b53a(0x399)],_0x1d6283[_0x57b53a(0x442)]=this[_0x57b53a(0x362)],_0x1d6283[_0x57b53a(0x429)]=this[_0x57b53a(0x429)],_0x1d6283[_0x57b53a(0x3bd)]=PIPELINE_DEFINITIONS,inspectRunContract(_0x4a8f66,_0x1d6283);}['ownsRun'](_0x5199f5){const _0xde047c=_0x1a9fc9;return[_0x5199f5?.['originWorkspace'],_0x5199f5?.[_0xde047c(0x238)]?.[_0xde047c(0x1ff)]]['filter'](Boolean)[_0xde047c(0x386)](_0x21cc86=>{const _0x90b4b6=_0xde047c;try{return require(_0x90b4b6(0x31d))[_0x90b4b6(0x21e)](_0x21cc86,this[_0x90b4b6(0x354)]);}catch{return![];}});}[_0x1a9fc9(0x207)](_0x10d5b7){const _0x1678c0=_0x1a9fc9,_0x46164f={};_0x46164f[_0x1678c0(0x38b)]='FOREIGN_WORKSPACE_STATE',_0x46164f[_0x1678c0(0x3f7)]=_0x10d5b7['task'],_0x46164f[_0x1678c0(0x419)]=_0x10d5b7[_0x1678c0(0x419)];const _0x2de8a6=_0x46164f;this[_0x1678c0(0x1f4)]||=[];if(!this[_0x1678c0(0x1f4)]['some'](_0x171228=>_0x171228['task']===_0x10d5b7[_0x1678c0(0x3f7)]&&_0x171228['runId']===_0x10d5b7[_0x1678c0(0x419)]))this[_0x1678c0(0x1f4)][_0x1678c0(0x400)](_0x2de8a6);}[_0x1a9fc9(0x346)](_0x1430af){const _0xe070df=_0x1a9fc9;_0x1430af['definition']=JSON[_0xe070df(0x427)](JSON[_0xe070df(0x30b)](PIPELINE_DEFINITIONS[_0x1430af[_0xe070df(0x367)]]));const _0x5306c5=path['join'](__dirname,'..','..','integrity-manifest.json'),_0x4f47c7=fs[_0xe070df(0x25d)](_0x5306c5);_0x1430af[_0xe070df(0x2cc)]={'source':_0x4f47c7?_0xe070df(0x2f3):_0xe070df(0x243),'version':require(_0xe070df(0x453))[_0xe070df(0x40e)],'digest':_0x4f47c7?crypto[_0xe070df(0x300)](_0xe070df(0x330))['update'](JSON[_0xe070df(0x30b)](JSON[_0xe070df(0x427)](fs[_0xe070df(0x2c2)](_0x5306c5,_0xe070df(0x3b8)))))[_0xe070df(0x32b)](_0xe070df(0x307)):null,'definitionHash':crypto[_0xe070df(0x300)](_0xe070df(0x330))[_0xe070df(0x383)](JSON[_0xe070df(0x30b)](_0x1430af[_0xe070df(0x2aa)]))['digest'](_0xe070df(0x307))};}['repairRun'](_0x49de56,_0x5770ec){const _0x23eadb=_0x1a9fc9;return this[_0x23eadb(0x1f5)](_0x49de56,()=>{const _0x48c0c0=_0x23eadb,_0x196984=this[_0x48c0c0(0x3ba)](_0x49de56,_0x5770ec);return _0x196984?.[_0x48c0c0(0x250)]===0x3&&this[_0x48c0c0(0x217)](_0x196984)[_0x48c0c0(0x2e4)]!==_0x48c0c0(0x1fa)&&(this['atomicWriteJson'](this[_0x48c0c0(0x283)](_0x49de56,_0x5770ec),_0x196984),this[_0x48c0c0(0x36e)][_0x48c0c0(0x20a)](_0x196984)),_0x196984;});}['creationIntentFile'](_0x17c8cd,_0x3d4b4e){const _0x23aff4=_0x1a9fc9;return path['join'](this['stateRoot'],_0x23aff4(0x2ab),_0x17c8cd,_0x3d4b4e+_0x23aff4(0x326));}['pendingCreation'](_0x2352bf){const _0x54f3df=_0x1a9fc9,_0x2fff14=path[_0x54f3df(0x370)](this[_0x54f3df(0x3bb)],_0x54f3df(0x2ab),_0x2352bf);if(!fs[_0x54f3df(0x25d)](_0x2fff14))return null;for(const _0xa8daeb of fs[_0x54f3df(0x23b)](_0x2fff14)){const _0x57ea5c=this[_0x54f3df(0x382)](path[_0x54f3df(0x370)](_0x2fff14,_0xa8daeb)),_0x4ae6a6={};_0x4ae6a6[_0x54f3df(0x3ef)]='invalid',_0x4ae6a6[_0x54f3df(0x25a)]=_0xa8daeb;if(!_0x57ea5c)return _0x4ae6a6;const _0x441704={};_0x441704[_0x54f3df(0x3ef)]='invalid',_0x441704[_0x54f3df(0x25a)]=_0xa8daeb;if(_0x57ea5c[_0x54f3df(0x3f7)]!==_0x2352bf||PipelineManager[_0x54f3df(0x2c5)](_0x57ea5c[_0x54f3df(0x419)]))return _0x441704;if([_0x54f3df(0x43f),_0x54f3df(0x38a),_0x54f3df(0x226)][_0x54f3df(0x28a)](_0x57ea5c['status'])&&!this[_0x54f3df(0x3ba)](_0x2352bf,_0x57ea5c['runId']))return _0x57ea5c;}return null;}['pendingCreations'](_0x5d717d){const _0x41a22c=_0x1a9fc9,_0x3861ca=path['join'](this['stateRoot'],_0x41a22c(0x2ab));if(!fs[_0x41a22c(0x25d)](_0x3861ca))return[];const _0x342af7={};_0x342af7[_0x41a22c(0x333)]=!![];const _0x1742ec=_0x5d717d?[_0x5d717d]:fs[_0x41a22c(0x23b)](_0x3861ca,_0x342af7)[_0x41a22c(0x22e)](_0x488940=>_0x488940[_0x41a22c(0x33f)]())['map'](_0x1884ea=>_0x1884ea[_0x41a22c(0x2df)]),_0x53f8c2=[];for(const _0x2a6e35 of _0x1742ec){const _0x54b04c=path['join'](_0x3861ca,_0x2a6e35);if(!fs[_0x41a22c(0x25d)](_0x54b04c))continue;for(const _0x220d8c of fs[_0x41a22c(0x23b)](_0x54b04c)[_0x41a22c(0x22e)](_0x5d6c15=>_0x5d6c15[_0x41a22c(0x40a)](_0x41a22c(0x326)))){const _0x1e8951=this['readJson'](path['join'](_0x54b04c,_0x220d8c));if(!_0x1e8951||_0x1e8951[_0x41a22c(0x3f7)]!==_0x2a6e35||PipelineManager['validateRunId'](_0x1e8951[_0x41a22c(0x419)])||![_0x41a22c(0x43f),_0x41a22c(0x38a),'interrupted'][_0x41a22c(0x28a)](_0x1e8951[_0x41a22c(0x3ef)])||this[_0x41a22c(0x3ba)](_0x2a6e35,_0x1e8951[_0x41a22c(0x419)]))continue;const _0x3ccb17=!PipelineManager[_0x41a22c(0x2e2)](_0x1e8951[_0x41a22c(0x3fa)]),_0x9a8fe1=_0x1e8951[_0x41a22c(0x238)]&&!_0x1e8951['workspace'][_0x41a22c(0x2ba)]&&typeof _0x1e8951['workspace'][_0x41a22c(0x1ff)]===_0x41a22c(0x43a)&&normalizePath(_0x1e8951[_0x41a22c(0x238)][_0x41a22c(0x1ff)])===this[_0x41a22c(0x354)],_0x36e949=_0x1e8951[_0x41a22c(0x446)]===undefined?_0x9a8fe1:typeof _0x1e8951[_0x41a22c(0x446)]===_0x41a22c(0x43a)&&normalizePath(_0x1e8951[_0x41a22c(0x446)])===this[_0x41a22c(0x354)];_0x53f8c2[_0x41a22c(0x400)]({'task':_0x2a6e35,'runId':_0x1e8951[_0x41a22c(0x419)],'status':_0x1e8951[_0x41a22c(0x3ef)],'originWorkspace':_0x1e8951[_0x41a22c(0x446)]||null,'requestedWorkspace':_0x1e8951[_0x41a22c(0x3fa)]||null,'workspace':_0x1e8951[_0x41a22c(0x238)]||null,'runtimeVersion':_0x1e8951['runtimeVersion']||null,'error':_0x1e8951[_0x41a22c(0x317)]||null,'intentFile':path[_0x41a22c(0x370)](_0x54b04c,_0x220d8c),'availableActions':{'resume':_0x3ccb17&&_0x36e949&&_0x9a8fe1,'abandon':_0x3ccb17&&_0x36e949&&_0x9a8fe1&&!this[_0x41a22c(0x265)](_0x2a6e35)}});}}return _0x53f8c2;}['recoverCreation'](_0x120e2b,_0x2c6e52,_0x547697){const _0x533e4c=_0x1a9fc9,_0x51fb7f=PipelineManager[_0x533e4c(0x2c5)](_0x2c6e52);if(_0x51fb7f)return _0x51fb7f;return this['withLock'](_0x120e2b,()=>{const _0x10887c=_0x533e4c,_0xfb7c50=this[_0x10887c(0x428)](_0x120e2b,_0x2c6e52),_0x1da0a2=this[_0x10887c(0x382)](_0xfb7c50);if(!_0x1da0a2||_0x1da0a2[_0x10887c(0x3f7)]!==_0x120e2b||_0x1da0a2[_0x10887c(0x419)]!==_0x2c6e52)return error(_0x10887c(0x316),_0x10887c(0x2a3));if(![_0x10887c(0x43f),_0x10887c(0x38a),'interrupted'][_0x10887c(0x28a)](_0x1da0a2['status']))return error('CREATION_ALREADY_RESOLVED',_0x10887c(0x451));if(PipelineManager[_0x10887c(0x2e2)](_0x1da0a2[_0x10887c(0x3fa)])||_0x1da0a2['originWorkspace']&&(typeof _0x1da0a2[_0x10887c(0x446)]!==_0x10887c(0x43a)||normalizePath(_0x1da0a2[_0x10887c(0x446)])!==this[_0x10887c(0x354)]))return error(_0x10887c(0x435),'Saved\x20creation\x20intent\x20has\x20an\x20invalid\x20workspace\x20or\x20belongs\x20to\x20another\x20project.');if(_0x1da0a2[_0x10887c(0x2c7)]?.['sessionId']&&_0x1da0a2[_0x10887c(0x2c7)][_0x10887c(0x3c5)]!==_0x547697)return error(_0x10887c(0x39f),_0x10887c(0x3af));const _0x31d400=this[_0x10887c(0x265)](_0x120e2b);if(_0x31d400&&_0x31d400[_0x10887c(0x419)]!==_0x2c6e52)return error(_0x10887c(0x3da),_0x10887c(0x2a8));const _0x51d4e8=this[_0x10887c(0x3ba)](_0x120e2b,_0x2c6e52);if(_0x51d4e8){if(_0x51d4e8[_0x10887c(0x3ef)]!==_0x10887c(0x31b)||_0x51d4e8[_0x10887c(0x248)]&&_0x51d4e8[_0x10887c(0x248)]!==_0x547697)return error(_0x10887c(0x3a6),'Existing\x20run\x20is\x20terminal\x20or\x20belongs\x20to\x20another\x20coordinator.');const _0x19f3c1={};_0x19f3c1[_0x10887c(0x398)]=!![],this[_0x10887c(0x2a0)](_0x51d4e8,_0x19f3c1);const _0x52641d={..._0x1da0a2};_0x52641d[_0x10887c(0x3ef)]=_0x10887c(0x3b9),this[_0x10887c(0x2da)](_0xfb7c50,_0x52641d);const _0x5dc93a={};return _0x5dc93a[_0x10887c(0x2ec)]=!![],this[_0x10887c(0x3b6)](_0x51d4e8,_0x5dc93a);}let _0x45f3ed=_0x1da0a2[_0x10887c(0x238)];const _0x3f5beb={};_0x3f5beb['mode']=_0x10887c(0x37b);if(!_0x45f3ed&&_0x1da0a2[_0x10887c(0x3fa)][_0x10887c(0x3ac)]!==_0x10887c(0x236))_0x45f3ed=this[_0x10887c(0x349)](_0x120e2b,_0x2c6e52,_0x3f5beb)[_0x10887c(0x238)];if(!_0x45f3ed&&_0x1da0a2[_0x10887c(0x3fa)][_0x10887c(0x3ac)]===_0x10887c(0x236)){const _0x13861e=path[_0x10887c(0x370)](path['dirname'](this[_0x10887c(0x354)]),_0x10887c(0x35e),path['basename'](this[_0x10887c(0x354)]),_0x120e2b,_0x2c6e52),_0x5a2939={};_0x5a2939[_0x10887c(0x1ff)]=_0x13861e,_0x5a2939[_0x10887c(0x3ac)]=_0x10887c(0x236),_0x5a2939[_0x10887c(0x2ba)]=!![],_0x5a2939[_0x10887c(0x20c)]=_0x10887c(0x303)+_0x120e2b+'/'+_0x2c6e52,_0x5a2939['status']=_0x10887c(0x2c8),_0x45f3ed=_0x5a2939;}if(!_0x45f3ed||!fs[_0x10887c(0x25d)](_0x45f3ed['path'])){if(_0x45f3ed?.[_0x10887c(0x2ba)]&&!_0x1da0a2['workspace']){const _0x42ae9d=this[_0x10887c(0x30a)]([_0x10887c(0x236),'list',_0x10887c(0x3dd)]),_0x2d6484=this[_0x10887c(0x30a)]([_0x10887c(0x3f0),_0x10887c(0x457),_0x10887c(0x450),'refs/heads/'+_0x45f3ed[_0x10887c(0x20c)]]),_0x45fe83=_0x42ae9d[_0x10887c(0x3a7)]?.[_0x10887c(0x3cb)](/\r?\n/)[_0x10887c(0x386)](_0x4be8b7=>_0x4be8b7[_0x10887c(0x2d5)](_0x10887c(0x35f))&&normalizePath(_0x4be8b7['slice'](0x9))===normalizePath(_0x45f3ed[_0x10887c(0x1ff)]));if(_0x42ae9d['ok']&&!_0x45fe83&&_0x2d6484[_0x10887c(0x3ef)]===0x1)return this[_0x10887c(0x2da)](_0xfb7c50,{..._0x1da0a2,'status':_0x10887c(0x20b),'resolvedAt':this[_0x10887c(0x3e2)]()[_0x10887c(0x335)]()}),error(_0x10887c(0x270),_0x10887c(0x3e1));}return error(_0x10887c(0x384),_0x10887c(0x3d8));}if(_0x45f3ed['managed']){const _0x847e65=this['runGit']([_0x10887c(0x236),_0x10887c(0x2d9),_0x10887c(0x3dd)]),_0x597f15={};_0x597f15[_0x10887c(0x24b)]=_0x45f3ed[_0x10887c(0x1ff)];const _0x1c000c=this[_0x10887c(0x30a)]([_0x10887c(0x20c),'--show-current'],_0x597f15);if(!_0x847e65['ok']||!_0x847e65[_0x10887c(0x3a7)][_0x10887c(0x3cb)]('\x0a')[_0x10887c(0x386)](_0x45fa19=>_0x45fa19[_0x10887c(0x2d5)](_0x10887c(0x35f))&&normalizePath(_0x45fa19[_0x10887c(0x3b0)](0x9))===normalizePath(_0x45f3ed[_0x10887c(0x1ff)]))||_0x1c000c['stdout']!==_0x45f3ed['branch'])return error(_0x10887c(0x435),'Git\x20does\x20not\x20confirm\x20the\x20recorded\x20worktree\x20identity.');}else{if(!_0x45f3ed[_0x10887c(0x1ff)]||normalizePath(_0x45f3ed['path'])!==this[_0x10887c(0x354)])return error(_0x10887c(0x435),_0x10887c(0x255));}if(!_0x1da0a2[_0x10887c(0x446)]&&_0x45f3ed[_0x10887c(0x2ba)])return error(_0x10887c(0x435),_0x10887c(0x436));const _0x1675a0={'schemaVersion':_0x1da0a2[_0x10887c(0x250)]||0x3,'task':_0x120e2b,'runId':_0x2c6e52,'pipeline':_0x1da0a2[_0x10887c(0x367)],'status':_0x10887c(0x31b),'completedSteps':[],'originWorkspace':_0x1da0a2['originWorkspace']||this[_0x10887c(0x354)],'workspace':_0x45f3ed,'startedAt':_0x1da0a2[_0x10887c(0x25b)],'updatedAt':this[_0x10887c(0x3e2)]()[_0x10887c(0x335)]()};let _0x5a52b2=_0x10887c(0x3fd);try{if(_0x1675a0[_0x10887c(0x250)]===0x3)this[_0x10887c(0x36e)][_0x10887c(0x2bc)](_0x1675a0,_0x1da0a2[_0x10887c(0x2c7)]);else this[_0x10887c(0x346)](_0x1675a0);_0x5a52b2=_0x10887c(0x3c8);const _0x4d67fa={};_0x4d67fa[_0x10887c(0x398)]=!![],this['writeState'](_0x1675a0,_0x4d67fa),_0x5a52b2='intent-complete',this['atomicWriteJson'](_0xfb7c50,{..._0x1da0a2,'status':_0x10887c(0x3b9),'recoveredAt':this[_0x10887c(0x3e2)]()[_0x10887c(0x335)]()});const _0x2fc529={};return _0x2fc529[_0x10887c(0x2ec)]=!![],_0x2fc529[_0x10887c(0x2d1)]=!![],this[_0x10887c(0x3b6)](_0x1675a0,_0x2fc529);}catch(_0x38fca9){const _0x4150dd=creationFailure(_0x38fca9,_0x5a52b2);try{const _0xfd2e9a={..._0x1da0a2};_0xfd2e9a[_0x10887c(0x3ef)]=_0x10887c(0x226),_0xfd2e9a[_0x10887c(0x317)]=_0x4150dd,this[_0x10887c(0x2da)](_0xfb7c50,_0xfd2e9a);}catch{}const _0x396cf8={};return _0x396cf8[_0x10887c(0x3f7)]=_0x120e2b,_0x396cf8['runId']=_0x2c6e52,_0x396cf8[_0x10887c(0x28d)]=_0xfb7c50,_0x396cf8[_0x10887c(0x238)]=_0x45f3ed,_0x396cf8[_0x10887c(0x418)]=_0x4150dd[_0x10887c(0x38b)],_0x396cf8['diagnostic']=_0x4150dd,error(_0x10887c(0x324),_0x10887c(0x33c),_0x396cf8);}});}[_0x1a9fc9(0x2a0)](_0x6936e9,{setCurrent:setCurrent=![]}={}){const _0x36a618=_0x1a9fc9;_0x6936e9[_0x36a618(0x41e)]=this['now']()[_0x36a618(0x335)]();if(_0x6936e9[_0x36a618(0x250)]===0x3)this[_0x36a618(0x36e)]['persist'](_0x6936e9);this[_0x36a618(0x2da)](this['stateFile'](_0x6936e9['task'],_0x6936e9[_0x36a618(0x419)]),_0x6936e9);if(_0x6936e9[_0x36a618(0x250)]===0x3)this['execution'][_0x36a618(0x20a)](_0x6936e9);setCurrent&&this[_0x36a618(0x2da)](this[_0x36a618(0x211)](_0x6936e9['task']),{'task':_0x6936e9[_0x36a618(0x3f7)],'runId':_0x6936e9[_0x36a618(0x419)],'updatedAt':_0x6936e9[_0x36a618(0x41e)]});}[_0x1a9fc9(0x320)](_0x4e47eb,_0x20e37c,_0x484332){const _0x4ef39a=_0x1a9fc9;if(_0x4e47eb['schemaVersion']===0x3)return this[_0x4ef39a(0x36e)][_0x4ef39a(0x20a)](_0x4e47eb);const _0x21a340=this[_0x4ef39a(0x36a)](_0x4e47eb[_0x4ef39a(0x3f7)],_0x4e47eb[_0x4ef39a(0x419)]);let _0x137587=fs[_0x4ef39a(0x25d)](_0x21a340)?fs[_0x4ef39a(0x2c2)](_0x21a340,_0x4ef39a(0x3b8)):'';!_0x137587&&(_0x137587='#\x20Pipeline\x20ledger\x0a\x0aTask:\x20'+_0x4e47eb['task']+'\x0aRun:\x20'+_0x4e47eb[_0x4ef39a(0x419)]+_0x4ef39a(0x371)+_0x4e47eb[_0x4ef39a(0x367)]+'\x0a'),_0x137587+=_0x4ef39a(0x3f2)+this[_0x4ef39a(0x3e2)]()[_0x4ef39a(0x335)]()+'\x20-\x20'+_0x20e37c+'\x0a\x0a'+_0x484332+'\x0a',this[_0x4ef39a(0x297)](_0x21a340,_0x137587);}[_0x1a9fc9(0x431)](_0x401705,_0x38698f=this[_0x1a9fc9(0x354)]){const _0x4c7a65=_0x1a9fc9,_0x5784f7=[path['join'](_0x38698f,'.agents',_0x4c7a65(0x2e5),_0x401705,'SKILL.md'),path[_0x4c7a65(0x370)](this[_0x4c7a65(0x354)],_0x4c7a65(0x42c),_0x4c7a65(0x2e5),_0x401705,_0x4c7a65(0x26b))],{SKILL_NAME_MAPPING:_0x52d94c,CANONICAL_SKILL_SOURCES:_0xbe3da1}=require(_0x4c7a65(0x2c3)),_0x31b0c5=_0xbe3da1[_0x401705]||Object[_0x4c7a65(0x3fc)](_0x52d94c)[_0x4c7a65(0x408)](_0x34a083=>_0x52d94c[_0x34a083]===_0x401705);if(_0x31b0c5)_0x5784f7[_0x4c7a65(0x400)](path['join'](this[_0x4c7a65(0x354)],_0x4c7a65(0x42c),'skills',_0x31b0c5,_0x4c7a65(0x26b)));const _0x509100=_0x5784f7[_0x4c7a65(0x408)](_0x51a4a6=>fs[_0x4c7a65(0x25d)](_0x51a4a6));if(_0x509100)return null;const _0x1e1a39={};return _0x1e1a39[_0x4c7a65(0x2f9)]=_0x5784f7[0x0],_0x1e1a39[_0x4c7a65(0x2d7)]='npx\x20apt-mcp-agent-setup\x20update\x20--project\x20\x22'+this['projectPath']+'\x22',error(_0x4c7a65(0x2a6),'Required\x20pipeline\x20skill\x20\x22'+_0x401705+_0x4c7a65(0x405),_0x1e1a39);}[_0x1a9fc9(0x425)](){const _0x4c3ca=_0x1a9fc9;if(!this[_0x4c3ca(0x21f)])return![];const _0x4f3b50=this[_0x4c3ca(0x30a)]([_0x4c3ca(0x43d),'--git-dir']);if(!_0x4f3b50['ok']||!this[_0x4c3ca(0x1fe)])return![];const _0x492cbe=normalizePath(path[_0x4c3ca(0x412)](this[_0x4c3ca(0x354)],_0x4f3b50[_0x4c3ca(0x3a7)]));if(_0x492cbe===this[_0x4c3ca(0x1fe)])return![];const _0x31345d=this['runGit']([_0x4c3ca(0x236),'list','--porcelain']);if(!_0x31345d['ok'])return![];const _0x26a4b9=normalizePath(this[_0x4c3ca(0x354)])[_0x4c3ca(0x438)]();return _0x31345d[_0x4c3ca(0x3a7)][_0x4c3ca(0x3cb)](/\r?\n/)['filter'](_0x3ff7d2=>_0x3ff7d2[_0x4c3ca(0x2d5)](_0x4c3ca(0x35f)))[_0x4c3ca(0x386)](_0x5bd8d7=>normalizePath(_0x5bd8d7[_0x4c3ca(0x3b0)](0x9))[_0x4c3ca(0x438)]()===_0x26a4b9);}[_0x1a9fc9(0x3bc)](){const _0x31a260=_0x1a9fc9;if(this[_0x31a260(0x21f)])return error(_0x31a260(0x420),_0x31a260(0x282));const _0x511ba7=fs[_0x31a260(0x222)](path['join'](os[_0x31a260(0x268)](),'apt-mcp-git-preview-'));try{const _0x134e49=path[_0x31a260(0x370)](_0x511ba7,'git'),_0x2415a5=path[_0x31a260(0x370)](_0x511ba7,_0x31a260(0x355)),_0x10e174={};_0x10e174[_0x31a260(0x24b)]=_0x511ba7;const _0x3afe4a=this[_0x31a260(0x30a)]([_0x31a260(0x1f3),'--bare',_0x134e49],_0x10e174);if(!_0x3afe4a['ok'])return error(_0x31a260(0x40b),_0x3afe4a[_0x31a260(0x447)]||_0x31a260(0x3de));const _0x2a27f8={};_0x2a27f8[_0x31a260(0x36d)]=_0x2415a5;const _0x2c9ffc=_0x2a27f8,_0x1c8b4e=this[_0x31a260(0x30a)]([_0x31a260(0x216),_0x134e49,'--work-tree',this[_0x31a260(0x354)],_0x31a260(0x421),'-A'],{'cwd':this[_0x31a260(0x354)],'env':_0x2c9ffc});if(!_0x1c8b4e['ok'])return error(_0x31a260(0x40b),_0x1c8b4e[_0x31a260(0x447)]||_0x31a260(0x372));const _0x3dea0b=this['runGit']([_0x31a260(0x216),_0x134e49,_0x31a260(0x44c),this[_0x31a260(0x354)],'diff',_0x31a260(0x271),_0x31a260(0x3b2),'-z'],{'cwd':this[_0x31a260(0x354)],'env':_0x2c9ffc});if(!_0x3dea0b['ok'])return error(_0x31a260(0x40b),_0x3dea0b[_0x31a260(0x447)]||'Cannot\x20read\x20Git\x20bootstrap\x20preview.');const _0x2d8c87=_0x3dea0b[_0x31a260(0x3a7)]?_0x3dea0b['stdout'][_0x31a260(0x3cb)]('\x00')[_0x31a260(0x22e)](Boolean)[_0x31a260(0x3d3)](_0xe2fd6b=>_0xe2fd6b['replace'](/\\/g,'/'))[_0x31a260(0x319)]():[],_0x5c094a=_0x2d8c87['map'](_0x41fd53=>{const _0x2dc448=_0x31a260,_0x286efb=path['join'](this[_0x2dc448(0x354)],_0x41fd53),_0x4639d3=fs['statSync'](_0x286efb),_0xa384dc=crypto[_0x2dc448(0x300)](_0x2dc448(0x330))[_0x2dc448(0x383)](fs[_0x2dc448(0x2c2)](_0x286efb))[_0x2dc448(0x32b)](_0x2dc448(0x307));return{'path':_0x41fd53,'size':_0x4639d3[_0x2dc448(0x201)],'mtimeMs':Math[_0x2dc448(0x242)](_0x4639d3[_0x2dc448(0x3c9)]),'sha256':_0xa384dc};}),_0x2e8885=_0x2d8c87['filter'](_0x4b63e5=>{const _0x44c64c=_0x31a260,_0x54a028=/\.env\.example$/i['test'](_0x4b63e5);if(!_0x54a028&&SENSITIVE_PATTERNS[_0x44c64c(0x386)](_0xc10e9d=>_0xc10e9d[_0x44c64c(0x272)](_0x4b63e5)))return!![];const _0xa6e625=fs[_0x44c64c(0x2c2)](path[_0x44c64c(0x370)](this[_0x44c64c(0x354)],_0x4b63e5),_0x44c64c(0x3b8));return SENSITIVE_CONTENT_PATTERNS['some'](_0x578662=>_0x578662['test'](_0xa6e625));}),_0x528619=_0x5c094a[_0x31a260(0x22e)](_0x5ca336=>_0x5ca336[_0x31a260(0x201)]>0xa*0x400*0x400)[_0x31a260(0x3d3)](_0x5deec0=>_0x5deec0[_0x31a260(0x1ff)]),_0x11ee4a=[_0x31a260(0x357)],_0x444ea7={};_0x444ea7['snapshot']=_0x5c094a,_0x444ea7[_0x31a260(0x209)]=_0x11ee4a;const _0x19ba7c=crypto[_0x31a260(0x300)](_0x31a260(0x330))[_0x31a260(0x383)](JSON[_0x31a260(0x30b)](_0x444ea7))[_0x31a260(0x32b)](_0x31a260(0x307));return{'success':![],'code':_0x2e8885['length']?'GIT_SENSITIVE_FILES_BLOCKED':'GIT_INIT_CONFIRMATION_REQUIRED','error':_0x2e8885['length']?'Sensitive\x20files\x20would\x20be\x20committed.\x20Add\x20them\x20to\x20.gitignore\x20and\x20request\x20a\x20new\x20preview.':_0x31a260(0x356),'confirmationToken':_0x19ba7c,'fileCount':_0x2d8c87[_0x31a260(0x444)],'totalBytes':_0x5c094a[_0x31a260(0x2fe)]((_0xb47144,_0x45e381)=>_0xb47144+_0x45e381['size'],0x0),'files':_0x2d8c87,'sensitiveFiles':_0x2e8885,'largeFiles':_0x528619,'plannedIgnoreAdditions':_0x11ee4a};}finally{const _0x89bda5={};_0x89bda5['recursive']=!![],_0x89bda5[_0x31a260(0x237)]=!![],fs[_0x31a260(0x44b)](_0x511ba7,_0x89bda5);}}[_0x1a9fc9(0x29a)](){const _0x49372f=_0x1a9fc9,_0x44ea9d=path[_0x49372f(0x370)](this[_0x49372f(0x354)],_0x49372f(0x433)),_0x3d0e13=_0x49372f(0x357),_0x1f9400=fs['existsSync'](_0x44ea9d)?fs[_0x49372f(0x2c2)](_0x44ea9d,_0x49372f(0x3b8)):'',_0x1effdc=_0x1f9400['split'](/\r?\n/)[_0x49372f(0x3d3)](_0x52d5d2=>_0x52d5d2[_0x49372f(0x208)]());if(_0x1effdc[_0x49372f(0x28a)](_0x3d0e13))return;const _0x1ff89b=_0x1f9400&&!_0x1f9400[_0x49372f(0x40a)]('\x0a')?'\x0a':'';fs[_0x49372f(0x232)](_0x44ea9d,''+_0x1ff89b+_0x3d0e13+'\x0a',_0x49372f(0x3b8));}[_0x1a9fc9(0x20d)](_0x5d31e0){const _0x53b04d=_0x1a9fc9,_0x5a5a3f=this[_0x53b04d(0x3bc)]();if(_0x5a5a3f['code']===_0x53b04d(0x280))return _0x5a5a3f;if(_0x5a5a3f[_0x53b04d(0x441)]!==_0x5d31e0){const _0x32e13b={};return _0x32e13b[_0x53b04d(0x221)]=_0x5a5a3f,error(_0x53b04d(0x26e),_0x53b04d(0x35b),_0x32e13b);}const _0x490342=this[_0x53b04d(0x377)]()[_0x53b04d(0x22e)](_0xec8d54=>_0xec8d54[_0x53b04d(0x3ef)]===_0x53b04d(0x31b)||_0xec8d54['status']===_0x53b04d(0x2ea));if(_0x490342[_0x53b04d(0x444)])return error(_0x53b04d(0x35a),_0x53b04d(0x269));const _0x1f3dde=this['runGit']([_0x53b04d(0x39b),_0x53b04d(0x37d),_0x53b04d(0x2ef)]),_0x578f7f=this['runGit']([_0x53b04d(0x39b),'--get',_0x53b04d(0x2cb)]);if(!_0x1f3dde['ok']||!_0x1f3dde[_0x53b04d(0x3a7)]||!_0x578f7f['ok']||!_0x578f7f[_0x53b04d(0x3a7)]){const _0x18b484={};return _0x18b484[_0x53b04d(0x256)]=[_0x53b04d(0x417),_0x53b04d(0x3be)],error(_0x53b04d(0x204),_0x53b04d(0x407),_0x18b484);}const _0x3fc820=this[_0x53b04d(0x30a)]([_0x53b04d(0x39b),'--get',_0x53b04d(0x251)]),_0x47b5d0=_0x3fc820['ok']&&_0x3fc820[_0x53b04d(0x3a7)]?_0x3fc820[_0x53b04d(0x3a7)]:'main';let _0x5354d4=this[_0x53b04d(0x30a)](['init','-b',_0x47b5d0]);if(!_0x5354d4['ok']){_0x5354d4=this[_0x53b04d(0x30a)]([_0x53b04d(0x1f3)]);if(!_0x5354d4['ok'])return error('GIT_INIT_FAILED',_0x5354d4[_0x53b04d(0x447)]);const _0x4f7109=this[_0x53b04d(0x30a)](['branch','-M',_0x47b5d0]);if(!_0x4f7109['ok'])return error('GIT_INIT_FAILED',_0x4f7109[_0x53b04d(0x447)]);}this['ensureRuntimeIgnore']();const _0x17560a=this[_0x53b04d(0x30a)]([_0x53b04d(0x421),'-A']);if(!_0x17560a['ok'])return error('GIT_INITIAL_COMMIT_FAILED',_0x17560a[_0x53b04d(0x447)]);const _0x4e7168=this['runGit']([_0x53b04d(0x2a7),'--no-gpg-sign','-m',_0x53b04d(0x390)]);if(!_0x4e7168['ok'])return error(_0x53b04d(0x38d),_0x4e7168[_0x53b04d(0x447)]);const _0xe072bb=this[_0x53b04d(0x30a)]([_0x53b04d(0x3ef),_0x53b04d(0x3dd)]);if(!_0xe072bb['ok']||_0xe072bb[_0x53b04d(0x3a7)])return error(_0x53b04d(0x3ae),_0x53b04d(0x275),{'status':_0xe072bb['stdout']});const _0x395cf9=this[_0x53b04d(0x3bb)];this['refreshRepositoryContext'](),this[_0x53b04d(0x3d9)](_0x395cf9);const _0x270e70={};return _0x270e70[_0x53b04d(0x2ec)]=!![],_0x270e70[_0x53b04d(0x20c)]=_0x47b5d0,_0x270e70[_0x53b04d(0x350)]=!![],_0x270e70;}[_0x1a9fc9(0x3d9)](_0x551baf){const _0x15029e=_0x1a9fc9;if(!_0x551baf||normalizePath(_0x551baf)===normalizePath(this[_0x15029e(0x3bb)])||!fs[_0x15029e(0x25d)](_0x551baf))return;const _0x1530ae=path[_0x15029e(0x370)](this['stateRoot'],_0x15029e(0x321),crypto[_0x15029e(0x300)](_0x15029e(0x330))['update'](_0x551baf)[_0x15029e(0x32b)]('hex')+'.json');if(fs['existsSync'](_0x1530ae))return;const _0x1e5d32=this['listRunsFromRoot'](_0x551baf)[_0x15029e(0x22e)](_0x8a0e2d=>_0x8a0e2d[_0x15029e(0x3ef)]===_0x15029e(0x31b)||_0x8a0e2d[_0x15029e(0x3ef)]==='initializing'),_0xef0d24={};_0xef0d24[_0x15029e(0x38b)]='PIPELINES_ACTIVE_DURING_GIT_INIT';if(_0x1e5d32['length'])throw Object[_0x15029e(0x396)](new Error(_0x15029e(0x31e)),_0xef0d24);for(const _0x2613da of this[_0x15029e(0x259)](_0x551baf)){const _0xd0eda2=path[_0x15029e(0x370)](_0x551baf,_0x2613da['task'],_0x15029e(0x32d),_0x2613da['runId']),_0x1e6c34=this['runDir'](_0x2613da[_0x15029e(0x3f7)],_0x2613da[_0x15029e(0x419)]),_0x2967b2={};_0x2967b2[_0x15029e(0x334)]=!![],_0x2967b2[_0x15029e(0x440)]=!![];if(!fs['existsSync'](_0x1e6c34))fs[_0x15029e(0x3c7)](_0xd0eda2,_0x1e6c34,_0x2967b2);this[_0x15029e(0x225)](_0xd0eda2,_0x1e6c34);const _0x349b54=path['join'](_0x551baf,_0x2613da['task'],_0x15029e(0x388));fs[_0x15029e(0x25d)](_0x349b54)&&!fs[_0x15029e(0x25d)](this['currentFile'](_0x2613da[_0x15029e(0x3f7)]))&&(fs['copyFileSync'](_0x349b54,this[_0x15029e(0x211)](_0x2613da['task'])),this['verifyCopiedTree'](_0x349b54,this['currentFile'](_0x2613da[_0x15029e(0x3f7)])));}this[_0x15029e(0x2da)](_0x1530ae,{'source':_0x551baf,'migratedAt':this[_0x15029e(0x3e2)]()[_0x15029e(0x335)]()});}['verifyCopiedTree'](_0x2551d8,_0xeb7afd){const _0x58235f=_0x1a9fc9,_0xda01a0=fs[_0x58235f(0x437)](_0x2551d8),_0x41d731=fs[_0x58235f(0x437)](_0xeb7afd);if(_0xda01a0[_0x58235f(0x33f)]()!==_0x41d731['isDirectory']()){const _0x1c3cb8={};_0x1c3cb8[_0x58235f(0x38b)]=_0x58235f(0x22a);throw Object[_0x58235f(0x396)](new Error(_0x58235f(0x299)+_0x2551d8),_0x1c3cb8);}if(_0xda01a0[_0x58235f(0x33f)]()){const _0x24cf1f=fs[_0x58235f(0x23b)](_0x2551d8)[_0x58235f(0x319)](),_0x110ab0=fs[_0x58235f(0x23b)](_0xeb7afd)['sort']();if(JSON[_0x58235f(0x30b)](_0x24cf1f)!==JSON[_0x58235f(0x30b)](_0x110ab0)){const _0x144f0b={};_0x144f0b[_0x58235f(0x38b)]=_0x58235f(0x22a);throw Object[_0x58235f(0x396)](new Error(_0x58235f(0x27c)+_0x2551d8),_0x144f0b);}for(const _0x41f56e of _0x24cf1f)this[_0x58235f(0x225)](path[_0x58235f(0x370)](_0x2551d8,_0x41f56e),path[_0x58235f(0x370)](_0xeb7afd,_0x41f56e));return;}const _0x18f484=crypto[_0x58235f(0x300)](_0x58235f(0x330))['update'](fs['readFileSync'](_0x2551d8))[_0x58235f(0x32b)](_0x58235f(0x307)),_0x568067=crypto[_0x58235f(0x300)](_0x58235f(0x330))['update'](fs[_0x58235f(0x2c2)](_0xeb7afd))['digest'](_0x58235f(0x307));if(_0x18f484!==_0x568067){const _0x355aaa={};_0x355aaa['code']=_0x58235f(0x22a);throw Object[_0x58235f(0x396)](new Error(_0x58235f(0x2ae)+_0x2551d8),_0x355aaa);}}[_0x1a9fc9(0x3ee)](_0x2501b5,_0x12bc1a,_0x33b922){const _0x4dd035=_0x1a9fc9;if(!this['isGitRepository']){if(!_0x33b922[_0x4dd035(0x43e)]||!_0x33b922[_0x4dd035(0x441)])return this[_0x4dd035(0x3bc)]();if(!_0x33b922[_0x4dd035(0x2bb)])return error('WORKTREE_CONSENT_REQUIRED','Git\x20initialization\x20and\x20worktree\x20creation\x20require\x20direct\x20user\x20confirmation.');const _0x577179=this[_0x4dd035(0x20d)](_0x33b922[_0x4dd035(0x441)]);if(!_0x577179[_0x4dd035(0x2ec)])return _0x577179;}if(!_0x33b922[_0x4dd035(0x2bb)])return error('WORKTREE_CONSENT_REQUIRED','Creating\x20a\x20Git\x20worktree\x20requires\x20direct\x20user\x20confirmation.');const _0xe15644=this[_0x4dd035(0x30a)](['status',_0x4dd035(0x3dd)]);if(!_0xe15644['ok']||_0xe15644[_0x4dd035(0x3a7)])return error(_0x4dd035(0x278),_0x4dd035(0x359),{'status':_0xe15644[_0x4dd035(0x3a7)]});const _0x5df970=this[_0x4dd035(0x30a)]([_0x4dd035(0x43d),'HEAD']);if(!_0x5df970['ok'])return error(_0x4dd035(0x32c),_0x5df970[_0x4dd035(0x447)]||_0x4dd035(0x273));const _0x3beca8=this[_0x4dd035(0x30a)]([_0x4dd035(0x20c),_0x4dd035(0x31a)]),_0x3cfacc=path[_0x4dd035(0x32e)](this['projectPath']),_0x9873b6=path[_0x4dd035(0x370)](path[_0x4dd035(0x28c)](this[_0x4dd035(0x354)]),_0x4dd035(0x35e),_0x3cfacc,_0x2501b5,_0x12bc1a),_0x469b1b=_0x4dd035(0x303)+_0x2501b5+'/'+_0x12bc1a;if(fs[_0x4dd035(0x25d)](_0x9873b6))return error(_0x4dd035(0x423),_0x4dd035(0x220)+_0x9873b6);const _0x578bb8=this[_0x4dd035(0x30a)]([_0x4dd035(0x236),'add','-b',_0x469b1b,_0x9873b6,_0x33b922[_0x4dd035(0x29c)]||_0x5df970[_0x4dd035(0x3a7)]]),_0x857e75={};_0x857e75[_0x4dd035(0x37c)]=_0x9873b6,_0x857e75['branch']=_0x469b1b;if(!_0x578bb8['ok'])return error('WORKTREE_CREATE_FAILED',_0x578bb8[_0x4dd035(0x447)]||_0x4dd035(0x264),_0x857e75);return{'success':!![],'workspace':{'mode':'worktree','path':normalizePath(_0x9873b6),'branch':_0x469b1b,'baseRef':_0x33b922[_0x4dd035(0x29c)]||_0x5df970[_0x4dd035(0x3a7)],'baseBranch':_0x3beca8['ok']?_0x3beca8['stdout']:'','status':_0x4dd035(0x2c8),'createdAt':this[_0x4dd035(0x3e2)]()['toISOString'](),'managed':!![]}};}[_0x1a9fc9(0x349)](_0x1d9022,_0x80ab84,_0x3ba921={}){const _0x29dff3=_0x1a9fc9,_0x78d7c1=_0x3ba921['mode']||'auto';if(![_0x29dff3(0x253),_0x29dff3(0x37b),_0x29dff3(0x236)]['includes'](_0x78d7c1))return error(_0x29dff3(0x215),'Unknown\x20workspace\x20mode:\x20'+_0x78d7c1);if(_0x78d7c1===_0x29dff3(0x236))return this['createWorktree'](_0x1d9022,_0x80ab84,_0x3ba921);return{'success':!![],'workspace':{'mode':this[_0x29dff3(0x425)]()?_0x29dff3(0x21a):_0x29dff3(0x37b),'path':this[_0x29dff3(0x354)],'branch':this['isGitRepository']?this[_0x29dff3(0x30a)]([_0x29dff3(0x20c),_0x29dff3(0x31a)])['stdout']:'','baseRef':this[_0x29dff3(0x21f)]?this[_0x29dff3(0x30a)]([_0x29dff3(0x43d),_0x29dff3(0x3b4)])['stdout']:'','baseBranch':this[_0x29dff3(0x21f)]?this[_0x29dff3(0x30a)]([_0x29dff3(0x20c),'--show-current'])['stdout']:'','status':_0x29dff3(0x2c8),'managed':![]}};}[_0x1a9fc9(0x3e9)](_0x29b696={}){const _0x300bfe=_0x1a9fc9;let {pipeline:_0x41b408,task:_0x1c6263,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x29b696;const _0x21e2dc=PipelineManager[_0x300bfe(0x40f)](_0x1c6263);if(_0x21e2dc)return _0x21e2dc;if(_0x29b696[_0x300bfe(0x214)])try{return this[_0x300bfe(0x3d1)](_0x1c6263,_0x29b696[_0x300bfe(0x214)],_0x29b696[_0x300bfe(0x3c5)]);}catch(_0x46073a){return error(_0x300bfe(0x340),_0x300bfe(0x454),{'task':_0x1c6263,'runId':_0x29b696['recoverRunId'],'diagnostic':creationFailure(_0x46073a,_0x300bfe(0x21c))});}const _0x6fdb81=PipelineManager['validateWorkspace'](_0x29b696[_0x300bfe(0x238)]);if(_0x6fdb81)return _0x6fdb81;if(![0x2,0x3]['includes'](schemaVersion))return error('INVALID_SCHEMA_VERSION','Supported\x20pipeline\x20versions\x20are\x202\x20and\x203.');for(const _0x55f303 of['acceptanceCriteria',_0x300bfe(0x37f),_0x300bfe(0x2e5)]){if(_0x29b696[_0x55f303]!==undefined&&(!Array[_0x300bfe(0x318)](_0x29b696[_0x55f303])||!_0x29b696[_0x55f303][_0x300bfe(0x3e3)](_0x208c2a=>typeof _0x208c2a===_0x300bfe(0x43a)&&_0x208c2a['trim']())))return error(_0x300bfe(0x3a0),_0x55f303+_0x300bfe(0x2e0));}if(schemaVersion===0x3&&_0x29b696[_0x300bfe(0x285)]!==0x0&&_0x41b408!==_0x300bfe(0x230)&&!_0x29b696[_0x300bfe(0x434)]?.[_0x300bfe(0x444)])return error(_0x300bfe(0x26f),_0x300bfe(0x26c));let _0x35c6a2;if(schemaVersion===0x3&&_0x29b696[_0x300bfe(0x285)]!==0x0&&_0x41b408!==_0x300bfe(0x230))try{_0x35c6a2=require(_0x300bfe(0x341))[_0x300bfe(0x2e6)](_0x29b696[_0x300bfe(0x223)],_0x29b696[_0x300bfe(0x434)]||[],{'productImpact':_0x29b696['productImpact']===!![],'platformTarget':_0x29b696['productImpact']===!![]&&[_0x300bfe(0x2cf),_0x300bfe(0x3f6),_0x300bfe(0x305)][_0x300bfe(0x28a)](_0x29b696[_0x300bfe(0x1f9)])?_0x29b696[_0x300bfe(0x1f9)]==='web'?_0x300bfe(0x2cf):_0x300bfe(0x3f6):null,'contentReview':_0x41b408==='document-artifact','artifactReview':_0x29b696[_0x300bfe(0x25c)]===!![]});}catch(_0x43b5a8){return error(_0x300bfe(0x27e),_0x43b5a8['message']);}const _0x3bc6c1=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x17b3fa=_0x3bc6c1[_0x41b408];if(!_0x17b3fa)return error(_0x300bfe(0x1f8),_0x300bfe(0x2c0)+_0x41b408+'.',{'valid_pipelines':Object[_0x300bfe(0x3fc)](PIPELINE_DEFINITIONS)});const _0x1daeca=_0x17b3fa[_0x300bfe(0x2bd)][0x0]['skill'];if(_0x1daeca){const _0x1e7653=this[_0x300bfe(0x431)](_0x1daeca);if(_0x1e7653)return _0x1e7653;}if((workspace[_0x300bfe(0x3ac)]||_0x300bfe(0x253))===_0x300bfe(0x236)&&!this[_0x300bfe(0x21f)]){if(!workspace[_0x300bfe(0x43e)]||!workspace[_0x300bfe(0x441)])return this[_0x300bfe(0x3bc)]();if(!workspace[_0x300bfe(0x2bb)])return error(_0x300bfe(0x42b),_0x300bfe(0x402));const _0x341920=this['initializeGitFromPreview'](workspace[_0x300bfe(0x441)]);if(!_0x341920['success'])return _0x341920;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this[_0x300bfe(0x1f5)](_0x300bfe(0x203),()=>this[_0x300bfe(0x1f5)](_0x1c6263,()=>{const _0x5e8de5=_0x300bfe,_0x3c6f46=this['readCurrent'](_0x1c6263);if(_0x3c6f46&&[_0x5e8de5(0x2ea),_0x5e8de5(0x31b),'paused'][_0x5e8de5(0x28a)](_0x3c6f46[_0x5e8de5(0x3ef)]))return error('TASK_ALREADY_ACTIVE','Task\x20\x22'+_0x1c6263+_0x5e8de5(0x31f),{'task':_0x1c6263,'runId':_0x3c6f46['runId']});if(schemaVersion===0x3&&_0x29b696['qualityVersion']!==0x0&&_0x41b408!=='readonly'){const _0x487325=_0x1030c0=>JSON[_0x5e8de5(0x30b)](_0x1030c0[_0x5e8de5(0x3d3)](_0x4892e8=>_0x4892e8[_0x5e8de5(0x208)]()['replace'](/\s+/g,'\x20')['toLocaleLowerCase']())[_0x5e8de5(0x319)]()),_0x293d58=_0x487325(_0x29b696[_0x5e8de5(0x434)]),_0x153c52=_0x52e162=>{const _0x35b658=_0x5e8de5,_0x2adca0=normalizePath(_0x52e162);return process[_0x35b658(0x3ec)]===_0x35b658(0x228)?_0x2adca0[_0x35b658(0x438)]():_0x2adca0;};if(fs[_0x5e8de5(0x25d)](this[_0x5e8de5(0x3bb)])){const _0x4d8275={};_0x4d8275[_0x5e8de5(0x333)]=!![];for(const _0xe03fc3 of fs[_0x5e8de5(0x23b)](this[_0x5e8de5(0x3bb)],_0x4d8275)){if(!_0xe03fc3['isDirectory']()||_0xe03fc3[_0x5e8de5(0x2df)]['startsWith']('.')||_0xe03fc3['name']===_0x1c6263)continue;const _0x318744=this[_0x5e8de5(0x265)](_0xe03fc3[_0x5e8de5(0x2df)]);if(_0x318744&&[_0x5e8de5(0x2ea),_0x5e8de5(0x31b),_0x5e8de5(0x3a4)][_0x5e8de5(0x28a)](_0x318744[_0x5e8de5(0x3ef)])&&_0x318744['pipeline']!==_0x5e8de5(0x230)&&_0x318744[_0x5e8de5(0x409)]?.[_0x5e8de5(0x23e)]&&_0x318744[_0x5e8de5(0x2f1)]?.['criteria']?.[_0x5e8de5(0x444)]&&[_0x318744[_0x5e8de5(0x446)],_0x318744['workspace']['path']][_0x5e8de5(0x22e)](Boolean)['some'](_0x38d230=>_0x153c52(_0x38d230)===_0x153c52(this[_0x5e8de5(0x354)]))&&overlappingScope(_0x318744[_0x5e8de5(0x37f)],_0x29b696[_0x5e8de5(0x37f)],this['projectPath'])&&_0x487325(_0x318744[_0x5e8de5(0x2f1)][_0x5e8de5(0x246)])===_0x293d58){const _0x55553d={};return _0x55553d[_0x5e8de5(0x3f7)]=_0x318744[_0x5e8de5(0x3f7)],_0x55553d[_0x5e8de5(0x419)]=_0x318744[_0x5e8de5(0x419)],_0x55553d['status']=_0x318744[_0x5e8de5(0x3ef)],_0x55553d[_0x5e8de5(0x3c1)]=_0x318744[_0x5e8de5(0x36e)]?.[_0x5e8de5(0x3c1)]||null,_0x55553d['impact']=_0x318744[_0x5e8de5(0x409)]?.['plan']?.['impact']||null,error(_0x5e8de5(0x404),_0x5e8de5(0x21d),_0x55553d);}}}}const _0x2852bf=this['generateRunId'](),_0xfde8e6=this[_0x5e8de5(0x30e)](_0x1c6263);if(_0xfde8e6)return error(_0x5e8de5(0x3bf),_0x5e8de5(0x3b7),{'intent':_0xfde8e6});const _0x46a939=this[_0x5e8de5(0x428)](_0x1c6263,_0x2852bf),_0x5abd15={'task':_0x1c6263,'runId':_0x2852bf,'pipeline':_0x41b408,'schemaVersion':schemaVersion,'status':_0x5e8de5(0x43f),'originWorkspace':this['projectPath'],'requestedWorkspace':workspace,'runtimeVersion':require(_0x5e8de5(0x453))[_0x5e8de5(0x40e)],'args':_0x29b696,'createdAt':this[_0x5e8de5(0x3e2)]()[_0x5e8de5(0x335)]()};this[_0x5e8de5(0x2da)](_0x46a939,_0x5abd15);let _0x40bf30=_0x5e8de5(0x3a8);try{const _0x1596cc=this[_0x5e8de5(0x349)](_0x1c6263,_0x2852bf,workspace);if(!_0x1596cc['success']){const _0x2580d6={..._0x5abd15};return _0x2580d6[_0x5e8de5(0x3ef)]=_0x5e8de5(0x3f9),_0x2580d6[_0x5e8de5(0x317)]=_0x1596cc,this[_0x5e8de5(0x2da)](_0x46a939,_0x2580d6),_0x1596cc;}_0x5abd15['workspace']=_0x1596cc[_0x5e8de5(0x238)],_0x5abd15['status']=_0x5e8de5(0x38a),_0x40bf30=_0x5e8de5(0x244),this['atomicWriteJson'](_0x46a939,_0x5abd15);const _0x58904d={'schemaVersion':schemaVersion,'task':_0x1c6263,'runId':_0x2852bf,'pipeline':_0x41b408,'status':'active','completedSteps':[],'originWorkspace':this['projectPath'],'workspace':_0x1596cc[_0x5e8de5(0x238)],'startedAt':this[_0x5e8de5(0x3e2)]()[_0x5e8de5(0x335)](),'updatedAt':this['now']()[_0x5e8de5(0x335)]()};_0x40bf30=_0x5e8de5(0x3fd);if(schemaVersion===0x3)this[_0x5e8de5(0x36e)][_0x5e8de5(0x2bc)](_0x58904d,_0x29b696);else this[_0x5e8de5(0x346)](_0x58904d);this['inheritUpgradeContext'](_0x58904d),_0x40bf30=_0x5e8de5(0x3c8);const _0x283a6e={};_0x283a6e['setCurrent']=!![],this['writeState'](_0x58904d,_0x283a6e),_0x40bf30=_0x5e8de5(0x2ee),this['appendLedger'](_0x58904d,_0x5e8de5(0x39a),_0x5e8de5(0x2c9)+_0x58904d['workspace'][_0x5e8de5(0x1ff)]+_0x5e8de5(0x309)+_0x17b3fa[_0x5e8de5(0x2bd)][0x0]['id']),_0x40bf30=_0x5e8de5(0x2a9);const _0x636392={..._0x5abd15};_0x636392[_0x5e8de5(0x3ef)]=_0x5e8de5(0x3b9),this['atomicWriteJson'](_0x46a939,_0x636392);const _0x3a7d87={};return _0x3a7d87['success']=!![],this[_0x5e8de5(0x3b6)](_0x58904d,_0x3a7d87);}catch(_0x273f2e){const _0x327ee9=creationFailure(_0x273f2e,_0x40bf30);try{const _0x475a45={..._0x5abd15};_0x475a45[_0x5e8de5(0x3ef)]=_0x5e8de5(0x226),_0x475a45[_0x5e8de5(0x317)]=_0x327ee9,this[_0x5e8de5(0x2da)](_0x46a939,_0x475a45);}catch{}const _0x5a47f6={};return _0x5a47f6[_0x5e8de5(0x3f7)]=_0x1c6263,_0x5a47f6[_0x5e8de5(0x419)]=_0x2852bf,_0x5a47f6[_0x5e8de5(0x28d)]=_0x46a939,_0x5a47f6[_0x5e8de5(0x238)]=_0x5abd15['workspace'],_0x5a47f6[_0x5e8de5(0x418)]=_0x327ee9[_0x5e8de5(0x38b)],_0x5a47f6['diagnostic']=_0x327ee9,error(_0x5e8de5(0x324),_0x5e8de5(0x30f),_0x5a47f6);}}));}catch(_0x4bdec4){return error(_0x300bfe(0x218),_0x300bfe(0x276),{'task':_0x1c6263,'diagnostic':creationFailure(_0x4bdec4,_0x300bfe(0x2f8))});}}[_0x1a9fc9(0x27a)](_0xdd0c14={}){const _0x124de2=_0x1a9fc9;return this[_0x124de2(0x36e)][_0x124de2(0x27a)](_0xdd0c14);}[_0x1a9fc9(0x266)](){const _0x1fa874=_0x1a9fc9;return this['execution'][_0x1fa874(0x266)]();}[_0x1a9fc9(0x342)](_0x5e762d={}){const _0x51f357=_0x1a9fc9;return this[_0x51f357(0x36e)][_0x51f357(0x342)](_0x5e762d);}[_0x1a9fc9(0x458)](_0x361fb7={}){const _0x1c2e72=_0x1a9fc9;return this[_0x1c2e72(0x36e)]['recordVerification'](_0x361fb7);}[_0x1a9fc9(0x34e)](_0x44e0d8={},_0x44f348){return this['execution']['addReceiptObservation'](_0x44e0d8,_0x44f348);}[_0x1a9fc9(0x426)](_0x2f50a2={}){const _0x191eb3=_0x1a9fc9;return this['execution'][_0x191eb3(0x426)](_0x2f50a2);}[_0x1a9fc9(0x3f5)](_0x1195ec={}){const _0x306c07=_0x1a9fc9,{task:_0x1d9a16,runId:_0x369a2e,pipeline:_0x5112c1,step:_0x203115,status:_0x5a3c63,summary:_0x3871d6}=_0x1195ec,_0x41148e=PipelineManager[_0x306c07(0x40f)](_0x1d9a16);if(_0x41148e)return _0x41148e;if(!_0x369a2e)return error(_0x306c07(0x369),'runId\x20is\x20required\x20for\x20pipeline\x20mutations.');const _0xc2d38f=PipelineManager[_0x306c07(0x2c5)](_0x369a2e);if(_0xc2d38f)return _0xc2d38f;const _0x1e79b9=this[_0x306c07(0x3ba)](_0x1d9a16,_0x369a2e);if(_0x1e79b9&&this[_0x306c07(0x217)](_0x1e79b9)['mutation']===_0x306c07(0x1fa))return error(this[_0x306c07(0x217)](_0x1e79b9)['code'],_0x306c07(0x43c));if(_0x1e79b9?.[_0x306c07(0x250)]===0x3)return this['execution'][_0x306c07(0x3f5)](_0x1195ec);return this[_0x306c07(0x1f5)](_0x1d9a16,()=>{const _0x6c8aff=_0x306c07,_0x341ab8=this[_0x6c8aff(0x3ba)](_0x1d9a16,_0x369a2e);if(!_0x341ab8)return error(_0x6c8aff(0x24a),'Run\x20\x22'+_0x369a2e+_0x6c8aff(0x42a)+_0x1d9a16+'\x22.');const _0x266020=this[_0x6c8aff(0x265)](_0x1d9a16);if(!_0x266020||_0x266020[_0x6c8aff(0x419)]!==_0x369a2e)return error(_0x6c8aff(0x2f7),_0x6c8aff(0x368));if(_0x341ab8[_0x6c8aff(0x3ef)]!==_0x6c8aff(0x31b))return error(_0x6c8aff(0x290),'Run\x20is\x20'+_0x341ab8[_0x6c8aff(0x3ef)]+',\x20not\x20active.');if(_0x5112c1&&_0x5112c1!==_0x341ab8[_0x6c8aff(0x367)])return error(_0x6c8aff(0x41a),_0x6c8aff(0x422)+_0x341ab8['pipeline']+'\x22,\x20not\x20\x22'+_0x5112c1+'\x22.');if(_0x5a3c63!==_0x6c8aff(0x3b9))return error('INVALID_CHECKPOINT_STATUS',_0x6c8aff(0x414));const _0x5f0e55=_0x341ab8[_0x6c8aff(0x2aa)],_0x539335=_0x5f0e55[_0x6c8aff(0x2bd)][_0x341ab8['completedSteps'][_0x6c8aff(0x444)]];if(!_0x539335||_0x539335['id']!==_0x203115)return error(_0x6c8aff(0x2ff),_0x6c8aff(0x3c0)+(_0x539335?.['id']||_0x6c8aff(0x430))+_0x6c8aff(0x23d)+_0x203115+'\x22.',{'expected_step':_0x539335?.['id']||null});if(_0x539335[_0x6c8aff(0x39c)]){const _0x56bba7=this[_0x6c8aff(0x431)](_0x539335[_0x6c8aff(0x39c)],_0x341ab8[_0x6c8aff(0x238)][_0x6c8aff(0x1ff)]);if(_0x56bba7)return _0x56bba7;}if(_0x341ab8[_0x6c8aff(0x367)]===_0x6c8aff(0x301)&&_0x203115===_0x6c8aff(0x245)&&(!_0x3871d6||_0x3871d6[_0x6c8aff(0x208)]()[_0x6c8aff(0x444)]<0xa))return error(_0x6c8aff(0x416),_0x6c8aff(0x33e));_0x341ab8[_0x6c8aff(0x36f)]['push']({'id':_0x203115,'summary':_0x3871d6||'','completedAt':this[_0x6c8aff(0x3e2)]()['toISOString']()});if(_0x341ab8[_0x6c8aff(0x36f)]['length']===_0x5f0e55[_0x6c8aff(0x2bd)]['length'])_0x341ab8[_0x6c8aff(0x3ef)]=_0x6c8aff(0x3b9);this[_0x6c8aff(0x2a0)](_0x341ab8),this[_0x6c8aff(0x320)](_0x341ab8,_0x6c8aff(0x3e0)+_0x203115,_0x3871d6||_0x6c8aff(0x3ea));const _0x2e92e1={};_0x2e92e1['success']=!![];const _0x10901f=this[_0x6c8aff(0x3b6)](_0x341ab8,_0x2e92e1);if(MEMORY_TRIGGERS[_0x203115])_0x10901f[_0x6c8aff(0x1fb)]=MEMORY_TRIGGERS[_0x203115];return _0x10901f;});}[_0x1a9fc9(0x41d)](_0x2e4d6d){const _0x3018c5=_0x1a9fc9,_0x103972=this[_0x3018c5(0x382)](path[_0x3018c5(0x370)](this['taskDir'](_0x2e4d6d[_0x3018c5(0x3f7)]),_0x3018c5(0x38e)));if(!_0x103972||_0x103972[_0x3018c5(0x3f7)]!==_0x2e4d6d[_0x3018c5(0x3f7)]||PipelineManager[_0x3018c5(0x2c5)](_0x103972[_0x3018c5(0x419)]))return;const _0x5b7df7=this['readRun'](_0x2e4d6d[_0x3018c5(0x3f7)],_0x103972[_0x3018c5(0x419)]);if(!_0x5b7df7||_0x5b7df7['status']!==_0x3018c5(0x260)||_0x5b7df7['cancellation']?.[_0x3018c5(0x418)]!==_0x3018c5(0x2a5)||_0x5b7df7[_0x3018c5(0x26d)]['transactionId']!==_0x103972['transactionId']||!require('../core/workspace-path')['sameWorkspace'](_0x5b7df7[_0x3018c5(0x238)]?.[_0x3018c5(0x1ff)]||'',_0x2e4d6d[_0x3018c5(0x238)][_0x3018c5(0x1ff)]))return;_0x2e4d6d[_0x3018c5(0x249)]={'task':_0x2e4d6d[_0x3018c5(0x3f7)],'runId':_0x5b7df7[_0x3018c5(0x419)],'reason':_0x3018c5(0x2a5),'requirements':[..._0x5b7df7['acceptance']?.[_0x3018c5(0x246)]||[]],'findings':JSON[_0x3018c5(0x427)](JSON[_0x3018c5(0x30b)](Object['values'](_0x5b7df7[_0x3018c5(0x409)]?.[_0x3018c5(0x3db)]||{})[_0x3018c5(0x22e)](_0x5b6a46=>_0x5b6a46[_0x3018c5(0x239)]!==![]&&![_0x3018c5(0x34a),_0x3018c5(0x2e1)]['includes'](_0x5b6a46['status'])))),'attempts':{..._0x5b7df7['execution']?.['attempts']||{}},'noProgress':_0x5b7df7[_0x3018c5(0x36e)]?.[_0x3018c5(0x35c)]||0x0,'lastFailure':_0x5b7df7[_0x3018c5(0x36e)]?.[_0x3018c5(0x2b5)]||null,'progress':(_0x5b7df7[_0x3018c5(0x262)]||[])[_0x3018c5(0x3d3)](_0x5d2e3d=>({'id':_0x5d2e3d['id'],'noProgress':_0x5d2e3d[_0x3018c5(0x35c)]||0x0,'lastFailure':_0x5d2e3d[_0x3018c5(0x2b5)]||null}))};if(_0x2e4d6d[_0x3018c5(0x250)]!==0x3)return;_0x2e4d6d[_0x3018c5(0x36e)][_0x3018c5(0x42d)]={..._0x2e4d6d[_0x3018c5(0x249)][_0x3018c5(0x42d)]},_0x2e4d6d[_0x3018c5(0x36e)][_0x3018c5(0x231)]=Math[_0x3018c5(0x325)](0x0,_0x5b7df7['execution']?.[_0x3018c5(0x231)]||0x0,...Object[_0x3018c5(0x2de)](_0x2e4d6d['inherited'][_0x3018c5(0x42d)])),_0x2e4d6d['execution'][_0x3018c5(0x35c)]=_0x2e4d6d[_0x3018c5(0x249)]['noProgress'],_0x2e4d6d[_0x3018c5(0x36e)][_0x3018c5(0x2b5)]=_0x2e4d6d['inherited'][_0x3018c5(0x2b5)];[_0x3018c5(0x36c),_0x3018c5(0x2b9)][_0x3018c5(0x28a)](_0x5b7df7[_0x3018c5(0x36e)]?.[_0x3018c5(0x3c1)])&&(_0x2e4d6d[_0x3018c5(0x3ef)]=_0x3018c5(0x3a4),_0x2e4d6d[_0x3018c5(0x36e)][_0x3018c5(0x3c1)]=_0x5b7df7[_0x3018c5(0x36e)][_0x3018c5(0x3c1)]);for(const _0x3e6282 of _0x2e4d6d['inherited']['findings'])if(_0x2e4d6d['quality'])_0x2e4d6d['quality'][_0x3018c5(0x3db)][_0x3e6282['id']]={..._0x3e6282,'status':_0x3018c5(0x2fb),'inheritedFrom':_0x5b7df7[_0x3018c5(0x419)],'resolution':null};}[_0x1a9fc9(0x343)]({task:_0x3a5cb5,runId:_0x12ed74,transactionId:_0x1ad0cc,epoch:_0x4ab904,target:_0x5cbace}){const _0x36976f=_0x1a9fc9,{readFence:_0x400d0e}=require(_0x36976f(0x347)),_0x4e7191=_0x400d0e(this[_0x36976f(0x354)]);if(_0x4e7191[_0x36976f(0x33b)]!==_0x36976f(0x2b2)||_0x4e7191[_0x36976f(0x22d)]!==_0x1ad0cc||_0x4e7191[_0x36976f(0x292)]!==_0x4ab904||_0x4e7191['targetVersion']!==_0x5cbace?.['version']||_0x4e7191['targetDigest']!==_0x5cbace?.['digest'])return error(_0x36976f(0x315),_0x36976f(0x2fd));const _0xc8a868=PipelineManager[_0x36976f(0x40f)](_0x3a5cb5)||PipelineManager[_0x36976f(0x2c5)](_0x12ed74);if(_0xc8a868)return _0xc8a868;return this[_0x36976f(0x1f5)](_0x3a5cb5,()=>{const _0x53ae7f=_0x36976f,_0x4505ac=this[_0x53ae7f(0x3ba)](_0x3a5cb5,_0x12ed74);if(!_0x4505ac||!_0x4505ac[_0x53ae7f(0x238)]?.['path']||!require('../core/workspace-path')[_0x53ae7f(0x21e)](_0x4505ac[_0x53ae7f(0x238)][_0x53ae7f(0x1ff)],this[_0x53ae7f(0x354)]))return error(_0x53ae7f(0x21b),_0x53ae7f(0x302));const _0x1de61b=_0x4505ac[_0x53ae7f(0x3ef)]===_0x53ae7f(0x260)&&_0x4505ac['cancellation']?.[_0x53ae7f(0x22d)]===_0x1ad0cc,_0x2dfa5e={};_0x2dfa5e['success']=!![],_0x2dfa5e[_0x53ae7f(0x2be)]=!![];if(!_0x1de61b&&[_0x53ae7f(0x3b9),_0x53ae7f(0x260)]['includes'](_0x4505ac['status']))return _0x2dfa5e;if(_0x4505ac[_0x53ae7f(0x36e)]?.[_0x53ae7f(0x31b)]?.[_0x53ae7f(0x444)]||(_0x4505ac['execution']?.['receiptObservations']||[])['some'](_0x5d5036=>_0x5d5036[_0x53ae7f(0x30d)]==='confirmed'&&_0x5d5036['executionStatus']!=='stopped'))return error(_0x53ae7f(0x352),_0x53ae7f(0x310));!_0x1de61b&&(_0x4505ac['status']=_0x53ae7f(0x260),_0x4505ac[_0x53ae7f(0x44a)]=this[_0x53ae7f(0x3e2)]()[_0x53ae7f(0x335)](),_0x4505ac[_0x53ae7f(0x26d)]={'reason':_0x53ae7f(0x2a5),'transactionId':_0x1ad0cc,'target':_0x5cbace,'epoch':_0x4ab904,'cancelledAt':_0x4505ac[_0x53ae7f(0x44a)]},this[_0x53ae7f(0x2a0)](_0x4505ac),this[_0x53ae7f(0x320)](_0x4505ac,_0x53ae7f(0x3d2),_0x53ae7f(0x295)+_0x1ad0cc+_0x53ae7f(0x311)));this[_0x53ae7f(0x2da)](path['join'](this['taskDir'](_0x3a5cb5),_0x53ae7f(0x38e)),{'task':_0x3a5cb5,'runId':_0x12ed74,'transactionId':_0x1ad0cc,'target':_0x5cbace});const _0x5b128c=this[_0x53ae7f(0x382)](this[_0x53ae7f(0x211)](_0x3a5cb5));if(_0x5b128c?.[_0x53ae7f(0x419)]===_0x12ed74)fs['unlinkSync'](this[_0x53ae7f(0x211)](_0x3a5cb5));const _0x3bb113=new(require(_0x53ae7f(0x3df)))[(_0x53ae7f(0x43b))](this[_0x53ae7f(0x354)]);if(fs[_0x53ae7f(0x25d)](_0x3bb113[_0x53ae7f(0x345)]))for(const _0x180907 of fs[_0x53ae7f(0x23b)](_0x3bb113[_0x53ae7f(0x345)])){if(!/^[a-f0-9]{64}\.json$/[_0x53ae7f(0x272)](_0x180907))continue;const _0x10ed12=this[_0x53ae7f(0x382)](path[_0x53ae7f(0x370)](_0x3bb113[_0x53ae7f(0x345)],_0x180907));if(_0x10ed12?.['task']===_0x3a5cb5&&_0x10ed12[_0x53ae7f(0x419)]===_0x12ed74)_0x3bb113[_0x53ae7f(0x40c)](_0x10ed12[_0x53ae7f(0x3c5)],_0x4e6c9d=>{const _0x18614d=_0x53ae7f,_0x2241ec={};_0x2241ec[_0x18614d(0x3f7)]=_0x3a5cb5,_0x2241ec[_0x18614d(0x419)]=_0x12ed74,_0x2241ec['reason']=_0x18614d(0x2a5),_0x4e6c9d[_0x18614d(0x2f2)]=_0x2241ec,_0x4e6c9d[_0x18614d(0x3f7)]=null,_0x4e6c9d[_0x18614d(0x419)]=null,_0x4e6c9d[_0x18614d(0x23f)]=null,_0x4e6c9d[_0x18614d(0x42d)]={};});}const _0x219cc0={};return _0x219cc0['success']=!![],_0x219cc0[_0x53ae7f(0x392)]=_0x1de61b,_0x219cc0['cancellation']=_0x4505ac[_0x53ae7f(0x26d)],_0x219cc0;});}['reset']({task:_0xd885de,runId:_0x4eed62,confirm:_0x2e650,target:target=_0x1a9fc9(0x224),sessionId:_0x10ff59}={}){const _0x2487ec=_0x1a9fc9,_0x1b3d41=PipelineManager[_0x2487ec(0x40f)](_0xd885de);if(_0x1b3d41)return _0x1b3d41;if(!_0x4eed62)return error('RUN_ID_REQUIRED',_0x2487ec(0x2dd));const _0x5a5a4d=PipelineManager[_0x2487ec(0x2c5)](_0x4eed62);if(_0x5a5a4d)return _0x5a5a4d;if(_0x2e650!==!![])return error('RESET_CONFIRMATION_REQUIRED',_0x2487ec(0x233));if(![_0x2487ec(0x224),'creation'][_0x2487ec(0x28a)](target))return error(_0x2487ec(0x2ce),_0x2487ec(0x2d3));return this[_0x2487ec(0x1f5)](_0xd885de,()=>{const _0x49ed41=_0x2487ec;if(target===_0x49ed41(0x445)){const _0x45cce4=this[_0x49ed41(0x428)](_0xd885de,_0x4eed62),_0x278030=this[_0x49ed41(0x382)](_0x45cce4);if(!_0x278030||_0x278030['task']!==_0xd885de||_0x278030[_0x49ed41(0x419)]!==_0x4eed62||![_0x49ed41(0x43f),'workspace-ready',_0x49ed41(0x226)][_0x49ed41(0x28a)](_0x278030[_0x49ed41(0x3ef)]))return error(_0x49ed41(0x316),_0x49ed41(0x374));if(!_0x10ff59||_0x278030[_0x49ed41(0x2c7)]?.[_0x49ed41(0x3c5)]&&_0x278030[_0x49ed41(0x2c7)][_0x49ed41(0x3c5)]!==_0x10ff59)return error(_0x49ed41(0x39f),_0x49ed41(0x391));if(PipelineManager[_0x49ed41(0x2e2)](_0x278030['requestedWorkspace'])||_0x278030[_0x49ed41(0x446)]&&(typeof _0x278030[_0x49ed41(0x446)]!==_0x49ed41(0x43a)||normalizePath(_0x278030[_0x49ed41(0x446)])!==this[_0x49ed41(0x354)])||!_0x278030['workspace']||_0x278030[_0x49ed41(0x238)][_0x49ed41(0x2ba)]||!_0x278030[_0x49ed41(0x238)][_0x49ed41(0x1ff)]||normalizePath(_0x278030[_0x49ed41(0x238)][_0x49ed41(0x1ff)])!==this['projectPath'])return error(_0x49ed41(0x435),_0x49ed41(0x2f6));if(this[_0x49ed41(0x3ba)](_0xd885de,_0x4eed62)||fs['existsSync'](this[_0x49ed41(0x3ab)](_0xd885de,_0x4eed62))||fs['existsSync'](this[_0x49ed41(0x211)](_0xd885de)))return error(_0x49ed41(0x3b1),_0x49ed41(0x24f));this['atomicWriteJson'](_0x45cce4,{..._0x278030,'status':_0x49ed41(0x20b),'resolvedAt':this[_0x49ed41(0x3e2)]()['toISOString'](),'resolvedBySession':_0x10ff59,'resolution':'explicit-creation-reset'});const _0x167b79={};return _0x167b79['success']=!![],_0x167b79[_0x49ed41(0x3f7)]=_0xd885de,_0x167b79['runId']=_0x4eed62,_0x167b79[_0x49ed41(0x3ff)]=_0x49ed41(0x445),_0x167b79['intentFile']=_0x45cce4,_0x167b79['state']=_0x49ed41(0x20b),_0x167b79[_0x49ed41(0x41f)]=!![],_0x167b79;}const _0x2b2deb=this['readRun'](_0xd885de,_0x4eed62);if(!_0x2b2deb)return error(_0x49ed41(0x24a),_0x49ed41(0x366)+_0x4eed62+_0x49ed41(0x3cd));const _0x1df831=this[_0x49ed41(0x217)](_0x2b2deb);if(_0x1df831[_0x49ed41(0x2e4)]==='blocked')return error(_0x1df831['code'],'This\x20run\x20cannot\x20be\x20changed\x20until\x20its\x20contract\x20is\x20verified.');if(_0x2b2deb['coordinator']&&_0x2b2deb[_0x49ed41(0x248)]!==_0x10ff59)return error(_0x49ed41(0x39f),_0x49ed41(0x2b8));const _0x4e0242=this['readCurrent'](_0xd885de);if(!_0x4e0242||_0x4e0242[_0x49ed41(0x419)]!==_0x4eed62)return error(_0x49ed41(0x2f7),_0x49ed41(0x368));if(![_0x49ed41(0x31b),_0x49ed41(0x3a4)]['includes'](_0x2b2deb[_0x49ed41(0x3ef)]))return error(_0x49ed41(0x290),_0x49ed41(0x361)+_0x2b2deb['status']+_0x49ed41(0x41b));if(_0x2b2deb[_0x49ed41(0x36e)]?.['active'][_0x49ed41(0x444)])return error(_0x49ed41(0x258),_0x49ed41(0x312));_0x2b2deb[_0x49ed41(0x3ef)]='cancelled',_0x2b2deb[_0x49ed41(0x44a)]=this[_0x49ed41(0x3e2)]()[_0x49ed41(0x335)](),this[_0x49ed41(0x2a0)](_0x2b2deb),this['appendLedger'](_0x2b2deb,_0x49ed41(0x38f),'Cancelled\x20by\x20explicit\x20request.\x20History\x20was\x20preserved.');const _0x45dfe0={};return _0x45dfe0[_0x49ed41(0x2ec)]=!![],this[_0x49ed41(0x3b6)](_0x2b2deb,_0x45dfe0);});}[_0x1a9fc9(0x2ca)](_0x184c91,_0x86e8a){const _0x17d452=_0x1a9fc9,_0x2505f7=PipelineManager[_0x17d452(0x40f)](_0x184c91);if(_0x2505f7)return _0x2505f7;if(!_0x86e8a)return error(_0x17d452(0x369),_0x17d452(0x397));const _0x18783e=PipelineManager[_0x17d452(0x2c5)](_0x86e8a);if(_0x18783e)return _0x18783e;const _0x52840c=this[_0x17d452(0x3e5)](_0x184c91,_0x86e8a);if(_0x52840c?.[_0x17d452(0x2ec)]===![])return _0x52840c;if(!_0x52840c)return error(_0x17d452(0x24a),_0x17d452(0x366)+_0x86e8a+'\x22\x20was\x20not\x20found.');const _0x359bc6=this[_0x17d452(0x217)](_0x52840c);if(_0x359bc6[_0x17d452(0x2e4)]===_0x17d452(0x1fa))return error(_0x359bc6[_0x17d452(0x38b)],_0x17d452(0x1fc));if(![_0x17d452(0x31b),_0x17d452(0x3a4)][_0x17d452(0x28a)](_0x52840c[_0x17d452(0x3ef)]))return error(_0x17d452(0x290),_0x17d452(0x361)+_0x52840c[_0x17d452(0x3ef)]+_0x17d452(0x2af));const _0x2861b3={};return _0x2861b3[_0x17d452(0x2ec)]=!![],this['formatStatus'](_0x52840c,_0x2861b3);}[_0x1a9fc9(0x3b6)](_0x5e22c8,_0x3fe714={}){const _0x9b3f48=_0x1a9fc9,_0x3360d4=this['contract'](_0x5e22c8),_0x4614f7=_0x5e22c8['schemaVersion']===0x3?_0x5e22c8[_0x9b3f48(0x2aa)]:_0x5e22c8[_0x9b3f48(0x2aa)]||PIPELINE_DEFINITIONS[_0x5e22c8['pipeline']],_0x359071={..._0x3fe714};_0x359071[_0x9b3f48(0x31b)]=![],_0x359071[_0x9b3f48(0x33b)]=_0x5e22c8[_0x9b3f48(0x3ef)],_0x359071['task']=_0x5e22c8['task'],_0x359071[_0x9b3f48(0x419)]=_0x5e22c8[_0x9b3f48(0x419)],_0x359071[_0x9b3f48(0x367)]=_0x5e22c8[_0x9b3f48(0x367)],_0x359071[_0x9b3f48(0x3c6)]=_0x3360d4,_0x359071['blocked']=!![],_0x359071[_0x9b3f48(0x23c)]={},_0x359071[_0x9b3f48(0x23c)][_0x9b3f48(0x313)]=_0x9b3f48(0x364),_0x359071[_0x9b3f48(0x23c)]['code']=_0x3360d4[_0x9b3f48(0x38b)];if(!_0x4614f7?.[_0x9b3f48(0x2bd)])return _0x359071;const _0xf152ae=_0x5e22c8[_0x9b3f48(0x36f)][_0x9b3f48(0x444)],_0x4fab5b=_0x4614f7[_0x9b3f48(0x2bd)][_0xf152ae]||null,_0xcf8c24={..._0x3fe714,'active':_0x5e22c8[_0x9b3f48(0x3ef)]==='active','state':_0x5e22c8['status'],'task':_0x5e22c8[_0x9b3f48(0x3f7)],'runId':_0x5e22c8[_0x9b3f48(0x419)],'pipeline':_0x5e22c8[_0x9b3f48(0x367)],'pipeline_name':_0x4614f7[_0x9b3f48(0x2df)],'progress':_0xf152ae+'/'+_0x4614f7[_0x9b3f48(0x2bd)][_0x9b3f48(0x444)],'completed':_0x5e22c8[_0x9b3f48(0x36f)][_0x9b3f48(0x3d3)](_0x5c1e28=>_0x5c1e28['id']),'next_step':_0x4fab5b?{'id':_0x4fab5b['id'],'name':_0x4fab5b[_0x9b3f48(0x2df)],'skill':_0x4fab5b['skill']}:null,'workspacePath':_0x5e22c8[_0x9b3f48(0x238)][_0x9b3f48(0x1ff)],'stateRoot':this[_0x9b3f48(0x3bb)],'ledgerPath':this[_0x9b3f48(0x36a)](_0x5e22c8[_0x9b3f48(0x3f7)],_0x5e22c8[_0x9b3f48(0x419)]),'workspace':_0x5e22c8['workspace'],'compatibility':_0x3360d4,'cancellation':_0x5e22c8['cancellation']||null,'inherited':_0x5e22c8[_0x9b3f48(0x249)]||null,'tool_routing':TOOL_ROUTING};if(_0x3360d4[_0x9b3f48(0x2e4)]==='blocked')return{..._0xcf8c24,'active':![],'blocked':!![],'nextAction':{'kind':'contract-unavailable','code':_0x3360d4[_0x9b3f48(0x38b)]}};const _0x19a661={};_0x19a661[_0x9b3f48(0x313)]=_0x9b3f48(0x205);const _0x3e4436={};_0x3e4436[_0x9b3f48(0x313)]=_0x9b3f48(0x3d7);if(_0x5e22c8['schemaVersion']===0x3)Object[_0x9b3f48(0x396)](_0xcf8c24,{'schemaVersion':0x3,'versions':_0x5e22c8['versions'],'acceptance':_0x5e22c8['acceptance'],'sessionId':_0x5e22c8[_0x9b3f48(0x248)],'workItems':_0x5e22c8[_0x9b3f48(0x23a)],'plannedItems':_0x5e22c8[_0x9b3f48(0x262)]||[],'execution':_0x5e22c8[_0x9b3f48(0x36e)],'receiptObservations':_0x5e22c8[_0x9b3f48(0x36e)]['receiptObservations']||[],'verification_level':_0x5e22c8['quality']?'assertion-evidence':_0x9b3f48(0x2a2),'stop_reason':_0x5e22c8[_0x9b3f48(0x36e)][_0x9b3f48(0x3c1)],'nextAction':_0x5e22c8[_0x9b3f48(0x3ef)]===_0x9b3f48(0x260)?{'kind':_0x9b3f48(0x20f),'reason':_0x5e22c8[_0x9b3f48(0x26d)]?.['reason']||_0x9b3f48(0x260)}:_0x5e22c8[_0x9b3f48(0x3ef)]==='completed'?_0x19a661:_0x5e22c8['status']===_0x9b3f48(0x3a4)?{'kind':'paused','reason':_0x5e22c8[_0x9b3f48(0x36e)][_0x9b3f48(0x3c1)]}:_0x5e22c8[_0x9b3f48(0x36e)]['nextAction']||_0x3e4436});if(_0x5e22c8[_0x9b3f48(0x409)]&&_0x3fe714[_0x9b3f48(0x378)]===![])_0xcf8c24[_0x9b3f48(0x409)]={'plan':_0x5e22c8[_0x9b3f48(0x409)]['plan'],'freshness':'unverified','reason':_0x9b3f48(0x2eb),'checks':Object[_0x9b3f48(0x3b5)](_0x5e22c8[_0x9b3f48(0x409)][_0x9b3f48(0x23e)][_0x9b3f48(0x3f1)][_0x9b3f48(0x3d3)](_0x24eb67=>[_0x24eb67['id'],_0x9b3f48(0x267)])),'criteria':Object['fromEntries'](_0x5e22c8['quality'][_0x9b3f48(0x23e)][_0x9b3f48(0x246)]['map'](_0x4c030a=>[_0x4c030a['id'],{'expectedOutcome':_0x4c030a[_0x9b3f48(0x3d0)],'source':_0x4c030a['source'],'status':'unverified'}])),'missingChecks':_0x5e22c8['quality'][_0x9b3f48(0x23e)][_0x9b3f48(0x3f1)]['filter'](_0x3ea600=>_0x3ea600[_0x9b3f48(0x239)]!==![])[_0x9b3f48(0x3d3)](_0x46e6e3=>_0x46e6e3['id']),'openFindings':Object[_0x9b3f48(0x2de)](_0x5e22c8[_0x9b3f48(0x409)][_0x9b3f48(0x3db)]||{})[_0x9b3f48(0x22e)](_0x586aaf=>_0x586aaf[_0x9b3f48(0x239)]!==![]),'unavailable':_0x5e22c8[_0x9b3f48(0x409)][_0x9b3f48(0x2e9)]||{},'reviewProvenance':[],'impactEscalation':_0x5e22c8[_0x9b3f48(0x409)][_0x9b3f48(0x291)]||null};else{if(_0x5e22c8['quality']){const _0x5baf17=this[_0x9b3f48(0x36e)][_0x9b3f48(0x3fd)](_0x5e22c8)['id'],_0x435445=Object[_0x9b3f48(0x3b5)](_0x5e22c8['quality'][_0x9b3f48(0x23e)][_0x9b3f48(0x3f1)][_0x9b3f48(0x3d3)](_0x29ba50=>{const _0xbd450d=_0x9b3f48,_0x203165=_0x5e22c8[_0xbd450d(0x36e)]['evidence'][_0xbd450d(0x22e)](_0x118c01=>_0x118c01[_0xbd450d(0x409)]?.['checkId']===_0x29ba50['id']&&_0x118c01['snapshot']===_0x5baf17&&_0x118c01[_0xbd450d(0x2d8)]===_0x5e22c8['acceptance'][_0xbd450d(0x289)]&&!_0x118c01[_0xbd450d(0x375)])['at'](-0x1);return[_0x29ba50['id'],_0x203165&&artifactEvidenceCurrent(_0x5e22c8,_0x203165)?_0x203165[_0xbd450d(0x409)]['status']:_0xbd450d(0x267)];})),_0x137b74=Object[_0x9b3f48(0x3b5)](_0x5e22c8['quality']['plan']['criteria']['map'](_0x16bdee=>{const _0xfa1084=_0x9b3f48,_0x4009d1=new Set([..._0x16bdee['checkIds'],..._0x5e22c8['quality']['plan'][_0xfa1084(0x3f1)][_0xfa1084(0x22e)](_0x2ec6bd=>_0x2ec6bd[_0xfa1084(0x239)]!==![]&&_0x2ec6bd[_0xfa1084(0x376)]['includes'](_0x16bdee['id']))['map'](_0x7e8ff2=>_0x7e8ff2['id'])]);return[_0x16bdee['id'],{'expectedOutcome':_0x16bdee['expectedOutcome'],'source':_0x16bdee[_0xfa1084(0x2d4)],'status':[..._0x4009d1][_0xfa1084(0x3e3)](_0x4a4c51=>_0x435445[_0x4a4c51]==='passed')&&(!_0x5e22c8[_0xfa1084(0x409)][_0xfa1084(0x23e)]['artifactReview']||_0x5e22c8['quality'][_0xfa1084(0x23e)]['checks'][_0xfa1084(0x386)](_0x3c5f5c=>_0x3c5f5c[_0xfa1084(0x239)]!==![]&&_0x3c5f5c[_0xfa1084(0x41c)]?.[_0xfa1084(0x444)]))?_0xfa1084(0x329):[..._0x4009d1][_0xfa1084(0x386)](_0x36c576=>_0x435445[_0x36c576]===_0xfa1084(0x3f9))?_0xfa1084(0x3f9):_0xfa1084(0x267)}];}));_0xcf8c24[_0x9b3f48(0x409)]={'plan':_0x5e22c8['quality'][_0x9b3f48(0x23e)],'freshness':_0x9b3f48(0x212),'checks':_0x435445,'openFindings':this[_0x9b3f48(0x36e)]['openFindings'](_0x5e22c8),'impactEscalation':_0x5e22c8[_0x9b3f48(0x409)]['impactEscalation']||null,'criteria':_0x137b74,'missingChecks':this[_0x9b3f48(0x36e)][_0x9b3f48(0x27f)](_0x5e22c8),'unavailable':_0x5e22c8[_0x9b3f48(0x409)][_0x9b3f48(0x2e9)]||{},'reviewProvenance':_0x5e22c8['execution']['evidence']['filter'](_0x333735=>_0x333735[_0x9b3f48(0x2d4)]===_0x9b3f48(0x389))[_0x9b3f48(0x3d3)](_0x4a76fe=>({'evidenceId':_0x4a76fe['id'],'stage':_0x4a76fe[_0x9b3f48(0x2b0)]?.[_0x9b3f48(0x24e)],'verdict':_0x4a76fe[_0x9b3f48(0x2b0)]?.[_0x9b3f48(0x360)],'actorSeparated':_0x4a76fe[_0x9b3f48(0x3c4)],'artifactsCurrent':artifactEvidenceCurrent(_0x5e22c8,_0x4a76fe),'hostObservedIndependent':this[_0x9b3f48(0x36e)][_0x9b3f48(0x393)](_0x5e22c8,_0x4a76fe),'workerHostConfirmed':(_0x5e22c8[_0x9b3f48(0x36e)]['receiptObservations']||[])[_0x9b3f48(0x386)](_0x161009=>_0x161009['attemptId']===_0x4a76fe[_0x9b3f48(0x23f)]&&_0x161009[_0x9b3f48(0x30d)]===_0x9b3f48(0x2bb))||(_0x5e22c8[_0x9b3f48(0x36e)][_0x9b3f48(0x348)]||[])['some'](_0x264221=>_0x264221['attemptId']===_0x4a76fe[_0x9b3f48(0x23f)]&&_0x264221[_0x9b3f48(0x3eb)]?.['source']===_0x9b3f48(0x3ed)),'modelHostConfirmed':(_0x5e22c8[_0x9b3f48(0x36e)][_0x9b3f48(0x304)]||[])[_0x9b3f48(0x386)](_0x544627=>_0x544627[_0x9b3f48(0x23f)]===_0x4a76fe[_0x9b3f48(0x23f)]&&_0x544627[_0x9b3f48(0x28e)]==='confirmed')||(_0x5e22c8[_0x9b3f48(0x36e)][_0x9b3f48(0x348)]||[])['some'](_0x1a8df4=>_0x1a8df4[_0x9b3f48(0x23f)]===_0x4a76fe[_0x9b3f48(0x23f)]&&_0x1a8df4[_0x9b3f48(0x247)]?.['source']==='host-observed'&&_0x1a8df4[_0x9b3f48(0x247)]?.['status']==='confirmed')}))};}else _0xcf8c24['verification_level']=_0x9b3f48(0x279);}if(_0x4fab5b?.[_0x9b3f48(0x39c)]){const _0x4ec0a2=_0x5e22c8[_0x9b3f48(0x250)]===0x3&&_0x5e22c8[_0x9b3f48(0x338)]?.[_0x4fab5b[_0x9b3f48(0x39c)]]?null:this[_0x9b3f48(0x431)](_0x4fab5b[_0x9b3f48(0x39c)],_0x5e22c8[_0x9b3f48(0x238)]['path']),_0x883f35={};_0x883f35['active']=![],_0x883f35[_0x9b3f48(0x1fa)]=!![];if(_0x4ec0a2)Object[_0x9b3f48(0x396)](_0xcf8c24,_0x4ec0a2,_0x883f35);else _0xcf8c24[_0x9b3f48(0x33a)]=_0x9b3f48(0x459)+_0x4fab5b[_0x9b3f48(0x39c)]+_0x9b3f48(0x365)+_0x4fab5b['id']+'\x22.';}if(_0x4fab5b&&[_0x9b3f48(0x22c),'improve-architecture',_0x9b3f48(0x42f)]['includes'](_0x4fab5b['id']))_0xcf8c24[_0x9b3f48(0x44e)]=DOMAIN_SKILL_REMINDER;return _0xcf8c24;}['listRunsFromRoot'](_0x3659e8){const _0x5b34c8=_0x1a9fc9,_0x1cf209=[];if(!fs[_0x5b34c8(0x25d)](_0x3659e8))return _0x1cf209;const _0x15254c={};_0x15254c['withFileTypes']=!![];for(const _0x3e263e of fs['readdirSync'](_0x3659e8,_0x15254c)){if(!_0x3e263e['isDirectory']()||_0x3e263e['name'][_0x5b34c8(0x2d5)]('.'))continue;const _0x280b2d=path['join'](_0x3659e8,_0x3e263e[_0x5b34c8(0x2df)],_0x5b34c8(0x32d));if(!fs[_0x5b34c8(0x25d)](_0x280b2d))continue;const _0x3d594d={};_0x3d594d[_0x5b34c8(0x333)]=!![];for(const _0x1551f2 of fs[_0x5b34c8(0x23b)](_0x280b2d,_0x3d594d)){if(!_0x1551f2[_0x5b34c8(0x33f)]())continue;const _0x2320bb=_0x3659e8===this[_0x5b34c8(0x3bb)]?this[_0x5b34c8(0x3ba)](_0x3e263e['name'],_0x1551f2[_0x5b34c8(0x2df)]):this[_0x5b34c8(0x382)](path[_0x5b34c8(0x370)](_0x280b2d,_0x1551f2[_0x5b34c8(0x2df)],_0x5b34c8(0x227)));if(_0x2320bb&&this[_0x5b34c8(0x3f3)](_0x2320bb))_0x1cf209[_0x5b34c8(0x400)](_0x2320bb);else{if(_0x2320bb)this[_0x5b34c8(0x207)](_0x2320bb);}}}return _0x1cf209;}['listRuns'](){const _0x38ba26=_0x1a9fc9;return this[_0x38ba26(0x259)](this[_0x38ba26(0x3bb)]);}[_0x1a9fc9(0x298)](){const _0x3639db=_0x1a9fc9;return this[_0x3639db(0x377)]()[_0x3639db(0x22e)](_0x2deb58=>_0x2deb58[_0x3639db(0x3ef)]===_0x3639db(0x31b))[_0x3639db(0x3d3)](_0x58508d=>this['formatStatus'](_0x58508d));}[_0x1a9fc9(0x25f)](_0x16628d,_0x16526d,_0x52272a={}){const _0x2ea1b6=_0x1a9fc9;try{if(!_0x16628d){const _0x373ea4=[];if(fs[_0x2ea1b6(0x25d)](this[_0x2ea1b6(0x3bb)])){const _0x55ce9a={};_0x55ce9a[_0x2ea1b6(0x333)]=!![];for(const _0x441f94 of fs[_0x2ea1b6(0x23b)](this[_0x2ea1b6(0x3bb)],_0x55ce9a)){if(!_0x441f94[_0x2ea1b6(0x33f)]()||_0x441f94[_0x2ea1b6(0x2df)][_0x2ea1b6(0x2d5)]('.'))continue;const _0x25718e=this[_0x2ea1b6(0x265)](_0x441f94[_0x2ea1b6(0x2df)]);if(_0x25718e&&this[_0x2ea1b6(0x3f3)](_0x25718e))_0x373ea4['push'](this[_0x2ea1b6(0x3b6)](_0x25718e,_0x52272a));else{if(_0x25718e)this['recordForeignRun'](_0x25718e);}}}return{'success':!![],'active':_0x373ea4[_0x2ea1b6(0x386)](_0x202c32=>_0x202c32['active']),'state':_0x373ea4[_0x2ea1b6(0x444)]?_0x2ea1b6(0x2d0):_0x2ea1b6(0x430),'pipelines':_0x373ea4,'stateRoot':this[_0x2ea1b6(0x3bb)],'migrationWarnings':this[_0x2ea1b6(0x2f5)],'foreignWorkspaceStates':this[_0x2ea1b6(0x1f4)]||[],'pendingCreations':this[_0x2ea1b6(0x381)](),'message':_0x373ea4[_0x2ea1b6(0x444)]?_0x373ea4['length']+_0x2ea1b6(0x410):_0x2ea1b6(0x281),'tool_routing':TOOL_ROUTING};}const _0x53408b=PipelineManager[_0x2ea1b6(0x40f)](_0x16628d);if(_0x53408b)return _0x53408b;if(_0x16526d){const _0x3d2d2f=PipelineManager[_0x2ea1b6(0x2c5)](_0x16526d);if(_0x3d2d2f)return _0x3d2d2f;}const _0x43f706=_0x16526d?this[_0x2ea1b6(0x3ba)](_0x16628d,_0x16526d):this['readCurrent'](_0x16628d);if(!_0x43f706)return error(_0x2ea1b6(0x24a),_0x2ea1b6(0x3b3)+_0x16628d+'\x22.',{'active':![],'state':_0x2ea1b6(0x430),'task':_0x16628d,'stateRoot':this[_0x2ea1b6(0x3bb)],'pendingCreations':this[_0x2ea1b6(0x381)](_0x16628d)});const _0x59e5ba={..._0x52272a};return _0x59e5ba[_0x2ea1b6(0x2ec)]=!![],{...this[_0x2ea1b6(0x3b6)](_0x43f706,_0x59e5ba),'pendingCreations':this[_0x2ea1b6(0x381)](_0x16628d)};}catch(_0x5eb2f1){if(!['EPERM',_0x2ea1b6(0x293)]['includes'](_0x5eb2f1[_0x2ea1b6(0x38b)]))throw _0x5eb2f1;return error(_0x2ea1b6(0x36b),_0x2ea1b6(0x33d),{'active':![],'task':_0x16628d||null,'diagnostic':creationFailure(_0x5eb2f1,_0x2ea1b6(0x30c))});}}[_0x1a9fc9(0x439)](_0x57d11d,_0x109fd2){const _0x57d4f9=_0x1a9fc9,_0x5d679e=PipelineManager[_0x57d4f9(0x40f)](_0x57d11d);if(_0x5d679e)return _0x5d679e;const _0x3e08f5=PipelineManager[_0x57d4f9(0x2c5)](_0x109fd2);if(_0x3e08f5)return _0x3e08f5;const _0x1736c0=this[_0x57d4f9(0x3ba)](_0x57d11d,_0x109fd2);if(!_0x1736c0)return error(_0x57d4f9(0x24a),'Run\x20\x22'+_0x109fd2+_0x57d4f9(0x3cd));if(!_0x1736c0['workspace'][_0x57d4f9(0x2ba)]||_0x1736c0[_0x57d4f9(0x238)]['mode']!==_0x57d4f9(0x236))return error(_0x57d4f9(0x3a2),'Run\x20does\x20not\x20use\x20a\x20managed\x20worktree.');const _0xce7151={};_0xce7151['cwd']=_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x1ff)];const _0x4f5f20=this[_0x57d4f9(0x30a)]([_0x57d4f9(0x3ef),_0x57d4f9(0x3dd)],_0xce7151);if(!_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x28b)])return error(_0x57d4f9(0x2b7),_0x57d4f9(0x3ce));const _0x13e5f1=this[_0x57d4f9(0x30a)](['rev-list','--left-right',_0x57d4f9(0x25e),_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x28b)]+_0x57d4f9(0x448)+_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x20c)]]),_0x502534=this[_0x57d4f9(0x30a)]([_0x57d4f9(0x27d),'--name-only',_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x29c)]+'...'+_0x1736c0[_0x57d4f9(0x238)]['branch']]),[_0x12495e='0',_0x3fc03a='0']=_0x13e5f1[_0x57d4f9(0x3a7)]['split'](/\s+/);return{'success':_0x4f5f20['ok']&&_0x13e5f1['ok']&&_0x502534['ok'],'task':_0x57d11d,'runId':_0x109fd2,'workspacePath':_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x1ff)],'branch':_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x20c)],'baseRef':_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x29c)],'baseBranch':_0x1736c0[_0x57d4f9(0x238)][_0x57d4f9(0x28b)],'clean':_0x4f5f20['ok']&&!_0x4f5f20['stdout'],'status':_0x4f5f20['stdout'],'ahead':Number(_0x3fc03a),'behind':Number(_0x12495e),'changedFiles':_0x502534[_0x57d4f9(0x3a7)]?_0x502534['stdout'][_0x57d4f9(0x3cb)](/\r?\n/)[_0x57d4f9(0x22e)](Boolean):[],'mergePerformed':![]};}[_0x1a9fc9(0x406)]({task:_0x418f82,runId:_0x1152b7,confirm:_0x11b289,sessionId:_0x2d53af}={}){const _0x7952b=_0x1a9fc9,_0x520c15=PipelineManager[_0x7952b(0x40f)](_0x418f82);if(_0x520c15)return _0x520c15;const _0x13e7e6=PipelineManager[_0x7952b(0x2c5)](_0x1152b7);if(_0x13e7e6)return _0x13e7e6;if(_0x11b289!==!![])return error('CLEANUP_CONFIRMATION_REQUIRED','Worktree\x20cleanup\x20requires\x20confirm=true.');return this['withLock'](_0x418f82,()=>{const _0x6269e4=_0x7952b,_0x2fd120=this['readRun'](_0x418f82,_0x1152b7);if(!_0x2fd120)return error('RUN_NOT_FOUND',_0x6269e4(0x366)+_0x1152b7+'\x22\x20was\x20not\x20found.');if(_0x2fd120[_0x6269e4(0x248)]&&_0x2fd120['coordinator']!==_0x2d53af)return error('SESSION_MISMATCH',_0x6269e4(0x363));if(![_0x6269e4(0x3b9),_0x6269e4(0x260)][_0x6269e4(0x28a)](_0x2fd120[_0x6269e4(0x3ef)]))return error(_0x6269e4(0x3fb),_0x6269e4(0x263));if(_0x2fd120[_0x6269e4(0x36e)]?.[_0x6269e4(0x31b)]?.[_0x6269e4(0x444)])return error(_0x6269e4(0x258),_0x6269e4(0x294));if(!_0x2fd120['workspace']['managed']||_0x2fd120['workspace'][_0x6269e4(0x3ef)]==='removed')return error(_0x6269e4(0x3a2),'No\x20managed\x20worktree\x20is\x20available\x20for\x20cleanup.');const _0x1bb5e5={};_0x1bb5e5[_0x6269e4(0x24b)]=_0x2fd120['workspace'][_0x6269e4(0x1ff)];const _0x1f5442=this['runGit']([_0x6269e4(0x3ef),_0x6269e4(0x3dd)],_0x1bb5e5);if(!_0x1f5442['ok']||_0x1f5442['stdout'])return error(_0x6269e4(0x2dc),'Worktree\x20contains\x20uncommitted\x20changes.',{'status':_0x1f5442[_0x6269e4(0x3a7)]});if(!_0x2fd120[_0x6269e4(0x238)][_0x6269e4(0x28b)])return error(_0x6269e4(0x2c4),_0x6269e4(0x35d));const _0x1d8b45=this[_0x6269e4(0x30a)](['merge-base',_0x6269e4(0x29d),_0x2fd120[_0x6269e4(0x238)][_0x6269e4(0x20c)],_0x2fd120['workspace']['baseBranch']]);if(!_0x1d8b45['ok'])return error(_0x6269e4(0x2c4),_0x6269e4(0x257));const _0x58d5e1=this[_0x6269e4(0x30a)]([_0x6269e4(0x236),_0x6269e4(0x39e),_0x2fd120[_0x6269e4(0x238)][_0x6269e4(0x1ff)]]);if(!_0x58d5e1['ok'])return error('WORKTREE_REMOVE_FAILED',_0x58d5e1[_0x6269e4(0x447)]);_0x2fd120[_0x6269e4(0x238)]['status']='removed',_0x2fd120[_0x6269e4(0x238)][_0x6269e4(0x229)]=this[_0x6269e4(0x3e2)]()[_0x6269e4(0x335)](),this[_0x6269e4(0x2a0)](_0x2fd120),this[_0x6269e4(0x320)](_0x2fd120,_0x6269e4(0x331),_0x6269e4(0x2b6)+_0x2fd120[_0x6269e4(0x238)]['branch']);const _0x7a730c={};return _0x7a730c['success']=!![],_0x7a730c[_0x6269e4(0x3f7)]=_0x418f82,_0x7a730c[_0x6269e4(0x419)]=_0x1152b7,_0x7a730c[_0x6269e4(0x20c)]=_0x2fd120['workspace'][_0x6269e4(0x20c)],_0x7a730c['branchDeleted']=![],_0x7a730c;});}[_0x1a9fc9(0x323)](){const _0x354db6=_0x1a9fc9,_0x5b634a=new Set([path[_0x354db6(0x370)](this[_0x354db6(0x354)],'.agents',_0x354db6(0x2f4)),this['stateRoot']]);for(const _0x23b7bd of _0x5b634a){if(!fs[_0x354db6(0x25d)](_0x23b7bd))continue;const _0x89803a={};_0x89803a['withFileTypes']=!![];for(const _0x99adb of fs[_0x354db6(0x23b)](_0x23b7bd,_0x89803a)){if(!_0x99adb[_0x354db6(0x33f)]()||_0x99adb[_0x354db6(0x2df)]['startsWith']('.'))continue;const _0x106701=path['join'](_0x23b7bd,_0x99adb['name'],_0x354db6(0x227));if(!fs[_0x354db6(0x25d)](_0x106701))continue;const _0x3ac067=fs[_0x354db6(0x2c2)](_0x106701,_0x354db6(0x3b8));let _0x3c40d0;try{_0x3c40d0=JSON[_0x354db6(0x427)](_0x3ac067);}catch(_0x5a44c5){const _0x1f5d8a={};_0x1f5d8a['code']=_0x354db6(0x337),_0x1f5d8a[_0x354db6(0x1ff)]=_0x106701,_0x1f5d8a[_0x354db6(0x317)]=_0x5a44c5[_0x354db6(0x40d)],this[_0x354db6(0x2f5)][_0x354db6(0x400)](_0x1f5d8a);continue;}if(!_0x3c40d0?.[_0x354db6(0x367)]||!PIPELINE_DEFINITIONS[_0x3c40d0[_0x354db6(0x367)]]){const _0x2a4e99={};_0x2a4e99[_0x354db6(0x38b)]='LEGACY_STATE_INVALID',_0x2a4e99[_0x354db6(0x1ff)]=_0x106701,_0x2a4e99[_0x354db6(0x317)]=_0x354db6(0x34f),this[_0x354db6(0x2f5)]['push'](_0x2a4e99);continue;}const _0x19579f=crypto[_0x354db6(0x300)](_0x354db6(0x330))[_0x354db6(0x383)](_0x106701+'\x00'+_0x3ac067)['digest'](_0x354db6(0x307)),_0x527048=path[_0x354db6(0x370)](this[_0x354db6(0x3bb)],'.migrations',_0x19579f+_0x354db6(0x326));if(fs['existsSync'](_0x527048))continue;const _0xd0fb99=String(_0x3c40d0['startedAt']||this[_0x354db6(0x3e2)]()[_0x354db6(0x335)]())['slice'](0x0,0xa)[_0x354db6(0x27b)](/-/g,''),_0x274b31=PipelineManager[_0x354db6(0x40f)](_0x99adb['name'])?_0x354db6(0x296)+_0x3c40d0['pipeline']+'-'+_0xd0fb99:_0x99adb[_0x354db6(0x2df)];let _0x5b05bd=_0x274b31,_0x21af7f=0x0;while(this[_0x354db6(0x265)](_0x5b05bd)){const _0x5cb298=_0x21af7f++===0x0?_0x19579f['slice'](0x0,0x6):_0x19579f[_0x354db6(0x3b0)](0x0,0x4)+'-'+_0x21af7f;_0x5b05bd=_0x274b31['slice'](0x0,0x3f-_0x5cb298[_0x354db6(0x444)])+'-'+_0x5cb298;}const _0x42f247=this[_0x354db6(0x2bf)](),_0x39ce51=PIPELINE_DEFINITIONS[_0x3c40d0[_0x354db6(0x367)]],_0x56ce64=(_0x3c40d0[_0x354db6(0x36f)]||[])[_0x354db6(0x3d3)](_0x4b7de0=>typeof _0x4b7de0==='string'?{'id':_0x4b7de0,'summary':_0x354db6(0x284),'completedAt':this[_0x354db6(0x3e2)]()[_0x354db6(0x335)]()}:_0x4b7de0),_0x272053={};_0x272053['mode']=_0x354db6(0x37b),_0x272053[_0x354db6(0x1ff)]=this[_0x354db6(0x354)],_0x272053[_0x354db6(0x2ba)]=![],_0x272053[_0x354db6(0x3ef)]='ready';const _0x2f655f={'schemaVersion':0x2,'task':_0x5b05bd,'runId':_0x42f247,'pipeline':_0x3c40d0['pipeline'],'status':_0x56ce64[_0x354db6(0x444)]>=_0x39ce51[_0x354db6(0x2bd)][_0x354db6(0x444)]?_0x354db6(0x3b9):_0x354db6(0x31b),'completedSteps':_0x56ce64,'workspace':_0x272053,'startedAt':_0x3c40d0[_0x354db6(0x2d6)]||this[_0x354db6(0x3e2)]()['toISOString'](),'updatedAt':this[_0x354db6(0x3e2)]()[_0x354db6(0x335)](),'migratedFrom':_0x106701},_0x4273f5={};_0x4273f5[_0x354db6(0x398)]=!![],this[_0x354db6(0x2a0)](_0x2f655f,_0x4273f5);const _0x152ad1=path[_0x354db6(0x370)](_0x23b7bd,_0x99adb[_0x354db6(0x2df)],_0x354db6(0x219)),_0x41a733=fs[_0x354db6(0x25d)](_0x152ad1)?fs[_0x354db6(0x2c2)](_0x152ad1,_0x354db6(0x3b8)):_0x354db6(0x452);this['appendLedger'](_0x2f655f,'1.x\x20task\x20state\x20imported',_0x354db6(0x241)+_0x106701+'\x0a\x0a'+_0x41a733),this[_0x354db6(0x2da)](_0x527048,{'source':_0x106701,'task':_0x5b05bd,'runId':_0x42f247,'fingerprint':_0x19579f,'migratedAt':this[_0x354db6(0x3e2)]()[_0x354db6(0x335)]()});}}}[_0x1a9fc9(0x3d4)](){const _0xddded2=_0x1a9fc9;if(!fs[_0xddded2(0x25d)](this[_0xddded2(0x3d6)]))return;const _0x189bb9=fs[_0xddded2(0x2c2)](this[_0xddded2(0x3d6)],_0xddded2(0x3b8));let _0x2e7d3b;try{_0x2e7d3b=JSON[_0xddded2(0x427)](_0x189bb9);}catch(_0x6168fa){this[_0xddded2(0x2f5)][_0xddded2(0x400)]({'code':_0xddded2(0x337),'path':this[_0xddded2(0x3d6)],'error':_0x6168fa[_0xddded2(0x40d)]});return;}if(!_0x2e7d3b?.[_0xddded2(0x367)]||!PIPELINE_DEFINITIONS[_0x2e7d3b[_0xddded2(0x367)]]){this[_0xddded2(0x2f5)][_0xddded2(0x400)]({'code':_0xddded2(0x337),'path':this['legacyStateFilePath'],'error':_0xddded2(0x34f)});return;}const _0xb9acbf=crypto[_0xddded2(0x300)](_0xddded2(0x330))[_0xddded2(0x383)](_0x189bb9)[_0xddded2(0x32b)]('hex'),_0x3f7415=path[_0xddded2(0x370)](this[_0xddded2(0x3bb)],_0xddded2(0x321),_0xb9acbf+'.json');if(fs[_0xddded2(0x25d)](_0x3f7415))return;const _0x340349=String(_0x2e7d3b[_0xddded2(0x2d6)]||this[_0xddded2(0x3e2)]()['toISOString']())['slice'](0x0,0xa)[_0xddded2(0x27b)](/-/g,''),_0x243c28=_0xddded2(0x296)+_0x2e7d3b[_0xddded2(0x367)]+'-'+_0x340349;let _0xaaccd7=_0x243c28,_0x366bda=0x0;while(fs[_0xddded2(0x25d)](this[_0xddded2(0x206)](_0xaaccd7))){const _0x3b1a4b=_0x366bda++===0x0?_0xb9acbf[_0xddded2(0x3b0)](0x0,0x6):_0xb9acbf[_0xddded2(0x3b0)](0x0,0x4)+'-'+_0x366bda;_0xaaccd7=_0x243c28[_0xddded2(0x3b0)](0x0,0x3f-_0x3b1a4b['length'])+'-'+_0x3b1a4b;}const _0x53517d=this[_0xddded2(0x2bf)](),_0x5dc174=PIPELINE_DEFINITIONS[_0x2e7d3b[_0xddded2(0x367)]],_0x2cc0e5=(_0x2e7d3b[_0xddded2(0x36f)]||[])[_0xddded2(0x3d3)](_0x354f27=>typeof _0x354f27===_0xddded2(0x43a)?{'id':_0x354f27,'summary':_0xddded2(0x3a1),'completedAt':this[_0xddded2(0x3e2)]()['toISOString']()}:_0x354f27),_0x39864b={};_0x39864b[_0xddded2(0x3ac)]='current',_0x39864b[_0xddded2(0x1ff)]=this[_0xddded2(0x354)],_0x39864b[_0xddded2(0x2ba)]=![],_0x39864b[_0xddded2(0x3ef)]=_0xddded2(0x2c8);const _0x133936={'schemaVersion':0x2,'task':_0xaaccd7,'runId':_0x53517d,'pipeline':_0x2e7d3b[_0xddded2(0x367)],'status':_0x2cc0e5[_0xddded2(0x444)]>=_0x5dc174['steps']['length']?_0xddded2(0x3b9):_0xddded2(0x31b),'completedSteps':_0x2cc0e5,'workspace':_0x39864b,'startedAt':_0x2e7d3b[_0xddded2(0x2d6)]||this[_0xddded2(0x3e2)]()[_0xddded2(0x335)](),'updatedAt':this[_0xddded2(0x3e2)]()[_0xddded2(0x335)](),'migratedFrom':this[_0xddded2(0x3d6)]},_0x528c0c={};_0x528c0c[_0xddded2(0x398)]=!![],this[_0xddded2(0x2a0)](_0x133936,_0x528c0c),this[_0xddded2(0x320)](_0x133936,_0xddded2(0x2b1),_0xddded2(0x241)+this['legacyStateFilePath']),this[_0xddded2(0x2da)](_0x3f7415,{'source':this[_0xddded2(0x3d6)],'task':_0xaaccd7,'runId':_0x53517d,'fingerprint':_0xb9acbf,'migratedAt':this['now']()[_0xddded2(0x335)]()});}static[_0x1a9fc9(0x379)](_0x218c5b){const _0x144472=_0x1a9fc9,_0x1c7d64=String(_0x218c5b||'')[_0x144472(0x438)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/['test'](_0x1c7d64)){const _0x5d02a2={};return _0x5d02a2[_0x144472(0x31c)]=_0x144472(0x2cd),_0x5d02a2[_0x144472(0x3f8)]=_0x144472(0x3e7),_0x5d02a2[_0x144472(0x418)]=_0x144472(0x2fc),_0x5d02a2;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/['test'](_0x1c7d64)){const _0x153f9a={};return _0x153f9a[_0x144472(0x31c)]='hotfix',_0x153f9a['confidence']='medium',_0x153f9a[_0x144472(0x418)]=_0x144472(0x2d2),_0x153f9a;}const _0x2fc72d={};return _0x2fc72d['suggested_pipeline']=_0x144472(0x3e8),_0x2fc72d[_0x144472(0x3f8)]=_0x1c7d64[_0x144472(0x444)]>=0x3?_0x144472(0x3e7):'low',_0x2fc72d[_0x144472(0x418)]='Defaulting\x20to\x20the\x20safest\x20full\x20pipeline.',_0x2fc72d;}}const _0x3935e5={};function _0x4516(_0x4950e2,_0x2ab01d){_0x4950e2=_0x4950e2-0x1f3;const _0x27c7fc=_0x27c7();let _0x451643=_0x27c7fc[_0x4950e2];if(_0x4516['DBmypf']===undefined){var _0x5a461d=function(_0xc92541){const _0x508f14='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43e232='',_0x433fa3='';for(let _0x41b025=0x0,_0x1468d1,_0x5f1298,_0x576801=0x0;_0x5f1298=_0xc92541['charAt'](_0x576801++);~_0x5f1298&&(_0x1468d1=_0x41b025%0x4?_0x1468d1*0x40+_0x5f1298:_0x5f1298,_0x41b025++%0x4)?_0x43e232+=String['fromCharCode'](0xff&_0x1468d1>>(-0x2*_0x41b025&0x6)):0x0){_0x5f1298=_0x508f14['indexOf'](_0x5f1298);}for(let _0x4f08fe=0x0,_0xf47331=_0x43e232['length'];_0x4f08fe<_0xf47331;_0x4f08fe++){_0x433fa3+='%'+('00'+_0x43e232['charCodeAt'](_0x4f08fe)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x433fa3);};_0x4516['BbrVGF']=_0x5a461d,_0x4516['htAGrw']={},_0x4516['DBmypf']=!![];}const _0x4db23=_0x27c7fc[0x0],_0x22f0e8=_0x4950e2+_0x4db23,_0x2277f6=_0x4516['htAGrw'][_0x22f0e8];return!_0x2277f6?(_0x451643=_0x4516['BbrVGF'](_0x451643),_0x4516['htAGrw'][_0x22f0e8]=_0x451643):_0x451643=_0x2277f6,_0x451643;}_0x3935e5[_0x1a9fc9(0x2c6)]=PipelineManager,_0x3935e5['PIPELINE_DEFINITIONS']=PIPELINE_DEFINITIONS,_0x3935e5['PIPELINE_DEFINITIONS_V3']=PIPELINE_DEFINITIONS_V3,module['exports']=_0x3935e5;
|