apt-mcp-agent-setup 3.5.25 → 3.5.30
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/README.md +1 -1
- package/bin/cli.js +1 -1
- package/build-input.json +54 -36
- 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 +161 -159
- package/package.json +1 -1
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/index-cache-authority.js +1 -1
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-maintenance.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/profiles.js +1 -1
- package/src/backends/review_graph.py +65 -0
- package/src/backends/source-discovery.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/aso-import.js +1 -1
- package/src/core/backend-lease-recovery.js +1 -1
- package/src/core/boot-evidence.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-launch-recovery.js +1 -1
- package/src/core/claude-native.js +1 -1
- package/src/core/claude-plan.js +1 -1
- package/src/core/claude-transcript-scan.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/connection-inspector.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/hook-diagnostics.js +1 -1
- package/src/core/hook-lease.js +1 -1
- package/src/core/host-adapters.js +1 -1
- package/src/core/interrupted-boot-transport-proof.js +1 -1
- package/src/core/interrupted-natural-closure-proof.js +1 -1
- package/src/core/interrupted-operation-audit.js +1 -1
- package/src/core/interrupted-transport-proof.js +1 -1
- package/src/core/ipc-envelope.js +1 -1
- package/src/core/legacy-retirement-proof.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/native-receipt.js +1 -1
- package/src/core/native-retirement.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/pipeline-journal.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/recovery-archive.js +1 -1
- package/src/core/recovery-proof.js +1 -1
- package/src/core/resource-transaction.js +1 -1
- package/src/core/run-checkpoint.js +1 -1
- package/src/core/run-compatibility.js +1 -1
- package/src/core/run-state-codec.js +1 -1
- package/src/core/runtime-authority.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/workflow-policy.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/claude-commands.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/hook-dispatcher.js +179 -141
- package/src/installer/host-hooks.js +1 -1
- package/src/installer/index-interruption-recovery.js +1 -1
- package/src/installer/index-recovery.js +1 -1
- package/src/installer/install-intent.js +1 -1
- package/src/installer/interrupted-operation-recovery.js +1 -1
- package/src/installer/legacy-prepared-plan.js +1 -1
- package/src/installer/legacy-registration.js +1 -1
- package/src/installer/managed-config.js +1 -1
- package/src/installer/migration-scope.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-outcome.js +1 -1
- package/src/installer/project-setup.js +1 -1
- package/src/installer/recovery-backup-retention.js +1 -0
- 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/stale-run-release.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-history.js +1 -1
- package/src/installer/update-registration.js +1 -1
- package/src/installer/update-report.js +1 -0
- 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/templates/mcp-tools.md +2 -2
package/src/proxy/pipeline.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xd8aaed=_0x5ead;function _0x40f3(){const _0x22e3f0=['BM93','zgLYzwn0B3j5','zxjYB3i','lI4U','BM9YBwfSAxPLuxvHBgL0EvbSyw4','zNjVEMvU','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','D29YA0L0zw1jza','cLj1BJOG','CMvJB3zLCNKTAw5ZCgvJDgLVBG','kg5Vihn1Bw1HCNKP','zxHWzwn0zwrFCgf0Aa','BgLZDfj1BNm','ChjVzhvJDfrHCMDLDa','z2L0q29TBw9UrgLY','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','mtu1ndqZmvvNsNn4Aa','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','yNvNlwrPywDUB3n0AwnZ','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlM5HBwuGiLLVDxiGtMfTzsi','CNvUswq','Aw52ywXPza','C3rHDhvZlwLUC3bLy3rPB24','C3rHDgu','y29UDhjHy3q','DgvYBwLUywW','D29YA3rYzwu','DMfSAwrHDgvxB3jRC3bHy2u','rNjLC2GGBMf0AxzLignVBxbSzxrPB24GChjVB2yGAxmGCMvXDwLYzwqGzM9YihjLBgvHC2uU','y29UzMLKzw5Jzq','BM9qCM9NCMvZCW','uMvWB3nPDg9YEsbPCYbUB3qGy2XLyw4Gywz0zxiGDgHLigjHC2vSAw5LignVBw1PDc4','CMvUyw1Lu3LUyW','Ag90zML4','ChjKlwDLBG','r0Lux0Lorevyx0zjteu','y2HPBgrFChjVy2vZCW','y2fUy2vSvMvYAwzPy2f0Aw9UCW','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','CMvHC29U','C29YDa','CMvHzgrPCLn5BMm','B21PDhrLza','uMvJB3jKigf0igXLyxn0ig9UzsbHy2nLChrHBMnLignYAxrLCMLVBIbHDcbWAxbLBgLUzv9ZDgfYDdSGAxrZihrLEhqGBxvZDcbTyxrJAcbHihf1ywXPDhLqBgfUignYAxrLCMLVBIbLEhbLy3rLze91DgnVBwuU','BwvYz2uTyMfZzq','v09ss1rsruvFuKvnt1zfx0zbsuXfra','Dg8TAxnZDwvZ','qurnsvntsu9ox0nptKzmsunu','ls1Nzxq','yxb0lW','BMfTzq','C3rHDfn5BMm','Cgf1C2vK','ihrHC2SOCYKGDhjHy2TLzc4','v09ss1rsruvFqKftrv9nsvntsu5h','u2f2zwqGy3jLyxrPB24GAw50zw50ignVDwXKig5VDcbIzsbPBNnWzwn0zwqU','yxzHAwXHyMXLqwn0Aw9UCW','CgvUzgLUz0nYzwf0Aw9UCW','Dw5SAw5Ru3LUyW','CgLWzwXPBMvZ','BgvNywn5u3rHDgvgAwXLugf0Aa','iIWGCMvJzwL2zwqGiG','y2HLy2Tjza','sw1WBgvTzw50ihrLC3qTzMLYC3q','r0Lux0LosvrFq09orKLstufusu9ox1jfuvvjuKve','C2vZC2LVBKLK','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','zgLHz25VC3rPyW','CMvJB3jKrM9YzwLNBLj1BG','CxvHBgL0Eq','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','ChjLCgfYzu1LCMDL','zgvJB2rLuNvUu3rHDgu','ls1Uyw1Llw9UBhK','rufdq0vt','vgHLihjLC2vYDMf0Aw9UigHHCYbUBYbJB25MAxjTzwqGC3rVChbLzcbUyxrPDMuGD29YA2vYlG','DMfSDwvZ','q29UzMLYBsb3B3jRzxiGC2H1DgrVD24GyMvMB3jLignHBMnLBgXPBMCGDgHLihj1BI4','y3btEw5J','Aw5PDgLHBgL6zuDPDa','mtjXyvrPz20','ChjVAMvJDfbHDgG','Bxv0yxrPB24','v09ss1rsruvFvu5nrvjhruq','lI4Vy29Yzs9LEgvJDxrPB24','BgLZDefJDgL2zvbPCgvSAw5LCW','DxnL','sg90zML4ihnJB3bLigP1C3rPzMLJyxrPB24GBxvZDcbJB250ywLUigf0igXLyxn0ideWignOyxjHy3rLCNmU','ywnJzxb0yw5Jzq','CMvXDwLYzwq','DMvYAwz5lxnJB3bL','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','C2vW','mtqYmtuYwgXwuLHf','zgv2zwXVCg1LBNrnB2rL','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','r0Lux1bsrvzjrvDFrKfjteve','uNvUici','D2L0AeXVy2S','zM9YBwf0u3rHDhvZ','lM1Pz3jHDgLVBNm','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','BM9Uzq','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','lI4Vy29Yzs9XDwfSAxr5','CgXHBG','DMfSAwrHDgvsDw5jza','CgXHDgzVCM0','y2HLy2TWB2LUDa','C3bSAxq','D29YA3nWywnLigzPzwXKCYbOyxzLigLUDMfSAwqGDhLWzxmU','D29YA2zSB3DqCM9MAwXL','Dhj1BMm','lI4VBgLJzw5Zzs92zxjPzNK','zM9Yy2u','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzc4','ChjLlwnYzwf0zs1ZDgf0zq','BwLNCMf0zq','ChvIBgLJs2v5','uLvox0Lex1jfuvvjuKve','BwfPBG','se9urKLyx1ndt1bfx1jfuvvjuKve','zNjLC2HtDgfYDef2ywLSywjSzq','AxneAxjLy3rVCNK','D29YA0L0zw1dB3vUDcbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCI4','CMvZB2X2zq','qw5VDgHLCIbYDw4GAxmGy3vYCMvUDdSGCMvJB3zLCNKGy2fUBM90ihjLCgXHy2uGAxrZigjPBMrPBMCU','qNjHBMnOihbYzxnLCNzLzdOG','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','Bg9JA0zPBgu','rgvMyxvSDgLUzYb0BYb0AguGC2fMzxn0igz1BgWGCgLWzwXPBMuU','C3rYAw5NAwz5','q2HHBgXLBMDLihrOzsbMAxGGzgvZAwDU','CgvYC2LZDa','uLvox0nsrufusu9ox0Loq09nueXfveu','ChjLDMLLDW','CMvTB3zLza','nde3ndm3mgnurvr1tG','y2fUy2vSBgvKqxq','l1nlsuXmlM1KigjLzM9YzsbZDgvWici','yxjNCW','yxr0zw1WDeLK','mJKYmJvbzgv2EMm','su5wquXjrf9tq0HftufFvKvsu0LptG','C3vNz2vZDgvKx3bPCgvSAw5L','Ag9ZDc1VyNnLCNzLza','q1jfqvrjt05FuLvox01ju01bveni','DMvYC2LVBG','zxHLy3v0Aw9U','ls1XDwLLDa','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','qMfZzsbJAgvJA291DcbTDxn0igjLignSzwfUigjLzM9YzsbJCMvHDgLUzYbHihDVCMT0CMvLlG','C2fTzvDVCMTZCgfJzq','y2fUy2vSBgvK','C2TPBgXFzgLYzwn0AxzL','zxzLBNrZlMPZB25S','ChjVzhvJDeLTCgfJDa','ls1IyxjL','Bw9Kzq','CMvJDxjZAxzL','lMfNzw50CW','yNL0zuXLBMD0Aa','BwfW','uNvUihvZzxmGCgLWzwXPBMuGiG','y2fUy2vSrM9YvxbNCMfKzq','uMvJB3jKzwqGD29YA3nWywnLigrPzMzLCNmGzNjVBsb0AgLZihbYB2PLy3qU','yxb0lw1JCc1NAxqTChjLDMLLDY0','BxvSDgK','u2f2zwqGy3jLyxrPB24GAw50zw50igHHCYbHBIbPBNzHBgLKihDVCMTZCgfJzsbVCIbIzwXVBMDZihrVigfUB3rOzxiGChjVAMvJDc4','Bw9IAwXL','ueLqruXjtKvFtuLttufuq0G','Bg9JA1rPBwvVDxrnCW','mtyWmtC4mfbdD1z5zG','v29YA3rYzwuGCMvTB3zLza','y2HLy2Tjzhm','C29Tzq','DgfZA0rPCG','Cg9SAwn5vMvYC2LVBG','su5wquXjrf9xt1jlu1bbq0vFtu9erq','rxHWzwn0zwqGC3rLCcaI','BgLZDa','CNvUBMLUzW','Aw5OzxjPDfvWz3jHzgvdB250zxH0','D2LUmZi','C3rYzxnZlxrLC3qTCgXHBG','su5wquXjrf9rvufmsvrzx1bmqu4','y3jPDgvYAwe','su5wquXjrf9srvnfvf9uqvjhrvq','vKvssuzjq0fusu9ox0Lox0zmsuDiva','tgvNywn5ihn0yxrLigLTCg9YDgvK','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','lI4VlI4VCgfJA2fNzs5QC29U','y2fUy2vSBgf0Aw9U','q1jfqvrjt05Fu1vqrvjtrurfra','Cg9W','CMvZB2X2zwq','CMvWBgfJzq','zMLSDgvY','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','zMLSzq','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','ywrK','v09ss1rsruvFtK9ux01btKfhruq','ugLWzwXPBMuGC3rHCNrLza','y29UzMLN','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','ugLWzwXPBMuGC3rHDguGy29WEsb0ExbLig1PC21HDgnOoIa','DhjPBq','cK5LEhqGC3rLCdOG','ChjLDMLVDxnsDw4','BwfYA0f0DgvTChrtDgfYDgvK','y3jLyxrLv29YA3rYzwu','u1rfuf9pvvrFt0zFt1jervi','y2XLyw51CfDVCMTZCgfJzq','y2XVC2vK','ls12zxjPzNK','AxnbCNjHEq','CM1tEw5J','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','z2L0','v09ss0vsx1nut1bFvu5dt05gsvjnruq','y3vYCMvUDa','lI4Vy29Yzs9VD25Lzc1SB2nR','CMvJB3zLCG','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','C3rHCNq','CNvUrgLY','C2nVCgu','D29YA2vYu3rHDhvZ','y29UzMLYBwvK','BgvKz2vY','Ag9ZDfDVCMTLCKLK','lI4Vy29Yzs9YDw4Ty2HLy2TWB2LUDa','Dg9mB3DLCKnHC2u','y29TCgXLDgvKu3rLChm','lMPZB24','ls1UBY1NCgCTC2LNBG','B3bLBG','y29UDgLUDwu','u291CMnLihjLDgfPBMvKigf0ia','v29YA3rYzwuGy2XLyw51CcbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','q3jLyxrLihzLCNrPy2fSlxnSAwnLigLZC3vLCW','uNvUignYzwf0Aw9UihDHCYbPBNrLCNj1ChrLzdSGAxrZihDVCMTZCgfJzsbHBMqGAw50zw50ihDLCMuGChjLC2vYDMvKlG','v09ss1rsruvFqKftrv9esvjuwq','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','u0TjteWUBwq','kg5VigXLz2fJEsbSzwrNzxiP','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','u2vUC2L0AxzLigzPBgvZihDVDwXKigjLignVBw1PDhrLzc4GqwrKihrOzw0GDg8GlMDPDgLNBM9YzsbHBMqGCMvXDwvZDcbHig5LDYbWCMv2Awv3lG','uMvHzcaUywDLBNrZl3nRAwXSCY8','y29TCgXLDgvKqxq','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','yMfZzvjLzG','yxrVBwLJv3jPDgvkC29U','C2HHmJu2','D29YA3nWywnL','DgfYz2v0rgLNzxn0','zxzPzgvUy2u','D29YA3nWywnLugf0Aa','CMvHzhK','y2XHC3nPzNLszxf1zxn0','BwfUywDLza','uNvUigLZia','CMvWB3j0CW','iIWGBM90ici','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','zg9JDw1LBNqTyxj0AwzHy3q','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlMvTywLSicj5B3vazxHHBxbSzs5JB20I','CMvZzxq','BMv4Df9ZDgvW','yxj0AwzHy3rqyxrOCW','y2HLy2TZ','u3rLCcbJB21WBgv0zwq6ia','CMvSzwfZzwq','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','sevbra','u0fwrsbquKqGC2nVCguGyw5KigTLEsbYzxf1AxjLBwvUDhmGD2L0AcbYzw1LBwjLCI4','Aw5KzxG','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','DxnLCI5LBwfPBa','yxbWzw5KtgvKz2vY','C3rKB3v0','zMLUza','y3jLyxrPBMC','D2vI','yMfZzujYyw5JAa','uMvJB3zLCNKGD2fZigLUDgvYCNvWDgvKoYbPDhmGAw50zw50ihDHCYbWCMvZzxj2zwqU','Cgf0Aa','C3rVChbLza','BwLZC2LUz1f1ywXPDhLdAgvJA3m','C3LZy2fSBa','lI4Vy29Yzs9UyxrPDMuTCMvJzwLWDa','ywjHBMrVBMvK','ueLqruXjtKvFu1rbvfvtx1voqvzbsuXbqKXf','BgvNywn5lw1Pz3jHDgLVBG','cLbPCgvSAw5LoIa','C3vTBwfYAxPLqM9VDhn0CMfWu3rHDhvZ','CgfZC2vK','lI4Vy29Yzs9YDw50Aw1LlwLUzM8','C2L6zq','CMvHBhbHDgHtEw5J','AgfZtgvNywn5u3rHDgu','zgLYBMfTzq','y2HVCMu6igLUAxrPywXPEMuGBg9JywWGCMvWB3nPDg9YEq','x19WAxbLBgLUzv9ZDgfYDf9F','qwn0AxzLihbPCgvSAw5LCYbJyw5UB3qGyMuGBwLNCMf0zwqGzhvYAw5NieDPDcbPBML0AwfSAxPHDgLVBI4','CMvTB3zLzef0','C2nOzw1HvMvYC2LVBG','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','C3rHDguUANnVBG','C3rHCNrZv2L0Aa','yM9VBgvHBG','y3vYCMvUDc5QC29U','CMvWB3nPDg9YEunVBNrLEhq','CMvXDwvZDgvKv29YA3nWywnL','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','q2fUBM90ihjLywqGr2L0igjVB3rZDhjHCcbWCMv2Awv3lG','DgrKlwXVB3a','B3jPz2LUv29YA3nWywnL','D2LUzg93C0HPzgu','CMvJB3jKvMvYAwzPy2f0Aw9U','zxHLy3v0Aw9Uu3rHDhvZ','BwLNCMf0zvn0yxrLuM9VDa','C2HVDY1Yzwy','ywn0AxzL','Dg9ju09tDhjPBMC','B3bLBLn5BMm','ChjVz3jLC3m','DMfSAwrHDgvtDg9YywDL','CMvXDwLYzwrtA2LSBevYCM9Y','A2v5CW','lIbbDhrLBxb0oIa','yMfZzw5HBwu','lI4Vy29Yzs9XDwfSAxr5lwfYDgLMywn0CW','BNb4igfWDc1Ty3aTywDLBNqTC2v0DxaGDxbKyxrLic0TChjVAMvJDcaI','CMv2lxbHCNnL','CNvUswqGAxmGCMvXDwLYzwqU','vgHPCYbJCMvHDgLVBIbPBNrLBNqGAgfZigfSCMvHzhKGyMvLBIbYzxnVBhzLzc4GvxnLihbPCgvSAw5Lx3vZzsbMB3iGyw4GzxHPC3rPBMCGCNvUlG','CNvUr2L0','su5wquXjrf9xt1jlrKXpv19quK9gsuXf','iIb3yxmGBM90igzVDw5KlG','Aw50zxjYDxb0zwq','ig11C3qGy29UDgfPBIbUB24Tzw1WDhKGC3rYAw5NCY4','CgLK','BgvKz2vYrMLSzq','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','CMvKDwnL','AgLNAc1YAxnR','uLvox05pvf9bq1rjvKu','yNvNzML4','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','D29YA0L0zw1dB3vUDa','CMvWBgfJzufSBa','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','uKvrvuLsrurFu0TjteXFtuLtu0LorW','u3vWCg9YDgvKihbPCgvSAw5LihzLCNnPB25ZigfYzsaYigfUzcaZlG','AxnhAxrszxbVC2L0B3j5','Aw5PDa','ChvZAa','ywnJzxb0yw5JzunYAxrLCMLH','y3jPDgvYAw9UswrZ','BMv4DefJDgLVBG','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','vw5RBM93BIbWAxbLBgLUzsb0ExbLoIa','zxHWzwn0zwrpDxrJB21L','CMvJB3jKvMvYAwzPy2f0Aw9Uqxn5BMm','Agv4','C2XPy2u','q3jLyxrPB24GywXYzwfKEsbOyxmGCNvUihn0yxrLig9YigeGy3vYCMvUDcbIAw5KAw5NoYbPDcbJyw5UB3qGyMuGywjHBMrVBMvKlG','ugLWzwXPBMvnyw5Hz2vY','rvbfuK0','yMXVy2TLza','vhjHBNnHy3rPB246ia','mti4ndGYmdjkz3n1v2O','CMvZDw1L','D2fPDa','CMvWywLYuNvU','ueLqruXjtKvFrevgsu5jveLptLnFvJm','ugLWzwXPBMuGC3rHDguGy29WEsbLBNrYAwvZig1PC21HDgnOoIa','ls1PCY1HBMnLC3rVCG','DMvYC2LVBNm','DMvYAwzPzwq','DgfZAW','DgrK','DMvYzgLJDa','D2L0AezPBgvuExbLCW','v29YA3nWywnLoIa','lcbUB3qGywn0AxzLlG','C3vNz2vZDfrHC2S','yxrVBwLJv3jPDgu','z2v0u3rHDhvZ','zgLMzG','zgv2zwXVCg1LBNqTC291CMnL','y3j5ChrV','CNvUDgLTzvzLCNnPB24','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','CNvUDgLTzvb1yMXPy0TLEq','CgfYC2u','D29YA3nWywnLlxjLC29SDxrPB24','BwvZC2fNzq','ls1JywnOzwq','BgvKz2vYlxDYAxrL','CMvHzePZB24','BgfZDezHAwX1CMu','u3rVChbLzcbUyxrPDMuGD29YA2vYihjLy29Uy2LSzwqGzM9YihvWz3jHzgu','Aw5OzxjPDgvK','tw9IAwXLifvjoIaUywDLBNrZl3nRAwXSCY9TB2jPBguTCNvSzxmVu0TjteWUBwq','yxnZzxj0Aw9Ulwv2AwrLBMnL','uLvox1jfq09wrvjzx0zbsuXfra','D29YA3rYzwuG','BMv3lxj1BI1Yzxf1AxjLza','C3rHz2u','CNvUDgLTzvbPBG','Aw50zwDYAxr5lw1HBMLMzxn0lMPZB24','ls1WB3jJzwXHAw4','tg9Hzcb0AguGBwf0y2HPBMCGzg9TywLUihnRAwXSigjLzM9YzsbJB2rPBMC6','CgLWzwXPBMuTC3rHDguUANnVBG','ru5pru5u','CMv2Awv3t2jZzxj2zwq','DMvYAwz5q29WAwvKvhjLzq','CMvWBgf5','q1jfqvrjt05FquXsrufewv9srvnptfzfra','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','CNvUDgLTzs11CgDYywrL','C3rKzxjY','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','zgLNzxn0','yxr0zw1WDhm','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','zw5KC1DPDgG','uLvox1nusuXmx0fdveLwrq','v09ss1rsruvFuefusf9fweLtvfm','ChjVz3jLC3mUBwq','yxv0BW','mtu1mJm0odbwqNfUtuK','BwvKAxvT','ywnJzxb0yw5JzvjLDMLZAw9U','zxHPC3rZu3LUyW','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGy2fUy2vSBgLUzYb0AguGCNvUlG','B3DUC1j1BG','BgvNywn5lq','rMvHDhvYzsbezxzLBg9WBwvUDa','CNvUCW','iIbPCYbTAxnZAw5NlG','CgLUtgvNywn5rgvMAw5PDgLVBG','AxnmAw5RzwrxB3jRDhjLzq','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','zxzLCNK','lMDPDgLNBM9Yzq','DgfYz2v0','CgLWzwXPBMu','zML4lwfUzc10zxn0','C3vTBwfYEq','AM9PBG','uMvWB3nPDg9YEsbOyxmGBM8GyMfZzsbJB21TAxqU','lMXVy2S','DgfZAY1ICMvHA2rVD24','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','y3jLyxrPB25jBNrLBNrgAwXL','CNvUDgLTzvjVB3q','BMv4Da','lMfNlwTPDc13B3jRDhjLzxm','zNn5BMntEw5J','C3rHDhvZ','DhjHBNnHy3rPB25jza','DgvZDa','C3rHBMrHCMq','C2v0q3vYCMvUDa','r0Lux0LosvrFrKfjteve','twLNCMf0zwqGzNjVBsaXlNGGDgfZAYbZDgf0zq','z2vUzxjHDgvsDw5jza','lI4Vy29Yzs9YDw4TC3rHDguTy29Kzwm','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','C2LNBMvKlxjLBgvHC2u','BwfUywDLCG','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5Lig11Dgf0Aw9UCY4','vu5ltK9xtG','D29YA0L0zw1Z','Aw1WCM92zs1HCMnOAxrLy3r1CMu','su5wquXjrf9xt1jlu1bbq0u','y3jLyxrLsgfZAa','Bw9KzwXszwnLAxb0','zgvMAw5PDgLVBG','vefts19btfjfqurzx0fdveLwrq','DMfSAwrHDgvuyxnR','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','BxrPBwvnCW','C291CMnL','BgLZDfj1BNngCM9TuM9VDa','CMvJB3zLCLj1BKLK','y29VCMrPBMf0B3i','y3vYCMvUDezPBgu','D3jPDgvgAwXLu3LUyW','CMvZB2X2zvDVCMTZCgfJzq','D29YA3nWywnLig11C3qGyMuGyw4GB2jQzwn0ihDPDgGGBw9KzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','q2fUBM90ignVBxbHCMuGDgHLihDVCMT0CMvLihDPDgHVDxqGAxrZihjLy29YzgvKigjHC2uGyNjHBMnOlG','C3rYAw5N','u2vZC2LVBLj1BNrPBwu','zw5JB2rPBMC','Aw50zw50rMLSzq','yNjHBMnO','vgHPCYbOAxn0B3jPy2fSihj1BIbPCYbYzwfKywjSzsbIDxqGy2fUBM90igjLihjLyM91BMqGzM9Yig11Dgf0Aw9UlG','z3jPBgWTBwu','qvruru1qvf9nsvnnqvrdsa','v09ss1rsruvFreLsvfK','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','zMLUzgLUz3m','zw52','CMv2Awv3','y29UDhjHy3qTDw5HDMfPBgfIBgu','ChjLDMLLD0DPDejVB3rZDhjHCa','ls1ZAg93lwn1CNjLBNq','lMnYzwf0Aw9U','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzdSGBM8GBMv3ihj1BIb3yxmGy3jLyxrLzc4','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','D3jPDgvtDgf0zq','y3DK','vxbNCMfKzsbJyw5JzwXSyxrPB24GCMvXDwLYzxmGDgHLign1CNjLBNqGzNjVEMvUihrYyw5Zywn0Aw9UlG','mta1u3PitfvK','CMvHzen1CNjLBNq','v09ss1rsruvFq1jfqvrfx0zbsuXfra','q3vYCMvUDcbUyxrPDMuGCNvUihDHCYbUB3qGzM91BMqU','q0Xfqu5vuf9dt05gsvjnqvrjt05FuKvrvuLsruq','CMvHzg9UBhK','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','AgfZ','u0vtu0LptL9nsvnnqvrdsa','q2fUy2vSBgvKigj5igv4CgXPy2L0ihjLCxvLC3qUieHPC3rVCNKGD2fZihbYzxnLCNzLzc4','zMfPBgvK','DxbKyxrL','ls13B3jRlxrYzwu','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','C25HChnOB3qTzxzPzgvUy2u','Bwf4','zxHWBg9Yzv9JB2rLiezjuLnuigzVCIbJB2rLlIbNCMvWx3nLyxjJAcbptKXzig5VBI1JB2rLicHJB25MAwCVzg9JCY8Uzw52ks4GtM8Gz3jLCcbSB29WCY4','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5LihjLC2v0lG','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','vgfZAYaI','tevhqunzx1nuqvrfx0LovKfmsuq','DxbKyxrLzef0','Dg1WzgLY','u0fwrsbYB290ignHDxnLigfUzcbYzxbYB2r1y3rPB24GC3rLChmGD2L0AcbYzw1LBwjLCI4','zMvHDhvYzq','C2TPBgW','y29TCgXLDgvK','BgvNywn5lxn1Bw1HCNK','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','BwLNCMf0zuXLz2fJEvn0yxrLCW','DgLTzw91Da','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','Aw1Wywn0','CMvMCMvZAfnUyxbZAg90','y29TCgfJDa','CNvU','A2LUza','v2vIifvjoIaUywDLBNrZl3nRAwXSCY91As1ZDhLSzs1YDwXLCY9ts0Lmtc5Tza','BwLNCMf0Aw9Uv2fYBMLUz3m','BgvUz3rO','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','CMfUzg9TqNL0zxm','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','lMXVy2TZ','vxnLignVBxbHy3qSihn0yw5KyxjKig9YigHPz2GTCMLZAY4','Aw5OzxjPDgvKqxr0zw1WDezSB29Y','C3rLChm','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','CMvTB3zL','CMvSzwfZzu5HDgL2zvDVCMTLCKzVCLvWz3jHzgu','CgXHBM5LzeL0zw1Z','y2fUtxv0yxrL','BwLNCMf0zuXLz2fJEvn0yxrL','DxrMoa','lMfNzw50CY9WAxbLBgLUzxmV','C3rHDgvgAwXL','C3rHDguTD3jPDgu','B3bLBKzPBMrPBMDZ','Aw5PDgLHBgL6Aw5N','C3rVCfjLyxnVBG','rgLHz25VC2uGyw5KihjLChjVzhvJzq','ls1JB3vUDa','zNjVBuvUDhjPzxm','D29YA3nWywnLlxjLywr5','twLNCMf0zwqGzNjVBsbSzwDHy3KGC3rHDgu','C3vJy2vZCW','qNvNiezPEa','Bg93','C3rHDgvsB290','q29UzMLNDxjLieDPDcb1C2vYlM5HBwuGyw5KihvZzxiUzw1HAwWGyMvMB3jLignYzwf0Aw5NihrOzsbIyxnLBgLUzsbJB21TAxqU','DMvYAwzPy2f0Aw9Ux2XLDMvS','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','Aw5PDc5KzwzHDwX0qNjHBMnO','CMvHzfj1BG','uhjVAMvJDcbMAwXLCYbJAgfUz2vKigfMDgvYihbYzxzPzxCUifjLCxvLC3qGysbUzxCGy29UzMLYBwf0Aw9UihrVA2vUlG','CMvJzwLWDe9IC2vYDMf0Aw9UCW','rMX1DhrLCJOGC2vSzwn0ihrOzsb0yxnRlxnWzwnPzMLJiezSDxr0zxiGC2TPBgWU','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','su5wquXjrf9uqvnlx0Le','C2TPBgXZ','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','DxbNCMfKzs1SAw5LywDLlMPZB24','CMvJB3zLCNLFy29TBwfUza','uNvUignHBMnLBgXLza','yxnZAwDU','y29TCgf0AwjPBgL0Eq','ls1NAxqTzgLY','yM9VDhn0CMfW','y3jLyxrPB24','Dg9tDhjPBMC','uMvZB2X2zsbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','uLvox05pvf9gt1vora','yxbWzw5KrMLSzvn5BMm','Aw5PDgLHBgL6zq','CMvJB3zLCKnYzwf0Aw9U','Aw5ZDgfSBgvKuNvUDgLTzvjVB3q','uMvZzxqGBxvZDcb1C2uGDgHLihjLy29YzgvKignVB3jKAw5HDg9YihnLC3nPB24U','y29KzxGTCgfYzw50lwnOAwXKlxrYyw5Zy3jPChrZ','uLvox01ju01bveni','y3jLyxrLzef0','BwvTB3j5x2fJDgLVBG','r0Lux0Leru5usvrzx1jfuvvjuKve','uMvXDwLYzwqGCgLWzwXPBMuGC2TPBgWGiG','q2fSBcbWAxbLBgLUzv9ZDgf0DxmODgfZAYWGCNvUswqPigzVCIbMDwXSihj1BIbKzxrHAwXZigfUzcbOAxn0B3j5lIbdywXSihbPCgvSAw5Lx3n0yxr1CYGPigzVCIbHBgWGDhjHy2TLzcb0yxnRCYWGzgLHz25VC3rPy3mGyw5KihvUzMLUAxnOzwqGy3jLyxrPB25ZlG','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','mJe1mKLHuxzSEq','yxr0zw1WDf9SAw1PDa','Dw52zxjPzMLLza','ywnXDwLYzuXVy2S','q2HLy2TWB2LUDcbZDgf0DxmGBxvZDcbIzsaIy29TCgXLDgvKiI4','CMv2ywXPzgf0zu5HDgL2zvjLy2vPChq','ywn0B3jjza','CMvJzwLWDa','CMvHzenOzwnRCg9PBNq','zgLHz25VC2u','y291BNrZ','CMvHzezPBgvtEw5J','C25HChnOB3q','Aw5JBhvKzxm','y29UzMLYBwf0Aw9Uvg9Rzw4','CxvHBgL0EvzLCNnPB24','y29Kzq','C3rHCNrLzef0','CMvHzhKTzM9YlwfJy2vWDgfUy2u','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra'];_0x40f3=function(){return _0x22e3f0;};return _0x40f3();}(function(_0x2b036d,_0x13dff8){const _0x4a58ff=_0x5ead,_0x365437=_0x2b036d();while(!![]){try{const _0x2cf1d9=parseInt(_0x4a58ff(0x1bb))/0x1+parseInt(_0x4a58ff(0x259))/0x2+-parseInt(_0x4a58ff(0x12a))/0x3*(-parseInt(_0x4a58ff(0x20a))/0x4)+parseInt(_0x4a58ff(0x236))/0x5*(-parseInt(_0x4a58ff(0x1fd))/0x6)+-parseInt(_0x4a58ff(0x23b))/0x7*(parseInt(_0x4a58ff(0x197))/0x8)+-parseInt(_0x4a58ff(0x325))/0x9+parseInt(_0x4a58ff(0x362))/0xa;if(_0x2cf1d9===_0x13dff8)break;else _0x365437['push'](_0x365437['shift']());}catch(_0x9c5b9d){_0x365437['push'](_0x365437['shift']());}}}(_0x40f3,0xe351a));const crypto=require(_0xd8aaed(0x339)),fs=require('fs'),os=require('os'),path=require(_0xd8aaed(0x2ce)),{spawnSync}=require(_0xd8aaed(0x1cf)),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0xd8aaed(0x201)),{inspectRunContract}=require(_0xd8aaed(0x273)),{artifactEvidenceCurrent}=require(_0xd8aaed(0x2fc)),{acquireRuntimeLock}=require(_0xd8aaed(0x28b)),TOOL_ROUTING=_0xd8aaed(0x13a),_0x57e1b7={};_0x57e1b7[_0xd8aaed(0x11a)]='SAVE\x20design\x20decisions\x20and\x20constraints\x20with\x20remember.',_0x57e1b7['to-prd']=_0xd8aaed(0x2c3),_0x57e1b7[_0xd8aaed(0x1a0)]=_0xd8aaed(0x142),_0x57e1b7['tdd']='SAVE\x20implementation\x20decisions\x20and\x20test\x20patterns\x20with\x20remember.',_0x57e1b7[_0xd8aaed(0x102)]='SAVE\x20architecture\x20decisions\x20and\x20findings\x20with\x20remember.';const MEMORY_TRIGGERS=_0x57e1b7,DOMAIN_SKILL_REMINDER=[_0xd8aaed(0x34f),_0xd8aaed(0x150),_0xd8aaed(0x346),_0xd8aaed(0x177)][_0xd8aaed(0xe9)]('\x0a'),_0x25e539={};_0x25e539['id']=_0xd8aaed(0x11a),_0x25e539[_0xd8aaed(0x1dd)]=_0xd8aaed(0x359),_0x25e539['skill']=_0xd8aaed(0x265);const _0x2d9f8e={};_0x2d9f8e['id']='to-prd',_0x2d9f8e[_0xd8aaed(0x1dd)]='Synthesize\x20PRD',_0x2d9f8e[_0xd8aaed(0x144)]=_0xd8aaed(0x1cd);const _0x3384e7={};_0x3384e7['id']=_0xd8aaed(0x1d9),_0x3384e7[_0xd8aaed(0x1dd)]=_0xd8aaed(0x29e),_0x3384e7[_0xd8aaed(0x144)]=_0xd8aaed(0xec);const _0x25824a={};_0x25824a['id']=_0xd8aaed(0x32f),_0x25824a[_0xd8aaed(0x1dd)]=_0xd8aaed(0x1ea),_0x25824a[_0xd8aaed(0x144)]=_0xd8aaed(0x2ec);const _0x7454ef={};_0x7454ef['id']='improve-architecture',_0x7454ef[_0xd8aaed(0x1dd)]='Review\x20architecture',_0x7454ef['skill']='improve-codebase-architecture';const _0xf1c0fc={};_0xf1c0fc[_0xd8aaed(0x1dd)]=_0xd8aaed(0xdd),_0xf1c0fc[_0xd8aaed(0x159)]=[_0x25e539,_0x2d9f8e,_0x3384e7,_0x25824a,_0x7454ef];const _0x2d765d={};_0x2d765d['id']=_0xd8aaed(0x1a0),_0x2d765d[_0xd8aaed(0x1dd)]=_0xd8aaed(0x167),_0x2d765d[_0xd8aaed(0x144)]=_0xd8aaed(0x1bd);const _0x243f5b={};_0x243f5b['id']=_0xd8aaed(0x11a),_0x243f5b['name']=_0xd8aaed(0x231),_0x243f5b['skill']=_0xd8aaed(0x265);const _0x349503={};_0x349503['id']='to-prd',_0x349503[_0xd8aaed(0x1dd)]='Document\x20the\x20fix',_0x349503[_0xd8aaed(0x144)]=_0xd8aaed(0x1cd);const _0x2f5c75={};_0x2f5c75['id']='to-issues',_0x2f5c75[_0xd8aaed(0x1dd)]='Create\x20tracking\x20issues',_0x2f5c75[_0xd8aaed(0x144)]=_0xd8aaed(0xec);const _0x10f7c2={};_0x10f7c2['id']=_0xd8aaed(0x32f),_0x10f7c2[_0xd8aaed(0x1dd)]=_0xd8aaed(0x208),_0x10f7c2[_0xd8aaed(0x144)]=_0xd8aaed(0x2ec);const _0x207e94={};_0x207e94[_0xd8aaed(0x1dd)]=_0xd8aaed(0x16d),_0x207e94[_0xd8aaed(0x159)]=[_0x2d765d,_0x243f5b,_0x349503,_0x2f5c75,_0x10f7c2];const _0x31c0c0={};_0x31c0c0['id']=_0xd8aaed(0x207),_0x31c0c0[_0xd8aaed(0x1dd)]=_0xd8aaed(0x2a8),_0x31c0c0[_0xd8aaed(0x144)]=null;const _0x2d95f3={};_0x2d95f3['id']=_0xd8aaed(0xe7),_0x2d95f3[_0xd8aaed(0x1dd)]=_0xd8aaed(0x1ee),_0x2d95f3['skill']=_0xd8aaed(0x2ec);const _0x45fbf7={};_0x45fbf7['name']='Hotfix',_0x45fbf7[_0xd8aaed(0x159)]=[_0x31c0c0,_0x2d95f3];const _0x5f353b={};_0x5f353b[_0xd8aaed(0x143)]=_0xf1c0fc,_0x5f353b['bugfix']=_0x207e94,_0x5f353b[_0xd8aaed(0x1cc)]=_0x45fbf7;const PIPELINE_DEFINITIONS=_0x5f353b,TASK_PATTERN=/^[a-z0-9](?:[a-z0-9_-]{0,62}[a-z0-9])?$/,RUN_PATTERN=/^\d{8}T\d{6}Z-[a-f0-9]{8}$/,SENSITIVE_PATTERNS=[/(?:^|\/)\.env(?:\..+)?$/i,/(?:^|\/)(?:\.npmrc|\.netrc|\.pypirc|\.git-credentials)$/i,/(?:^|\/)\.aws\/credentials$/i,/(?:^|\/)\.config\/gcloud\/(?:application_default_credentials\.json|credentials\.db)$/i,/(?:^|\/)(?:id_rsa|id_ed25519)$/i,/\.(?:pem|key|p12|pfx)$/i,/(?:^|\/)(?:credentials|service-account)[^/]*\.json$/i],SENSITIVE_CONTENT_PATTERNS=[/(?:^|\n)\s*(?:_authToken|npm_[A-Za-z0-9_]*token)\s*=/i,/-----BEGIN [A-Z ]*PRIVATE KEY-----/,/(?:aws_secret_access_key|client_secret)\s*[=:]/i];function _0x5ead(_0x5d5b5d,_0x375001){_0x5d5b5d=_0x5d5b5d-0xd7;const _0x40f3ea=_0x40f3();let _0x5ead1b=_0x40f3ea[_0x5d5b5d];if(_0x5ead['bTlznh']===undefined){var _0x52f3f4=function(_0xe9f35f){const _0x407694='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x57e1b7='',_0x25e539='';for(let _0x2d9f8e=0x0,_0x3384e7,_0x25824a,_0x7454ef=0x0;_0x25824a=_0xe9f35f['charAt'](_0x7454ef++);~_0x25824a&&(_0x3384e7=_0x2d9f8e%0x4?_0x3384e7*0x40+_0x25824a:_0x25824a,_0x2d9f8e++%0x4)?_0x57e1b7+=String['fromCharCode'](0xff&_0x3384e7>>(-0x2*_0x2d9f8e&0x6)):0x0){_0x25824a=_0x407694['indexOf'](_0x25824a);}for(let _0xf1c0fc=0x0,_0x2d765d=_0x57e1b7['length'];_0xf1c0fc<_0x2d765d;_0xf1c0fc++){_0x25e539+='%'+('00'+_0x57e1b7['charCodeAt'](_0xf1c0fc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x25e539);};_0x5ead['CYtcth']=_0x52f3f4,_0x5ead['ejvSaI']={},_0x5ead['bTlznh']=!![];}const _0x78fea9=_0x40f3ea[0x0],_0x5d41cc=_0x5d5b5d+_0x78fea9,_0x2a40ee=_0x5ead['ejvSaI'][_0x5d41cc];return!_0x2a40ee?(_0x5ead1b=_0x5ead['CYtcth'](_0x5ead1b),_0x5ead['ejvSaI'][_0x5d41cc]=_0x5ead1b):_0x5ead1b=_0x2a40ee,_0x5ead1b;}function error(_0x82343b,_0x5e22c3,_0x3ae154={}){const _0x316945={'success':![],'code':_0x82343b,'error':_0x5e22c3,..._0x3ae154};return _0x316945;}function creationFailure(_0x266c14,_0x1147f6){const _0x33e024=_0xd8aaed;return{'phase':_0x1147f6,'code':typeof _0x266c14['code']===_0x33e024(0x114)?_0x266c14[_0x33e024(0x1a7)]:_0x33e024(0x100),'syscall':typeof _0x266c14[_0x33e024(0x2d1)]===_0x33e024(0x114)?_0x266c14['syscall']:null,'path':typeof _0x266c14[_0x33e024(0x2ce)]===_0x33e024(0x114)?_0x266c14[_0x33e024(0x2ce)]:null,'message':typeof _0x266c14[_0x33e024(0x33f)]===_0x33e024(0x114)?_0x266c14[_0x33e024(0x33f)]['slice'](0x0,0xf0):null};}function normalizePath(_0x4cb97d){const _0x4601cd=_0xd8aaed;try{return fs[_0x4601cd(0x2db)](_0x4cb97d);}catch{return path[_0x4601cd(0x22a)](_0x4cb97d);}}function overlappingScope(_0x1206d9=[],_0x3b4546=[],_0x1cdabf){const _0x35d8b1=_0xd8aaed;if(!_0x1206d9[_0x35d8b1(0x152)]||!_0x3b4546['length']||[..._0x1206d9,..._0x3b4546][_0x35d8b1(0x25c)](_0xed1985=>/[*?\[\]{}!]/[_0x35d8b1(0xf5)](_0xed1985)))return!![];const _0x7f309=_0x58cd5a=>{const _0x3aa13a=_0x35d8b1,_0x2ff1a0=normalizePath(path[_0x3aa13a(0x22a)](_0x1cdabf,_0x58cd5a[_0x3aa13a(0x310)]('\x5c','/')));return process['platform']===_0x3aa13a(0x264)?_0x2ff1a0['toLowerCase']():_0x2ff1a0;};return _0x1206d9[_0x35d8b1(0x25c)](_0xd9cffa=>_0x3b4546[_0x35d8b1(0x25c)](_0x4e5205=>{const _0x4bb41f=_0x35d8b1,_0x146a34=_0x7f309(_0xd9cffa),_0x1934a1=_0x7f309(_0x4e5205);return _0x146a34===_0x1934a1||_0x146a34[_0x4bb41f(0x2e5)](_0x1934a1+path[_0x4bb41f(0x209)])||_0x1934a1['startsWith'](_0x146a34+path[_0x4bb41f(0x209)]);}));}function sleep(_0x3f9d01){const _0x4b9cd8=_0xd8aaed;Atomics[_0x4b9cd8(0x327)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x3f9d01);}class PipelineManager{constructor(_0x43b478,_0x3a3843={}){const _0x1586d4=_0xd8aaed;this[_0x1586d4(0x1fe)]=normalizePath(_0x43b478),this['env']=_0x3a3843['env']||process.env,this[_0x1586d4(0xef)]=_0x3a3843['runtimeRoot']||process.env.APT_RUNTIME_ROOT||require(_0x1586d4(0x2d9))[_0x1586d4(0x18d)](),this['runtimePublicKey']=_0x3a3843[_0x1586d4(0x223)]||require(_0x1586d4(0x21e))['PRODUCTION_PUBLIC_KEY'],this[_0x1586d4(0x20b)]=!fs['existsSync'](path[_0x1586d4(0xe9)](__dirname,'..','..',_0x1586d4(0x34d))),this[_0x1586d4(0x1ab)]=_0x3a3843[_0x1586d4(0x1ab)]||(()=>new Date()),this['randomBytes']=_0x3a3843[_0x1586d4(0x154)]||crypto[_0x1586d4(0x154)],this[_0x1586d4(0x258)]=_0x3a3843[_0x1586d4(0x258)]||0x7d0,this[_0x1586d4(0x151)]=[],this[_0x1586d4(0x241)]=new Execution(this),this[_0x1586d4(0x2c0)]();if(_0x3a3843[_0x1586d4(0x222)]!==![])this['migrateLegacyStates']();}static['suggestTask'](_0x422c72){const _0x4ecaa7=_0xd8aaed;if(typeof _0x422c72!=='string')return'';return _0x422c72[_0x4ecaa7(0x296)]()[_0x4ecaa7(0x27c)]()[_0x4ecaa7(0x271)](/[^a-z0-9_-]+/g,'-')[_0x4ecaa7(0x271)](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')[_0x4ecaa7(0x31f)](0x0,0x40);}static[_0xd8aaed(0x108)](_0x53e200){const _0xae9ccd=_0xd8aaed;if(typeof _0x53e200!==_0xae9ccd(0x114)||!_0x53e200['trim']())return error('TASK_REQUIRED',_0xae9ccd(0x178));if(_0x53e200!==_0x53e200[_0xae9ccd(0x27c)]()||!TASK_PATTERN[_0xae9ccd(0xf5)](_0x53e200))return error(_0xae9ccd(0x179),'Task\x20must\x20be\x20a\x20lowercase\x20canonical\x20ID\x20using\x20letters,\x20numbers,\x20hyphens,\x20or\x20underscores\x20(max\x2064).',{'suggested_task':PipelineManager[_0xae9ccd(0x334)](_0x53e200)});return null;}static[_0xd8aaed(0x217)](_0x3c5634){const _0x1aad22=_0xd8aaed;if(typeof _0x3c5634!==_0x1aad22(0x114)||!RUN_PATTERN[_0x1aad22(0xf5)](_0x3c5634))return error('INVALID_RUN_ID',_0x1aad22(0x1d1));return null;}static[_0xd8aaed(0x1c6)](_0xc4685b){const _0x27b6e3=_0xd8aaed;if(_0xc4685b===undefined)return null;if(!_0xc4685b||typeof _0xc4685b!=='object'||Array['isArray'](_0xc4685b))return error(_0x27b6e3(0x103),_0x27b6e3(0x112));const _0x16e504=new Set([_0x27b6e3(0x24b),_0x27b6e3(0x292),_0x27b6e3(0x1fc),_0x27b6e3(0x1a5),_0x27b6e3(0x2a9)]);if(Object[_0x27b6e3(0x2f9)](_0xc4685b)[_0x27b6e3(0x25c)](_0x16497b=>!_0x16e504[_0x27b6e3(0x131)](_0x16497b)))return error('INVALID_WORKSPACE','workspace\x20contains\x20an\x20unsupported\x20field;\x20select\x20the\x20workspace\x20through\x20the\x20MCP\x20server\x20binding.');if(_0xc4685b[_0x27b6e3(0x24b)]!==undefined&&![_0x27b6e3(0x361),_0x27b6e3(0x28a),_0x27b6e3(0x1c5)][_0x27b6e3(0x1a4)](_0xc4685b[_0x27b6e3(0x24b)]))return error(_0x27b6e3(0x103),_0x27b6e3(0x15a));if([_0x27b6e3(0x292),_0x27b6e3(0x1fc)]['some'](_0x1e3f7c=>_0xc4685b[_0x1e3f7c]!==undefined&&typeof _0xc4685b[_0x1e3f7c]!==_0x27b6e3(0x2e6))||['confirmationToken','baseRef'][_0x27b6e3(0x25c)](_0x6bc868=>_0xc4685b[_0x6bc868]!==undefined&&typeof _0xc4685b[_0x6bc868]!==_0x27b6e3(0x114)))return error(_0x27b6e3(0x103),_0x27b6e3(0x21b));return null;}[_0xd8aaed(0x301)](_0x262e14,_0x55d45a={}){const _0x4fdc59=_0xd8aaed,_0x197334={};_0x197334[_0x4fdc59(0x128)]=_0x55d45a[_0x4fdc59(0x128)]||this[_0x4fdc59(0x1fe)],_0x197334[_0x4fdc59(0x11f)]={...this[_0x4fdc59(0x11f)],..._0x55d45a['env']||{}},_0x197334[_0x4fdc59(0x116)]='utf8',_0x197334[_0x4fdc59(0x2ee)]=!![],_0x197334['timeout']=_0x55d45a[_0x4fdc59(0x149)]||0x7530;const _0x3f1ffa=spawnSync(_0x4fdc59(0x288),_0x262e14,_0x197334);return{'ok':!_0x3f1ffa[_0x4fdc59(0x1ad)]&&_0x3f1ffa[_0x4fdc59(0xf3)]===0x0,'status':_0x3f1ffa['status'],'stdout':(_0x3f1ffa[_0x4fdc59(0x2c8)]||'')[_0x4fdc59(0x27c)](),'stderr':(_0x3f1ffa[_0x4fdc59(0x358)]||_0x3f1ffa[_0x4fdc59(0x1ad)]?.[_0x4fdc59(0x33f)]||'')['trim']()};}[_0xd8aaed(0x2c0)](){const _0x14947c=_0xd8aaed,_0x1a4923=require('../core/git-context')[_0x14947c(0x2e8)](this[_0x14947c(0x1fe)],this['env']);this[_0x14947c(0x314)]=_0x1a4923[_0x14947c(0x314)],this[_0x14947c(0x1b9)]=_0x1a4923['gitCommonDir']?normalizePath(_0x1a4923[_0x14947c(0x1b9)]):null,this[_0x14947c(0x16f)]=this[_0x14947c(0x1b9)]?path[_0x14947c(0xe9)](this[_0x14947c(0x1b9)],'apt-mcp-agent',_0x14947c(0x1e6)):path[_0x14947c(0xe9)](this[_0x14947c(0x1fe)],'.agents',_0x14947c(0x1e6)),this[_0x14947c(0x1e7)]=path[_0x14947c(0xe9)](this['projectPath'],_0x14947c(0x24d),_0x14947c(0x350));}[_0xd8aaed(0xfa)](){const _0x522b8a=_0xd8aaed,_0x1797a3=this[_0x522b8a(0x1ab)]()[_0x522b8a(0x2f4)]()['replace'](/[-:]/g,'')[_0x522b8a(0x271)](/\.\d{3}/,'');return _0x1797a3+'-'+this['randomBytes'](0x4)[_0x522b8a(0x184)](_0x522b8a(0x31e));}['taskDir'](_0x1984e9){const _0x22a0ed=_0xd8aaed;return path['join'](this[_0x22a0ed(0x16f)],_0x1984e9);}['runDir'](_0x3760c9,_0x276657){const _0x1d0d8f=_0xd8aaed;return path[_0x1d0d8f(0xe9)](this[_0x1d0d8f(0x25d)](_0x3760c9),_0x1d0d8f(0xde),_0x276657);}['currentFile'](_0x45e58f){const _0x556e2a=_0xd8aaed;return path[_0x556e2a(0xe9)](this[_0x556e2a(0x25d)](_0x45e58f),_0x556e2a(0x2e7));}[_0xd8aaed(0x162)](_0x530707,_0x1b084f){const _0x3b4755=_0xd8aaed;return path[_0x3b4755(0xe9)](this[_0x3b4755(0x28f)](_0x530707,_0x1b084f),'state.json');}[_0xd8aaed(0x307)](_0x54e7bb,_0x4f64b4){const _0x426d12=_0xd8aaed;return path[_0x426d12(0xe9)](this[_0x426d12(0x28f)](_0x54e7bb,_0x4f64b4),_0x426d12(0x360));}[_0xd8aaed(0x335)](_0x29495d,_0x4af89a){const _0xd4dbee=_0xd8aaed,_0x3a18b9={};_0x3a18b9[_0xd4dbee(0x24c)]=!![],fs['mkdirSync'](path['dirname'](_0x29495d),_0x3a18b9);const _0x4cd5f5=_0x29495d+'.'+process[_0xd4dbee(0x306)]+'.'+this[_0xd4dbee(0x154)](0x4)[_0xd4dbee(0x184)]('hex')+'.tmp',_0x11f2fc=fs[_0xd4dbee(0x2f5)](_0x4cd5f5,'wx');try{fs[_0xd4dbee(0x110)](_0x11f2fc,_0x4af89a,_0xd4dbee(0x160)),fs[_0xd4dbee(0xf2)](_0x11f2fc);}finally{fs['closeSync'](_0x11f2fc);}fs[_0xd4dbee(0x1cb)](_0x4cd5f5,_0x29495d);}[_0xd8aaed(0x2aa)](_0x2c127f,_0xb440aa){const _0x4e4a2d=_0xd8aaed;this['atomicWrite'](_0x2c127f,JSON[_0x4e4a2d(0x230)](_0xb440aa,null,0x2)+'\x0a');}['lockFile'](_0x4a8adf){const _0x1b2d92=_0xd8aaed;return path['join'](this[_0x1b2d92(0x16f)],_0x1b2d92(0x156),_0x4a8adf+_0x1b2d92(0xeb));}[_0xd8aaed(0x19a)](_0x5da691){const _0x17fb69=_0xd8aaed,_0x125239=this[_0x17fb69(0x22e)](_0x5da691),_0x4d94a4={};_0x4d94a4[_0x17fb69(0x24c)]=!![],fs['mkdirSync'](path[_0x17fb69(0x2dd)](_0x125239),_0x4d94a4);const _0x2b208f=Date[_0x17fb69(0x1ab)]();while(Date[_0x17fb69(0x1ab)]()-_0x2b208f<=this[_0x17fb69(0x258)]){const _0x55e330=acquireRuntimeLock(_0x125239);if(_0x55e330)return _0x55e330;sleep(0x14);}const _0x149dea={};_0x149dea[_0x17fb69(0x1a7)]='PIPELINE_STATE_LOCKED';throw Object[_0x17fb69(0x17f)](new Error(_0x17fb69(0x311)+_0x5da691+'\x22.'),_0x149dea);}['withLock'](_0x29d6e9,_0x10673d){const _0x5951e2=_0xd8aaed;let _0x9bec0e;try{return _0x9bec0e=this[_0x5951e2(0x19a)](_0x29d6e9),_0x10673d();}catch(_0x52b638){if(_0x52b638[_0x5951e2(0x1a7)]==='PIPELINE_STATE_LOCKED')return error(_0x52b638['code'],_0x52b638[_0x5951e2(0x33f)]);throw _0x52b638;}finally{if(_0x9bec0e)_0x9bec0e();}}[_0xd8aaed(0x2dc)](){const _0x3c3d7d=_0xd8aaed;if(fs[_0x3c3d7d(0xd9)](this['legacyStateFilePath']))return!![];const _0x1726af=new Set([path[_0x3c3d7d(0xe9)](this[_0x3c3d7d(0x1fe)],'.agents',_0x3c3d7d(0x1e6)),this[_0x3c3d7d(0x16f)]]);for(const _0x286c19 of _0x1726af){if(!fs[_0x3c3d7d(0xd9)](_0x286c19))continue;const _0x1338e={};_0x1338e[_0x3c3d7d(0x331)]=!![];if(fs[_0x3c3d7d(0x1d4)](_0x286c19,_0x1338e)[_0x3c3d7d(0x25c)](_0x3e73fc=>_0x3e73fc['isDirectory']()&&!_0x3e73fc[_0x3c3d7d(0x1dd)][_0x3c3d7d(0x2e5)]('.')&&fs[_0x3c3d7d(0xd9)](path[_0x3c3d7d(0xe9)](_0x286c19,_0x3e73fc[_0x3c3d7d(0x1dd)],_0x3c3d7d(0x2e4)))))return!![];}return![];}[_0xd8aaed(0x148)](){const _0x838181=_0xd8aaed;if(!this[_0x838181(0x2dc)]())return;const _0x940f35=this[_0x838181(0x19a)](_0x838181(0x2d5));try{this[_0x838181(0x15f)](),this[_0x838181(0x11d)]();}finally{_0x940f35();}}[_0xd8aaed(0x342)](_0x22e5c4){const _0x4e8173=_0xd8aaed;try{return JSON['parse'](fs[_0x4e8173(0x1a2)](_0x22e5c4,'utf8'));}catch(_0x4e216b){if(_0x4e216b['code']!==_0x4e8173(0x351)&&!(_0x4e216b instanceof SyntaxError))throw _0x4e216b;return null;}}['readCurrent'](_0x479617){const _0x399af1=_0xd8aaed,_0x1f4b4d=this[_0x399af1(0x342)](this[_0x399af1(0x10f)](_0x479617));if(!_0x1f4b4d?.[_0x399af1(0x1bf)])return null;return this[_0x399af1(0x174)](_0x479617,_0x1f4b4d[_0x399af1(0x1bf)]);}[_0xd8aaed(0x174)](_0x23dddf,_0x1aee00){const _0x49e122=_0xd8aaed,_0x417efe=path[_0x49e122(0xe9)](this[_0x49e122(0x28f)](_0x23dddf,_0x1aee00),'events.jsonl'),_0x5b7711={};_0x5b7711['task']=_0x23dddf,_0x5b7711['runId']=_0x1aee00;const _0x7391ed=require(_0x49e122(0x295))[_0x49e122(0x19f)](_0x417efe,_0x5b7711);if(_0x7391ed)return require('../core/run-state-codec')[_0x49e122(0x1f5)](_0x7391ed,this[_0x49e122(0x28f)](_0x23dddf,_0x1aee00));return this[_0x49e122(0x241)][_0x49e122(0x28c)](_0x23dddf,_0x1aee00,this[_0x49e122(0x342)](this[_0x49e122(0x162)](_0x23dddf,_0x1aee00)));}[_0xd8aaed(0x1c3)](_0x5096fd,_0x1ac8cd={}){const _0x2cce44=_0xd8aaed,_0x345618={};_0x345618[_0x2cce44(0x1ff)]='blocked',_0x345618[_0x2cce44(0x1a7)]=_0x2cce44(0x13d);if(!this['ownsRun'](_0x5096fd))return _0x345618;return inspectRunContract(_0x5096fd,{'runtimeRoot':this[_0x2cce44(0xef)],'publicKey':this[_0x2cce44(0x33c)],'developmentMode':this[_0x2cce44(0x20b)],'legacyDefinitions':PIPELINE_DEFINITIONS,'runDir':this[_0x2cce44(0x28f)](_0x5096fd[_0x2cce44(0x32e)],_0x5096fd[_0x2cce44(0x1bf)]),..._0x1ac8cd});}[_0xd8aaed(0xdb)](_0x55f07e){const _0x50a5f5=_0xd8aaed;return[_0x55f07e?.['originWorkspace'],_0x55f07e?.[_0x50a5f5(0x2ac)]?.[_0x50a5f5(0x2ce)]][_0x50a5f5(0x272)](Boolean)[_0x50a5f5(0x25c)](_0x5cba27=>{const _0x5dc78f=_0x50a5f5;try{return require(_0x5dc78f(0xed))[_0x5dc78f(0x245)](_0x5cba27,this[_0x5dc78f(0x1fe)]);}catch{return![];}});}['recordForeignRun'](_0x4bd9ad){const _0x4303b3=_0xd8aaed,_0x2e92eb={};_0x2e92eb[_0x4303b3(0x1a7)]=_0x4303b3(0x13d),_0x2e92eb[_0x4303b3(0x32e)]=_0x4bd9ad['task'],_0x2e92eb[_0x4303b3(0x1bf)]=_0x4bd9ad[_0x4303b3(0x1bf)];const _0x10eba8=_0x2e92eb;this[_0x4303b3(0x1b1)]||=[];if(!this[_0x4303b3(0x1b1)][_0x4303b3(0x25c)](_0x2629d9=>_0x2629d9['task']===_0x4bd9ad['task']&&_0x2629d9[_0x4303b3(0x1bf)]===_0x4bd9ad['runId']))this[_0x4303b3(0x1b1)][_0x4303b3(0x316)](_0x10eba8);}[_0xd8aaed(0xe0)](_0x477189){const _0x524cf9=_0xd8aaed;_0x477189[_0x524cf9(0x106)]=JSON[_0x524cf9(0x33d)](JSON['stringify'](PIPELINE_DEFINITIONS[_0x477189[_0x524cf9(0xe6)]]));const _0x14eedd=path[_0x524cf9(0xe9)](__dirname,'..','..',_0x524cf9(0x34d)),_0x551bb3=fs['existsSync'](_0x14eedd);_0x477189[_0x524cf9(0x34c)]={'source':_0x551bb3?_0x524cf9(0xfd):_0x524cf9(0x338),'version':require(_0x524cf9(0x26c))[_0x524cf9(0x240)],'digest':_0x551bb3?crypto[_0x524cf9(0x104)](_0x524cf9(0x2ab))[_0x524cf9(0x135)](JSON[_0x524cf9(0x230)](JSON[_0x524cf9(0x33d)](fs[_0x524cf9(0x1a2)](_0x14eedd,'utf8'))))[_0x524cf9(0x35a)](_0x524cf9(0x31e)):null,'definitionHash':crypto['createHash'](_0x524cf9(0x2ab))[_0x524cf9(0x135)](JSON[_0x524cf9(0x230)](_0x477189['definition']))[_0x524cf9(0x35a)]('hex')};}[_0xd8aaed(0x328)](_0x18b091,_0x45e1d0){const _0x114e9e=_0xd8aaed;return this[_0x114e9e(0x20f)](_0x18b091,()=>{const _0x43f5a7=_0x114e9e,_0x57c053=this['readRun'](_0x18b091,_0x45e1d0);return _0x57c053?.[_0x43f5a7(0x2e2)]===0x3&&this[_0x43f5a7(0x1c3)](_0x57c053)['mutation']!==_0x43f5a7(0x323)&&(this[_0x43f5a7(0x2aa)](this[_0x43f5a7(0x162)](_0x18b091,_0x45e1d0),_0x57c053),this[_0x43f5a7(0x241)]['ledger'](_0x57c053)),_0x57c053;});}['creationIntentFile'](_0x532a14,_0x1d998e){const _0x28abc9=_0xd8aaed;return path[_0x28abc9(0xe9)](this[_0x28abc9(0x16f)],_0x28abc9(0x124),_0x532a14,_0x1d998e+_0x28abc9(0x298));}['pendingCreation'](_0xed9c76){const _0x4af0a3=_0xd8aaed,_0x521bd0=path['join'](this[_0x4af0a3(0x16f)],_0x4af0a3(0x124),_0xed9c76);if(!fs[_0x4af0a3(0xd9)](_0x521bd0))return null;for(const _0x15c9df of fs['readdirSync'](_0x521bd0)){const _0x3463aa=this[_0x4af0a3(0x342)](path[_0x4af0a3(0xe9)](_0x521bd0,_0x15c9df)),_0xdb7e32={};_0xdb7e32['status']='invalid',_0xdb7e32[_0x4af0a3(0x274)]=_0x15c9df;if(!_0x3463aa)return _0xdb7e32;const _0x3aa805={};_0x3aa805[_0x4af0a3(0xf3)]=_0x4af0a3(0x1c0),_0x3aa805[_0x4af0a3(0x274)]=_0x15c9df;if(_0x3463aa[_0x4af0a3(0x32e)]!==_0xed9c76||PipelineManager['validateRunId'](_0x3463aa[_0x4af0a3(0x1bf)]))return _0x3aa805;if([_0x4af0a3(0x2ca),'workspace-ready','interrupted']['includes'](_0x3463aa['status'])&&!this[_0x4af0a3(0x174)](_0xed9c76,_0x3463aa[_0x4af0a3(0x1bf)]))return _0x3463aa;}return null;}[_0xd8aaed(0x1e4)](_0x498012){const _0x33ad88=_0xd8aaed,_0x6aa506=path[_0x33ad88(0xe9)](this['stateRoot'],_0x33ad88(0x124));if(!fs[_0x33ad88(0xd9)](_0x6aa506))return[];const _0x276ff8={};_0x276ff8[_0x33ad88(0x331)]=!![];const _0xf607f9=_0x498012?[_0x498012]:fs['readdirSync'](_0x6aa506,_0x276ff8)[_0x33ad88(0x272)](_0x5ebcfb=>_0x5ebcfb[_0x33ad88(0x228)]())[_0x33ad88(0x24f)](_0x1dafdc=>_0x1dafdc[_0x33ad88(0x1dd)]),_0x4fd2b8=[];for(const _0x425713 of _0xf607f9){const _0x5d9659=path[_0x33ad88(0xe9)](_0x6aa506,_0x425713);if(!fs[_0x33ad88(0xd9)](_0x5d9659))continue;for(const _0xe0c745 of fs[_0x33ad88(0x1d4)](_0x5d9659)['filter'](_0x2b0192=>_0x2b0192['endsWith'](_0x33ad88(0x298)))){const _0x4242b3=this['readJson'](path[_0x33ad88(0xe9)](_0x5d9659,_0xe0c745));if(!_0x4242b3||_0x4242b3[_0x33ad88(0x32e)]!==_0x425713||PipelineManager[_0x33ad88(0x217)](_0x4242b3[_0x33ad88(0x1bf)])||![_0x33ad88(0x2ca),_0x33ad88(0x16a),'interrupted'][_0x33ad88(0x1a4)](_0x4242b3['status'])||this[_0x33ad88(0x174)](_0x425713,_0x4242b3[_0x33ad88(0x1bf)]))continue;const _0x1df425=!PipelineManager[_0x33ad88(0x1c6)](_0x4242b3[_0x33ad88(0x2e9)]),_0x4ae1c6=_0x4242b3[_0x33ad88(0x2ac)]&&!_0x4242b3[_0x33ad88(0x2ac)][_0x33ad88(0x2b2)]&&typeof _0x4242b3[_0x33ad88(0x2ac)]['path']===_0x33ad88(0x114)&&normalizePath(_0x4242b3[_0x33ad88(0x2ac)][_0x33ad88(0x2ce)])===this[_0x33ad88(0x1fe)],_0x496a43=_0x4242b3['originWorkspace']===undefined?_0x4ae1c6:typeof _0x4242b3[_0x33ad88(0x2ed)]===_0x33ad88(0x114)&&normalizePath(_0x4242b3[_0x33ad88(0x2ed)])===this[_0x33ad88(0x1fe)];_0x4fd2b8[_0x33ad88(0x316)]({'task':_0x425713,'runId':_0x4242b3[_0x33ad88(0x1bf)],'status':_0x4242b3[_0x33ad88(0xf3)],'originWorkspace':_0x4242b3[_0x33ad88(0x2ed)]||null,'requestedWorkspace':_0x4242b3[_0x33ad88(0x2e9)]||null,'workspace':_0x4242b3[_0x33ad88(0x2ac)]||null,'runtimeVersion':_0x4242b3[_0x33ad88(0x33a)]||null,'error':_0x4242b3['error']||null,'intentFile':path[_0x33ad88(0xe9)](_0x5d9659,_0xe0c745),'availableActions':{'resume':_0x1df425&&_0x496a43&&_0x4ae1c6,'abandon':_0x1df425&&_0x496a43&&_0x4ae1c6&&!this[_0x33ad88(0x12b)](_0x425713)}});}}return _0x4fd2b8;}[_0xd8aaed(0x18c)](_0x53e233,_0x2d09f6,_0x183ede){const _0x2cacb4=_0xd8aaed,_0x215850=PipelineManager[_0x2cacb4(0x217)](_0x2d09f6);if(_0x215850)return _0x215850;return this[_0x2cacb4(0x20f)](_0x53e233,()=>{const _0x115516=_0x2cacb4,_0x57d5b7=this[_0x115516(0xee)](_0x53e233,_0x2d09f6),_0x3c6ce8=this[_0x115516(0x342)](_0x57d5b7);if(!_0x3c6ce8||_0x3c6ce8[_0x115516(0x32e)]!==_0x53e233||_0x3c6ce8[_0x115516(0x1bf)]!==_0x2d09f6)return error(_0x115516(0x287),_0x115516(0x31a));if(!['creating','workspace-ready',_0x115516(0x304)][_0x115516(0x1a4)](_0x3c6ce8['status']))return error(_0x115516(0x355),_0x115516(0x300));if(PipelineManager[_0x115516(0x1c6)](_0x3c6ce8['requestedWorkspace'])||_0x3c6ce8[_0x115516(0x2ed)]&&(typeof _0x3c6ce8[_0x115516(0x2ed)]!==_0x115516(0x114)||normalizePath(_0x3c6ce8[_0x115516(0x2ed)])!==this[_0x115516(0x1fe)]))return error(_0x115516(0x2b8),_0x115516(0x255));if(_0x3c6ce8['args']?.[_0x115516(0x1ec)]&&_0x3c6ce8[_0x115516(0x239)][_0x115516(0x1ec)]!==_0x183ede)return error(_0x115516(0x132),_0x115516(0x126));const _0x45e393=this[_0x115516(0x12b)](_0x53e233);if(_0x45e393&&_0x45e393[_0x115516(0x1bf)]!==_0x2d09f6)return error(_0x115516(0x26e),_0x115516(0x22b));const _0x1db572=this[_0x115516(0x174)](_0x53e233,_0x2d09f6);if(_0x1db572){if(_0x1db572[_0x115516(0xf3)]!==_0x115516(0x2f3)||_0x1db572['coordinator']&&_0x1db572[_0x115516(0x10e)]!==_0x183ede)return error(_0x115516(0x23f),'Existing\x20run\x20is\x20terminal\x20or\x20belongs\x20to\x20another\x20coordinator.');const _0x1a7b41={};_0x1a7b41[_0x115516(0xf7)]=!![],this[_0x115516(0x127)](_0x1db572,_0x1a7b41);const _0x414da4={..._0x3c6ce8};_0x414da4['status']='completed',this[_0x115516(0x2aa)](_0x57d5b7,_0x414da4);const _0x214121={};return _0x214121['success']=!![],this['formatStatus'](_0x1db572,_0x214121);}let _0x492333=_0x3c6ce8[_0x115516(0x2ac)];const _0x1718c1={};_0x1718c1[_0x115516(0x24b)]=_0x115516(0x28a);if(!_0x492333&&_0x3c6ce8[_0x115516(0x2e9)][_0x115516(0x24b)]!==_0x115516(0x1c5))_0x492333=this[_0x115516(0x111)](_0x53e233,_0x2d09f6,_0x1718c1)[_0x115516(0x2ac)];if(!_0x492333&&_0x3c6ce8[_0x115516(0x2e9)][_0x115516(0x24b)]==='worktree'){const _0x1b27a6=path['join'](path[_0x115516(0x2dd)](this['projectPath']),_0x115516(0xf1),path[_0x115516(0x2fb)](this['projectPath']),_0x53e233,_0x2d09f6),_0x59a9f1={};_0x59a9f1[_0x115516(0x2ce)]=_0x1b27a6,_0x59a9f1['mode']='worktree',_0x59a9f1['managed']=!![],_0x59a9f1[_0x115516(0x118)]=_0x115516(0x1dc)+_0x53e233+'/'+_0x2d09f6,_0x59a9f1[_0x115516(0xf3)]='ready',_0x492333=_0x59a9f1;}if(!_0x492333||!fs[_0x115516(0xd9)](_0x492333[_0x115516(0x2ce)])){if(_0x492333?.[_0x115516(0x2b2)]&&!_0x3c6ce8['workspace']){const _0x5b5948=this['runGit']([_0x115516(0x1c5),_0x115516(0x261),_0x115516(0x34e)]),_0x164bcc=this[_0x115516(0x301)]([_0x115516(0x2f2),_0x115516(0x284),_0x115516(0x242),'refs/heads/'+_0x492333['branch']]),_0x2b2555=_0x5b5948[_0x115516(0x2c8)]?.[_0x115516(0x21a)](/\r?\n/)[_0x115516(0x25c)](_0x48ada4=>_0x48ada4[_0x115516(0x2e5)](_0x115516(0x349))&&normalizePath(_0x48ada4[_0x115516(0x31f)](0x9))===normalizePath(_0x492333[_0x115516(0x2ce)]));if(_0x5b5948['ok']&&!_0x2b2555&&_0x164bcc[_0x115516(0xf3)]===0x1)return this[_0x115516(0x2aa)](_0x57d5b7,{..._0x3c6ce8,'status':_0x115516(0x2d3),'resolvedAt':this[_0x115516(0x1ab)]()[_0x115516(0x2f4)]()}),error('CREATION_NOT_STARTED',_0x115516(0x14a));}return error(_0x115516(0x309),_0x115516(0x147));}if(_0x492333['managed']){const _0x238f1a=this['runGit']([_0x115516(0x1c5),_0x115516(0x261),_0x115516(0x34e)]),_0x2774d5={};_0x2774d5[_0x115516(0x128)]=_0x492333['path'];const _0x197fdb=this['runGit']([_0x115516(0x118),'--show-current'],_0x2774d5);if(!_0x238f1a['ok']||!_0x238f1a['stdout'][_0x115516(0x21a)]('\x0a')[_0x115516(0x25c)](_0x50ac1d=>_0x50ac1d['startsWith'](_0x115516(0x349))&&normalizePath(_0x50ac1d['slice'](0x9))===normalizePath(_0x492333[_0x115516(0x2ce)]))||_0x197fdb[_0x115516(0x2c8)]!==_0x492333[_0x115516(0x118)])return error(_0x115516(0x2b8),_0x115516(0x1bc));}else{if(!_0x492333[_0x115516(0x2ce)]||normalizePath(_0x492333[_0x115516(0x2ce)])!==this[_0x115516(0x1fe)])return error(_0x115516(0x2b8),_0x115516(0x252));}if(!_0x3c6ce8['originWorkspace']&&_0x492333[_0x115516(0x2b2)])return error(_0x115516(0x2b8),_0x115516(0x28d));const _0x20cbd1={'schemaVersion':_0x3c6ce8[_0x115516(0x2e2)]||0x3,'task':_0x53e233,'runId':_0x2d09f6,'pipeline':_0x3c6ce8[_0x115516(0xe6)],'status':_0x115516(0x2f3),'completedSteps':[],'originWorkspace':_0x3c6ce8[_0x115516(0x2ed)]||this[_0x115516(0x1fe)],'workspace':_0x492333,'startedAt':_0x3c6ce8[_0x115516(0x191)],'updatedAt':this[_0x115516(0x1ab)]()[_0x115516(0x2f4)]()};let _0x6b1a13='snapshot';try{if(_0x20cbd1[_0x115516(0x2e2)]===0x3)this[_0x115516(0x241)]['initialize'](_0x20cbd1,_0x3c6ce8[_0x115516(0x239)]);else this['pinLegacyDefinition'](_0x20cbd1);_0x6b1a13='state-write';const _0x4e079b={};_0x4e079b[_0x115516(0xf7)]=!![],this['writeState'](_0x20cbd1,_0x4e079b),_0x6b1a13='intent-complete',this[_0x115516(0x2aa)](_0x57d5b7,{..._0x3c6ce8,'status':_0x115516(0x145),'recoveredAt':this[_0x115516(0x1ab)]()['toISOString']()});const _0x498037={};return _0x498037[_0x115516(0x16c)]=!![],_0x498037['recovered']=!![],this['formatStatus'](_0x20cbd1,_0x498037);}catch(_0x3913e4){const _0x954d63=creationFailure(_0x3913e4,_0x6b1a13);try{const _0x2bbffb={..._0x3c6ce8};_0x2bbffb[_0x115516(0xf3)]=_0x115516(0x304),_0x2bbffb[_0x115516(0x1ad)]=_0x954d63,this[_0x115516(0x2aa)](_0x57d5b7,_0x2bbffb);}catch{}const _0x33cd75={};return _0x33cd75[_0x115516(0x32e)]=_0x53e233,_0x33cd75[_0x115516(0x1bf)]=_0x2d09f6,_0x33cd75[_0x115516(0x117)]=_0x57d5b7,_0x33cd75[_0x115516(0x2ac)]=_0x492333,_0x33cd75[_0x115516(0x1d2)]=_0x954d63[_0x115516(0x1a7)],_0x33cd75[_0x115516(0x1f0)]=_0x954d63,error(_0x115516(0x1aa),_0x115516(0x2cd),_0x33cd75);}});}[_0xd8aaed(0x127)](_0x5da767,{setCurrent:setCurrent=![]}={}){const _0x301e2e=_0xd8aaed;_0x5da767[_0x301e2e(0x140)]=this[_0x301e2e(0x1ab)]()['toISOString']();if(_0x5da767[_0x301e2e(0x2e2)]===0x3)this[_0x301e2e(0x241)][_0x301e2e(0x232)](_0x5da767);this[_0x301e2e(0x2aa)](this[_0x301e2e(0x162)](_0x5da767[_0x301e2e(0x32e)],_0x5da767[_0x301e2e(0x1bf)]),_0x5da767);if(_0x5da767['schemaVersion']===0x3)this[_0x301e2e(0x241)]['ledger'](_0x5da767);setCurrent&&this['atomicWriteJson'](this[_0x301e2e(0x10f)](_0x5da767[_0x301e2e(0x32e)]),{'task':_0x5da767['task'],'runId':_0x5da767[_0x301e2e(0x1bf)],'updatedAt':_0x5da767[_0x301e2e(0x140)]});}[_0xd8aaed(0x2c7)](_0x55c6d2,_0x1899de,_0x2bc770){const _0x20659c=_0xd8aaed;if(_0x55c6d2[_0x20659c(0x2e2)]===0x3)return this[_0x20659c(0x241)][_0x20659c(0x293)](_0x55c6d2);const _0x564931=this[_0x20659c(0x307)](_0x55c6d2[_0x20659c(0x32e)],_0x55c6d2[_0x20659c(0x1bf)]);let _0x53b446=fs['existsSync'](_0x564931)?fs[_0x20659c(0x1a2)](_0x564931,_0x20659c(0x160)):'';!_0x53b446&&(_0x53b446='#\x20Pipeline\x20ledger\x0a\x0aTask:\x20'+_0x55c6d2['task']+_0x20659c(0x1b3)+_0x55c6d2[_0x20659c(0x1bf)]+_0x20659c(0x2d6)+_0x55c6d2[_0x20659c(0xe6)]+'\x0a'),_0x53b446+='\x0a##\x20'+this['now']()[_0x20659c(0x2f4)]()+'\x20-\x20'+_0x1899de+'\x0a\x0a'+_0x2bc770+'\x0a',this['atomicWrite'](_0x564931,_0x53b446);}['requiredSkillError'](_0x2eef55,_0x1f5120=this['projectPath']){const _0x2191b8=_0xd8aaed,_0x5d190a=[path[_0x2191b8(0xe9)](_0x1f5120,'.agents',_0x2191b8(0x17a),_0x2eef55,_0x2191b8(0x2a2)),path[_0x2191b8(0xe9)](this[_0x2191b8(0x1fe)],_0x2191b8(0x24d),'skills',_0x2eef55,'SKILL.md')],{SKILL_NAME_MAPPING:_0xec87e4,CANONICAL_SKILL_SOURCES:_0x1cdbc1}=require('../core/skill-names.js'),_0x2f919d=_0x1cdbc1[_0x2eef55]||Object[_0x2191b8(0x2f9)](_0xec87e4)[_0x2191b8(0x2c9)](_0x3698e7=>_0xec87e4[_0x3698e7]===_0x2eef55);if(_0x2f919d)_0x5d190a['push'](path[_0x2191b8(0xe9)](this[_0x2191b8(0x1fe)],_0x2191b8(0x24d),_0x2191b8(0x17a),_0x2f919d,_0x2191b8(0x2a2)));const _0x464ca0=_0x5d190a[_0x2191b8(0x2c9)](_0x45fcfd=>fs['existsSync'](_0x45fcfd));if(_0x464ca0)return null;const _0x2e5a76={};return _0x2e5a76[_0x2191b8(0x1b6)]=_0x5d190a[0x0],_0x2e5a76[_0x2191b8(0x17d)]=_0x2191b8(0x2fd)+this[_0x2191b8(0x1fe)]+'\x22',error(_0x2191b8(0x312),_0x2191b8(0x194)+_0x2eef55+_0x2191b8(0xdf),_0x2e5a76);}[_0xd8aaed(0xe1)](){const _0x5b7410=_0xd8aaed;if(!this[_0x5b7410(0x314)])return![];const _0x216f2a=this[_0x5b7410(0x301)]([_0x5b7410(0x2fe),_0x5b7410(0x181)]);if(!_0x216f2a['ok']||!this['gitCommonDir'])return![];const _0x5b373c=normalizePath(path[_0x5b7410(0x22a)](this['projectPath'],_0x216f2a[_0x5b7410(0x2c8)]));if(_0x5b373c===this[_0x5b7410(0x1b9)])return![];const _0x3cb808=this[_0x5b7410(0x301)]([_0x5b7410(0x1c5),_0x5b7410(0x261),_0x5b7410(0x34e)]);if(!_0x3cb808['ok'])return![];const _0x16d32b=normalizePath(this[_0x5b7410(0x1fe)])[_0x5b7410(0x296)]();return _0x3cb808[_0x5b7410(0x2c8)][_0x5b7410(0x21a)](/\r?\n/)[_0x5b7410(0x272)](_0x2a08f7=>_0x2a08f7[_0x5b7410(0x2e5)](_0x5b7410(0x349)))['some'](_0x3cf566=>normalizePath(_0x3cf566['slice'](0x9))[_0x5b7410(0x296)]()===_0x16d32b);}[_0xd8aaed(0x122)](){const _0x3affd8=_0xd8aaed;if(this[_0x3affd8(0x314)])return error(_0x3affd8(0x172),_0x3affd8(0x2c1));const _0xa3d6ff=fs['mkdtempSync'](path['join'](os[_0x3affd8(0x141)](),_0x3affd8(0x253)));try{const _0x371e50=path[_0x3affd8(0xe9)](_0xa3d6ff,_0x3affd8(0x288)),_0x116f3f=path['join'](_0xa3d6ff,_0x3affd8(0x2c4)),_0x186e5c={};_0x186e5c['cwd']=_0xa3d6ff;const _0x4e347f=this[_0x3affd8(0x301)](['init',_0x3affd8(0x24a),_0x371e50],_0x186e5c);if(!_0x4e347f['ok'])return error(_0x3affd8(0x20d),_0x4e347f[_0x3affd8(0x358)]||'Cannot\x20initialize\x20temporary\x20Git\x20index.');const _0x43f8f8={};_0x43f8f8[_0x3affd8(0x1ce)]=_0x116f3f;const _0x36c9c=_0x43f8f8,_0x169333=this[_0x3affd8(0x301)]([_0x3affd8(0x181),_0x371e50,_0x3affd8(0x136),this['projectPath'],'add','-A'],{'cwd':this[_0x3affd8(0x1fe)],'env':_0x36c9c});if(!_0x169333['ok'])return error(_0x3affd8(0x20d),_0x169333[_0x3affd8(0x358)]||_0x3affd8(0x1ed));const _0x5b1bde=this[_0x3affd8(0x301)]([_0x3affd8(0x181),_0x371e50,_0x3affd8(0x136),this[_0x3affd8(0x1fe)],_0x3affd8(0x337),_0x3affd8(0x340),_0x3affd8(0x1f6),'-z'],{'cwd':this[_0x3affd8(0x1fe)],'env':_0x36c9c});if(!_0x5b1bde['ok'])return error('GIT_PREVIEW_FAILED',_0x5b1bde[_0x3affd8(0x358)]||_0x3affd8(0x2eb));const _0xaac44b=_0x5b1bde[_0x3affd8(0x2c8)]?_0x5b1bde[_0x3affd8(0x2c8)][_0x3affd8(0x21a)]('\x00')[_0x3affd8(0x272)](Boolean)[_0x3affd8(0x24f)](_0x3cd8aa=>_0x3cd8aa['replace'](/\\/g,'/'))[_0x3affd8(0x1d3)]():[],_0xc23a5d=_0xaac44b[_0x3affd8(0x24f)](_0x35122a=>{const _0x4f9b65=_0x3affd8,_0x18632a=path[_0x4f9b65(0xe9)](this[_0x4f9b65(0x1fe)],_0x35122a),_0x2b73d4=fs[_0x4f9b65(0x1de)](_0x18632a),_0x5d6d1a=crypto['createHash']('sha256')[_0x4f9b65(0x135)](fs[_0x4f9b65(0x1a2)](_0x18632a))[_0x4f9b65(0x35a)](_0x4f9b65(0x31e));return{'path':_0x35122a,'size':_0x2b73d4[_0x4f9b65(0x2da)],'mtimeMs':Math[_0x4f9b65(0x21d)](_0x2b73d4[_0x4f9b65(0x10a)]),'sha256':_0x5d6d1a};}),_0x41f62c=_0xaac44b[_0x3affd8(0x272)](_0x46154e=>{const _0x4f6a34=_0x3affd8,_0x21f21a=/\.env\.example$/i[_0x4f6a34(0xf5)](_0x46154e);if(!_0x21f21a&&SENSITIVE_PATTERNS[_0x4f6a34(0x25c)](_0x20789c=>_0x20789c['test'](_0x46154e)))return!![];const _0x4360ef=fs['readFileSync'](path[_0x4f6a34(0xe9)](this[_0x4f6a34(0x1fe)],_0x46154e),_0x4f6a34(0x160));return SENSITIVE_CONTENT_PATTERNS[_0x4f6a34(0x25c)](_0x336ca4=>_0x336ca4[_0x4f6a34(0xf5)](_0x4360ef));}),_0x5b1200=_0xc23a5d[_0x3affd8(0x272)](_0x237b7c=>_0x237b7c['size']>0xa*0x400*0x400)['map'](_0x841c7a=>_0x841c7a[_0x3affd8(0x2ce)]),_0x2076e4=[_0x3affd8(0x161)],_0x347b90={};_0x347b90[_0x3affd8(0x1a3)]=_0xc23a5d,_0x347b90[_0x3affd8(0x356)]=_0x2076e4;const _0x121123=crypto['createHash'](_0x3affd8(0x2ab))[_0x3affd8(0x135)](JSON[_0x3affd8(0x230)](_0x347b90))['digest']('hex');return{'success':![],'code':_0x41f62c['length']?_0x3affd8(0x212):_0x3affd8(0x1eb),'error':_0x41f62c[_0x3affd8(0x152)]?_0x3affd8(0x2a5):'Git\x20initialization\x20and\x20a\x20baseline\x20commit\x20require\x20direct\x20user\x20confirmation.','confirmationToken':_0x121123,'fileCount':_0xaac44b[_0x3affd8(0x152)],'totalBytes':_0xc23a5d[_0x3affd8(0x30a)]((_0x5c6c03,_0x3da89e)=>_0x5c6c03+_0x3da89e[_0x3affd8(0x2da)],0x0),'files':_0xaac44b,'sensitiveFiles':_0x41f62c,'largeFiles':_0x5b1200,'plannedIgnoreAdditions':_0x2076e4};}finally{const _0x4c5527={};_0x4c5527['recursive']=!![],_0x4c5527[_0x3affd8(0x21f)]=!![],fs[_0x3affd8(0x286)](_0xa3d6ff,_0x4c5527);}}['ensureRuntimeIgnore'](){const _0x4ffa5d=_0xd8aaed,_0x50ec56=path[_0x4ffa5d(0xe9)](this[_0x4ffa5d(0x1fe)],_0x4ffa5d(0xe4)),_0x11c2f8=_0x4ffa5d(0x161),_0x6eab0c=fs[_0x4ffa5d(0xd9)](_0x50ec56)?fs[_0x4ffa5d(0x1a2)](_0x50ec56,_0x4ffa5d(0x160)):'',_0x5b04e2=_0x6eab0c['split'](/\r?\n/)[_0x4ffa5d(0x24f)](_0x34fe20=>_0x34fe20[_0x4ffa5d(0x27c)]());if(_0x5b04e2[_0x4ffa5d(0x1a4)](_0x11c2f8))return;const _0x395b2b=_0x6eab0c&&!_0x6eab0c[_0x4ffa5d(0x35d)]('\x0a')?'\x0a':'';fs[_0x4ffa5d(0x18a)](_0x50ec56,''+_0x395b2b+_0x11c2f8+'\x0a',_0x4ffa5d(0x160));}[_0xd8aaed(0x30e)](_0x31bb3b){const _0x3b78e0=_0xd8aaed,_0x428211=this[_0x3b78e0(0x122)]();if(_0x428211[_0x3b78e0(0x1a7)]===_0x3b78e0(0x212))return _0x428211;if(_0x428211[_0x3b78e0(0x1a5)]!==_0x31bb3b){const _0xfcbcda={};return _0xfcbcda[_0x3b78e0(0x234)]=_0x428211,error('GIT_PREVIEW_STALE',_0x3b78e0(0x175),_0xfcbcda);}const _0x49d75c=this[_0x3b78e0(0x1b7)]()['filter'](_0x5bfd3f=>_0x5bfd3f[_0x3b78e0(0xf3)]===_0x3b78e0(0x2f3)||_0x5bfd3f[_0x3b78e0(0xf3)]==='initializing');if(_0x49d75c[_0x3b78e0(0x152)])return error('PIPELINES_ACTIVE_DURING_GIT_INIT','Complete\x20or\x20cancel\x20active\x20pipelines\x20before\x20initializing\x20Git.');const _0x420926=this['runGit']([_0x3b78e0(0x279),_0x3b78e0(0x1db),'user.name']),_0x2b7047=this[_0x3b78e0(0x301)]([_0x3b78e0(0x279),'--get',_0x3b78e0(0x2c6)]);if(!_0x420926['ok']||!_0x420926[_0x3b78e0(0x2c8)]||!_0x2b7047['ok']||!_0x2b7047['stdout']){const _0x1c95ee={};return _0x1c95ee['recovery_commands']=[_0x3b78e0(0x1be),_0x3b78e0(0x2b9)],error(_0x3b78e0(0x193),_0x3b78e0(0x170),_0x1c95ee);}const _0x2931d8=this[_0x3b78e0(0x301)]([_0x3b78e0(0x279),'--get',_0x3b78e0(0x173)]),_0x3df28e=_0x2931d8['ok']&&_0x2931d8[_0x3b78e0(0x2c8)]?_0x2931d8[_0x3b78e0(0x2c8)]:_0x3b78e0(0x225);let _0x27e5cc=this[_0x3b78e0(0x301)]([_0x3b78e0(0x315),'-b',_0x3df28e]);if(!_0x27e5cc['ok']){_0x27e5cc=this['runGit']([_0x3b78e0(0x315)]);if(!_0x27e5cc['ok'])return error(_0x3b78e0(0xf8),_0x27e5cc[_0x3b78e0(0x358)]);const _0x44b18d=this['runGit']([_0x3b78e0(0x118),'-M',_0x3df28e]);if(!_0x44b18d['ok'])return error(_0x3b78e0(0xf8),_0x44b18d[_0x3b78e0(0x358)]);}this[_0x3b78e0(0x275)]();const _0x4e65bc=this[_0x3b78e0(0x301)]([_0x3b78e0(0x276),'-A']);if(!_0x4e65bc['ok'])return error(_0x3b78e0(0x243),_0x4e65bc[_0x3b78e0(0x358)]);const _0x1d1deb=this[_0x3b78e0(0x301)](['commit',_0x3b78e0(0x299),'-m',_0x3b78e0(0x2de)]);if(!_0x1d1deb['ok'])return error(_0x3b78e0(0x243),_0x1d1deb[_0x3b78e0(0x358)]);const _0x5022bc=this[_0x3b78e0(0x301)](['status','--porcelain']);if(!_0x5022bc['ok']||_0x5022bc[_0x3b78e0(0x2c8)])return error('GIT_BASELINE_NOT_CLEAN',_0x3b78e0(0x1ca),{'status':_0x5022bc[_0x3b78e0(0x2c8)]});const _0x4439a5=this[_0x3b78e0(0x16f)];this[_0x3b78e0(0x2c0)](),this['migrateStateRoot'](_0x4439a5);const _0x99dacb={};return _0x99dacb[_0x3b78e0(0x16c)]=!![],_0x99dacb['branch']=_0x3df28e,_0x99dacb['initialized']=!![],_0x99dacb;}[_0xd8aaed(0x2f1)](_0x2d7129){const _0x39f1fe=_0xd8aaed;if(!_0x2d7129||normalizePath(_0x2d7129)===normalizePath(this['stateRoot'])||!fs[_0x39f1fe(0xd9)](_0x2d7129))return;const _0x186ea8=path[_0x39f1fe(0xe9)](this[_0x39f1fe(0x16f)],_0x39f1fe(0x211),crypto['createHash'](_0x39f1fe(0x2ab))[_0x39f1fe(0x135)](_0x2d7129)[_0x39f1fe(0x35a)]('hex')+_0x39f1fe(0x298));if(fs[_0x39f1fe(0xd9)](_0x186ea8))return;const _0x13a953=this['listRunsFromRoot'](_0x2d7129)[_0x39f1fe(0x272)](_0x454a78=>_0x454a78['status']===_0x39f1fe(0x2f3)||_0x454a78[_0x39f1fe(0xf3)]===_0x39f1fe(0x165)),_0x5b5d8e={};_0x5b5d8e[_0x39f1fe(0x1a7)]=_0x39f1fe(0x155);if(_0x13a953['length'])throw Object[_0x39f1fe(0x17f)](new Error(_0x39f1fe(0x2e0)),_0x5b5d8e);for(const _0x22740a of this[_0x39f1fe(0x10c)](_0x2d7129)){const _0x287e27=path[_0x39f1fe(0xe9)](_0x2d7129,_0x22740a[_0x39f1fe(0x32e)],_0x39f1fe(0xde),_0x22740a['runId']),_0x49d5ed=this[_0x39f1fe(0x28f)](_0x22740a[_0x39f1fe(0x32e)],_0x22740a['runId']),_0x4e6ac6={};_0x4e6ac6['recursive']=!![],_0x4e6ac6['errorOnExist']=!![];if(!fs[_0x39f1fe(0xd9)](_0x49d5ed))fs[_0x39f1fe(0x1fb)](_0x287e27,_0x49d5ed,_0x4e6ac6);this[_0x39f1fe(0x353)](_0x287e27,_0x49d5ed);const _0x3fe0fa=path[_0x39f1fe(0xe9)](_0x2d7129,_0x22740a['task'],_0x39f1fe(0x2e7));fs['existsSync'](_0x3fe0fa)&&!fs['existsSync'](this[_0x39f1fe(0x10f)](_0x22740a[_0x39f1fe(0x32e)]))&&(fs['copyFileSync'](_0x3fe0fa,this[_0x39f1fe(0x10f)](_0x22740a['task'])),this[_0x39f1fe(0x353)](_0x3fe0fa,this[_0x39f1fe(0x10f)](_0x22740a[_0x39f1fe(0x32e)])));}this[_0x39f1fe(0x2aa)](_0x186ea8,{'source':_0x2d7129,'migratedAt':this[_0x39f1fe(0x1ab)]()[_0x39f1fe(0x2f4)]()});}[_0xd8aaed(0x353)](_0xd71e1f,_0x1416d7){const _0x39f454=_0xd8aaed,_0x1d049b=fs[_0x39f454(0x1de)](_0xd71e1f),_0x13029c=fs[_0x39f454(0x1de)](_0x1416d7);if(_0x1d049b[_0x39f454(0x228)]()!==_0x13029c[_0x39f454(0x228)]()){const _0x1edcd0={};_0x1edcd0['code']='STATE_MIGRATION_VERIFY_FAILED';throw Object['assign'](new Error(_0x39f454(0x27b)+_0xd71e1f),_0x1edcd0);}if(_0x1d049b[_0x39f454(0x228)]()){const _0x14db3c=fs['readdirSync'](_0xd71e1f)[_0x39f454(0x1d3)](),_0x2a1ba0=fs[_0x39f454(0x1d4)](_0x1416d7)[_0x39f454(0x1d3)]();if(JSON[_0x39f454(0x230)](_0x14db3c)!==JSON[_0x39f454(0x230)](_0x2a1ba0)){const _0x1d315b={};_0x1d315b['code']=_0x39f454(0x2ea);throw Object['assign'](new Error(_0x39f454(0x32a)+_0xd71e1f),_0x1d315b);}for(const _0x4c3c6e of _0x14db3c)this['verifyCopiedTree'](path['join'](_0xd71e1f,_0x4c3c6e),path['join'](_0x1416d7,_0x4c3c6e));return;}const _0x4ed7bd=crypto[_0x39f454(0x104)](_0x39f454(0x2ab))[_0x39f454(0x135)](fs['readFileSync'](_0xd71e1f))[_0x39f454(0x35a)](_0x39f454(0x31e)),_0x1af574=crypto[_0x39f454(0x104)](_0x39f454(0x2ab))[_0x39f454(0x135)](fs[_0x39f454(0x1a2)](_0x1416d7))['digest'](_0x39f454(0x31e));if(_0x4ed7bd!==_0x1af574){const _0x547bba={};_0x547bba[_0x39f454(0x1a7)]=_0x39f454(0x2ea);throw Object['assign'](new Error(_0x39f454(0x130)+_0xd71e1f),_0x547bba);}}[_0xd8aaed(0x280)](_0x33742f,_0x38b272,_0x1bae11){const _0x3cb170=_0xd8aaed;if(!this['isGitRepository']){if(!_0x1bae11[_0x3cb170(0x1fc)]||!_0x1bae11['confirmationToken'])return this['previewGitBootstrap']();if(!_0x1bae11[_0x3cb170(0x292)])return error(_0x3cb170(0x20c),_0x3cb170(0x214));const _0x2c6ac4=this['initializeGitFromPreview'](_0x1bae11[_0x3cb170(0x1a5)]);if(!_0x2c6ac4[_0x3cb170(0x16c)])return _0x2c6ac4;}if(!_0x1bae11[_0x3cb170(0x292)])return error(_0x3cb170(0x20c),_0x3cb170(0x109));const _0x50d86b=this[_0x3cb170(0x301)]([_0x3cb170(0xf3),'--porcelain']);if(!_0x50d86b['ok']||_0x50d86b[_0x3cb170(0x2c8)])return error(_0x3cb170(0x2a0),_0x3cb170(0x244),{'status':_0x50d86b[_0x3cb170(0x2c8)]});const _0x4d7e9a=this[_0x3cb170(0x301)](['rev-parse',_0x3cb170(0x2c2)]);if(!_0x4d7e9a['ok'])return error(_0x3cb170(0x1e1),_0x4d7e9a[_0x3cb170(0x358)]||_0x3cb170(0xea));const _0x3c5f1f=this[_0x3cb170(0x301)](['branch','--show-current']),_0x2bf8b4=path[_0x3cb170(0x2fb)](this[_0x3cb170(0x1fe)]),_0x16a993=path[_0x3cb170(0xe9)](path[_0x3cb170(0x2dd)](this['projectPath']),_0x3cb170(0xf1),_0x2bf8b4,_0x33742f,_0x38b272),_0x299346=_0x3cb170(0x1dc)+_0x33742f+'/'+_0x38b272;if(fs[_0x3cb170(0xd9)](_0x16a993))return error(_0x3cb170(0x35f),'Worktree\x20path\x20already\x20exists:\x20'+_0x16a993);const _0x5a2c9d=this['runGit'](['worktree',_0x3cb170(0x276),'-b',_0x299346,_0x16a993,_0x1bae11[_0x3cb170(0x2a9)]||_0x4d7e9a[_0x3cb170(0x2c8)]]),_0x18b000={};_0x18b000[_0x3cb170(0x2af)]=_0x16a993,_0x18b000[_0x3cb170(0x118)]=_0x299346;if(!_0x5a2c9d['ok'])return error(_0x3cb170(0x12c),_0x5a2c9d[_0x3cb170(0x358)]||_0x3cb170(0x27a),_0x18b000);return{'success':!![],'workspace':{'mode':_0x3cb170(0x1c5),'path':normalizePath(_0x16a993),'branch':_0x299346,'baseRef':_0x1bae11[_0x3cb170(0x2a9)]||_0x4d7e9a[_0x3cb170(0x2c8)],'baseBranch':_0x3c5f1f['ok']?_0x3c5f1f[_0x3cb170(0x2c8)]:'','status':_0x3cb170(0x2b0),'createdAt':this[_0x3cb170(0x1ab)]()[_0x3cb170(0x2f4)](),'managed':!![]}};}[_0xd8aaed(0x111)](_0x3cb3dc,_0x342533,_0x28ec28={}){const _0x32ae50=_0xd8aaed,_0x31e545=_0x28ec28[_0x32ae50(0x24b)]||'auto';if(!['auto','current','worktree'][_0x32ae50(0x1a4)](_0x31e545))return error(_0x32ae50(0x25f),'Unknown\x20workspace\x20mode:\x20'+_0x31e545);if(_0x31e545==='worktree')return this[_0x32ae50(0x280)](_0x3cb3dc,_0x342533,_0x28ec28);return{'success':!![],'workspace':{'mode':this[_0x32ae50(0xe1)]()?'native-worktree':'current','path':this[_0x32ae50(0x1fe)],'branch':this[_0x32ae50(0x314)]?this[_0x32ae50(0x301)](['branch','--show-current'])[_0x32ae50(0x2c8)]:'','baseRef':this[_0x32ae50(0x314)]?this['runGit']([_0x32ae50(0x2fe),_0x32ae50(0x2c2)])['stdout']:'','baseBranch':this[_0x32ae50(0x314)]?this[_0x32ae50(0x301)]([_0x32ae50(0x118),_0x32ae50(0x123)])[_0x32ae50(0x2c8)]:'','status':_0x32ae50(0x2b0),'managed':![]}};}[_0xd8aaed(0x28e)](_0x221373={}){const _0x466e83=_0xd8aaed;let {pipeline:_0x202bf4,task:_0x2c6ebc,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x221373;const _0x4bcfb7=PipelineManager[_0x466e83(0x108)](_0x2c6ebc);if(_0x4bcfb7)return _0x4bcfb7;if(_0x221373[_0x466e83(0x10d)])try{return this['recoverCreation'](_0x2c6ebc,_0x221373['recoverRunId'],_0x221373[_0x466e83(0x1ec)]);}catch(_0x147dd1){return error(_0x466e83(0x348),_0x466e83(0x1e2),{'task':_0x2c6ebc,'runId':_0x221373['recoverRunId'],'diagnostic':creationFailure(_0x147dd1,_0x466e83(0x1b4))});}const _0xbb9bd4=PipelineManager[_0x466e83(0x1c6)](_0x221373['workspace']);if(_0xbb9bd4)return _0xbb9bd4;if(![0x2,0x3]['includes'](schemaVersion))return error(_0x466e83(0x23c),_0x466e83(0x313));if(_0x221373[_0x466e83(0x25e)]!==undefined&&![0x1,0x2,0x3]['includes'](_0x221373[_0x466e83(0x25e)]))return error('INVALID_POLICY_VERSION','Supported\x20policies\x20are\x201,\x202\x20and\x203.');if(_0x221373[_0x466e83(0x21c)]!==undefined&&![_0x466e83(0x14d),_0x466e83(0xf6),_0x466e83(0x30b)][_0x466e83(0x1a4)](_0x221373['workflowProfile']))return error(_0x466e83(0x302),_0x466e83(0x157));if(_0x221373[_0x466e83(0x30f)]!==undefined&&(!Number['isInteger'](_0x221373[_0x466e83(0x30f)])||_0x221373[_0x466e83(0x30f)]<0x1))return error('INVALID_RUN_INPUT',_0x466e83(0x229));for(const _0x771c35 of['acceptanceCriteria','scope',_0x466e83(0x17a)]){if(_0x221373[_0x771c35]!==undefined&&(!Array[_0x466e83(0x285)](_0x221373[_0x771c35])||!_0x221373[_0x771c35][_0x466e83(0xe3)](_0x95da67=>typeof _0x95da67==='string'&&_0x95da67[_0x466e83(0x27c)]())))return error('INVALID_RUN_INPUT',_0x771c35+_0x466e83(0x305));}if(schemaVersion===0x3&&_0x221373[_0x466e83(0x1a6)]!==0x0&&_0x202bf4!==_0x466e83(0x12f)&&!_0x221373['acceptanceCriteria']?.[_0x466e83(0x152)])return error(_0x466e83(0x196),_0x466e83(0x1d6));let _0x19521d;if(schemaVersion===0x3&&_0x221373['qualityVersion']!==0x0&&_0x202bf4!==_0x466e83(0x12f))try{_0x19521d=require(_0x466e83(0x215))[_0x466e83(0x1af)](_0x221373['qualityPlan'],_0x221373[_0x466e83(0x317)]||[],{'productImpact':_0x221373[_0x466e83(0x249)]===!![],'platformTarget':_0x221373['productImpact']===!![]&&['web',_0x466e83(0x256),'flutter'][_0x466e83(0x1a4)](_0x221373[_0x466e83(0x1b8)])?_0x221373['productTarget']===_0x466e83(0x2cb)?'web':_0x466e83(0x256):null,'contentReview':_0x202bf4===_0x466e83(0x2b7),'artifactReview':_0x221373['artifactReview']===!![]});}catch(_0x162dcc){return error(_0x466e83(0x266),_0x162dcc[_0x466e83(0x33f)]);}const _0x188178=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x1a0a04=_0x188178[_0x202bf4];if(!_0x1a0a04)return error('INVALID_PIPELINE',_0x466e83(0x31b)+_0x202bf4+'.',{'valid_pipelines':Object['keys'](PIPELINE_DEFINITIONS)});const _0x15151e=_0x1a0a04[_0x466e83(0x159)][0x0][_0x466e83(0x144)];if(_0x15151e){const _0x56af43=this[_0x466e83(0x2f8)](_0x15151e);if(_0x56af43)return _0x56af43;}if((workspace[_0x466e83(0x24b)]||_0x466e83(0x361))===_0x466e83(0x1c5)&&!this[_0x466e83(0x314)]){if(!workspace[_0x466e83(0x1fc)]||!workspace['confirmationToken'])return this[_0x466e83(0x122)]();if(!workspace['confirmed'])return error(_0x466e83(0x20c),_0x466e83(0x214));const _0x3455e8=this['initializeGitFromPreview'](workspace['confirmationToken']);if(!_0x3455e8[_0x466e83(0x16c)])return _0x3455e8;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this['withLock'](_0x466e83(0x2df),()=>this[_0x466e83(0x20f)](_0x2c6ebc,()=>{const _0x4f6df1=_0x466e83,_0x483deb=this['readCurrent'](_0x2c6ebc);if(_0x483deb&&[_0x4f6df1(0x165),_0x4f6df1(0x2f3),'paused'][_0x4f6df1(0x1a4)](_0x483deb[_0x4f6df1(0xf3)]))return error(_0x4f6df1(0x107),_0x4f6df1(0x13e)+_0x2c6ebc+_0x4f6df1(0xe2),{'task':_0x2c6ebc,'runId':_0x483deb[_0x4f6df1(0x1bf)]});if(schemaVersion===0x3&&_0x221373[_0x4f6df1(0x1a6)]!==0x0&&_0x202bf4!==_0x4f6df1(0x12f)){const _0x1691e4=_0x2e9276=>JSON[_0x4f6df1(0x230)](_0x2e9276[_0x4f6df1(0x24f)](_0x128467=>_0x128467[_0x4f6df1(0x27c)]()[_0x4f6df1(0x271)](/\s+/g,'\x20')['toLocaleLowerCase']())[_0x4f6df1(0x1d3)]()),_0x14fce8=_0x1691e4(_0x221373[_0x4f6df1(0x317)]),_0x43cfb5=_0x23bc45=>{const _0x265ca0=_0x4f6df1,_0xef7f21=normalizePath(_0x23bc45);return process[_0x265ca0(0x218)]===_0x265ca0(0x264)?_0xef7f21[_0x265ca0(0x296)]():_0xef7f21;};if(fs[_0x4f6df1(0xd9)](this[_0x4f6df1(0x16f)])){const _0x3467e7={};_0x3467e7[_0x4f6df1(0x331)]=!![];for(const _0x16dc6a of fs[_0x4f6df1(0x1d4)](this['stateRoot'],_0x3467e7)){if(!_0x16dc6a[_0x4f6df1(0x228)]()||_0x16dc6a['name']['startsWith']('.')||_0x16dc6a[_0x4f6df1(0x1dd)]===_0x2c6ebc)continue;const _0x291386=this[_0x4f6df1(0x12b)](_0x16dc6a[_0x4f6df1(0x1dd)]);if(_0x291386&&[_0x4f6df1(0x165),_0x4f6df1(0x2f3),_0x4f6df1(0x1df)][_0x4f6df1(0x1a4)](_0x291386[_0x4f6df1(0xf3)])&&_0x291386[_0x4f6df1(0xe6)]!=='readonly'&&_0x291386[_0x4f6df1(0x1f2)]?.[_0x4f6df1(0x216)]&&_0x291386['acceptance']?.[_0x4f6df1(0x267)]?.[_0x4f6df1(0x152)]&&[_0x291386[_0x4f6df1(0x2ed)],_0x291386['workspace'][_0x4f6df1(0x2ce)]]['filter'](Boolean)[_0x4f6df1(0x25c)](_0x16982f=>_0x43cfb5(_0x16982f)===_0x43cfb5(this[_0x4f6df1(0x1fe)]))&&overlappingScope(_0x291386['scope'],_0x221373[_0x4f6df1(0x290)],this[_0x4f6df1(0x1fe)])&&_0x1691e4(_0x291386[_0x4f6df1(0x205)]['criteria'])===_0x14fce8){const _0x464f8c={};return _0x464f8c[_0x4f6df1(0x32e)]=_0x291386[_0x4f6df1(0x32e)],_0x464f8c['runId']=_0x291386['runId'],_0x464f8c['status']=_0x291386[_0x4f6df1(0xf3)],_0x464f8c['stopReason']=_0x291386[_0x4f6df1(0x241)]?.[_0x4f6df1(0x166)]||null,_0x464f8c[_0x4f6df1(0x14b)]=_0x291386[_0x4f6df1(0x1f2)]?.[_0x4f6df1(0x216)]?.[_0x4f6df1(0x14b)]||null,error('ACCEPTANCE_ALREADY_ACTIVE',_0x4f6df1(0x186),_0x464f8c);}}}}const _0x3e4269=this['generateRunId'](),_0x14e60b=this['pendingCreation'](_0x2c6ebc);if(_0x14e60b)return error(_0x4f6df1(0x233),_0x4f6df1(0x2b6),{'intent':_0x14e60b});const _0x2b48cb=this[_0x4f6df1(0xee)](_0x2c6ebc,_0x3e4269),_0x1a1989={'task':_0x2c6ebc,'runId':_0x3e4269,'pipeline':_0x202bf4,'schemaVersion':schemaVersion,'status':_0x4f6df1(0x2ca),'originWorkspace':this['projectPath'],'requestedWorkspace':workspace,'runtimeVersion':require(_0x4f6df1(0x26c))['version'],'args':_0x221373,'createdAt':this[_0x4f6df1(0x1ab)]()[_0x4f6df1(0x2f4)]()};this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x1a1989);let _0x40789b=_0x4f6df1(0x33e);try{const _0x4e7a6e=this[_0x4f6df1(0x111)](_0x2c6ebc,_0x3e4269,workspace);if(!_0x4e7a6e['success']){const _0x895edd={..._0x1a1989};return _0x895edd['status']=_0x4f6df1(0x134),_0x895edd['error']=_0x4e7a6e,this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x895edd),_0x4e7a6e;}_0x1a1989[_0x4f6df1(0x2ac)]=_0x4e7a6e[_0x4f6df1(0x2ac)],_0x1a1989[_0x4f6df1(0xf3)]=_0x4f6df1(0x16a),_0x40789b='intent-workspace-write',this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x1a1989);const _0x282b3c={'schemaVersion':schemaVersion,'task':_0x2c6ebc,'runId':_0x3e4269,'pipeline':_0x202bf4,'status':'active','completedSteps':[],'originWorkspace':this[_0x4f6df1(0x1fe)],'workspace':_0x4e7a6e[_0x4f6df1(0x2ac)],'startedAt':this['now']()[_0x4f6df1(0x2f4)](),'updatedAt':this[_0x4f6df1(0x1ab)]()[_0x4f6df1(0x2f4)]()};_0x40789b=_0x4f6df1(0x1a3);if(schemaVersion===0x3)this['execution'][_0x4f6df1(0x18b)](_0x282b3c,_0x221373);else this[_0x4f6df1(0xe0)](_0x282b3c);this[_0x4f6df1(0x263)](_0x282b3c),_0x40789b=_0x4f6df1(0x163);const _0x37d42d={};_0x37d42d[_0x4f6df1(0xf7)]=!![],this['writeState'](_0x282b3c,_0x37d42d),_0x40789b=_0x4f6df1(0x341),this[_0x4f6df1(0x2c7)](_0x282b3c,_0x4f6df1(0x278),_0x4f6df1(0x332)+_0x282b3c[_0x4f6df1(0x2ac)][_0x4f6df1(0x2ce)]+_0x4f6df1(0x27d)+_0x1a0a04[_0x4f6df1(0x159)][0x0]['id']),_0x40789b='intent-complete';const _0x37038d={..._0x1a1989};_0x37038d[_0x4f6df1(0xf3)]='completed',this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x37038d);const _0x599e53={};return _0x599e53[_0x4f6df1(0x16c)]=!![],this[_0x4f6df1(0x210)](_0x282b3c,_0x599e53);}catch(_0x5863ad){const _0x2660f9=creationFailure(_0x5863ad,_0x40789b);try{const _0x10f8df={..._0x1a1989};_0x10f8df[_0x4f6df1(0xf3)]='interrupted',_0x10f8df[_0x4f6df1(0x1ad)]=_0x2660f9,this[_0x4f6df1(0x2aa)](_0x2b48cb,_0x10f8df);}catch{}const _0x2a84ca={};return _0x2a84ca[_0x4f6df1(0x32e)]=_0x2c6ebc,_0x2a84ca[_0x4f6df1(0x1bf)]=_0x3e4269,_0x2a84ca[_0x4f6df1(0x117)]=_0x2b48cb,_0x2a84ca[_0x4f6df1(0x2ac)]=_0x1a1989[_0x4f6df1(0x2ac)],_0x2a84ca[_0x4f6df1(0x1d2)]=_0x2660f9[_0x4f6df1(0x1a7)],_0x2a84ca[_0x4f6df1(0x1f0)]=_0x2660f9,error(_0x4f6df1(0x1aa),_0x4f6df1(0x29f),_0x2a84ca);}}));}catch(_0x562ab6){return error('PIPELINE_STATE_UNAVAILABLE',_0x466e83(0x125),{'task':_0x2c6ebc,'diagnostic':creationFailure(_0x562ab6,_0x466e83(0x221))});}}[_0xd8aaed(0xf0)](_0x1fe475={}){const _0x4784e6=_0xd8aaed;return this[_0x4784e6(0x241)][_0x4784e6(0xf0)](_0x1fe475);}[_0xd8aaed(0x1d0)](){const _0x396fbe=_0xd8aaed;return this['execution'][_0x396fbe(0x1d0)]();}[_0xd8aaed(0x31d)](_0x257526={}){const _0x44555e=_0xd8aaed;return this['execution'][_0x44555e(0x31d)](_0x257526);}[_0xd8aaed(0x2ef)](_0x5c56be={}){const _0x411f76=_0xd8aaed;return this[_0x411f76(0x241)][_0x411f76(0x2ef)](_0x5c56be);}[_0xd8aaed(0x137)](_0x29c540={},_0x12a2af){const _0x186295=_0xd8aaed;return this[_0x186295(0x241)][_0x186295(0x137)](_0x29c540,_0x12a2af);}[_0xd8aaed(0x15c)](_0x78a640,_0x22dd85){const _0x222110=_0xd8aaed,_0x473f3=PipelineManager[_0x222110(0x108)](_0x78a640[_0x222110(0x32e)])||PipelineManager[_0x222110(0x217)](_0x78a640['runId']);if(_0x473f3)return _0x473f3;return this[_0x222110(0x20f)]('_execution',()=>this[_0x222110(0x20f)](_0x78a640[_0x222110(0x32e)],()=>{const _0x52e87a=_0x222110,_0x2e17a=this[_0x52e87a(0x174)](_0x78a640[_0x52e87a(0x32e)],_0x78a640[_0x52e87a(0x1bf)]);if(!_0x2e17a||_0x2e17a['schemaVersion']!==0x3)return error(_0x52e87a(0x189),_0x52e87a(0x12d));const _0x456419=this['contract'](_0x2e17a);if(_0x456419[_0x52e87a(0x1ff)]==='blocked')return error(_0x456419[_0x52e87a(0x1a7)],'The\x20run\x20contract\x20does\x20not\x20permit\x20reconciliation.');if(!_0x78a640['sessionId']||_0x2e17a[_0x52e87a(0x10e)]!==_0x78a640[_0x52e87a(0x1ec)])return error(_0x52e87a(0x132),'Reconcile\x20with\x20the\x20recorded\x20coordinator.');if(!require(_0x52e87a(0xed))[_0x52e87a(0x245)](_0x2e17a['workspace']?.['path']||'',this[_0x52e87a(0x1fe)]))return error(_0x52e87a(0x33b),_0x52e87a(0x188));const _0x2830da=_0x2e17a[_0x52e87a(0x241)][_0x52e87a(0x2f3)]['find'](_0x4d0dac=>_0x4d0dac[_0x52e87a(0x23a)]===_0x78a640[_0x52e87a(0x23a)]&&_0x4d0dac['actorId']===_0x78a640[_0x52e87a(0x19d)]);if(!_0x2830da)return error(_0x52e87a(0x11b),'The\x20exact\x20actor\x20reservation\x20is\x20no\x20longer\x20active.');if(_0x2830da['verificationInFlight'])return error(_0x52e87a(0x269),'Verification\x20must\x20stop\x20before\x20release.');const _0x154b87={};_0x154b87[_0x52e87a(0xfe)]=this,_0x154b87['state']=_0x2e17a,_0x154b87[_0x52e87a(0x239)]=_0x78a640,_0x154b87[_0x52e87a(0x19e)]=_0x22dd85;const _0x4d9c41=require(_0x52e87a(0x2d2))[_0x52e87a(0x19c)](_0x154b87);if(!_0x4d9c41[_0x52e87a(0x16c)])return error(_0x4d9c41[_0x52e87a(0x1a7)],_0x52e87a(0x1c7));const _0x22fd28=(_0x2e17a[_0x52e87a(0x241)][_0x52e87a(0x176)]||[])[_0x52e87a(0x2c9)](_0x147e60=>_0x147e60[_0x52e87a(0x23a)]===_0x78a640[_0x52e87a(0x23a)]);if(_0x22dd85[_0x52e87a(0xf3)]!==_0x52e87a(0x32d)||!_0x22dd85[_0x52e87a(0x2a7)]||_0x22dd85[_0x52e87a(0x10b)]!==_0x52e87a(0x18f)||_0x22fd28?.[_0x52e87a(0x291)]!=='confirmed'||_0x22fd28[_0x52e87a(0x2f0)]!=='stopped'||_0x22fd28[_0x52e87a(0x294)]!==_0x22dd85[_0x52e87a(0x294)]||_0x22fd28[_0x52e87a(0x19d)]!==_0x78a640[_0x52e87a(0x19d)])return error(_0x52e87a(0x289),_0x52e87a(0x1f8));if(_0x2830da[_0x52e87a(0x1b2)]&&!_0x2e17a[_0x52e87a(0x241)][_0x52e87a(0x2f3)][_0x52e87a(0x25c)](_0x3f528c=>_0x3f528c[_0x52e87a(0x23a)]!==_0x2830da[_0x52e87a(0x23a)]&&_0x3f528c[_0x52e87a(0x1b2)]===_0x2830da[_0x52e87a(0x1b2)])){const _0xdfa7fb=_0x2e17a[_0x52e87a(0x15d)]?.[_0x52e87a(0x2c9)](_0x2d8f6f=>_0x2d8f6f['id']===_0x2830da['workItemId']);if(_0xdfa7fb?.[_0x52e87a(0xf3)]===_0x52e87a(0x262))_0xdfa7fb[_0x52e87a(0xf3)]='pending';}const _0x34cc94=_0x2e17a[_0x52e87a(0x241)]['nextAction'];this[_0x52e87a(0x241)]['release'](_0x2e17a,_0x2830da);if(_0x2e17a['execution'][_0x52e87a(0x166)])_0x2e17a['execution']['nextAction']=_0x34cc94;this[_0x52e87a(0x127)](_0x2e17a),this[_0x52e87a(0x2c7)](_0x2e17a,_0x52e87a(0x344),'Actor:\x20'+_0x78a640[_0x52e87a(0x19d)]+_0x52e87a(0x2fa)+_0x78a640[_0x52e87a(0x23a)]+'.\x20Completion\x20does\x20not\x20prove\x20a\x20review\x20verdict.');const _0x56dac2={};return _0x56dac2[_0x52e87a(0x16c)]=!![],_0x56dac2[_0x52e87a(0x2bf)]=!![],_0x56dac2[_0x52e87a(0x19d)]=_0x78a640[_0x52e87a(0x19d)],_0x56dac2[_0x52e87a(0x23a)]=_0x78a640[_0x52e87a(0x23a)],_0x56dac2;}));}[_0xd8aaed(0x15e)](_0x45c60f={}){return this['execution']['canMutate'](_0x45c60f);}['markAttemptStarted'](_0x47276e={}){const _0x397035=_0xd8aaed;return this[_0x397035(0x241)][_0x397035(0x27f)](_0x47276e);}[_0xd8aaed(0x219)](_0x3a14da={}){const _0x16fb93=_0xd8aaed,{task:_0x299b39,runId:_0x2fe465,pipeline:_0x31ee77,step:_0x4bc635,status:_0x12fa3c,summary:_0xb945e4}=_0x3a14da,_0x21b9ea=PipelineManager[_0x16fb93(0x108)](_0x299b39);if(_0x21b9ea)return _0x21b9ea;if(!_0x2fe465)return error(_0x16fb93(0x224),_0x16fb93(0xff));const _0x313bd1=PipelineManager['validateRunId'](_0x2fe465);if(_0x313bd1)return _0x313bd1;const _0x214605=this[_0x16fb93(0x174)](_0x299b39,_0x2fe465);if(_0x214605&&this[_0x16fb93(0x1c3)](_0x214605)[_0x16fb93(0x1ff)]===_0x16fb93(0x323))return error(this[_0x16fb93(0x1c3)](_0x214605)[_0x16fb93(0x1a7)],'This\x20run\x20remains\x20readable,\x20but\x20its\x20historical\x20contract\x20cannot\x20be\x20verified\x20for\x20mutation.');if(_0x214605?.[_0x16fb93(0x2e2)]===0x3)return this['execution'][_0x16fb93(0x219)](_0x3a14da);return this['withLock'](_0x299b39,()=>{const _0x12e2be=_0x16fb93,_0x479a15=this[_0x12e2be(0x174)](_0x299b39,_0x2fe465);if(!_0x479a15)return error('RUN_NOT_FOUND',_0x12e2be(0x20e)+_0x2fe465+_0x12e2be(0x2a4)+_0x299b39+'\x22.');const _0x2a4fd1=this[_0x12e2be(0x12b)](_0x299b39);if(!_0x2a4fd1||_0x2a4fd1['runId']!==_0x2fe465)return error(_0x12e2be(0x190),'This\x20run\x20is\x20no\x20longer\x20the\x20current\x20run\x20for\x20the\x20task.');if(_0x479a15[_0x12e2be(0xf3)]!==_0x12e2be(0x2f3))return error(_0x12e2be(0x30c),_0x12e2be(0x2b3)+_0x479a15['status']+_0x12e2be(0x333));if(_0x31ee77&&_0x31ee77!==_0x479a15['pipeline'])return error(_0x12e2be(0x257),_0x12e2be(0x250)+_0x479a15[_0x12e2be(0xe6)]+_0x12e2be(0x2b5)+_0x31ee77+'\x22.');if(_0x12fa3c!=='completed')return error('INVALID_CHECKPOINT_STATUS',_0x12e2be(0x19b));const _0x14b231=_0x479a15[_0x12e2be(0x106)],_0x43e1be=_0x14b231[_0x12e2be(0x159)][_0x479a15['completedSteps'][_0x12e2be(0x152)]];if(!_0x43e1be||_0x43e1be['id']!==_0x4bc635)return error(_0x12e2be(0x281),_0x12e2be(0x260)+(_0x43e1be?.['id']||'none')+_0x12e2be(0x1e8)+_0x4bc635+'\x22.',{'expected_step':_0x43e1be?.['id']||null});if(_0x43e1be[_0x12e2be(0x144)]){const _0x17e36f=this[_0x12e2be(0x2f8)](_0x43e1be[_0x12e2be(0x144)],_0x479a15[_0x12e2be(0x2ac)]['path']);if(_0x17e36f)return _0x17e36f;}if(_0x479a15[_0x12e2be(0xe6)]===_0x12e2be(0x1cc)&&_0x4bc635===_0x12e2be(0x207)&&(!_0xb945e4||_0xb945e4['trim']()['length']<0xa))return error(_0x12e2be(0x226),_0x12e2be(0x204));_0x479a15[_0x12e2be(0x297)]['push']({'id':_0x4bc635,'summary':_0xb945e4||'','completedAt':this[_0x12e2be(0x1ab)]()[_0x12e2be(0x2f4)]()});if(_0x479a15[_0x12e2be(0x297)][_0x12e2be(0x152)]===_0x14b231[_0x12e2be(0x159)][_0x12e2be(0x152)])_0x479a15[_0x12e2be(0xf3)]=_0x12e2be(0x145);this[_0x12e2be(0x127)](_0x479a15),this[_0x12e2be(0x2c7)](_0x479a15,_0x12e2be(0x2be)+_0x4bc635,_0xb945e4||_0x12e2be(0x1b5));const _0x196cde={};_0x196cde[_0x12e2be(0x16c)]=!![];const _0x38014c=this['formatStatus'](_0x479a15,_0x196cde);if(MEMORY_TRIGGERS[_0x4bc635])_0x38014c[_0x12e2be(0x192)]=MEMORY_TRIGGERS[_0x4bc635];return _0x38014c;});}[_0xd8aaed(0x263)](_0x2b1151){const _0x18bf9c=_0xd8aaed,_0x2ea32b=this[_0x18bf9c(0x342)](path['join'](this[_0x18bf9c(0x25d)](_0x2b1151[_0x18bf9c(0x32e)]),'upgrade-lineage.json'));if(!_0x2ea32b||_0x2ea32b[_0x18bf9c(0x32e)]!==_0x2b1151[_0x18bf9c(0x32e)]||PipelineManager[_0x18bf9c(0x217)](_0x2ea32b['runId']))return;const _0x21c4be=this[_0x18bf9c(0x174)](_0x2b1151[_0x18bf9c(0x32e)],_0x2ea32b[_0x18bf9c(0x1bf)]);if(!_0x21c4be||_0x21c4be[_0x18bf9c(0xf3)]!==_0x18bf9c(0x246)||_0x21c4be[_0x18bf9c(0x26d)]?.[_0x18bf9c(0x1d2)]!==_0x18bf9c(0x357)||_0x21c4be[_0x18bf9c(0x26d)][_0x18bf9c(0xf4)]!==_0x2ea32b['transactionId']||!require(_0x18bf9c(0xed))[_0x18bf9c(0x245)](_0x21c4be['workspace']?.['path']||'',_0x2b1151[_0x18bf9c(0x2ac)][_0x18bf9c(0x2ce)]))return;_0x2b1151[_0x18bf9c(0x345)]={'task':_0x2b1151[_0x18bf9c(0x32e)],'runId':_0x21c4be[_0x18bf9c(0x1bf)],'reason':'runtime-upgrade','requirements':[..._0x21c4be[_0x18bf9c(0x205)]?.['criteria']||[]],'findings':JSON[_0x18bf9c(0x33d)](JSON[_0x18bf9c(0x230)](Object[_0x18bf9c(0x1f9)](_0x21c4be[_0x18bf9c(0x1f2)]?.[_0x18bf9c(0x11e)]||{})[_0x18bf9c(0x272)](_0x2f3bb2=>_0x2f3bb2[_0x18bf9c(0x206)]!==![]&&![_0x18bf9c(0x270),_0x18bf9c(0x283)][_0x18bf9c(0x1a4)](_0x2f3bb2[_0x18bf9c(0xf3)])))),'attempts':{..._0x21c4be[_0x18bf9c(0x241)]?.[_0x18bf9c(0x35b)]||{}},'noProgress':_0x21c4be[_0x18bf9c(0x241)]?.[_0x18bf9c(0x1c9)]||0x0,'lastFailure':_0x21c4be[_0x18bf9c(0x241)]?.[_0x18bf9c(0x343)]||null,'progress':(_0x21c4be[_0x18bf9c(0x15d)]||[])[_0x18bf9c(0x24f)](_0x2de462=>({'id':_0x2de462['id'],'noProgress':_0x2de462[_0x18bf9c(0x1c9)]||0x0,'lastFailure':_0x2de462[_0x18bf9c(0x343)]||null}))};if(_0x2b1151[_0x18bf9c(0x2e2)]!==0x3)return;_0x2b1151[_0x18bf9c(0x241)]['attempts']={..._0x2b1151['inherited'][_0x18bf9c(0x35b)]},_0x2b1151['execution'][_0x18bf9c(0x158)]=Math[_0x18bf9c(0x139)](0x0,_0x21c4be[_0x18bf9c(0x241)]?.['inheritedAttemptFloor']||0x0,...Object['values'](_0x2b1151[_0x18bf9c(0x345)][_0x18bf9c(0x35b)])),_0x2b1151[_0x18bf9c(0x241)][_0x18bf9c(0x1c9)]=_0x2b1151[_0x18bf9c(0x345)]['noProgress'],_0x2b1151[_0x18bf9c(0x241)]['lastFailure']=_0x2b1151[_0x18bf9c(0x345)][_0x18bf9c(0x343)];['no_progress',_0x18bf9c(0x198)][_0x18bf9c(0x1a4)](_0x21c4be[_0x18bf9c(0x241)]?.[_0x18bf9c(0x166)])&&(_0x2b1151['status']=_0x18bf9c(0x1df),_0x2b1151[_0x18bf9c(0x241)][_0x18bf9c(0x166)]=_0x21c4be[_0x18bf9c(0x241)][_0x18bf9c(0x166)]);for(const _0x31f2df of _0x2b1151[_0x18bf9c(0x345)][_0x18bf9c(0x11e)])if(_0x2b1151[_0x18bf9c(0x1f2)])_0x2b1151['quality'][_0x18bf9c(0x11e)][_0x31f2df['id']]={..._0x31f2df,'status':_0x18bf9c(0x29a),'inheritedFrom':_0x21c4be[_0x18bf9c(0x1bf)],'resolution':null};}[_0xd8aaed(0x251)]({task:_0x19ccf1,runId:_0x52666d,transactionId:_0x1164cc,epoch:_0x48a878,target:_0x4aa5e3}){const _0x16413b=_0xd8aaed,{readFence:_0x4c536d}=require('../core/admission-fence'),_0x13841b=_0x4c536d(this[_0x16413b(0x1fe)]);if(_0x13841b[_0x16413b(0x1c2)]!==_0x16413b(0x1b0)||_0x13841b[_0x16413b(0xf4)]!==_0x1164cc||_0x13841b['epoch']!==_0x48a878||_0x13841b['targetVersion']!==_0x4aa5e3?.[_0x16413b(0x240)]||_0x13841b[_0x16413b(0x2ad)]!==_0x4aa5e3?.[_0x16413b(0x35a)])return error(_0x16413b(0x1da),_0x16413b(0x129));const _0x4e515b=PipelineManager[_0x16413b(0x108)](_0x19ccf1)||PipelineManager[_0x16413b(0x217)](_0x52666d);if(_0x4e515b)return _0x4e515b;return this[_0x16413b(0x20f)](_0x19ccf1,()=>{const _0x16f1c4=_0x16413b,_0x40b3b6=this[_0x16f1c4(0x174)](_0x19ccf1,_0x52666d);if(!_0x40b3b6||!_0x40b3b6[_0x16f1c4(0x2ac)]?.[_0x16f1c4(0x2ce)]||!require(_0x16f1c4(0xed))[_0x16f1c4(0x245)](_0x40b3b6['workspace'][_0x16f1c4(0x2ce)],this['projectPath']))return error(_0x16f1c4(0x33b),'Run\x20does\x20not\x20belong\x20to\x20this\x20workspace.');const _0x3fcbef=_0x40b3b6['status']===_0x16f1c4(0x246)&&_0x40b3b6[_0x16f1c4(0x26d)]?.[_0x16f1c4(0xf4)]===_0x1164cc,_0x11b2fe={};_0x11b2fe[_0x16f1c4(0x16c)]=!![],_0x11b2fe[_0x16f1c4(0x1c4)]=!![];if(!_0x3fcbef&&[_0x16f1c4(0x145),_0x16f1c4(0x246)][_0x16f1c4(0x1a4)](_0x40b3b6[_0x16f1c4(0xf3)]))return _0x11b2fe;if(_0x40b3b6[_0x16f1c4(0x241)]?.['active']?.[_0x16f1c4(0x152)]||(_0x40b3b6[_0x16f1c4(0x241)]?.[_0x16f1c4(0x176)]||[])['some'](_0x2aa523=>_0x2aa523[_0x16f1c4(0x291)]===_0x16f1c4(0x292)&&_0x2aa523[_0x16f1c4(0x2f0)]!==_0x16f1c4(0x2cf)))return error(_0x16f1c4(0x289),_0x16f1c4(0x1fa));!_0x3fcbef&&(_0x40b3b6['status']='cancelled',_0x40b3b6['cancelledAt']=this[_0x16f1c4(0x1ab)]()[_0x16f1c4(0x2f4)](),_0x40b3b6['cancellation']={'reason':_0x16f1c4(0x357),'transactionId':_0x1164cc,'target':_0x4aa5e3,'epoch':_0x48a878,'cancelledAt':_0x40b3b6[_0x16f1c4(0x237)]},this[_0x16f1c4(0x127)](_0x40b3b6),this[_0x16f1c4(0x2c7)](_0x40b3b6,_0x16f1c4(0x1ba),_0x16f1c4(0x324)+_0x1164cc+_0x16f1c4(0x153)));this[_0x16f1c4(0x2aa)](path['join'](this['taskDir'](_0x19ccf1),_0x16f1c4(0x17c)),{'task':_0x19ccf1,'runId':_0x52666d,'transactionId':_0x1164cc,'target':_0x4aa5e3});const _0x354a36=this['readJson'](this[_0x16f1c4(0x10f)](_0x19ccf1));if(_0x354a36?.[_0x16f1c4(0x1bf)]===_0x52666d)fs[_0x16f1c4(0x1e5)](this[_0x16f1c4(0x10f)](_0x19ccf1));const _0xf7d0fc=new(require('../core/session'))[(_0x16f1c4(0x115))](this[_0x16f1c4(0x1fe)]);if(fs['existsSync'](_0xf7d0fc[_0x16f1c4(0x1ac)]))for(const _0x448dce of fs[_0x16f1c4(0x1d4)](_0xf7d0fc['directory'])){if(!/^[a-f0-9]{64}\.json$/[_0x16f1c4(0xf5)](_0x448dce))continue;const _0x47d816=this[_0x16f1c4(0x342)](path['join'](_0xf7d0fc['directory'],_0x448dce));if(_0x47d816?.[_0x16f1c4(0x32e)]===_0x19ccf1&&_0x47d816[_0x16f1c4(0x1bf)]===_0x52666d)_0xf7d0fc['transact'](_0x47d816['sessionId'],_0x2f030d=>{const _0x327306=_0x16f1c4,_0x97fafd={};_0x97fafd[_0x327306(0x32e)]=_0x19ccf1,_0x97fafd[_0x327306(0x1bf)]=_0x52666d,_0x97fafd[_0x327306(0x1d2)]='runtime-upgrade',_0x2f030d[_0x327306(0x27e)]=_0x97fafd,_0x2f030d[_0x327306(0x32e)]=null,_0x2f030d[_0x327306(0x1bf)]=null,_0x2f030d[_0x327306(0x23a)]=null,_0x2f030d[_0x327306(0x35b)]={};});}const _0xe4e0f={};return _0xe4e0f[_0x16f1c4(0x16c)]=!![],_0xe4e0f[_0x16f1c4(0x354)]=_0x3fcbef,_0xe4e0f[_0x16f1c4(0x26d)]=_0x40b3b6[_0x16f1c4(0x26d)],_0xe4e0f;});}[_0xd8aaed(0x2ba)]({task:_0x38c213,runId:_0x1f13ef,confirm:_0x53494d,target:target=_0xd8aaed(0x14e),sessionId:_0x382f47}={}){const _0x564f15=_0xd8aaed,_0x1ac53c=PipelineManager[_0x564f15(0x108)](_0x38c213);if(_0x1ac53c)return _0x1ac53c;if(!_0x1f13ef)return error(_0x564f15(0x224),_0x564f15(0x13b));const _0x18ae88=PipelineManager[_0x564f15(0x217)](_0x1f13ef);if(_0x18ae88)return _0x18ae88;if(_0x53494d!==!![])return error(_0x564f15(0x1f3),_0x564f15(0x308));if(![_0x564f15(0x14e),_0x564f15(0x183)][_0x564f15(0x1a4)](target))return error(_0x564f15(0x268),'target\x20must\x20be\x20run\x20or\x20creation.');return this[_0x564f15(0x20f)](_0x38c213,()=>{const _0x4efe60=_0x564f15;if(target===_0x4efe60(0x183)){const _0x436b22=this[_0x4efe60(0xee)](_0x38c213,_0x1f13ef),_0x108c0c=this[_0x4efe60(0x342)](_0x436b22);if(!_0x108c0c||_0x108c0c['task']!==_0x38c213||_0x108c0c[_0x4efe60(0x1bf)]!==_0x1f13ef||![_0x4efe60(0x2ca),'workspace-ready',_0x4efe60(0x304)][_0x4efe60(0x1a4)](_0x108c0c[_0x4efe60(0xf3)]))return error(_0x4efe60(0x287),'A\x20matching\x20unresolved\x20creation\x20intent\x20is\x20required.');if(!_0x382f47||_0x108c0c['args']?.[_0x4efe60(0x1ec)]&&_0x108c0c[_0x4efe60(0x239)]['sessionId']!==_0x382f47)return error('SESSION_MISMATCH',_0x4efe60(0x185));if(PipelineManager[_0x4efe60(0x1c6)](_0x108c0c[_0x4efe60(0x2e9)])||_0x108c0c[_0x4efe60(0x2ed)]&&(typeof _0x108c0c['originWorkspace']!==_0x4efe60(0x114)||normalizePath(_0x108c0c[_0x4efe60(0x2ed)])!==this[_0x4efe60(0x1fe)])||!_0x108c0c[_0x4efe60(0x2ac)]||_0x108c0c[_0x4efe60(0x2ac)][_0x4efe60(0x2b2)]||!_0x108c0c[_0x4efe60(0x2ac)]['path']||normalizePath(_0x108c0c[_0x4efe60(0x2ac)]['path'])!==this['projectPath'])return error('CREATION_WORKSPACE_MISMATCH','Intent\x20ownership\x20or\x20current\x20workspace\x20cannot\x20be\x20proven.');if(this[_0x4efe60(0x174)](_0x38c213,_0x1f13ef)||fs['existsSync'](this[_0x4efe60(0x28f)](_0x38c213,_0x1f13ef))||fs[_0x4efe60(0xd9)](this[_0x4efe60(0x10f)](_0x38c213)))return error('CREATION_RUN_EXISTS',_0x4efe60(0x320));this[_0x4efe60(0x2aa)](_0x436b22,{..._0x108c0c,'status':_0x4efe60(0x2d3),'resolvedAt':this['now']()[_0x4efe60(0x2f4)](),'resolvedBySession':_0x382f47,'resolution':'explicit-creation-reset'});const _0x1f4229={};return _0x1f4229[_0x4efe60(0x16c)]=!![],_0x1f4229[_0x4efe60(0x32e)]=_0x38c213,_0x1f4229[_0x4efe60(0x1bf)]=_0x1f13ef,_0x1f4229[_0x4efe60(0xe5)]=_0x4efe60(0x183),_0x1f4229['intentFile']=_0x436b22,_0x1f4229['state']=_0x4efe60(0x2d3),_0x1f4229[_0x4efe60(0x227)]=!![],_0x1f4229;}const _0x43137e=this[_0x4efe60(0x174)](_0x38c213,_0x1f13ef);if(!_0x43137e)return error(_0x4efe60(0x189),'Run\x20\x22'+_0x1f13ef+_0x4efe60(0x303));const _0x14af85=this[_0x4efe60(0x1c3)](_0x43137e);if(_0x14af85[_0x4efe60(0x1ff)]===_0x4efe60(0x323))return error(_0x14af85[_0x4efe60(0x1a7)],'This\x20run\x20cannot\x20be\x20changed\x20until\x20its\x20contract\x20is\x20verified.');if(_0x43137e['coordinator']&&_0x43137e['coordinator']!==_0x382f47)return error(_0x4efe60(0x132),_0x4efe60(0x18e));const _0x165922=this[_0x4efe60(0x12b)](_0x38c213);if(!_0x165922||_0x165922['runId']!==_0x1f13ef)return error('RUN_MISMATCH',_0x4efe60(0x187));if(!['active','paused'][_0x4efe60(0x1a4)](_0x43137e[_0x4efe60(0xf3)]))return error(_0x4efe60(0x30c),_0x4efe60(0x2b3)+_0x43137e['status']+',\x20not\x20active.');if(_0x43137e['execution']?.[_0x4efe60(0x2f3)][_0x4efe60(0x152)])return error('WORK_IN_FLIGHT',_0x4efe60(0xda));_0x43137e[_0x4efe60(0xf3)]=_0x4efe60(0x246),_0x43137e[_0x4efe60(0x237)]=this[_0x4efe60(0x1ab)]()[_0x4efe60(0x2f4)](),this[_0x4efe60(0x127)](_0x43137e),this['appendLedger'](_0x43137e,_0x4efe60(0x17e),_0x4efe60(0x133));const _0x4f0d90={};return _0x4f0d90[_0x4efe60(0x16c)]=!![],this[_0x4efe60(0x210)](_0x43137e,_0x4f0d90);});}[_0xd8aaed(0x203)](_0x562577,_0x84ccac){const _0x26c8e1=_0xd8aaed,_0x26fab3=PipelineManager[_0x26c8e1(0x108)](_0x562577);if(_0x26fab3)return _0x26fab3;if(!_0x84ccac)return error(_0x26c8e1(0x224),_0x26c8e1(0x2ff));const _0xd801f8=PipelineManager[_0x26c8e1(0x217)](_0x84ccac);if(_0xd801f8)return _0xd801f8;const _0x4d1f84=this[_0x26c8e1(0x328)](_0x562577,_0x84ccac);if(_0x4d1f84?.[_0x26c8e1(0x16c)]===![])return _0x4d1f84;if(!_0x4d1f84)return error(_0x26c8e1(0x189),_0x26c8e1(0x20e)+_0x84ccac+_0x26c8e1(0x303));const _0x4eecf7=this[_0x26c8e1(0x1c3)](_0x4d1f84);if(_0x4eecf7[_0x26c8e1(0x1ff)]===_0x26c8e1(0x323))return error(_0x4eecf7[_0x26c8e1(0x1a7)],_0x26c8e1(0x119));if(![_0x26c8e1(0x2f3),'paused'][_0x26c8e1(0x1a4)](_0x4d1f84[_0x26c8e1(0xf3)]))return error('RUN_NOT_ACTIVE',_0x26c8e1(0x2b3)+_0x4d1f84[_0x26c8e1(0xf3)]+',\x20not\x20resumable.');const _0x573326={};return _0x573326[_0x26c8e1(0x16c)]=!![],this[_0x26c8e1(0x210)](_0x4d1f84,_0x573326);}[_0xd8aaed(0x210)](_0x18a6f3,_0x216354={}){const _0x3264a5=_0xd8aaed,_0x57f18d={};_0x57f18d[_0x3264a5(0x2f7)]=![];const _0x533d2e=this[_0x3264a5(0x1c3)](_0x18a6f3,_0x57f18d),_0x58db8a=_0x18a6f3[_0x3264a5(0x2e2)]===0x3?_0x18a6f3[_0x3264a5(0x106)]:_0x18a6f3[_0x3264a5(0x106)]||PIPELINE_DEFINITIONS[_0x18a6f3['pipeline']],_0x4e2e03={..._0x216354};_0x4e2e03['active']=![],_0x4e2e03['state']=_0x18a6f3[_0x3264a5(0xf3)],_0x4e2e03[_0x3264a5(0x32e)]=_0x18a6f3['task'],_0x4e2e03['runId']=_0x18a6f3[_0x3264a5(0x1bf)],_0x4e2e03[_0x3264a5(0xe6)]=_0x18a6f3[_0x3264a5(0xe6)],_0x4e2e03['compatibility']=_0x533d2e,_0x4e2e03[_0x3264a5(0x323)]=!![],_0x4e2e03[_0x3264a5(0x319)]={},_0x4e2e03[_0x3264a5(0x319)][_0x3264a5(0x14f)]=_0x3264a5(0x121),_0x4e2e03[_0x3264a5(0x319)][_0x3264a5(0x1a7)]=_0x533d2e[_0x3264a5(0x1a7)];if(!_0x58db8a?.[_0x3264a5(0x159)])return _0x4e2e03;const _0x212672=_0x18a6f3['completedSteps']['length'],_0x11ad8e=_0x58db8a['steps'][_0x212672]||null,_0x398d7f={..._0x216354,'active':_0x18a6f3['status']===_0x3264a5(0x2f3),'state':_0x18a6f3[_0x3264a5(0xf3)],'task':_0x18a6f3['task'],'runId':_0x18a6f3[_0x3264a5(0x1bf)],'pipeline':_0x18a6f3[_0x3264a5(0xe6)],'pipeline_name':_0x58db8a[_0x3264a5(0x1dd)],'progress':_0x212672+'/'+_0x58db8a[_0x3264a5(0x159)][_0x3264a5(0x152)],'completed':_0x18a6f3[_0x3264a5(0x297)]['map'](_0x1d2ed8=>_0x1d2ed8['id']),'next_step':_0x11ad8e?{'id':_0x11ad8e['id'],'name':_0x11ad8e[_0x3264a5(0x1dd)],'skill':_0x11ad8e[_0x3264a5(0x144)]}:null,'workspacePath':_0x18a6f3[_0x3264a5(0x2ac)]['path'],'stateRoot':this[_0x3264a5(0x16f)],'ledgerPath':this[_0x3264a5(0x307)](_0x18a6f3[_0x3264a5(0x32e)],_0x18a6f3[_0x3264a5(0x1bf)]),'workspace':_0x18a6f3['workspace'],'compatibility':_0x533d2e,'cancellation':_0x18a6f3[_0x3264a5(0x26d)]||null,'inherited':_0x18a6f3[_0x3264a5(0x345)]||null,'tool_routing':TOOL_ROUTING};if(_0x533d2e[_0x3264a5(0x1ff)]===_0x3264a5(0x323))return{..._0x398d7f,'active':![],'blocked':!![],'nextAction':{'kind':_0x3264a5(0x121),'code':_0x533d2e[_0x3264a5(0x1a7)]}};const _0x2c7770={};_0x2c7770[_0x3264a5(0x14f)]=_0x3264a5(0x1a9);const _0x479051={};_0x479051[_0x3264a5(0x14f)]=_0x3264a5(0x29b);if(_0x18a6f3[_0x3264a5(0x2e2)]===0x3)Object[_0x3264a5(0x17f)](_0x398d7f,{...require('../core/workflow-policy')['response'](_0x18a6f3,_0x11ad8e?.['id']),'schemaVersion':0x3,'versions':_0x18a6f3[_0x3264a5(0x32c)],'acceptance':_0x18a6f3[_0x3264a5(0x205)],'sessionId':_0x18a6f3[_0x3264a5(0x10e)],'workItems':_0x18a6f3[_0x3264a5(0x101)],'plannedItems':_0x18a6f3[_0x3264a5(0x15d)]||[],'execution':_0x18a6f3[_0x3264a5(0x241)],'receiptObservations':_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x176)]||[],'verification_level':_0x18a6f3[_0x3264a5(0x1f2)]?_0x3264a5(0x347):_0x3264a5(0x138),'stop_reason':_0x18a6f3[_0x3264a5(0x241)]['stopReason'],'nextAction':_0x18a6f3[_0x3264a5(0xf3)]===_0x3264a5(0x246)?{'kind':_0x3264a5(0x34a),'reason':_0x18a6f3['cancellation']?.[_0x3264a5(0x1d2)]||_0x3264a5(0x246)}:_0x18a6f3[_0x3264a5(0xf3)]==='completed'?_0x2c7770:_0x18a6f3['status']==='paused'?{'kind':_0x3264a5(0x1df),'reason':_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x166)]}:_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x319)]||_0x479051});if(_0x18a6f3['quality']&&_0x216354[_0x3264a5(0x14c)]===![])_0x398d7f[_0x3264a5(0x1f2)]={'plan':_0x18a6f3[_0x3264a5(0x1f2)][_0x3264a5(0x216)],'freshness':_0x3264a5(0x199),'reason':'snapshot-not-refreshed','checks':Object[_0x3264a5(0x169)](_0x18a6f3[_0x3264a5(0x1f2)][_0x3264a5(0x216)][_0x3264a5(0x2bd)][_0x3264a5(0x24f)](_0x336d05=>[_0x336d05['id'],'unverified'])),'criteria':Object[_0x3264a5(0x169)](_0x18a6f3[_0x3264a5(0x1f2)][_0x3264a5(0x216)][_0x3264a5(0x267)]['map'](_0x1f83cc=>[_0x1f83cc['id'],{'expectedOutcome':_0x1f83cc[_0x3264a5(0x31c)],'source':_0x1f83cc[_0x3264a5(0x10b)],'status':_0x3264a5(0x199)}])),'missingChecks':_0x18a6f3[_0x3264a5(0x1f2)][_0x3264a5(0x216)][_0x3264a5(0x2bd)]['filter'](_0x4c3af4=>_0x4c3af4[_0x3264a5(0x206)]!==![])[_0x3264a5(0x24f)](_0x5939ac=>_0x5939ac['id']),'openFindings':Object[_0x3264a5(0x1f9)](_0x18a6f3[_0x3264a5(0x1f2)]['findings']||{})['filter'](_0x1e053a=>_0x1e053a[_0x3264a5(0x206)]!==![]),'unavailable':_0x18a6f3[_0x3264a5(0x1f2)]['unavailable']||{},'reviewProvenance':[],'impactEscalation':_0x18a6f3['quality']['impactEscalation']||null};else{if(_0x18a6f3[_0x3264a5(0x1f2)]){const _0x5634b5=this[_0x3264a5(0x241)][_0x3264a5(0x1a3)](_0x18a6f3)['id'],_0x5a295d=Object['fromEntries'](_0x18a6f3[_0x3264a5(0x1f2)]['plan'][_0x3264a5(0x2bd)][_0x3264a5(0x24f)](_0x1bc607=>{const _0x3cfc6e=_0x3264a5,_0x26f5e4=_0x18a6f3['execution']['evidence'][_0x3cfc6e(0x272)](_0xda2350=>_0xda2350[_0x3cfc6e(0x1f2)]?.[_0x3cfc6e(0x1e9)]===_0x1bc607['id']&&_0xda2350[_0x3cfc6e(0x1a3)]===_0x5634b5&&_0xda2350[_0x3cfc6e(0xd8)]===_0x18a6f3[_0x3cfc6e(0x205)]['revision']&&!_0xda2350['stale'])['at'](-0x1);return[_0x1bc607['id'],_0x26f5e4&&artifactEvidenceCurrent(_0x18a6f3,_0x26f5e4)?_0x26f5e4[_0x3cfc6e(0x1f2)][_0x3cfc6e(0xf3)]:'unverified'];})),_0x22e1ba=Object['fromEntries'](_0x18a6f3['quality'][_0x3264a5(0x216)]['criteria'][_0x3264a5(0x24f)](_0x16255b=>{const _0x171650=_0x3264a5,_0x4091a6=new Set([..._0x16255b[_0x171650(0x25b)],..._0x18a6f3[_0x171650(0x1f2)][_0x171650(0x216)][_0x171650(0x2bd)]['filter'](_0x2655a5=>_0x2655a5[_0x171650(0x206)]!==![]&&_0x2655a5[_0x171650(0x318)][_0x171650(0x1a4)](_0x16255b['id']))[_0x171650(0x24f)](_0x262bd4=>_0x262bd4['id'])]);return[_0x16255b['id'],{'expectedOutcome':_0x16255b[_0x171650(0x31c)],'source':_0x16255b[_0x171650(0x10b)],'status':[..._0x4091a6]['every'](_0x501ef1=>_0x5a295d[_0x501ef1]==='passed')&&(!_0x18a6f3[_0x171650(0x1f2)][_0x171650(0x216)]['artifactReview']||_0x18a6f3[_0x171650(0x1f2)][_0x171650(0x216)][_0x171650(0x2bd)]['some'](_0x9ef867=>_0x9ef867[_0x171650(0x206)]!==![]&&_0x9ef867[_0x171650(0x2bc)]?.[_0x171650(0x152)]))?_0x171650(0x2d8):[..._0x4091a6][_0x171650(0x25c)](_0x4d0ab5=>_0x5a295d[_0x4d0ab5]===_0x171650(0x134))?_0x171650(0x134):'unverified'}];}));_0x398d7f[_0x3264a5(0x1f2)]={'plan':_0x18a6f3['quality'][_0x3264a5(0x216)],'freshness':_0x3264a5(0x32d),'checks':_0x5a295d,'openFindings':this[_0x3264a5(0x241)][_0x3264a5(0x164)](_0x18a6f3,_0x5634b5),'impactEscalation':_0x18a6f3[_0x3264a5(0x1f2)]['impactEscalation']||null,'criteria':_0x22e1ba,'missingChecks':this['execution'][_0x3264a5(0x2d0)](_0x18a6f3,undefined,_0x5634b5),'unavailable':_0x18a6f3[_0x3264a5(0x1f2)]['unavailable']||{},'reviewProvenance':_0x18a6f3['execution'][_0x3264a5(0x2ae)][_0x3264a5(0x272)](_0x1df7d8=>_0x1df7d8[_0x3264a5(0x10b)]==='agent-review')[_0x3264a5(0x24f)](_0x300e53=>({'evidenceId':_0x300e53['id'],'stage':_0x300e53[_0x3264a5(0x120)]?.[_0x3264a5(0x34b)],'verdict':_0x300e53['review']?.[_0x3264a5(0x330)],'actorSeparated':_0x300e53['actorSeparated'],'artifactsCurrent':artifactEvidenceCurrent(_0x18a6f3,_0x300e53),'hostObservedIndependent':this[_0x3264a5(0x241)][_0x3264a5(0x352)](_0x18a6f3,_0x300e53),'workerHostConfirmed':(_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x176)]||[])['some'](_0x55b286=>_0x55b286[_0x3264a5(0x23a)]===_0x300e53['attemptId']&&_0x55b286[_0x3264a5(0x291)]===_0x3264a5(0x292))||(_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x2b4)]||[])[_0x3264a5(0x25c)](_0x4a8d0d=>_0x4a8d0d[_0x3264a5(0x23a)]===_0x300e53['attemptId']&&_0x4a8d0d[_0x3264a5(0x22d)]?.[_0x3264a5(0x10b)]==='host-observed'),'modelHostConfirmed':(_0x18a6f3['execution'][_0x3264a5(0x176)]||[])[_0x3264a5(0x25c)](_0x4f2757=>_0x4f2757[_0x3264a5(0x23a)]===_0x300e53[_0x3264a5(0x23a)]&&_0x4f2757['modelStatus']===_0x3264a5(0x292))||(_0x18a6f3[_0x3264a5(0x241)][_0x3264a5(0x2b4)]||[])[_0x3264a5(0x25c)](_0x352c86=>_0x352c86[_0x3264a5(0x23a)]===_0x300e53[_0x3264a5(0x23a)]&&_0x352c86['modelReceipt']?.['source']===_0x3264a5(0x23e)&&_0x352c86[_0x3264a5(0x105)]?.[_0x3264a5(0xf3)]==='confirmed')}))};}else _0x398d7f[_0x3264a5(0x171)]=_0x3264a5(0x146);}if(_0x11ad8e?.['skill']){const _0x321482=_0x18a6f3[_0x3264a5(0x2e2)]===0x3&&_0x18a6f3['skillPins']?.[_0x11ad8e[_0x3264a5(0x144)]]?null:this['requiredSkillError'](_0x11ad8e[_0x3264a5(0x144)],_0x18a6f3[_0x3264a5(0x2ac)][_0x3264a5(0x2ce)]),_0x24d394={};_0x24d394[_0x3264a5(0x2f3)]=![],_0x24d394[_0x3264a5(0x323)]=!![];if(_0x321482)Object[_0x3264a5(0x17f)](_0x398d7f,_0x321482,_0x24d394);else _0x398d7f[_0x3264a5(0x247)]=_0x3264a5(0x2a6)+_0x11ad8e[_0x3264a5(0x144)]+_0x3264a5(0x238)+_0x11ad8e['id']+'\x22.';}if(_0x11ad8e&&[_0x3264a5(0x32f),_0x3264a5(0x102),_0x3264a5(0xe7)][_0x3264a5(0x1a4)](_0x11ad8e['id']))_0x398d7f['domain_skills']=DOMAIN_SKILL_REMINDER;return _0x398d7f;}[_0xd8aaed(0x10c)](_0xef7a70){const _0x194722=_0xd8aaed,_0xe30fa4=[];if(!fs[_0x194722(0xd9)](_0xef7a70))return _0xe30fa4;const _0x3a27a3={};_0x3a27a3[_0x194722(0x331)]=!![];for(const _0x491702 of fs[_0x194722(0x1d4)](_0xef7a70,_0x3a27a3)){if(!_0x491702[_0x194722(0x228)]()||_0x491702[_0x194722(0x1dd)]['startsWith']('.'))continue;const _0x3b76f3=path[_0x194722(0xe9)](_0xef7a70,_0x491702[_0x194722(0x1dd)],'runs');if(!fs['existsSync'](_0x3b76f3))continue;const _0x18f2de={};_0x18f2de[_0x194722(0x331)]=!![];for(const _0x146621 of fs['readdirSync'](_0x3b76f3,_0x18f2de)){if(!_0x146621[_0x194722(0x228)]())continue;const _0x4a6b08=path[_0x194722(0xe9)](_0x3b76f3,_0x146621[_0x194722(0x1dd)]);let _0xc78e91;if(_0xef7a70===this[_0x194722(0x16f)])_0xc78e91=this[_0x194722(0x174)](_0x491702[_0x194722(0x1dd)],_0x146621['name']);else{const _0x822d03={};_0x822d03[_0x194722(0x32e)]=_0x491702[_0x194722(0x1dd)],_0x822d03[_0x194722(0x1bf)]=_0x146621['name'];const _0x595d4c=require('../core/run-checkpoint')[_0x194722(0x19f)](path[_0x194722(0xe9)](_0x4a6b08,_0x194722(0x248)),_0x822d03);_0xc78e91=_0x595d4c?require(_0x194722(0xfb))[_0x194722(0x1f5)](_0x595d4c,_0x4a6b08):new Execution({'runDir':()=>_0x4a6b08})[_0x194722(0x28c)](_0x491702[_0x194722(0x1dd)],_0x146621[_0x194722(0x1dd)],this['readJson'](path[_0x194722(0xe9)](_0x4a6b08,_0x194722(0x2e4))));}if(_0xc78e91&&this[_0x194722(0xdb)](_0xc78e91))_0xe30fa4[_0x194722(0x316)](_0xc78e91);else{if(_0xc78e91)this[_0x194722(0x1f1)](_0xc78e91);}}}return _0xe30fa4;}[_0xd8aaed(0x1b7)](){const _0xda1401=_0xd8aaed;return this[_0xda1401(0x10c)](this[_0xda1401(0x16f)]);}[_0xd8aaed(0x202)](){const _0x1a4e84=_0xd8aaed;return this[_0x1a4e84(0x1b7)]()[_0x1a4e84(0x272)](_0x577965=>_0x577965['status']===_0x1a4e84(0x2f3))[_0x1a4e84(0x24f)](_0x16e63f=>this[_0x1a4e84(0x210)](_0x16e63f));}[_0xd8aaed(0x2d7)](_0x5e453f){const _0x4356a6=_0xd8aaed;let _0x255ca6=![];const _0xc3aba4=(_0x491176,_0x4accf2=0xa0)=>{const _0x5e181d=_0x5ead;if(_0x491176===undefined||_0x491176===null)return null;const _0x5056fb=String(_0x491176);if(_0x5056fb[_0x5e181d(0x152)]<=_0x4accf2)return _0x5056fb;return _0x255ca6=!![],_0x5056fb[_0x5e181d(0x31f)](0x0,_0x4accf2)+_0x5e181d(0x1ae);},_0x94febe=_0x44a145=>![_0x4356a6(0x145),_0x4356a6(0x246)][_0x4356a6(0x1a4)](_0x44a145[_0x4356a6(0x1c2)]),_0x1ca78b=_0x1ce823=>({'code':_0xc3aba4(_0x1ce823['code'],0x50),'task':_0xc3aba4(_0x1ce823[_0x4356a6(0x32e)],0x40),'runId':_0xc3aba4(_0x1ce823[_0x4356a6(0x1bf)],0x20),'path':_0xc3aba4(_0x1ce823[_0x4356a6(0x2ce)],0xf0),'error':_0xc3aba4(_0x1ce823[_0x4356a6(0x1ad)]||_0x1ce823[_0x4356a6(0x33f)],0xf0)}),_0x3314ca={'success':_0x5e453f[_0x4356a6(0x16c)],'active':_0x5e453f[_0x4356a6(0x2f3)],'state':_0x5e453f[_0x4356a6(0x1c2)],'summary':_0x4356a6(0x182),'stateRoot':_0xc3aba4(_0x5e453f[_0x4356a6(0x16f)],0xf0),'pipelines':[..._0x5e453f[_0x4356a6(0x1e6)]][_0x4356a6(0x1d3)]((_0x181782,_0x5e436d)=>Number(_0x94febe(_0x5e436d))-Number(_0x94febe(_0x181782)))[_0x4356a6(0x31f)](0x0,0x8)[_0x4356a6(0x24f)](_0x24d329=>({'task':_0xc3aba4(_0x24d329[_0x4356a6(0x32e)],0x40),'runId':_0xc3aba4(_0x24d329[_0x4356a6(0x1bf)],0x20),'pipeline':_0xc3aba4(_0x24d329[_0x4356a6(0xe6)],0x50),'state':_0xc3aba4(_0x24d329[_0x4356a6(0x1c2)],0x20),'active':_0x24d329[_0x4356a6(0x2f3)],'blocked':_0x24d329['blocked']===!![],'success':_0x24d329[_0x4356a6(0x16c)],'code':_0xc3aba4(_0x24d329['code'],0x50),'error':_0xc3aba4(_0x24d329[_0x4356a6(0x1ad)],0xf0),'resumable':_0x24d329[_0x4356a6(0x323)]!==!![]&&['active',_0x4356a6(0x1df),'initializing'][_0x4356a6(0x1a4)](_0x24d329[_0x4356a6(0x1c2)])&&_0x24d329[_0x4356a6(0x180)]?.[_0x4356a6(0x1ff)]!==_0x4356a6(0x323),'progress':_0xc3aba4(_0x24d329[_0x4356a6(0x2f6)],0x28),'sessionId':_0xc3aba4(_0x24d329['sessionId'],0x80),'workspacePath':_0xc3aba4(_0x24d329[_0x4356a6(0x2af)],0xf0),'next_step':_0x24d329['next_step']?{'id':_0xc3aba4(_0x24d329[_0x4356a6(0x2bb)]['id'],0x50),'name':_0xc3aba4(_0x24d329[_0x4356a6(0x2bb)][_0x4356a6(0x1dd)],0x50),'skill':_0xc3aba4(_0x24d329[_0x4356a6(0x2bb)][_0x4356a6(0x144)],0x50)}:null,'stop_reason':_0xc3aba4(_0x24d329['stop_reason'],0x50),'nextAction':_0x24d329[_0x4356a6(0x319)]?{'kind':_0xc3aba4(_0x24d329[_0x4356a6(0x319)][_0x4356a6(0x14f)],0x50),'reason':_0xc3aba4(_0x24d329[_0x4356a6(0x319)]['reason']),'code':_0xc3aba4(_0x24d329[_0x4356a6(0x319)][_0x4356a6(0x1a7)],0x50)}:null,'compatibility':{'mutation':_0xc3aba4(_0x24d329[_0x4356a6(0x180)]?.['mutation'],0x50),'code':_0xc3aba4(_0x24d329[_0x4356a6(0x180)]?.[_0x4356a6(0x1a7)],0x50)}})),'pendingCreations':_0x5e453f[_0x4356a6(0x1e4)][_0x4356a6(0x31f)](0x0,0x4)['map'](_0x4c5c86=>({'task':_0xc3aba4(_0x4c5c86[_0x4356a6(0x32e)],0x40),'runId':_0xc3aba4(_0x4c5c86['runId'],0x20),'status':_0xc3aba4(_0x4c5c86[_0x4356a6(0xf3)],0x20),'workspacePath':_0xc3aba4(_0x4c5c86['workspace']?.[_0x4356a6(0x2ce)],0xf0),'error':_0x4c5c86[_0x4356a6(0x1ad)]?_0x1ca78b(_0x4c5c86[_0x4356a6(0x1ad)]):null,'availableActions':{'resume':_0x4c5c86['availableActions']?.[_0x4356a6(0x326)]===!![],'abandon':_0x4c5c86[_0x4356a6(0x1e3)]?.['abandon']===!![]}})),'migrationWarnings':_0x5e453f[_0x4356a6(0x151)][_0x4356a6(0x31f)](0x0,0x3)[_0x4356a6(0x24f)](_0x1ca78b),'foreignWorkspaceStates':_0x5e453f[_0x4356a6(0x1b1)][_0x4356a6(0x31f)](0x0,0x3)['map'](_0x1ca78b),'counts':{},'truncated':![],'details':_0x4356a6(0x195)},_0x3a77b1=[_0x4356a6(0x1e6),_0x4356a6(0x1e4),'migrationWarnings','foreignWorkspaceStates'],_0x1b3d18=()=>{const _0x565f7a=_0x4356a6;for(const _0x5b78cc of _0x3a77b1)_0x3314ca[_0x565f7a(0x1a1)][_0x5b78cc]={'total':_0x5e453f[_0x5b78cc][_0x565f7a(0x152)],'displayed':_0x3314ca[_0x5b78cc][_0x565f7a(0x152)],'omitted':_0x5e453f[_0x5b78cc]['length']-_0x3314ca[_0x5b78cc]['length']};Object['assign'](_0x3314ca[_0x565f7a(0x1a1)][_0x565f7a(0x1e6)],{'unfinished':_0x5e453f[_0x565f7a(0x1e6)][_0x565f7a(0x272)](_0x94febe)[_0x565f7a(0x152)],'active':_0x5e453f[_0x565f7a(0x1e6)][_0x565f7a(0x272)](_0x531543=>_0x531543[_0x565f7a(0x1c2)]==='active')[_0x565f7a(0x152)],'paused':_0x5e453f[_0x565f7a(0x1e6)][_0x565f7a(0x272)](_0x13dee8=>_0x13dee8[_0x565f7a(0x1c2)]===_0x565f7a(0x1df))[_0x565f7a(0x152)],'completed':_0x5e453f['pipelines']['filter'](_0x5e0593=>_0x5e0593[_0x565f7a(0x1c2)]===_0x565f7a(0x145))[_0x565f7a(0x152)],'cancelled':_0x5e453f['pipelines'][_0x565f7a(0x272)](_0x3e148a=>_0x3e148a[_0x565f7a(0x1c2)]==='cancelled')[_0x565f7a(0x152)]}),_0x3314ca['truncated']=_0x255ca6||_0x3a77b1[_0x565f7a(0x25c)](_0x12af53=>_0x3314ca['counts'][_0x12af53][_0x565f7a(0x1d5)]>0x0);};_0x1b3d18();while(Buffer[_0x4356a6(0x24e)](JSON[_0x4356a6(0x230)](_0x3314ca))>0xc*0x400){const _0x2c71fb=[_0x4356a6(0x151),'foreignWorkspaceStates',_0x4356a6(0x1e6),_0x4356a6(0x1e4)][_0x4356a6(0x2c9)](_0xfb4e04=>_0x3314ca[_0xfb4e04][_0x4356a6(0x152)]);if(!_0x2c71fb)break;_0x3314ca[_0x2c71fb][_0x4356a6(0x26f)](),_0x1b3d18();}return _0x3314ca;}[_0xd8aaed(0x336)](_0x20e63f,_0x200f95,_0x350346={}){const _0x49966c=_0xd8aaed;try{if(!_0x20e63f){const _0x3ed235=[];if(fs[_0x49966c(0xd9)](this['stateRoot'])){const _0x4a9a33={};_0x4a9a33[_0x49966c(0x331)]=!![];for(const _0x5c1128 of fs['readdirSync'](this[_0x49966c(0x16f)],_0x4a9a33)){if(!_0x5c1128[_0x49966c(0x228)]()||_0x5c1128[_0x49966c(0x1dd)]['startsWith']('.'))continue;const _0x45a779=this[_0x49966c(0x12b)](_0x5c1128[_0x49966c(0x1dd)]);if(_0x45a779&&this[_0x49966c(0xdb)](_0x45a779))_0x3ed235['push'](this[_0x49966c(0x210)](_0x45a779,_0x350346));else{if(_0x45a779)this[_0x49966c(0x1f1)](_0x45a779);}}}const _0x144318={'success':!![],'active':_0x3ed235[_0x49966c(0x25c)](_0x582870=>_0x582870['active']),'state':_0x3ed235[_0x49966c(0x152)]?_0x49966c(0x254):_0x49966c(0x213),'pipelines':_0x3ed235,'stateRoot':this[_0x49966c(0x16f)],'migrationWarnings':this[_0x49966c(0x151)],'foreignWorkspaceStates':this[_0x49966c(0x1b1)]||[],'pendingCreations':this[_0x49966c(0x1e4)](),'message':_0x3ed235[_0x49966c(0x152)]?_0x3ed235[_0x49966c(0x152)]+_0x49966c(0x1e0):_0x49966c(0xfc),'tool_routing':TOOL_ROUTING};return _0x350346[_0x49966c(0xe8)]===_0x49966c(0x182)?this[_0x49966c(0x2d7)](_0x144318):_0x144318;}const _0x5c4652=PipelineManager[_0x49966c(0x108)](_0x20e63f);if(_0x5c4652)return _0x5c4652;if(_0x200f95){const _0x598922=PipelineManager['validateRunId'](_0x200f95);if(_0x598922)return _0x598922;}const _0x113d03=_0x200f95?this['readRun'](_0x20e63f,_0x200f95):this[_0x49966c(0x12b)](_0x20e63f);if(!_0x113d03)return error(_0x49966c(0x189),_0x49966c(0x17b)+_0x20e63f+'\x22.',{'active':![],'state':'none','task':_0x20e63f,'stateRoot':this[_0x49966c(0x16f)],'pendingCreations':this[_0x49966c(0x1e4)](_0x20e63f)});const _0x32439a={..._0x350346};return _0x32439a[_0x49966c(0x16c)]=!![],{...this['formatStatus'](_0x113d03,_0x32439a),'pendingCreations':this[_0x49966c(0x1e4)](_0x20e63f)};}catch(_0x236fb3){if(![_0x49966c(0x322),_0x49966c(0x1f7)][_0x49966c(0x1a4)](_0x236fb3[_0x49966c(0x1a7)]))throw _0x236fb3;return error(_0x49966c(0x2d4),_0x49966c(0x220),{'active':![],'task':_0x20e63f||null,'diagnostic':creationFailure(_0x236fb3,_0x49966c(0x1c1))});}}[_0xd8aaed(0x1f4)](_0x3b5a9b,_0x14ee05){const _0x15633c=_0xd8aaed,_0x362f86=PipelineManager['validateTask'](_0x3b5a9b);if(_0x362f86)return _0x362f86;const _0x43bd64=PipelineManager['validateRunId'](_0x14ee05);if(_0x43bd64)return _0x43bd64;const _0x335a1e=this[_0x15633c(0x174)](_0x3b5a9b,_0x14ee05);if(!_0x335a1e)return error(_0x15633c(0x189),_0x15633c(0x20e)+_0x14ee05+_0x15633c(0x303));if(!_0x335a1e[_0x15633c(0x2ac)]['managed']||_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x24b)]!==_0x15633c(0x1c5))return error(_0x15633c(0x277),'Run\x20does\x20not\x20use\x20a\x20managed\x20worktree.');const _0x2c15c3={};_0x2c15c3[_0x15633c(0x128)]=_0x335a1e['workspace'][_0x15633c(0x2ce)];const _0x5d87c8=this[_0x15633c(0x301)](['status',_0x15633c(0x34e)],_0x2c15c3);if(!_0x335a1e['workspace'][_0x15633c(0x2cc)])return error('WORKTREE_BASE_BRANCH_MISSING',_0x15633c(0x113));const _0x158984=this[_0x15633c(0x301)](['rev-list','--left-right',_0x15633c(0x168),_0x335a1e['workspace']['baseBranch']+_0x15633c(0x1ae)+_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x118)]]),_0xc4a65=this[_0x15633c(0x301)]([_0x15633c(0x337),_0x15633c(0x1f6),_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x2a9)]+_0x15633c(0x1ae)+_0x335a1e[_0x15633c(0x2ac)]['branch']]),[_0x33c2cb='0',_0x4fdc5e='0']=_0x158984['stdout'][_0x15633c(0x21a)](/\s+/);return{'success':_0x5d87c8['ok']&&_0x158984['ok']&&_0xc4a65['ok'],'task':_0x3b5a9b,'runId':_0x14ee05,'workspacePath':_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x2ce)],'branch':_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x118)],'baseRef':_0x335a1e[_0x15633c(0x2ac)]['baseRef'],'baseBranch':_0x335a1e[_0x15633c(0x2ac)][_0x15633c(0x2cc)],'clean':_0x5d87c8['ok']&&!_0x5d87c8[_0x15633c(0x2c8)],'status':_0x5d87c8[_0x15633c(0x2c8)],'ahead':Number(_0x4fdc5e),'behind':Number(_0x33c2cb),'changedFiles':_0xc4a65['stdout']?_0xc4a65[_0x15633c(0x2c8)][_0x15633c(0x21a)](/\r?\n/)['filter'](Boolean):[],'mergePerformed':![]};}[_0xd8aaed(0x282)]({task:_0x1e9e06,runId:_0x6dfb83,confirm:_0x537960,sessionId:_0x13b790}={}){const _0x4e5195=_0xd8aaed,_0x474163=PipelineManager['validateTask'](_0x1e9e06);if(_0x474163)return _0x474163;const _0x1c4e57=PipelineManager[_0x4e5195(0x217)](_0x6dfb83);if(_0x1c4e57)return _0x1c4e57;if(_0x537960!==!![])return error(_0x4e5195(0x12e),_0x4e5195(0x29d));return this[_0x4e5195(0x20f)](_0x1e9e06,()=>{const _0x2ebdc8=_0x4e5195,_0x1899f5=this[_0x2ebdc8(0x174)](_0x1e9e06,_0x6dfb83);if(!_0x1899f5)return error(_0x2ebdc8(0x189),'Run\x20\x22'+_0x6dfb83+_0x2ebdc8(0x303));if(_0x1899f5[_0x2ebdc8(0x10e)]&&_0x1899f5[_0x2ebdc8(0x10e)]!==_0x13b790)return error(_0x2ebdc8(0x132),_0x2ebdc8(0x2c5));if(![_0x2ebdc8(0x145),'cancelled'][_0x2ebdc8(0x1a4)](_0x1899f5[_0x2ebdc8(0xf3)]))return error(_0x2ebdc8(0x35e),_0x2ebdc8(0x2e3));if(_0x1899f5[_0x2ebdc8(0x241)]?.['active']?.[_0x2ebdc8(0x152)])return error('WORK_IN_FLIGHT','Stop\x20and\x20release\x20active\x20workers\x20before\x20worktree\x20cleanup.');if(!_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x2b2)]||_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0xf3)]==='removed')return error(_0x2ebdc8(0x277),'No\x20managed\x20worktree\x20is\x20available\x20for\x20cleanup.');const _0x602648={};_0x602648[_0x2ebdc8(0x128)]=_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x2ce)];const _0x5892fb=this[_0x2ebdc8(0x301)]([_0x2ebdc8(0xf3),_0x2ebdc8(0x34e)],_0x602648);if(!_0x5892fb['ok']||_0x5892fb[_0x2ebdc8(0x2c8)])return error(_0x2ebdc8(0x11c),_0x2ebdc8(0x1ef),{'status':_0x5892fb[_0x2ebdc8(0x2c8)]});if(!_0x1899f5['workspace'][_0x2ebdc8(0x2cc)])return error(_0x2ebdc8(0x200),_0x2ebdc8(0x2a1));const _0x5a66a7=this['runGit']([_0x2ebdc8(0x1d7),_0x2ebdc8(0x32b),_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x118)],_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x2cc)]]);if(!_0x5a66a7['ok'])return error('WORKTREE_UNMERGED',_0x2ebdc8(0x35c));const _0x27a419=this[_0x2ebdc8(0x301)]([_0x2ebdc8(0x1c5),_0x2ebdc8(0x15b),_0x1899f5[_0x2ebdc8(0x2ac)]['path']]);if(!_0x27a419['ok'])return error(_0x2ebdc8(0x1d8),_0x27a419[_0x2ebdc8(0x358)]);_0x1899f5[_0x2ebdc8(0x2ac)]['status']=_0x2ebdc8(0x235),_0x1899f5[_0x2ebdc8(0x2ac)][_0x2ebdc8(0x2e1)]=this['now']()['toISOString'](),this['writeState'](_0x1899f5),this[_0x2ebdc8(0x2c7)](_0x1899f5,_0x2ebdc8(0x25a),_0x2ebdc8(0x22c)+_0x1899f5[_0x2ebdc8(0x2ac)]['branch']);const _0x4dfd4c={};return _0x4dfd4c[_0x2ebdc8(0x16c)]=!![],_0x4dfd4c[_0x2ebdc8(0x32e)]=_0x1e9e06,_0x4dfd4c[_0x2ebdc8(0x1bf)]=_0x6dfb83,_0x4dfd4c[_0x2ebdc8(0x118)]=_0x1899f5[_0x2ebdc8(0x2ac)]['branch'],_0x4dfd4c['branchDeleted']=![],_0x4dfd4c;});}[_0xd8aaed(0x11d)](){const _0x3a3313=_0xd8aaed,_0x311667=new Set([path[_0x3a3313(0xe9)](this[_0x3a3313(0x1fe)],_0x3a3313(0x24d),_0x3a3313(0x1e6)),this[_0x3a3313(0x16f)]]);for(const _0x4d2154 of _0x311667){if(!fs[_0x3a3313(0xd9)](_0x4d2154))continue;const _0x4375b4={};_0x4375b4['withFileTypes']=!![];for(const _0x1609ff of fs[_0x3a3313(0x1d4)](_0x4d2154,_0x4375b4)){if(!_0x1609ff[_0x3a3313(0x228)]()||_0x1609ff[_0x3a3313(0x1dd)]['startsWith']('.'))continue;const _0xcd913f=path['join'](_0x4d2154,_0x1609ff[_0x3a3313(0x1dd)],_0x3a3313(0x2e4));if(!fs['existsSync'](_0xcd913f))continue;const _0x1d31d7=fs['readFileSync'](_0xcd913f,_0x3a3313(0x160));let _0x3d03dc;try{_0x3d03dc=JSON[_0x3a3313(0x33d)](_0x1d31d7);}catch(_0x5784ba){const _0x480c88={};_0x480c88[_0x3a3313(0x1a7)]=_0x3a3313(0x13f),_0x480c88[_0x3a3313(0x2ce)]=_0xcd913f,_0x480c88[_0x3a3313(0x1ad)]=_0x5784ba[_0x3a3313(0x33f)],this[_0x3a3313(0x151)][_0x3a3313(0x316)](_0x480c88);continue;}if(!_0x3d03dc?.[_0x3a3313(0xe6)]||!PIPELINE_DEFINITIONS[_0x3d03dc[_0x3a3313(0xe6)]]){const _0x321845={};_0x321845['code']='LEGACY_STATE_INVALID',_0x321845['path']=_0xcd913f,_0x321845[_0x3a3313(0x1ad)]='Missing\x20or\x20invalid\x20pipeline.',this[_0x3a3313(0x151)][_0x3a3313(0x316)](_0x321845);continue;}const _0x1e4c36=crypto['createHash'](_0x3a3313(0x2ab))['update'](_0xcd913f+'\x00'+_0x1d31d7)['digest'](_0x3a3313(0x31e)),_0x35aea3=path[_0x3a3313(0xe9)](this['stateRoot'],_0x3a3313(0x211),_0x1e4c36+_0x3a3313(0x298));if(fs[_0x3a3313(0xd9)](_0x35aea3))continue;const _0x3ed566=String(_0x3d03dc['startedAt']||this[_0x3a3313(0x1ab)]()['toISOString']())[_0x3a3313(0x31f)](0x0,0xa)[_0x3a3313(0x271)](/-/g,''),_0x2fecb9=PipelineManager[_0x3a3313(0x108)](_0x1609ff[_0x3a3313(0x1dd)])?_0x3a3313(0xdc)+_0x3d03dc[_0x3a3313(0xe6)]+'-'+_0x3ed566:_0x1609ff['name'];let _0x43ffa2=_0x2fecb9,_0x5a0328=0x0;while(this['readCurrent'](_0x43ffa2)){const _0x5a511f=_0x5a0328++===0x0?_0x1e4c36[_0x3a3313(0x31f)](0x0,0x6):_0x1e4c36[_0x3a3313(0x31f)](0x0,0x4)+'-'+_0x5a0328;_0x43ffa2=_0x2fecb9['slice'](0x0,0x3f-_0x5a511f['length'])+'-'+_0x5a511f;}const _0x3dd490=this[_0x3a3313(0xfa)](),_0x367a42=PIPELINE_DEFINITIONS[_0x3d03dc[_0x3a3313(0xe6)]],_0x8af5f5=(_0x3d03dc[_0x3a3313(0x297)]||[])[_0x3a3313(0x24f)](_0x1994df=>typeof _0x1994df==='string'?{'id':_0x1994df,'summary':_0x3a3313(0xf9),'completedAt':this[_0x3a3313(0x1ab)]()[_0x3a3313(0x2f4)]()}:_0x1994df),_0x5124ea={};_0x5124ea[_0x3a3313(0x24b)]='current',_0x5124ea['path']=this[_0x3a3313(0x1fe)],_0x5124ea[_0x3a3313(0x2b2)]=![],_0x5124ea[_0x3a3313(0xf3)]=_0x3a3313(0x2b0);const _0x14e6d5={'schemaVersion':0x2,'task':_0x43ffa2,'runId':_0x3dd490,'pipeline':_0x3d03dc[_0x3a3313(0xe6)],'status':_0x8af5f5['length']>=_0x367a42[_0x3a3313(0x159)]['length']?'completed':_0x3a3313(0x2f3),'completedSteps':_0x8af5f5,'workspace':_0x5124ea,'startedAt':_0x3d03dc[_0x3a3313(0x1a8)]||this['now']()[_0x3a3313(0x2f4)](),'updatedAt':this['now']()[_0x3a3313(0x2f4)](),'migratedFrom':_0xcd913f},_0x5675d0={};_0x5675d0['setCurrent']=!![],this['writeState'](_0x14e6d5,_0x5675d0);const _0x1b9829=path[_0x3a3313(0xe9)](_0x4d2154,_0x1609ff[_0x3a3313(0x1dd)],'progress.md'),_0xaa1ee9=fs[_0x3a3313(0xd9)](_0x1b9829)?fs[_0x3a3313(0x1a2)](_0x1b9829,_0x3a3313(0x160)):_0x3a3313(0x2a3);this[_0x3a3313(0x2c7)](_0x14e6d5,'1.x\x20task\x20state\x20imported',_0x3a3313(0x29c)+_0xcd913f+'\x0a\x0a'+_0xaa1ee9),this[_0x3a3313(0x2aa)](_0x35aea3,{'source':_0xcd913f,'task':_0x43ffa2,'runId':_0x3dd490,'fingerprint':_0x1e4c36,'migratedAt':this[_0x3a3313(0x1ab)]()['toISOString']()});}}}[_0xd8aaed(0x15f)](){const _0x49dd37=_0xd8aaed;if(!fs[_0x49dd37(0xd9)](this[_0x49dd37(0x1e7)]))return;const _0x4eaf37=fs[_0x49dd37(0x1a2)](this[_0x49dd37(0x1e7)],_0x49dd37(0x160));let _0x1320b2;try{_0x1320b2=JSON['parse'](_0x4eaf37);}catch(_0xb14d88){this[_0x49dd37(0x151)][_0x49dd37(0x316)]({'code':_0x49dd37(0x13f),'path':this['legacyStateFilePath'],'error':_0xb14d88[_0x49dd37(0x33f)]});return;}if(!_0x1320b2?.['pipeline']||!PIPELINE_DEFINITIONS[_0x1320b2[_0x49dd37(0xe6)]]){this[_0x49dd37(0x151)]['push']({'code':'LEGACY_STATE_INVALID','path':this['legacyStateFilePath'],'error':_0x49dd37(0x13c)});return;}const _0x49eefd=crypto['createHash'](_0x49dd37(0x2ab))[_0x49dd37(0x135)](_0x4eaf37)['digest'](_0x49dd37(0x31e)),_0xed0a49=path[_0x49dd37(0xe9)](this[_0x49dd37(0x16f)],_0x49dd37(0x211),_0x49eefd+_0x49dd37(0x298));if(fs['existsSync'](_0xed0a49))return;const _0x215b8d=String(_0x1320b2[_0x49dd37(0x1a8)]||this[_0x49dd37(0x1ab)]()[_0x49dd37(0x2f4)]())['slice'](0x0,0xa)['replace'](/-/g,''),_0x162055=_0x49dd37(0xdc)+_0x1320b2[_0x49dd37(0xe6)]+'-'+_0x215b8d;let _0x4dcf4c=_0x162055,_0x5de50a=0x0;while(fs['existsSync'](this[_0x49dd37(0x25d)](_0x4dcf4c))){const _0x365e3f=_0x5de50a++===0x0?_0x49eefd[_0x49dd37(0x31f)](0x0,0x6):_0x49eefd[_0x49dd37(0x31f)](0x0,0x4)+'-'+_0x5de50a;_0x4dcf4c=_0x162055[_0x49dd37(0x31f)](0x0,0x3f-_0x365e3f['length'])+'-'+_0x365e3f;}const _0x36605e=this[_0x49dd37(0xfa)](),_0x4cdd98=PIPELINE_DEFINITIONS[_0x1320b2[_0x49dd37(0xe6)]],_0x174da1=(_0x1320b2[_0x49dd37(0x297)]||[])['map'](_0x451327=>typeof _0x451327===_0x49dd37(0x114)?{'id':_0x451327,'summary':_0x49dd37(0x16b),'completedAt':this[_0x49dd37(0x1ab)]()[_0x49dd37(0x2f4)]()}:_0x451327),_0x53ae0d={};_0x53ae0d[_0x49dd37(0x24b)]=_0x49dd37(0x28a),_0x53ae0d['path']=this[_0x49dd37(0x1fe)],_0x53ae0d[_0x49dd37(0x2b2)]=![],_0x53ae0d[_0x49dd37(0xf3)]=_0x49dd37(0x2b0);const _0x315bb1={'schemaVersion':0x2,'task':_0x4dcf4c,'runId':_0x36605e,'pipeline':_0x1320b2[_0x49dd37(0xe6)],'status':_0x174da1[_0x49dd37(0x152)]>=_0x4cdd98[_0x49dd37(0x159)][_0x49dd37(0x152)]?_0x49dd37(0x145):_0x49dd37(0x2f3),'completedSteps':_0x174da1,'workspace':_0x53ae0d,'startedAt':_0x1320b2[_0x49dd37(0x1a8)]||this[_0x49dd37(0x1ab)]()[_0x49dd37(0x2f4)](),'updatedAt':this['now']()[_0x49dd37(0x2f4)](),'migratedFrom':this[_0x49dd37(0x1e7)]},_0x46bbaf={};_0x46bbaf['setCurrent']=!![],this[_0x49dd37(0x127)](_0x315bb1,_0x46bbaf),this[_0x49dd37(0x2c7)](_0x315bb1,_0x49dd37(0x26a),_0x49dd37(0x29c)+this['legacyStateFilePath']),this[_0x49dd37(0x2aa)](_0xed0a49,{'source':this[_0x49dd37(0x1e7)],'task':_0x4dcf4c,'runId':_0x36605e,'fingerprint':_0x49eefd,'migratedAt':this[_0x49dd37(0x1ab)]()[_0x49dd37(0x2f4)]()});}static[_0xd8aaed(0x2b1)](_0x37d62f){const _0x5847c3=_0xd8aaed,_0x5001dd=String(_0x37d62f||'')[_0x5847c3(0x296)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/[_0x5847c3(0xf5)](_0x5001dd)){const _0x320c96={};return _0x320c96['suggested_pipeline']=_0x5847c3(0x30d),_0x320c96[_0x5847c3(0x1c8)]=_0x5847c3(0xd7),_0x320c96['reason']='Bug-fix\x20signals\x20detected.',_0x320c96;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/[_0x5847c3(0xf5)](_0x5001dd)){const _0x43d1f8={};return _0x43d1f8['suggested_pipeline']='hotfix',_0x43d1f8[_0x5847c3(0x1c8)]=_0x5847c3(0xd7),_0x43d1f8[_0x5847c3(0x1d2)]=_0x5847c3(0x26b),_0x43d1f8;}const _0xfe2740={};return _0xfe2740[_0x5847c3(0x23d)]='feature',_0xfe2740[_0x5847c3(0x1c8)]=_0x5001dd[_0x5847c3(0x152)]>=0x3?'medium':_0x5847c3(0x16e),_0xfe2740[_0x5847c3(0x1d2)]=_0x5847c3(0x22f),_0xfe2740;}}const _0x3d97d6={};_0x3d97d6[_0xd8aaed(0x321)]=PipelineManager,_0x3d97d6['PIPELINE_DEFINITIONS']=PIPELINE_DEFINITIONS,_0x3d97d6[_0xd8aaed(0x329)]=PIPELINE_DEFINITIONS_V3,module['exports']=_0x3d97d6;
|
|
1
|
+
const _0x3c55b0=_0xfd07;(function(_0x3bf2ff,_0x452c9f){const _0x4556a7=_0xfd07,_0x3fdc21=_0x3bf2ff();while(!![]){try{const _0x4f2241=-parseInt(_0x4556a7(0x18c))/0x1*(-parseInt(_0x4556a7(0x2ed))/0x2)+-parseInt(_0x4556a7(0xfa))/0x3*(-parseInt(_0x4556a7(0x206))/0x4)+-parseInt(_0x4556a7(0x133))/0x5+-parseInt(_0x4556a7(0x280))/0x6*(-parseInt(_0x4556a7(0x140))/0x7)+-parseInt(_0x4556a7(0x329))/0x8+parseInt(_0x4556a7(0x25a))/0x9+-parseInt(_0x4556a7(0x236))/0xa*(parseInt(_0x4556a7(0x1c7))/0xb);if(_0x4f2241===_0x452c9f)break;else _0x3fdc21['push'](_0x3fdc21['shift']());}catch(_0x117587){_0x3fdc21['push'](_0x3fdc21['shift']());}}}(_0xc268,0xa5ebf));const crypto=require(_0x3c55b0(0x139)),fs=require('fs'),os=require('os'),path=require(_0x3c55b0(0x148)),{spawnSync}=require(_0x3c55b0(0x16b)),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0x3c55b0(0x297)),{inspectRunContract}=require(_0x3c55b0(0x25f)),{artifactEvidenceCurrent}=require(_0x3c55b0(0x219)),{acquireRuntimeLock}=require('../core/owned-lock'),TOOL_ROUTING=_0x3c55b0(0x2f4),_0x4f632f={};_0x4f632f[_0x3c55b0(0xfd)]=_0x3c55b0(0x12f),_0x4f632f[_0x3c55b0(0x25c)]=_0x3c55b0(0xe6),_0x4f632f[_0x3c55b0(0x33e)]='SAVE\x20root\x20cause\x20and\x20reproduction\x20steps\x20with\x20remember.',_0x4f632f['tdd']=_0x3c55b0(0x333),_0x4f632f[_0x3c55b0(0x1dd)]='SAVE\x20architecture\x20decisions\x20and\x20findings\x20with\x20remember.';const MEMORY_TRIGGERS=_0x4f632f,DOMAIN_SKILL_REMINDER=[_0x3c55b0(0x135),_0x3c55b0(0x1d3),_0x3c55b0(0x314),_0x3c55b0(0x178)][_0x3c55b0(0x1cc)]('\x0a'),_0xb37a88={};_0xb37a88['id']='grill-me',_0xb37a88[_0x3c55b0(0x11f)]=_0x3c55b0(0x2d2),_0xb37a88[_0x3c55b0(0x1b1)]=_0x3c55b0(0x256);const _0x4f6849={};_0x4f6849['id']=_0x3c55b0(0x25c),_0x4f6849[_0x3c55b0(0x11f)]=_0x3c55b0(0x299),_0x4f6849[_0x3c55b0(0x1b1)]='prd-gen';const _0x4e345b={};_0x4e345b['id']='to-issues',_0x4e345b['name']='Create\x20vertical-slice\x20issues',_0x4e345b[_0x3c55b0(0x1b1)]=_0x3c55b0(0x2f5);const _0x226ecd={};_0x226ecd['id']=_0x3c55b0(0x255),_0x226ecd[_0x3c55b0(0x11f)]=_0x3c55b0(0x33d),_0x226ecd['skill']=_0x3c55b0(0x26f);const _0x231380={};function _0xfd07(_0x597312,_0x20c45a){_0x597312=_0x597312-0xbb;const _0xc26885=_0xc268();let _0xfd071e=_0xc26885[_0x597312];if(_0xfd07['eEWzvZ']===undefined){var _0x3f2eb6=function(_0x509e30){const _0x48a15d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4f632f='',_0xb37a88='';for(let _0x4f6849=0x0,_0x4e345b,_0x226ecd,_0x231380=0x0;_0x226ecd=_0x509e30['charAt'](_0x231380++);~_0x226ecd&&(_0x4e345b=_0x4f6849%0x4?_0x4e345b*0x40+_0x226ecd:_0x226ecd,_0x4f6849++%0x4)?_0x4f632f+=String['fromCharCode'](0xff&_0x4e345b>>(-0x2*_0x4f6849&0x6)):0x0){_0x226ecd=_0x48a15d['indexOf'](_0x226ecd);}for(let _0x296ca5=0x0,_0x22593a=_0x4f632f['length'];_0x296ca5<_0x22593a;_0x296ca5++){_0xb37a88+='%'+('00'+_0x4f632f['charCodeAt'](_0x296ca5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xb37a88);};_0xfd07['JOExKT']=_0x3f2eb6,_0xfd07['upUmPt']={},_0xfd07['eEWzvZ']=!![];}const _0x175570=_0xc26885[0x0],_0x317b3b=_0x597312+_0x175570,_0x5b68d3=_0xfd07['upUmPt'][_0x317b3b];return!_0x5b68d3?(_0xfd071e=_0xfd07['JOExKT'](_0xfd071e),_0xfd07['upUmPt'][_0x317b3b]=_0xfd071e):_0xfd071e=_0x5b68d3,_0xfd071e;}_0x231380['id']=_0x3c55b0(0x1dd),_0x231380[_0x3c55b0(0x11f)]=_0x3c55b0(0x2bc),_0x231380[_0x3c55b0(0x1b1)]=_0x3c55b0(0x2bb);const _0x296ca5={};_0x296ca5['name']=_0x3c55b0(0x2e5),_0x296ca5['steps']=[_0xb37a88,_0x4f6849,_0x4e345b,_0x226ecd,_0x231380];const _0x22593a={};_0x22593a['id']=_0x3c55b0(0x33e),_0x22593a[_0x3c55b0(0x11f)]=_0x3c55b0(0x20a),_0x22593a[_0x3c55b0(0x1b1)]=_0x3c55b0(0x172);const _0xfd61a2={};_0xfd61a2['id']=_0x3c55b0(0xfd),_0xfd61a2[_0x3c55b0(0x11f)]='Challenge\x20the\x20fix\x20design',_0xfd61a2[_0x3c55b0(0x1b1)]=_0x3c55b0(0x256);const _0x54df5a={};_0x54df5a['id']=_0x3c55b0(0x25c),_0x54df5a[_0x3c55b0(0x11f)]=_0x3c55b0(0x163),_0x54df5a[_0x3c55b0(0x1b1)]=_0x3c55b0(0xe9);const _0x1ec674={};_0x1ec674['id']=_0x3c55b0(0x1f6),_0x1ec674[_0x3c55b0(0x11f)]=_0x3c55b0(0x168),_0x1ec674[_0x3c55b0(0x1b1)]=_0x3c55b0(0x2f5);const _0x1358b1={};_0x1358b1['id']='tdd',_0x1358b1['name']=_0x3c55b0(0x18d),_0x1358b1[_0x3c55b0(0x1b1)]=_0x3c55b0(0x26f);const _0x46b1b6={};_0x46b1b6['name']=_0x3c55b0(0x29c),_0x46b1b6[_0x3c55b0(0x23f)]=[_0x22593a,_0xfd61a2,_0x54df5a,_0x1ec674,_0x1358b1];const _0x1c4a52={};_0x1c4a52['id']=_0x3c55b0(0x2dd),_0x1c4a52[_0x3c55b0(0x11f)]=_0x3c55b0(0x2e6),_0x1c4a52[_0x3c55b0(0x1b1)]=null;const _0x545de6={};_0x545de6['id']='fix-and-test',_0x545de6[_0x3c55b0(0x11f)]=_0x3c55b0(0xec),_0x545de6['skill']=_0x3c55b0(0x26f);const _0x1077b3={};_0x1077b3['name']=_0x3c55b0(0x201),_0x1077b3[_0x3c55b0(0x23f)]=[_0x1c4a52,_0x545de6];const _0x2b256d={};_0x2b256d['feature']=_0x296ca5,_0x2b256d[_0x3c55b0(0x127)]=_0x46b1b6,_0x2b256d[_0x3c55b0(0x17a)]=_0x1077b3;const PIPELINE_DEFINITIONS=_0x2b256d,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(_0x42e799,_0x317a4a,_0x83eeec={}){const _0x306175={'success':![],'code':_0x42e799,'error':_0x317a4a,..._0x83eeec};return _0x306175;}function creationFailure(_0x290f6f,_0x4db3a1){const _0x1bf797=_0x3c55b0;return{'phase':_0x4db3a1,'code':typeof _0x290f6f[_0x1bf797(0x142)]==='string'?_0x290f6f[_0x1bf797(0x142)]:_0x1bf797(0x271),'syscall':typeof _0x290f6f[_0x1bf797(0x113)]==='string'?_0x290f6f['syscall']:null,'path':typeof _0x290f6f['path']===_0x1bf797(0x266)?_0x290f6f[_0x1bf797(0x148)]:null,'message':typeof _0x290f6f[_0x1bf797(0xf7)]==='string'?_0x290f6f['message'][_0x1bf797(0x1e2)](0x0,0xf0):null};}function _0xc268(){const _0x38d26b=['ChjLCgfYzu1LCMDL','C3rYAw5NAwz5','CMvJB3zLCLj1BKLK','se9urKLyx1ndt1bfx1jfuvvjuKve','z2vUzxjHDgvsDw5jza','Aw5PDgLHBgL6zq','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','x19WAxbLBgLUzv9ZDgfYDf9F','CMvHzhK','zw5KC1DPDgG','r0Lux0LosvrFq09orKLstufusu9ox1jfuvvjuKve','CMvTB3zLza','Bw9KzwXszwnLAxb0','CMvXDwvZDgvKv29YA3nWywnL','y29TCgfJDa','CgXHBM5LzeL0zw1Z','y3jLyxrLv29YA3rYzwu','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','v09ss1rsruvFuKvnt1zfx0zbsuXfra','u3vWCg9YDgvKihbPCgvSAw5LihzLCNnPB25ZigfYzsaYigfUzcaZlG','ls1Nzxq','D29YA2vYu3rHDhvZ','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','Bw9KzwXtDgf0Dxm','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','C3vNz2vZDgvKx3bPCgvSAw5L','Aw1WCM92zs1JB2rLyMfZzs1HCMnOAxrLy3r1CMu','uMv2Awv3igfYy2HPDgvJDhvYzq','lI4Vy29Yzs9YDw4TC3rHDguTy29Kzwm','BwfW','y3jLyxrPB25jBNrLBNrgAwXL','D29YA0L0zw1dB3vUDa','lI4VlI4VCgfJA2fNzs5QC29U','ls13B3jRlxrYzwu','CMvWBgfJzufSBa','BgLZDfj1BNngCM9TuM9VDa','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','CNvUswq','DMvYAwz5q29WAwvKvhjLzq','C2fTzvDVCMTZCgfJzq','BgfZDezHAwX1CMu','BwfPBG','zxHWzwn0zwrpDxrJB21L','ywjHBMrVBG','r0Lux1bsrvzjrvDFu1rbteu','Aw5OzxjPDgvK','CMvZB2X2zvDVCMTZCgfJzq','C3rVCfjLyxnVBG','DxbKyxrL','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','u291CMnLihjLDgfPBMvKigf0ia','AxnhAxrszxbVC2L0B3j5','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','r0Lux0jbu0vmsu5fx05pvf9dtevbtG','q1jfqvrjt05Fu1vqrvjtrurfra','BM93','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','CMv2lwXPC3q','Bw9Kzq','DMvYAwz5lxnJB3bL','zgLMzG','Ag9ZDfDVCMTLCKLK','ls1Szwz0lxjPz2H0','yxjNCW','zgLHz25VC3rPyW','y29UzMLKzw5Jzq','B3jPz2LUv29YA3nWywnL','rMvHDhvYzsbezxzLBg9WBwvUDa','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','CMvJzwLWDa','lMPZB24','BwvKAxvT','CxvHBgL0EvbSyw4','uMvXDwLYzwqGCgLWzwXPBMuGC2TPBgWGiG','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','mMLVBgXzEq','y29UzMLYBwvK','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','Aw5JBhvKzxm','DgLTzw91Da','qurnsvntsu9ox0nptKzmsunu','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','zxHWBg9Yzv9JB2rLiezjuLnuigzVCIbJB2rLlIbNCMvWx3nLyxjJAcbptKXzig5VBI1JB2rLicHJB25MAwCVzg9JCY8Uzw52ks4GtM8Gz3jLCcbSB29WCY4','DgfZAY1ICMvHA2rVD24','D29YA3nWywnLlxjLywr5','D29YA3nWywnLig11C3qGyMuGyw4GB2jQzwn0ihDPDgGGBw9KzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','CMvHBhbHDgHtEw5J','qwn0AxzLihbPCgvSAw5LCYbJyw5UB3qGyMuGBwLNCMf0zwqGzhvYAw5NieDPDcbPBML0AwfSAxPHDgLVBI4','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','DgfYz2v0rgLNzxn0','CMvJB3jKvMvYAwzPy2f0Aw9Uqxn5BMm','CNvUrgLY','rxHPC3rPBMCGCNvUigLZihrLCM1PBMfSig9YigjLBg9Uz3mGDg8Gyw5VDgHLCIbJB29YzgLUyxrVCI4','Aw5PDgLHBgL6zuDPDa','C25HChnOB3qTBM90lxjLzNjLC2HLza','uMvJB25JAwXLihDPDgGGDgHLihjLy29YzgvKignVB3jKAw5HDg9YlG','D2fPDa','Aw5PDgLHBgL6Aw5N','zgv2zwXVCg1LBNrnB2rL','BwLNCMf0Aw9Uv2fYBMLUz3m','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','CNvUBMLUzW','u2vUC2L0AxzLigzPBgvZihDVDwXKigjLignVBw1PDhrLzc4GqwrKihrOzw0GDg8GlMDPDgLNBM9YzsbHBMqGCMvXDwvZDcbHig5LDYbWCMv2Awv3lG','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','CNvUr2L0','yNL0zuXLBMD0Aa','C3vJy2vZCW','z2L0','lMXVy2S','CgXHBG','ChvZAa','C2nOzw1HvMvYC2LVBG','CNvUCW','D3jPDgvtDgf0zq','tw9IAwXLifvjoIaUywDLBNrZl3nRAwXSCY9TB2jPBguTCNvSzxmVu0TjteWUBwq','y3jLyxrLzef0','ywnJzxb0yw5Jzq','zNn5BMntEw5J','sevbra','ywnXDwLYzuXVy2S','q3vYCMvUDcbUyxrPDMuGCNvUihDHCYbUB3qGzM91BMqU','zgvJB2rLuNvUu3rHDgu','q2fUBM90igLUAxrPywXPEMuGDgvTCg9Yyxj5ieDPDcbPBMrLEc4','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','qundrvbuqu5drv9btfjfqurzx0fdveLwrq','q1jfqvrjt05FuLvox0vysvnuuW','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','B2jQzwn0','vw5RBM93BIb3B3jRC3bHy2uGBw9KztOG','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','BMv4DefJDgLVBG','zNjVBuvUDhjPzxm','zMLSDgvY','CNvUDgLTzs11CgDYywrL','nZy5nZyZmLDHwerTsq','Dg1WzgLY','qsbTyxrJAgLUzYb1BNjLC29SDMvKignYzwf0Aw9UigLUDgvUDcbPCYbYzxf1AxjLzc4','ywn0AxzL','ywn0B3jjza','CMvWB3j0CW','vgHPCYbJCMvHDgLVBIbPBNrLBNqGAgfZigfSCMvHzhKGyMvLBIbYzxnVBhzLzc4GvxnLihbPCgvSAw5Lx3vZzsbMB3iGyw4GzxHPC3rPBMCGCNvUlG','yNjHBMnO','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','DMvYC2LVBG','u0fwrsbPBxbSzw1LBNrHDgLVBIbKzwnPC2LVBNmGyw5KihrLC3qGCgf0DgvYBNmGD2L0AcbYzw1LBwjLCI4','Aw50zwDYAxr5lw1HBMLMzxn0lMPZB24','yxv0BW','uMvJB3zLCNKGD2fZigLUDgvYCNvWDgvKoYbPDhmGAw50zw50ihDHCYbWCMvZzxj2zwqU','qwn0B3i6ia','DgvZDa','yxrVBwLJv3jPDgvkC29U','q0Xfqu5vuf9dt05gsvjnqvrjt05FuKvrvuLsruq','uLvox05pvf9gt1vora','vgHLihj1BIbJB250CMfJDcbKB2vZig5VDcbWzxjTAxqGCMvJB25JAwXPyxrPB24U','sw1WBgvTzw50ihrLC3qTzMLYC3q','zgLHz25VC2u','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','BwvYz2uTyMfZzq','DxnLCI5LBwfPBa','lM1Pz3jHDgLVBNm','Cg9SAwn5vMvYC2LVBG','BwTKAxjtEw5J','zxzLCNK','CxvHBgL0Eq','Bxv0yxrPB24','CMvZDw1L','C3rHDhvZlwLUC3bLy3rPB24','ChjVAMvJDfbHDgG','Dg9mB2nHBgvmB3DLCKnHC2u','AgLNAc1YAxnR','CgLK','DMvYAwzPzwq','lMXVy2TZ','yxb0lw1JCc1NAxqTChjLDMLLDY0','v29YA3rYzwuGCgf0AcbHBhjLywr5igv4Axn0CZOG','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','v09ss1rsruvFqKftrv9nsvntsu5h','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','lI4Vy29Yzs9XDwfSAxr5','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5Lig11Dgf0Aw9UCY4','v09ss19jtL9gteLhsfq','y2fUy2vSvMvYAwzPy2f0Aw9UCW','CMv2lxbHCNnL','uMvJB3jKigf0igXLyxn0ig9UzsbHy2nLChrHBMnLignYAxrLCMLVBIbHDcbWAxbLBgLUzv9ZDgfYDdSGAxrZihrLEhqGBxvZDcbTyxrJAcbHihf1ywXPDhLqBgfUignYAxrLCMLVBIbLEhbLy3rLze91DgnVBwuU','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','yMfZzvjLzG','BgvNywn5u3rHDgvgAwXLugf0Aa','C291CMnL','C3rHCNq','BwfYA0f0DgvTChrtDgfYDgvK','uMvWB3nPDg9YEsbPCYbUB3qGy2XLyw4Gywz0zxiGDgHLigjHC2vSAw5LignVBw1PDc4','y2XHC3nPzNLszxf1zxn0','CgLWzwXPBMuTC3rHDguUANnVBG','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','iIb3yxmGBM90igzVDw5KlG','y29TCgXLDgvKqxq','CNvU','BgvNywn5lxn1Bw1HCNK','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','y3jLyxrPBMC','z2L0q29TBw9UrgLY','u0fwrsbquKqGC2nVCguGyw5KigTLEsbYzxf1AxjLBwvUDhmGD2L0AcbYzw1LBwjLCI4','BNb4igfWDc1Ty3aTywDLBNqTC2v0DxaGDxbKyxrLic0TChjVAMvJDcaI','A2v5CW','ChjKlwDLBG','CMvHzfj1BG','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','y2HLy2Tjza','DMvYAwzPy2f0Aw9Ux2XLDMvS','ueLqruXjtKvFtuLttufuq0G','CMv2Awv3t2jZzxj2zwq','q1jfqvrjt05FquXsrufewv9srvnptfzfra','yxnZAwDU','ufjprfvdveLptL9qvujmsunFs0vz','rxHWzwn0zwqGC3rLCcaI','D29YA3nWywnL','D2vI','BwvZC2fNzq','DxrMoa','zM9YBwf0u3rHDhvZ','owzgre1JtW','lI4VBgLJzw5Zzs92zxjPzNK','D2LUzg93C0HPzgu','z3jPBgWTBwu','DgfZAW','zxHPC3rZu3LUyW','r2L0igLUAxrPywXPEMf0Aw9UigfUzcbHigjHC2vSAw5LignVBw1PDcbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','Bwf4','ChjLDMLLD0DPDejVB3rZDhjHCa','y29UzMLYBwf0Aw9Uvg9Rzw4','Agv4','D29YA3rYzwu','vgfZAYbTDxn0igjLigeGBg93zxjJyxnLignHBM9UAwnHBcbjrcb1C2LUzYbSzxr0zxjZlcbUDw1IzxjZlcbOExbOzw5ZlcbVCIb1BMrLCNnJB3jLCYaOBwf4idy0ks4','CMvJB3zLCG','y2HLy2Tjzhm','cLj1BJOG','lI4Vy29Yzs93B3jRzMXVDY1WB2XPy3K','CMvMCMvZAfnUyxbZAg90','zxzPzgvUy2u','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','CMvJB3zLCNLFy29TBwfUzhm','vefts19srvfvsvjfra','D29YA2zSB3DqCM9MAwXL','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','zxHWB3j0CW','C3LZy2fSBa','yxzHAwXHyMXLqwn0Aw9UCW','y3jLyxrLsgfZAa','y29TCgXLDgvK','uMvHzcaUywDLBNrZl3nRAwXSCY8','CMvWywLYuNvU','su5wquXjrf9svu5Fsu5qvvq','DgfYz2v0vMvYC2LVBG','Bg93','zxzLBNrZlMPZB25S','CMvJB3zLCKnYzwf0Aw9U','ls1JB3vUDa','BMfTzq','q29UzMLNDxjLieDPDcb1C2vYlM5HBwuGyw5KihvZzxiUzw1HAwWGyMvMB3jLignYzwf0Aw5NihrOzsbIyxnLBgLUzsbJB21TAxqU','CNvUDgLTzvbPBG','cK5LEhqGC3rLCdOG','DMfSAwrHDgvsDw5jza','CMvHzen1CNjLBNq','C3rHCNrLzef0','CMfUzg9TqNL0zxm','yNvNzML4','CMvHzgrPCLn5BMm','vgfZAYaI','B3bLBG','ChjVzhvJDfrHCMDLDa','zxHWzwn0zwrFCgf0Aa','CMvTB3zLzef0','Aw5PDgLHBgL6zwq','u0fwrsbKzxnPz24GzgvJAxnPB25ZigfUzcbJB25ZDhjHAw50CYb3AxrOihjLBwvTyMvYlG','yMfZzw5HBwu','C2vW','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','ndmXmtCWnu1iwMLADW','Aw1Wywn0rxnJywXHDgLVBG','tg9Hzcb0AguGBwf0y2HPBMCGzg9TywLUihnRAwXSigjLzM9YzsbJB2rPBMC6','C3rHDguTD3jPDgu','C25HChnOB3qTzxzPzgvUy2u','y29TCgXLDgvKu3rLChm','y3j5ChrV','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','CMv2AxnPB24','Dw5SAw5Ru3LUyW','v29YA3nWywnLoIa','vw5RBM93BIbWAxbLBgLUzsb0ExbLoIa','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','nZmZmtG5mwDmDLnZza','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','y29Kzq','u0vtu0LptL9nsvnnqvrdsa','Aw5OzxjPDgvKqxr0zw1WDezSB29Y','q29TCgXLDguGB3iGy2fUy2vSigfJDgL2zsbWAxbLBgLUzxmGyMvMB3jLigLUAxrPywXPEMLUzYbhAxqU','C3bSAxq','AgfZ','Cgf0Aa','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','su5wquXjrf9xt1jlrKXpv19quK9gsuXf','ywjHBMrVBMvK','Aw50zw50lwnVBxbSzxrL','ywrK','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzc4','BMv4Df9ZDgvW','CMvUyw1Lu3LUyW','C2v0q3vYCMvUDa','ugLWzwXPBMvnyw5Hz2vY','C29Tzq','sg90zML4ihnJB3bLigP1C3rPzMLJyxrPB24GBxvZDcbJB250ywLUigf0igXLyxn0ideWignOyxjHy3rLCNmU','vhjHBNnHy3rPB246ia','BgvUz3rO','u3vWCg9YDgvKihbVBgLJAwvZigfYzsaXlcaYigfUzcaZlG','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','y2fUy2vSBgf0Aw9U','D3jPDgvgAwXLu3LUyW','CMvHC29U','C3rKB3v0','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','Dw5HDMfPBgfIBgu','CMvHzePZB24','CMvWB3nPDg9YEunVBNrLEhq','iIWGBM90ici','C25HChnOB3q','rg9JDw1LBNqGDgHLigzPEa','CMvHzenOzwnRCg9PBNq','v09ss1rsruvFq1jfqvrfx0zbsuXfra','C29YDa','Dg9ju09tDhjPBMC','q3jLyxrLihrYywnRAw5NigLZC3vLCW','ls1WB3jJzwXHAw4','lMfNzw50CW','y2HPBgrFChjVy2vZCW','lNrTCa','Aw52ywXPza','sw50zw50ig93BMvYC2HPCcbVCIbJDxjYzw50ihDVCMTZCgfJzsbJyw5UB3qGyMuGChjVDMvUlG','y3jPDgvYAwe','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','CMv2ywXPzgf0zu5HDgL2zvjLy2vPChq','yNvNlwrPywDUB3n0AwnZ','BMf0AxzLlxDVCMT0CMvL','D2L0AeXVy2S','ChvIBgLJs2v5','DxnL','su5wquXjrf9dsevds1bpsu5ux1nuqvrvuW','rMX1DhrLCJOGC2vSzwn0ihrOzsb0yxnRlxnWzwnPzMLJiezSDxr0zxiGC2TPBgWU','uLvox01ju01bveni','Ag90zML4','C2TPBgXqAw5Z','lI4Vy29Yzs9OB29RlwXLyxnL','C2LNBMvKlxjLBgvHC2u','yxrVBwLJv3jPDgu','y3jLyxrPB24','C3rHz2u','CMvJzwLWDe9IC2vYDMf0Aw9UCW','ls1NAxqTzgLY','ms54ihrHC2SGC3rHDguGAw1WB3j0zwq','lI4Vy29Yzs9YDw50Aw1LlwLUzM8','C3vTBwfYAxPLqM9VDhn0CMfWu3rHDhvZ','uLvox1nusuXmx0fdveLwrq','CMvZzxq','v09ss1rsruvFqKftrv9esvjuwq','y29UDhjHy3qTDw5HDMfPBgfIBgu','qNjHBMnOihbYzxnLCNzLzdOG','BMv4Da','mtiYotiWm3jgEufTDG','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','Aw1Wywn0','zg9TywLUx3nRAwXSCW','uLvox05pvf9bq1rjvKu','C2nVCgu','BM9YBwfSAxPLuxvHBgL0EvbSyw4','B21PDhrLza','CgvUzgLUz0nYzwf0Aw9U','D29YA3rYzwuG','CgXHDgzVCM0','vxbNCMfKzsbJyw5JzwXSyxrPB24GCMvXDwLYzxmGDgHLign1CNjLBNqGzNjVEMvUihrYyw5Zywn0Aw9UlG','BxrPBwvnCW','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','AxnbCNjHEq','qvruru1qvf9nsvnnqvrdsa','ueLqruXjtKvFrevgsu5jveLptLm','DxnLCI5Uyw1L','CMvXDwLYzwq','CxvHBgL0EvzLCNnPB24','Bg9JA1rPBwvVDxrnCW','Dg9tDhjPBMC','uMvWB3nPDg9YEsbOyxmGBM8GyMfZzsbJB21TAxqU','yxb0lW','lI4Vy29Yzs9YDw4Ty2HLy2TWB2LUDa','u2vZC2LVBLj1BNrPBwu','D2LUmZi','DhjPBq','CMvJB3jKvMvYAwzPy2f0Aw9U','DMfSDwvZ','CMvWBgfJzq','y29TBwL0','ls1JywnOzwq','v09ss1rsruvFuefusf9fweLtvfm','zxjYB3i','BwfUywDLza','y2HLy2TWB2LUDa','C2TPBgW','su5wquXjrf9qt0Xjq1LFvKvsu0LptG','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','y291BNrZ','DhjHBNnHy3rPB25jza','twLNCMf0zwqGzNjVBsbSzwDHy3KGC3rHDgu','C3rHDfn5BMm','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','tgvNywn5ihn0yxrLigLTCg9YDgvK','lMDPDgLNBM9Yzq','CNvUDgLTzvzLCNnPB24','DgfYz2v0ig11C3qGyMuGCNvUig9YignYzwf0Aw9UlG','CMvXDwLYzwrtA2LSBevYCM9Y','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','uNvUici','CgvUzgLUz0nYzwf0Aw9UCW','ChjVzhvJDeLTCgfJDa','rvbfuK0','CMvJDxjZAxzL','CMvSzwfZzq','zxbVy2G','C3rHDhvZ','mtq3ndC3CgPJB09H','BgvKz2vYrMLSzq','DMfSAwrHDgvuyxnR','zMLUzgLUz3m','CMvZCg9UC2u','AM9PBG','q2fSBcbWAxbLBgLUzv9ZDgf0DxmODgfZAYWGCNvUswqPigzVCIbMDwXSihj1BIbKzxrHAwXZigfUzcbOAxn0B3j5lIbdywXSihbPCgvSAw5Lx3n0yxr1CYGPigzVCIbHBgWGDhjHy2TLzcb0yxnRCYWGzgLHz25VC3rPy3mGyw5KihvUzMLUAxnOzwqGy3jLyxrPB25ZlG','BgvKz2vYlxDYAxrL','uNvUigrVzxmGBM90ihvZzsbHig1HBMfNzwqGD29YA3rYzwuU','BwLNCMf0zvn0yxrLuM9VDa','r0Lux0Leru5usvrzx1jfuvvjuKve','C3vNz2vZDfrHC2S','v2vIifvjoIaUywDLBNrZl3nRAwXSCY91As1ZDhLSzs1YDwXLCY9ts0Lmtc5Tza','y2fUy2vSBgvKqxq','Bg9JA0zPBgu','lIbdB21WBgv0Aw9UigrVzxmGBM90ihbYB3zLigeGCMv2Awv3ihzLCMrPy3qU','y29TCgf0AwjPBgL0Eq','uLvox0Lex1jfuvvjuKve','Aw50zw50rMLSzq','Ag9ZDc1VyNnLCNzLza','CgvUzgLUzW','q3jLyxrPB24GywXYzwfKEsbOyxmGCNvUihn0yxrLig9YigeGy3vYCMvUDcbIAw5KAw5NoYbPDcbJyw5UB3qGyMuGywjHBMrVBMvKlG','Aw1WCM92zs1HCMnOAxrLy3r1CMu','CgLWzwXPBMvZ','B3bLBKzPBMrPBMDZ','D2L0AezPBgvuExbLCW','C3rHDguUANnVBG','C2XPy2u','r0Lux0LosvrFrKfjteve','zgLYBMfTzq','su5wquXjrf9xt1jlu1bbq0u','zMLUza','ls1PCY1HBMnLC3rVCG','ic0G','Aw5OzxjPDfvWz3jHzgvdB250zxH0','CgLWzwXPBMu','yxj0AwzHy3rqyxrOCW','Aw5KzxG','ueLqruXjtKvFu1rbvevFte9ds0ve','C3vTBwfYEq','zML4lwfUzc10zxn0','y3vYCMvUDezPBgu','BgvKz2vY','kg5Vihn1Bw1HCNKP','BgLZDfj1BNm','u3rLCcbJB21WBgv0zwq6ia','zxHLy3v0Aw9Uu3rHDhvZ','Dg8TAxnZDwvZ','BMv3lxj1BI1Yzxf1AxjLza','r0Lux1bsrvzjrvDFrKfjteve','lMfNlwTPDc13B3jRDhjLzxm','yxbWzw5KtgvKz2vY','BM9FChjVz3jLC3m','vefts19btfjfqurzx0fdveLwrq','zNjLC2HtDgfYDef2ywLSywjSzq','y29UDgLUDwu','DMvYAwzPy2f0Aw9Usw5gBgLNAhq','BwTKDgvTCfn5BMm','sg90zML4','Aw5PDa','DhjHBNnHy3q','DMvYzgLJDa','iYbqAxbLBgLUzsbSzwrNzxikcLrHC2S6ia','mZuYndq0wenszeTW','uMvZB2X2zsbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','yxr0zw1WDhm','yxr0zw1WDeLK','rgLHz25VC2uGyw5KihjLChjVzhvJzq','u2f2zwqGy3jLyxrPB24GAw50zw50igHHCYbHBIbPBNzHBgLKihDVCMTZCgfJzsbVCIbIzwXVBMDZihrVigfUB3rOzxiGChjVAMvJDc4','u2f2zwqGy3jLyxrPB24GAw50zw50ignVDwXKig5VDcbIzsbPBNnWzwn0zwqU','BgvNywn5lw1Pz3jHDgLVBG','zgLYzwn0B3j5','ChjLDMLLDW','ihrHC2SOCYKGDhjHy2TLzc4','q2fUBM90ignVBxbHCMuGDgHLihDVCMT0CMvLihDPDgHVDxqGAxrZihjLy29YzgvKigjHC2uGyNjHBMnOlG','BwLNCMf0zq','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlM5HBwuGiLLVDxiGtMfTzsi','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','C2L6zq','y29UDhjHy3q','iIbPCYbTAxnZAw5NlG','lI4Vy29Yzs9XDwfSAxr5lwfYDgLMywn0CW','C2HVDY1Yzwy','ChjVz3jLC3mUBwq','yxnZzxj0Aw9Ulwv2AwrLBMnL','Dg9mB3DLCKnHC2u','lIbbDhrLBxb0oIa','CMvWBgf5','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','BM9Uzq','CMvJB3zLCMvK','uNvUigLZia','BgvNywn5lq','AxneAxjLy3rVCNK','lI4U','uNvUihvZzxmGCgLWzwXPBMuGiG','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','CgfYC2u','tM8GBwfUywDLzcb3B3jRDhjLzsbPCYbHDMfPBgfIBguGzM9YignSzwfUDxaU','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','ChjLDMLVDxnsDw4','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','su5wquXjrf9qsvbfteLorq','B3DUC1j1BG','Aw50zxjYDxb0zwq','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra','D29YA0L0zw1jza','su5wquXjrf9xt1jlu1bbq0vFtu9erq','C3rHDgvgAwXL','CMvHzhKTzM9YlwfJy2vWDgfUy2u','ntqWr2DrrurS','yxr0zw1WDf9SAw1PDa','q2fUy2vSBgvKigj5igv4CgXPy2L0ihjLCxvLC3qUieHPC3rVCNKGD2fZihbYzxnLCNzLzc4','BM9qCM9NCMvZCW','q2HLy2TWB2LUDcbZDgf0DxmGBxvZDcbIzsaIy29TCgXLDgvKiI4','CMv2Awv3','ueLqruXjtKvFrevgsu5jveLptLnFvJm','cLbPCgvSAw5LoIa','q1jfqvrjt05FuLvox01ju01bveni','C3rLChm','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','BwvTB3j5x2fJDgLVBG','ls12zxjPzNK','C3rVChbLza','AgfZtgvNywn5u3rHDgu','C2vZC2LVBKLK','zMfPBgvK','ChjVz3jLC3m','C2TPBgXFzgLYzwn0AxzL','C2HHmJu2','Dw52zxjPzMLLza','yMXVy2TLza','B3bLBLn5BMm','CMvHzezPBgvtEw5J','zxjYB3jpBKv4Axn0','CMvZB2X2zq','C3rHDgvsB290','lI4Vy29Yzs9ZA2LSBc1Uyw1LCY5QCW','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','DgrK','C3rYzxnZlxrLC3qTCgXHBG','ls1IyxjL','zMLSzq','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','nJe4ndCWmuzis1v1yG','zw5JB2rPBMC','Dg8TChjK','CgfZC2vK','DgfZA0rPCG','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','CgLUtgvNywn5rgvMAw5PDgLVBG','zgvMAw5PDgLVBG','v09ss1rsruvFtK9ux01btKfhruq','y29VCMrPBMf0B3i','A2LUza','D29YA3nWywnLignVBNrHAw5ZigfUihvUC3vWCg9YDgvKigzPzwXKoYbZzwXLy3qGDgHLihDVCMTZCgfJzsb0AhjVDwDOihrOzsbnq1aGC2vYDMvYigjPBMrPBMCU','C3rYAw5N','y3DK','BgLZDa','v29YA3rYzwuGy2XLyw51CcbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','DxbKyxrLzef0','DMfSAwrHDgvxB3jRC3bHy2u','D29YA3nWywnLugf0Aa','su5wquXjrf9svu5Fsuq','Cgf1C2vK','DgrKlwXVB3a','y2fUy2vSBgvK','vu5ltK9xtG','zxHLy3v0Aw9U','C2TPBgXZ','y3vYCMvUDa','ywnJzxb0yw5JzunYAxrLCMLH','D29YA0L0zw1Z','BgLZDefJDgL2zvbPCgvSAw5LCW','C3rHBgu','y29UzMLN','ls1Uyw1Llw9UBhK','rufdq0vt','u3rVChbLzcbUyxrPDMuGD29YA2vYihjLy29Uy2LSzwqGzM9YihvWz3jHzgu','DxbNCMfKzs1SAw5LywDLlMPZB24','ueLqruXjtKvFu1rbvevFvu5bvKfjtefcteu','lMnYzwf0Aw9U','nMzRBeHUta','zw52','zgLNzxn0','l1nlsuXmlM1KigjLzM9YzsbZDgvWici','lMfNzw50CY9WAxbLBgLUzxmV','u0TjteWUBwq','C3rHCNrZv2L0Aa','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','ChjLlwnYzwf0zs1ZDgf0zq','AxnmAw5RzwrxB3jRDhjLzq','iIWGCMvJzwL2zwqGiG','ru5pru5u','y2HLy2TZ','y2fUtxv0yxrL','ls1ZAg93lwn1CNjLBNq','CM1tEw5J','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','C3rKzxjY','vxnLignVBxbHy3qSihn0yw5KyxjKig9YigHPz2GTCMLZAY4','ueLqruXjtKvFu1rbvfvtx1voqvzbsuXbqKXf','CMvJB3jKrM9YzwLNBLj1BG','tevhqunzx1nuqvrfx0LovKfmsuq','BxvSDgK','lI4Vy29Yzs9LEgvJDxrPB24','BwLNCMf0zuXLz2fJEvn0yxrL','u3LUDgHLC2L6zsbquKq','CMvHzg9UBhK','yMfZzujYyw5JAa','qNvNiezPEa','zM9Yy2u','C3rHDgu','lcbUB3qGywn0AxzLlG','CMvTB3zL'];_0xc268=function(){return _0x38d26b;};return _0xc268();}function normalizePath(_0x591f66){const _0x31ce32=_0x3c55b0;try{return fs[_0x31ce32(0x2f8)](_0x591f66);}catch{return path['resolve'](_0x591f66);}}function overlappingScope(_0x42df69=[],_0x4847dd=[],_0x2c749d){const _0x3bd41d=_0x3c55b0;if(!_0x42df69[_0x3bd41d(0x156)]||!_0x4847dd['length']||[..._0x42df69,..._0x4847dd]['some'](_0x20a940=>/[*?\[\]{}!]/[_0x3bd41d(0x338)](_0x20a940)))return!![];const _0xe03267=_0x240e05=>{const _0x440298=_0x3bd41d,_0x1e0c8a=normalizePath(path[_0x440298(0x250)](_0x2c749d,_0x240e05[_0x440298(0x2c3)]('\x5c','/')));return process[_0x440298(0x196)]==='win32'?_0x1e0c8a[_0x440298(0x21d)]():_0x1e0c8a;};return _0x42df69[_0x3bd41d(0x153)](_0x114af2=>_0x4847dd[_0x3bd41d(0x153)](_0x5fae32=>{const _0x41b137=_0x3bd41d,_0x45e84f=_0xe03267(_0x114af2),_0xaf6b14=_0xe03267(_0x5fae32);return _0x45e84f===_0xaf6b14||_0x45e84f[_0x41b137(0x286)](_0xaf6b14+path[_0x41b137(0x131)])||_0xaf6b14['startsWith'](_0x45e84f+path[_0x41b137(0x131)]);}));}function sleep(_0x18794d){const _0x907e11=_0x3c55b0;Atomics[_0x907e11(0x302)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x18794d);}class PipelineManager{constructor(_0x10eb0b,_0x93e8d7={}){const _0x262e4a=_0x3c55b0;this[_0x262e4a(0xc4)]=normalizePath(_0x10eb0b),this[_0x262e4a(0x281)]=_0x93e8d7['env']||process.env,this['runtimeRoot']=_0x93e8d7['runtimeRoot']||process.env.APT_RUNTIME_ROOT||require(_0x262e4a(0x184))['installedRuntimeRoot'](),this['runtimePublicKey']=_0x93e8d7[_0x262e4a(0x175)]||require(_0x262e4a(0xfb))[_0x262e4a(0xf3)],this[_0x262e4a(0x304)]=!fs['existsSync'](path[_0x262e4a(0x1cc)](__dirname,'..','..',_0x262e4a(0x334))),this[_0x262e4a(0x2d9)]=_0x93e8d7[_0x262e4a(0x2d9)]||(()=>new Date()),this[_0x262e4a(0x126)]=_0x93e8d7[_0x262e4a(0x126)]||crypto[_0x262e4a(0x126)],this[_0x262e4a(0x1a0)]=_0x93e8d7[_0x262e4a(0x1a0)]||0x7d0,this[_0x262e4a(0x305)]=[],this[_0x262e4a(0x272)]=new Execution(this),this['refreshRepositoryContext']();if(_0x93e8d7[_0x262e4a(0x212)]!==![])this['migrateLegacyStates']();}static[_0x3c55b0(0x1d2)](_0x1b1636){const _0x354027=_0x3c55b0;if(typeof _0x1b1636!=='string')return'';return _0x1b1636[_0x354027(0x21d)]()['trim']()[_0x354027(0x1aa)](/[^a-z0-9_-]+/g,'-')['replace'](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')[_0x354027(0x1e2)](0x0,0x40);}static[_0x3c55b0(0x1c9)](_0x3f55aa){const _0x30647a=_0x3c55b0;if(typeof _0x3f55aa!==_0x30647a(0x266)||!_0x3f55aa['trim']())return error(_0x30647a(0x10f),_0x30647a(0x158));if(_0x3f55aa!==_0x3f55aa[_0x30647a(0x1a7)]()||!TASK_PATTERN[_0x30647a(0x338)](_0x3f55aa))return error('INVALID_TASK_ID',_0x30647a(0x106),{'suggested_task':PipelineManager[_0x30647a(0x1d2)](_0x3f55aa)});return null;}static['validateRunId'](_0x2213d3){const _0x58e561=_0x3c55b0;if(typeof _0x2213d3!==_0x58e561(0x266)||!RUN_PATTERN[_0x58e561(0x338)](_0x2213d3))return error(_0x58e561(0x26d),_0x58e561(0x170));return null;}static['validateWorkspace'](_0x554683){const _0x123ca8=_0x3c55b0;if(_0x554683===undefined)return null;if(!_0x554683||typeof _0x554683!==_0x123ca8(0x322)||Array[_0x123ca8(0x19a)](_0x554683))return error(_0x123ca8(0x1e5),_0x123ca8(0x2f7));const _0x236eb9=new Set([_0x123ca8(0x2dc),_0x123ca8(0x2ee),_0x123ca8(0x2ff),_0x123ca8(0x103),_0x123ca8(0xd6)]);if(Object[_0x123ca8(0xe8)](_0x554683)[_0x123ca8(0x153)](_0x5112ae=>!_0x236eb9[_0x123ca8(0x147)](_0x5112ae)))return error('INVALID_WORKSPACE',_0x123ca8(0x265));if(_0x554683[_0x123ca8(0x2dc)]!==undefined&&![_0x123ca8(0x335),_0x123ca8(0x274),'worktree'][_0x123ca8(0x2f0)](_0x554683['mode']))return error(_0x123ca8(0x1e5),_0x123ca8(0x111));if([_0x123ca8(0x2ee),_0x123ca8(0x2ff)][_0x123ca8(0x153)](_0x4b8935=>_0x554683[_0x4b8935]!==undefined&&typeof _0x554683[_0x4b8935]!=='boolean')||[_0x123ca8(0x103),_0x123ca8(0xd6)]['some'](_0x453eb4=>_0x554683[_0x453eb4]!==undefined&&typeof _0x554683[_0x453eb4]!==_0x123ca8(0x266)))return error('INVALID_WORKSPACE','workspace\x20fields\x20have\x20invalid\x20types.');return null;}[_0x3c55b0(0x30a)](_0x33dcd1,_0x2e33aa={}){const _0x4b2075=_0x3c55b0,_0x5de2f3={};_0x5de2f3[_0x4b2075(0x267)]=_0x2e33aa[_0x4b2075(0x267)]||this[_0x4b2075(0xc4)],_0x5de2f3[_0x4b2075(0x281)]={...this[_0x4b2075(0x281)],..._0x2e33aa['env']||{}},_0x5de2f3[_0x4b2075(0x25b)]=_0x4b2075(0xf8),_0x5de2f3[_0x4b2075(0xfc)]=!![],_0x5de2f3[_0x4b2075(0x2f1)]=_0x2e33aa['timeout']||0x7530;const _0x534555=spawnSync(_0x4b2075(0x30d),_0x33dcd1,_0x5de2f3);return{'ok':!_0x534555[_0x4b2075(0x1ae)]&&_0x534555['status']===0x0,'status':_0x534555[_0x4b2075(0x1c6)],'stdout':(_0x534555[_0x4b2075(0x15c)]||'')['trim'](),'stderr':(_0x534555[_0x4b2075(0x291)]||_0x534555[_0x4b2075(0x1ae)]?.[_0x4b2075(0xf7)]||'')['trim']()};}['refreshRepositoryContext'](){const _0x1718e8=_0x3c55b0,_0x12f9b0=require('../core/git-context')[_0x1718e8(0x160)](this[_0x1718e8(0xc4)],this[_0x1718e8(0x281)]);this['isGitRepository']=_0x12f9b0['isGitRepository'],this[_0x1718e8(0xe5)]=_0x12f9b0[_0x1718e8(0xe5)]?normalizePath(_0x12f9b0[_0x1718e8(0xe5)]):null,this[_0x1718e8(0x251)]=this[_0x1718e8(0xe5)]?path['join'](this[_0x1718e8(0xe5)],'apt-mcp-agent',_0x1718e8(0x1de)):path['join'](this[_0x1718e8(0xc4)],_0x1718e8(0x16a),_0x1718e8(0x1de)),this[_0x1718e8(0xd7)]=path[_0x1718e8(0x1cc)](this[_0x1718e8(0xc4)],_0x1718e8(0x16a),_0x1718e8(0xdd));}['generateRunId'](){const _0x28a113=_0x3c55b0,_0x33da74=this['now']()[_0x28a113(0x167)]()[_0x28a113(0x1aa)](/[-:]/g,'')[_0x28a113(0x1aa)](/\.\d{3}/,'');return _0x33da74+'-'+this[_0x28a113(0x126)](0x4)[_0x28a113(0x1a1)](_0x28a113(0x104));}[_0x3c55b0(0x25e)](_0x571908){const _0x2a42ac=_0x3c55b0;return path['join'](this[_0x2a42ac(0x251)],_0x571908);}[_0x3c55b0(0x2fd)](_0x4b44ef,_0x4d99f3){const _0x563628=_0x3c55b0;return path['join'](this['taskDir'](_0x4b44ef),_0x563628(0x312),_0x4d99f3);}[_0x3c55b0(0x1f0)](_0x38135f){const _0x31ffc1=_0x3c55b0;return path[_0x31ffc1(0x1cc)](this[_0x31ffc1(0x25e)](_0x38135f),'current.json');}[_0x3c55b0(0x234)](_0x13c7d4,_0x1f6582){const _0x5b04b0=_0x3c55b0;return path[_0x5b04b0(0x1cc)](this['runDir'](_0x13c7d4,_0x1f6582),_0x5b04b0(0x1e1));}[_0x3c55b0(0x1c8)](_0x4d7353,_0x121afd){const _0x592a26=_0x3c55b0;return path[_0x592a26(0x1cc)](this['runDir'](_0x4d7353,_0x121afd),_0x592a26(0x21b));}[_0x3c55b0(0x17e)](_0x48656f,_0x34c880){const _0x32c3b4=_0x3c55b0,_0x4fc701={};_0x4fc701[_0x32c3b4(0x1c3)]=!![],fs['mkdirSync'](path[_0x32c3b4(0x1e4)](_0x48656f),_0x4fc701);const _0x409496=_0x48656f+'.'+process[_0x32c3b4(0xc7)]+'.'+this[_0x32c3b4(0x126)](0x4)[_0x32c3b4(0x1a1)](_0x32c3b4(0x104))+_0x32c3b4(0x16c),_0x46ccfb=fs[_0x32c3b4(0x24d)](_0x409496,'wx');try{fs[_0x32c3b4(0x15a)](_0x46ccfb,_0x34c880,_0x32c3b4(0xf8)),fs[_0x32c3b4(0x317)](_0x46ccfb);}finally{fs['closeSync'](_0x46ccfb);}fs[_0x32c3b4(0x150)](_0x409496,_0x48656f);}[_0x3c55b0(0x339)](_0x532fc0,_0x1ec811){const _0xfd19c1=_0x3c55b0;this[_0xfd19c1(0x17e)](_0x532fc0,JSON[_0xfd19c1(0x2a2)](_0x1ec811,null,0x2)+'\x0a');}['lockFile'](_0x272f2a){const _0x4989a7=_0x3c55b0;return path[_0x4989a7(0x1cc)](this['stateRoot'],_0x4989a7(0xc9),_0x272f2a+_0x4989a7(0x30e));}['acquireLock'](_0x4d0631){const _0xe7ec34=_0x3c55b0,_0x2d8f04=this[_0xe7ec34(0x1d5)](_0x4d0631),_0x13023f={};_0x13023f[_0xe7ec34(0x1c3)]=!![],fs[_0xe7ec34(0xbe)](path['dirname'](_0x2d8f04),_0x13023f);const _0x4e6a70=Date[_0xe7ec34(0x2d9)](),_0x3b24a5=require(_0xe7ec34(0x17c))['waitBudget'](this[_0xe7ec34(0x1a0)]);while(Date[_0xe7ec34(0x2d9)]()-_0x4e6a70<=_0x3b24a5){const _0x339230=acquireRuntimeLock(_0x2d8f04);if(_0x339230)return _0x339230;sleep(0x14);}const _0x2e0853={};_0x2e0853[_0xe7ec34(0x142)]='PIPELINE_STATE_LOCKED';throw Object[_0xe7ec34(0xf2)](new Error(_0xe7ec34(0xcc)+_0x4d0631+'\x22.'),_0x2e0853);}[_0x3c55b0(0x174)](_0x55a801,_0x2fdcd7){const _0x3e0471=_0x3c55b0;let _0x4212be;try{return _0x4212be=this[_0x3e0471(0x319)](_0x55a801),_0x2fdcd7();}catch(_0xdee6d7){if(_0xdee6d7['code']===_0x3e0471(0x1ed))return error(_0xdee6d7['code'],_0xdee6d7[_0x3e0471(0xf7)]);throw _0xdee6d7;}finally{if(_0x4212be)_0x4212be();}}[_0x3c55b0(0x245)](){const _0xf9ec4c=_0x3c55b0;if(fs[_0xf9ec4c(0xff)](this[_0xf9ec4c(0xd7)]))return!![];const _0x2fab65=new Set([path[_0xf9ec4c(0x1cc)](this[_0xf9ec4c(0xc4)],'.agents',_0xf9ec4c(0x1de)),this[_0xf9ec4c(0x251)]]);for(const _0x251b0b of _0x2fab65){if(!fs['existsSync'](_0x251b0b))continue;const _0x64f23f={};_0x64f23f['withFileTypes']=!![];if(fs[_0xf9ec4c(0x128)](_0x251b0b,_0x64f23f)['some'](_0x577e1c=>_0x577e1c['isDirectory']()&&!_0x577e1c[_0xf9ec4c(0x11f)]['startsWith']('.')&&fs[_0xf9ec4c(0xff)](path[_0xf9ec4c(0x1cc)](_0x251b0b,_0x577e1c[_0xf9ec4c(0x11f)],'state.json'))))return!![];}return![];}['migrateLegacyStates'](){const _0x2c095e=_0x3c55b0;if(!this[_0x2c095e(0x245)]())return;const _0x101323=this['acquireLock'](_0x2c095e(0x20d));try{this[_0x2c095e(0x298)](),this['migrateLegacyTaskDirectories']();}finally{_0x101323();}}[_0x3c55b0(0x15f)](_0x4ee4ad){const _0x1c84ba=_0x3c55b0;try{return JSON[_0x1c84ba(0x229)](fs[_0x1c84ba(0x24e)](_0x4ee4ad,_0x1c84ba(0xf8)));}catch(_0x3c9177){if(_0x3c9177[_0x1c84ba(0x142)]!==_0x1c84ba(0x28b)&&!(_0x3c9177 instanceof SyntaxError))throw _0x3c9177;return null;}}[_0x3c55b0(0x124)](_0x3e479d){const _0x1e1993=_0x3c55b0,_0x283770=this[_0x1e1993(0x15f)](this[_0x1e1993(0x1f0)](_0x3e479d));if(!_0x283770?.[_0x1e1993(0x2c6)])return null;return this[_0x1e1993(0xea)](_0x3e479d,_0x283770[_0x1e1993(0x2c6)]);}[_0x3c55b0(0xea)](_0x567b52,_0x59ab82){const _0x5f532d=_0x3c55b0,_0x1cd9a1=path[_0x5f532d(0x1cc)](this['runDir'](_0x567b52,_0x59ab82),_0x5f532d(0x11c)),_0xe5cc22={};_0xe5cc22[_0x5f532d(0xfe)]=_0x567b52,_0xe5cc22[_0x5f532d(0x2c6)]=_0x59ab82;const _0x2fe313=require('../core/run-checkpoint')['readCheckpoint'](_0x1cd9a1,_0xe5cc22);if(_0x2fe313)return require(_0x5f532d(0x2bd))[_0x5f532d(0x31b)](_0x2fe313,this[_0x5f532d(0x2fd)](_0x567b52,_0x59ab82));return this[_0x5f532d(0x272)][_0x5f532d(0x107)](_0x567b52,_0x59ab82,this[_0x5f532d(0x15f)](this[_0x5f532d(0x234)](_0x567b52,_0x59ab82)));}[_0x3c55b0(0x217)](_0x4a5859,_0x13be20={}){const _0x4edfe2=_0x3c55b0,_0x3739ae={};_0x3739ae[_0x4edfe2(0xc1)]=_0x4edfe2(0x24c),_0x3739ae[_0x4edfe2(0x142)]=_0x4edfe2(0x254);if(!this[_0x4edfe2(0x22f)](_0x4a5859))return _0x3739ae;return inspectRunContract(_0x4a5859,{'runtimeRoot':this['runtimeRoot'],'publicKey':this['runtimePublicKey'],'developmentMode':this[_0x4edfe2(0x304)],'legacyDefinitions':PIPELINE_DEFINITIONS,'runDir':this['runDir'](_0x4a5859['task'],_0x4a5859['runId']),..._0x13be20});}['ownsRun'](_0x2c2596){const _0x5309e5=_0x3c55b0;return[_0x2c2596?.['originWorkspace'],_0x2c2596?.[_0x5309e5(0xf5)]?.[_0x5309e5(0x148)]]['filter'](Boolean)[_0x5309e5(0x153)](_0x4b047d=>{const _0x40c29f=_0x5309e5;try{return require(_0x40c29f(0x2d5))['sameWorkspace'](_0x4b047d,this['projectPath']);}catch{return![];}});}[_0x3c55b0(0x294)](_0xb99324){const _0xec0853=_0x3c55b0,_0x48f931={};_0x48f931[_0xec0853(0x142)]=_0xec0853(0x254),_0x48f931[_0xec0853(0xfe)]=_0xb99324['task'],_0x48f931[_0xec0853(0x2c6)]=_0xb99324['runId'];const _0x29cb62=_0x48f931;this['foreignWorkspaceStates']||=[];if(!this[_0xec0853(0xeb)][_0xec0853(0x153)](_0x53d477=>_0x53d477[_0xec0853(0xfe)]===_0xb99324[_0xec0853(0xfe)]&&_0x53d477[_0xec0853(0x2c6)]===_0xb99324[_0xec0853(0x2c6)]))this[_0xec0853(0xeb)][_0xec0853(0x310)](_0x29cb62);}[_0x3c55b0(0x260)](_0xc2ea38){const _0x440c12=_0x3c55b0;_0xc2ea38['definition']=JSON[_0x440c12(0x229)](JSON[_0x440c12(0x2a2)](PIPELINE_DEFINITIONS[_0xc2ea38['pipeline']]));const _0x1e4e20=path['join'](__dirname,'..','..',_0x440c12(0x334)),_0x2cfbdb=fs[_0x440c12(0xff)](_0x1e4e20);_0xc2ea38[_0x440c12(0x121)]={'source':_0x2cfbdb?_0x440c12(0x17d):'development-source','version':require('../../package.json')[_0x440c12(0x332)],'digest':_0x2cfbdb?crypto[_0x440c12(0x115)]('sha256')[_0x440c12(0x2d1)](JSON[_0x440c12(0x2a2)](JSON['parse'](fs['readFileSync'](_0x1e4e20,'utf8'))))[_0x440c12(0x282)]('hex'):null,'definitionHash':crypto[_0x440c12(0x115)](_0x440c12(0x24a))[_0x440c12(0x2d1)](JSON[_0x440c12(0x2a2)](_0xc2ea38['definition']))[_0x440c12(0x282)](_0x440c12(0x104))};}[_0x3c55b0(0x118)](_0x38db04,_0x535327){const _0x5b911e=_0x3c55b0;return this[_0x5b911e(0x174)](_0x38db04,()=>{const _0x1452c1=_0x5b911e,_0x1fa859=this[_0x1452c1(0xea)](_0x38db04,_0x535327);return _0x1fa859?.['schemaVersion']===0x3&&this[_0x1452c1(0x217)](_0x1fa859)[_0x1452c1(0xc1)]!==_0x1452c1(0x24c)&&(this[_0x1452c1(0x339)](this[_0x1452c1(0x234)](_0x38db04,_0x535327),_0x1fa859),this[_0x1452c1(0x272)][_0x1452c1(0x1f1)](_0x1fa859)),_0x1fa859;});}[_0x3c55b0(0x2bf)](_0x5586f4,_0x45999a){const _0x3e7910=_0x3c55b0;return path['join'](this[_0x3e7910(0x251)],'.creation',_0x5586f4,_0x45999a+_0x3e7910(0x2e8));}[_0x3c55b0(0x194)](_0x44e575){const _0x4eea99=_0x3c55b0,_0x217e2f=path[_0x4eea99(0x1cc)](this[_0x4eea99(0x251)],_0x4eea99(0x27f),_0x44e575);if(!fs[_0x4eea99(0xff)](_0x217e2f))return null;for(const _0x216407 of fs[_0x4eea99(0x128)](_0x217e2f)){const _0x226240=this[_0x4eea99(0x15f)](path[_0x4eea99(0x1cc)](_0x217e2f,_0x216407)),_0x534cab={};_0x534cab[_0x4eea99(0x1c6)]=_0x4eea99(0x16d),_0x534cab[_0x4eea99(0x258)]=_0x216407;if(!_0x226240)return _0x534cab;const _0x154b32={};_0x154b32[_0x4eea99(0x1c6)]=_0x4eea99(0x16d),_0x154b32[_0x4eea99(0x258)]=_0x216407;if(_0x226240[_0x4eea99(0xfe)]!==_0x44e575||PipelineManager[_0x4eea99(0x123)](_0x226240[_0x4eea99(0x2c6)]))return _0x154b32;if([_0x4eea99(0xe4),_0x4eea99(0x2f6),'interrupted']['includes'](_0x226240['status'])&&!this[_0x4eea99(0xea)](_0x44e575,_0x226240[_0x4eea99(0x2c6)]))return _0x226240;}return null;}[_0x3c55b0(0x1c0)](_0x3b7f58){const _0xc4997e=_0x3c55b0,_0x116373=path['join'](this[_0xc4997e(0x251)],'.creation');if(!fs[_0xc4997e(0xff)](_0x116373))return[];const _0x5f448e={};_0x5f448e[_0xc4997e(0x1e0)]=!![];const _0x5f5cf4=_0x3b7f58?[_0x3b7f58]:fs[_0xc4997e(0x128)](_0x116373,_0x5f448e)[_0xc4997e(0x327)](_0x1daa08=>_0x1daa08[_0xc4997e(0x225)]())['map'](_0x6b1f96=>_0x6b1f96[_0xc4997e(0x11f)]),_0x51f708=[];for(const _0x2ebcde of _0x5f5cf4){const _0x527816=path[_0xc4997e(0x1cc)](_0x116373,_0x2ebcde);if(!fs[_0xc4997e(0xff)](_0x527816))continue;for(const _0x5cf876 of fs['readdirSync'](_0x527816)[_0xc4997e(0x327)](_0x4ce0b8=>_0x4ce0b8[_0xc4997e(0x2aa)]('.json'))){const _0x2d63f3=this['readJson'](path['join'](_0x527816,_0x5cf876));if(!_0x2d63f3||_0x2d63f3[_0xc4997e(0xfe)]!==_0x2ebcde||PipelineManager['validateRunId'](_0x2d63f3[_0xc4997e(0x2c6)])||![_0xc4997e(0xe4),_0xc4997e(0x2f6),_0xc4997e(0x230)]['includes'](_0x2d63f3['status'])||this[_0xc4997e(0xea)](_0x2ebcde,_0x2d63f3[_0xc4997e(0x2c6)]))continue;const _0x219750=!PipelineManager[_0xc4997e(0x26b)](_0x2d63f3[_0xc4997e(0x2ae)]),_0x5d91e0=_0x2d63f3[_0xc4997e(0xf5)]&&!_0x2d63f3[_0xc4997e(0xf5)][_0xc4997e(0x1af)]&&typeof _0x2d63f3['workspace'][_0xc4997e(0x148)]===_0xc4997e(0x266)&&normalizePath(_0x2d63f3[_0xc4997e(0xf5)][_0xc4997e(0x148)])===this[_0xc4997e(0xc4)],_0x558802=_0x2d63f3['originWorkspace']===undefined?_0x5d91e0:typeof _0x2d63f3['originWorkspace']===_0xc4997e(0x266)&&normalizePath(_0x2d63f3['originWorkspace'])===this['projectPath'];_0x51f708[_0xc4997e(0x310)]({'task':_0x2ebcde,'runId':_0x2d63f3[_0xc4997e(0x2c6)],'status':_0x2d63f3['status'],'originWorkspace':_0x2d63f3[_0xc4997e(0x2e4)]||null,'requestedWorkspace':_0x2d63f3['requestedWorkspace']||null,'workspace':_0x2d63f3[_0xc4997e(0xf5)]||null,'runtimeVersion':_0x2d63f3[_0xc4997e(0x1bb)]||null,'error':_0x2d63f3[_0xc4997e(0x1ae)]||null,'intentFile':path[_0xc4997e(0x1cc)](_0x527816,_0x5cf876),'availableActions':{'resume':_0x219750&&_0x558802&&_0x5d91e0,'abandon':_0x219750&&_0x558802&&_0x5d91e0&&!this[_0xc4997e(0x124)](_0x2ebcde)}});}}return _0x51f708;}[_0x3c55b0(0x11d)](_0x361ec0,_0x4e98c8,_0x13cb60){const _0x24930d=_0x3c55b0,_0x24ea1e=PipelineManager[_0x24930d(0x123)](_0x4e98c8);if(_0x24ea1e)return _0x24ea1e;return this[_0x24930d(0x174)](_0x361ec0,()=>{const _0x39bde8=_0x24930d,_0x5d2a60=this[_0x39bde8(0x2bf)](_0x361ec0,_0x4e98c8),_0x495a63=this[_0x39bde8(0x15f)](_0x5d2a60);if(!_0x495a63||_0x495a63[_0x39bde8(0xfe)]!==_0x361ec0||_0x495a63[_0x39bde8(0x2c6)]!==_0x4e98c8)return error(_0x39bde8(0xd5),_0x39bde8(0x306));if(![_0x39bde8(0xe4),_0x39bde8(0x2f6),'interrupted'][_0x39bde8(0x2f0)](_0x495a63[_0x39bde8(0x1c6)]))return error(_0x39bde8(0xf1),_0x39bde8(0x32f));if(PipelineManager[_0x39bde8(0x26b)](_0x495a63[_0x39bde8(0x2ae)])||_0x495a63['originWorkspace']&&(typeof _0x495a63[_0x39bde8(0x2e4)]!=='string'||normalizePath(_0x495a63[_0x39bde8(0x2e4)])!==this[_0x39bde8(0xc4)]))return error('CREATION_WORKSPACE_MISMATCH',_0x39bde8(0x20b));if(_0x495a63[_0x39bde8(0x2e1)]?.[_0x39bde8(0x246)]&&_0x495a63['args'][_0x39bde8(0x246)]!==_0x13cb60)return error(_0x39bde8(0x143),_0x39bde8(0x22d));const _0x36137e=this[_0x39bde8(0x124)](_0x361ec0);if(_0x36137e&&_0x36137e[_0x39bde8(0x2c6)]!==_0x4e98c8)return error(_0x39bde8(0x2d8),'Another\x20run\x20is\x20current;\x20recovery\x20cannot\x20replace\x20its\x20binding.');const _0xc735e0=this[_0x39bde8(0xea)](_0x361ec0,_0x4e98c8);if(_0xc735e0){if(_0xc735e0[_0x39bde8(0x1c6)]!==_0x39bde8(0x32c)||_0xc735e0[_0x39bde8(0x263)]&&_0xc735e0['coordinator']!==_0x13cb60)return error(_0x39bde8(0x23e),_0x39bde8(0x2fe));const _0x1866c4={};_0x1866c4[_0x39bde8(0x151)]=!![],this[_0x39bde8(0x313)](_0xc735e0,_0x1866c4);const _0x5029fd={..._0x495a63};_0x5029fd[_0x39bde8(0x1c6)]=_0x39bde8(0x116),this[_0x39bde8(0x339)](_0x5d2a60,_0x5029fd);const _0x7dd456={};return _0x7dd456['success']=!![],this['formatStatus'](_0xc735e0,_0x7dd456);}let _0x28acd5=_0x495a63[_0x39bde8(0xf5)];const _0x3e2535={};_0x3e2535[_0x39bde8(0x2dc)]=_0x39bde8(0x274);if(!_0x28acd5&&_0x495a63[_0x39bde8(0x2ae)]['mode']!==_0x39bde8(0x105))_0x28acd5=this['resolveWorkspace'](_0x361ec0,_0x4e98c8,_0x3e2535)['workspace'];if(!_0x28acd5&&_0x495a63['requestedWorkspace'][_0x39bde8(0x2dc)]==='worktree'){const _0x242222=path['join'](path[_0x39bde8(0x1e4)](this[_0x39bde8(0xc4)]),_0x39bde8(0x1f9),path[_0x39bde8(0x130)](this[_0x39bde8(0xc4)]),_0x361ec0,_0x4e98c8),_0x2bd82d={};_0x2bd82d['path']=_0x242222,_0x2bd82d[_0x39bde8(0x2dc)]=_0x39bde8(0x105),_0x2bd82d[_0x39bde8(0x1af)]=!![],_0x2bd82d[_0x39bde8(0x330)]=_0x39bde8(0x1a3)+_0x361ec0+'/'+_0x4e98c8,_0x2bd82d[_0x39bde8(0x1c6)]=_0x39bde8(0x2a9),_0x28acd5=_0x2bd82d;}if(!_0x28acd5||!fs[_0x39bde8(0xff)](_0x28acd5[_0x39bde8(0x148)])){if(_0x28acd5?.[_0x39bde8(0x1af)]&&!_0x495a63[_0x39bde8(0xf5)]){const _0x159663=this[_0x39bde8(0x30a)](['worktree',_0x39bde8(0x268),_0x39bde8(0x169)]),_0x80d98b=this['runGit']([_0x39bde8(0x21a),_0x39bde8(0x243),'--quiet','refs/heads/'+_0x28acd5[_0x39bde8(0x330)]]),_0x11b14a=_0x159663[_0x39bde8(0x15c)]?.[_0x39bde8(0x146)](/\r?\n/)['some'](_0x30d44b=>_0x30d44b[_0x39bde8(0x286)](_0x39bde8(0x195))&&normalizePath(_0x30d44b[_0x39bde8(0x1e2)](0x9))===normalizePath(_0x28acd5[_0x39bde8(0x148)]));if(_0x159663['ok']&&!_0x11b14a&&_0x80d98b[_0x39bde8(0x1c6)]===0x1)return this['atomicWriteJson'](_0x5d2a60,{..._0x495a63,'status':_0x39bde8(0x14b),'resolvedAt':this[_0x39bde8(0x2d9)]()[_0x39bde8(0x167)]()}),error('CREATION_NOT_STARTED',_0x39bde8(0x324));}return error(_0x39bde8(0x309),_0x39bde8(0xde));}if(_0x28acd5[_0x39bde8(0x1af)]){const _0x26aac5=this[_0x39bde8(0x30a)]([_0x39bde8(0x105),'list',_0x39bde8(0x169)]),_0x245c12={};_0x245c12[_0x39bde8(0x267)]=_0x28acd5[_0x39bde8(0x148)];const _0x2ca401=this['runGit'](['branch','--show-current'],_0x245c12);if(!_0x26aac5['ok']||!_0x26aac5[_0x39bde8(0x15c)][_0x39bde8(0x146)]('\x0a')[_0x39bde8(0x153)](_0x2a2e36=>_0x2a2e36[_0x39bde8(0x286)]('worktree\x20')&&normalizePath(_0x2a2e36['slice'](0x9))===normalizePath(_0x28acd5[_0x39bde8(0x148)]))||_0x2ca401[_0x39bde8(0x15c)]!==_0x28acd5[_0x39bde8(0x330)])return error('CREATION_WORKSPACE_MISMATCH',_0x39bde8(0x228));}else{if(!_0x28acd5['path']||normalizePath(_0x28acd5[_0x39bde8(0x148)])!==this['projectPath'])return error(_0x39bde8(0x259),'Recorded\x20workspace\x20differs\x20from\x20this\x20project.');}if(!_0x495a63[_0x39bde8(0x2e4)]&&_0x28acd5['managed'])return error(_0x39bde8(0x259),_0x39bde8(0x1b8));const _0x52eaa9={'schemaVersion':_0x495a63[_0x39bde8(0x311)]||0x3,'task':_0x361ec0,'runId':_0x4e98c8,'pipeline':_0x495a63[_0x39bde8(0x1ea)],'status':_0x39bde8(0x32c),'completedSteps':[],'originWorkspace':_0x495a63['originWorkspace']||this['projectPath'],'workspace':_0x28acd5,'startedAt':_0x495a63[_0x39bde8(0x315)],'updatedAt':this['now']()[_0x39bde8(0x167)]()};let _0x32538d=_0x39bde8(0x162);try{if(_0x52eaa9[_0x39bde8(0x311)]===0x3)this[_0x39bde8(0x272)][_0x39bde8(0x2a6)](_0x52eaa9,_0x495a63[_0x39bde8(0x2e1)]);else this[_0x39bde8(0x260)](_0x52eaa9);_0x32538d='state-write';const _0x315291={};_0x315291[_0x39bde8(0x151)]=!![],this[_0x39bde8(0x313)](_0x52eaa9,_0x315291),_0x32538d=_0x39bde8(0x14c),this[_0x39bde8(0x339)](_0x5d2a60,{..._0x495a63,'status':'completed','recoveredAt':this[_0x39bde8(0x2d9)]()[_0x39bde8(0x167)]()});const _0x4b1e79={};return _0x4b1e79[_0x39bde8(0x30c)]=!![],_0x4b1e79[_0x39bde8(0x222)]=!![],this[_0x39bde8(0xf9)](_0x52eaa9,_0x4b1e79);}catch(_0x26b3b9){const _0x256dd7=creationFailure(_0x26b3b9,_0x32538d);try{const _0x24ff42={..._0x495a63};_0x24ff42[_0x39bde8(0x1c6)]=_0x39bde8(0x230),_0x24ff42['error']=_0x256dd7,this[_0x39bde8(0x339)](_0x5d2a60,_0x24ff42);}catch{}const _0x537398={};return _0x537398[_0x39bde8(0xfe)]=_0x361ec0,_0x537398[_0x39bde8(0x2c6)]=_0x4e98c8,_0x537398[_0x39bde8(0x1d9)]=_0x5d2a60,_0x537398[_0x39bde8(0xf5)]=_0x28acd5,_0x537398[_0x39bde8(0x15b)]=_0x256dd7['code'],_0x537398[_0x39bde8(0x2e2)]=_0x256dd7,error(_0x39bde8(0x231),_0x39bde8(0x336),_0x537398);}});}[_0x3c55b0(0x313)](_0x5d779f,{setCurrent:setCurrent=![]}={}){const _0x5eec03=_0x3c55b0;_0x5d779f[_0x5eec03(0x26a)]=this['now']()[_0x5eec03(0x167)]();if(_0x5d779f[_0x5eec03(0x311)]===0x3)this[_0x5eec03(0x272)]['persist'](_0x5d779f);this[_0x5eec03(0x339)](this['stateFile'](_0x5d779f[_0x5eec03(0xfe)],_0x5d779f[_0x5eec03(0x2c6)]),_0x5d779f);if(_0x5d779f[_0x5eec03(0x311)]===0x3)this['execution'][_0x5eec03(0x1f1)](_0x5d779f);setCurrent&&this[_0x5eec03(0x339)](this[_0x5eec03(0x1f0)](_0x5d779f[_0x5eec03(0xfe)]),{'task':_0x5d779f[_0x5eec03(0xfe)],'runId':_0x5d779f[_0x5eec03(0x2c6)],'updatedAt':_0x5d779f[_0x5eec03(0x26a)]});}['appendLedger'](_0x384f37,_0x28d1e3,_0x344858){const _0x2c7683=_0x3c55b0;if(_0x384f37[_0x2c7683(0x311)]===0x3)return this['execution']['ledger'](_0x384f37);const _0x5ca434=this[_0x2c7683(0x1c8)](_0x384f37['task'],_0x384f37['runId']);let _0x1488a2=fs[_0x2c7683(0xff)](_0x5ca434)?fs['readFileSync'](_0x5ca434,'utf8'):'';!_0x1488a2&&(_0x1488a2=_0x2c7683(0x205)+_0x384f37['task']+_0x2c7683(0x109)+_0x384f37[_0x2c7683(0x2c6)]+_0x2c7683(0x23d)+_0x384f37[_0x2c7683(0x1ea)]+'\x0a'),_0x1488a2+='\x0a##\x20'+this[_0x2c7683(0x2d9)]()[_0x2c7683(0x167)]()+_0x2c7683(0x1e8)+_0x28d1e3+'\x0a\x0a'+_0x344858+'\x0a',this['atomicWrite'](_0x5ca434,_0x1488a2);}[_0x3c55b0(0x1bd)](_0x1274cc,_0x9ad8ec=this[_0x3c55b0(0xc4)]){const _0x1dac38=_0x3c55b0,_0x14a951=[path[_0x1dac38(0x1cc)](_0x9ad8ec,_0x1dac38(0x16a),'skills',_0x1274cc,_0x1dac38(0x285)),path['join'](this[_0x1dac38(0xc4)],'.agents',_0x1dac38(0x273),_0x1274cc,'SKILL.md')],{SKILL_NAME_MAPPING:_0x5ab4d7,CANONICAL_SKILL_SOURCES:_0x3578b9}=require(_0x1dac38(0x252)),_0x582b58=_0x3578b9[_0x1274cc]||Object[_0x1dac38(0xe8)](_0x5ab4d7)[_0x1dac38(0x1e6)](_0x4aa166=>_0x5ab4d7[_0x4aa166]===_0x1274cc);if(_0x582b58)_0x14a951[_0x1dac38(0x310)](path[_0x1dac38(0x1cc)](this[_0x1dac38(0xc4)],'.agents',_0x1dac38(0x273),_0x582b58,_0x1dac38(0x285)));const _0x28f581=_0x14a951['find'](_0x167611=>fs[_0x1dac38(0xff)](_0x167611));if(_0x28f581)return null;const _0x303a2a={};return _0x303a2a[_0x1dac38(0x12c)]=_0x14a951[0x0],_0x303a2a['recovery_command']=_0x1dac38(0xe7)+this['projectPath']+'\x22',error('REQUIRED_SKILL_MISSING',_0x1dac38(0x2eb)+_0x1274cc+_0x1dac38(0x218),_0x303a2a);}['isLinkedWorktree'](){const _0x4b5d31=_0x3c55b0;if(!this[_0x4b5d31(0x2d4)])return![];const _0x1fbbb7=this[_0x4b5d31(0x30a)](['rev-parse',_0x4b5d31(0x182)]);if(!_0x1fbbb7['ok']||!this[_0x4b5d31(0xe5)])return![];const _0x2926b1=normalizePath(path[_0x4b5d31(0x250)](this[_0x4b5d31(0xc4)],_0x1fbbb7['stdout']));if(_0x2926b1===this[_0x4b5d31(0xe5)])return![];const _0x819ea8=this[_0x4b5d31(0x30a)]([_0x4b5d31(0x105),_0x4b5d31(0x268),_0x4b5d31(0x169)]);if(!_0x819ea8['ok'])return![];const _0x37ea0d=normalizePath(this[_0x4b5d31(0xc4)])[_0x4b5d31(0x21d)]();return _0x819ea8[_0x4b5d31(0x15c)][_0x4b5d31(0x146)](/\r?\n/)[_0x4b5d31(0x327)](_0xdf5939=>_0xdf5939[_0x4b5d31(0x286)]('worktree\x20'))[_0x4b5d31(0x153)](_0x5cbaee=>normalizePath(_0x5cbaee[_0x4b5d31(0x1e2)](0x9))[_0x4b5d31(0x21d)]()===_0x37ea0d);}[_0x3c55b0(0x102)](){const _0x4367f9=_0x3c55b0;if(this['isGitRepository'])return error(_0x4367f9(0x2b7),_0x4367f9(0x199));const _0x558e1a=fs[_0x4367f9(0x200)](path['join'](os[_0x4367f9(0x32a)](),_0x4367f9(0xca)));try{const _0x99b615=path['join'](_0x558e1a,_0x4367f9(0x30d)),_0x5f0151=path[_0x4367f9(0x1cc)](_0x558e1a,_0x4367f9(0x1ec)),_0x133eb0={};_0x133eb0[_0x4367f9(0x267)]=_0x558e1a;const _0x36bb2a=this[_0x4367f9(0x30a)](['init',_0x4367f9(0x257),_0x99b615],_0x133eb0);if(!_0x36bb2a['ok'])return error(_0x4367f9(0x1f8),_0x36bb2a[_0x4367f9(0x291)]||_0x4367f9(0x31c));const _0x4bd332={};_0x4bd332['GIT_INDEX_FILE']=_0x5f0151;const _0x1bd60c=_0x4bd332,_0x5cc591=this[_0x4367f9(0x30a)]([_0x4367f9(0x182),_0x99b615,_0x4367f9(0x2c2),this[_0x4367f9(0xc4)],_0x4367f9(0x14d),'-A'],{'cwd':this['projectPath'],'env':_0x1bd60c});if(!_0x5cc591['ok'])return error(_0x4367f9(0x1f8),_0x5cc591[_0x4367f9(0x291)]||_0x4367f9(0x287));const _0x855f82=this[_0x4367f9(0x30a)]([_0x4367f9(0x182),_0x99b615,_0x4367f9(0x2c2),this['projectPath'],_0x4367f9(0x2de),_0x4367f9(0x1ac),'--name-only','-z'],{'cwd':this[_0x4367f9(0xc4)],'env':_0x1bd60c});if(!_0x855f82['ok'])return error(_0x4367f9(0x1f8),_0x855f82['stderr']||'Cannot\x20read\x20Git\x20bootstrap\x20preview.');const _0x4ee28c=_0x855f82[_0x4367f9(0x15c)]?_0x855f82[_0x4367f9(0x15c)][_0x4367f9(0x146)]('\x00')[_0x4367f9(0x327)](Boolean)[_0x4367f9(0x2be)](_0x226aa0=>_0x226aa0['replace'](/\\/g,'/'))[_0x4367f9(0x166)]():[],_0x25eca9=_0x4ee28c[_0x4367f9(0x2be)](_0xc63bd7=>{const _0x2e7d01=_0x4367f9,_0xf779f7=path[_0x2e7d01(0x1cc)](this['projectPath'],_0xc63bd7),_0x2d188f=fs['statSync'](_0xf779f7),_0x634bf3=crypto[_0x2e7d01(0x115)](_0x2e7d01(0x24a))['update'](fs[_0x2e7d01(0x24e)](_0xf779f7))[_0x2e7d01(0x282)](_0x2e7d01(0x104));return{'path':_0xc63bd7,'size':_0x2d188f[_0x2e7d01(0x216)],'mtimeMs':Math['trunc'](_0x2d188f[_0x2e7d01(0x198)]),'sha256':_0x634bf3};}),_0x573cab=_0x4ee28c[_0x4367f9(0x327)](_0x41b12d=>{const _0x26053d=_0x4367f9,_0x258c64=/\.env\.example$/i['test'](_0x41b12d);if(!_0x258c64&&SENSITIVE_PATTERNS[_0x26053d(0x153)](_0x40aa2a=>_0x40aa2a[_0x26053d(0x338)](_0x41b12d)))return!![];const _0x966197=fs[_0x26053d(0x24e)](path[_0x26053d(0x1cc)](this[_0x26053d(0xc4)],_0x41b12d),_0x26053d(0xf8));return SENSITIVE_CONTENT_PATTERNS[_0x26053d(0x153)](_0x448b49=>_0x448b49[_0x26053d(0x338)](_0x966197));}),_0xb203d8=_0x25eca9[_0x4367f9(0x327)](_0x5bdb7e=>_0x5bdb7e[_0x4367f9(0x216)]>0xa*0x400*0x400)[_0x4367f9(0x2be)](_0x2fe7b4=>_0x2fe7b4[_0x4367f9(0x148)]),_0x40b128=[_0x4367f9(0x284)],_0xd4b721={};_0xd4b721[_0x4367f9(0x162)]=_0x25eca9,_0xd4b721[_0x4367f9(0x33f)]=_0x40b128;const _0x4ece01=crypto[_0x4367f9(0x115)](_0x4367f9(0x24a))[_0x4367f9(0x2d1)](JSON['stringify'](_0xd4b721))[_0x4367f9(0x282)](_0x4367f9(0x104));return{'success':![],'code':_0x573cab['length']?_0x4367f9(0x241):_0x4367f9(0x2ab),'error':_0x573cab[_0x4367f9(0x156)]?_0x4367f9(0x308):_0x4367f9(0x100),'confirmationToken':_0x4ece01,'fileCount':_0x4ee28c[_0x4367f9(0x156)],'totalBytes':_0x25eca9['reduce']((_0x2e5e2b,_0x5185d1)=>_0x2e5e2b+_0x5185d1[_0x4367f9(0x216)],0x0),'files':_0x4ee28c,'sensitiveFiles':_0x573cab,'largeFiles':_0xb203d8,'plannedIgnoreAdditions':_0x40b128};}finally{const _0x2afbb4={};_0x2afbb4[_0x4367f9(0x1c3)]=!![],_0x2afbb4[_0x4367f9(0x29d)]=!![],fs[_0x4367f9(0x28f)](_0x558e1a,_0x2afbb4);}}[_0x3c55b0(0x220)](){const _0x269501=_0x3c55b0,_0x4b098e=path[_0x269501(0x1cc)](this[_0x269501(0xc4)],_0x269501(0x1ba)),_0x571c6e=_0x269501(0x284),_0x15cbca=fs[_0x269501(0xff)](_0x4b098e)?fs[_0x269501(0x24e)](_0x4b098e,_0x269501(0xf8)):'',_0x1ce2c4=_0x15cbca[_0x269501(0x146)](/\r?\n/)['map'](_0x16058c=>_0x16058c[_0x269501(0x1a7)]());if(_0x1ce2c4['includes'](_0x571c6e))return;const _0x3e63be=_0x15cbca&&!_0x15cbca[_0x269501(0x2aa)]('\x0a')?'\x0a':'';fs['appendFileSync'](_0x4b098e,''+_0x3e63be+_0x571c6e+'\x0a',_0x269501(0xf8));}[_0x3c55b0(0x1b3)](_0x137739){const _0x487f10=_0x3c55b0,_0x281ce0=this[_0x487f10(0x102)]();if(_0x281ce0[_0x487f10(0x142)]===_0x487f10(0x241))return _0x281ce0;if(_0x281ce0[_0x487f10(0x103)]!==_0x137739){const _0x6d39ed={};return _0x6d39ed[_0x487f10(0x20f)]=_0x281ce0,error(_0x487f10(0x2cd),'Project\x20files\x20changed\x20after\x20preview.\x20Request\x20a\x20new\x20confirmation\x20token.',_0x6d39ed);}const _0x1dcf53=this[_0x487f10(0x1f3)]()[_0x487f10(0x327)](_0x279443=>_0x279443[_0x487f10(0x1c6)]===_0x487f10(0x32c)||_0x279443[_0x487f10(0x1c6)]===_0x487f10(0x303));if(_0x1dcf53[_0x487f10(0x156)])return error(_0x487f10(0x13a),_0x487f10(0x145));const _0x4a9215=this[_0x487f10(0x30a)]([_0x487f10(0x279),'--get',_0x487f10(0x19d)]),_0x28bbd0=this['runGit'](['config','--get',_0x487f10(0xbb)]);if(!_0x4a9215['ok']||!_0x4a9215[_0x487f10(0x15c)]||!_0x28bbd0['ok']||!_0x28bbd0[_0x487f10(0x15c)]){const _0x102ff6={};return _0x102ff6[_0x487f10(0x10e)]=[_0x487f10(0x213),'git\x20config\x20--global\x20user.email\x20\x22you@example.com\x22'],error(_0x487f10(0x1d1),_0x487f10(0x120),_0x102ff6);}const _0x327df3=this['runGit'](['config',_0x487f10(0x2b5),'init.defaultBranch']),_0x14fc6b=_0x327df3['ok']&&_0x327df3[_0x487f10(0x15c)]?_0x327df3[_0x487f10(0x15c)]:_0x487f10(0x2ca);let _0x3dca0e=this[_0x487f10(0x30a)]([_0x487f10(0x202),'-b',_0x14fc6b]);if(!_0x3dca0e['ok']){_0x3dca0e=this['runGit'](['init']);if(!_0x3dca0e['ok'])return error(_0x487f10(0x1e3),_0x3dca0e[_0x487f10(0x291)]);const _0x340236=this['runGit'](['branch','-M',_0x14fc6b]);if(!_0x340236['ok'])return error(_0x487f10(0x1e3),_0x340236[_0x487f10(0x291)]);}this['ensureRuntimeIgnore']();const _0x320f40=this[_0x487f10(0x30a)](['add','-A']);if(!_0x320f40['ok'])return error(_0x487f10(0x214),_0x320f40[_0x487f10(0x291)]);const _0x161e1f=this[_0x487f10(0x30a)]([_0x487f10(0x1ab),'--no-gpg-sign','-m','chore:\x20initialize\x20local\x20repository']);if(!_0x161e1f['ok'])return error(_0x487f10(0x214),_0x161e1f[_0x487f10(0x291)]);const _0x2f38c4=this['runGit']([_0x487f10(0x1c6),'--porcelain']);if(!_0x2f38c4['ok']||_0x2f38c4['stdout'])return error(_0x487f10(0x2d7),_0x487f10(0xdb),{'status':_0x2f38c4[_0x487f10(0x15c)]});const _0x1b534a=this[_0x487f10(0x251)];this['refreshRepositoryContext'](),this[_0x487f10(0x1d0)](_0x1b534a);const _0x528376={};return _0x528376['success']=!![],_0x528376[_0x487f10(0x330)]=_0x14fc6b,_0x528376[_0x487f10(0x12e)]=!![],_0x528376;}[_0x3c55b0(0x1d0)](_0x166400){const _0x48bb33=_0x3c55b0;if(!_0x166400||normalizePath(_0x166400)===normalizePath(this['stateRoot'])||!fs[_0x48bb33(0xff)](_0x166400))return;const _0x5f4950=path['join'](this[_0x48bb33(0x251)],_0x48bb33(0xbc),crypto[_0x48bb33(0x115)](_0x48bb33(0x24a))['update'](_0x166400)['digest'](_0x48bb33(0x104))+_0x48bb33(0x2e8));if(fs[_0x48bb33(0xff)](_0x5f4950))return;const _0x5793f6=this[_0x48bb33(0x2c4)](_0x166400)[_0x48bb33(0x327)](_0x10f104=>_0x10f104[_0x48bb33(0x1c6)]===_0x48bb33(0x32c)||_0x10f104[_0x48bb33(0x1c6)]===_0x48bb33(0x303)),_0x2ed45e={};_0x2ed45e['code']='PIPELINES_ACTIVE_DURING_GIT_INIT';if(_0x5793f6[_0x48bb33(0x156)])throw Object[_0x48bb33(0xf2)](new Error(_0x48bb33(0x2f9)),_0x2ed45e);for(const _0x3aac81 of this[_0x48bb33(0x2c4)](_0x166400)){const _0x3aec5a=path[_0x48bb33(0x1cc)](_0x166400,_0x3aac81['task'],_0x48bb33(0x312),_0x3aac81[_0x48bb33(0x2c6)]),_0x470eca=this[_0x48bb33(0x2fd)](_0x3aac81[_0x48bb33(0xfe)],_0x3aac81[_0x48bb33(0x2c6)]),_0x3c967f={};_0x3c967f[_0x48bb33(0x1c3)]=!![],_0x3c967f[_0x48bb33(0x24f)]=!![];if(!fs[_0x48bb33(0xff)](_0x470eca))fs['cpSync'](_0x3aec5a,_0x470eca,_0x3c967f);this[_0x48bb33(0x2c7)](_0x3aec5a,_0x470eca);const _0x254cd3=path[_0x48bb33(0x1cc)](_0x166400,_0x3aac81[_0x48bb33(0xfe)],'current.json');fs[_0x48bb33(0xff)](_0x254cd3)&&!fs[_0x48bb33(0xff)](this[_0x48bb33(0x1f0)](_0x3aac81[_0x48bb33(0xfe)]))&&(fs['copyFileSync'](_0x254cd3,this[_0x48bb33(0x1f0)](_0x3aac81[_0x48bb33(0xfe)])),this[_0x48bb33(0x2c7)](_0x254cd3,this['currentFile'](_0x3aac81[_0x48bb33(0xfe)])));}this[_0x48bb33(0x339)](_0x5f4950,{'source':_0x166400,'migratedAt':this['now']()[_0x48bb33(0x167)]()});}[_0x3c55b0(0x2c7)](_0xa0db04,_0x25452b){const _0x2e363d=_0x3c55b0,_0x4380e8=fs[_0x2e363d(0x1b7)](_0xa0db04),_0x1961e5=fs[_0x2e363d(0x1b7)](_0x25452b);if(_0x4380e8[_0x2e363d(0x225)]()!==_0x1961e5[_0x2e363d(0x225)]()){const _0x41f68f={};_0x41f68f[_0x2e363d(0x142)]=_0x2e363d(0x2fa);throw Object[_0x2e363d(0xf2)](new Error('Pipeline\x20state\x20copy\x20type\x20mismatch:\x20'+_0xa0db04),_0x41f68f);}if(_0x4380e8[_0x2e363d(0x225)]()){const _0x2c15d6=fs['readdirSync'](_0xa0db04)['sort'](),_0x342ac6=fs[_0x2e363d(0x128)](_0x25452b)[_0x2e363d(0x166)]();if(JSON[_0x2e363d(0x2a2)](_0x2c15d6)!==JSON['stringify'](_0x342ac6)){const _0x568a18={};_0x568a18['code']='STATE_MIGRATION_VERIFY_FAILED';throw Object[_0x2e363d(0xf2)](new Error('Pipeline\x20state\x20copy\x20entries\x20mismatch:\x20'+_0xa0db04),_0x568a18);}for(const _0x556a34 of _0x2c15d6)this[_0x2e363d(0x2c7)](path[_0x2e363d(0x1cc)](_0xa0db04,_0x556a34),path[_0x2e363d(0x1cc)](_0x25452b,_0x556a34));return;}const _0x1f599f=crypto[_0x2e363d(0x115)]('sha256')['update'](fs[_0x2e363d(0x24e)](_0xa0db04))['digest'](_0x2e363d(0x104)),_0x2fd227=crypto[_0x2e363d(0x115)](_0x2e363d(0x24a))[_0x2e363d(0x2d1)](fs[_0x2e363d(0x24e)](_0x25452b))['digest']('hex');if(_0x1f599f!==_0x2fd227){const _0x477125={};_0x477125[_0x2e363d(0x142)]=_0x2e363d(0x2fa);throw Object[_0x2e363d(0xf2)](new Error(_0x2e363d(0x2d6)+_0xa0db04),_0x477125);}}[_0x3c55b0(0x2b1)](_0x4b8bd0,_0x17bdd1,_0x3c9f56){const _0x4d6b29=_0x3c55b0;if(!this[_0x4d6b29(0x2d4)]){if(!_0x3c9f56[_0x4d6b29(0x2ff)]||!_0x3c9f56['confirmationToken'])return this[_0x4d6b29(0x102)]();if(!_0x3c9f56[_0x4d6b29(0x2ee)])return error(_0x4d6b29(0x321),_0x4d6b29(0x2ec));const _0x1df03e=this[_0x4d6b29(0x1b3)](_0x3c9f56['confirmationToken']);if(!_0x1df03e[_0x4d6b29(0x30c)])return _0x1df03e;}if(!_0x3c9f56[_0x4d6b29(0x2ee)])return error('WORKTREE_CONSENT_REQUIRED',_0x4d6b29(0x2b2));const _0x41f8d8=this['runGit']([_0x4d6b29(0x1c6),_0x4d6b29(0x169)]);if(!_0x41f8d8['ok']||_0x41f8d8[_0x4d6b29(0x15c)])return error(_0x4d6b29(0x188),'Base\x20checkout\x20must\x20be\x20clean\x20before\x20creating\x20a\x20worktree.',{'status':_0x41f8d8[_0x4d6b29(0x15c)]});const _0x6395ad=this[_0x4d6b29(0x30a)]([_0x4d6b29(0xd3),_0x4d6b29(0x318)]);if(!_0x6395ad['ok'])return error(_0x4d6b29(0xcd),_0x6395ad[_0x4d6b29(0x291)]||_0x4d6b29(0x1a2));const _0x284291=this[_0x4d6b29(0x30a)]([_0x4d6b29(0x330),_0x4d6b29(0x28e)]),_0x32354a=path[_0x4d6b29(0x130)](this[_0x4d6b29(0xc4)]),_0x9beb65=path[_0x4d6b29(0x1cc)](path[_0x4d6b29(0x1e4)](this[_0x4d6b29(0xc4)]),'.ag-kit-worktrees',_0x32354a,_0x4b8bd0,_0x17bdd1),_0x2cda6b=_0x4d6b29(0x1a3)+_0x4b8bd0+'/'+_0x17bdd1;if(fs[_0x4d6b29(0xff)](_0x9beb65))return error(_0x4d6b29(0x1ad),_0x4d6b29(0xcb)+_0x9beb65);const _0x3b9635=this[_0x4d6b29(0x30a)]([_0x4d6b29(0x105),'add','-b',_0x2cda6b,_0x9beb65,_0x3c9f56[_0x4d6b29(0xd6)]||_0x6395ad[_0x4d6b29(0x15c)]]),_0xe05c40={};_0xe05c40[_0x4d6b29(0x26c)]=_0x9beb65,_0xe05c40[_0x4d6b29(0x330)]=_0x2cda6b;if(!_0x3b9635['ok'])return error(_0x4d6b29(0x165),_0x3b9635[_0x4d6b29(0x291)]||_0x4d6b29(0x141),_0xe05c40);return{'success':!![],'workspace':{'mode':_0x4d6b29(0x105),'path':normalizePath(_0x9beb65),'branch':_0x2cda6b,'baseRef':_0x3c9f56[_0x4d6b29(0xd6)]||_0x6395ad['stdout'],'baseBranch':_0x284291['ok']?_0x284291[_0x4d6b29(0x15c)]:'','status':'ready','createdAt':this[_0x4d6b29(0x2d9)]()['toISOString'](),'managed':!![]}};}[_0x3c55b0(0x2cf)](_0x31dbbb,_0x4992d5,_0x290501={}){const _0x2db848=_0x3c55b0,_0xcd41d7=_0x290501[_0x2db848(0x2dc)]||'auto';if(![_0x2db848(0x335),'current','worktree']['includes'](_0xcd41d7))return error(_0x2db848(0x233),_0x2db848(0x323)+_0xcd41d7);if(_0xcd41d7===_0x2db848(0x105))return this[_0x2db848(0x2b1)](_0x31dbbb,_0x4992d5,_0x290501);return{'success':!![],'workspace':{'mode':this[_0x2db848(0x289)]()?_0x2db848(0x173):_0x2db848(0x274),'path':this[_0x2db848(0xc4)],'branch':this['isGitRepository']?this[_0x2db848(0x30a)]([_0x2db848(0x330),'--show-current'])['stdout']:'','baseRef':this[_0x2db848(0x2d4)]?this[_0x2db848(0x30a)]([_0x2db848(0xd3),_0x2db848(0x318)])[_0x2db848(0x15c)]:'','baseBranch':this[_0x2db848(0x2d4)]?this[_0x2db848(0x30a)](['branch',_0x2db848(0x28e)])[_0x2db848(0x15c)]:'','status':_0x2db848(0x2a9),'managed':![]}};}[_0x3c55b0(0xd9)](_0x4e9091={}){const _0x2ef38c=_0x3c55b0;let {pipeline:_0x13d6bf,task:_0x1c42d6,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x4e9091;const _0x555377=PipelineManager[_0x2ef38c(0x1c9)](_0x1c42d6);if(_0x555377)return _0x555377;if(_0x4e9091[_0x2ef38c(0x2a3)])try{return this[_0x2ef38c(0x11d)](_0x1c42d6,_0x4e9091['recoverRunId'],_0x4e9091['sessionId']);}catch(_0x9bd846){return error('RUN_RECOVERY_FAILED',_0x2ef38c(0x20c),{'task':_0x1c42d6,'runId':_0x4e9091['recoverRunId'],'diagnostic':creationFailure(_0x9bd846,'recovery-inspection')});}const _0x38b599=PipelineManager[_0x2ef38c(0x26b)](_0x4e9091[_0x2ef38c(0xf5)]);if(_0x38b599)return _0x38b599;if(![0x2,0x3]['includes'](schemaVersion))return error('INVALID_SCHEMA_VERSION',_0x2ef38c(0x2b4));if(_0x4e9091[_0x2ef38c(0xbd)]!==undefined&&![0x1,0x2,0x3][_0x2ef38c(0x2f0)](_0x4e9091[_0x2ef38c(0xbd)]))return error(_0x2ef38c(0x1b2),_0x2ef38c(0x157));if(_0x4e9091['workflowProfile']!==undefined&&![_0x2ef38c(0x2af),'standard',_0x2ef38c(0xc6)][_0x2ef38c(0x2f0)](_0x4e9091[_0x2ef38c(0x110)]))return error(_0x2ef38c(0x14a),_0x2ef38c(0x292));if(_0x4e9091['workItemCount']!==undefined&&(!Number['isInteger'](_0x4e9091[_0x2ef38c(0x2c0)])||_0x4e9091[_0x2ef38c(0x2c0)]<0x1))return error(_0x2ef38c(0x119),'workItemCount\x20must\x20be\x20a\x20positive\x20integer.');for(const _0x4c6f5d of[_0x2ef38c(0x275),_0x2ef38c(0x191),_0x2ef38c(0x273)]){if(_0x4e9091[_0x4c6f5d]!==undefined&&(!Array[_0x2ef38c(0x19a)](_0x4e9091[_0x4c6f5d])||!_0x4e9091[_0x4c6f5d][_0x2ef38c(0xbf)](_0x261a25=>typeof _0x261a25===_0x2ef38c(0x266)&&_0x261a25['trim']())))return error(_0x2ef38c(0x119),_0x4c6f5d+'\x20must\x20contain\x20non-empty\x20strings.');}if(schemaVersion===0x3&&_0x4e9091[_0x2ef38c(0x19f)]!==0x0&&_0x13d6bf!==_0x2ef38c(0x29a)&&!_0x4e9091[_0x2ef38c(0x275)]?.[_0x2ef38c(0x156)])return error(_0x2ef38c(0x331),_0x2ef38c(0xd4));let _0x54b279;if(schemaVersion===0x3&&_0x4e9091[_0x2ef38c(0x19f)]!==0x0&&_0x13d6bf!==_0x2ef38c(0x29a))try{_0x54b279=require(_0x2ef38c(0xcf))[_0x2ef38c(0x192)](_0x4e9091[_0x2ef38c(0x2ea)],_0x4e9091[_0x2ef38c(0x275)]||[],{'productImpact':_0x4e9091[_0x2ef38c(0x1c1)]===!![],'platformTarget':_0x4e9091[_0x2ef38c(0x1c1)]===!![]&&[_0x2ef38c(0xf6),'mobile','flutter']['includes'](_0x4e9091[_0x2ef38c(0x12b)])?_0x4e9091[_0x2ef38c(0x12b)]===_0x2ef38c(0xf6)?'web':'mobile':null,'contentReview':_0x13d6bf==='document-artifact','artifactReview':_0x4e9091['artifactReview']===!![]});}catch(_0x3e9d8f){return error('INVALID_QUALITY_PLAN',_0x3e9d8f[_0x2ef38c(0xf7)]);}const _0x1e1298=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x476911=_0x1e1298[_0x13d6bf];if(!_0x476911)return error(_0x2ef38c(0x22e),_0x2ef38c(0x13e)+_0x13d6bf+'.',{'valid_pipelines':Object[_0x2ef38c(0xe8)](PIPELINE_DEFINITIONS)});const _0x4f3c79=_0x476911[_0x2ef38c(0x23f)][0x0][_0x2ef38c(0x1b1)];if(_0x4f3c79){const _0x855081=this[_0x2ef38c(0x1bd)](_0x4f3c79);if(_0x855081)return _0x855081;}if((workspace[_0x2ef38c(0x2dc)]||_0x2ef38c(0x335))===_0x2ef38c(0x105)&&!this[_0x2ef38c(0x2d4)]){if(!workspace[_0x2ef38c(0x2ff)]||!workspace[_0x2ef38c(0x103)])return this['previewGitBootstrap']();if(!workspace[_0x2ef38c(0x2ee)])return error(_0x2ef38c(0x321),_0x2ef38c(0x2ec));const _0x40b582=this['initializeGitFromPreview'](workspace[_0x2ef38c(0x103)]);if(!_0x40b582[_0x2ef38c(0x30c)])return _0x40b582;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this[_0x2ef38c(0x174)](_0x2ef38c(0x2a8),()=>this['withLock'](_0x1c42d6,()=>{const _0x1a1660=_0x2ef38c,_0x5c07a8=this[_0x1a1660(0x124)](_0x1c42d6);if(_0x5c07a8&&['initializing','active',_0x1a1660(0x26e)][_0x1a1660(0x2f0)](_0x5c07a8[_0x1a1660(0x1c6)]))return error(_0x1a1660(0x1fc),_0x1a1660(0x129)+_0x1c42d6+'\x22\x20already\x20has\x20an\x20active\x20run.',{'task':_0x1c42d6,'runId':_0x5c07a8[_0x1a1660(0x2c6)]});if(schemaVersion===0x3&&_0x4e9091[_0x1a1660(0x19f)]!==0x0&&_0x13d6bf!==_0x1a1660(0x29a)){const _0x3a0443=_0x3e91df=>JSON[_0x1a1660(0x2a2)](_0x3e91df[_0x1a1660(0x2be)](_0x5738e8=>_0x5738e8[_0x1a1660(0x1a7)]()[_0x1a1660(0x1aa)](/\s+/g,'\x20')[_0x1a1660(0xc5)]())[_0x1a1660(0x166)]()),_0x26066a=_0x3a0443(_0x4e9091[_0x1a1660(0x275)]),_0x1a99f6=_0x19a500=>{const _0x289a66=_0x1a1660,_0x5eff38=normalizePath(_0x19a500);return process[_0x289a66(0x196)]===_0x289a66(0x1a6)?_0x5eff38[_0x289a66(0x21d)]():_0x5eff38;};if(fs[_0x1a1660(0xff)](this[_0x1a1660(0x251)])){const _0x3fd873={};_0x3fd873['withFileTypes']=!![];for(const _0xadd963 of fs[_0x1a1660(0x128)](this[_0x1a1660(0x251)],_0x3fd873)){if(!_0xadd963['isDirectory']()||_0xadd963[_0x1a1660(0x11f)][_0x1a1660(0x286)]('.')||_0xadd963[_0x1a1660(0x11f)]===_0x1c42d6)continue;const _0x3e80f2=this[_0x1a1660(0x124)](_0xadd963[_0x1a1660(0x11f)]);if(_0x3e80f2&&[_0x1a1660(0x303),_0x1a1660(0x32c),'paused']['includes'](_0x3e80f2['status'])&&_0x3e80f2[_0x1a1660(0x1ea)]!==_0x1a1660(0x29a)&&_0x3e80f2['quality']?.[_0x1a1660(0x30f)]&&_0x3e80f2[_0x1a1660(0x316)]?.[_0x1a1660(0x16f)]?.[_0x1a1660(0x156)]&&[_0x3e80f2[_0x1a1660(0x2e4)],_0x3e80f2[_0x1a1660(0xf5)][_0x1a1660(0x148)]][_0x1a1660(0x327)](Boolean)[_0x1a1660(0x153)](_0x54cf16=>_0x1a99f6(_0x54cf16)===_0x1a99f6(this['projectPath']))&&overlappingScope(_0x3e80f2[_0x1a1660(0x191)],_0x4e9091['scope'],this[_0x1a1660(0xc4)])&&_0x3a0443(_0x3e80f2[_0x1a1660(0x316)][_0x1a1660(0x16f)])===_0x26066a){const _0x2efad4={};return _0x2efad4['task']=_0x3e80f2['task'],_0x2efad4[_0x1a1660(0x2c6)]=_0x3e80f2[_0x1a1660(0x2c6)],_0x2efad4[_0x1a1660(0x1c6)]=_0x3e80f2[_0x1a1660(0x1c6)],_0x2efad4[_0x1a1660(0x2d0)]=_0x3e80f2['execution']?.[_0x1a1660(0x2d0)]||null,_0x2efad4[_0x1a1660(0x18e)]=_0x3e80f2[_0x1a1660(0xc0)]?.[_0x1a1660(0x30f)]?.['impact']||null,error(_0x1a1660(0x31e),_0x1a1660(0x290),_0x2efad4);}}}}const _0x5aaaf9=this['generateRunId'](),_0x2ebbc8=this[_0x1a1660(0x194)](_0x1c42d6);if(_0x2ebbc8)return error('RUN_CREATION_INCOMPLETE',_0x1a1660(0x320),{'intent':_0x2ebbc8});const _0x1cb37d=this[_0x1a1660(0x2bf)](_0x1c42d6,_0x5aaaf9),_0x3d309b={'task':_0x1c42d6,'runId':_0x5aaaf9,'pipeline':_0x13d6bf,'schemaVersion':schemaVersion,'status':_0x1a1660(0xe4),'originWorkspace':this[_0x1a1660(0xc4)],'requestedWorkspace':workspace,'runtimeVersion':require(_0x1a1660(0x2c1))[_0x1a1660(0x332)],'args':_0x4e9091,'createdAt':this['now']()['toISOString']()};this[_0x1a1660(0x339)](_0x1cb37d,_0x3d309b);let _0x5752bc='workspace-resolution';try{const _0x50090f=this[_0x1a1660(0x2cf)](_0x1c42d6,_0x5aaaf9,workspace);if(!_0x50090f['success']){const _0x3fb861={..._0x3d309b};return _0x3fb861[_0x1a1660(0x1c6)]=_0x1a1660(0x247),_0x3fb861[_0x1a1660(0x1ae)]=_0x50090f,this[_0x1a1660(0x339)](_0x1cb37d,_0x3fb861),_0x50090f;}_0x3d309b['workspace']=_0x50090f[_0x1a1660(0xf5)],_0x3d309b[_0x1a1660(0x1c6)]='workspace-ready',_0x5752bc='intent-workspace-write',this['atomicWriteJson'](_0x1cb37d,_0x3d309b);const _0x3ccc59={'schemaVersion':schemaVersion,'task':_0x1c42d6,'runId':_0x5aaaf9,'pipeline':_0x13d6bf,'status':_0x1a1660(0x32c),'completedSteps':[],'originWorkspace':this[_0x1a1660(0xc4)],'workspace':_0x50090f[_0x1a1660(0xf5)],'startedAt':this[_0x1a1660(0x2d9)]()[_0x1a1660(0x167)](),'updatedAt':this[_0x1a1660(0x2d9)]()[_0x1a1660(0x167)]()};_0x5752bc='snapshot';if(schemaVersion===0x3)this[_0x1a1660(0x272)][_0x1a1660(0x2a6)](_0x3ccc59,_0x4e9091);else this[_0x1a1660(0x260)](_0x3ccc59);this[_0x1a1660(0x1e9)](_0x3ccc59),_0x5752bc=_0x1a1660(0x136);const _0x34e7e1={};_0x34e7e1[_0x1a1660(0x151)]=!![],this['writeState'](_0x3ccc59,_0x34e7e1),_0x5752bc=_0x1a1660(0x1ce),this[_0x1a1660(0x1fa)](_0x3ccc59,'Pipeline\x20started',_0x1a1660(0x13d)+_0x3ccc59[_0x1a1660(0xf5)]['path']+_0x1a1660(0x122)+_0x476911[_0x1a1660(0x23f)][0x0]['id']),_0x5752bc=_0x1a1660(0x14c);const _0x14692b={..._0x3d309b};_0x14692b[_0x1a1660(0x1c6)]='completed',this[_0x1a1660(0x339)](_0x1cb37d,_0x14692b);const _0x20acd7={};return _0x20acd7[_0x1a1660(0x30c)]=!![],this['formatStatus'](_0x3ccc59,_0x20acd7);}catch(_0x1f56ba){const _0x294528=creationFailure(_0x1f56ba,_0x5752bc);try{const _0x5bd749={..._0x3d309b};_0x5bd749[_0x1a1660(0x1c6)]=_0x1a1660(0x230),_0x5bd749[_0x1a1660(0x1ae)]=_0x294528,this[_0x1a1660(0x339)](_0x1cb37d,_0x5bd749);}catch{}const _0x40730e={};return _0x40730e[_0x1a1660(0xfe)]=_0x1c42d6,_0x40730e[_0x1a1660(0x2c6)]=_0x5aaaf9,_0x40730e[_0x1a1660(0x1d9)]=_0x1cb37d,_0x40730e[_0x1a1660(0xf5)]=_0x3d309b[_0x1a1660(0xf5)],_0x40730e[_0x1a1660(0x15b)]=_0x294528[_0x1a1660(0x142)],_0x40730e[_0x1a1660(0x2e2)]=_0x294528,error('RUN_INITIALIZATION_FAILED','Run\x20creation\x20was\x20interrupted;\x20its\x20workspace\x20and\x20intent\x20were\x20preserved.',_0x40730e);}}));}catch(_0x1ee70f){return error(_0x2ef38c(0x27e),'Pipeline\x20state\x20could\x20not\x20be\x20inspected;\x20no\x20new\x20run\x20was\x20created.',{'task':_0x1c42d6,'diagnostic':creationFailure(_0x1ee70f,_0x2ef38c(0x288))});}}['next'](_0x3e00b8={}){const _0x2436e=_0x3c55b0;return this['execution'][_0x2436e(0x18b)](_0x3e00b8);}[_0x3c55b0(0xd2)](){return this['execution']['cancelVerifications']();}[_0x3c55b0(0x2fc)](_0x2ebc7c={}){const _0x337fab=_0x3c55b0;return this[_0x337fab(0x272)]['recordVerificationAsync'](_0x2ebc7c);}[_0x3c55b0(0x1a8)](_0x43e1f3={}){return this['execution']['recordVerification'](_0x43e1f3);}[_0x3c55b0(0x132)](_0x6c7f35={},_0x13fe29){const _0x47a6d9=_0x3c55b0;return this[_0x47a6d9(0x272)][_0x47a6d9(0x132)](_0x6c7f35,_0x13fe29);}['releaseNativeWorkerForUpgrade'](_0x245ab4,_0xd803d9){const _0x1599c2=_0x3c55b0,_0x11c4e5=PipelineManager[_0x1599c2(0x1c9)](_0x245ab4['task'])||PipelineManager[_0x1599c2(0x123)](_0x245ab4['runId']);if(_0x11c4e5)return _0x11c4e5;return this[_0x1599c2(0x174)]('_execution',()=>this[_0x1599c2(0x174)](_0x245ab4['task'],()=>{const _0x39adb7=_0x1599c2,_0x5a243c=this[_0x39adb7(0xea)](_0x245ab4['task'],_0x245ab4['runId']);if(!_0x5a243c||_0x5a243c[_0x39adb7(0x311)]!==0x3)return error('RUN_NOT_FOUND',_0x39adb7(0x31a));const _0x1471a4=this['contract'](_0x5a243c);if(_0x1471a4[_0x39adb7(0xc1)]==='blocked')return error(_0x1471a4[_0x39adb7(0x142)],_0x39adb7(0x33c));if(!_0x245ab4[_0x39adb7(0x246)]||_0x5a243c[_0x39adb7(0x263)]!==_0x245ab4[_0x39adb7(0x246)])return error(_0x39adb7(0x143),_0x39adb7(0x301));if(!require(_0x39adb7(0x2d5))[_0x39adb7(0x2c8)](_0x5a243c['workspace']?.['path']||'',this[_0x39adb7(0xc4)]))return error(_0x39adb7(0x1be),_0x39adb7(0x2c5));const _0x2d2d78=_0x5a243c['execution'][_0x39adb7(0x32c)]['find'](_0xb84f2e=>_0xb84f2e['attemptId']===_0x245ab4[_0x39adb7(0x209)]&&_0xb84f2e[_0x39adb7(0x32d)]===_0x245ab4[_0x39adb7(0x32d)]);if(!_0x2d2d78)return error(_0x39adb7(0x19b),'The\x20exact\x20actor\x20reservation\x20is\x20no\x20longer\x20active.');if(_0x2d2d78[_0x39adb7(0x1ff)])return error('VERIFICATION_IN_FLIGHT','Verification\x20must\x20stop\x20before\x20release.');const _0x96eb2c={};_0x96eb2c['manager']=this,_0x96eb2c['state']=_0x5a243c,_0x96eb2c[_0x39adb7(0x2e1)]=_0x245ab4,_0x96eb2c[_0x39adb7(0x2e7)]=_0xd803d9;const _0x4c99ea=require('../core/native-receipt')[_0x39adb7(0x171)](_0x96eb2c);if(!_0x4c99ea['success'])return error(_0x4c99ea[_0x39adb7(0x142)],'Fresh\x20native\x20completion\x20proof\x20is\x20required\x20for\x20release.');const _0x3eae41=(_0x5a243c[_0x39adb7(0x272)]['receiptObservations']||[])['find'](_0x3e20f0=>_0x3e20f0['attemptId']===_0x245ab4[_0x39adb7(0x209)]);if(_0xd803d9[_0x39adb7(0x1c6)]!==_0x39adb7(0xc8)||!_0xd803d9[_0x39adb7(0xe0)]||_0xd803d9[_0x39adb7(0xd8)]!=='codex-parent-child-transcripts'||_0x3eae41?.[_0x39adb7(0x2b6)]!=='confirmed'||_0x3eae41[_0x39adb7(0x1f5)]!=='stopped'||_0x3eae41[_0x39adb7(0x2df)]!==_0xd803d9[_0x39adb7(0x2df)]||_0x3eae41[_0x39adb7(0x32d)]!==_0x245ab4[_0x39adb7(0x32d)])return error('WORKER_STOP_UNCONFIRMED','The\x20reservation\x20has\x20no\x20confirmed\x20stopped\x20native\x20worker.');if(_0x2d2d78[_0x39adb7(0x232)]&&!_0x5a243c[_0x39adb7(0x272)][_0x39adb7(0x32c)]['some'](_0x105fc1=>_0x105fc1[_0x39adb7(0x209)]!==_0x2d2d78[_0x39adb7(0x209)]&&_0x105fc1[_0x39adb7(0x232)]===_0x2d2d78[_0x39adb7(0x232)])){const _0x46332b=_0x5a243c[_0x39adb7(0x2b0)]?.[_0x39adb7(0x1e6)](_0x5b63f6=>_0x5b63f6['id']===_0x2d2d78[_0x39adb7(0x232)]);if(_0x46332b?.[_0x39adb7(0x1c6)]===_0x39adb7(0x307))_0x46332b[_0x39adb7(0x1c6)]=_0x39adb7(0x1db);}const _0x109bcc=_0x5a243c[_0x39adb7(0x272)][_0x39adb7(0x325)];this['execution'][_0x39adb7(0x1c4)](_0x5a243c,_0x2d2d78);if(_0x5a243c['execution'][_0x39adb7(0x2d0)])_0x5a243c[_0x39adb7(0x272)][_0x39adb7(0x325)]=_0x109bcc;this[_0x39adb7(0x313)](_0x5a243c),this[_0x39adb7(0x1fa)](_0x5a243c,_0x39adb7(0x27c),_0x39adb7(0x337)+_0x245ab4[_0x39adb7(0x32d)]+_0x39adb7(0x21e)+_0x245ab4['attemptId']+_0x39adb7(0x1d6));const _0x27a6b3={};return _0x27a6b3[_0x39adb7(0x30c)]=!![],_0x27a6b3['released']=!![],_0x27a6b3[_0x39adb7(0x32d)]=_0x245ab4[_0x39adb7(0x32d)],_0x27a6b3[_0x39adb7(0x209)]=_0x245ab4[_0x39adb7(0x209)],_0x27a6b3;}));}['canMutate'](_0x29787a={}){const _0x359724=_0x3c55b0;return this[_0x359724(0x272)][_0x359724(0x28d)](_0x29787a);}['markAttemptStarted'](_0x3e7856={}){const _0x5eb42f=_0x3c55b0;return this['execution'][_0x5eb42f(0xda)](_0x3e7856);}[_0x3c55b0(0x1b0)](_0x44490e={}){const _0x3ebcbb=_0x3c55b0,{task:_0x11196d,runId:_0x4bac79,pipeline:_0x4b89d4,step:_0x5a9718,status:_0x46118f,summary:_0x3d496a}=_0x44490e,_0x5b1886=PipelineManager[_0x3ebcbb(0x1c9)](_0x11196d);if(_0x5b1886)return _0x5b1886;if(!_0x4bac79)return error(_0x3ebcbb(0x1d8),_0x3ebcbb(0xd0));const _0x318a86=PipelineManager[_0x3ebcbb(0x123)](_0x4bac79);if(_0x318a86)return _0x318a86;const _0x333f0b=this[_0x3ebcbb(0xea)](_0x11196d,_0x4bac79);if(_0x333f0b&&this['contract'](_0x333f0b)[_0x3ebcbb(0xc1)]==='blocked')return error(this[_0x3ebcbb(0x217)](_0x333f0b)[_0x3ebcbb(0x142)],'This\x20run\x20remains\x20readable,\x20but\x20its\x20historical\x20contract\x20cannot\x20be\x20verified\x20for\x20mutation.');if(_0x333f0b?.[_0x3ebcbb(0x311)]===0x3)return this[_0x3ebcbb(0x272)][_0x3ebcbb(0x1b0)](_0x44490e);return this[_0x3ebcbb(0x174)](_0x11196d,()=>{const _0x15ab05=_0x3ebcbb,_0x18d618=this['readRun'](_0x11196d,_0x4bac79);if(!_0x18d618)return error('RUN_NOT_FOUND','Run\x20\x22'+_0x4bac79+_0x15ab05(0x2ef)+_0x11196d+'\x22.');const _0x352bb5=this[_0x15ab05(0x124)](_0x11196d);if(!_0x352bb5||_0x352bb5[_0x15ab05(0x2c6)]!==_0x4bac79)return error(_0x15ab05(0x179),_0x15ab05(0x2da));if(_0x18d618[_0x15ab05(0x1c6)]!=='active')return error(_0x15ab05(0x190),_0x15ab05(0x223)+_0x18d618['status']+_0x15ab05(0x29f));if(_0x4b89d4&&_0x4b89d4!==_0x18d618['pipeline'])return error(_0x15ab05(0xef),_0x15ab05(0x227)+_0x18d618[_0x15ab05(0x1ea)]+_0x15ab05(0x161)+_0x4b89d4+'\x22.');if(_0x46118f!==_0x15ab05(0x116))return error(_0x15ab05(0x177),_0x15ab05(0x23a));const _0x4b1a4d=_0x18d618[_0x15ab05(0x261)],_0x24bd94=_0x4b1a4d[_0x15ab05(0x23f)][_0x18d618[_0x15ab05(0x138)]['length']];if(!_0x24bd94||_0x24bd94['id']!==_0x5a9718)return error('STEP_OUT_OF_ORDER',_0x15ab05(0xf4)+(_0x24bd94?.['id']||_0x15ab05(0x221))+_0x15ab05(0x28a)+_0x5a9718+'\x22.',{'expected_step':_0x24bd94?.['id']||null});if(_0x24bd94['skill']){const _0x487713=this['requiredSkillError'](_0x24bd94['skill'],_0x18d618[_0x15ab05(0xf5)][_0x15ab05(0x148)]);if(_0x487713)return _0x487713;}if(_0x18d618[_0x15ab05(0x1ea)]===_0x15ab05(0x17a)&&_0x5a9718===_0x15ab05(0x2dd)&&(!_0x3d496a||_0x3d496a[_0x15ab05(0x1a7)]()[_0x15ab05(0x156)]<0xa))return error(_0x15ab05(0x2a4),_0x15ab05(0x154));_0x18d618[_0x15ab05(0x138)][_0x15ab05(0x310)]({'id':_0x5a9718,'summary':_0x3d496a||'','completedAt':this[_0x15ab05(0x2d9)]()[_0x15ab05(0x167)]()});if(_0x18d618[_0x15ab05(0x138)][_0x15ab05(0x156)]===_0x4b1a4d['steps']['length'])_0x18d618['status']='completed';this[_0x15ab05(0x313)](_0x18d618),this[_0x15ab05(0x1fa)](_0x18d618,_0x15ab05(0x1f4)+_0x5a9718,_0x3d496a||_0x15ab05(0x1f2));const _0x5ff5bb={};_0x5ff5bb[_0x15ab05(0x30c)]=!![];const _0x40cdd6=this[_0x15ab05(0xf9)](_0x18d618,_0x5ff5bb);if(MEMORY_TRIGGERS[_0x5a9718])_0x40cdd6[_0x15ab05(0x242)]=MEMORY_TRIGGERS[_0x5a9718];return _0x40cdd6;});}[_0x3c55b0(0x1e9)](_0x5f0635){const _0x13bc36=_0x3c55b0,_0x3eb8fb=this['readJson'](path[_0x13bc36(0x1cc)](this[_0x13bc36(0x25e)](_0x5f0635[_0x13bc36(0xfe)]),_0x13bc36(0x27d)));if(!_0x3eb8fb||_0x3eb8fb['task']!==_0x5f0635[_0x13bc36(0xfe)]||PipelineManager['validateRunId'](_0x3eb8fb[_0x13bc36(0x2c6)]))return;const _0x4dc0a1=this['readRun'](_0x5f0635[_0x13bc36(0xfe)],_0x3eb8fb[_0x13bc36(0x2c6)]);if(!_0x4dc0a1||_0x4dc0a1[_0x13bc36(0x1c6)]!==_0x13bc36(0x270)||_0x4dc0a1['cancellation']?.['reason']!=='runtime-upgrade'||_0x4dc0a1[_0x13bc36(0x159)][_0x13bc36(0x1b5)]!==_0x3eb8fb[_0x13bc36(0x1b5)]||!require('../core/workspace-path')[_0x13bc36(0x2c8)](_0x4dc0a1[_0x13bc36(0xf5)]?.[_0x13bc36(0x148)]||'',_0x5f0635[_0x13bc36(0xf5)][_0x13bc36(0x148)]))return;_0x5f0635[_0x13bc36(0x2ce)]={'task':_0x5f0635['task'],'runId':_0x4dc0a1[_0x13bc36(0x2c6)],'reason':_0x13bc36(0x328),'requirements':[..._0x4dc0a1['acceptance']?.[_0x13bc36(0x16f)]||[]],'findings':JSON[_0x13bc36(0x229)](JSON[_0x13bc36(0x2a2)](Object['values'](_0x4dc0a1[_0x13bc36(0xc0)]?.['findings']||{})[_0x13bc36(0x327)](_0x42c25a=>_0x42c25a[_0x13bc36(0x19e)]!==![]&&!['resolved','closed'][_0x13bc36(0x2f0)](_0x42c25a[_0x13bc36(0x1c6)])))),'attempts':{..._0x4dc0a1[_0x13bc36(0x272)]?.[_0x13bc36(0x208)]||{}},'noProgress':_0x4dc0a1['execution']?.[_0x13bc36(0x239)]||0x0,'lastFailure':_0x4dc0a1['execution']?.['lastFailure']||null,'progress':(_0x4dc0a1[_0x13bc36(0x2b0)]||[])[_0x13bc36(0x2be)](_0x3bff57=>({'id':_0x3bff57['id'],'noProgress':_0x3bff57[_0x13bc36(0x239)]||0x0,'lastFailure':_0x3bff57[_0x13bc36(0x2c9)]||null}))};if(_0x5f0635[_0x13bc36(0x311)]!==0x3)return;_0x5f0635[_0x13bc36(0x272)]['attempts']={..._0x5f0635[_0x13bc36(0x2ce)][_0x13bc36(0x208)]},_0x5f0635['execution'][_0x13bc36(0x144)]=Math[_0x13bc36(0x101)](0x0,_0x4dc0a1['execution']?.['inheritedAttemptFloor']||0x0,...Object[_0x13bc36(0x1a9)](_0x5f0635[_0x13bc36(0x2ce)][_0x13bc36(0x208)])),_0x5f0635[_0x13bc36(0x272)][_0x13bc36(0x239)]=_0x5f0635['inherited'][_0x13bc36(0x239)],_0x5f0635['execution'][_0x13bc36(0x2c9)]=_0x5f0635['inherited']['lastFailure'];[_0x13bc36(0x1fb),_0x13bc36(0x237)][_0x13bc36(0x2f0)](_0x4dc0a1[_0x13bc36(0x272)]?.[_0x13bc36(0x2d0)])&&(_0x5f0635[_0x13bc36(0x1c6)]=_0x13bc36(0x26e),_0x5f0635['execution'][_0x13bc36(0x2d0)]=_0x4dc0a1[_0x13bc36(0x272)]['stopReason']);for(const _0x161a01 of _0x5f0635['inherited']['findings'])if(_0x5f0635['quality'])_0x5f0635[_0x13bc36(0xc0)][_0x13bc36(0x1ca)][_0x161a01['id']]={..._0x161a01,'status':_0x13bc36(0x12a),'inheritedFrom':_0x4dc0a1[_0x13bc36(0x2c6)],'resolution':null};}['cancelForUpgrade']({task:_0x1fe626,runId:_0x35803f,transactionId:_0xdfac93,epoch:_0x3b66f0,target:_0x54734f}){const _0x168cc5=_0x3c55b0,{readFence:_0x5e3726}=require(_0x168cc5(0x22b)),_0x428d5e=_0x5e3726(this['projectPath']);if(_0x428d5e[_0x168cc5(0x29e)]!=='frozen'||_0x428d5e[_0x168cc5(0x1b5)]!==_0xdfac93||_0x428d5e[_0x168cc5(0x1c5)]!==_0x3b66f0||_0x428d5e[_0x168cc5(0x11a)]!==_0x54734f?.[_0x168cc5(0x332)]||_0x428d5e[_0x168cc5(0x2fb)]!==_0x54734f?.['digest'])return error(_0x168cc5(0x2f2),_0x168cc5(0x197));const _0x468d73=PipelineManager[_0x168cc5(0x1c9)](_0x1fe626)||PipelineManager['validateRunId'](_0x35803f);if(_0x468d73)return _0x468d73;return this['withLock'](_0x1fe626,()=>{const _0x148381=_0x168cc5,_0x5e45e6=this[_0x148381(0xea)](_0x1fe626,_0x35803f);if(!_0x5e45e6||!_0x5e45e6[_0x148381(0xf5)]?.[_0x148381(0x148)]||!require(_0x148381(0x2d5))['sameWorkspace'](_0x5e45e6[_0x148381(0xf5)][_0x148381(0x148)],this['projectPath']))return error(_0x148381(0x1be),'Run\x20does\x20not\x20belong\x20to\x20this\x20workspace.');const _0x21b42c=_0x5e45e6[_0x148381(0x1c6)]===_0x148381(0x270)&&_0x5e45e6[_0x148381(0x159)]?.[_0x148381(0x1b5)]===_0xdfac93,_0x5e7d3c={};_0x5e7d3c[_0x148381(0x30c)]=!![],_0x5e7d3c['terminal']=!![];if(!_0x21b42c&&[_0x148381(0x116),'cancelled'][_0x148381(0x2f0)](_0x5e45e6[_0x148381(0x1c6)]))return _0x5e7d3c;if(_0x5e45e6[_0x148381(0x272)]?.['active']?.[_0x148381(0x156)]||(_0x5e45e6[_0x148381(0x272)]?.[_0x148381(0x181)]||[])[_0x148381(0x153)](_0x451f69=>_0x451f69[_0x148381(0x2b6)]===_0x148381(0x2ee)&&_0x451f69[_0x148381(0x1f5)]!==_0x148381(0x244)))return error('WORKER_STOP_UNCONFIRMED','Confirm\x20worker\x20shutdown\x20before\x20cancelling\x20the\x20run.');!_0x21b42c&&(_0x5e45e6['status']=_0x148381(0x270),_0x5e45e6['cancelledAt']=this['now']()[_0x148381(0x167)](),_0x5e45e6[_0x148381(0x159)]={'reason':_0x148381(0x328),'transactionId':_0xdfac93,'target':_0x54734f,'epoch':_0x3b66f0,'cancelledAt':_0x5e45e6[_0x148381(0x1d4)]},this[_0x148381(0x313)](_0x5e45e6),this['appendLedger'](_0x5e45e6,'Run\x20cancelled\x20for\x20runtime\x20upgrade',_0x148381(0x155)+_0xdfac93+_0x148381(0xce)));this[_0x148381(0x339)](path['join'](this[_0x148381(0x25e)](_0x1fe626),_0x148381(0x27d)),{'task':_0x1fe626,'runId':_0x35803f,'transactionId':_0xdfac93,'target':_0x54734f});const _0x162721=this[_0x148381(0x15f)](this[_0x148381(0x1f0)](_0x1fe626));if(_0x162721?.[_0x148381(0x2c6)]===_0x35803f)fs[_0x148381(0x13c)](this[_0x148381(0x1f0)](_0x1fe626));const _0x5b2a06=new(require('../core/session'))[(_0x148381(0x1a5))](this[_0x148381(0xc4)]);if(fs[_0x148381(0xff)](_0x5b2a06[_0x148381(0x20e)]))for(const _0x249dd of fs['readdirSync'](_0x5b2a06[_0x148381(0x20e)])){if(!/^[a-f0-9]{64}\.json$/[_0x148381(0x338)](_0x249dd))continue;const _0x4396b7=this[_0x148381(0x15f)](path[_0x148381(0x1cc)](_0x5b2a06[_0x148381(0x20e)],_0x249dd));if(_0x4396b7?.[_0x148381(0xfe)]===_0x1fe626&&_0x4396b7[_0x148381(0x2c6)]===_0x35803f)_0x5b2a06[_0x148381(0x203)](_0x4396b7[_0x148381(0x246)],_0x270c79=>{const _0x90d745=_0x148381,_0x1046eb={};_0x1046eb[_0x90d745(0xfe)]=_0x1fe626,_0x1046eb[_0x90d745(0x2c6)]=_0x35803f,_0x1046eb[_0x90d745(0x15b)]=_0x90d745(0x328),_0x270c79[_0x90d745(0x22c)]=_0x1046eb,_0x270c79['task']=null,_0x270c79[_0x90d745(0x2c6)]=null,_0x270c79['attemptId']=null,_0x270c79[_0x90d745(0x208)]={};});}const _0x196215={};return _0x196215['success']=!![],_0x196215[_0x148381(0x21f)]=_0x21b42c,_0x196215[_0x148381(0x159)]=_0x5e45e6['cancellation'],_0x196215;});}[_0x3c55b0(0x187)]({task:_0x18ef3c,runId:_0x478532,confirm:_0x1d99dd,target:target=_0x3c55b0(0xe1),sessionId:_0xa8e838}={}){const _0x34d2a1=_0x3c55b0,_0x37dd7b=PipelineManager[_0x34d2a1(0x1c9)](_0x18ef3c);if(_0x37dd7b)return _0x37dd7b;if(!_0x478532)return error('RUN_ID_REQUIRED','runId\x20is\x20required\x20for\x20pipeline\x20reset.');const _0x16bb9a=PipelineManager['validateRunId'](_0x478532);if(_0x16bb9a)return _0x16bb9a;if(_0x1d99dd!==!![])return error(_0x34d2a1(0x2f3),_0x34d2a1(0x240));if(![_0x34d2a1(0xe1),'creation'][_0x34d2a1(0x2f0)](target))return error('INVALID_RESET_TARGET',_0x34d2a1(0x1bc));return this['withLock'](_0x18ef3c,()=>{const _0x29818a=_0x34d2a1;if(target==='creation'){const _0x7ae363=this['creationIntentFile'](_0x18ef3c,_0x478532),_0xdf4b07=this[_0x29818a(0x15f)](_0x7ae363);if(!_0xdf4b07||_0xdf4b07[_0x29818a(0xfe)]!==_0x18ef3c||_0xdf4b07[_0x29818a(0x2c6)]!==_0x478532||![_0x29818a(0xe4),'workspace-ready',_0x29818a(0x230)][_0x29818a(0x2f0)](_0xdf4b07[_0x29818a(0x1c6)]))return error(_0x29818a(0xd5),_0x29818a(0x32b));if(!_0xa8e838||_0xdf4b07[_0x29818a(0x2e1)]?.[_0x29818a(0x246)]&&_0xdf4b07['args'][_0x29818a(0x246)]!==_0xa8e838)return error(_0x29818a(0x143),_0x29818a(0x207));if(PipelineManager[_0x29818a(0x26b)](_0xdf4b07[_0x29818a(0x2ae)])||_0xdf4b07['originWorkspace']&&(typeof _0xdf4b07['originWorkspace']!=='string'||normalizePath(_0xdf4b07[_0x29818a(0x2e4)])!==this[_0x29818a(0xc4)])||!_0xdf4b07['workspace']||_0xdf4b07[_0x29818a(0xf5)][_0x29818a(0x1af)]||!_0xdf4b07[_0x29818a(0xf5)][_0x29818a(0x148)]||normalizePath(_0xdf4b07['workspace']['path'])!==this[_0x29818a(0xc4)])return error(_0x29818a(0x259),_0x29818a(0x16e));if(this[_0x29818a(0xea)](_0x18ef3c,_0x478532)||fs[_0x29818a(0xff)](this[_0x29818a(0x2fd)](_0x18ef3c,_0x478532))||fs[_0x29818a(0xff)](this[_0x29818a(0x1f0)](_0x18ef3c)))return error(_0x29818a(0x31f),_0x29818a(0x1dc));this[_0x29818a(0x339)](_0x7ae363,{..._0xdf4b07,'status':'abandoned','resolvedAt':this[_0x29818a(0x2d9)]()[_0x29818a(0x167)](),'resolvedBySession':_0xa8e838,'resolution':'explicit-creation-reset'});const _0x1221f9={};return _0x1221f9['success']=!![],_0x1221f9[_0x29818a(0xfe)]=_0x18ef3c,_0x1221f9[_0x29818a(0x2c6)]=_0x478532,_0x1221f9['target']=_0x29818a(0x17f),_0x1221f9[_0x29818a(0x1d9)]=_0x7ae363,_0x1221f9['state']=_0x29818a(0x14b),_0x1221f9[_0x29818a(0x1fd)]=!![],_0x1221f9;}const _0x3177f7=this[_0x29818a(0xea)](_0x18ef3c,_0x478532);if(!_0x3177f7)return error('RUN_NOT_FOUND',_0x29818a(0x1bf)+_0x478532+'\x22\x20was\x20not\x20found.');const _0x2b2992=this[_0x29818a(0x217)](_0x3177f7);if(_0x2b2992[_0x29818a(0xc1)]===_0x29818a(0x24c))return error(_0x2b2992[_0x29818a(0x142)],'This\x20run\x20cannot\x20be\x20changed\x20until\x20its\x20contract\x20is\x20verified.');if(_0x3177f7[_0x29818a(0x263)]&&_0x3177f7[_0x29818a(0x263)]!==_0xa8e838)return error(_0x29818a(0x143),'Reset\x20must\x20use\x20the\x20recorded\x20coordinator\x20session.');const _0x212078=this[_0x29818a(0x124)](_0x18ef3c);if(!_0x212078||_0x212078[_0x29818a(0x2c6)]!==_0x478532)return error('RUN_MISMATCH',_0x29818a(0x2da));if(![_0x29818a(0x32c),_0x29818a(0x26e)][_0x29818a(0x2f0)](_0x3177f7[_0x29818a(0x1c6)]))return error(_0x29818a(0x190),'Run\x20is\x20'+_0x3177f7[_0x29818a(0x1c6)]+_0x29818a(0x29f));if(_0x3177f7[_0x29818a(0x272)]?.[_0x29818a(0x32c)]['length'])return error(_0x29818a(0xd1),'Stop\x20and\x20release\x20active\x20workers\x20before\x20cancelling\x20the\x20run.');_0x3177f7[_0x29818a(0x1c6)]='cancelled',_0x3177f7[_0x29818a(0x1d4)]=this[_0x29818a(0x2d9)]()[_0x29818a(0x167)](),this[_0x29818a(0x313)](_0x3177f7),this['appendLedger'](_0x3177f7,'Run\x20cancelled',_0x29818a(0x238));const _0x3c85b8={};return _0x3c85b8[_0x29818a(0x30c)]=!![],this[_0x29818a(0xf9)](_0x3177f7,_0x3c85b8);});}[_0x3c55b0(0x176)](_0x4da8ce,_0x49e033){const _0x5c7585=_0x3c55b0,_0x5510fe=PipelineManager['validateTask'](_0x4da8ce);if(_0x5510fe)return _0x5510fe;if(!_0x49e033)return error(_0x5c7585(0x1d8),'runId\x20is\x20required.');const _0x5c9162=PipelineManager['validateRunId'](_0x49e033);if(_0x5c9162)return _0x5c9162;const _0x12d6dc=this['repairRun'](_0x4da8ce,_0x49e033);if(_0x12d6dc?.[_0x5c7585(0x30c)]===![])return _0x12d6dc;if(!_0x12d6dc)return error('RUN_NOT_FOUND',_0x5c7585(0x1bf)+_0x49e033+'\x22\x20was\x20not\x20found.');const _0x3b320b=this[_0x5c7585(0x217)](_0x12d6dc);if(_0x3b320b[_0x5c7585(0xc1)]===_0x5c7585(0x24c))return error(_0x3b320b[_0x5c7585(0x142)],'This\x20historical\x20run\x20is\x20readable\x20but\x20cannot\x20be\x20rebound\x20for\x20mutation.');if(![_0x5c7585(0x32c),_0x5c7585(0x26e)][_0x5c7585(0x2f0)](_0x12d6dc[_0x5c7585(0x1c6)]))return error('RUN_NOT_ACTIVE',_0x5c7585(0x223)+_0x12d6dc[_0x5c7585(0x1c6)]+',\x20not\x20resumable.');const _0x2f8dd4={};return _0x2f8dd4[_0x5c7585(0x30c)]=!![],this[_0x5c7585(0xf9)](_0x12d6dc,_0x2f8dd4);}[_0x3c55b0(0xf9)](_0x227843,_0x8c8cec={}){const _0x1e8510=_0x3c55b0,_0xd01556={};_0xd01556['validateStorage']=![];const _0x58ce24=this[_0x1e8510(0x217)](_0x227843,_0xd01556),_0x3e2851=_0x227843[_0x1e8510(0x311)]===0x3?_0x227843[_0x1e8510(0x261)]:_0x227843['definition']||PIPELINE_DEFINITIONS[_0x227843[_0x1e8510(0x1ea)]],_0x4d22c5={..._0x8c8cec};_0x4d22c5['active']=![],_0x4d22c5[_0x1e8510(0x29e)]=_0x227843[_0x1e8510(0x1c6)],_0x4d22c5[_0x1e8510(0xfe)]=_0x227843[_0x1e8510(0xfe)],_0x4d22c5[_0x1e8510(0x2c6)]=_0x227843[_0x1e8510(0x2c6)],_0x4d22c5['pipeline']=_0x227843[_0x1e8510(0x1ea)],_0x4d22c5[_0x1e8510(0x1d7)]=_0x58ce24,_0x4d22c5[_0x1e8510(0x24c)]=!![],_0x4d22c5[_0x1e8510(0x325)]={},_0x4d22c5[_0x1e8510(0x325)]['kind']=_0x1e8510(0x189),_0x4d22c5[_0x1e8510(0x325)][_0x1e8510(0x142)]=_0x58ce24[_0x1e8510(0x142)];if(!_0x3e2851?.[_0x1e8510(0x23f)])return _0x4d22c5;const _0x27cf1f=_0x227843[_0x1e8510(0x138)][_0x1e8510(0x156)],_0x5b6f69=_0x3e2851[_0x1e8510(0x23f)][_0x27cf1f]||null,_0x172f99={..._0x8c8cec,'active':_0x227843[_0x1e8510(0x1c6)]===_0x1e8510(0x32c),'state':_0x227843['status'],'task':_0x227843[_0x1e8510(0xfe)],'runId':_0x227843['runId'],'pipeline':_0x227843['pipeline'],'pipeline_name':_0x3e2851[_0x1e8510(0x11f)],'progress':_0x27cf1f+'/'+_0x3e2851[_0x1e8510(0x23f)][_0x1e8510(0x156)],'completed':_0x227843['completedSteps'][_0x1e8510(0x2be)](_0x1505d2=>_0x1505d2['id']),'next_step':_0x5b6f69?{'id':_0x5b6f69['id'],'name':_0x5b6f69['name'],'skill':_0x5b6f69[_0x1e8510(0x1b1)]}:null,'workspacePath':_0x227843[_0x1e8510(0xf5)]['path'],'stateRoot':this[_0x1e8510(0x251)],'ledgerPath':this['ledgerFile'](_0x227843[_0x1e8510(0xfe)],_0x227843['runId']),'workspace':_0x227843['workspace'],'compatibility':_0x58ce24,'cancellation':_0x227843['cancellation']||null,'inherited':_0x227843[_0x1e8510(0x2ce)]||null,'tool_routing':TOOL_ROUTING};if(_0x58ce24[_0x1e8510(0xc1)]===_0x1e8510(0x24c))return{..._0x172f99,'active':![],'blocked':!![],'nextAction':{'kind':'contract-unavailable','code':_0x58ce24['code']}};const _0x1e9f2e={};_0x1e9f2e['kind']=_0x1e8510(0x235);const _0x1401ec={};_0x1401ec[_0x1e8510(0x264)]=_0x1e8510(0x1fe);if(_0x227843[_0x1e8510(0x311)]===0x3)Object[_0x1e8510(0xf2)](_0x172f99,{...require(_0x1e8510(0x10a))[_0x1e8510(0x1cb)](_0x227843,_0x5b6f69?.['id']),'schemaVersion':0x3,'versions':_0x227843['versions'],'acceptance':_0x227843[_0x1e8510(0x316)],'sessionId':_0x227843[_0x1e8510(0x263)],'workItems':_0x227843[_0x1e8510(0x276)],'plannedItems':_0x227843[_0x1e8510(0x2b0)]||[],'execution':_0x227843['execution'],'receiptObservations':_0x227843['execution'][_0x1e8510(0x181)]||[],'verification_level':_0x227843[_0x1e8510(0xc0)]?_0x1e8510(0x21c):_0x1e8510(0x137),'stop_reason':_0x227843[_0x1e8510(0x272)][_0x1e8510(0x2d0)],'nextAction':_0x227843[_0x1e8510(0x1c6)]===_0x1e8510(0x270)?{'kind':_0x1e8510(0x1f7),'reason':_0x227843[_0x1e8510(0x159)]?.[_0x1e8510(0x15b)]||_0x1e8510(0x270)}:_0x227843[_0x1e8510(0x1c6)]==='completed'?_0x1e9f2e:_0x227843[_0x1e8510(0x1c6)]===_0x1e8510(0x26e)?{'kind':'paused','reason':_0x227843[_0x1e8510(0x272)]['stopReason']}:_0x227843['execution'][_0x1e8510(0x325)]||_0x1401ec});if(_0x227843[_0x1e8510(0xc0)]&&_0x8c8cec[_0x1e8510(0x10b)]===![])_0x172f99[_0x1e8510(0xc0)]={'plan':_0x227843[_0x1e8510(0xc0)]['plan'],'freshness':_0x1e8510(0x24b),'reason':_0x1e8510(0x300),'checks':Object[_0x1e8510(0x326)](_0x227843[_0x1e8510(0xc0)][_0x1e8510(0x30f)][_0x1e8510(0x28c)][_0x1e8510(0x2be)](_0x371f4f=>[_0x371f4f['id'],_0x1e8510(0x24b)])),'criteria':Object[_0x1e8510(0x326)](_0x227843['quality'][_0x1e8510(0x30f)][_0x1e8510(0x16f)][_0x1e8510(0x2be)](_0x4c27d1=>[_0x4c27d1['id'],{'expectedOutcome':_0x4c27d1['expectedOutcome'],'source':_0x4c27d1[_0x1e8510(0xd8)],'status':_0x1e8510(0x24b)}])),'missingChecks':_0x227843[_0x1e8510(0xc0)][_0x1e8510(0x30f)][_0x1e8510(0x28c)][_0x1e8510(0x327)](_0x36b74b=>_0x36b74b[_0x1e8510(0x19e)]!==![])[_0x1e8510(0x2be)](_0x33f343=>_0x33f343['id']),'openFindings':Object['values'](_0x227843[_0x1e8510(0xc0)][_0x1e8510(0x1ca)]||{})[_0x1e8510(0x327)](_0x3d0ce2=>_0x3d0ce2[_0x1e8510(0x19e)]!==![]),'unavailable':_0x227843[_0x1e8510(0xc0)][_0x1e8510(0x15e)]||{},'reviewProvenance':[],'impactEscalation':_0x227843[_0x1e8510(0xc0)]['impactEscalation']||null};else{if(_0x227843['quality']){const _0x5736f8=this[_0x1e8510(0x272)]['snapshot'](_0x227843)['id'],_0x373a42=Object['fromEntries'](_0x227843[_0x1e8510(0xc0)][_0x1e8510(0x30f)][_0x1e8510(0x28c)][_0x1e8510(0x2be)](_0x29801d=>{const _0xaed51a=_0x1e8510,_0x306ea1=_0x227843[_0xaed51a(0x272)][_0xaed51a(0x10c)]['filter'](_0x4565f6=>_0x4565f6[_0xaed51a(0xc0)]?.[_0xaed51a(0xed)]===_0x29801d['id']&&_0x4565f6[_0xaed51a(0x162)]===_0x5736f8&&_0x4565f6['acceptanceRevision']===_0x227843[_0xaed51a(0x316)][_0xaed51a(0x13b)]&&!_0x4565f6[_0xaed51a(0x278)])['at'](-0x1);return[_0x29801d['id'],_0x306ea1&&artifactEvidenceCurrent(_0x227843,_0x306ea1)?_0x306ea1[_0xaed51a(0xc0)]['status']:'unverified'];})),_0x1296bd=Object[_0x1e8510(0x326)](_0x227843['quality']['plan'][_0x1e8510(0x16f)]['map'](_0x30c3ca=>{const _0x46885=_0x1e8510,_0x535afd=new Set([..._0x30c3ca[_0x46885(0x108)],..._0x227843['quality']['plan'][_0x46885(0x28c)][_0x46885(0x327)](_0x50a589=>_0x50a589[_0x46885(0x19e)]!==![]&&_0x50a589['criterionIds'][_0x46885(0x2f0)](_0x30c3ca['id']))[_0x46885(0x2be)](_0x2d26dc=>_0x2d26dc['id'])]);return[_0x30c3ca['id'],{'expectedOutcome':_0x30c3ca[_0x46885(0x2cb)],'source':_0x30c3ca[_0x46885(0xd8)],'status':[..._0x535afd][_0x46885(0xbf)](_0x56d1f8=>_0x373a42[_0x56d1f8]==='passed')&&(!_0x227843['quality'][_0x46885(0x30f)]['artifactReview']||_0x227843[_0x46885(0xc0)][_0x46885(0x30f)][_0x46885(0x28c)]['some'](_0x5e3e57=>_0x5e3e57[_0x46885(0x19e)]!==![]&&_0x5e3e57[_0x46885(0x1eb)]?.[_0x46885(0x156)]))?_0x46885(0x25d):[..._0x535afd][_0x46885(0x153)](_0x500dc0=>_0x373a42[_0x500dc0]===_0x46885(0x247))?_0x46885(0x247):'unverified'}];}));_0x172f99[_0x1e8510(0xc0)]={'plan':_0x227843[_0x1e8510(0xc0)][_0x1e8510(0x30f)],'freshness':_0x1e8510(0xc8),'checks':_0x373a42,'openFindings':this[_0x1e8510(0x272)][_0x1e8510(0x1df)](_0x227843,_0x5736f8),'impactEscalation':_0x227843[_0x1e8510(0xc0)][_0x1e8510(0x134)]||null,'criteria':_0x1296bd,'missingChecks':this['execution']['missingQualityChecks'](_0x227843,undefined,_0x5736f8),'unavailable':_0x227843[_0x1e8510(0xc0)][_0x1e8510(0x15e)]||{},'reviewProvenance':_0x227843[_0x1e8510(0x272)]['evidence'][_0x1e8510(0x327)](_0x35b151=>_0x35b151[_0x1e8510(0xd8)]==='agent-review')[_0x1e8510(0x2be)](_0x37040f=>({'evidenceId':_0x37040f['id'],'stage':_0x37040f[_0x1e8510(0x23b)]?.[_0x1e8510(0x180)],'verdict':_0x37040f[_0x1e8510(0x23b)]?.[_0x1e8510(0x204)],'actorSeparated':_0x37040f['actorSeparated'],'artifactsCurrent':artifactEvidenceCurrent(_0x227843,_0x37040f),'hostObservedIndependent':this['execution'][_0x1e8510(0xf0)](_0x227843,_0x37040f),'workerHostConfirmed':(_0x227843['execution'][_0x1e8510(0x181)]||[])['some'](_0x227549=>_0x227549[_0x1e8510(0x209)]===_0x37040f[_0x1e8510(0x209)]&&_0x227549[_0x1e8510(0x2b6)]==='confirmed')||(_0x227843[_0x1e8510(0x272)][_0x1e8510(0x32e)]||[])[_0x1e8510(0x153)](_0x3da3a4=>_0x3da3a4['attemptId']===_0x37040f[_0x1e8510(0x209)]&&_0x3da3a4[_0x1e8510(0x149)]?.[_0x1e8510(0xd8)]===_0x1e8510(0x1da)),'modelHostConfirmed':(_0x227843[_0x1e8510(0x272)][_0x1e8510(0x181)]||[])['some'](_0x50cba5=>_0x50cba5[_0x1e8510(0x209)]===_0x37040f[_0x1e8510(0x209)]&&_0x50cba5[_0x1e8510(0x2b8)]===_0x1e8510(0x2ee))||(_0x227843[_0x1e8510(0x272)]['reports']||[])[_0x1e8510(0x153)](_0x1faf56=>_0x1faf56['attemptId']===_0x37040f['attemptId']&&_0x1faf56[_0x1e8510(0x2ad)]?.[_0x1e8510(0xd8)]==='host-observed'&&_0x1faf56[_0x1e8510(0x2ad)]?.[_0x1e8510(0x1c6)]===_0x1e8510(0x2ee))}))};}else _0x172f99[_0x1e8510(0xee)]=_0x1e8510(0xe2);}if(_0x5b6f69?.['skill']){const _0x61f3c8=_0x227843[_0x1e8510(0x311)]===0x3&&_0x227843[_0x1e8510(0x17b)]?.[_0x5b6f69[_0x1e8510(0x1b1)]]?null:this[_0x1e8510(0x1bd)](_0x5b6f69[_0x1e8510(0x1b1)],_0x227843[_0x1e8510(0xf5)]['path']),_0xc526fd={};_0xc526fd[_0x1e8510(0x32c)]=![],_0xc526fd['blocked']=!![];if(_0x61f3c8)Object[_0x1e8510(0xf2)](_0x172f99,_0x61f3c8,_0xc526fd);else _0x172f99[_0x1e8510(0x249)]=_0x1e8510(0x117)+_0x5b6f69['skill']+_0x1e8510(0x283)+_0x5b6f69['id']+'\x22.';}if(_0x5b6f69&&[_0x1e8510(0x255),_0x1e8510(0x1dd),_0x1e8510(0x1ef)][_0x1e8510(0x2f0)](_0x5b6f69['id']))_0x172f99[_0x1e8510(0x18f)]=DOMAIN_SKILL_REMINDER;return _0x172f99;}['listRunsFromRoot'](_0x5f4ea2){const _0x50256d=_0x3c55b0,_0x56a614=[];if(!fs[_0x50256d(0xff)](_0x5f4ea2))return _0x56a614;const _0x3d6243={};_0x3d6243[_0x50256d(0x1e0)]=!![];for(const _0x4fe636 of fs[_0x50256d(0x128)](_0x5f4ea2,_0x3d6243)){if(!_0x4fe636[_0x50256d(0x225)]()||_0x4fe636[_0x50256d(0x11f)][_0x50256d(0x286)]('.'))continue;const _0x22d820=path[_0x50256d(0x1cc)](_0x5f4ea2,_0x4fe636[_0x50256d(0x11f)],_0x50256d(0x312));if(!fs['existsSync'](_0x22d820))continue;const _0x5459af={};_0x5459af[_0x50256d(0x1e0)]=!![];for(const _0x28b9bb of fs[_0x50256d(0x128)](_0x22d820,_0x5459af)){if(!_0x28b9bb['isDirectory']())continue;const _0xc1fcf3=path[_0x50256d(0x1cc)](_0x22d820,_0x28b9bb[_0x50256d(0x11f)]);let _0x4d751f;if(_0x5f4ea2===this['stateRoot'])_0x4d751f=this[_0x50256d(0xea)](_0x4fe636[_0x50256d(0x11f)],_0x28b9bb[_0x50256d(0x11f)]);else{const _0xe79a97={};_0xe79a97[_0x50256d(0xfe)]=_0x4fe636['name'],_0xe79a97['runId']=_0x28b9bb['name'];const _0xbef88f=require(_0x50256d(0x1a4))[_0x50256d(0x164)](path[_0x50256d(0x1cc)](_0xc1fcf3,_0x50256d(0x11c)),_0xe79a97);_0x4d751f=_0xbef88f?require('../core/run-state-codec')[_0x50256d(0x31b)](_0xbef88f,_0xc1fcf3):new Execution({'runDir':()=>_0xc1fcf3})[_0x50256d(0x107)](_0x4fe636[_0x50256d(0x11f)],_0x28b9bb[_0x50256d(0x11f)],this[_0x50256d(0x15f)](path['join'](_0xc1fcf3,_0x50256d(0x1e1))));}if(_0x4d751f&&this[_0x50256d(0x22f)](_0x4d751f))_0x56a614[_0x50256d(0x310)](_0x4d751f);else{if(_0x4d751f)this[_0x50256d(0x294)](_0x4d751f);}}}return _0x56a614;}[_0x3c55b0(0x1f3)](){const _0x3f4f1d=_0x3c55b0;return this[_0x3f4f1d(0x2c4)](this[_0x3f4f1d(0x251)]);}[_0x3c55b0(0x277)](){const _0x386684=_0x3c55b0;return this[_0x386684(0x1f3)]()[_0x386684(0x327)](_0x480f5b=>_0x480f5b[_0x386684(0x1c6)]===_0x386684(0x32c))[_0x386684(0x2be)](_0x10d3cc=>this['formatStatus'](_0x10d3cc));}[_0x3c55b0(0x185)](_0x1ef6f1){const _0x54818a=_0x3c55b0;let _0x31eb8f=![];const _0x1a7e65=(_0x24f2e8,_0x323935=0xa0)=>{const _0x336063=_0xfd07;if(_0x24f2e8===undefined||_0x24f2e8===null)return null;const _0x450209=String(_0x24f2e8);if(_0x450209[_0x336063(0x156)]<=_0x323935)return _0x450209;return _0x31eb8f=!![],_0x450209[_0x336063(0x1e2)](0x0,_0x323935)+_0x336063(0x226);},_0x5a906f=_0x13fa61=>!['completed',_0x54818a(0x270)][_0x54818a(0x2f0)](_0x13fa61[_0x54818a(0x29e)]),_0x22932d=_0x356119=>({'code':_0x1a7e65(_0x356119['code'],0x50),'task':_0x1a7e65(_0x356119[_0x54818a(0xfe)],0x40),'runId':_0x1a7e65(_0x356119[_0x54818a(0x2c6)],0x20),'path':_0x1a7e65(_0x356119[_0x54818a(0x148)],0xf0),'error':_0x1a7e65(_0x356119[_0x54818a(0x1ae)]||_0x356119[_0x54818a(0xf7)],0xf0)}),_0x28aa81={'success':_0x1ef6f1[_0x54818a(0x30c)],'active':_0x1ef6f1[_0x54818a(0x32c)],'state':_0x1ef6f1[_0x54818a(0x29e)],'summary':'bootstrap','stateRoot':_0x1a7e65(_0x1ef6f1['stateRoot'],0xf0),'pipelines':[..._0x1ef6f1['pipelines']][_0x54818a(0x166)]((_0x30b3cb,_0x5ec548)=>Number(_0x5a906f(_0x5ec548))-Number(_0x5a906f(_0x30b3cb)))['slice'](0x0,0x8)[_0x54818a(0x2be)](_0x3cc58b=>({'task':_0x1a7e65(_0x3cc58b[_0x54818a(0xfe)],0x40),'runId':_0x1a7e65(_0x3cc58b['runId'],0x20),'pipeline':_0x1a7e65(_0x3cc58b[_0x54818a(0x1ea)],0x50),'state':_0x1a7e65(_0x3cc58b[_0x54818a(0x29e)],0x20),'active':_0x3cc58b[_0x54818a(0x32c)],'blocked':_0x3cc58b[_0x54818a(0x24c)]===!![],'success':_0x3cc58b[_0x54818a(0x30c)],'code':_0x1a7e65(_0x3cc58b['code'],0x50),'error':_0x1a7e65(_0x3cc58b[_0x54818a(0x1ae)],0xf0),'resumable':_0x3cc58b[_0x54818a(0x24c)]!==!![]&&[_0x54818a(0x32c),_0x54818a(0x26e),_0x54818a(0x303)][_0x54818a(0x2f0)](_0x3cc58b[_0x54818a(0x29e)])&&_0x3cc58b[_0x54818a(0x1d7)]?.[_0x54818a(0xc1)]!=='blocked','progress':_0x1a7e65(_0x3cc58b[_0x54818a(0x248)],0x28),'sessionId':_0x1a7e65(_0x3cc58b['sessionId'],0x80),'workspacePath':_0x1a7e65(_0x3cc58b[_0x54818a(0x26c)],0xf0),'next_step':_0x3cc58b[_0x54818a(0x14f)]?{'id':_0x1a7e65(_0x3cc58b[_0x54818a(0x14f)]['id'],0x50),'name':_0x1a7e65(_0x3cc58b['next_step']['name'],0x50),'skill':_0x1a7e65(_0x3cc58b[_0x54818a(0x14f)][_0x54818a(0x1b1)],0x50)}:null,'stop_reason':_0x1a7e65(_0x3cc58b['stop_reason'],0x50),'nextAction':_0x3cc58b[_0x54818a(0x325)]?{'kind':_0x1a7e65(_0x3cc58b[_0x54818a(0x325)]['kind'],0x50),'reason':_0x1a7e65(_0x3cc58b[_0x54818a(0x325)][_0x54818a(0x15b)]),'code':_0x1a7e65(_0x3cc58b[_0x54818a(0x325)][_0x54818a(0x142)],0x50)}:null,'compatibility':{'mutation':_0x1a7e65(_0x3cc58b[_0x54818a(0x1d7)]?.[_0x54818a(0xc1)],0x50),'code':_0x1a7e65(_0x3cc58b['compatibility']?.['code'],0x50)}})),'pendingCreations':_0x1ef6f1[_0x54818a(0x1c0)][_0x54818a(0x1e2)](0x0,0x4)['map'](_0x53a351=>({'task':_0x1a7e65(_0x53a351[_0x54818a(0xfe)],0x40),'runId':_0x1a7e65(_0x53a351[_0x54818a(0x2c6)],0x20),'status':_0x1a7e65(_0x53a351[_0x54818a(0x1c6)],0x20),'workspacePath':_0x1a7e65(_0x53a351[_0x54818a(0xf5)]?.[_0x54818a(0x148)],0xf0),'error':_0x53a351['error']?_0x22932d(_0x53a351[_0x54818a(0x1ae)]):null,'availableActions':{'resume':_0x53a351[_0x54818a(0x114)]?.[_0x54818a(0xc2)]===!![],'abandon':_0x53a351[_0x54818a(0x114)]?.[_0x54818a(0x2cc)]===!![]}})),'migrationWarnings':_0x1ef6f1[_0x54818a(0x305)]['slice'](0x0,0x3)[_0x54818a(0x2be)](_0x22932d),'foreignWorkspaceStates':_0x1ef6f1['foreignWorkspaceStates']['slice'](0x0,0x3)[_0x54818a(0x2be)](_0x22932d),'counts':{},'truncated':![],'details':_0x54818a(0x1cd)},_0x283b1b=[_0x54818a(0x1de),_0x54818a(0x1c0),_0x54818a(0x305),'foreignWorkspaceStates'],_0x2268d3=()=>{const _0x1175ad=_0x54818a;for(const _0x59f562 of _0x283b1b)_0x28aa81[_0x1175ad(0x1b4)][_0x59f562]={'total':_0x1ef6f1[_0x59f562]['length'],'displayed':_0x28aa81[_0x59f562]['length'],'omitted':_0x1ef6f1[_0x59f562][_0x1175ad(0x156)]-_0x28aa81[_0x59f562][_0x1175ad(0x156)]};Object['assign'](_0x28aa81[_0x1175ad(0x1b4)][_0x1175ad(0x1de)],{'unfinished':_0x1ef6f1[_0x1175ad(0x1de)]['filter'](_0x5a906f)['length'],'active':_0x1ef6f1[_0x1175ad(0x1de)][_0x1175ad(0x327)](_0x444c18=>_0x444c18[_0x1175ad(0x29e)]==='active')[_0x1175ad(0x156)],'paused':_0x1ef6f1['pipelines'][_0x1175ad(0x327)](_0x17a148=>_0x17a148['state']===_0x1175ad(0x26e))[_0x1175ad(0x156)],'completed':_0x1ef6f1[_0x1175ad(0x1de)][_0x1175ad(0x327)](_0x33e3dc=>_0x33e3dc['state']==='completed')[_0x1175ad(0x156)],'cancelled':_0x1ef6f1[_0x1175ad(0x1de)]['filter'](_0x5bf0f4=>_0x5bf0f4['state']===_0x1175ad(0x270))[_0x1175ad(0x156)]}),_0x28aa81['truncated']=_0x31eb8f||_0x283b1b[_0x1175ad(0x153)](_0x2e92ec=>_0x28aa81['counts'][_0x2e92ec][_0x1175ad(0x193)]>0x0);};_0x2268d3();while(Buffer[_0x54818a(0x30b)](JSON[_0x54818a(0x2a2)](_0x28aa81))>0xc*0x400){const _0xe7ea0e=['migrationWarnings','foreignWorkspaceStates','pipelines',_0x54818a(0x1c0)][_0x54818a(0x1e6)](_0x21e7bf=>_0x28aa81[_0x21e7bf]['length']);if(!_0xe7ea0e)break;_0x28aa81[_0xe7ea0e]['pop'](),_0x2268d3();}return _0x28aa81;}['getStatus'](_0x18c585,_0x5eaa3d,_0x311790={}){const _0xd1b075=_0x3c55b0;try{if(!_0x18c585){const _0x3e5446=[];if(fs[_0xd1b075(0xff)](this['stateRoot'])){const _0x62e0a6={};_0x62e0a6[_0xd1b075(0x1e0)]=!![];for(const _0x434d24 of fs[_0xd1b075(0x128)](this[_0xd1b075(0x251)],_0x62e0a6)){if(!_0x434d24['isDirectory']()||_0x434d24[_0xd1b075(0x11f)]['startsWith']('.'))continue;const _0x25b195=this['readCurrent'](_0x434d24['name']);if(_0x25b195&&this[_0xd1b075(0x22f)](_0x25b195))_0x3e5446[_0xd1b075(0x310)](this[_0xd1b075(0xf9)](_0x25b195,_0x311790));else{if(_0x25b195)this['recordForeignRun'](_0x25b195);}}}const _0xfdaeb8={'success':!![],'active':_0x3e5446[_0xd1b075(0x153)](_0x4e0659=>_0x4e0659[_0xd1b075(0x32c)]),'state':_0x3e5446['length']?_0xd1b075(0x296):_0xd1b075(0x221),'pipelines':_0x3e5446,'stateRoot':this['stateRoot'],'migrationWarnings':this[_0xd1b075(0x305)],'foreignWorkspaceStates':this[_0xd1b075(0xeb)]||[],'pendingCreations':this[_0xd1b075(0x1c0)](),'message':_0x3e5446['length']?_0x3e5446[_0xd1b075(0x156)]+_0xd1b075(0x210):_0xd1b075(0x10d),'tool_routing':TOOL_ROUTING};return _0x311790[_0xd1b075(0x1ee)]==='bootstrap'?this[_0xd1b075(0x185)](_0xfdaeb8):_0xfdaeb8;}const _0x3c9621=PipelineManager[_0xd1b075(0x1c9)](_0x18c585);if(_0x3c9621)return _0x3c9621;if(_0x5eaa3d){const _0x47e4e0=PipelineManager['validateRunId'](_0x5eaa3d);if(_0x47e4e0)return _0x47e4e0;}const _0x316307=_0x5eaa3d?this[_0xd1b075(0xea)](_0x18c585,_0x5eaa3d):this[_0xd1b075(0x124)](_0x18c585);if(!_0x316307)return error(_0xd1b075(0x33b),_0xd1b075(0x2b9)+_0x18c585+'\x22.',{'active':![],'state':_0xd1b075(0x221),'task':_0x18c585,'stateRoot':this[_0xd1b075(0x251)],'pendingCreations':this[_0xd1b075(0x1c0)](_0x18c585)});const _0x58c8c0={..._0x311790};return _0x58c8c0['success']=!![],{...this[_0xd1b075(0xf9)](_0x316307,_0x58c8c0),'pendingCreations':this[_0xd1b075(0x1c0)](_0x18c585)};}catch(_0x2e6596){if(![_0xd1b075(0x1c2),_0xd1b075(0x27b)]['includes'](_0x2e6596[_0xd1b075(0x142)]))throw _0x2e6596;return error(_0xd1b075(0x293),_0xd1b075(0x14e),{'active':![],'task':_0x18c585||null,'diagnostic':creationFailure(_0x2e6596,_0xd1b075(0xc3))});}}[_0x3c55b0(0x2a1)](_0x4ff8bf,_0x4037ca){const _0x403e47=_0x3c55b0,_0x328c30=PipelineManager['validateTask'](_0x4ff8bf);if(_0x328c30)return _0x328c30;const _0x5ed530=PipelineManager['validateRunId'](_0x4037ca);if(_0x5ed530)return _0x5ed530;const _0x259dc5=this[_0x403e47(0xea)](_0x4ff8bf,_0x4037ca);if(!_0x259dc5)return error(_0x403e47(0x33b),_0x403e47(0x1bf)+_0x4037ca+_0x403e47(0xdf));if(!_0x259dc5[_0x403e47(0xf5)]['managed']||_0x259dc5['workspace'][_0x403e47(0x2dc)]!==_0x403e47(0x105))return error(_0x403e47(0x262),_0x403e47(0x1cf));const _0x2e4dec={};_0x2e4dec[_0x403e47(0x267)]=_0x259dc5['workspace'][_0x403e47(0x148)];const _0x19222b=this[_0x403e47(0x30a)]([_0x403e47(0x1c6),'--porcelain'],_0x2e4dec);if(!_0x259dc5[_0x403e47(0xf5)]['baseBranch'])return error('WORKTREE_BASE_BRANCH_MISSING',_0x403e47(0x211));const _0x2b4141=this[_0x403e47(0x30a)]([_0x403e47(0x2db),_0x403e47(0x2e0),_0x403e47(0x11e),_0x259dc5[_0x403e47(0xf5)]['baseBranch']+'...'+_0x259dc5['workspace'][_0x403e47(0x330)]]),_0x488b15=this[_0x403e47(0x30a)]([_0x403e47(0x2de),_0x403e47(0x27a),_0x259dc5[_0x403e47(0xf5)]['baseRef']+_0x403e47(0x226)+_0x259dc5[_0x403e47(0xf5)][_0x403e47(0x330)]]),[_0x2bd18c='0',_0x2bc6d6='0']=_0x2b4141[_0x403e47(0x15c)][_0x403e47(0x146)](/\s+/);return{'success':_0x19222b['ok']&&_0x2b4141['ok']&&_0x488b15['ok'],'task':_0x4ff8bf,'runId':_0x4037ca,'workspacePath':_0x259dc5[_0x403e47(0xf5)][_0x403e47(0x148)],'branch':_0x259dc5[_0x403e47(0xf5)][_0x403e47(0x330)],'baseRef':_0x259dc5['workspace'][_0x403e47(0xd6)],'baseBranch':_0x259dc5[_0x403e47(0xf5)][_0x403e47(0x29b)],'clean':_0x19222b['ok']&&!_0x19222b[_0x403e47(0x15c)],'status':_0x19222b[_0x403e47(0x15c)],'ahead':Number(_0x2bc6d6),'behind':Number(_0x2bd18c),'changedFiles':_0x488b15[_0x403e47(0x15c)]?_0x488b15[_0x403e47(0x15c)]['split'](/\r?\n/)[_0x403e47(0x327)](Boolean):[],'mergePerformed':![]};}['cleanupWorkspace']({task:_0x41b735,runId:_0x51aa6a,confirm:_0x302396,sessionId:_0x4c84c5}={}){const _0x59c4b2=_0x3c55b0,_0x143f2d=PipelineManager[_0x59c4b2(0x1c9)](_0x41b735);if(_0x143f2d)return _0x143f2d;const _0x23ca0c=PipelineManager[_0x59c4b2(0x123)](_0x51aa6a);if(_0x23ca0c)return _0x23ca0c;if(_0x302396!==!![])return error(_0x59c4b2(0x33a),_0x59c4b2(0x269));return this[_0x59c4b2(0x174)](_0x41b735,()=>{const _0x210bc9=_0x59c4b2,_0x220e76=this[_0x210bc9(0xea)](_0x41b735,_0x51aa6a);if(!_0x220e76)return error(_0x210bc9(0x33b),_0x210bc9(0x1bf)+_0x51aa6a+'\x22\x20was\x20not\x20found.');if(_0x220e76['coordinator']&&_0x220e76['coordinator']!==_0x4c84c5)return error('SESSION_MISMATCH',_0x210bc9(0x15d));if(![_0x210bc9(0x116),_0x210bc9(0x270)][_0x210bc9(0x2f0)](_0x220e76[_0x210bc9(0x1c6)]))return error(_0x210bc9(0x186),_0x210bc9(0x253));if(_0x220e76[_0x210bc9(0x272)]?.[_0x210bc9(0x32c)]?.[_0x210bc9(0x156)])return error('WORK_IN_FLIGHT','Stop\x20and\x20release\x20active\x20workers\x20before\x20worktree\x20cleanup.');if(!_0x220e76['workspace'][_0x210bc9(0x1af)]||_0x220e76['workspace'][_0x210bc9(0x1c6)]===_0x210bc9(0x2ac))return error(_0x210bc9(0x262),_0x210bc9(0x22a));const _0x10fe9a={};_0x10fe9a['cwd']=_0x220e76[_0x210bc9(0xf5)][_0x210bc9(0x148)];const _0x5c18cf=this[_0x210bc9(0x30a)]([_0x210bc9(0x1c6),_0x210bc9(0x169)],_0x10fe9a);if(!_0x5c18cf['ok']||_0x5c18cf['stdout'])return error('WORKTREE_DIRTY',_0x210bc9(0x215),{'status':_0x5c18cf[_0x210bc9(0x15c)]});if(!_0x220e76[_0x210bc9(0xf5)][_0x210bc9(0x29b)])return error('WORKTREE_UNMERGED','Cannot\x20verify\x20that\x20the\x20branch\x20was\x20merged.');const _0x1b7d72=this['runGit']([_0x210bc9(0x340),_0x210bc9(0x1e7),_0x220e76['workspace'][_0x210bc9(0x330)],_0x220e76['workspace'][_0x210bc9(0x29b)]]);if(!_0x1b7d72['ok'])return error('WORKTREE_UNMERGED',_0x210bc9(0x31d));const _0x2d581c=this[_0x210bc9(0x30a)]([_0x210bc9(0x105),_0x210bc9(0x2a0),_0x220e76[_0x210bc9(0xf5)][_0x210bc9(0x148)]]);if(!_0x2d581c['ok'])return error(_0x210bc9(0x2b3),_0x2d581c[_0x210bc9(0x291)]);_0x220e76[_0x210bc9(0xf5)][_0x210bc9(0x1c6)]='removed',_0x220e76[_0x210bc9(0xf5)][_0x210bc9(0x12d)]=this[_0x210bc9(0x2d9)]()[_0x210bc9(0x167)](),this[_0x210bc9(0x313)](_0x220e76),this[_0x210bc9(0x1fa)](_0x220e76,'Worktree\x20removed',_0x210bc9(0x18a)+_0x220e76[_0x210bc9(0xf5)][_0x210bc9(0x330)]);const _0x525ab8={};return _0x525ab8[_0x210bc9(0x30c)]=!![],_0x525ab8[_0x210bc9(0xfe)]=_0x41b735,_0x525ab8[_0x210bc9(0x2c6)]=_0x51aa6a,_0x525ab8[_0x210bc9(0x330)]=_0x220e76[_0x210bc9(0xf5)][_0x210bc9(0x330)],_0x525ab8['branchDeleted']=![],_0x525ab8;});}[_0x3c55b0(0x13f)](){const _0xd195ae=_0x3c55b0,_0x2d97b0=new Set([path['join'](this['projectPath'],_0xd195ae(0x16a),_0xd195ae(0x1de)),this[_0xd195ae(0x251)]]);for(const _0x585aed of _0x2d97b0){if(!fs[_0xd195ae(0xff)](_0x585aed))continue;const _0x1ed5c9={};_0x1ed5c9[_0xd195ae(0x1e0)]=!![];for(const _0x38cbe7 of fs[_0xd195ae(0x128)](_0x585aed,_0x1ed5c9)){if(!_0x38cbe7['isDirectory']()||_0x38cbe7[_0xd195ae(0x11f)]['startsWith']('.'))continue;const _0x2d9a2f=path[_0xd195ae(0x1cc)](_0x585aed,_0x38cbe7['name'],'state.json');if(!fs[_0xd195ae(0xff)](_0x2d9a2f))continue;const _0x424095=fs['readFileSync'](_0x2d9a2f,_0xd195ae(0xf8));let _0x5e8e33;try{_0x5e8e33=JSON['parse'](_0x424095);}catch(_0x406412){const _0x43478e={};_0x43478e[_0xd195ae(0x142)]=_0xd195ae(0x295),_0x43478e[_0xd195ae(0x148)]=_0x2d9a2f,_0x43478e[_0xd195ae(0x1ae)]=_0x406412[_0xd195ae(0xf7)],this[_0xd195ae(0x305)][_0xd195ae(0x310)](_0x43478e);continue;}if(!_0x5e8e33?.[_0xd195ae(0x1ea)]||!PIPELINE_DEFINITIONS[_0x5e8e33[_0xd195ae(0x1ea)]]){const _0x479884={};_0x479884[_0xd195ae(0x142)]=_0xd195ae(0x295),_0x479884[_0xd195ae(0x148)]=_0x2d9a2f,_0x479884[_0xd195ae(0x1ae)]=_0xd195ae(0x2a7),this[_0xd195ae(0x305)][_0xd195ae(0x310)](_0x479884);continue;}const _0x4df7b1=crypto['createHash'](_0xd195ae(0x24a))['update'](_0x2d9a2f+'\x00'+_0x424095)[_0xd195ae(0x282)](_0xd195ae(0x104)),_0x46ad1c=path[_0xd195ae(0x1cc)](this['stateRoot'],'.migrations',_0x4df7b1+_0xd195ae(0x2e8));if(fs[_0xd195ae(0xff)](_0x46ad1c))continue;const _0x20888a=String(_0x5e8e33[_0xd195ae(0x125)]||this['now']()['toISOString']())[_0xd195ae(0x1e2)](0x0,0xa)[_0xd195ae(0x1aa)](/-/g,''),_0x416804=PipelineManager[_0xd195ae(0x1c9)](_0x38cbe7[_0xd195ae(0x11f)])?_0xd195ae(0x224)+_0x5e8e33[_0xd195ae(0x1ea)]+'-'+_0x20888a:_0x38cbe7['name'];let _0x2799a8=_0x416804,_0xe434c5=0x0;while(this[_0xd195ae(0x124)](_0x2799a8)){const _0x436e18=_0xe434c5++===0x0?_0x4df7b1[_0xd195ae(0x1e2)](0x0,0x6):_0x4df7b1['slice'](0x0,0x4)+'-'+_0xe434c5;_0x2799a8=_0x416804['slice'](0x0,0x3f-_0x436e18[_0xd195ae(0x156)])+'-'+_0x436e18;}const _0x38536b=this['generateRunId'](),_0xc1498c=PIPELINE_DEFINITIONS[_0x5e8e33[_0xd195ae(0x1ea)]],_0x126793=(_0x5e8e33[_0xd195ae(0x138)]||[])['map'](_0x35b527=>typeof _0x35b527===_0xd195ae(0x266)?{'id':_0x35b527,'summary':'Migrated\x20from\x201.x\x20task\x20state','completedAt':this[_0xd195ae(0x2d9)]()[_0xd195ae(0x167)]()}:_0x35b527),_0x562404={};_0x562404[_0xd195ae(0x2dc)]='current',_0x562404[_0xd195ae(0x148)]=this[_0xd195ae(0xc4)],_0x562404[_0xd195ae(0x1af)]=![],_0x562404[_0xd195ae(0x1c6)]=_0xd195ae(0x2a9);const _0x55749c={'schemaVersion':0x2,'task':_0x2799a8,'runId':_0x38536b,'pipeline':_0x5e8e33[_0xd195ae(0x1ea)],'status':_0x126793[_0xd195ae(0x156)]>=_0xc1498c['steps'][_0xd195ae(0x156)]?'completed':_0xd195ae(0x32c),'completedSteps':_0x126793,'workspace':_0x562404,'startedAt':_0x5e8e33['startedAt']||this[_0xd195ae(0x2d9)]()[_0xd195ae(0x167)](),'updatedAt':this['now']()[_0xd195ae(0x167)](),'migratedFrom':_0x2d9a2f},_0x56bf43={};_0x56bf43[_0xd195ae(0x151)]=!![],this['writeState'](_0x55749c,_0x56bf43);const _0x22d65f=path[_0xd195ae(0x1cc)](_0x585aed,_0x38cbe7['name'],_0xd195ae(0x21b)),_0x58137c=fs[_0xd195ae(0xff)](_0x22d65f)?fs[_0xd195ae(0x24e)](_0x22d65f,_0xd195ae(0xf8)):'(no\x20legacy\x20ledger)';this[_0xd195ae(0x1fa)](_0x55749c,_0xd195ae(0x183),_0xd195ae(0x2d3)+_0x2d9a2f+'\x0a\x0a'+_0x58137c),this[_0xd195ae(0x339)](_0x46ad1c,{'source':_0x2d9a2f,'task':_0x2799a8,'runId':_0x38536b,'fingerprint':_0x4df7b1,'migratedAt':this['now']()['toISOString']()});}}}[_0x3c55b0(0x298)](){const _0x5bce7c=_0x3c55b0;if(!fs['existsSync'](this[_0x5bce7c(0xd7)]))return;const _0x42af51=fs['readFileSync'](this[_0x5bce7c(0xd7)],_0x5bce7c(0xf8));let _0x9899f2;try{_0x9899f2=JSON[_0x5bce7c(0x229)](_0x42af51);}catch(_0x1a6ee0){this[_0x5bce7c(0x305)][_0x5bce7c(0x310)]({'code':_0x5bce7c(0x295),'path':this['legacyStateFilePath'],'error':_0x1a6ee0[_0x5bce7c(0xf7)]});return;}if(!_0x9899f2?.[_0x5bce7c(0x1ea)]||!PIPELINE_DEFINITIONS[_0x9899f2[_0x5bce7c(0x1ea)]]){this['migrationWarnings']['push']({'code':_0x5bce7c(0x295),'path':this[_0x5bce7c(0xd7)],'error':_0x5bce7c(0x2a7)});return;}const _0x55e5d2=crypto[_0x5bce7c(0x115)](_0x5bce7c(0x24a))[_0x5bce7c(0x2d1)](_0x42af51)[_0x5bce7c(0x282)](_0x5bce7c(0x104)),_0x4d1b7d=path['join'](this[_0x5bce7c(0x251)],_0x5bce7c(0xbc),_0x55e5d2+_0x5bce7c(0x2e8));if(fs[_0x5bce7c(0xff)](_0x4d1b7d))return;const _0x4456c1=String(_0x9899f2['startedAt']||this[_0x5bce7c(0x2d9)]()['toISOString']())[_0x5bce7c(0x1e2)](0x0,0xa)[_0x5bce7c(0x1aa)](/-/g,''),_0x4c18e2='legacy-'+_0x9899f2[_0x5bce7c(0x1ea)]+'-'+_0x4456c1;let _0x566649=_0x4c18e2,_0x4800b7=0x0;while(fs[_0x5bce7c(0xff)](this[_0x5bce7c(0x25e)](_0x566649))){const _0x58c14a=_0x4800b7++===0x0?_0x55e5d2[_0x5bce7c(0x1e2)](0x0,0x6):_0x55e5d2[_0x5bce7c(0x1e2)](0x0,0x4)+'-'+_0x4800b7;_0x566649=_0x4c18e2[_0x5bce7c(0x1e2)](0x0,0x3f-_0x58c14a['length'])+'-'+_0x58c14a;}const _0x57b858=this[_0x5bce7c(0x2a5)](),_0x1b5188=PIPELINE_DEFINITIONS[_0x9899f2[_0x5bce7c(0x1ea)]],_0x52105c=(_0x9899f2[_0x5bce7c(0x138)]||[])[_0x5bce7c(0x2be)](_0x4f90fa=>typeof _0x4f90fa===_0x5bce7c(0x266)?{'id':_0x4f90fa,'summary':_0x5bce7c(0x1b6),'completedAt':this[_0x5bce7c(0x2d9)]()[_0x5bce7c(0x167)]()}:_0x4f90fa),_0x1bd87e={};_0x1bd87e[_0x5bce7c(0x2dc)]=_0x5bce7c(0x274),_0x1bd87e['path']=this[_0x5bce7c(0xc4)],_0x1bd87e[_0x5bce7c(0x1af)]=![],_0x1bd87e[_0x5bce7c(0x1c6)]='ready';const _0x2199eb={'schemaVersion':0x2,'task':_0x566649,'runId':_0x57b858,'pipeline':_0x9899f2[_0x5bce7c(0x1ea)],'status':_0x52105c[_0x5bce7c(0x156)]>=_0x1b5188[_0x5bce7c(0x23f)][_0x5bce7c(0x156)]?_0x5bce7c(0x116):'active','completedSteps':_0x52105c,'workspace':_0x1bd87e,'startedAt':_0x9899f2[_0x5bce7c(0x125)]||this[_0x5bce7c(0x2d9)]()[_0x5bce7c(0x167)](),'updatedAt':this[_0x5bce7c(0x2d9)]()[_0x5bce7c(0x167)](),'migratedFrom':this[_0x5bce7c(0xd7)]},_0x2fcb38={};_0x2fcb38[_0x5bce7c(0x151)]=!![],this[_0x5bce7c(0x313)](_0x2199eb,_0x2fcb38),this[_0x5bce7c(0x1fa)](_0x2199eb,_0x5bce7c(0x1b9),_0x5bce7c(0x2d3)+this[_0x5bce7c(0xd7)]),this[_0x5bce7c(0x339)](_0x4d1b7d,{'source':this['legacyStateFilePath'],'task':_0x566649,'runId':_0x57b858,'fingerprint':_0x55e5d2,'migratedAt':this[_0x5bce7c(0x2d9)]()[_0x5bce7c(0x167)]()});}static[_0x3c55b0(0xdc)](_0x3ad2c2){const _0x5b79aa=_0x3c55b0,_0x4512e7=String(_0x3ad2c2||'')[_0x5b79aa(0x21d)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/[_0x5b79aa(0x338)](_0x4512e7)){const _0x7a679f={};return _0x7a679f[_0x5b79aa(0x2ba)]=_0x5b79aa(0x127),_0x7a679f[_0x5b79aa(0x2e3)]=_0x5b79aa(0x2e9),_0x7a679f[_0x5b79aa(0x15b)]='Bug-fix\x20signals\x20detected.',_0x7a679f;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/['test'](_0x4512e7)){const _0x4eb4da={};return _0x4eb4da[_0x5b79aa(0x2ba)]='hotfix',_0x4eb4da[_0x5b79aa(0x2e3)]=_0x5b79aa(0x2e9),_0x4eb4da[_0x5b79aa(0x15b)]=_0x5b79aa(0xe3),_0x4eb4da;}const _0x3e6a2c={};return _0x3e6a2c[_0x5b79aa(0x2ba)]='feature',_0x3e6a2c[_0x5b79aa(0x2e3)]=_0x4512e7['length']>=0x3?'medium':_0x5b79aa(0x11b),_0x3e6a2c['reason']='Defaulting\x20to\x20the\x20safest\x20full\x20pipeline.',_0x3e6a2c;}}const _0x1b39a6={};_0x1b39a6[_0x3c55b0(0x152)]=PipelineManager,_0x1b39a6[_0x3c55b0(0x19c)]=PIPELINE_DEFINITIONS,_0x1b39a6[_0x3c55b0(0x23c)]=PIPELINE_DEFINITIONS_V3,module[_0x3c55b0(0x112)]=_0x1b39a6;
|