apt-mcp-agent-setup 3.5.65 → 3.9.0
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 +1329 -633
- package/bundle/NOTICES.md +0 -0
- package/bundle/core.enc +0 -0
- package/bundle/mcp-rules.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-fe.enc +0 -0
- package/bundle/skills-mobile.enc +0 -0
- package/docs/apt-3.7.0-migration.md +49 -0
- package/docs/technical-sources.md +20 -18
- package/docs/upstream-manifest.json +36 -19
- package/integrity-manifest.json +207 -181
- package/package.json +3 -3
- package/release-check.js +6 -2
- package/source-skills-lock.json +242 -24
- package/src/backends/{browser-tools-0.0.82.json → browser-tools-0.0.83.json} +375 -375
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/{codegraph-1.6.0.json → codegraph-1.6.2.json} +180 -180
- package/src/backends/index-cache-authority.js +1 -1
- package/src/backends/index-cache-retention.js +1 -0
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-contract.json +2 -2
- package/src/backends/index-maintenance.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/linked-worktrees.js +1 -1
- package/src/backends/machine-index-exclude.js +1 -0
- package/src/backends/memory-1.0.0.json +126 -0
- package/src/backends/profiles.js +1 -1
- package/src/backends/review_graph.py +44 -0
- package/src/backends/source-discovery.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/antigravity-subagents.js +1 -0
- 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/content-hash-cache.js +1 -1
- package/src/core/context-metrics.js +1 -1
- package/src/core/design-standard.js +1 -0
- 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/hook-phase.js +1 -0
- 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/learning-cli.js +1 -0
- package/src/core/learning-proposals.js +1 -0
- package/src/core/learning-rules.js +1 -0
- package/src/core/learning-signals.js +1 -0
- package/src/core/learning-store.js +1 -0
- package/src/core/learning-sync.js +1 -0
- 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-journal-retention.js +1 -0
- package/src/core/run-mailbox.js +1 -0
- package/src/core/run-owner.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/shared-checkout.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-layout.js +1 -0
- 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/codex-hook-trust.js +1 -1
- package/src/installer/connection-activation.js +1 -1
- package/src/installer/connection-retention.js +1 -0
- 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-install.js +1 -0
- package/src/installer/global-instructions.js +1 -0
- package/src/installer/global-setup.js +1 -1
- package/src/installer/hook-context-client.js +1 -1
- package/src/installer/hook-dispatcher.js +372 -179
- 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-forget.js +1 -0
- 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 -1
- package/src/installer/registration-closure.js +1 -1
- package/src/installer/registration-plan.js +1 -1
- package/src/installer/registration-receipt.js +1 -1
- package/src/installer/registrations.js +1 -1
- package/src/installer/runtime-activation.js +1 -1
- package/src/installer/runtime-child.js +1 -1
- package/src/installer/runtime-cleanup.js +1 -1
- package/src/installer/runtime-launcher.js +16 -16
- 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/uninstall.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 -1
- package/src/installer/update-request.js +1 -1
- package/src/installer/update-scope.js +1 -1
- package/src/installer/workspace-registry.js +1 -1
- package/src/installer/workspace-transaction.js +1 -1
- package/src/installer/workspace-update.js +1 -1
- package/src/installer/worktree-retention.js +1 -0
- package/src/license/canonical.js +1 -0
- package/src/license/crypto.js +1 -1
- package/src/license/delegation.js +1 -0
- package/src/license/fingerprint.js +1 -1
- package/src/license/server-config.js +1 -0
- package/src/license/terms.js +1 -1
- package/src/license/trust.js +1 -0
- package/src/license/verify.js +1 -1
- package/src/packs/deploy.js +1 -0
- package/src/packs/manifest.js +1 -0
- package/src/packs/status.js +1 -0
- package/src/packs/store.js +1 -0
- package/src/packs/sync.js +1 -0
- 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/learning-tools.js +1 -0
- 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/run-summary.js +1 -1
- package/src/proxy/server-instructions.js +1 -1
- package/src/proxy/server.js +1 -1
- package/src/proxy/workspace-gateway.js +1 -1
- package/src/templates/CLAUDE.md +13 -13
- package/src/templates/apt-runtime.md +31 -27
- package/src/templates/domain.md +3 -0
- package/src/templates/mcp-tools.md +4 -1
- package/bundle/skills-aso.enc +0 -0
- package/bundle/skills-design.enc +0 -0
- package/bundle/skills-marketing.enc +0 -0
- package/bundle/skills-pm.enc +0 -0
- package/src/backends/memory-2026.8.31.json +0 -34
package/src/proxy/pipeline.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4acfa7=_0xa329;(function(_0x263ea8,_0x7625b3){const _0x5d40e9=_0xa329,_0x3ef461=_0x263ea8();while(!![]){try{const _0x2c5443=parseInt(_0x5d40e9(0x27d))/0x1*(parseInt(_0x5d40e9(0xd0))/0x2)+parseInt(_0x5d40e9(0x138))/0x3+-parseInt(_0x5d40e9(0x8d))/0x4+-parseInt(_0x5d40e9(0xad))/0x5*(-parseInt(_0x5d40e9(0x29a))/0x6)+parseInt(_0x5d40e9(0x239))/0x7+parseInt(_0x5d40e9(0x117))/0x8*(-parseInt(_0x5d40e9(0x1bc))/0x9)+-parseInt(_0x5d40e9(0x1ea))/0xa;if(_0x2c5443===_0x7625b3)break;else _0x3ef461['push'](_0x3ef461['shift']());}catch(_0x504411){_0x3ef461['push'](_0x3ef461['shift']());}}}(_0x8e57,0x53cf2));const crypto=require(_0x4acfa7(0x2b8)),fs=require('fs'),os=require('os'),path=require(_0x4acfa7(0xcc)),{spawnSync}=require(_0x4acfa7(0xa8)),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0x4acfa7(0xe3)),{inspectRunContract}=require(_0x4acfa7(0x304)),{artifactEvidenceCurrent}=require(_0x4acfa7(0x2ee)),{acquireRuntimeLock}=require('../core/owned-lock'),ACTIVE_ATTEMPTS=new Map(),TOOL_ROUTING='explore_code\x20FIRST\x20for\x20code.\x20grep_search\x20ONLY\x20non-code\x20(config/docs/.env).\x20No\x20grep\x20loops.',_0x28bd5d={};_0x28bd5d['grill-me']='SAVE\x20design\x20decisions\x20and\x20constraints\x20with\x20remember.',_0x28bd5d[_0x4acfa7(0x2fd)]='SAVE\x20PRD\x20scope\x20and\x20key\x20requirements\x20with\x20remember.',_0x28bd5d[_0x4acfa7(0x1f6)]='SAVE\x20root\x20cause\x20and\x20reproduction\x20steps\x20with\x20remember.',_0x28bd5d['tdd']=_0x4acfa7(0x169),_0x28bd5d[_0x4acfa7(0x14e)]=_0x4acfa7(0x270);const MEMORY_TRIGGERS=_0x28bd5d,DOMAIN_SKILL_REMINDER=[_0x4acfa7(0x302),_0x4acfa7(0x2f3),_0x4acfa7(0xca),_0x4acfa7(0x187)][_0x4acfa7(0xe2)]('\x0a'),_0x20057e={};_0x20057e['id']=_0x4acfa7(0x1d6),_0x20057e[_0x4acfa7(0x290)]=_0x4acfa7(0x2cc),_0x20057e[_0x4acfa7(0xae)]=_0x4acfa7(0x2b3);const _0x5aae71={};_0x5aae71['id']=_0x4acfa7(0x2fd),_0x5aae71[_0x4acfa7(0x290)]=_0x4acfa7(0x1af),_0x5aae71[_0x4acfa7(0xae)]=_0x4acfa7(0x1a5);const _0x497979={};_0x497979['id']=_0x4acfa7(0x2e8),_0x497979[_0x4acfa7(0x290)]='Create\x20vertical-slice\x20issues',_0x497979[_0x4acfa7(0xae)]='task-breakdown';const _0x3a8d6b={};_0x3a8d6b['id']='tdd',_0x3a8d6b[_0x4acfa7(0x290)]=_0x4acfa7(0x85),_0x3a8d6b[_0x4acfa7(0xae)]=_0x4acfa7(0x12c);const _0x326830={};_0x326830['id']='improve-architecture',_0x326830[_0x4acfa7(0x290)]=_0x4acfa7(0x159),_0x326830[_0x4acfa7(0xae)]=_0x4acfa7(0x189);const _0x418a87={};_0x418a87[_0x4acfa7(0x290)]=_0x4acfa7(0x311),_0x418a87['steps']=[_0x20057e,_0x5aae71,_0x497979,_0x3a8d6b,_0x326830];const _0xfe4224={};_0xfe4224['id']=_0x4acfa7(0x1f6),_0xfe4224[_0x4acfa7(0x290)]=_0x4acfa7(0x183),_0xfe4224[_0x4acfa7(0xae)]='bug-diagnostics';const _0x3b9ec4={};_0x3b9ec4['id']='grill-me',_0x3b9ec4[_0x4acfa7(0x290)]='Challenge\x20the\x20fix\x20design',_0x3b9ec4[_0x4acfa7(0xae)]='stress-test-plan';const _0x12fef2={};function _0x8e57(){const _0x5ae487=['CMvJB3zLCKnYzwf0Aw9U','uLvox05pvf9bq1rjvKu','y2fUtxv0yxrL','mtG4mZG2mKLovNbczW','vgHPCYbYDw4GCMvTywLUCYbYzwfKywjSzsWGyNv0igL0CYbOAxn0B3jPy2fSignVBNrYywn0ignHBM5VDcbIzsb2zxjPzMLLzcbMB3iGBxv0yxrPB24U','D2vI','zxjYB3jpBKv4Axn0','Dg9mB2nHBgvmB3DLCKnHC2u','su5wquXjrf9uqvnlx0Le','Cgf1C2vKqxq','D29YA0L0zw1dB3vUDcbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCI4','ueLqruXjtKvFu1rbvevFte9ds0ve','ChjVz3jLC3mUBwq','BM9Uzq','CMv2lxbHCNnL','yNvNzML4','uMvWB3nPDg9YEsbOyxmGBM8GyMfZzsbJB21TAxqU','Bw9IAwXL','Ag9ZDfDVCMTLCKLK','Bw9KzwXtDgf0Dxm','ueLqruXjtKvFtuLttufuq0G','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','CNvUr2L0','Aw5KzxG','su5wquXjrf9svu5Fsuq','Aw1WCM92zs1HCMnOAxrLy3r1CMu','BMv3lxj1BI1Yzxf1AxjLza','C3vTBwfYAxPLqM9VDhn0CMfWu3rHDhvZ','y29UzMLKzw5Jzq','CMvHzfj1BG','yxb0lw1JCc1NAxqTChjLDMLLDY0','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','C2nVCgu','D29YA0L0zw1dB3vUDa','BwvYz2uTyMfZzq','y29TCgXLDgvKu3rLChm','uMv2Awv3igfYy2HPDgvJDhvYzq','y29VCMrPBMf0B3i','CMvTB3zLza','Dhj1BMm','DgfYz2v0','AgfZtgvNywn5u3rHDgu','lcbUB3qGywn0AxzLlG','CNvUCW','zgLHz25VC3rPyW','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzc4','z2v0','cImJia','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','ls1NAxqTzgLY','Aw50zxjYDxb0zwq','u0fwrsbPBxbSzw1LBNrHDgLVBIbKzwnPC2LVBNmGyw5KihrLC3qGCgf0DgvYBNmGD2L0AcbYzw1LBwjLCI4','rgvMyxvSDgLUzYb0BYb0AguGC2fMzxn0igz1BgWGCgLWzwXPBMuU','C2v0','y29UDhjHy3qTDw5HDMfPBgfIBgu','vxbNCMfKzsbJyw5JzwXSyxrPB24GCMvXDwLYzxmGDgHLign1CNjLBNqGzNjVEMvUihrYyw5Zywn0Aw9UlG','Agv4','v3jPDguGCMvNCMvZC2LVBIb0zxn0igfUzcbMAxG','C2HHmJu2','CxvHBgL0Eq','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','ls1ZAg93lwn1CNjLBNq','DMvYAwz5','Bg9JA1rPBwvVDxrnCW','uhjVAMvJDcbMAwXLCYbJAgfUz2vKigfMDgvYihbYzxzPzxCUifjLCxvLC3qGysbUzxCGy29UzMLYBwf0Aw9UihrVA2vUlG','C3rLCa','Ag9ZDc1VyNnLCNzLza','ls1UBY1NCgCTC2LNBG','yxr0zw1WDf9SAw1PDa','BwfUywDLCG','DMvYAwz5lxnJB3bL','C3rHCNq','CxvHBgL0EvbSyw4','Aw5PDgLHBgL6zwq','zgv2zwXVCg1LBNrnB2rL','BMv3u3rLCef0DgvTChrgBg9VCG','zM9YBwf0u3rHDhvZ','rgLHz25VC2uGyw5KihjLChjVzhvJzq','cLj1BJOG','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzdSGBM8GBMv3ihj1BIb3yxmGy3jLyxrLzc4','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','rMX1DhrLCJOGC2vSzwn0ihrOzsb0yxnRlxnWzwnPzMLJiezSDxr0zxiGC2TPBgWU','DMvYC2LVBG','Aw1WCM92zs1JB2rLyMfZzs1HCMnOAxrLy3r1CMu','v09ss1rsruvFqKftrv9cuKfoq0HFtuLtu0LorW','v29YA3rYzwuGy2XLyw51CcbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','uvvbteLuwv9qtefox0HjtLq','BM9FChjVz3jLC3m','DgfYz2v0vMvYC2LVBG','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','z2vUzxjHDgvsDw5jza','y3jLyxrPB24','CgvYC2LZDa','CMv2lwXPC3q','tM8GBwfUywDLzcb3B3jRDhjLzsbPCYbHDMfPBgfIBguGzM9YignSzwfUDxaU','su5wquXjrf9qsvbfteLorq','vMvYAwzPy2f0Aw9Uig11C3qGC3rVCcbIzwzVCMuGCMvSzwfZzs4','BgLZDfj1BNm','y2HLy2Tjza','rxHPC3rPBMCGCNvUigLZihrLCM1PBMfSig9YigjLBg9Uz3mGDg8Gyw5VDgHLCIbJB29YzgLUyxrVCI4','uNvUigrVzxmGBM90ihvZzsbHig1HBMfNzwqGD29YA3rYzwuU','DgfYz2v0rgLNzxn0','CMvTB3zL','twLNCMf0zwqGzNjVBsaXlNGGDgfZAYbZDgf0zq','sevbra','CMvHzen1CNjLBNq','q2fUBM90ignHBgn1Bgf0zsbhAxqGyM9VDhn0CMfWihbYzxzPzxCU','lI4Vy29Yzs9OB29RlwXLyxnL','AxnbyNnVBhv0zq','CMvSyxrPDMu','ihrHC2SOCYKGDhjHy2TLzc4','ChjKlwDLBG','sw50zw50ig93BMvYC2HPCcbVCIbJDxjYzw50ihDVCMTZCgfJzsbJyw5UB3qGyMuGChjVDMvUlG','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','D29YA3rYzwu','Aw5PDgLHBgL6zq','CgLUtgvNywn5rgvMAw5PDgLVBG','lI4Vy29Yzs9NAxqTy29UDgv4Da','CMvZCg9UC2u','ls1Szwz0lxjPz2H0','u3LUDgHLC2L6zsbquKq','uNvUigLZia','yxzHAwXHyMXLqwn0Aw9UCW','qw5VDgHLCIbYDw4GAxmGy3vYCMvUDdSGCMvJB3zLCNKGy2fUBM90ihjLCgXHy2uGAxrZigjPBMrPBMCU','DgvZDa','DhjPBq','yxr0zw1WDeLKpsi','uLvox1nusuXmx0fdveLwrq','Aw50zw50lwnVBxbSzxrL','CNvUDgLTzs11CgDYywrL','DxbNCMfKzs1SAw5LywDLlMPZB24','C3rHCNrLzef0','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','mtyYmZi0zgHdANrV','ywrK','BMf0AxzLlxDVCMT0CMvL','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','Aw52ywXPza','D29YA2vYu3rHDhvZ','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','DxbKyxrL','vefts19btfjfqurzx0fdveLwrq','yMfZzvjLzG','su5wquXjrf9xt1jlrKXpv19quK9gsuXf','uKvrvuLsrurFu0TjteXFtuLtu0LorW','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','CMvXDwLYzwq','su5wquXjrf9svu5Fsu5qvvq','vxnLignVBxbHy3qSihn0yw5KyxjKig9YigHPz2GTCMLZAY4','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','v09ss1rsruvFvu5nrvjhruq','C3vNz2vZDgvKx3bPCgvSAw5L','ls12zxjPzNK','vgHLigv4ywn0igfJDg9YihjLC2vYDMf0Aw9UigLZig5VigXVBMDLCIbHy3rPDMuU','D29YA3rYzwuG','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','BwvTB3j5x2fJDgLVBG','ChjVzhvJDfrHCMDLDa','y2HLy2Tjzhm','z3jPBgWTBwu','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','y2fUy2vSBgvKqxq','vgHPCYbYDw4Gy2fUBM90igjLignOyw5NzwqGDw50AwWGAxrZignVBNrYywn0igLZihzLCMLMAwvKlG','yxb0lW','q3jLyxrLihrYywnRAw5NigLZC3vLCW','ueLqruXjtKvFrevgsu5jveLptLm','B3bLBG','y3jLyxrPBMC','zNn5BMntEw5J','DgfYz2v0ig11C3qGyMuGCNvUig9YignYzwf0Aw9UlG','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','qwn0AxzLihbPCgvSAw5LCYbJyw5UB3qGyMuGBwLNCMf0zwqGzhvYAw5NieDPDcbPBML0AwfSAxPHDgLVBI4','C3rHDfn5BMm','AxnjBNrLz2vY','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','C2fTzvDVCMTZCgfJzq','CNvUswq','CMvJB3zLCNKTAw5ZCgvJDgLVBG','zgLMzG','mteZnZC4mJbbzevnq0S','qMfZzsbJAgvJA291DcbTDxn0igjLignSzwfUigjLzM9YzsbJCMvHDgLUzYbHihDVCMT0CMvLlG','CNvUDgLTzvbPBG','BwfYA0f0DgvTChrtDgfYDgvK','ueLqruXjtKvFrevgsu5jveLptLnFvJm','CMvZB2X2zvDVCMTZCgfJzq','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGD29YA3rYzwuGy2XLyw51Cc4','CNvU','ks4Gu3rHCNqGysbUzxCGCNvUihDPDgGGCgLWzwXPBMvFC3rHCNqGD2L0Ag91DcbYzwnVDMvYuNvUswqU','Aw50zw50lxDVCMTZCgfJzs13CML0zq','DMvYC2LVBNm','DMfSAwrHDgvxB3jRC3bHy2u','zgLHz25VC2u','yNjHBMnOrgvSzxrLza','lM1Pz3jHDgLVBNm','v29YA3rYzwuGCgf0AcbHBhjLywr5igv4Axn0CZOG','lMDPDgLNBM9Yzq','ywnJzxb0yw5JzunYAxrLCMLH','BMv4Df9ZDgvW','Aw5PDgLHBgL6zuDPDa','zxjYB3i','C25HChnOB3qTBM90lxjLzNjLC2HLza','BwvZC2fNzq','yMXVy2TLza','Cg9SAwn5vMvYC2LVBG','D3jPDgvtDgf0zq','lNrTCa','zMLSzxm','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','uLvox0Lex1jfuvvjuKve','DxbKyxrLzef0','CMvXDwvZDgvKv29YA3nWywnL','y29UDhjHy3q','q2fSBcbWAxbLBgLUzv9ZDgf0DxmODgfZAYWGCNvUswqPigzVCIbMDwXSihj1BIbKzxrHAwXZigfUzcbOAxn0B3j5lIbdywXSihbPCgvSAw5Lx3n0yxr1CYGPigzVCIbHBgWGDhjHy2TLzcb0yxnRCYWGzgLHz25VC3rPy3mGyw5KihvUzMLUAxnOzwqGy3jLyxrPB25ZlG','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5Lig11Dgf0Aw9UCY4','u3rLCcbJB21WBgv0zwq6ia','zMvHDhvYzq','ywnXDwLYzuXVy2S','CMvJB3zLCG','iIb3yxmGBM90igzVDw5KlG','BwLNCMf0zuXLz2fJEvn0yxrLCW','cLbPCgvSAw5LoIa','D29YA0L0zw1jza','yMfZzw5HBwu','ueLqruXjtKvFu1rbvfvtx1voqvzbsuXbqKXf','y3jPDgvYAwe','BwTKAxjtEw5J','v09ss1rsruvFuKvnt1zfx0zbsuXfra','lI4Vy29Yzs9ZzxnZAw9U','v09ss1rsruvFtK9ux01btKfhruq','ChjLDMLVDxnsDw4','vgHPCYbOAxn0B3jPy2fSihj1BIbPCYbYzwfKywjSzsbIDxqGy2fUBM90igjLihjLyM91BMqGzM9Yig11Dgf0Aw9UlG','sg90zML4','y29UDgLUDwu','BgvNywn5u3rHDgvgAwXLugf0Aa','CMvKDwnL','CMvZDw1L','C291CMnL','v09ss1rsruvFqKftrv9nsvntsu5h','Aw5JBhvKzxm','uMvHzcaUywDLBNrZl3nRAwXSCY8','BgvKz2vYlxDYAxrL','y3jLyxrLsgfZAa','BM9qCM9NCMvZCW','CgfYC2u','u2vZC2LVBLj1BNrPBwu','CgvUzgLUzW','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','vefts19srvfvsvjfra','q3jLyxrPB24GywXYzwfKEsbOyxmGCNvUihn0yxrLig9YigeGy3vYCMvUDcbIAw5KAw5NoYbPDcbJyw5UB3qGyMuGywjHBMrVBMvKlG','BgvNywn5lxn1Bw1HCNK','CMvWywLYuNvU','r0Lux0LosvrFrKfjteve','D29YA3nWywnLugf0Aa','lMfNlwTPDc13B3jRDhjLzxm','C2nOzw1HvMvYC2LVBG','BwfPBG','C2TPBgXZ','C2v0q3vYCMvUDa','mJu0mJG1nw1lsxjrDa','yM9VBgvHBG','zg9TywLUx3nRAwXSCW','qundrvbuqu5drv9btfjfqurzx0fdveLwrq','tgvNywn5ihn0yxrLigLTCg9YDgvK','C3rHDguUANnVBG','CgLWzwXPBMuTC3rHDguUANnVBG','DgfZA0rPCG','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','yxrVBwLJv3jPDgu','y3vYCMvUDa','yM9VDhn0CMfW','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','uMvZzxqGBxvZDcb1C2uGDgHLihjLy29YzgvKignVB3jKAw5HDg9YihnLC3nPB24U','y2XLyw51CfDVCMTZCgfJzq','Aw5ZDgfSBgvKuNvUDgLTzvjVB3q','lI4VlI4VCgfJA2fNzs5QC29U','DgfZAW','lI4Vy29Yzs9ZDg9YywDLlxjLDhj5','q1jfqvrjt05FquXsrufewv9srvnptfzfra','vgHPCYbJCMvHDgLVBIbPBNrLBNqGAgfZigfSCMvHzhKGyMvLBIbYzxnVBhzLzc4GvxnLihbPCgvSAw5Lx3vZzsbMB3iGyw4GzxHPC3rPBMCGCNvUlG','CgfZC2vK','CMvWB3j0CW','CgLWzwXPBMu','y3jLyxrLv29YA3rYzwu','zMLSzq','DMvYAwzPzwq','y2HLy2TZ','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','CMvMCY9OzwfKCY8','BMv4DefJDgLVBG','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','BgvKz2vYrMLSzq','CMvWBgf5','C2TPBgXFzgLYzwn0AxzL','D29YA3nWywnLlxjLywr5','CMvTB3zLzef0','zxzLBNrZlMPZB25S','CNvUDgLTzvb1yMXPy0TLEq','yxv0BW','q1jfqvrjt05FuLvox0vysvnuuW','ChjVzhvJDeLTCgfJDa','v29YA3nWywnLoIa','B3bLBLn5BMm','CMvHBhbHDgHtEw5J','Aw5OzxjPDgvK','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','C3rHDgu','y29UzMLN','rxHWzwn0zwqGC3rLCcaI','C3rHBgu','yxjNCW','ChjVAMvJDfbHDgG','u0fwrsbHCMnOAxrLy3r1CMuGzgvJAxnPB25ZigfUzcbMAw5KAw5NCYb3AxrOihjLBwvTyMvYlG','iIWGCMvJzwL2zwqGiG','zxHWzwn0zwrFCgf0Aa','AxnbCNjHEq','C3rHDhvZlwLUC3bLy3rPB24','CMvJB3jKrM9YzwLNBLj1BG','CMvXDwLYzwrtA2LSBevYCM9Y','y29UzMLYBwvK','zw50CMLLCW','DxnLCI5LBwfPBa','y29UzMLYBwf0Aw9Uvg9Rzw4','y2XVC2vtEw5J','zMLUzgLUz3m','mZmWmJy4EernCxnj','Aw5PDc5KzwzHDwX0qNjHBMnO','zgLYzwn0B3j5','CMvSzwfZzu5HDgL2zvDVCMTLCKzVCLvWz3jHzgu','C3rYAw5NAwz5','y29TCgXLDgvK','D29YA3nWywnLigzPzwXKCYbOyxzLigLUDMfSAwqGDhLWzxmU','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','CMvNCMvZC2LVBG','CNvUDgLTzvjVB3q','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','vKvssuzjq0fusu9ox0Lox0zmsuDiva','CgvUzgLUz0nYzwf0Aw9UCW','CMvHzhK','C3vNz2vZDfrHC2S','y2HLy2TWB2LUDc5QC29U','CMvJB3jKvMvYAwzPy2f0Aw9U','r0Lux0Leru5usvrzx1jfuvvjuKve','CNvUswqGAxmGCMvXDwLYzwqU','BMfTzq','CMvHzePZB24','qsbTyxrJAgLUzYb1BNjLC29SDMvKignYzwf0Aw9UigLUDgvUDcbPCYbYzxf1AxjLzc4','BwvKAxvT','Dw52zxjPzMLLza','Dw5HDMfPBgfIBgu','AxnmAw5RzwrxB3jRDhjLzq','D29YA2zSB3DqCM9MAwXL','z2v0u3rHDhvZ','ChjVz3jLC3m','mJK0uhziB2Xo','ywjHBMrVBG','ywn0B3jtzxbHCMf0zwq','ls1JB3vUDa','q1jfqvrjt05Fu1vqrvjtrurfra','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','Aw1WBgvTzw50yxrPB24Ty3LJBgu','zNjVEMvU','Bw9Kzq','C3rHDgvsB290','zML4lwfUzc10zxn0','yxj0AwzHy3rqyxrOCW','BwLNCMf0Aw9Uv2fYBMLUz3m','v09ss0vsx1nut1bFvu5dt05gsvjnruq','C2XPy2u','CMvJzwLWDa','CMvHzhKTzM9YlwfJy2vWDgfUy2u','yxr0zw1WDeLK','u2f2zwqGy3jLyxrPB24GAw50zw50igHHCYbHBIbPBNzHBgLKihDVCMTZCgfJzsbVCIbIzwXVBMDZihrVigfUB3rOzxiGChjVAMvJDc4','y29KzxGTCgfYzw50lwnOAwXKlxrYyw5Zy3jPChrZ','uLvox05pvf9gt1vora','su5wquXjrf9xt1jlu1bbq0u','Dg9tDhjPBMC','q3vYCMvUDcbUyxrPDMuGCNvUihDHCYbUB3qGzM91BMqU','C3rYzxnZlxrLC3qTCgXHBG','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','C3rLChm','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlM5HBwuGiLLVDxiGtMfTzsi','q2HLy2TWB2LUDcbZDgf0DxmGBxvZDcbIzsaIy29TCgXLDgvKiI4','y3j5ChrV','BM9YBwfSAxPLuxvHBgL0EvbSyw4','y29TCgf0AwjPBgL0Eq','uNvUignHBMnLBgXLza','CgLWzwXPBMvZ','zgv2zwXVCg1LBNqTC291CMnL','uMvJB25JAwXLihDPDgGGDgHLihjLy29YzgvKignVB3jKAw5HDg9YlG','yNL0zuXLBMD0Aa','D2L0AezPBgvuExbLCW','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','lMfNzw50CW','lIbbDhrLBxb0oIa','ls1IyxjL','yxbWzw5KtgvKz2vY','CMv2Awv3t2jZzxj2zwq','q29UzMLYBsb3B3jRzxiGC2H1DgrVD24GyMvMB3jLihbHDxnPBMCGDgHLihj1BI4','x2v4zwn1DgLVBG','C3rHDgvgAwXL','vgfZAYbTDxn0igjLigeGBg93zxjJyxnLignHBM9UAwnHBcbjrcb1C2LUzYbSzxr0zxjZlcbUDw1IzxjZlcbOExbOzw5ZlcbVCIb1BMrLCNnJB3jLCYaOBwf4idy0ks4','CMfUzg9TqNL0zxm','u3rYzxnZlxrLC3qGCgXHBI9KzxnPz24','zg9JDw1LBNqTyxj0AwzHy3q','v09ss1rsruvFqKftrv9esvjuwq','BgfZDfjLDMLLD2vK','Aw5PDgLHBgL6Aw5N','CNvUBMLUzW','ywnJzxb0yw5JzvjLDMLZAw9U','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','Bg9JA0zPBgu','BgLZDefJDgL2zvbPCgvSAw5LCW','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','qNvNlwzPEcbZAwDUywXZigrLDgvJDgvKlG','DxrMoa','AxneAxjLy3rVCNK','D29YA3nWywnLig11C3qGyMuGyw4GB2jQzwn0ihDPDgGGBw9KzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','ChjLCgfYzu1LCMDL','CMvHC29U','y291BNrZ','v09ss1rsruvFreLsvfK','lI4Vy29Yzs93B3jRzMXVDY1WB2XPy3K','ls1WB3jJzwXHAw4','ChvIBgLJs2v5','qNjHBMnOihbYzxnLCNzLzdOG','su5wquXjrf9dsevds1bpsu5ux1nuqvrvuW','CMvMCMvZAfnUyxbZAg90','uNvUici','C3vTBwfYEq','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','Dg8TAxnZDwvZ','DhjHBNnHy3rPB25jza','y2fUy2vSBgf0Aw9U','C2L6zq','zMX1DhrLCG','zxHWzwn0zwrpDxrJB21L','lI4Vy29Yzs9XDwfSAxr5lwfYDgLMywn0CW','ywnJzxb0yw5Jzq','DMvYAwzPy2f0Aw9Ux2XLDMvS','C3rVCfjLyxnVBG','qwn0B3i6ia','v2vIifvjoIaUywDLBNrZl3nRAwXSCY91As1ZDhLSzs1YDwXLCY9ts0Lmtc5Tza','y3vYCMvUDc5QC29U','C3rHDguTD3jPDgu','DMvYAwzPy2f0Aw9Usw5gBgLNAhq','C3vJy2vZCW','yxbWzw5KrMLSzvn5BMm','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','A2v5CW','BgvUz3rO','D29YA3nWywnLlxjLC29SDxrPB24','Dg8TChjK','AxnhAxrszxbVC2L0B3j5','Dg9mB3DLCKnHC2u','vw5RBM93BIbWAxbLBgLUzsb0ExbLoIa','Ag90zML4','tg9Hzcb0AguGBwf0y2HPBMCGzg9TywLUihnRAwXSigjLzM9YzsbJB2rPBMC6','zMLUza','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','BgvKz2vY','q2fUBM90igLUAxrPywXPEMuGDgvTCg9Yyxj5ieDPDcbPBMrLEc4','igHHCYbLBMrLzcaO','lI4U','Aw1Wywn0','lMfNzw50CY9WAxbLBgLUzxmV','vw5RBM93BIb3B3jRC3bHy2uGBw9KztOG','ls1JywnOzwq','u0vtu0LptL9nsvnnqvrdsa','igLZig91DhnPzguGAxqUieeGCNvUihDYAxrLCYbVBMX5igLUigL0CYb3B3jRC3bHy2u7ig5HBwuGysbWyxrOihjLBgf0AxzLihrVigL0lcbZDwnOigfZigrVy3mVAgfUzg9MzI5Tzc4','uMvSzwfZzsb0AguGB3bLBIbHDhrLBxb0CYbIzwzVCMuGy2fUy2vSBgLUzYb0AguGCNvUoIa','ueLqruXjtKvFu1rbvevFvu5bvKfjtefcteu','rMvHDhvYzsbezxzLBg9WBwvUDa','DMfSAwrHDgvuyxnR','DMvYzgLJDa','y2HLy2TWB2LUDa','ig11C3qGy29UDgfPBIbUB24Tzw1WDhKGC3rYAw5NCY4','BxrPBwvnCW','zxHWB3j0CW','lMnYzwf0Aw9U','y2XVC2vK','CMvHzg9UBhK','iIbPCYbTAxnZAw5NlG','C25HChnOB3q','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','iIaO','lMPZB24','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','zMLSDgvY','l1nlsuXmlM1KigjLzM9YzsbZDgvWici','qNvNiezPEa','zgLNzxn0','yxb0lw1JCc1Hz2vUDa','D2LUmZi','CMvSzwfZzq','Dhj1BMnHDgvK','DxbNCMfKzvbHDxnL','A2LUza','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','Aw50zw50rMLSzq','C3rKzxjY','CMvUyw1Lugf0AwvUDa','C29Tzq','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','sw1WBgvTzw50ihrLC3qTzMLYC3q','D29YA3nWywnL','CMvHzgrPCLn5BMm','se9urKLyx1ndt1bfx1jfuvvjuKve','zw5KC1DPDgG','q1jfqvrjt05FuLvox01ju01bveni','B21PDhrLza','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','nde0mZq0v3r4shLK','r0Lux0fmuKvbrfLFsu5jveLbteLAruq','yxrVBwLJv3jPDgvkC29U','yxnZzxj0Aw9Ulwv2AwrLBMnL','DMfSAwrHDgvsDw5jza','ChjLDMLLD0DPDejVB3rZDhjHCa','CMvJB3zLCNLFy29TBwfUzhm','uMvJB3zLCIbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','AgLNAc1YAxnR','BgLZDfj1BNngCM9TuM9VDa','BgfZDezHAwX1CMu','Cgf1C2vK','ls1Uyw1Llw9UBhK','cK5LEhqGC3rLCdOG','ls13B3jRlxrYzwu','z2L0q29TBw9UrgLY','y2fUy2vSBgvK','CgXHBG','rvbfuK0','u21HBgWGAxnVBgf0zwqGy2HHBMDLihnPz25HBhmGzgv0zwn0zwqU','zxHPC3rZu3LUyW','zw52','lI4Vy29Yzs9YDw4Ty2HLy2TWB2LUDa','AgfZ','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','y3jPDgvYAw9UswrZ','y2HPBgrFChjVy2vZCW','C2LNBMvKlxjLBgvHC2u','C3rHDhvZ','C3rVChbLza','y3DK','nde5nwXOBK9lBq','C2TPBgW','C3bSAxq','lIbszxn1BwuGAxqGD2L0AcbWAxbLBgLUzv91C2uGyw5KihbPCgvSAw5Lx2nOzwnRCg9PBNqOywn0Aw9UpxjLC3vTzsKU','u0TjteWUBwq','uNvUihbHDxnLzcbMB3iGCNvUDgLTzsb1CgDYywrL','zxHLy3v0Aw9U','zgvJB2rLuNvUu3rHDgu','y29TBwL0','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','D29YA3nWywnLignVBNrHAw5ZigfUihvUC3vWCg9YDgvKigzPzwXKoYbZzwXLy3qGDgHLihDVCMTZCgfJzsb0AhjVDwDOihrOzsbnq1aGC2vYDMvYigjPBMrPBMCU','BwLNCMf0zvn0yxrLuM9VDa','u291CMnLihjLDgfPBMvKigf0ia','vgHLihj1BIbJB250CMfJDcbKB2vZig5VDcbWzxjTAxqGCMvJB25JAwXPyxrPB24U','y3jLyxrPB25jBNrLBNrgAwXL','BwLNCMf0zuXLz2fJEvn0yxrL','yNjHBMnO','Aw50zwDYAxr5lw1HBMLMzxn0lMPZB24','Dg9ju09tDhjPBMC','zgLYBMfTzq','B3DUC1j1BG','lIbiAxn0B3j5igfUzcbIDwrNzxrZihjLDgfPBMvKlG','iYbqAxbLBgLUzsbSzwrNzxikcLrHC2S6ia','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlMvTywLSicj5B3vazxHHBxbSzs5JB20I','u3rVChbLzcbUyxrPDMuGD29YA2vYihjLy29Uy2LSzwqGzM9YihvWz3jHzgu','CMv2AxnPB24','zxzLCNK','BwfW','CMvJDxjZAxzL','tw9IAwXLifvjoIaUywDLBNrZl3nRAwXSCY9TB2jPBguTCNvSzxmVu0TjteWUBwq','BgvNywn5lq','Cgf0Aa','BgLZDa','v09ss19jtL9gteLhsfq','zxHLy3v0Aw9Uu3rHDhvZ','ngr1BfPMvW','zgvMAw5PDgLVBG','CgvUzgLUz0nYzwf0Aw9U','CgXHDgzVCM0','y29TCgfJDa','sg90zML4ihnJB3bLigP1C3rPzMLJyxrPB24GBxvZDcbJB250ywLUigf0igXLyxn0ideWignOyxjHy3rLCNmU','Aw5PDa','CMvZB2X2zwq','C3rKB3v0','DgLTzw91Da','Aw1Wywn0rxnJywXHDgLVBG','BgvNywn5lw1Pz3jHDgLVBG','zxzPzgvUy2u','uMvWB3nPDg9YEsbPCYbUB3qGy2XLyw4Gywz0zxiGDgHLigjHC2vSAw5LignVBw1PDc4','ywn0B3jjza','CMv2Awv3','ls1Nzxq','rg9JDw1LBNqGDgHLigzPEa','AM9PBG','lI4Vy29Yzs9LEgvJDxrPB24','CMvWBgfJzq','CMvJzwLWDe9IC2vYDMf0Aw9UCW','BwLZC2LUz1f1ywXPDhLdAgvJA3m','CMvJB3zLCMvK','CMvJB3zLCLj1BKLK','B3bLBKzPBMrPBMDZ','u3vWCg9YDgvKihbVBgLJAwvZigfYzsaXlcaYigfUzcaZlG','u3vWCg9YDgvKihbPCgvSAw5LihzLCNnPB25ZigfYzsaYigfUzcaZlG','y3vYCMvUDezPBgu','Bxv0yxrPB24','AxrLBtO','zMfPBgvK','lI4Vy29Yzs9YDw4TC3rHDguTy29Kzwm','BwfUywDLza','ywjHBMrVBMvK','lI4Vy29Yzs9XDwfSAxr5','C2vW','A2v5','DMvYAwz5q29WAwvKvhjLzq','C3rHCNrZv2L0Aa','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','su5wquXjrf9rvufmsvrzx1bmqu4','iIbOyxmGCNvUia','r2L0igLUAxrPywXPEMf0Aw9UigfUzcbHigjHC2vSAw5LignVBw1PDcbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','BMv4Da','ugLWzwXPBMuGC3rHDguGy29WEsbLBNrYAwvZig1PC21HDgnOoIa','v09ss1rsruvFuefusf9fweLtvfm','r0Lux0Lorevyx0zjteu','D2L0AeXVy2S','C3rYAw5N','D2LUzg93C0HPzgu','D2fPDa','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','r0Lux1bsrvzjrvDFrKfjteve','y29WEuzPBgvtEw5J','uLvox1jfq09wrvjzx0zbsuXfra','zNjVBuvUDhjPzxm','y2fUy2vSrM9YvxbNCMfKzq','zM9Yy2u','Cg9W','yMfZzujYyw5JAa','vhjHBNnHy3rPB246ia','uNvUignYzwf0Aw9UihDHCYbPBNrLCNj1ChrLzdSGAxrZihDVCMTZCgfJzsbHBMqGAw50zw50ihDLCMuGChjLC2vYDMvKlG','C29YDa','DgrK','tevhqunzx1nuqvrfx0LovKfmsuq','iIWGBM90ici','r0Lux0LosvrFq09orKLstufusu9ox1jfuvvjuKve','su5wquXjrf9xt1jlu1bbq0vFtu9erq','uLvox01ju01bveni','z2L0','ndH0C3fRs0S','zw5JB2rPBMC','yxr0zw1WDhm','CgXHBM5LzeL0zw1Z','Aw1WBgvTzw50','yxnZAwDU','CNvUrgLY','CMvZB2X2zq','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','Dw5SAw5Ru3LUyW','C2vZC2LVBKLK','C3rHBMrHCMq','ChvZAa','yxj0AwzHy3rszxzPzxC','Bw9KzwXszwnLAxb0','Dg1WzgLY','ls1PCY1HBMnLC3rVCG','uMvXDwLYzwqGCgLWzwXPBMuGC2TPBgWGiG','C3LZy2fSBa','q0Xfqu5vuf9dt05gsvjnqvrjt05FuKvrvuLsruq','BM93','DgrKlwXVB3a','CMvZzxq','y29Kzq','Cgf1C2vszwfZB24','vgfZAYaI','B3jPz2LUv29YA3nWywnL','CxvHBgL0EvzLCNnPB24','ywn0AxzL','CMvHzezPBgvtEw5J'];_0x8e57=function(){return _0x5ae487;};return _0x8e57();}_0x12fef2['id']=_0x4acfa7(0x2fd),_0x12fef2['name']=_0x4acfa7(0xe1),_0x12fef2[_0x4acfa7(0xae)]=_0x4acfa7(0x1a5);const _0x127b27={};_0x127b27['id']=_0x4acfa7(0x2e8),_0x127b27['name']=_0x4acfa7(0x1db),_0x127b27[_0x4acfa7(0xae)]='task-breakdown';const _0x39b6e9={};_0x39b6e9['id']=_0x4acfa7(0x110),_0x39b6e9[_0x4acfa7(0x290)]=_0x4acfa7(0x16f),_0x39b6e9[_0x4acfa7(0xae)]='tdd-loop';const _0x31ab12={};_0x31ab12[_0x4acfa7(0x290)]=_0x4acfa7(0x77),_0x31ab12['steps']=[_0xfe4224,_0x3b9ec4,_0x12fef2,_0x127b27,_0x39b6e9];const _0x3c2ec9={};_0x3c2ec9['id']='verify-scope',_0x3c2ec9[_0x4acfa7(0x290)]=_0x4acfa7(0x18f),_0x3c2ec9[_0x4acfa7(0xae)]=null;const _0x4aaaeb={};_0x4aaaeb['id']='fix-and-test',_0x4aaaeb['name']=_0x4acfa7(0x1e1),_0x4aaaeb[_0x4acfa7(0xae)]=_0x4acfa7(0x12c);const _0x5f3225={};_0x5f3225[_0x4acfa7(0x290)]=_0x4acfa7(0x21e),_0x5f3225[_0x4acfa7(0x2b5)]=[_0x3c2ec9,_0x4aaaeb];const _0x124322={};_0x124322[_0x4acfa7(0x20e)]=_0x418a87,_0x124322[_0x4acfa7(0x144)]=_0x31ab12,_0x124322[_0x4acfa7(0x301)]=_0x5f3225;const PIPELINE_DEFINITIONS=_0x124322,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(_0x522fc7,_0x84d47a,_0x8d4c99={}){const _0x373939={'success':![],'code':_0x522fc7,'error':_0x84d47a,..._0x8d4c99};return _0x373939;}function publicItem(_0x40c855){const _0x11e5ec=_0x4acfa7;if(!_0x40c855?.[_0x11e5ec(0x2cf)]?.[_0x11e5ec(0x205)]&&!_0x40c855?.[_0x11e5ec(0x2cf)]?.['changed'])return _0x40c855;const {files:_0x39bb18,changed:_0x3e173f,..._0x49dfee}=_0x40c855[_0x11e5ec(0x2cf)];return{..._0x40c855,'lastReviewed':{..._0x49dfee,..._0x39bb18?{'fileCount':Object[_0x11e5ec(0x2fa)](_0x39bb18)['length']}:{},..._0x3e173f?{'changedFromBaseline':Object[_0x11e5ec(0x2fa)](_0x3e173f)[_0x11e5ec(0x2fb)]}:{}}};}function creationFailure(_0x22628a,_0x543d13){const _0x54e03c=_0x4acfa7;return{'phase':_0x543d13,'code':typeof _0x22628a[_0x54e03c(0x12e)]===_0x54e03c(0x101)?_0x22628a[_0x54e03c(0x12e)]:'UNKNOWN','syscall':typeof _0x22628a[_0x54e03c(0x129)]===_0x54e03c(0x101)?_0x22628a[_0x54e03c(0x129)]:null,'path':typeof _0x22628a['path']===_0x54e03c(0x101)?_0x22628a[_0x54e03c(0xcc)]:null,'message':typeof _0x22628a[_0x54e03c(0x200)]==='string'?_0x22628a[_0x54e03c(0x200)][_0x54e03c(0x2a9)](0x0,0xf0):null};}function _0xa329(_0x24f8f7,_0x2c99bd){_0x24f8f7=_0x24f8f7-0x6e;const _0x8e573=_0x8e57();let _0xa329aa=_0x8e573[_0x24f8f7];if(_0xa329['IIamkH']===undefined){var _0x177e39=function(_0x57c0ff){const _0x55fb34='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x28bd5d='',_0x20057e='';for(let _0x5aae71=0x0,_0x497979,_0x3a8d6b,_0x326830=0x0;_0x3a8d6b=_0x57c0ff['charAt'](_0x326830++);~_0x3a8d6b&&(_0x497979=_0x5aae71%0x4?_0x497979*0x40+_0x3a8d6b:_0x3a8d6b,_0x5aae71++%0x4)?_0x28bd5d+=String['fromCharCode'](0xff&_0x497979>>(-0x2*_0x5aae71&0x6)):0x0){_0x3a8d6b=_0x55fb34['indexOf'](_0x3a8d6b);}for(let _0x418a87=0x0,_0xfe4224=_0x28bd5d['length'];_0x418a87<_0xfe4224;_0x418a87++){_0x20057e+='%'+('00'+_0x28bd5d['charCodeAt'](_0x418a87)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x20057e);};_0xa329['SbVOQX']=_0x177e39,_0xa329['JrZsFl']={},_0xa329['IIamkH']=!![];}const _0x1a430c=_0x8e573[0x0],_0x50bb4c=_0x24f8f7+_0x1a430c,_0x1c85f1=_0xa329['JrZsFl'][_0x50bb4c];return!_0x1c85f1?(_0xa329aa=_0xa329['SbVOQX'](_0xa329aa),_0xa329['JrZsFl'][_0x50bb4c]=_0xa329aa):_0xa329aa=_0x1c85f1,_0xa329aa;}function normalizePath(_0x56d6a5){const _0x1cf09e=_0x4acfa7;try{return fs[_0x1cf09e(0x267)](_0x56d6a5);}catch{return path['resolve'](_0x56d6a5);}}function overlappingScope(_0x503a59=[],_0x1005e5=[],_0x3ace84){const _0x4b55c6=_0x4acfa7;if(!_0x503a59[_0x4b55c6(0x2fb)]||!_0x1005e5[_0x4b55c6(0x2fb)]||[..._0x503a59,..._0x1005e5][_0x4b55c6(0x83)](_0x274718=>/[*?\[\]{}!]/[_0x4b55c6(0x1b3)](_0x274718)))return!![];const _0xee5c2c=_0x11bb23=>{const _0x3236ac=_0x4b55c6,_0x4712b5=normalizePath(path[_0x3236ac(0x11e)](_0x3ace84,_0x11bb23['replaceAll']('\x5c','/')));return process[_0x3236ac(0xd3)]==='win32'?_0x4712b5[_0x3236ac(0x2ff)]():_0x4712b5;};return _0x503a59[_0x4b55c6(0x83)](_0xc1e1d1=>_0x1005e5[_0x4b55c6(0x83)](_0x16f39c=>{const _0xeedc97=_0x4b55c6,_0x4a7b36=_0xee5c2c(_0xc1e1d1),_0x5e173e=_0xee5c2c(_0x16f39c);return _0x4a7b36===_0x5e173e||_0x4a7b36['startsWith'](_0x5e173e+path[_0xeedc97(0xf4)])||_0x5e173e[_0xeedc97(0xf7)](_0x4a7b36+path[_0xeedc97(0xf4)]);}));}function sleep(_0x740b1a){const _0x432ffc=_0x4acfa7;Atomics[_0x432ffc(0x103)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x740b1a);}class PipelineManager{constructor(_0x370797,_0x151488={}){const _0x58a45f=_0x4acfa7;this[_0x58a45f(0x26f)]=normalizePath(_0x370797),this['env']=_0x151488[_0x58a45f(0xa3)]||process.env,this[_0x58a45f(0x286)]=_0x151488[_0x58a45f(0x286)]||process.env.APT_RUNTIME_ROOT||require('../core/runtime-info')[_0x58a45f(0x248)](),this[_0x58a45f(0x261)]=_0x151488[_0x58a45f(0x2e1)]||require('../license/verify')['PRODUCTION_PUBLIC_KEY'],this[_0x58a45f(0x180)]=!fs[_0x58a45f(0xa2)](path[_0x58a45f(0xe2)](__dirname,'..','..',_0x58a45f(0xbe))),this['now']=_0x151488[_0x58a45f(0x12b)]||(()=>new Date()),this[_0x58a45f(0x2cb)]=_0x151488[_0x58a45f(0x2cb)]||crypto['randomBytes'],this[_0x58a45f(0x175)]=_0x151488[_0x58a45f(0x175)]||(Number(process.env.APT_PIPELINE_LOCK_WAIT_MS)>=0x64?Number(process.env.APT_PIPELINE_LOCK_WAIT_MS):0x3a98),this['migrationWarnings']=[],this[_0x58a45f(0xb3)]=new Execution(this),this[_0x58a45f(0x154)]();if(_0x151488['migrate']!==![])this[_0x58a45f(0x212)]();}static[_0x4acfa7(0x28b)](_0x4bf13f){const _0x47c72c=_0x4acfa7;if(typeof _0x4bf13f!==_0x47c72c(0x101))return'';return _0x4bf13f[_0x47c72c(0x2ff)]()[_0x47c72c(0x1b4)]()[_0x47c72c(0xe4)](/[^a-z0-9_-]+/g,'-')['replace'](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')['slice'](0x0,0x40);}static[_0x4acfa7(0x312)](_0x128b29){const _0xc2d0b=_0x4acfa7;if(typeof _0x128b29!==_0xc2d0b(0x101)||!_0x128b29[_0xc2d0b(0x1b4)]())return error(_0xc2d0b(0x22e),_0xc2d0b(0x2c1));if(_0x128b29!==_0x128b29[_0xc2d0b(0x1b4)]()||!TASK_PATTERN[_0xc2d0b(0x1b3)](_0x128b29))return error(_0xc2d0b(0x13d),_0xc2d0b(0x2ca),{'suggested_task':PipelineManager[_0xc2d0b(0x28b)](_0x128b29)});return null;}static[_0x4acfa7(0x91)](_0x2885b9){const _0x51f2b3=_0x4acfa7;if(typeof _0x2885b9!==_0x51f2b3(0x101)||!RUN_PATTERN[_0x51f2b3(0x1b3)](_0x2885b9))return error(_0x51f2b3(0x14d),_0x51f2b3(0x1cc));return null;}static[_0x4acfa7(0x1f5)](_0x1b0775){const _0x1814d7=_0x4acfa7;if(_0x1b0775===undefined)return null;if(!_0x1b0775||typeof _0x1b0775!=='object'||Array['isArray'](_0x1b0775))return error('INVALID_WORKSPACE',_0x1814d7(0x2da));const _0x6c3982=new Set([_0x1814d7(0x2a3),'confirmed','initializeGit',_0x1814d7(0x27a),_0x1814d7(0x1c5)]);if(Object[_0x1814d7(0x2fa)](_0x1b0775)[_0x1814d7(0x83)](_0x4ab1f4=>!_0x6c3982[_0x1814d7(0xa5)](_0x4ab1f4)))return error(_0x1814d7(0x2b0),_0x1814d7(0xb7));if(_0x1b0775[_0x1814d7(0x2a3)]!==undefined&&![_0x1814d7(0x262),_0x1814d7(0x243),_0x1814d7(0x1a9)][_0x1814d7(0x225)](_0x1b0775[_0x1814d7(0x2a3)]))return error('INVALID_WORKSPACE','workspace.mode\x20must\x20be\x20auto,\x20current,\x20or\x20worktree.');if([_0x1814d7(0x277),_0x1814d7(0x1fd)]['some'](_0x229799=>_0x1b0775[_0x229799]!==undefined&&typeof _0x1b0775[_0x229799]!==_0x1814d7(0x23a))||[_0x1814d7(0x27a),_0x1814d7(0x1c5)]['some'](_0x49545a=>_0x1b0775[_0x49545a]!==undefined&&typeof _0x1b0775[_0x49545a]!==_0x1814d7(0x101)))return error(_0x1814d7(0x2b0),_0x1814d7(0x283));return null;}[_0x4acfa7(0x14b)](_0x2da1f4,_0x25618e={}){const _0x3905a2=_0x4acfa7,_0x517992={};_0x517992[_0x3905a2(0xac)]=_0x25618e[_0x3905a2(0xac)]||this[_0x3905a2(0x26f)],_0x517992[_0x3905a2(0xa3)]={...this[_0x3905a2(0xa3)],..._0x25618e[_0x3905a2(0xa3)]||{}},_0x517992[_0x3905a2(0x118)]=_0x3905a2(0x2d8),_0x517992[_0x3905a2(0x102)]=!![],_0x517992['timeout']=_0x25618e[_0x3905a2(0xd9)]||0x7530;const _0x22cde4=spawnSync(_0x3905a2(0x116),_0x2da1f4,_0x517992);return{'ok':!_0x22cde4[_0x3905a2(0x1fe)]&&_0x22cde4[_0x3905a2(0xaa)]===0x0,'status':_0x22cde4[_0x3905a2(0xaa)],'stdout':(_0x22cde4[_0x3905a2(0xd8)]||'')['trim'](),'stderr':(_0x22cde4[_0x3905a2(0x81)]||_0x22cde4['error']?.[_0x3905a2(0x200)]||'')[_0x3905a2(0x1b4)]()};}[_0x4acfa7(0x154)](){const _0x169d6a=_0x4acfa7,_0x3a51f2=require(_0x169d6a(0x1ac))['repositoryContext'](this[_0x169d6a(0x26f)],this[_0x169d6a(0xa3)]);this[_0x169d6a(0x2fe)]=_0x3a51f2[_0x169d6a(0x2fe)],this[_0x169d6a(0x9d)]=_0x3a51f2[_0x169d6a(0x9d)]?normalizePath(_0x3a51f2[_0x169d6a(0x9d)]):null,this[_0x169d6a(0x2a4)]=this[_0x169d6a(0x9d)]?path[_0x169d6a(0xe2)](this['gitCommonDir'],_0x169d6a(0x79),'pipelines'):path[_0x169d6a(0xe2)](this[_0x169d6a(0x26f)],'.agents','pipelines'),this[_0x169d6a(0x220)]=path['join'](this[_0x169d6a(0x26f)],'.agents',_0x169d6a(0x23f));}['generateRunId'](){const _0x106c66=_0x4acfa7,_0x20e032=this[_0x106c66(0x12b)]()[_0x106c66(0xbf)]()[_0x106c66(0xe4)](/[-:]/g,'')[_0x106c66(0xe4)](/\.\d{3}/,'');return _0x20e032+'-'+this['randomBytes'](0x4)[_0x106c66(0x2b1)](_0x106c66(0x16e));}['taskDir'](_0x126010){const _0x1f9cf3=_0x4acfa7;return path[_0x1f9cf3(0xe2)](this[_0x1f9cf3(0x2a4)],_0x126010);}[_0x4acfa7(0x11d)](_0x186ef7,_0x4ae6a2){const _0x575b76=_0x4acfa7;return path[_0x575b76(0xe2)](this[_0x575b76(0x240)](_0x186ef7),'runs',_0x4ae6a2);}[_0x4acfa7(0xec)](_0x5f03de){const _0x7451dd=_0x4acfa7;return path[_0x7451dd(0xe2)](this['taskDir'](_0x5f03de),_0x7451dd(0x2f4));}[_0x4acfa7(0x2c9)](_0x5b38d9,_0x40a487){const _0x550d76=_0x4acfa7;return path[_0x550d76(0xe2)](this['runDir'](_0x5b38d9,_0x40a487),_0x550d76(0x23e));}[_0x4acfa7(0x25b)](_0x36647c,_0xf4b28f){const _0x53c3cf=_0x4acfa7;return path[_0x53c3cf(0xe2)](this[_0x53c3cf(0x11d)](_0x36647c,_0xf4b28f),_0x53c3cf(0x141));}[_0x4acfa7(0x242)](_0x359084,_0x52e5fc){const _0x508ce6=_0x4acfa7,_0x5464c5={};_0x5464c5[_0x508ce6(0xc9)]=!![],fs[_0x508ce6(0x218)](path['dirname'](_0x359084),_0x5464c5);const _0x23ce62=_0x359084+'.'+process['pid']+'.'+this[_0x508ce6(0x2cb)](0x4)['toString'](_0x508ce6(0x16e))+_0x508ce6(0x204),_0x2842ac=fs[_0x508ce6(0x266)](_0x23ce62,'wx');try{fs['writeFileSync'](_0x2842ac,_0x52e5fc,_0x508ce6(0x2d8)),fs[_0x508ce6(0x1df)](_0x2842ac);}finally{fs[_0x508ce6(0x27b)](_0x2842ac);}try{require(_0x508ce6(0x24b))[_0x508ce6(0x82)](_0x23ce62,_0x359084);}catch(_0x1d619a){try{fs[_0x508ce6(0x120)](_0x23ce62);}catch{}throw _0x1d619a;}}[_0x4acfa7(0x8f)](_0x577f27,_0x36d3e3){const _0x44a90e=_0x4acfa7;this[_0x44a90e(0x242)](_0x577f27,JSON['stringify'](_0x36d3e3,null,0x2)+'\x0a');}['lockFile'](_0x5d9e50){const _0x1b2abe=_0x4acfa7;return path[_0x1b2abe(0xe2)](this[_0x1b2abe(0x2a4)],'.locks',_0x5d9e50+'.lock');}['acquireLock'](_0x1763e1){const _0x14bf43=_0x4acfa7,_0x3c5392=this[_0x14bf43(0x2d4)](_0x1763e1),_0x3c17f2={};_0x3c17f2['recursive']=!![],fs[_0x14bf43(0x218)](path[_0x14bf43(0xc0)](_0x3c5392),_0x3c17f2);const _0x3bc6c7=Date[_0x14bf43(0x12b)](),_0x479fd8=require(_0x14bf43(0x1a1))['waitBudget'](this[_0x14bf43(0x175)]);while(Date['now']()-_0x3bc6c7<=_0x479fd8){const _0x214629=acquireRuntimeLock(_0x3c5392);if(_0x214629)return _0x214629;sleep(0x14);}const _0x14ae04={};_0x14ae04[_0x14bf43(0x12e)]=_0x14bf43(0x140);throw Object[_0x14bf43(0x11c)](new Error(_0x14bf43(0x84)+_0x1763e1+'\x22:\x20another\x20APT\x20call\x20is\x20changing\x20it.\x20Call\x20again\x20in\x20a\x20moment;\x20nothing\x20was\x20changed.'),_0x14ae04);}['withLock'](_0x6b8c49,_0x42e4ac){const _0x23eb42=_0x4acfa7;let _0x42df26;try{return _0x42df26=this[_0x23eb42(0x20f)](_0x6b8c49),_0x42e4ac();}catch(_0x52f43e){if(_0x52f43e[_0x23eb42(0x12e)]===_0x23eb42(0x140))return error(_0x52f43e[_0x23eb42(0x12e)],_0x52f43e[_0x23eb42(0x200)]);throw _0x52f43e;}finally{if(_0x42df26)_0x42df26();}}['hasLegacyState'](){const _0x5ca9ce=_0x4acfa7;if(fs[_0x5ca9ce(0xa2)](this[_0x5ca9ce(0x220)]))return!![];const _0x2b1914=new Set([path['join'](this['projectPath'],_0x5ca9ce(0x2c2),_0x5ca9ce(0x2bc)),this[_0x5ca9ce(0x2a4)]]);for(const _0x269522 of _0x2b1914){if(!fs[_0x5ca9ce(0xa2)](_0x269522))continue;const _0xfa0389={};_0xfa0389[_0x5ca9ce(0x2c0)]=!![];if(fs[_0x5ca9ce(0x87)](_0x269522,_0xfa0389)[_0x5ca9ce(0x83)](_0x44d815=>_0x44d815[_0x5ca9ce(0x2d9)]()&&!_0x44d815[_0x5ca9ce(0x290)]['startsWith']('.')&&fs['existsSync'](path['join'](_0x269522,_0x44d815[_0x5ca9ce(0x290)],_0x5ca9ce(0x23e)))))return!![];}return![];}[_0x4acfa7(0x212)](){const _0x4f3a2e=_0x4acfa7;if(!this[_0x4f3a2e(0x15e)]())return;const _0x2ef1f7=this[_0x4f3a2e(0x20f)](_0x4f3a2e(0xdb));try{this[_0x4f3a2e(0xbc)](),this[_0x4f3a2e(0xb6)]();}finally{_0x2ef1f7();}}[_0x4acfa7(0x291)](_0x3c5ed1){const _0x4fd795=_0x4acfa7;try{return JSON['parse'](fs[_0x4fd795(0x134)](_0x3c5ed1,'utf8'));}catch(_0x129945){if(_0x129945[_0x4fd795(0x12e)]!=='ENOENT'&&!(_0x129945 instanceof SyntaxError))throw _0x129945;return null;}}['readCurrent'](_0xa08234){const _0x3549d7=_0x4acfa7,_0xcb10cc=this[_0x3549d7(0x291)](this[_0x3549d7(0xec)](_0xa08234));if(!_0xcb10cc?.[_0x3549d7(0x1e7)])return null;return this['readRun'](_0xa08234,_0xcb10cc['runId']);}[_0x4acfa7(0x152)](_0x4abee6,_0x31658f){const _0x4ebe55=_0x4acfa7,_0x2861af=path['join'](this[_0x4ebe55(0x11d)](_0x4abee6,_0x31658f),_0x4ebe55(0x260)),_0x5764a5={};_0x5764a5[_0x4ebe55(0x24a)]=_0x4abee6,_0x5764a5[_0x4ebe55(0x1e7)]=_0x31658f;const _0x225b6a=require(_0x4ebe55(0xa4))['readCheckpoint'](_0x2861af,_0x5764a5);if(_0x225b6a)return require('../core/run-state-codec')[_0x4ebe55(0xb4)](_0x225b6a,this[_0x4ebe55(0x11d)](_0x4abee6,_0x31658f));return this[_0x4ebe55(0xb3)][_0x4ebe55(0x210)](_0x4abee6,_0x31658f,this[_0x4ebe55(0x291)](this[_0x4ebe55(0x2c9)](_0x4abee6,_0x31658f)));}['contract'](_0x37997b,_0x136d76={}){const _0x27b244=_0x4acfa7,_0x269615={};_0x269615[_0x27b244(0xed)]='blocked',_0x269615[_0x27b244(0x12e)]=_0x27b244(0x258);if(!this['ownsRun'](_0x37997b))return _0x269615;return inspectRunContract(_0x37997b,{'runtimeRoot':this[_0x27b244(0x286)],'publicKey':this[_0x27b244(0x261)],'developmentMode':this[_0x27b244(0x180)],'legacyDefinitions':PIPELINE_DEFINITIONS,'runDir':this[_0x27b244(0x11d)](_0x37997b[_0x27b244(0x24a)],_0x37997b[_0x27b244(0x1e7)]),..._0x136d76});}[_0x4acfa7(0xc1)](_0x43ed80){const _0x199ca2=_0x4acfa7;return[_0x43ed80?.[_0x199ca2(0x131)],_0x43ed80?.[_0x199ca2(0x86)]?.['path']]['filter'](Boolean)[_0x199ca2(0x83)](_0x42525a=>{const _0x4bd14a=_0x199ca2;try{return require(_0x4bd14a(0x1bf))[_0x4bd14a(0x1e6)](_0x42525a,this[_0x4bd14a(0x26f)]);}catch{return![];}});}['recordForeignRun'](_0x231cfc){const _0x846d16=_0x4acfa7,_0x1be55f={};_0x1be55f[_0x846d16(0x12e)]='FOREIGN_WORKSPACE_STATE',_0x1be55f['task']=_0x231cfc[_0x846d16(0x24a)],_0x1be55f[_0x846d16(0x1e7)]=_0x231cfc[_0x846d16(0x1e7)];const _0x17c741=_0x1be55f;this[_0x846d16(0x1c8)]||=[];if(!this[_0x846d16(0x1c8)][_0x846d16(0x83)](_0x1cab47=>_0x1cab47[_0x846d16(0x24a)]===_0x231cfc[_0x846d16(0x24a)]&&_0x1cab47['runId']===_0x231cfc[_0x846d16(0x1e7)]))this[_0x846d16(0x1c8)][_0x846d16(0x123)](_0x17c741);}[_0x4acfa7(0x1ab)](_0x3db0d8){const _0x246efc=_0x4acfa7;_0x3db0d8[_0x246efc(0xd1)]=JSON[_0x246efc(0x22a)](JSON[_0x246efc(0x281)](PIPELINE_DEFINITIONS[_0x3db0d8[_0x246efc(0x250)]]));const _0x3579b3=path[_0x246efc(0xe2)](__dirname,'..','..','integrity-manifest.json'),_0x877b72=fs[_0x246efc(0xa2)](_0x3579b3);_0x3db0d8[_0x246efc(0x1ec)]={'source':_0x877b72?_0x246efc(0xa9):_0x246efc(0x2bd),'version':require(_0x246efc(0x249))['version'],'digest':_0x877b72?crypto[_0x246efc(0x228)]('sha256')[_0x246efc(0x1c3)](JSON[_0x246efc(0x281)](JSON['parse'](fs[_0x246efc(0x134)](_0x3579b3,_0x246efc(0x2d8)))))['digest'](_0x246efc(0x16e)):null,'definitionHash':crypto['createHash']('sha256')[_0x246efc(0x1c3)](JSON['stringify'](_0x3db0d8[_0x246efc(0xd1)]))[_0x246efc(0x78)](_0x246efc(0x16e))};}[_0x4acfa7(0x231)](_0x2813f2,_0x506627){const _0x658910=_0x4acfa7;return this[_0x658910(0x100)](_0x2813f2,()=>{const _0x51dd61=_0x658910,_0x2aa531=this['readRun'](_0x2813f2,_0x506627);return _0x2aa531?.['schemaVersion']===0x3&&this[_0x51dd61(0x20a)](_0x2aa531)[_0x51dd61(0xed)]!==_0x51dd61(0x201)&&(this[_0x51dd61(0x8f)](this['stateFile'](_0x2813f2,_0x506627),_0x2aa531),this['execution']['ledger'](_0x2aa531)),_0x2aa531;});}[_0x4acfa7(0xbb)](_0x5dd8ea,_0x52570f){const _0x56d73f=_0x4acfa7;return path[_0x56d73f(0xe2)](this[_0x56d73f(0x2a4)],_0x56d73f(0x318),_0x5dd8ea,_0x52570f+_0x56d73f(0x73));}[_0x4acfa7(0xd2)](_0x2276a2){const _0x29e2ac=_0x4acfa7,_0x28e729=path[_0x29e2ac(0xe2)](this[_0x29e2ac(0x2a4)],_0x29e2ac(0x318),_0x2276a2);if(!fs[_0x29e2ac(0xa2)](_0x28e729))return null;for(const _0x29621c of fs[_0x29e2ac(0x87)](_0x28e729)){const _0x35730c=this[_0x29e2ac(0x291)](path['join'](_0x28e729,_0x29621c)),_0x42c0be={};_0x42c0be[_0x29e2ac(0xaa)]=_0x29e2ac(0x1c0),_0x42c0be['file']=_0x29621c;if(!_0x35730c)return _0x42c0be;const _0x410b1c={};_0x410b1c[_0x29e2ac(0xaa)]=_0x29e2ac(0x1c0),_0x410b1c[_0x29e2ac(0x252)]=_0x29621c;if(_0x35730c[_0x29e2ac(0x24a)]!==_0x2276a2||PipelineManager['validateRunId'](_0x35730c[_0x29e2ac(0x1e7)]))return _0x410b1c;if(['creating','workspace-ready',_0x29e2ac(0x168)][_0x29e2ac(0x225)](_0x35730c['status'])&&!this[_0x29e2ac(0x152)](_0x2276a2,_0x35730c['runId']))return _0x35730c;}return null;}[_0x4acfa7(0x289)](_0x455eb0){const _0x4f036b=_0x4acfa7,_0x177032=path[_0x4f036b(0xe2)](this['stateRoot'],_0x4f036b(0x318));if(!fs['existsSync'](_0x177032))return[];const _0x153574={};_0x153574['withFileTypes']=!![];const _0x43eb0c=_0x455eb0?[_0x455eb0]:fs['readdirSync'](_0x177032,_0x153574)[_0x4f036b(0x75)](_0x2cb4ee=>_0x2cb4ee['isDirectory']())['map'](_0x565549=>_0x565549[_0x4f036b(0x290)]),_0x5509f0=[];for(const _0x446435 of _0x43eb0c){const _0x105208=path[_0x4f036b(0xe2)](_0x177032,_0x446435);if(!fs['existsSync'](_0x105208))continue;for(const _0x33e2f5 of fs['readdirSync'](_0x105208)[_0x4f036b(0x75)](_0x3ee302=>_0x3ee302['endsWith']('.json'))){const _0x4b25ac=this[_0x4f036b(0x291)](path['join'](_0x105208,_0x33e2f5));if(!_0x4b25ac||_0x4b25ac[_0x4f036b(0x24a)]!==_0x446435||PipelineManager[_0x4f036b(0x91)](_0x4b25ac[_0x4f036b(0x1e7)])||!['creating',_0x4f036b(0x25e),'interrupted']['includes'](_0x4b25ac['status'])||this[_0x4f036b(0x152)](_0x446435,_0x4b25ac[_0x4f036b(0x1e7)]))continue;const _0x54eeef=!PipelineManager[_0x4f036b(0x1f5)](_0x4b25ac[_0x4f036b(0x209)]),_0x12dbbe=_0x4b25ac['workspace']&&!_0x4b25ac[_0x4f036b(0x86)][_0x4f036b(0xf1)]&&typeof _0x4b25ac[_0x4f036b(0x86)][_0x4f036b(0xcc)]===_0x4f036b(0x101)&&normalizePath(_0x4b25ac[_0x4f036b(0x86)][_0x4f036b(0xcc)])===this[_0x4f036b(0x26f)],_0x3ccae3=_0x4b25ac[_0x4f036b(0x131)]===undefined?_0x12dbbe:typeof _0x4b25ac[_0x4f036b(0x131)]===_0x4f036b(0x101)&&normalizePath(_0x4b25ac[_0x4f036b(0x131)])===this[_0x4f036b(0x26f)];_0x5509f0[_0x4f036b(0x123)]({'task':_0x446435,'runId':_0x4b25ac[_0x4f036b(0x1e7)],'status':_0x4b25ac['status'],'originWorkspace':_0x4b25ac[_0x4f036b(0x131)]||null,'requestedWorkspace':_0x4b25ac[_0x4f036b(0x209)]||null,'workspace':_0x4b25ac[_0x4f036b(0x86)]||null,'runtimeVersion':_0x4b25ac['runtimeVersion']||null,'error':_0x4b25ac[_0x4f036b(0x1fe)]||null,'intentFile':path[_0x4f036b(0xe2)](_0x105208,_0x33e2f5),'availableActions':{'resume':_0x54eeef&&_0x3ccae3&&_0x12dbbe,'abandon':_0x54eeef&&_0x3ccae3&&_0x12dbbe&&!this[_0x4f036b(0x19f)](_0x446435)}});}}return _0x5509f0;}[_0x4acfa7(0x135)](_0x20a59f,_0x29ee3b,_0x1e4272){const _0x3468db=_0x4acfa7,_0x37deac=PipelineManager[_0x3468db(0x91)](_0x29ee3b);if(_0x37deac)return _0x37deac;return this[_0x3468db(0x100)](_0x20a59f,()=>{const _0x14f681=_0x3468db,_0x315e85=this[_0x14f681(0xbb)](_0x20a59f,_0x29ee3b),_0x1d18c6=this[_0x14f681(0x291)](_0x315e85);if(!_0x1d18c6||_0x1d18c6['task']!==_0x20a59f||_0x1d18c6[_0x14f681(0x1e7)]!==_0x29ee3b)return error('CREATION_INTENT_REQUIRED',_0x14f681(0x22d));if(![_0x14f681(0x1de),'workspace-ready',_0x14f681(0x168)][_0x14f681(0x225)](_0x1d18c6[_0x14f681(0xaa)])){const _0x4161b2=this[_0x14f681(0x152)](_0x20a59f,_0x29ee3b);return error(_0x14f681(0x24c),_0x4161b2&&[_0x14f681(0x9e),'completed']['includes'](_0x4161b2[_0x14f681(0xaa)])?'Run\x20'+_0x29ee3b+_0x14f681(0x307)+_0x4161b2[_0x14f681(0xaa)]+_0x14f681(0x1f2):_0x14f681(0x24d),_0x4161b2?{'runStatus':_0x4161b2[_0x14f681(0xaa)]}:{});}if(PipelineManager[_0x14f681(0x1f5)](_0x1d18c6[_0x14f681(0x209)])||_0x1d18c6[_0x14f681(0x131)]&&(typeof _0x1d18c6[_0x14f681(0x131)]!==_0x14f681(0x101)||normalizePath(_0x1d18c6[_0x14f681(0x131)])!==this[_0x14f681(0x26f)]))return error(_0x14f681(0x1d7),_0x14f681(0x2ad));if(_0x1d18c6[_0x14f681(0x26e)]?.[_0x14f681(0x121)]&&_0x1d18c6[_0x14f681(0x26e)]['sessionId']!==_0x1e4272)return error(_0x14f681(0x30d),_0x14f681(0x94));const _0x305036=this[_0x14f681(0x19f)](_0x20a59f);if(_0x305036&&_0x305036['runId']!==_0x29ee3b)return error(_0x14f681(0x29e),_0x14f681(0x1b2));const _0x2b94d3=this[_0x14f681(0x152)](_0x20a59f,_0x29ee3b);if(_0x2b94d3){if(_0x2b94d3[_0x14f681(0xaa)]!==_0x14f681(0x133)||_0x2b94d3[_0x14f681(0x15a)]&&_0x2b94d3['coordinator']!==_0x1e4272)return error(_0x14f681(0x8a),_0x14f681(0x199));const _0x24868a={};_0x24868a['setCurrent']=!![],this['writeState'](_0x2b94d3,_0x24868a);const _0x18b7c4={..._0x1d18c6};_0x18b7c4[_0x14f681(0xaa)]='completed',this[_0x14f681(0x8f)](_0x315e85,_0x18b7c4);const _0x353896={};return _0x353896['success']=!![],this[_0x14f681(0x182)](_0x2b94d3,_0x353896);}let _0x157b24=_0x1d18c6['workspace'];const _0x3325c9={};_0x3325c9['mode']=_0x14f681(0x243);if(!_0x157b24&&_0x1d18c6['requestedWorkspace'][_0x14f681(0x2a3)]!==_0x14f681(0x1a9))_0x157b24=this[_0x14f681(0x1ef)](_0x20a59f,_0x29ee3b,_0x3325c9)[_0x14f681(0x86)];if(!_0x157b24&&_0x1d18c6[_0x14f681(0x209)][_0x14f681(0x2a3)]==='worktree'){const _0xb3f5fa=path[_0x14f681(0xe2)](path[_0x14f681(0xc0)](this['projectPath']),_0x14f681(0x234),path[_0x14f681(0x215)](this[_0x14f681(0x26f)]),_0x20a59f,_0x29ee3b),_0x21d9c0={};_0x21d9c0[_0x14f681(0xcc)]=_0xb3f5fa,_0x21d9c0[_0x14f681(0x2a3)]='worktree',_0x21d9c0[_0x14f681(0xf1)]=!![],_0x21d9c0[_0x14f681(0xbd)]='apt/'+_0x20a59f+'/'+_0x29ee3b,_0x21d9c0[_0x14f681(0xaa)]='ready',_0x157b24=_0x21d9c0;}if(!_0x157b24||!fs[_0x14f681(0xa2)](_0x157b24[_0x14f681(0xcc)])){if(_0x157b24?.[_0x14f681(0xf1)]&&!_0x1d18c6[_0x14f681(0x86)]){const _0x3ecb0c=this[_0x14f681(0x14b)]([_0x14f681(0x1a9),_0x14f681(0xcd),_0x14f681(0x2e0)]),_0xed5589=this[_0x14f681(0x14b)](['show-ref',_0x14f681(0x1cf),'--quiet',_0x14f681(0x256)+_0x157b24['branch']]),_0x4e4205=_0x3ecb0c[_0x14f681(0xd8)]?.[_0x14f681(0xaf)](/\r?\n/)[_0x14f681(0x83)](_0x404e43=>_0x404e43['startsWith'](_0x14f681(0x1d1))&&normalizePath(_0x404e43[_0x14f681(0x2a9)](0x9))===normalizePath(_0x157b24[_0x14f681(0xcc)]));if(_0x3ecb0c['ok']&&!_0x4e4205&&_0xed5589[_0x14f681(0xaa)]===0x1)return this[_0x14f681(0x8f)](_0x315e85,{..._0x1d18c6,'status':_0x14f681(0xf2),'resolvedAt':this[_0x14f681(0x12b)]()[_0x14f681(0xbf)]()}),error('CREATION_NOT_STARTED',_0x14f681(0x70));}return error(_0x14f681(0x186),'Recorded\x20workspace\x20is\x20missing;\x20no\x20new\x20worktree\x20was\x20created.');}if(_0x157b24[_0x14f681(0xf1)]){const _0x344413=this[_0x14f681(0x14b)](['worktree',_0x14f681(0xcd),_0x14f681(0x2e0)]),_0x16d8a3={};_0x16d8a3['cwd']=_0x157b24[_0x14f681(0xcc)];const _0x3a3a44=this[_0x14f681(0x14b)]([_0x14f681(0xbd),_0x14f681(0x173)],_0x16d8a3);if(!_0x344413['ok']||!_0x344413[_0x14f681(0xd8)]['split']('\x0a')['some'](_0x3705ec=>_0x3705ec[_0x14f681(0xf7)](_0x14f681(0x1d1))&&normalizePath(_0x3705ec['slice'](0x9))===normalizePath(_0x157b24['path']))||_0x3a3a44['stdout']!==_0x157b24[_0x14f681(0xbd)])return error('CREATION_WORKSPACE_MISMATCH',_0x14f681(0x7f));}else{if(!_0x157b24['path']||normalizePath(_0x157b24[_0x14f681(0xcc)])!==this['projectPath'])return error(_0x14f681(0x1d7),'Recorded\x20workspace\x20differs\x20from\x20this\x20project.');}if(!_0x1d18c6['originWorkspace']&&_0x157b24[_0x14f681(0xf1)])return error('CREATION_WORKSPACE_MISMATCH',_0x14f681(0x104));const _0x40c17a={'schemaVersion':_0x1d18c6[_0x14f681(0x235)]||0x3,'task':_0x20a59f,'runId':_0x29ee3b,'pipeline':_0x1d18c6['pipeline'],'status':_0x14f681(0x133),'completedSteps':[],'originWorkspace':_0x1d18c6[_0x14f681(0x131)]||this[_0x14f681(0x26f)],'workspace':_0x157b24,'startedAt':_0x1d18c6['createdAt'],'updatedAt':this['now']()[_0x14f681(0xbf)]()};let _0x43f5a8='snapshot';try{if(_0x40c17a[_0x14f681(0x235)]===0x3)this[_0x14f681(0xb3)][_0x14f681(0x1aa)](_0x40c17a,_0x1d18c6[_0x14f681(0x26e)]);else this[_0x14f681(0x1ab)](_0x40c17a);_0x43f5a8=_0x14f681(0x2f5);const _0x35f719={};_0x35f719[_0x14f681(0x238)]=!![],this[_0x14f681(0x203)](_0x40c17a,_0x35f719),_0x43f5a8=_0x14f681(0x1b7),this[_0x14f681(0x8f)](_0x315e85,{..._0x1d18c6,'status':'completed','recoveredAt':this[_0x14f681(0x12b)]()['toISOString']()});const _0x149478={};return _0x149478[_0x14f681(0x2f7)]=!![],_0x149478[_0x14f681(0xe7)]=!![],this[_0x14f681(0x182)](_0x40c17a,_0x149478);}catch(_0x25817c){const _0x4809d6=creationFailure(_0x25817c,_0x43f5a8);try{const _0x5c72f6={..._0x1d18c6};_0x5c72f6[_0x14f681(0xaa)]='interrupted',_0x5c72f6[_0x14f681(0x1fe)]=_0x4809d6,this[_0x14f681(0x8f)](_0x315e85,_0x5c72f6);}catch{}const _0x3d5719={};return _0x3d5719[_0x14f681(0x24a)]=_0x20a59f,_0x3d5719[_0x14f681(0x1e7)]=_0x29ee3b,_0x3d5719['intentFile']=_0x315e85,_0x3d5719[_0x14f681(0x86)]=_0x157b24,_0x3d5719[_0x14f681(0x2dc)]=_0x4809d6['code'],_0x3d5719[_0x14f681(0x161)]=_0x4809d6,error(_0x14f681(0x165),'Recovery\x20was\x20interrupted;\x20its\x20intent\x20was\x20preserved.',_0x3d5719);}});}[_0x4acfa7(0x203)](_0x5445f3,{setCurrent:setCurrent=![]}={}){const _0x14f2cb=_0x4acfa7;_0x5445f3[_0x14f2cb(0x208)]=this[_0x14f2cb(0x12b)]()[_0x14f2cb(0xbf)]();if(_0x5445f3[_0x14f2cb(0x235)]===0x3)this[_0x14f2cb(0xb3)][_0x14f2cb(0x192)](_0x5445f3);this[_0x14f2cb(0x8f)](this[_0x14f2cb(0x2c9)](_0x5445f3['task'],_0x5445f3[_0x14f2cb(0x1e7)]),_0x5445f3);if(_0x5445f3[_0x14f2cb(0x235)]===0x3)this[_0x14f2cb(0xb3)][_0x14f2cb(0x305)](_0x5445f3);setCurrent&&this[_0x14f2cb(0x8f)](this[_0x14f2cb(0xec)](_0x5445f3[_0x14f2cb(0x24a)]),{'task':_0x5445f3[_0x14f2cb(0x24a)],'runId':_0x5445f3['runId'],'updatedAt':_0x5445f3[_0x14f2cb(0x208)]});}['appendLedger'](_0x3ed17d,_0x5839ae,_0x4b3eaa){const _0x595b58=_0x4acfa7;if(_0x3ed17d[_0x595b58(0x235)]===0x3)return this[_0x595b58(0xb3)]['ledger'](_0x3ed17d);const _0x225e14=this[_0x595b58(0x25b)](_0x3ed17d['task'],_0x3ed17d[_0x595b58(0x1e7)]);let _0x3f450a=fs[_0x595b58(0xa2)](_0x225e14)?fs[_0x595b58(0x134)](_0x225e14,_0x595b58(0x2d8)):'';!_0x3f450a&&(_0x3f450a=_0x595b58(0xc3)+_0x3ed17d[_0x595b58(0x24a)]+_0x595b58(0x184)+_0x3ed17d[_0x595b58(0x1e7)]+_0x595b58(0x213)+_0x3ed17d[_0x595b58(0x250)]+'\x0a'),_0x3f450a+=_0x595b58(0x164)+this[_0x595b58(0x12b)]()[_0x595b58(0xbf)]()+'\x20-\x20'+_0x5839ae+'\x0a\x0a'+_0x4b3eaa+'\x0a',this[_0x595b58(0x242)](_0x225e14,_0x3f450a);}['requiredSkillError'](_0x1c4f52,_0x373b50=this[_0x4acfa7(0x26f)]){const _0x2ab698=_0x4acfa7,_0x27038d=[path[_0x2ab698(0xe2)](_0x373b50,_0x2ab698(0x2c2),_0x2ab698(0x237),_0x1c4f52,_0x2ab698(0xb1)),path[_0x2ab698(0xe2)](this[_0x2ab698(0x26f)],_0x2ab698(0x2c2),_0x2ab698(0x237),_0x1c4f52,_0x2ab698(0xb1))],{SKILL_NAME_MAPPING:_0x3866de,CANONICAL_SKILL_SOURCES:_0x2ec50e}=require('../core/skill-names.js'),_0x31b337=_0x2ec50e[_0x1c4f52]||Object[_0x2ab698(0x2fa)](_0x3866de)['find'](_0x4a7491=>_0x3866de[_0x4a7491]===_0x1c4f52);if(_0x31b337)_0x27038d[_0x2ab698(0x123)](path[_0x2ab698(0xe2)](this[_0x2ab698(0x26f)],_0x2ab698(0x2c2),_0x2ab698(0x237),_0x31b337,_0x2ab698(0xb1)));const _0x474d44=_0x27038d['find'](_0x49d765=>fs[_0x2ab698(0xa2)](_0x49d765));if(_0x474d44)return null;const _0xec0f13={};return _0xec0f13[_0x2ab698(0x272)]=_0x27038d[0x0],_0xec0f13['recovery_command']='npx\x20apt-mcp-agent-setup\x20update\x20--project\x20\x22'+this[_0x2ab698(0x26f)]+'\x22',error(_0x2ab698(0x1c7),_0x2ab698(0x128)+_0x1c4f52+_0x2ab698(0x6e),_0xec0f13);}[_0x4acfa7(0x296)](){const _0xe7c54f=_0x4acfa7;if(!this[_0xe7c54f(0x2fe)])return![];const _0x1ebdda=this[_0xe7c54f(0x14b)]([_0xe7c54f(0x143),'--git-dir']);if(!_0x1ebdda['ok']||!this[_0xe7c54f(0x9d)])return![];const _0x53a2c0=normalizePath(path['resolve'](this[_0xe7c54f(0x26f)],_0x1ebdda[_0xe7c54f(0xd8)]));if(_0x53a2c0===this[_0xe7c54f(0x9d)])return![];const _0x2bb357=this['runGit']([_0xe7c54f(0x1a9),_0xe7c54f(0xcd),_0xe7c54f(0x2e0)]);if(!_0x2bb357['ok'])return![];const _0x2a966f=normalizePath(this[_0xe7c54f(0x26f)])[_0xe7c54f(0x2ff)]();return _0x2bb357[_0xe7c54f(0xd8)][_0xe7c54f(0xaf)](/\r?\n/)['filter'](_0x27373d=>_0x27373d['startsWith'](_0xe7c54f(0x1d1)))[_0xe7c54f(0x83)](_0x2927ef=>normalizePath(_0x2927ef['slice'](0x9))[_0xe7c54f(0x2ff)]()===_0x2a966f);}[_0x4acfa7(0x92)](){const _0x42e0d6=_0x4acfa7;if(this[_0x42e0d6(0x2fe)])return error(_0x42e0d6(0x8e),_0x42e0d6(0x269));const _0x254982=fs['mkdtempSync'](path['join'](os[_0x42e0d6(0x126)](),_0x42e0d6(0x153)));try{const _0x16ad4d=path[_0x42e0d6(0xe2)](_0x254982,_0x42e0d6(0x116)),_0xc82f06=path['join'](_0x254982,_0x42e0d6(0x14c)),_0x33e3db={};_0x33e3db[_0x42e0d6(0xac)]=_0x254982;const _0x504a5e=this['runGit']([_0x42e0d6(0xd6),_0x42e0d6(0x2c4),_0x16ad4d],_0x33e3db);if(!_0x504a5e['ok'])return error(_0x42e0d6(0x105),_0x504a5e['stderr']||_0x42e0d6(0x306));const _0x21df7e={};_0x21df7e[_0x42e0d6(0xff)]=_0xc82f06;const _0xc8d4e6=_0x21df7e,_0x10f559=this[_0x42e0d6(0x14b)]([_0x42e0d6(0x167),_0x16ad4d,'--work-tree',this[_0x42e0d6(0x26f)],'add','-A'],{'cwd':this['projectPath'],'env':_0xc8d4e6});if(!_0x10f559['ok'])return error(_0x42e0d6(0x105),_0x10f559[_0x42e0d6(0x81)]||_0x42e0d6(0x1a0));const _0x2624e5=this[_0x42e0d6(0x14b)]([_0x42e0d6(0x167),_0x16ad4d,_0x42e0d6(0x9c),this['projectPath'],_0x42e0d6(0x1e9),_0x42e0d6(0x30c),_0x42e0d6(0x9a),'-z'],{'cwd':this[_0x42e0d6(0x26f)],'env':_0xc8d4e6});if(!_0x2624e5['ok'])return error(_0x42e0d6(0x105),_0x2624e5['stderr']||'Cannot\x20read\x20Git\x20bootstrap\x20preview.');const _0x1722ae=_0x2624e5['stdout']?_0x2624e5[_0x42e0d6(0xd8)]['split']('\x00')[_0x42e0d6(0x75)](Boolean)['map'](_0x55270f=>_0x55270f[_0x42e0d6(0xe4)](/\\/g,'/'))['sort']():[],_0x5e6f9f=_0x1722ae[_0x42e0d6(0xc8)](_0x30a175=>{const _0x4fc64b=_0x42e0d6,_0x269286=path[_0x4fc64b(0xe2)](this[_0x4fc64b(0x26f)],_0x30a175),_0x9b38c5=fs['statSync'](_0x269286),_0x115d45=crypto[_0x4fc64b(0x228)](_0x4fc64b(0x170))[_0x4fc64b(0x1c3)](fs[_0x4fc64b(0x134)](_0x269286))[_0x4fc64b(0x78)](_0x4fc64b(0x16e));return{'path':_0x30a175,'size':_0x9b38c5['size'],'mtimeMs':Math[_0x4fc64b(0x15c)](_0x9b38c5[_0x4fc64b(0x316)]),'sha256':_0x115d45};}),_0x3cecf0=_0x1722ae['filter'](_0x6e303=>{const _0x157da8=_0x42e0d6,_0x2cb749=/\.env\.example$/i[_0x157da8(0x1b3)](_0x6e303);if(!_0x2cb749&&SENSITIVE_PATTERNS[_0x157da8(0x83)](_0x3f1fda=>_0x3f1fda[_0x157da8(0x1b3)](_0x6e303)))return!![];const _0x5a9485=fs[_0x157da8(0x134)](path[_0x157da8(0xe2)](this[_0x157da8(0x26f)],_0x6e303),_0x157da8(0x2d8));return SENSITIVE_CONTENT_PATTERNS[_0x157da8(0x83)](_0x41c082=>_0x41c082[_0x157da8(0x1b3)](_0x5a9485));}),_0x3a0286=_0x5e6f9f['filter'](_0x2ae0a4=>_0x2ae0a4[_0x42e0d6(0x2eb)]>0xa*0x400*0x400)[_0x42e0d6(0xc8)](_0x13affd=>_0x13affd['path']),_0x52e412=[_0x42e0d6(0x30a)],_0x33b778={};_0x33b778[_0x42e0d6(0x6f)]=_0x5e6f9f,_0x33b778[_0x42e0d6(0x14a)]=_0x52e412;const _0x184c3e=crypto[_0x42e0d6(0x228)](_0x42e0d6(0x170))[_0x42e0d6(0x1c3)](JSON[_0x42e0d6(0x281)](_0x33b778))[_0x42e0d6(0x78)](_0x42e0d6(0x16e));return{'success':![],'code':_0x3cecf0[_0x42e0d6(0x2fb)]?_0x42e0d6(0x172):_0x42e0d6(0x113),'error':_0x3cecf0[_0x42e0d6(0x2fb)]?'Sensitive\x20files\x20would\x20be\x20committed.\x20Add\x20them\x20to\x20.gitignore\x20and\x20request\x20a\x20new\x20preview.':_0x42e0d6(0xfb),'confirmationToken':_0x184c3e,'fileCount':_0x1722ae[_0x42e0d6(0x2fb)],'totalBytes':_0x5e6f9f[_0x42e0d6(0x221)]((_0x3b843a,_0x2a7470)=>_0x3b843a+_0x2a7470[_0x42e0d6(0x2eb)],0x0),'files':_0x1722ae,'sensitiveFiles':_0x3cecf0,'largeFiles':_0x3a0286,'plannedIgnoreAdditions':_0x52e412};}finally{const _0x5c0979={};_0x5c0979['recursive']=!![],_0x5c0979[_0x42e0d6(0x10a)]=!![],fs['rmSync'](_0x254982,_0x5c0979);}}[_0x4acfa7(0x1bb)](){const _0x10671d=_0x4acfa7,_0x5d6ce8=path['join'](this[_0x10671d(0x26f)],_0x10671d(0x1fa)),_0x291d87='.agents/pipelines/',_0x4a0dfb=fs['existsSync'](_0x5d6ce8)?fs[_0x10671d(0x134)](_0x5d6ce8,'utf8'):'',_0x4a175f=_0x4a0dfb['split'](/\r?\n/)['map'](_0x183fc5=>_0x183fc5[_0x10671d(0x1b4)]());if(_0x4a175f[_0x10671d(0x225)](_0x291d87))return;const _0x544a3e=_0x4a0dfb&&!_0x4a0dfb[_0x10671d(0x89)]('\x0a')?'\x0a':'';fs[_0x10671d(0x2f8)](_0x5d6ce8,''+_0x544a3e+_0x291d87+'\x0a',_0x10671d(0x2d8));}['initializeGitFromPreview'](_0x1b6b1d){const _0x322b7f=_0x4acfa7,_0x1048ca=this[_0x322b7f(0x92)]();if(_0x1048ca[_0x322b7f(0x12e)]===_0x322b7f(0x172))return _0x1048ca;if(_0x1048ca[_0x322b7f(0x27a)]!==_0x1b6b1d){const _0x1d3c9e={};return _0x1d3c9e['preview']=_0x1048ca,error('GIT_PREVIEW_STALE',_0x322b7f(0x176),_0x1d3c9e);}const _0x59f70b=this[_0x322b7f(0x197)]()[_0x322b7f(0x75)](_0x190d55=>_0x190d55[_0x322b7f(0xaa)]===_0x322b7f(0x133)||_0x190d55[_0x322b7f(0xaa)]===_0x322b7f(0x2d0));if(_0x59f70b[_0x322b7f(0x2fb)])return error(_0x322b7f(0x245),'Complete\x20or\x20cancel\x20active\x20pipelines\x20before\x20initializing\x20Git.');const _0x246e44=this[_0x322b7f(0x14b)]([_0x322b7f(0x26b),_0x322b7f(0xe0),'user.name']),_0x554f96=this['runGit']([_0x322b7f(0x26b),_0x322b7f(0xe0),_0x322b7f(0x279)]);if(!_0x246e44['ok']||!_0x246e44[_0x322b7f(0xd8)]||!_0x554f96['ok']||!_0x554f96[_0x322b7f(0xd8)]){const _0x2aeed7={};return _0x2aeed7[_0x322b7f(0x93)]=[_0x322b7f(0x2b6),_0x322b7f(0xc4)],error(_0x322b7f(0x28e),'Configure\x20Git\x20user.name\x20and\x20user.email\x20before\x20creating\x20the\x20baseline\x20commit.',_0x2aeed7);}const _0x454fed=this['runGit']([_0x322b7f(0x26b),'--get',_0x322b7f(0x27e)]),_0x3e323a=_0x454fed['ok']&&_0x454fed[_0x322b7f(0xd8)]?_0x454fed[_0x322b7f(0xd8)]:_0x322b7f(0x236);let _0x24369c=this[_0x322b7f(0x14b)]([_0x322b7f(0xd6),'-b',_0x3e323a]);if(!_0x24369c['ok']){_0x24369c=this[_0x322b7f(0x14b)](['init']);if(!_0x24369c['ok'])return error(_0x322b7f(0x232),_0x24369c[_0x322b7f(0x81)]);const _0x608674=this['runGit']([_0x322b7f(0xbd),'-M',_0x3e323a]);if(!_0x608674['ok'])return error(_0x322b7f(0x232),_0x608674[_0x322b7f(0x81)]);}this[_0x322b7f(0x1bb)]();const _0x3debc6=this['runGit']([_0x322b7f(0x1bd),'-A']);if(!_0x3debc6['ok'])return error(_0x322b7f(0x95),_0x3debc6['stderr']);const _0x42564d=this[_0x322b7f(0x14b)]([_0x322b7f(0xb5),_0x322b7f(0x179),'-m','chore:\x20initialize\x20local\x20repository']);if(!_0x42564d['ok'])return error(_0x322b7f(0x95),_0x42564d[_0x322b7f(0x81)]);const _0x1151d1=this[_0x322b7f(0x14b)]([_0x322b7f(0xaa),_0x322b7f(0x2e0)]);if(!_0x1151d1['ok']||_0x1151d1[_0x322b7f(0xd8)])return error('GIT_BASELINE_NOT_CLEAN',_0x322b7f(0xdd),{'status':_0x1151d1[_0x322b7f(0xd8)]});const _0xbff77d=this['stateRoot'];this[_0x322b7f(0x154)](),this[_0x322b7f(0xb8)](_0xbff77d);const _0x3377ca={};return _0x3377ca[_0x322b7f(0x2f7)]=!![],_0x3377ca[_0x322b7f(0xbd)]=_0x3e323a,_0x3377ca[_0x322b7f(0x17f)]=!![],_0x3377ca;}[_0x4acfa7(0xb8)](_0x48004e){const _0x242c5e=_0x4acfa7;if(!_0x48004e||normalizePath(_0x48004e)===normalizePath(this[_0x242c5e(0x2a4)])||!fs['existsSync'](_0x48004e))return;const _0x3f3f0a=path[_0x242c5e(0xe2)](this['stateRoot'],_0x242c5e(0x1f8),crypto[_0x242c5e(0x228)](_0x242c5e(0x170))[_0x242c5e(0x1c3)](_0x48004e)[_0x242c5e(0x78)](_0x242c5e(0x16e))+_0x242c5e(0x73));if(fs[_0x242c5e(0xa2)](_0x3f3f0a))return;const _0xaafeb2=this['listRunsFromRoot'](_0x48004e)[_0x242c5e(0x75)](_0x319445=>_0x319445[_0x242c5e(0xaa)]===_0x242c5e(0x133)||_0x319445[_0x242c5e(0xaa)]==='initializing'),_0x18cea0={};_0x18cea0[_0x242c5e(0x12e)]=_0x242c5e(0x245);if(_0xaafeb2['length'])throw Object['assign'](new Error(_0x242c5e(0x1e2)),_0x18cea0);for(const _0x5a5a05 of this[_0x242c5e(0x97)](_0x48004e)){const _0x1fb3fc=path['join'](_0x48004e,_0x5a5a05[_0x242c5e(0x24a)],_0x242c5e(0x160),_0x5a5a05[_0x242c5e(0x1e7)]),_0x4dfbde=this[_0x242c5e(0x11d)](_0x5a5a05[_0x242c5e(0x24a)],_0x5a5a05[_0x242c5e(0x1e7)]),_0x4f5d58={};_0x4f5d58['recursive']=!![],_0x4f5d58[_0x242c5e(0x13b)]=!![];if(!fs[_0x242c5e(0xa2)](_0x4dfbde))fs['cpSync'](_0x1fb3fc,_0x4dfbde,_0x4f5d58);this[_0x242c5e(0xf6)](_0x1fb3fc,_0x4dfbde);const _0x22ea83=path[_0x242c5e(0xe2)](_0x48004e,_0x5a5a05[_0x242c5e(0x24a)],_0x242c5e(0x2f4));fs['existsSync'](_0x22ea83)&&!fs['existsSync'](this['currentFile'](_0x5a5a05['task']))&&(fs[_0x242c5e(0x106)](_0x22ea83,this[_0x242c5e(0xec)](_0x5a5a05[_0x242c5e(0x24a)])),this[_0x242c5e(0xf6)](_0x22ea83,this['currentFile'](_0x5a5a05[_0x242c5e(0x24a)])));}this[_0x242c5e(0x8f)](_0x3f3f0a,{'source':_0x48004e,'migratedAt':this['now']()[_0x242c5e(0xbf)]()});}['verifyCopiedTree'](_0x4a7a50,_0x1fde6f){const _0x3009b5=_0x4acfa7,_0x3b966c=fs['statSync'](_0x4a7a50),_0x525383=fs['statSync'](_0x1fde6f);if(_0x3b966c['isDirectory']()!==_0x525383['isDirectory']()){const _0x14e957={};_0x14e957[_0x3009b5(0x12e)]='STATE_MIGRATION_VERIFY_FAILED';throw Object[_0x3009b5(0x11c)](new Error('Pipeline\x20state\x20copy\x20type\x20mismatch:\x20'+_0x4a7a50),_0x14e957);}if(_0x3b966c['isDirectory']()){const _0x31b0e5=fs[_0x3009b5(0x87)](_0x4a7a50)[_0x3009b5(0x10f)](),_0x504518=fs[_0x3009b5(0x87)](_0x1fde6f)[_0x3009b5(0x10f)]();if(JSON[_0x3009b5(0x281)](_0x31b0e5)!==JSON[_0x3009b5(0x281)](_0x504518)){const _0x201f43={};_0x201f43['code']='STATE_MIGRATION_VERIFY_FAILED';throw Object[_0x3009b5(0x11c)](new Error(_0x3009b5(0xfd)+_0x4a7a50),_0x201f43);}for(const _0x324d51 of _0x31b0e5)this['verifyCopiedTree'](path[_0x3009b5(0xe2)](_0x4a7a50,_0x324d51),path[_0x3009b5(0xe2)](_0x1fde6f,_0x324d51));return;}const _0x4d86e3=crypto[_0x3009b5(0x228)](_0x3009b5(0x170))['update'](fs[_0x3009b5(0x134)](_0x4a7a50))[_0x3009b5(0x78)](_0x3009b5(0x16e)),_0x3fdafe=crypto[_0x3009b5(0x228)](_0x3009b5(0x170))[_0x3009b5(0x1c3)](fs['readFileSync'](_0x1fde6f))[_0x3009b5(0x78)](_0x3009b5(0x16e));if(_0x4d86e3!==_0x3fdafe){const _0x996d4c={};_0x996d4c['code']=_0x3009b5(0x166);throw Object[_0x3009b5(0x11c)](new Error(_0x3009b5(0x1d2)+_0x4a7a50),_0x996d4c);}}[_0x4acfa7(0x251)](_0x322a43,_0x5ebed5,_0x3353eb){const _0xb0165f=_0x4acfa7;if(!this[_0xb0165f(0x2fe)]){if(!_0x3353eb[_0xb0165f(0x1fd)]||!_0x3353eb[_0xb0165f(0x27a)])return this['previewGitBootstrap']();if(!_0x3353eb['confirmed'])return error(_0xb0165f(0x2f9),_0xb0165f(0x2d3));const _0x2a521d=this[_0xb0165f(0x1e5)](_0x3353eb[_0xb0165f(0x27a)]);if(!_0x2a521d[_0xb0165f(0x2f7)])return _0x2a521d;}if(!_0x3353eb['confirmed'])return error('WORKTREE_CONSENT_REQUIRED',_0xb0165f(0x2b4));const _0x1ccc90=this[_0xb0165f(0x14b)](['status','--porcelain']);if(!_0x1ccc90['ok']||_0x1ccc90[_0xb0165f(0xd8)])return error(_0xb0165f(0x2ce),_0xb0165f(0x1eb),{'status':_0x1ccc90['stdout']});const _0x3e84f6=this[_0xb0165f(0x14b)](['rev-parse',_0xb0165f(0x19e)]);if(!_0x3e84f6['ok'])return error(_0xb0165f(0x224),_0x3e84f6[_0xb0165f(0x81)]||_0xb0165f(0x145));const _0x449db4=this[_0xb0165f(0x14b)]([_0xb0165f(0xbd),'--show-current']),_0x4ed36f=path[_0xb0165f(0x215)](this['projectPath']),_0x4ca1bf=path[_0xb0165f(0xe2)](path[_0xb0165f(0xc0)](this[_0xb0165f(0x26f)]),_0xb0165f(0x234),_0x4ed36f,_0x322a43,_0x5ebed5),_0x4a2ef0=_0xb0165f(0x1da)+_0x322a43+'/'+_0x5ebed5;if(fs[_0xb0165f(0xa2)](_0x4ca1bf))return error(_0xb0165f(0xfe),_0xb0165f(0x1f9)+_0x4ca1bf);const _0x5a35e3=this[_0xb0165f(0x14b)]([_0xb0165f(0x1a9),_0xb0165f(0x1bd),'-b',_0x4a2ef0,_0x4ca1bf,_0x3353eb[_0xb0165f(0x1c5)]||_0x3e84f6[_0xb0165f(0xd8)]]),_0x5ee8a9={};_0x5ee8a9[_0xb0165f(0x233)]=_0x4ca1bf,_0x5ee8a9[_0xb0165f(0xbd)]=_0x4a2ef0;if(!_0x5a35e3['ok'])return error('WORKTREE_CREATE_FAILED',_0x5a35e3[_0xb0165f(0x81)]||_0xb0165f(0x71),_0x5ee8a9);return{'success':!![],'workspace':{'mode':_0xb0165f(0x1a9),'path':normalizePath(_0x4ca1bf),'branch':_0x4a2ef0,'baseRef':_0x3353eb[_0xb0165f(0x1c5)]||_0x3e84f6[_0xb0165f(0xd8)],'baseBranch':_0x449db4['ok']?_0x449db4[_0xb0165f(0xd8)]:'','status':_0xb0165f(0x28a),'createdAt':this[_0xb0165f(0x12b)]()['toISOString'](),'managed':!![]}};}[_0x4acfa7(0x1ef)](_0x41940a,_0x7a141c,_0x210253={}){const _0x37ddc1=_0x4acfa7,_0x4502a9=_0x210253['mode']||_0x37ddc1(0x262);if(!['auto',_0x37ddc1(0x243),_0x37ddc1(0x1a9)][_0x37ddc1(0x225)](_0x4502a9))return error(_0x37ddc1(0x114),_0x37ddc1(0x30b)+_0x4502a9);if(_0x4502a9==='worktree')return this['createWorktree'](_0x41940a,_0x7a141c,_0x210253);return{'success':!![],'workspace':{'mode':this[_0x37ddc1(0x296)]()?_0x37ddc1(0x1be):_0x37ddc1(0x243),'path':this[_0x37ddc1(0x26f)],'branch':this[_0x37ddc1(0x2fe)]?this[_0x37ddc1(0x14b)]([_0x37ddc1(0xbd),'--show-current'])['stdout']:'','baseRef':this[_0x37ddc1(0x2fe)]?this[_0x37ddc1(0x14b)]([_0x37ddc1(0x143),_0x37ddc1(0x19e)])[_0x37ddc1(0xd8)]:'','baseBranch':this[_0x37ddc1(0x2fe)]?this[_0x37ddc1(0x14b)](['branch',_0x37ddc1(0x173)])[_0x37ddc1(0xd8)]:'','status':'ready','managed':![]}};}[_0x4acfa7(0x17d)](_0x30d56e={}){const _0xc2b2cc=_0x4acfa7;let {pipeline:_0x5722f4,task:_0x5d2806,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x30d56e;const _0x4040ce=PipelineManager['validateTask'](_0x5d2806);if(_0x4040ce)return _0x4040ce;if(_0x30d56e['recoverRunId'])try{return this[_0xc2b2cc(0x135)](_0x5d2806,_0x30d56e['recoverRunId'],_0x30d56e[_0xc2b2cc(0x121)]);}catch(_0x3aa39f){return error(_0xc2b2cc(0x107),'Saved\x20creation\x20intent\x20could\x20not\x20be\x20inspected.',{'task':_0x5d2806,'runId':_0x30d56e[_0xc2b2cc(0xe8)],'diagnostic':creationFailure(_0x3aa39f,_0xc2b2cc(0x1e8))});}const _0x22993a=PipelineManager[_0xc2b2cc(0x1f5)](_0x30d56e[_0xc2b2cc(0x86)]);if(_0x22993a)return _0x22993a;if(![0x2,0x3][_0xc2b2cc(0x225)](schemaVersion))return error('INVALID_SCHEMA_VERSION',_0xc2b2cc(0xeb));if(_0x30d56e[_0xc2b2cc(0x202)]!==undefined&&![0x1,0x2,0x3][_0xc2b2cc(0x225)](_0x30d56e['policyVersion']))return error('INVALID_POLICY_VERSION',_0xc2b2cc(0xea));if(_0x30d56e[_0xc2b2cc(0x297)]!==undefined&&![_0xc2b2cc(0xd4),_0xc2b2cc(0x122),_0xc2b2cc(0x96)][_0xc2b2cc(0x225)](_0x30d56e[_0xc2b2cc(0x297)]))return error(_0xc2b2cc(0x1c6),_0xc2b2cc(0x1cb));if(_0x30d56e[_0xc2b2cc(0x156)]!==undefined&&(!Number[_0xc2b2cc(0x1e4)](_0x30d56e[_0xc2b2cc(0x156)])||_0x30d56e[_0xc2b2cc(0x156)]<0x1))return error('INVALID_RUN_INPUT',_0xc2b2cc(0x13f));for(const _0x56dbd5 of['acceptanceCriteria',_0xc2b2cc(0x155),_0xc2b2cc(0x237)]){if(_0x30d56e[_0x56dbd5]!==undefined&&(!Array[_0xc2b2cc(0x273)](_0x30d56e[_0x56dbd5])||!_0x30d56e[_0x56dbd5][_0xc2b2cc(0xc7)](_0x30b075=>typeof _0x30b075===_0xc2b2cc(0x101)&&_0x30b075[_0xc2b2cc(0x1b4)]())))return error('INVALID_RUN_INPUT',_0x56dbd5+_0xc2b2cc(0x315));}const _0x4f0551=path[_0xc2b2cc(0x11e)](_0x30d56e[_0xc2b2cc(0x86)]?.[_0xc2b2cc(0xcc)]||this['projectPath']),_0x2d8797=(_0x30d56e[_0xc2b2cc(0x155)]||[])[_0xc2b2cc(0x303)](_0x2b9f4e=>{const _0x53e8db=_0xc2b2cc,_0x3204b2=path['resolve'](_0x4f0551,_0x2b9f4e[_0x53e8db(0xe4)](/[*?].*$/,'')||'.'),_0x34bbd1=path[_0x53e8db(0x1a3)](_0x4f0551,_0x3204b2);return _0x34bbd1==='..'||_0x34bbd1['startsWith']('..'+path[_0x53e8db(0xf4)])||path[_0x53e8db(0x1a2)](_0x34bbd1);});if(_0x2d8797!==undefined)return error(_0xc2b2cc(0x1ca),'scope\x20must\x20name\x20paths\x20inside\x20the\x20workspace\x20'+_0x4f0551+':\x20'+_0x2d8797+_0xc2b2cc(0x30e));if(schemaVersion===0x3&&_0x30d56e[_0xc2b2cc(0x132)]!==0x0&&_0x5722f4!==_0xc2b2cc(0x31a)&&!_0x30d56e[_0xc2b2cc(0x1fb)]?.[_0xc2b2cc(0x2fb)])return error(_0xc2b2cc(0x2d6),'Record\x20at\x20least\x20one\x20acceptance\x20criterion\x20at\x20pipeline_start;\x20its\x20text\x20must\x20match\x20a\x20qualityPlan\x20criterion\x20expectedOutcome.');let _0x5caf4e;if(schemaVersion===0x3&&_0x30d56e[_0xc2b2cc(0x132)]!==0x0&&_0x5722f4!=='readonly'){const _0x4b84d5=require(_0xc2b2cc(0xf3)),_0x53c75a={'blocking':'high','productImpact':_0x30d56e[_0xc2b2cc(0x264)]===!![],'platformTarget':_0x30d56e[_0xc2b2cc(0x264)]===!![]&&[_0xc2b2cc(0x13a),_0xc2b2cc(0x146),_0xc2b2cc(0x2ec)][_0xc2b2cc(0x225)](_0x30d56e[_0xc2b2cc(0x1d4)])?_0x30d56e[_0xc2b2cc(0x1d4)]===_0xc2b2cc(0x13a)?'web':_0xc2b2cc(0x146):null,'contentReview':_0x5722f4===_0xc2b2cc(0x2cd),'artifactReview':_0x30d56e[_0xc2b2cc(0x124)]===!![]};try{_0x5caf4e=_0x4b84d5[_0xc2b2cc(0x2b9)](_0x30d56e[_0xc2b2cc(0x17e)],_0x30d56e[_0xc2b2cc(0x1fb)]||[],_0x53c75a);}catch(_0x345414){const _0x1a440d=_0x4b84d5['qualityPlanExample'](_0x30d56e[_0xc2b2cc(0x1fb)]||[],_0x53c75a);return error(_0xc2b2cc(0xf9),_0x345414[_0xc2b2cc(0x200)]+'.\x20'+_0x4b84d5[_0xc2b2cc(0x18c)],_0x1a440d?{'qualityPlanExample':_0x1a440d}:{});}}const _0x2d68ed=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x2d1dd5=_0x2d68ed[_0x5722f4];if(!_0x2d1dd5)return error(_0xc2b2cc(0x195),_0xc2b2cc(0x300)+_0x5722f4+'.',{'valid_pipelines':Object[_0xc2b2cc(0x2fa)](PIPELINE_DEFINITIONS)});const _0x47f827=_0x2d1dd5['steps'][0x0]['skill'];if(_0x47f827){const _0x56b4b4=this[_0xc2b2cc(0x276)](_0x47f827);if(_0x56b4b4)return _0x56b4b4;}if((workspace['mode']||_0xc2b2cc(0x262))===_0xc2b2cc(0x1a9)&&!this[_0xc2b2cc(0x2fe)]){if(!workspace['initializeGit']||!workspace[_0xc2b2cc(0x27a)])return this[_0xc2b2cc(0x92)]();if(!workspace['confirmed'])return error('WORKTREE_CONSENT_REQUIRED',_0xc2b2cc(0x2d3));const _0x3803a5=this[_0xc2b2cc(0x1e5)](workspace['confirmationToken']);if(!_0x3803a5[_0xc2b2cc(0x2f7)])return _0x3803a5;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this['withLock']('__pipeline_start__',()=>this[_0xc2b2cc(0x100)](_0x5d2806,()=>{const _0x38b141=_0xc2b2cc,_0x4c5f84=this['readCurrent'](_0x5d2806);if(_0x4c5f84&&[_0x38b141(0x2d0),'active',_0x38b141(0x99)][_0x38b141(0x225)](_0x4c5f84[_0x38b141(0xaa)]))return error(_0x38b141(0x1c4),_0x4c5f84[_0x38b141(0xb3)]?.[_0x38b141(0x2f1)]===_0x38b141(0x1b8)?_0x38b141(0x130)+_0x5d2806+_0x38b141(0xfa)+_0x4c5f84[_0x38b141(0x1e7)]+',\x20paused\x20by\x20a\x20runtime\x20upgrade.\x20Bind\x20it\x20with\x20pipeline_use\x20and\x20continue\x20it\x20with\x20pipeline_checkpoint(action=resume).':_0x38b141(0x130)+_0x5d2806+_0x38b141(0x25a),{'task':_0x5d2806,'runId':_0x4c5f84['runId'],'status':_0x4c5f84[_0x38b141(0xaa)]});if(schemaVersion===0x3&&_0x30d56e['qualityVersion']!==0x0&&_0x5722f4!=='readonly'){const _0x331352=_0x4debb1=>JSON[_0x38b141(0x281)](_0x4debb1['map'](_0x29f439=>_0x29f439[_0x38b141(0x1b4)]()[_0x38b141(0xe4)](/\s+/g,'\x20')[_0x38b141(0x13c)]())[_0x38b141(0x10f)]()),_0x5ec394=_0x331352(_0x30d56e['acceptanceCriteria']),_0x5f1540=_0x3c6875=>{const _0x4d3886=_0x38b141,_0x208fdf=normalizePath(_0x3c6875);return process[_0x4d3886(0xd3)]===_0x4d3886(0x7a)?_0x208fdf['toLowerCase']():_0x208fdf;};if(fs[_0x38b141(0xa2)](this[_0x38b141(0x2a4)])){const _0x26026c={};_0x26026c[_0x38b141(0x2c0)]=!![];for(const _0x32c18e of fs[_0x38b141(0x87)](this['stateRoot'],_0x26026c)){if(!_0x32c18e[_0x38b141(0x2d9)]()||_0x32c18e[_0x38b141(0x290)][_0x38b141(0xf7)]('.')||_0x32c18e[_0x38b141(0x290)]===_0x5d2806)continue;const _0x4f1dc1=this['readCurrent'](_0x32c18e[_0x38b141(0x290)]);if(_0x4f1dc1&&[_0x38b141(0x2d0),_0x38b141(0x133),_0x38b141(0x99)][_0x38b141(0x225)](_0x4f1dc1[_0x38b141(0xaa)])&&_0x4f1dc1[_0x38b141(0x250)]!==_0x38b141(0x31a)&&_0x4f1dc1['quality']?.[_0x38b141(0x9f)]&&_0x4f1dc1[_0x38b141(0x2ef)]?.[_0x38b141(0x217)]?.[_0x38b141(0x2fb)]&&[_0x4f1dc1[_0x38b141(0x131)],_0x4f1dc1['workspace'][_0x38b141(0xcc)]][_0x38b141(0x75)](Boolean)['some'](_0x440254=>_0x5f1540(_0x440254)===_0x5f1540(this[_0x38b141(0x26f)]))&&overlappingScope(_0x4f1dc1[_0x38b141(0x155)],_0x30d56e[_0x38b141(0x155)],this[_0x38b141(0x26f)])&&_0x331352(_0x4f1dc1[_0x38b141(0x2ef)][_0x38b141(0x217)])===_0x5ec394){const _0x16022e={};return _0x16022e['task']=_0x4f1dc1[_0x38b141(0x24a)],_0x16022e[_0x38b141(0x1e7)]=_0x4f1dc1[_0x38b141(0x1e7)],_0x16022e[_0x38b141(0xaa)]=_0x4f1dc1['status'],_0x16022e[_0x38b141(0x2f1)]=_0x4f1dc1[_0x38b141(0xb3)]?.[_0x38b141(0x2f1)]||null,_0x16022e[_0x38b141(0x309)]=_0x4f1dc1[_0x38b141(0x171)]?.[_0x38b141(0x9f)]?.[_0x38b141(0x309)]||null,error(_0x38b141(0x23c),_0x38b141(0x2a0),_0x16022e);}}}}const _0x424094=this[_0x38b141(0x190)](),_0xcb7d0d=this[_0x38b141(0xd2)](_0x5d2806);if(_0xcb7d0d)return error('RUN_CREATION_INCOMPLETE',_0x38b141(0x1c2),{'intent':_0xcb7d0d});const _0x374404=this[_0x38b141(0xbb)](_0x5d2806,_0x424094),_0x254a2f={'task':_0x5d2806,'runId':_0x424094,'pipeline':_0x5722f4,'schemaVersion':schemaVersion,'status':_0x38b141(0x1de),'originWorkspace':this['projectPath'],'requestedWorkspace':workspace,'runtimeVersion':require('../../package.json')[_0x38b141(0x188)],'args':_0x30d56e,'createdAt':this[_0x38b141(0x12b)]()[_0x38b141(0xbf)]()};this['atomicWriteJson'](_0x374404,_0x254a2f);let _0x1f5a3d=_0x38b141(0x2fc);try{const _0x4abaa1=this[_0x38b141(0x1ef)](_0x5d2806,_0x424094,workspace);if(!_0x4abaa1[_0x38b141(0x2f7)]){const _0x406fe7={..._0x254a2f};return _0x406fe7['status']=_0x38b141(0xef),_0x406fe7[_0x38b141(0x1fe)]=_0x4abaa1,this[_0x38b141(0x8f)](_0x374404,_0x406fe7),_0x4abaa1;}_0x254a2f[_0x38b141(0x86)]=_0x4abaa1[_0x38b141(0x86)],_0x254a2f[_0x38b141(0xaa)]=_0x38b141(0x25e),_0x1f5a3d=_0x38b141(0x1f3),this[_0x38b141(0x8f)](_0x374404,_0x254a2f);const _0x1b2d6b={'schemaVersion':schemaVersion,'task':_0x5d2806,'runId':_0x424094,'pipeline':_0x5722f4,'status':_0x38b141(0x133),'completedSteps':[],'originWorkspace':this[_0x38b141(0x26f)],'workspace':_0x4abaa1[_0x38b141(0x86)],'startedAt':this[_0x38b141(0x12b)]()[_0x38b141(0xbf)](),'updatedAt':this[_0x38b141(0x12b)]()[_0x38b141(0xbf)]()};_0x1f5a3d=_0x38b141(0x6f);if(schemaVersion===0x3)this[_0x38b141(0xb3)]['initialize'](_0x1b2d6b,_0x30d56e);else this[_0x38b141(0x1ab)](_0x1b2d6b);this['inheritUpgradeContext'](_0x1b2d6b),_0x1f5a3d='state-write';const _0x33f244={};_0x33f244[_0x38b141(0x238)]=!![],this[_0x38b141(0x203)](_0x1b2d6b,_0x33f244),_0x1f5a3d=_0x38b141(0x227),this[_0x38b141(0x2c5)](_0x1b2d6b,'Pipeline\x20started',_0x38b141(0x265)+_0x1b2d6b[_0x38b141(0x86)][_0x38b141(0xcc)]+_0x38b141(0x9b)+_0x2d1dd5[_0x38b141(0x2b5)][0x0]['id']),_0x1f5a3d='intent-complete';const _0xc43fca={..._0x254a2f};_0xc43fca[_0x38b141(0xaa)]=_0x38b141(0x282),this[_0x38b141(0x8f)](_0x374404,_0xc43fca);const _0x2a2e2c={};return _0x2a2e2c[_0x38b141(0x2f7)]=!![],this['formatStatus'](_0x1b2d6b,_0x2a2e2c);}catch(_0x64f64c){const _0x2ff01e=creationFailure(_0x64f64c,_0x1f5a3d);try{const _0x21d544={..._0x254a2f};_0x21d544['status']=_0x38b141(0x168),_0x21d544[_0x38b141(0x1fe)]=_0x2ff01e,this[_0x38b141(0x8f)](_0x374404,_0x21d544);}catch{}const _0x5010cd={};return _0x5010cd[_0x38b141(0x24a)]=_0x5d2806,_0x5010cd[_0x38b141(0x1e7)]=_0x424094,_0x5010cd[_0x38b141(0x80)]=_0x374404,_0x5010cd[_0x38b141(0x86)]=_0x254a2f[_0x38b141(0x86)],_0x5010cd[_0x38b141(0x2dc)]=_0x2ff01e[_0x38b141(0x12e)],_0x5010cd[_0x38b141(0x161)]=_0x2ff01e,error(_0x38b141(0x165),_0x38b141(0x10e),_0x5010cd);}}));}catch(_0x29ae39){return error(_0xc2b2cc(0x310),_0xc2b2cc(0x185),{'task':_0x5d2806,'diagnostic':creationFailure(_0x29ae39,'pre-create-state')});}}[_0x4acfa7(0xfc)](_0x5e6e83={}){const _0x26409a=_0x4acfa7;return this[_0x26409a(0xb3)]['next'](_0x5e6e83);}['cancelVerifications'](){return this['execution']['cancelVerifications']();}['recordVerificationAsync'](_0x37a813={}){return this['execution']['recordVerificationAsync'](_0x37a813);}['recordVerification'](_0x36e2f0={}){const _0x16e72f=_0x4acfa7;return this[_0x16e72f(0xb3)][_0x16e72f(0x28d)](_0x36e2f0);}['addReceiptObservation'](_0x15bde1={},_0x51b158){const _0x19bb03=_0x4acfa7;return this[_0x19bb03(0xb3)][_0x19bb03(0x2e7)](_0x15bde1,_0x51b158);}[_0x4acfa7(0x280)](_0x3f9574,_0x3717f4){const _0x24dd57=_0x4acfa7,_0x1341ef=PipelineManager[_0x24dd57(0x312)](_0x3f9574[_0x24dd57(0x24a)])||PipelineManager[_0x24dd57(0x91)](_0x3f9574[_0x24dd57(0x1e7)]);if(_0x1341ef)return _0x1341ef;return this['withLock'](_0x24dd57(0x2c8),()=>this[_0x24dd57(0x100)](_0x3f9574[_0x24dd57(0x24a)],()=>{const _0x2c1a09=_0x24dd57,_0x290eab=this[_0x2c1a09(0x152)](_0x3f9574[_0x2c1a09(0x24a)],_0x3f9574[_0x2c1a09(0x1e7)]);if(!_0x290eab||_0x290eab[_0x2c1a09(0x235)]!==0x3)return error('RUN_NOT_FOUND',_0x2c1a09(0x2b2));const _0xd38dfc=this[_0x2c1a09(0x20a)](_0x290eab);if(_0xd38dfc[_0x2c1a09(0xed)]===_0x2c1a09(0x201))return error(_0xd38dfc[_0x2c1a09(0x12e)],_0x2c1a09(0xba));if(!_0x3f9574[_0x2c1a09(0x121)]||_0x290eab['coordinator']!==_0x3f9574[_0x2c1a09(0x121)])return error(_0x2c1a09(0x30d),_0x2c1a09(0x2be));if(!require(_0x2c1a09(0x1bf))[_0x2c1a09(0x1e6)](_0x290eab[_0x2c1a09(0x86)]?.[_0x2c1a09(0xcc)]||'',this[_0x2c1a09(0x26f)]))return error(_0x2c1a09(0x259),'Run\x20does\x20not\x20belong\x20to\x20this\x20workspace.');const _0x1809ec=_0x290eab[_0x2c1a09(0xb3)][_0x2c1a09(0x133)][_0x2c1a09(0x303)](_0x53d883=>_0x53d883[_0x2c1a09(0x2ac)]===_0x3f9574[_0x2c1a09(0x2ac)]&&_0x53d883[_0x2c1a09(0xde)]===_0x3f9574[_0x2c1a09(0xde)]);if(!_0x1809ec)return error('ATTEMPT_MISMATCH',_0x2c1a09(0x1d0));if(_0x1809ec[_0x2c1a09(0x2f6)])return error(_0x2c1a09(0x288),_0x2c1a09(0x196));const _0x2d6b9c={};_0x2d6b9c[_0x2c1a09(0x17b)]=this,_0x2d6b9c[_0x2c1a09(0x26a)]=_0x290eab,_0x2d6b9c[_0x2c1a09(0x26e)]=_0x3f9574,_0x2d6b9c[_0x2c1a09(0x2aa)]=_0x3717f4;const _0xfe82d1=require('../core/native-receipt')['revalidateNativeReceipt'](_0x2d6b9c);if(!_0xfe82d1[_0x2c1a09(0x2f7)])return error(_0xfe82d1[_0x2c1a09(0x12e)],'Fresh\x20native\x20completion\x20proof\x20is\x20required\x20for\x20release.');const _0x4e5352=(_0x290eab[_0x2c1a09(0xb3)][_0x2c1a09(0xe5)]||[])[_0x2c1a09(0x303)](_0x462350=>_0x462350[_0x2c1a09(0x2ac)]===_0x3f9574[_0x2c1a09(0x2ac)]);if(_0x3717f4['status']!==_0x2c1a09(0x253)||!_0x3717f4['completedAt']||_0x3717f4[_0x2c1a09(0x223)]!==_0x2c1a09(0x2ae)||_0x4e5352?.['workerStatus']!==_0x2c1a09(0x277)||_0x4e5352[_0x2c1a09(0xcf)]!==_0x2c1a09(0xab)||_0x4e5352[_0x2c1a09(0x147)]!==_0x3717f4[_0x2c1a09(0x147)]||_0x4e5352[_0x2c1a09(0xde)]!==_0x3f9574[_0x2c1a09(0xde)])return error(_0x2c1a09(0x2a8),'The\x20reservation\x20has\x20no\x20confirmed\x20stopped\x20native\x20worker.');if(_0x1809ec[_0x2c1a09(0x214)]&&!_0x290eab['execution'][_0x2c1a09(0x133)]['some'](_0x489794=>_0x489794[_0x2c1a09(0x2ac)]!==_0x1809ec[_0x2c1a09(0x2ac)]&&_0x489794[_0x2c1a09(0x214)]===_0x1809ec['workItemId'])){const _0x57bf4d=_0x290eab[_0x2c1a09(0x11a)]?.['find'](_0x567e93=>_0x567e93['id']===_0x1809ec[_0x2c1a09(0x214)]);if(_0x57bf4d?.['status']===_0x2c1a09(0x2d1))_0x57bf4d['status']=_0x2c1a09(0x22c);}const _0x3d23fd=_0x290eab['execution'][_0x2c1a09(0x257)];this[_0x2c1a09(0xb3)][_0x2c1a09(0x7b)](_0x290eab,_0x1809ec);if(_0x290eab[_0x2c1a09(0xb3)][_0x2c1a09(0x2f1)])_0x290eab[_0x2c1a09(0xb3)][_0x2c1a09(0x257)]=_0x3d23fd;this['writeState'](_0x290eab),this[_0x2c1a09(0x2c5)](_0x290eab,_0x2c1a09(0xc5),_0x2c1a09(0x2f2)+_0x3f9574[_0x2c1a09(0xde)]+_0x2c1a09(0x2c3)+_0x3f9574[_0x2c1a09(0x2ac)]+'.\x20Completion\x20does\x20not\x20prove\x20a\x20review\x20verdict.');const _0x27a114={};return _0x27a114[_0x2c1a09(0x2f7)]=!![],_0x27a114['released']=!![],_0x27a114[_0x2c1a09(0xde)]=_0x3f9574[_0x2c1a09(0xde)],_0x27a114[_0x2c1a09(0x2ac)]=_0x3f9574[_0x2c1a09(0x2ac)],_0x27a114;}));}[_0x4acfa7(0x137)](_0x189317={}){const _0x7b614e=_0x4acfa7;return this[_0x7b614e(0xb3)]['canMutate'](_0x189317);}[_0x4acfa7(0x1ed)](_0x4f4fbf={}){const _0xb1b33b=_0x4acfa7;return this['execution'][_0xb1b33b(0x1ed)](_0x4f4fbf);}[_0x4acfa7(0x314)](_0x1bef2d={}){const _0x5a523e=_0x4acfa7,{task:_0x4e6e86,runId:_0x3f7e32,pipeline:_0x149139,step:_0x1df18b,status:_0x29fe3b,summary:_0x4383c2}=_0x1bef2d,_0x869cc=PipelineManager[_0x5a523e(0x312)](_0x4e6e86);if(_0x869cc)return _0x869cc;if(!_0x3f7e32)return error(_0x5a523e(0x207),_0x5a523e(0x20c));const _0x232823=PipelineManager['validateRunId'](_0x3f7e32);if(_0x232823)return _0x232823;const _0x19c3b3=this['readRun'](_0x4e6e86,_0x3f7e32);if(_0x19c3b3&&this[_0x5a523e(0x20a)](_0x19c3b3)[_0x5a523e(0xed)]==='blocked')return error(this[_0x5a523e(0x20a)](_0x19c3b3)[_0x5a523e(0x12e)],_0x5a523e(0x139));if(_0x19c3b3?.['schemaVersion']===0x3)return this['execution'][_0x5a523e(0x314)](_0x1bef2d);return this[_0x5a523e(0x100)](_0x4e6e86,()=>{const _0x87dd70=_0x5a523e,_0xb27dd0=this[_0x87dd70(0x152)](_0x4e6e86,_0x3f7e32);if(!_0xb27dd0)return error(_0x87dd70(0x2af),'Run\x20\x22'+_0x3f7e32+'\x22\x20was\x20not\x20found\x20for\x20task\x20\x22'+_0x4e6e86+'\x22.');const _0x2a1b13=this[_0x87dd70(0x19f)](_0x4e6e86);if(!_0x2a1b13||_0x2a1b13[_0x87dd70(0x1e7)]!==_0x3f7e32)return error(_0x87dd70(0x115),'This\x20run\x20is\x20no\x20longer\x20the\x20current\x20run\x20for\x20the\x20task.');if(_0xb27dd0[_0x87dd70(0xaa)]!==_0x87dd70(0x133))return error(_0x87dd70(0x136),_0x87dd70(0x1b0)+_0xb27dd0[_0x87dd70(0xaa)]+',\x20not\x20active.');if(_0x149139&&_0x149139!==_0xb27dd0['pipeline'])return error(_0x87dd70(0x149),'Run\x20uses\x20pipeline\x20\x22'+_0xb27dd0[_0x87dd70(0x250)]+_0x87dd70(0x112)+_0x149139+'\x22.');if(_0x29fe3b!==_0x87dd70(0x282))return error(_0x87dd70(0x2e3),_0x87dd70(0x2b7));const _0x5776f5=_0xb27dd0[_0x87dd70(0xd1)],_0x321aca=_0x5776f5[_0x87dd70(0x2b5)][_0xb27dd0[_0x87dd70(0x158)][_0x87dd70(0x2fb)]];if(!_0x321aca||_0x321aca['id']!==_0x1df18b)return error('STEP_OUT_OF_ORDER',_0x87dd70(0x26c)+(_0x321aca?.['id']||_0x87dd70(0x142))+_0x87dd70(0x271)+_0x1df18b+'\x22.',{'expected_step':_0x321aca?.['id']||null});if(_0x321aca[_0x87dd70(0xae)]){const _0x58f680=this[_0x87dd70(0x276)](_0x321aca[_0x87dd70(0xae)],_0xb27dd0['workspace'][_0x87dd70(0xcc)]);if(_0x58f680)return _0x58f680;}if(_0xb27dd0['pipeline']===_0x87dd70(0x301)&&_0x1df18b===_0x87dd70(0x17c)&&(!_0x4383c2||_0x4383c2['trim']()[_0x87dd70(0x2fb)]<0xa))return error(_0x87dd70(0x88),_0x87dd70(0xd5));_0xb27dd0['completedSteps'][_0x87dd70(0x123)]({'id':_0x1df18b,'summary':_0x4383c2||'','completedAt':this[_0x87dd70(0x12b)]()[_0x87dd70(0xbf)]()});if(_0xb27dd0[_0x87dd70(0x158)][_0x87dd70(0x2fb)]===_0x5776f5[_0x87dd70(0x2b5)][_0x87dd70(0x2fb)])_0xb27dd0[_0x87dd70(0xaa)]=_0x87dd70(0x282);this['writeState'](_0xb27dd0),this[_0x87dd70(0x2c5)](_0xb27dd0,_0x87dd70(0x20d)+_0x1df18b,_0x4383c2||'(no\x20summary)');const _0x3f34ef={};_0x3f34ef[_0x87dd70(0x2f7)]=!![];const _0xe81566=this[_0x87dd70(0x182)](_0xb27dd0,_0x3f34ef);if(MEMORY_TRIGGERS[_0x1df18b])_0xe81566[_0x87dd70(0x1d3)]=MEMORY_TRIGGERS[_0x1df18b];return _0xe81566;});}['inheritUpgradeContext'](_0x44dd32){const _0x34381b=_0x4acfa7,_0x1f5af0=this[_0x34381b(0x291)](path[_0x34381b(0xe2)](this[_0x34381b(0x240)](_0x44dd32[_0x34381b(0x24a)]),'upgrade-lineage.json'));if(!_0x1f5af0||_0x1f5af0[_0x34381b(0x24a)]!==_0x44dd32['task']||PipelineManager[_0x34381b(0x91)](_0x1f5af0[_0x34381b(0x1e7)]))return;const _0x1a91c6=this['readRun'](_0x44dd32[_0x34381b(0x24a)],_0x1f5af0[_0x34381b(0x1e7)]),_0x454fae=_0x1a91c6?.[_0x34381b(0xaa)]==='cancelled'&&(_0x1a91c6[_0x34381b(0x2ea)]?.[_0x34381b(0x2dc)]===_0x34381b(0x1b8)&&_0x1a91c6[_0x34381b(0x2ea)][_0x34381b(0x2e9)]===_0x1f5af0[_0x34381b(0x2e9)]||_0x1a91c6[_0x34381b(0x7d)]?.['transactionId']===_0x1f5af0[_0x34381b(0x2e9)]);if(!_0x1a91c6||!_0x454fae||!require(_0x34381b(0x1bf))[_0x34381b(0x1e6)](_0x1a91c6['workspace']?.[_0x34381b(0xcc)]||'',_0x44dd32[_0x34381b(0x86)][_0x34381b(0xcc)]))return;_0x44dd32[_0x34381b(0x268)]={'task':_0x44dd32[_0x34381b(0x24a)],'runId':_0x1a91c6['runId'],'reason':'runtime-upgrade','requirements':[..._0x1a91c6[_0x34381b(0x2ef)]?.[_0x34381b(0x217)]||[]],'findings':JSON[_0x34381b(0x22a)](JSON[_0x34381b(0x281)](Object['values'](_0x1a91c6[_0x34381b(0x171)]?.['findings']||{})[_0x34381b(0x75)](_0x59469e=>_0x59469e[_0x34381b(0x1c9)]!==![]&&![_0x34381b(0xd7),_0x34381b(0x319)]['includes'](_0x59469e[_0x34381b(0xaa)])))),'attempts':{..._0x1a91c6['execution']?.[_0x34381b(0x119)]||{}},'noProgress':_0x1a91c6[_0x34381b(0xb3)]?.[_0x34381b(0x229)]||0x0,'lastFailure':_0x1a91c6[_0x34381b(0xb3)]?.[_0x34381b(0x98)]||null,'progress':(_0x1a91c6[_0x34381b(0x11a)]||[])[_0x34381b(0xc8)](_0x3ed5ba=>({'id':_0x3ed5ba['id'],'noProgress':_0x3ed5ba[_0x34381b(0x229)]||0x0,'lastFailure':_0x3ed5ba['lastFailure']||null}))};if(_0x44dd32[_0x34381b(0x235)]!==0x3)return;_0x44dd32['execution'][_0x34381b(0x119)]={..._0x44dd32['inherited']['attempts']};const _0x22da8b=_0x2ab405=>[_0x34381b(0x11b),_0x34381b(0x2a5),_0x34381b(0x285),_0x34381b(0x174),_0x34381b(0xdf),'acceptance'][_0x34381b(0x225)](_0x2ab405)?_0x34381b(0x2a1):_0x2ab405,_0x40adf1=new Set((_0x44dd32['definition']?.[_0x34381b(0x2b5)]||[])['map'](_0x461400=>_0x22da8b(_0x461400['id']))),_0x30c448=Object[_0x34381b(0x278)](_0x44dd32[_0x34381b(0x268)][_0x34381b(0x119)])[_0x34381b(0x75)](([_0x2a0ce4])=>!_0x2a0ce4['startsWith'](_0x34381b(0xee))&&!_0x40adf1['has'](_0x2a0ce4))[_0x34381b(0xc8)](([,_0x471c88])=>_0x471c88);if(_0x30c448['length'])_0x44dd32[_0x34381b(0xb3)][_0x34381b(0x181)]=Math['max'](0x0,..._0x30c448);_0x44dd32[_0x34381b(0xb3)][_0x34381b(0x229)]=_0x44dd32[_0x34381b(0x268)][_0x34381b(0x229)],_0x44dd32[_0x34381b(0xb3)]['lastFailure']=_0x44dd32['inherited'][_0x34381b(0x98)];[_0x34381b(0x18d),_0x34381b(0x17a)][_0x34381b(0x225)](_0x1a91c6[_0x34381b(0xb3)]?.[_0x34381b(0x2f1)])&&(_0x44dd32[_0x34381b(0xaa)]='paused',_0x44dd32[_0x34381b(0xb3)]['stopReason']=_0x1a91c6[_0x34381b(0xb3)][_0x34381b(0x2f1)],_0x44dd32['execution'][_0x34381b(0x13e)]=this[_0x34381b(0x12b)]()[_0x34381b(0xbf)]());for(const _0x5acc75 of _0x44dd32[_0x34381b(0x268)][_0x34381b(0x27c)])if(_0x44dd32[_0x34381b(0x171)])_0x44dd32[_0x34381b(0x171)][_0x34381b(0x27c)][_0x5acc75['id']]={..._0x5acc75,'status':_0x34381b(0x1dd),'inheritedFrom':_0x1a91c6['runId'],'resolution':null};}[_0x4acfa7(0x109)]({task:_0x31cecb,runId:_0x38d35a,transactionId:_0x5b502d,epoch:_0x28d035,target:_0x13a71b}){const _0x3847f1=_0x4acfa7,{readFence:_0x511541}=require('../core/admission-fence'),_0x5541e8=_0x511541(this[_0x3847f1(0x26f)]);if(_0x5541e8[_0x3847f1(0x26a)]!==_0x3847f1(0x2a2)||_0x5541e8[_0x3847f1(0x2e9)]!==_0x5b502d||_0x5541e8['epoch']!==_0x28d035||_0x5541e8[_0x3847f1(0x18e)]!==_0x13a71b?.[_0x3847f1(0x188)]||_0x5541e8[_0x3847f1(0x19b)]!==_0x13a71b?.['digest'])return error('ADMISSION_CONFLICT',_0x3847f1(0x16d));const _0x2a6a40=PipelineManager['validateTask'](_0x31cecb)||PipelineManager[_0x3847f1(0x91)](_0x38d35a);if(_0x2a6a40)return _0x2a6a40;return this[_0x3847f1(0x100)](_0x31cecb,()=>{const _0x4555e9=_0x3847f1,_0x64f889=this[_0x4555e9(0x152)](_0x31cecb,_0x38d35a);if(!_0x64f889||!_0x64f889[_0x4555e9(0x86)]?.['path']||!require('../core/workspace-path')['sameWorkspace'](_0x64f889[_0x4555e9(0x86)]['path'],this[_0x4555e9(0x26f)]))return error(_0x4555e9(0x259),_0x4555e9(0x287));const _0x553032=_0x64f889[_0x4555e9(0xaa)]===_0x4555e9(0x9e)&&_0x64f889[_0x4555e9(0x2ea)]?.['transactionId']===_0x5b502d||_0x64f889[_0x4555e9(0x7d)]?.['transactionId']===_0x5b502d,_0x29bb05={};_0x29bb05[_0x4555e9(0x2f7)]=!![],_0x29bb05['terminal']=!![];if(!_0x553032&&[_0x4555e9(0x282),_0x4555e9(0x9e)][_0x4555e9(0x225)](_0x64f889['status']))return _0x29bb05;if(_0x64f889[_0x4555e9(0xb3)]?.['active']?.[_0x4555e9(0x2fb)]||(_0x64f889[_0x4555e9(0xb3)]?.[_0x4555e9(0xe5)]||[])[_0x4555e9(0x83)](_0x2aa2df=>_0x2aa2df['workerStatus']==='confirmed'&&_0x2aa2df[_0x4555e9(0xcf)]!==_0x4555e9(0xab)))return error(_0x4555e9(0x2a8),_0x4555e9(0x2c7));if(!_0x553032&&_0x64f889[_0x4555e9(0xaa)]==='initializing')_0x64f889['status']=_0x4555e9(0x9e),_0x64f889[_0x4555e9(0x1d8)]=this[_0x4555e9(0x12b)]()[_0x4555e9(0xbf)](),_0x64f889[_0x4555e9(0x2ea)]={'reason':_0x4555e9(0x1b8),'transactionId':_0x5b502d,'target':_0x13a71b,'epoch':_0x28d035,'cancelledAt':_0x64f889[_0x4555e9(0x1d8)]},this[_0x4555e9(0x203)](_0x64f889),this[_0x4555e9(0x2c5)](_0x64f889,_0x4555e9(0x284),_0x4555e9(0x10d)+_0x5b502d+_0x4555e9(0xc2));else{if(!_0x553032){const _0x4360cb=this[_0x4555e9(0x12b)]()[_0x4555e9(0xbf)]();_0x64f889[_0x4555e9(0x7d)]={'previousStatus':_0x64f889['status'],'transactionId':_0x5b502d,'target':_0x13a71b,'epoch':_0x28d035,'pausedAt':_0x4360cb},_0x64f889[_0x4555e9(0xaa)]!==_0x4555e9(0x99)&&(_0x64f889[_0x4555e9(0xaa)]=_0x4555e9(0x99),_0x64f889['execution'][_0x4555e9(0x12f)]=_0x4555e9(0x1b8),_0x64f889[_0x4555e9(0xb3)][_0x4555e9(0x2f1)]=_0x4555e9(0x1b8),_0x64f889[_0x4555e9(0xb3)]['pausedAt']=_0x4360cb),this[_0x4555e9(0x203)](_0x64f889),this[_0x4555e9(0x2c5)](_0x64f889,_0x4555e9(0xb2),_0x4555e9(0x10d)+_0x5b502d+_0x4555e9(0xb0));}}this[_0x4555e9(0x8f)](path[_0x4555e9(0xe2)](this[_0x4555e9(0x240)](_0x31cecb),_0x4555e9(0x1b9)),{'task':_0x31cecb,'runId':_0x38d35a,'transactionId':_0x5b502d,'target':_0x13a71b});if(_0x64f889['status']===_0x4555e9(0x9e)){const _0x2dc24b=this[_0x4555e9(0x291)](this[_0x4555e9(0xec)](_0x31cecb));if(_0x2dc24b?.[_0x4555e9(0x1e7)]===_0x38d35a)fs['unlinkSync'](this[_0x4555e9(0xec)](_0x31cecb));}const _0x187448=new(require(_0x4555e9(0x21a)))[(_0x4555e9(0x22b))](this[_0x4555e9(0x26f)]);if(fs['existsSync'](_0x187448[_0x4555e9(0x27f)]))for(const _0x17d86e of fs[_0x4555e9(0x87)](_0x187448[_0x4555e9(0x27f)])){if(!/^[a-f0-9]{64}\.json$/['test'](_0x17d86e))continue;const _0x39876b=this[_0x4555e9(0x291)](path[_0x4555e9(0xe2)](_0x187448[_0x4555e9(0x27f)],_0x17d86e));if(_0x39876b?.[_0x4555e9(0x24a)]===_0x31cecb&&_0x39876b[_0x4555e9(0x1e7)]===_0x38d35a)_0x187448['transact'](_0x39876b['sessionId'],_0x4e3ac5=>{const _0x43e856=_0x4555e9,_0x224bb9={};_0x224bb9[_0x43e856(0x24a)]=_0x31cecb,_0x224bb9['runId']=_0x38d35a,_0x224bb9[_0x43e856(0x2dc)]='runtime-upgrade',_0x4e3ac5[_0x43e856(0x21c)]=_0x224bb9,_0x4e3ac5['task']=null,_0x4e3ac5[_0x43e856(0x1e7)]=null,_0x4e3ac5[_0x43e856(0x2ac)]=null,_0x4e3ac5[_0x43e856(0x119)]={};});}const _0x446dca={};return _0x446dca[_0x4555e9(0x2f7)]=!![],_0x446dca[_0x4555e9(0x25c)]=_0x553032,_0x446dca[_0x4555e9(0x2ea)]=_0x64f889[_0x4555e9(0x2ea)],_0x446dca[_0x4555e9(0x7d)]=_0x64f889[_0x4555e9(0x7d)],_0x446dca;});}[_0x4acfa7(0x12d)]({task:_0x4db5cf,runId:_0xf48bbf,confirm:_0x5087c3,target:target=_0x4acfa7(0x1f1),sessionId:_0x572abf}={}){const _0xfa8c90=_0x4acfa7,_0x5e671b=PipelineManager[_0xfa8c90(0x312)](_0x4db5cf);if(_0x5e671b)return _0x5e671b;if(!_0xf48bbf)return error(_0xfa8c90(0x207),'runId\x20is\x20required\x20for\x20pipeline\x20reset.');const _0x2943f9=PipelineManager[_0xfa8c90(0x91)](_0xf48bbf);if(_0x2943f9)return _0x2943f9;if(_0x5087c3!==!![])return error(_0xfa8c90(0x11f),_0xfa8c90(0x74));if(!['run',_0xfa8c90(0x191)]['includes'](target))return error('INVALID_RESET_TARGET',_0xfa8c90(0x1e0));return this[_0xfa8c90(0x100)](_0x4db5cf,()=>{const _0x3324ec=_0xfa8c90;if(target==='creation'){const _0x55f91d=this['creationIntentFile'](_0x4db5cf,_0xf48bbf),_0x11bb67=this[_0x3324ec(0x291)](_0x55f91d);if(!_0x11bb67||_0x11bb67[_0x3324ec(0x24a)]!==_0x4db5cf||_0x11bb67[_0x3324ec(0x1e7)]!==_0xf48bbf||![_0x3324ec(0x1de),_0x3324ec(0x25e),_0x3324ec(0x168)][_0x3324ec(0x225)](_0x11bb67[_0x3324ec(0xaa)]))return error(_0x3324ec(0x255),_0x3324ec(0x292));if(!_0x572abf||_0x11bb67[_0x3324ec(0x26e)]?.['sessionId']&&_0x11bb67[_0x3324ec(0x26e)][_0x3324ec(0x121)]!==_0x572abf)return error(_0x3324ec(0x30d),'Resolve\x20creation\x20with\x20its\x20recorded\x20coordinator\x20session.');if(PipelineManager[_0x3324ec(0x1f5)](_0x11bb67[_0x3324ec(0x209)])||_0x11bb67[_0x3324ec(0x131)]&&(typeof _0x11bb67[_0x3324ec(0x131)]!=='string'||normalizePath(_0x11bb67[_0x3324ec(0x131)])!==this[_0x3324ec(0x26f)])||!_0x11bb67[_0x3324ec(0x86)]||_0x11bb67['workspace']['managed']||!_0x11bb67['workspace'][_0x3324ec(0xcc)]||normalizePath(_0x11bb67[_0x3324ec(0x86)][_0x3324ec(0xcc)])!==this['projectPath'])return error(_0x3324ec(0x1d7),_0x3324ec(0x1a6));if(this[_0x3324ec(0x152)](_0x4db5cf,_0xf48bbf)||fs[_0x3324ec(0xa2)](this[_0x3324ec(0x11d)](_0x4db5cf,_0xf48bbf))||fs[_0x3324ec(0xa2)](this[_0x3324ec(0xec)](_0x4db5cf)))return error(_0x3324ec(0x263),_0x3324ec(0x22f));this[_0x3324ec(0x8f)](_0x55f91d,{..._0x11bb67,'status':_0x3324ec(0xf2),'resolvedAt':this[_0x3324ec(0x12b)]()[_0x3324ec(0xbf)](),'resolvedBySession':_0x572abf,'resolution':'explicit-creation-reset'});const _0x38727b={};return _0x38727b[_0x3324ec(0x2f7)]=!![],_0x38727b[_0x3324ec(0x24a)]=_0x4db5cf,_0x38727b['runId']=_0xf48bbf,_0x38727b[_0x3324ec(0x15d)]=_0x3324ec(0x191),_0x38727b['intentFile']=_0x55f91d,_0x38727b[_0x3324ec(0x26a)]=_0x3324ec(0xf2),_0x38727b['freshStartAvailable']=!![],_0x38727b;}const _0x45df92=this[_0x3324ec(0x152)](_0x4db5cf,_0xf48bbf);if(!_0x45df92)return error(_0x3324ec(0x2af),_0x3324ec(0x2e5)+_0xf48bbf+_0x3324ec(0x211));const _0x3b04ae=this[_0x3324ec(0x20a)](_0x45df92);if(_0x3b04ae[_0x3324ec(0xed)]===_0x3324ec(0x201))return error(_0x3b04ae['code'],_0x3324ec(0x1d9));if(_0x45df92[_0x3324ec(0x15a)]&&_0x45df92[_0x3324ec(0x15a)]!==_0x572abf)return error(_0x3324ec(0x30d),_0x3324ec(0x246));const _0xea4a4a=this[_0x3324ec(0x19f)](_0x4db5cf);if(!_0xea4a4a||_0xea4a4a[_0x3324ec(0x1e7)]!==_0xf48bbf)return error(_0x3324ec(0x115),_0x3324ec(0x241));if(![_0x3324ec(0x133),'paused'][_0x3324ec(0x225)](_0x45df92['status']))return error('RUN_NOT_ACTIVE',_0x3324ec(0x1b0)+_0x45df92[_0x3324ec(0xaa)]+_0x3324ec(0x15f));if(_0x45df92[_0x3324ec(0xb3)]?.[_0x3324ec(0x133)][_0x3324ec(0x2fb)])return error(_0x3324ec(0xce),_0x3324ec(0x30f)+_0x45df92[_0x3324ec(0xb3)][_0x3324ec(0x133)][_0x3324ec(0xc8)](_0x5b3eed=>_0x3324ec(0x1b5)+_0x5b3eed[_0x3324ec(0x2ac)]+_0x3324ec(0x72)+_0x5b3eed[_0x3324ec(0xde)]+',\x20'+_0x5b3eed[_0x3324ec(0x177)]+')')[_0x3324ec(0xe2)](',\x20')+'.\x20For\x20each,\x20once\x20its\x20worker\x20has\x20stopped,\x20call\x20pipeline_checkpoint(action=\x22release\x22,\x20attemptId,\x20actorId,\x20workerStopped=true,\x20reason).',{'activeAttempts':_0x45df92[_0x3324ec(0xb3)]['active'][_0x3324ec(0xc8)](_0x54f06e=>({'attemptId':_0x54f06e['attemptId'],'actorId':_0x54f06e['actorId'],'step':_0x54f06e[_0x3324ec(0x177)]}))});_0x45df92[_0x3324ec(0xaa)]=_0x3324ec(0x9e),_0x45df92[_0x3324ec(0x1d8)]=this[_0x3324ec(0x12b)]()[_0x3324ec(0xbf)](),this[_0x3324ec(0x203)](_0x45df92),this[_0x3324ec(0x2c5)](_0x45df92,_0x3324ec(0x2bb),'Cancelled\x20by\x20explicit\x20request.\x20History\x20was\x20preserved.');const _0x3f3880={};return _0x3f3880[_0x3324ec(0x2f7)]=!![],this[_0x3324ec(0x182)](_0x45df92,_0x3f3880);});}['use'](_0x60ee27,_0x5cc86b){const _0x5d40bf=_0x4acfa7,_0x5b3955=PipelineManager[_0x5d40bf(0x312)](_0x60ee27);if(_0x5b3955)return _0x5b3955;if(!_0x5cc86b)return error(_0x5d40bf(0x207),_0x5d40bf(0x28f));const _0xc8a017=PipelineManager[_0x5d40bf(0x91)](_0x5cc86b);if(_0xc8a017)return _0xc8a017;const _0x305863=this[_0x5d40bf(0x231)](_0x60ee27,_0x5cc86b);if(_0x305863?.[_0x5d40bf(0x2f7)]===![])return _0x305863;if(!_0x305863)return error(_0x5d40bf(0x2af),_0x5d40bf(0x2e5)+_0x5cc86b+_0x5d40bf(0x211));const _0x2aa1c9=this[_0x5d40bf(0x20a)](_0x305863);if(_0x2aa1c9[_0x5d40bf(0xed)]==='blocked')return error(_0x2aa1c9[_0x5d40bf(0x12e)],_0x5d40bf(0x21d));if(![_0x5d40bf(0x133),_0x5d40bf(0x99)]['includes'](_0x305863[_0x5d40bf(0xaa)]))return error(_0x5d40bf(0x136),_0x5d40bf(0x1b0)+_0x305863[_0x5d40bf(0xaa)]+',\x20not\x20resumable.');const _0x148a09={};return _0x148a09[_0x5d40bf(0x2f7)]=!![],this[_0x5d40bf(0x182)](_0x305863,_0x148a09);}['formatStatus'](_0x1dbce4,_0x3c956a={}){const _0x4c9b9e=_0x4acfa7,_0xbba0a1={};_0xbba0a1['validateStorage']=![];const _0x2f932a=this[_0x4c9b9e(0x20a)](_0x1dbce4,_0xbba0a1),_0x3b9eaa=_0x1dbce4[_0x4c9b9e(0x235)]===0x3?_0x1dbce4[_0x4c9b9e(0xd1)]:_0x1dbce4[_0x4c9b9e(0xd1)]||PIPELINE_DEFINITIONS[_0x1dbce4[_0x4c9b9e(0x250)]],_0x4ddd6f={..._0x3c956a};_0x4ddd6f[_0x4c9b9e(0x133)]=![],_0x4ddd6f[_0x4c9b9e(0x26a)]=_0x1dbce4[_0x4c9b9e(0xaa)],_0x4ddd6f['task']=_0x1dbce4[_0x4c9b9e(0x24a)],_0x4ddd6f[_0x4c9b9e(0x1e7)]=_0x1dbce4['runId'],_0x4ddd6f[_0x4c9b9e(0x250)]=_0x1dbce4['pipeline'],_0x4ddd6f[_0x4c9b9e(0x2ba)]=_0x2f932a,_0x4ddd6f[_0x4c9b9e(0x201)]=!![],_0x4ddd6f[_0x4c9b9e(0x257)]={},_0x4ddd6f[_0x4c9b9e(0x257)][_0x4c9b9e(0x7e)]='contract-unavailable',_0x4ddd6f[_0x4c9b9e(0x257)][_0x4c9b9e(0x12e)]=_0x2f932a[_0x4c9b9e(0x12e)];if(!_0x3b9eaa?.[_0x4c9b9e(0x2b5)])return _0x4ddd6f;const _0x1ea68e=_0x1dbce4[_0x4c9b9e(0x158)]['length'],_0xf495e4=_0x3b9eaa[_0x4c9b9e(0x2b5)][_0x1ea68e]||null,_0x1e35e0={..._0x3c956a,'active':_0x1dbce4[_0x4c9b9e(0xaa)]===_0x4c9b9e(0x133),'state':_0x1dbce4['status'],'task':_0x1dbce4['task'],'runId':_0x1dbce4['runId'],'pipeline':_0x1dbce4[_0x4c9b9e(0x250)],'pipeline_name':_0x3b9eaa[_0x4c9b9e(0x290)],'progress':_0x1ea68e+'/'+_0x3b9eaa[_0x4c9b9e(0x2b5)]['length'],'completed':_0x1dbce4['completedSteps'][_0x4c9b9e(0xc8)](_0x3bdd2c=>_0x3bdd2c['id']),'next_step':_0xf495e4?{'id':_0xf495e4['id'],'name':_0xf495e4[_0x4c9b9e(0x290)],'skill':_0xf495e4[_0x4c9b9e(0xae)]}:null,'workspacePath':_0x1dbce4[_0x4c9b9e(0x86)][_0x4c9b9e(0xcc)],'stateRoot':this['stateRoot'],'ledgerPath':this[_0x4c9b9e(0x25b)](_0x1dbce4[_0x4c9b9e(0x24a)],_0x1dbce4[_0x4c9b9e(0x1e7)]),'workspace':_0x1dbce4[_0x4c9b9e(0x86)],'compatibility':_0x2f932a,'cancellation':_0x1dbce4['cancellation']||null,'inherited':_0x1dbce4[_0x4c9b9e(0x268)]||null,'tool_routing':TOOL_ROUTING};if(_0x2f932a[_0x4c9b9e(0xed)]==='blocked')return{..._0x1e35e0,'active':![],'blocked':!![],'nextAction':{'kind':_0x4c9b9e(0x16c),'code':_0x2f932a[_0x4c9b9e(0x12e)]}};const _0x168633={};_0x168633[_0x4c9b9e(0x7e)]=_0x4c9b9e(0x2ab);const _0x514eb9={};_0x514eb9[_0x4c9b9e(0x222)]='pipeline_checkpoint(action=resume)\x20continues\x20the\x20run\x20on\x20the\x20new\x20runtime';const _0x2efd0d={};_0x2efd0d[_0x4c9b9e(0x7e)]=_0x4c9b9e(0x21f);if(_0x1dbce4[_0x4c9b9e(0x235)]===0x3)Object[_0x4c9b9e(0x11c)](_0x1e35e0,{...require(_0x4c9b9e(0x2df))[_0x4c9b9e(0x1ad)](_0x1dbce4,_0xf495e4?.['id']),'schemaVersion':0x3,'versions':_0x1dbce4[_0x4c9b9e(0x1f4)],'acceptance':_0x1dbce4['acceptance'],'sessionId':_0x1dbce4['coordinator'],'workItems':_0x1dbce4['workItems'],'plannedItems':(_0x1dbce4[_0x4c9b9e(0x11a)]||[])['map'](publicItem),'execution':_0x1dbce4[_0x4c9b9e(0xb3)],'receiptObservations':_0x1dbce4[_0x4c9b9e(0xb3)][_0x4c9b9e(0xe5)]||[],'verification_level':_0x1dbce4[_0x4c9b9e(0x171)]?_0x4c9b9e(0x90):'snapshot-evidence','stop_reason':_0x1dbce4['execution'][_0x4c9b9e(0x2f1)],'nextAction':_0x1dbce4['status']===_0x4c9b9e(0x9e)?{'kind':_0x4c9b9e(0x14f),'reason':_0x1dbce4['cancellation']?.['reason']||_0x4c9b9e(0x9e)}:_0x1dbce4[_0x4c9b9e(0xaa)]===_0x4c9b9e(0x282)?_0x168633:_0x1dbce4[_0x4c9b9e(0xaa)]==='paused'?{'kind':_0x4c9b9e(0x99),'reason':_0x1dbce4['execution']['stopReason'],..._0x1dbce4[_0x4c9b9e(0xb3)][_0x4c9b9e(0x2f1)]===_0x4c9b9e(0x1b8)?_0x514eb9:{}}:_0x1dbce4[_0x4c9b9e(0xb3)][_0x4c9b9e(0x257)]||_0x2efd0d});if(_0x1dbce4[_0x4c9b9e(0x171)]&&_0x3c956a[_0x4c9b9e(0x2e4)]===![])_0x1e35e0[_0x4c9b9e(0x171)]={'plan':_0x1dbce4['quality'][_0x4c9b9e(0x9f)],'freshness':_0x4c9b9e(0x294),'reason':_0x4c9b9e(0x1ff),'checks':Object['fromEntries'](_0x1dbce4[_0x4c9b9e(0x171)][_0x4c9b9e(0x9f)][_0x4c9b9e(0x254)][_0x4c9b9e(0xc8)](_0x3b3b65=>[_0x3b3b65['id'],_0x4c9b9e(0x294)])),'criteria':Object['fromEntries'](_0x1dbce4['quality'][_0x4c9b9e(0x9f)][_0x4c9b9e(0x217)][_0x4c9b9e(0xc8)](_0x458a75=>[_0x458a75['id'],{'expectedOutcome':_0x458a75[_0x4c9b9e(0x2ed)],'source':_0x458a75[_0x4c9b9e(0x223)],'status':_0x4c9b9e(0x294)}])),'missingChecks':_0x1dbce4[_0x4c9b9e(0x171)][_0x4c9b9e(0x9f)][_0x4c9b9e(0x254)][_0x4c9b9e(0x75)](_0x8eaa4=>_0x8eaa4[_0x4c9b9e(0x1c9)]!==![])['map'](_0x3bbadb=>_0x3bbadb['id']),'openFindings':this[_0x4c9b9e(0xb3)][_0x4c9b9e(0xe9)](_0x1dbce4,null),'hardening':this[_0x4c9b9e(0xb3)]['hardeningFindings'](_0x1dbce4),'unavailable':_0x1dbce4['quality'][_0x4c9b9e(0x295)]||{},'reviewProvenance':[],'impactEscalation':_0x1dbce4[_0x4c9b9e(0x171)][_0x4c9b9e(0xda)]||null};else{if(_0x1dbce4[_0x4c9b9e(0x171)]){const _0x493d81=this[_0x4c9b9e(0xb3)]['snapshot'](_0x1dbce4),_0x285ded=_0x493d81['id'],_0x570b76=Object[_0x4c9b9e(0x108)](_0x1dbce4[_0x4c9b9e(0x171)][_0x4c9b9e(0x9f)][_0x4c9b9e(0x254)][_0x4c9b9e(0xc8)](_0x366b91=>{const _0x5249a6=_0x4c9b9e,_0x3a14b4=_0x1dbce4[_0x5249a6(0xb3)]['evidence']['filter'](_0x20df72=>_0x20df72['quality']?.[_0x5249a6(0x198)]===_0x366b91['id']&&_0x20df72[_0x5249a6(0x6f)]===_0x285ded&&_0x20df72[_0x5249a6(0x2d2)]===_0x1dbce4[_0x5249a6(0x2ef)][_0x5249a6(0xc6)]&&!_0x20df72[_0x5249a6(0x26d)])['at'](-0x1);return[_0x366b91['id'],_0x3a14b4&&artifactEvidenceCurrent(_0x1dbce4,_0x3a14b4)?_0x3a14b4[_0x5249a6(0x171)]['status']:_0x5249a6(0x294)];})),_0x4b6fa5=Object[_0x4c9b9e(0x108)](_0x1dbce4[_0x4c9b9e(0x171)][_0x4c9b9e(0x9f)][_0x4c9b9e(0x217)]['map'](_0x48fae4=>{const _0x4b4bf8=_0x4c9b9e,_0x1ef9d8=new Set([..._0x48fae4[_0x4b4bf8(0x1d5)],..._0x1dbce4['quality'][_0x4b4bf8(0x9f)][_0x4b4bf8(0x254)][_0x4b4bf8(0x75)](_0x4a4c26=>_0x4a4c26[_0x4b4bf8(0x1c9)]!==![]&&_0x4a4c26[_0x4b4bf8(0xa7)][_0x4b4bf8(0x225)](_0x48fae4['id']))['map'](_0x396655=>_0x396655['id'])]);return[_0x48fae4['id'],{'expectedOutcome':_0x48fae4[_0x4b4bf8(0x2ed)],'source':_0x48fae4['source'],'status':[..._0x1ef9d8][_0x4b4bf8(0xc7)](_0x6c01e5=>_0x570b76[_0x6c01e5]===_0x4b4bf8(0x24e))&&(!_0x1dbce4[_0x4b4bf8(0x171)]['plan'][_0x4b4bf8(0x124)]||_0x1dbce4[_0x4b4bf8(0x171)][_0x4b4bf8(0x9f)]['checks'][_0x4b4bf8(0x83)](_0x4fc816=>_0x4fc816['required']!==![]&&_0x4fc816[_0x4b4bf8(0x2a6)]?.[_0x4b4bf8(0x2fb)]))?_0x4b4bf8(0x24e):[..._0x1ef9d8]['some'](_0x3b7f9f=>_0x570b76[_0x3b7f9f]===_0x4b4bf8(0xef))?_0x4b4bf8(0xef):_0x4b4bf8(0x294)}];}));_0x1e35e0[_0x4c9b9e(0x171)]={'plan':_0x1dbce4['quality'][_0x4c9b9e(0x9f)],'freshness':'verified','checks':_0x570b76,'openFindings':this['execution'][_0x4c9b9e(0xe9)](_0x1dbce4,_0x493d81),'hardening':this[_0x4c9b9e(0xb3)]['hardeningFindings'](_0x1dbce4),'impactEscalation':_0x1dbce4[_0x4c9b9e(0x171)]['impactEscalation']||null,'criteria':_0x4b6fa5,'missingChecks':this['execution'][_0x4c9b9e(0xe6)](_0x1dbce4,undefined,_0x285ded),'unavailable':_0x1dbce4['quality'][_0x4c9b9e(0x295)]||{},'reviewProvenance':_0x1dbce4[_0x4c9b9e(0xb3)][_0x4c9b9e(0xdc)][_0x4c9b9e(0x75)](_0x5f5cc2=>_0x5f5cc2[_0x4c9b9e(0x223)]==='agent-review')[_0x4c9b9e(0xc8)](_0x16ab08=>({'evidenceId':_0x16ab08['id'],'stage':_0x16ab08[_0x4c9b9e(0xdf)]?.['stage'],'verdict':_0x16ab08[_0x4c9b9e(0xdf)]?.[_0x4c9b9e(0x313)],'actorSeparated':_0x16ab08[_0x4c9b9e(0x29c)],'artifactsCurrent':artifactEvidenceCurrent(_0x1dbce4,_0x16ab08),'hostObservedIndependent':this[_0x4c9b9e(0xb3)][_0x4c9b9e(0x2c6)](_0x1dbce4,_0x16ab08),'workerHostConfirmed':(_0x1dbce4['execution']['receiptObservations']||[])['some'](_0x1eca4f=>_0x1eca4f[_0x4c9b9e(0x2ac)]===_0x16ab08[_0x4c9b9e(0x2ac)]&&_0x1eca4f[_0x4c9b9e(0x1c1)]===_0x4c9b9e(0x277))||(_0x1dbce4[_0x4c9b9e(0xb3)][_0x4c9b9e(0x24f)]||[])[_0x4c9b9e(0x83)](_0x6a2f5f=>_0x6a2f5f[_0x4c9b9e(0x2ac)]===_0x16ab08[_0x4c9b9e(0x2ac)]&&_0x6a2f5f[_0x4c9b9e(0x1a7)]?.[_0x4c9b9e(0x223)]===_0x4c9b9e(0x178)),'modelHostConfirmed':(_0x1dbce4[_0x4c9b9e(0xb3)][_0x4c9b9e(0xe5)]||[])['some'](_0x1841ec=>_0x1841ec[_0x4c9b9e(0x2ac)]===_0x16ab08['attemptId']&&_0x1841ec[_0x4c9b9e(0x148)]==='confirmed')||(_0x1dbce4[_0x4c9b9e(0xb3)]['reports']||[])[_0x4c9b9e(0x83)](_0x31c44d=>_0x31c44d[_0x4c9b9e(0x2ac)]===_0x16ab08['attemptId']&&_0x31c44d[_0x4c9b9e(0x125)]?.['source']===_0x4c9b9e(0x178)&&_0x31c44d['modelReceipt']?.[_0x4c9b9e(0xaa)]===_0x4c9b9e(0x277))}))};}else _0x1e35e0[_0x4c9b9e(0x2f0)]=_0x4c9b9e(0x230);}if(_0xf495e4?.[_0x4c9b9e(0xae)]){const _0x3b62f6=_0x1dbce4[_0x4c9b9e(0x235)]===0x3&&_0x1dbce4['skillPins']?.[_0xf495e4['skill']]?null:this['requiredSkillError'](_0xf495e4[_0x4c9b9e(0xae)],_0x1dbce4[_0x4c9b9e(0x86)][_0x4c9b9e(0xcc)]),_0x7f56fd={};_0x7f56fd[_0x4c9b9e(0x133)]=![],_0x7f56fd[_0x4c9b9e(0x201)]=!![];if(_0x3b62f6)Object[_0x4c9b9e(0x11c)](_0x1e35e0,_0x3b62f6,_0x7f56fd);else _0x1e35e0[_0x4c9b9e(0x25d)]=_0x4c9b9e(0x226)+_0xf495e4[_0x4c9b9e(0xae)]+_0x4c9b9e(0x76)+_0xf495e4['id']+'\x22.';}if(_0xf495e4&&['tdd',_0x4c9b9e(0x14e),_0x4c9b9e(0x2a5)][_0x4c9b9e(0x225)](_0xf495e4['id']))_0x1e35e0[_0x4c9b9e(0x23b)]=DOMAIN_SKILL_REMINDER;return _0x1e35e0;}['listRunsFromRoot'](_0x32bbaa){const _0x199b2a=_0x4acfa7,_0x1ab752=[];if(!fs['existsSync'](_0x32bbaa))return _0x1ab752;const _0x2d76c4={};_0x2d76c4[_0x199b2a(0x2c0)]=!![];for(const _0x8104d5 of fs['readdirSync'](_0x32bbaa,_0x2d76c4)){if(!_0x8104d5[_0x199b2a(0x2d9)]()||_0x8104d5[_0x199b2a(0x290)]['startsWith']('.'))continue;const _0xff39c=path['join'](_0x32bbaa,_0x8104d5['name'],_0x199b2a(0x160));if(!fs[_0x199b2a(0xa2)](_0xff39c))continue;const _0x49ea2c={};_0x49ea2c[_0x199b2a(0x2c0)]=!![];for(const _0x3fd7d7 of fs[_0x199b2a(0x87)](_0xff39c,_0x49ea2c)){if(!_0x3fd7d7['isDirectory']())continue;const _0x5dfc1b=path[_0x199b2a(0xe2)](_0xff39c,_0x3fd7d7[_0x199b2a(0x290)]);let _0x141934;if(_0x32bbaa===this['stateRoot'])_0x141934=this['readRun'](_0x8104d5[_0x199b2a(0x290)],_0x3fd7d7[_0x199b2a(0x290)]);else{const _0x577923={};_0x577923[_0x199b2a(0x24a)]=_0x8104d5[_0x199b2a(0x290)],_0x577923[_0x199b2a(0x1e7)]=_0x3fd7d7[_0x199b2a(0x290)];const _0x4542e5=require('../core/run-checkpoint')['readCheckpoint'](path[_0x199b2a(0xe2)](_0x5dfc1b,_0x199b2a(0x260)),_0x577923);_0x141934=_0x4542e5?require(_0x199b2a(0xf0))[_0x199b2a(0xb4)](_0x4542e5,_0x5dfc1b):new Execution({'runDir':()=>_0x5dfc1b})['recover'](_0x8104d5[_0x199b2a(0x290)],_0x3fd7d7['name'],this[_0x199b2a(0x291)](path[_0x199b2a(0xe2)](_0x5dfc1b,_0x199b2a(0x23e))));}if(_0x141934&&this[_0x199b2a(0xc1)](_0x141934))_0x1ab752[_0x199b2a(0x123)](_0x141934);else{if(_0x141934)this[_0x199b2a(0x275)](_0x141934);}}}return _0x1ab752;}[_0x4acfa7(0x197)](){const _0x578780=_0x4acfa7;return this[_0x578780(0x97)](this['stateRoot']);}['activeAttempts'](){const _0x571bb2=_0x4acfa7,_0x4d112f=[],_0x550678=this[_0x571bb2(0x2a4)];if(!fs[_0x571bb2(0xa2)](_0x550678))return _0x4d112f;const _0x6b682e=_0x468800=>{const _0x55c320=_0x571bb2;try{const _0x16dbc8=fs[_0x55c320(0x1e3)](_0x468800);return _0x16dbc8[_0x55c320(0x2eb)]+':'+_0x16dbc8[_0x55c320(0x316)]+':'+_0x16dbc8['ino'];}catch{return'-';}},_0x15a9c7={};_0x15a9c7[_0x571bb2(0x2c0)]=!![];for(const _0x4a172c of fs[_0x571bb2(0x87)](_0x550678,_0x15a9c7)){if(!_0x4a172c['isDirectory']()||_0x4a172c['name'][_0x571bb2(0xf7)]('.'))continue;const _0x103004=path[_0x571bb2(0xe2)](_0x550678,_0x4a172c['name'],_0x571bb2(0x160));if(!fs[_0x571bb2(0xa2)](_0x103004))continue;const _0x3740d6={};_0x3740d6['withFileTypes']=!![];for(const _0x5ba980 of fs[_0x571bb2(0x87)](_0x103004,_0x3740d6)){if(!_0x5ba980[_0x571bb2(0x2d9)]())continue;const _0x3e595c=path['join'](_0x103004,_0x5ba980[_0x571bb2(0x290)]),_0x45d4f5=this[_0x571bb2(0x26f)]+'\x00'+_0x3e595c,_0x44c76f=['events.jsonl',_0x571bb2(0x28c),_0x571bb2(0x23e)][_0x571bb2(0xc8)](_0x40b010=>_0x6b682e(path[_0x571bb2(0xe2)](_0x3e595c,_0x40b010)))[_0x571bb2(0xe2)]('|');let _0x1bc581=ACTIVE_ATTEMPTS[_0x571bb2(0x163)](_0x45d4f5);if(!_0x1bc581||_0x1bc581[_0x571bb2(0xf5)]!==_0x44c76f){const _0x198c64=this['readRun'](_0x4a172c[_0x571bb2(0x290)],_0x5ba980[_0x571bb2(0x290)]);_0x1bc581={'key':_0x44c76f,'active':_0x198c64&&this[_0x571bb2(0xc1)](_0x198c64)?JSON[_0x571bb2(0x281)](_0x198c64['execution']?.[_0x571bb2(0x133)]||[]):'[]'},ACTIVE_ATTEMPTS[_0x571bb2(0x16b)](_0x45d4f5,_0x1bc581);}_0x4d112f[_0x571bb2(0x123)](...JSON[_0x571bb2(0x22a)](_0x1bc581['active']));}}return _0x4d112f;}[_0x4acfa7(0x2d5)](){const _0x2c6238=_0x4acfa7;return this['listRuns']()[_0x2c6238(0x75)](_0x49cd9c=>_0x49cd9c[_0x2c6238(0xaa)]===_0x2c6238(0x133))[_0x2c6238(0xc8)](_0x1514b0=>this[_0x2c6238(0x182)](_0x1514b0));}[_0x4acfa7(0x150)](_0x4516a3){const _0x5e0b57=_0x4acfa7;let _0x45a8c4=![];const _0x3770dc=(_0x1b4c1b,_0x283eeb=0xa0)=>{const _0x3e1b50=_0xa329;if(_0x1b4c1b===undefined||_0x1b4c1b===null)return null;const _0xc4fb50=String(_0x1b4c1b);if(_0xc4fb50[_0x3e1b50(0x2fb)]<=_0x283eeb)return _0xc4fb50;return _0x45a8c4=!![],_0xc4fb50[_0x3e1b50(0x2a9)](0x0,_0x283eeb)+_0x3e1b50(0x308);},_0x3683eb=_0x4c3c0c=>![_0x5e0b57(0x282),_0x5e0b57(0x9e)]['includes'](_0x4c3c0c[_0x5e0b57(0x26a)]),_0x1f7e7b=_0x2e387e=>({'code':_0x3770dc(_0x2e387e[_0x5e0b57(0x12e)],0x50),'task':_0x3770dc(_0x2e387e[_0x5e0b57(0x24a)],0x40),'runId':_0x3770dc(_0x2e387e[_0x5e0b57(0x1e7)],0x20),'path':_0x3770dc(_0x2e387e['path'],0xf0),'error':_0x3770dc(_0x2e387e[_0x5e0b57(0x1fe)]||_0x2e387e[_0x5e0b57(0x200)],0xf0)}),_0x267b2b={'success':_0x4516a3[_0x5e0b57(0x2f7)],'active':_0x4516a3[_0x5e0b57(0x133)],'state':_0x4516a3[_0x5e0b57(0x26a)],'summary':_0x5e0b57(0x244),'stateRoot':_0x3770dc(_0x4516a3[_0x5e0b57(0x2a4)],0xf0),'pipelines':[..._0x4516a3[_0x5e0b57(0x2bc)]]['sort']((_0x49ec21,_0x52db19)=>Number(_0x3683eb(_0x52db19))-Number(_0x3683eb(_0x49ec21)))['slice'](0x0,0x8)[_0x5e0b57(0xc8)](_0x59e0a9=>({'task':_0x3770dc(_0x59e0a9['task'],0x40),'runId':_0x3770dc(_0x59e0a9[_0x5e0b57(0x1e7)],0x20),'pipeline':_0x3770dc(_0x59e0a9[_0x5e0b57(0x250)],0x50),'state':_0x3770dc(_0x59e0a9[_0x5e0b57(0x26a)],0x20),'active':_0x59e0a9['active'],'blocked':_0x59e0a9['blocked']===!![],'success':_0x59e0a9[_0x5e0b57(0x2f7)],'code':_0x3770dc(_0x59e0a9[_0x5e0b57(0x12e)],0x50),'error':_0x3770dc(_0x59e0a9[_0x5e0b57(0x1fe)],0xf0),'resumable':_0x59e0a9[_0x5e0b57(0x201)]!==!![]&&[_0x5e0b57(0x133),_0x5e0b57(0x99),'initializing'][_0x5e0b57(0x225)](_0x59e0a9[_0x5e0b57(0x26a)])&&_0x59e0a9['compatibility']?.[_0x5e0b57(0xed)]!==_0x5e0b57(0x201),'progress':_0x3770dc(_0x59e0a9[_0x5e0b57(0x299)],0x28),'sessionId':_0x3770dc(_0x59e0a9[_0x5e0b57(0x121)],0x80),'workspacePath':_0x3770dc(_0x59e0a9[_0x5e0b57(0x233)],0xf0),'next_step':_0x59e0a9[_0x5e0b57(0x1fc)]?{'id':_0x3770dc(_0x59e0a9[_0x5e0b57(0x1fc)]['id'],0x50),'name':_0x3770dc(_0x59e0a9[_0x5e0b57(0x1fc)][_0x5e0b57(0x290)],0x50),'skill':_0x3770dc(_0x59e0a9[_0x5e0b57(0x1fc)][_0x5e0b57(0xae)],0x50)}:null,'stop_reason':_0x3770dc(_0x59e0a9['stop_reason'],0x50),'nextAction':_0x59e0a9['nextAction']?{'kind':_0x3770dc(_0x59e0a9['nextAction'][_0x5e0b57(0x7e)],0x50),'reason':_0x3770dc(_0x59e0a9[_0x5e0b57(0x257)][_0x5e0b57(0x2dc)]),'code':_0x3770dc(_0x59e0a9[_0x5e0b57(0x257)][_0x5e0b57(0x12e)],0x50)}:null,'compatibility':{'mutation':_0x3770dc(_0x59e0a9['compatibility']?.[_0x5e0b57(0xed)],0x50),'code':_0x3770dc(_0x59e0a9['compatibility']?.[_0x5e0b57(0x12e)],0x50)}})),'pendingCreations':_0x4516a3[_0x5e0b57(0x289)][_0x5e0b57(0x2a9)](0x0,0x4)[_0x5e0b57(0xc8)](_0x2a2e44=>({'task':_0x3770dc(_0x2a2e44[_0x5e0b57(0x24a)],0x40),'runId':_0x3770dc(_0x2a2e44[_0x5e0b57(0x1e7)],0x20),'status':_0x3770dc(_0x2a2e44[_0x5e0b57(0xaa)],0x20),'workspacePath':_0x3770dc(_0x2a2e44[_0x5e0b57(0x86)]?.[_0x5e0b57(0xcc)],0xf0),'error':_0x2a2e44[_0x5e0b57(0x1fe)]?_0x1f7e7b(_0x2a2e44[_0x5e0b57(0x1fe)]):null,'availableActions':{'resume':_0x2a2e44['availableActions']?.[_0x5e0b57(0x222)]===!![],'abandon':_0x2a2e44[_0x5e0b57(0x1b1)]?.[_0x5e0b57(0x29b)]===!![]}})),'migrationWarnings':_0x4516a3[_0x5e0b57(0x2a7)][_0x5e0b57(0x2a9)](0x0,0x3)[_0x5e0b57(0xc8)](_0x1f7e7b),'foreignWorkspaceStates':_0x4516a3[_0x5e0b57(0x1c8)]['slice'](0x0,0x3)[_0x5e0b57(0xc8)](_0x1f7e7b),'counts':{},'truncated':![],'details':_0x5e0b57(0x20b)},_0x139b40=[_0x5e0b57(0x2bc),_0x5e0b57(0x289),_0x5e0b57(0x2a7),_0x5e0b57(0x1c8)],_0x40f409=()=>{const _0x40a90e=_0x5e0b57;for(const _0x2e43cc of _0x139b40)_0x267b2b['counts'][_0x2e43cc]={'total':_0x4516a3[_0x2e43cc][_0x40a90e(0x2fb)],'displayed':_0x267b2b[_0x2e43cc][_0x40a90e(0x2fb)],'omitted':_0x4516a3[_0x2e43cc][_0x40a90e(0x2fb)]-_0x267b2b[_0x2e43cc][_0x40a90e(0x2fb)]};Object['assign'](_0x267b2b[_0x40a90e(0x2dd)]['pipelines'],{'unfinished':_0x4516a3[_0x40a90e(0x2bc)]['filter'](_0x3683eb)[_0x40a90e(0x2fb)],'active':_0x4516a3[_0x40a90e(0x2bc)]['filter'](_0x2041e5=>_0x2041e5[_0x40a90e(0x26a)]===_0x40a90e(0x133))['length'],'paused':_0x4516a3[_0x40a90e(0x2bc)][_0x40a90e(0x75)](_0x447265=>_0x447265[_0x40a90e(0x26a)]===_0x40a90e(0x99))[_0x40a90e(0x2fb)],'completed':_0x4516a3['pipelines'][_0x40a90e(0x75)](_0x3f2025=>_0x3f2025['state']===_0x40a90e(0x282))[_0x40a90e(0x2fb)],'cancelled':_0x4516a3[_0x40a90e(0x2bc)][_0x40a90e(0x75)](_0x5c66e8=>_0x5c66e8[_0x40a90e(0x26a)]===_0x40a90e(0x9e))[_0x40a90e(0x2fb)]}),_0x267b2b[_0x40a90e(0x7c)]=_0x45a8c4||_0x139b40['some'](_0x200606=>_0x267b2b[_0x40a90e(0x2dd)][_0x200606][_0x40a90e(0x8b)]>0x0);};_0x40f409();while(Buffer[_0x5e0b57(0x2bf)](JSON[_0x5e0b57(0x281)](_0x267b2b))>0xc*0x400){const _0x84874a=['migrationWarnings',_0x5e0b57(0x1c8),_0x5e0b57(0x2bc),_0x5e0b57(0x289)][_0x5e0b57(0x303)](_0x4ccee3=>_0x267b2b[_0x4ccee3][_0x5e0b57(0x2fb)]);if(!_0x84874a)break;_0x267b2b[_0x84874a][_0x5e0b57(0x10b)](),_0x40f409();}return _0x267b2b;}[_0x4acfa7(0x298)](_0x3c0596,_0x5a5151,_0x170a01={}){const _0x2010b6=_0x4acfa7;try{if(!_0x3c0596){const _0x2870a5=[];if(fs['existsSync'](this[_0x2010b6(0x2a4)])){const _0x43f7cd={};_0x43f7cd[_0x2010b6(0x2c0)]=!![];for(const _0x5a6e6f of fs[_0x2010b6(0x87)](this[_0x2010b6(0x2a4)],_0x43f7cd)){if(!_0x5a6e6f[_0x2010b6(0x2d9)]()||_0x5a6e6f[_0x2010b6(0x290)][_0x2010b6(0xf7)]('.'))continue;const _0x56cf8f=this[_0x2010b6(0x19f)](_0x5a6e6f['name']);if(_0x56cf8f&&this['ownsRun'](_0x56cf8f))_0x2870a5[_0x2010b6(0x123)](this[_0x2010b6(0x182)](_0x56cf8f,_0x170a01));else{if(_0x56cf8f)this['recordForeignRun'](_0x56cf8f);}}}const _0x3ab47b={'success':!![],'active':_0x2870a5[_0x2010b6(0x83)](_0x55a6d6=>_0x55a6d6[_0x2010b6(0x133)]),'state':_0x2870a5[_0x2010b6(0x2fb)]?'multi':_0x2010b6(0x142),'pipelines':_0x2870a5,'stateRoot':this[_0x2010b6(0x2a4)],'migrationWarnings':this['migrationWarnings'],'foreignWorkspaceStates':this[_0x2010b6(0x1c8)]||[],'pendingCreations':this[_0x2010b6(0x289)](),'message':_0x2870a5[_0x2010b6(0x2fb)]?_0x2870a5[_0x2010b6(0x2fb)]+_0x2010b6(0x1a4):_0x2010b6(0x206),'tool_routing':TOOL_ROUTING};return _0x170a01[_0x2010b6(0x2e6)]==='bootstrap'?this['summarizeBootstrapStatus'](_0x3ab47b):_0x3ab47b;}const _0x465a95=PipelineManager['validateTask'](_0x3c0596);if(_0x465a95)return _0x465a95;if(_0x5a5151){const _0x160ff7=PipelineManager['validateRunId'](_0x5a5151);if(_0x160ff7)return _0x160ff7;}const _0x1cef21=_0x5a5151?this[_0x2010b6(0x152)](_0x3c0596,_0x5a5151):this[_0x2010b6(0x19f)](_0x3c0596);if(!_0x1cef21)return error(_0x2010b6(0x2af),_0x2010b6(0x29f)+_0x3c0596+'\x22.',{'active':![],'state':_0x2010b6(0x142),'task':_0x3c0596,'stateRoot':this[_0x2010b6(0x2a4)],'pendingCreations':this[_0x2010b6(0x289)](_0x3c0596)});const _0x4ba0e7={..._0x170a01};return _0x4ba0e7[_0x2010b6(0x2f7)]=!![],{...this[_0x2010b6(0x182)](_0x1cef21,_0x4ba0e7),'pendingCreations':this[_0x2010b6(0x289)](_0x3c0596)};}catch(_0x531847){if(![_0x2010b6(0xa0),'EACCES'][_0x2010b6(0x225)](_0x531847[_0x2010b6(0x12e)]))throw _0x531847;return error(_0x2010b6(0x216),_0x2010b6(0x162),{'active':![],'task':_0x3c0596||null,'diagnostic':creationFailure(_0x531847,_0x2010b6(0x274))});}}[_0x4acfa7(0x2db)](_0x1c6ffd,_0x246ad6){const _0x4d572b=_0x4acfa7,_0xbe9281=PipelineManager[_0x4d572b(0x312)](_0x1c6ffd);if(_0xbe9281)return _0xbe9281;const _0x1c8ce2=PipelineManager['validateRunId'](_0x246ad6);if(_0x1c8ce2)return _0x1c8ce2;const _0x28cca9=this[_0x4d572b(0x152)](_0x1c6ffd,_0x246ad6);if(!_0x28cca9)return error(_0x4d572b(0x2af),_0x4d572b(0x2e5)+_0x246ad6+_0x4d572b(0x211));if(!_0x28cca9[_0x4d572b(0x86)][_0x4d572b(0xf1)]||_0x28cca9['workspace'][_0x4d572b(0x2a3)]!==_0x4d572b(0x1a9))return error('WORKTREE_NOT_MANAGED',_0x4d572b(0x19a));const _0x17d24a={};_0x17d24a['cwd']=_0x28cca9[_0x4d572b(0x86)][_0x4d572b(0xcc)];const _0x5613d0=this['runGit']([_0x4d572b(0xaa),_0x4d572b(0x2e0)],_0x17d24a);if(!_0x28cca9[_0x4d572b(0x86)][_0x4d572b(0x10c)])return error(_0x4d572b(0x18a),'Cannot\x20compare\x20the\x20worktree\x20without\x20its\x20recorded\x20base\x20branch.');const _0x5e8ec4=this[_0x4d572b(0x14b)]([_0x4d572b(0x193),_0x4d572b(0x1ae),_0x4d572b(0x29d),_0x28cca9[_0x4d572b(0x86)]['baseBranch']+_0x4d572b(0x308)+_0x28cca9['workspace'][_0x4d572b(0xbd)]]),_0x3d7744=this[_0x4d572b(0x14b)](['diff',_0x4d572b(0x9a),_0x28cca9['workspace'][_0x4d572b(0x1c5)]+_0x4d572b(0x308)+_0x28cca9[_0x4d572b(0x86)]['branch']]),[_0x3cb9e2='0',_0x53615b='0']=_0x5e8ec4[_0x4d572b(0xd8)][_0x4d572b(0xaf)](/\s+/);return{'success':_0x5613d0['ok']&&_0x5e8ec4['ok']&&_0x3d7744['ok'],'task':_0x1c6ffd,'runId':_0x246ad6,'workspacePath':_0x28cca9['workspace'][_0x4d572b(0xcc)],'branch':_0x28cca9[_0x4d572b(0x86)]['branch'],'baseRef':_0x28cca9[_0x4d572b(0x86)][_0x4d572b(0x1c5)],'baseBranch':_0x28cca9[_0x4d572b(0x86)][_0x4d572b(0x10c)],'clean':_0x5613d0['ok']&&!_0x5613d0[_0x4d572b(0xd8)],'status':_0x5613d0[_0x4d572b(0xd8)],'ahead':Number(_0x53615b),'behind':Number(_0x3cb9e2),'changedFiles':_0x3d7744[_0x4d572b(0xd8)]?_0x3d7744['stdout'][_0x4d572b(0xaf)](/\r?\n/)['filter'](Boolean):[],'mergePerformed':![]};}[_0x4acfa7(0x247)]({task:_0x4fa4b3,runId:_0x447b08,confirm:_0x3d506d,sessionId:_0x16d6aa}={}){const _0x1c0e54=_0x4acfa7,_0x2bdd4b=PipelineManager[_0x1c0e54(0x312)](_0x4fa4b3);if(_0x2bdd4b)return _0x2bdd4b;const _0x101da2=PipelineManager[_0x1c0e54(0x91)](_0x447b08);if(_0x101da2)return _0x101da2;if(_0x3d506d!==!![])return error(_0x1c0e54(0x12a),_0x1c0e54(0x18b));return this[_0x1c0e54(0x100)](_0x4fa4b3,()=>{const _0x356e53=_0x1c0e54,_0x101060=this[_0x356e53(0x152)](_0x4fa4b3,_0x447b08);if(!_0x101060)return error(_0x356e53(0x2af),'Run\x20\x22'+_0x447b08+'\x22\x20was\x20not\x20found.');if(_0x101060[_0x356e53(0x15a)]&&_0x101060[_0x356e53(0x15a)]!==_0x16d6aa)return error(_0x356e53(0x30d),'Cleanup\x20must\x20use\x20the\x20recorded\x20coordinator\x20session.');if(![_0x356e53(0x282),_0x356e53(0x9e)][_0x356e53(0x225)](_0x101060[_0x356e53(0xaa)]))return error(_0x356e53(0x1b6),_0x356e53(0xa6));if(_0x101060[_0x356e53(0xb3)]?.[_0x356e53(0x133)]?.['length'])return error(_0x356e53(0xce),_0x356e53(0x1f0));if(!_0x101060[_0x356e53(0x86)]['managed']||_0x101060[_0x356e53(0x86)]['status']===_0x356e53(0x15b))return error(_0x356e53(0x21b),_0x356e53(0x194));const _0x3aef84={};_0x3aef84[_0x356e53(0xac)]=_0x101060['workspace'][_0x356e53(0xcc)];const _0x4228b8=this[_0x356e53(0x14b)](['status',_0x356e53(0x2e0)],_0x3aef84);if(!_0x4228b8['ok']||_0x4228b8[_0x356e53(0xd8)])return error(_0x356e53(0x2de),_0x356e53(0xf8),{'status':_0x4228b8[_0x356e53(0xd8)]});if(!_0x101060[_0x356e53(0x86)]['baseBranch'])return error(_0x356e53(0x1cd),_0x356e53(0x8c));const _0x3e99fc=this[_0x356e53(0x14b)]([_0x356e53(0x157),_0x356e53(0x127),_0x101060[_0x356e53(0x86)][_0x356e53(0xbd)],_0x101060[_0x356e53(0x86)]['baseBranch']]);if(!_0x3e99fc['ok'])return error(_0x356e53(0x1cd),'Branch\x20is\x20not\x20merged\x20into\x20the\x20recorded\x20base\x20branch.');const _0x5d920d=this['runGit']([_0x356e53(0x1a9),_0x356e53(0x19c),_0x101060[_0x356e53(0x86)]['path']]);if(!_0x5d920d['ok'])return error(_0x356e53(0x219),_0x5d920d[_0x356e53(0x81)]);_0x101060['workspace'][_0x356e53(0xaa)]=_0x356e53(0x15b),_0x101060[_0x356e53(0x86)][_0x356e53(0x25f)]=this[_0x356e53(0x12b)]()[_0x356e53(0xbf)](),this[_0x356e53(0x203)](_0x101060),this[_0x356e53(0x2c5)](_0x101060,'Worktree\x20removed',_0x356e53(0x2e2)+_0x101060[_0x356e53(0x86)]['branch']);const _0x4cd0af={};return _0x4cd0af[_0x356e53(0x2f7)]=!![],_0x4cd0af[_0x356e53(0x24a)]=_0x4fa4b3,_0x4cd0af['runId']=_0x447b08,_0x4cd0af[_0x356e53(0xbd)]=_0x101060[_0x356e53(0x86)][_0x356e53(0xbd)],_0x4cd0af[_0x356e53(0x1f7)]=![],_0x4cd0af;});}[_0x4acfa7(0xb6)](){const _0x1dacf5=_0x4acfa7,_0x287b85=new Set([path['join'](this[_0x1dacf5(0x26f)],_0x1dacf5(0x2c2),_0x1dacf5(0x2bc)),this[_0x1dacf5(0x2a4)]]);for(const _0x547ecd of _0x287b85){if(!fs['existsSync'](_0x547ecd))continue;const _0x359da6={};_0x359da6[_0x1dacf5(0x2c0)]=!![];for(const _0x394166 of fs[_0x1dacf5(0x87)](_0x547ecd,_0x359da6)){if(!_0x394166['isDirectory']()||_0x394166[_0x1dacf5(0x290)]['startsWith']('.'))continue;const _0x408c21=path[_0x1dacf5(0xe2)](_0x547ecd,_0x394166[_0x1dacf5(0x290)],_0x1dacf5(0x23e));if(!fs[_0x1dacf5(0xa2)](_0x408c21))continue;const _0x2f68d1=fs[_0x1dacf5(0x134)](_0x408c21,_0x1dacf5(0x2d8));let _0x4b388b;try{_0x4b388b=JSON['parse'](_0x2f68d1);}catch(_0x4a79a7){const _0x36e983={};_0x36e983[_0x1dacf5(0x12e)]=_0x1dacf5(0x111),_0x36e983[_0x1dacf5(0xcc)]=_0x408c21,_0x36e983[_0x1dacf5(0x1fe)]=_0x4a79a7['message'],this[_0x1dacf5(0x2a7)]['push'](_0x36e983);continue;}if(!_0x4b388b?.[_0x1dacf5(0x250)]||!PIPELINE_DEFINITIONS[_0x4b388b[_0x1dacf5(0x250)]]){const _0x5e2dbd={};_0x5e2dbd[_0x1dacf5(0x12e)]=_0x1dacf5(0x111),_0x5e2dbd[_0x1dacf5(0xcc)]=_0x408c21,_0x5e2dbd['error']=_0x1dacf5(0x1a8),this[_0x1dacf5(0x2a7)][_0x1dacf5(0x123)](_0x5e2dbd);continue;}const _0x8de08b=crypto['createHash'](_0x1dacf5(0x170))[_0x1dacf5(0x1c3)](_0x408c21+'\x00'+_0x2f68d1)[_0x1dacf5(0x78)](_0x1dacf5(0x16e)),_0x424b94=path[_0x1dacf5(0xe2)](this[_0x1dacf5(0x2a4)],'.migrations',_0x8de08b+'.json');if(fs[_0x1dacf5(0xa2)](_0x424b94))continue;const _0x139d9d=String(_0x4b388b[_0x1dacf5(0x1ba)]||this['now']()[_0x1dacf5(0xbf)]())[_0x1dacf5(0x2a9)](0x0,0xa)[_0x1dacf5(0xe4)](/-/g,''),_0x526675=PipelineManager['validateTask'](_0x394166['name'])?_0x1dacf5(0xcb)+_0x4b388b[_0x1dacf5(0x250)]+'-'+_0x139d9d:_0x394166[_0x1dacf5(0x290)];let _0xf1e718=_0x526675,_0x46b1ed=0x0;while(this[_0x1dacf5(0x19f)](_0xf1e718)){const _0x1f47b2=_0x46b1ed++===0x0?_0x8de08b[_0x1dacf5(0x2a9)](0x0,0x6):_0x8de08b['slice'](0x0,0x4)+'-'+_0x46b1ed;_0xf1e718=_0x526675['slice'](0x0,0x3f-_0x1f47b2[_0x1dacf5(0x2fb)])+'-'+_0x1f47b2;}const _0x2e6a47=this[_0x1dacf5(0x190)](),_0x129653=PIPELINE_DEFINITIONS[_0x4b388b[_0x1dacf5(0x250)]],_0x2c133c=(_0x4b388b[_0x1dacf5(0x158)]||[])['map'](_0x790ca1=>typeof _0x790ca1===_0x1dacf5(0x101)?{'id':_0x790ca1,'summary':_0x1dacf5(0x19d),'completedAt':this[_0x1dacf5(0x12b)]()[_0x1dacf5(0xbf)]()}:_0x790ca1),_0xc151ff={};_0xc151ff[_0x1dacf5(0x2a3)]=_0x1dacf5(0x243),_0xc151ff[_0x1dacf5(0xcc)]=this[_0x1dacf5(0x26f)],_0xc151ff[_0x1dacf5(0xf1)]=![],_0xc151ff[_0x1dacf5(0xaa)]=_0x1dacf5(0x28a);const _0x45019c={'schemaVersion':0x2,'task':_0xf1e718,'runId':_0x2e6a47,'pipeline':_0x4b388b['pipeline'],'status':_0x2c133c[_0x1dacf5(0x2fb)]>=_0x129653[_0x1dacf5(0x2b5)][_0x1dacf5(0x2fb)]?_0x1dacf5(0x282):_0x1dacf5(0x133),'completedSteps':_0x2c133c,'workspace':_0xc151ff,'startedAt':_0x4b388b[_0x1dacf5(0x1ba)]||this[_0x1dacf5(0x12b)]()[_0x1dacf5(0xbf)](),'updatedAt':this[_0x1dacf5(0x12b)]()[_0x1dacf5(0xbf)](),'migratedFrom':_0x408c21},_0x645611={};_0x645611[_0x1dacf5(0x238)]=!![],this[_0x1dacf5(0x203)](_0x45019c,_0x645611);const _0x25e84b=path[_0x1dacf5(0xe2)](_0x547ecd,_0x394166['name'],'progress.md'),_0x58b731=fs['existsSync'](_0x25e84b)?fs['readFileSync'](_0x25e84b,_0x1dacf5(0x2d8)):'(no\x20legacy\x20ledger)';this[_0x1dacf5(0x2c5)](_0x45019c,'1.x\x20task\x20state\x20imported',_0x1dacf5(0xb9)+_0x408c21+'\x0a\x0a'+_0x58b731),this['atomicWriteJson'](_0x424b94,{'source':_0x408c21,'task':_0xf1e718,'runId':_0x2e6a47,'fingerprint':_0x8de08b,'migratedAt':this[_0x1dacf5(0x12b)]()[_0x1dacf5(0xbf)]()});}}}[_0x4acfa7(0xbc)](){const _0x3587a5=_0x4acfa7;if(!fs[_0x3587a5(0xa2)](this['legacyStateFilePath']))return;const _0x1a1548=fs['readFileSync'](this[_0x3587a5(0x220)],_0x3587a5(0x2d8));let _0x26f41d;try{_0x26f41d=JSON[_0x3587a5(0x22a)](_0x1a1548);}catch(_0x484367){this[_0x3587a5(0x2a7)][_0x3587a5(0x123)]({'code':_0x3587a5(0x111),'path':this[_0x3587a5(0x220)],'error':_0x484367[_0x3587a5(0x200)]});return;}if(!_0x26f41d?.[_0x3587a5(0x250)]||!PIPELINE_DEFINITIONS[_0x26f41d[_0x3587a5(0x250)]]){this['migrationWarnings'][_0x3587a5(0x123)]({'code':'LEGACY_STATE_INVALID','path':this[_0x3587a5(0x220)],'error':_0x3587a5(0x1a8)});return;}const _0x1dd046=crypto[_0x3587a5(0x228)]('sha256')['update'](_0x1a1548)[_0x3587a5(0x78)](_0x3587a5(0x16e)),_0x2c1967=path[_0x3587a5(0xe2)](this['stateRoot'],'.migrations',_0x1dd046+_0x3587a5(0x73));if(fs[_0x3587a5(0xa2)](_0x2c1967))return;const _0x35a324=String(_0x26f41d['startedAt']||this['now']()['toISOString']())['slice'](0x0,0xa)[_0x3587a5(0xe4)](/-/g,''),_0x3cb435='legacy-'+_0x26f41d[_0x3587a5(0x250)]+'-'+_0x35a324;let _0xd544d2=_0x3cb435,_0x48244c=0x0;while(fs['existsSync'](this['taskDir'](_0xd544d2))){const _0x1fdc51=_0x48244c++===0x0?_0x1dd046[_0x3587a5(0x2a9)](0x0,0x6):_0x1dd046[_0x3587a5(0x2a9)](0x0,0x4)+'-'+_0x48244c;_0xd544d2=_0x3cb435[_0x3587a5(0x2a9)](0x0,0x3f-_0x1fdc51[_0x3587a5(0x2fb)])+'-'+_0x1fdc51;}const _0x50d567=this[_0x3587a5(0x190)](),_0x432eea=PIPELINE_DEFINITIONS[_0x26f41d[_0x3587a5(0x250)]],_0x511483=(_0x26f41d[_0x3587a5(0x158)]||[])[_0x3587a5(0xc8)](_0x15cf99=>typeof _0x15cf99===_0x3587a5(0x101)?{'id':_0x15cf99,'summary':'Migrated\x20from\x20legacy\x20state','completedAt':this[_0x3587a5(0x12b)]()[_0x3587a5(0xbf)]()}:_0x15cf99),_0x3f443d={};_0x3f443d[_0x3587a5(0x2a3)]=_0x3587a5(0x243),_0x3f443d[_0x3587a5(0xcc)]=this[_0x3587a5(0x26f)],_0x3f443d[_0x3587a5(0xf1)]=![],_0x3f443d[_0x3587a5(0xaa)]='ready';const _0x1b2f0f={'schemaVersion':0x2,'task':_0xd544d2,'runId':_0x50d567,'pipeline':_0x26f41d[_0x3587a5(0x250)],'status':_0x511483[_0x3587a5(0x2fb)]>=_0x432eea[_0x3587a5(0x2b5)][_0x3587a5(0x2fb)]?_0x3587a5(0x282):_0x3587a5(0x133),'completedSteps':_0x511483,'workspace':_0x3f443d,'startedAt':_0x26f41d[_0x3587a5(0x1ba)]||this[_0x3587a5(0x12b)]()[_0x3587a5(0xbf)](),'updatedAt':this[_0x3587a5(0x12b)]()[_0x3587a5(0xbf)](),'migratedFrom':this['legacyStateFilePath']},_0x50bb8c={};_0x50bb8c['setCurrent']=!![],this[_0x3587a5(0x203)](_0x1b2f0f,_0x50bb8c),this[_0x3587a5(0x2c5)](_0x1b2f0f,_0x3587a5(0x23d),_0x3587a5(0xb9)+this[_0x3587a5(0x220)]),this[_0x3587a5(0x8f)](_0x2c1967,{'source':this['legacyStateFilePath'],'task':_0xd544d2,'runId':_0x50d567,'fingerprint':_0x1dd046,'migratedAt':this[_0x3587a5(0x12b)]()[_0x3587a5(0xbf)]()});}static['classifyRequest'](_0x40b038){const _0x279299=_0x4acfa7,_0x2e17a8=String(_0x40b038||'')[_0x279299(0x2ff)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/['test'](_0x2e17a8)){const _0x5cac20={};return _0x5cac20[_0x279299(0x1ce)]='bugfix',_0x5cac20[_0x279299(0x151)]=_0x279299(0x293),_0x5cac20[_0x279299(0x2dc)]=_0x279299(0x2d7),_0x5cac20;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/[_0x279299(0x1b3)](_0x2e17a8)){const _0x34fcc4={};return _0x34fcc4['suggested_pipeline']='hotfix',_0x34fcc4[_0x279299(0x151)]='medium',_0x34fcc4[_0x279299(0x2dc)]=_0x279299(0xa1),_0x34fcc4;}const _0x315f80={};return _0x315f80[_0x279299(0x1ce)]=_0x279299(0x20e),_0x315f80['confidence']=_0x2e17a8[_0x279299(0x2fb)]>=0x3?'medium':'low',_0x315f80[_0x279299(0x2dc)]=_0x279299(0x16a),_0x315f80;}}const _0x55b21c={};_0x55b21c['PipelineManager']=PipelineManager,_0x55b21c[_0x4acfa7(0x1dc)]=PIPELINE_DEFINITIONS,_0x55b21c[_0x4acfa7(0x1ee)]=PIPELINE_DEFINITIONS_V3,module[_0x4acfa7(0x317)]=_0x55b21c;
|
|
1
|
+
const _0x1a2a36=_0x4ee5;(function(_0x4cd9f4,_0x465bb2){const _0x12d0b5=_0x4ee5,_0x4a625f=_0x4cd9f4();while(!![]){try{const _0x28f741=parseInt(_0x12d0b5(0x339))/0x1*(parseInt(_0x12d0b5(0x38c))/0x2)+-parseInt(_0x12d0b5(0x3c2))/0x3+-parseInt(_0x12d0b5(0x2ec))/0x4+-parseInt(_0x12d0b5(0x180))/0x5*(parseInt(_0x12d0b5(0x2d0))/0x6)+-parseInt(_0x12d0b5(0x3d4))/0x7+parseInt(_0x12d0b5(0x20d))/0x8*(parseInt(_0x12d0b5(0x17e))/0x9)+parseInt(_0x12d0b5(0x2b5))/0xa;if(_0x28f741===_0x465bb2)break;else _0x4a625f['push'](_0x4a625f['shift']());}catch(_0x3e156d){_0x4a625f['push'](_0x4a625f['shift']());}}}(_0x2a2e,0xc7fca));const crypto=require('crypto'),fs=require('fs'),os=require('os'),path=require(_0x1a2a36(0x2fc)),{spawnSync}=require('child_process'),{Execution,DEFINITIONS:PIPELINE_DEFINITIONS_V3}=require(_0x1a2a36(0x184)),{inspectRunContract}=require(_0x1a2a36(0x3d5)),{artifactEvidenceCurrent}=require('../core/quality-artifacts'),{acquireRuntimeLock}=require(_0x1a2a36(0x308)),ACTIVE_ATTEMPTS=new Map(),TOOL_ROUTING=_0x1a2a36(0x254),_0xfa4792={};_0xfa4792[_0x1a2a36(0x349)]=_0x1a2a36(0x371),_0xfa4792[_0x1a2a36(0x187)]=_0x1a2a36(0x3bc),_0xfa4792['diagnose']='SAVE\x20root\x20cause\x20and\x20reproduction\x20steps\x20with\x20remember.',_0xfa4792[_0x1a2a36(0x2c8)]=_0x1a2a36(0x165),_0xfa4792[_0x1a2a36(0x178)]=_0x1a2a36(0x1d4);const MEMORY_TRIGGERS=_0xfa4792,DOMAIN_SKILL_REMINDER=['Load\x20the\x20matching\x20domain\x20skill\x20before\x20coding:','Web\x20UI:\x20.agents/skills/ui-style-rules/SKILL.md',_0x1a2a36(0x225),_0x1a2a36(0x2ba)][_0x1a2a36(0x40a)]('\x0a'),_0x30e857={};_0x30e857['id']='grill-me',_0x30e857[_0x1a2a36(0x208)]='Stress-test\x20plan/design',_0x30e857[_0x1a2a36(0x246)]=_0x1a2a36(0x337);const _0x50e6ad={};function _0x2a2e(){const _0x159a0c=['C3vIywDLBNrZ','CMvXDwLYzwq','zML4lwfUzc10zxn0','DgvZDa','rMX1DhrLCJOGC2vSzwn0ihrOzsb0yxnRlxnWzwnPzMLJiezSDxr0zxiGC2TPBgWU','y29VCMrPBMf0B3i','zw5ZDxjLuNvUDgLTzuLNBM9Yzq','zMvHDhvYzq','ywDLBNqTCMv2Awv3','CMvJB3zLCKnYzwf0Aw9U','v09ss1rsruvFtK9ux01btKfhruq','DxbKyxrL','C3rHDfn5BMm','DgLTzw91Da','BMv4Da','CgLWzwXPBMvFy2HLy2TWB2LUDcHHy3rPB249CMvZDw1LksbJB250Aw51zxmGDgHLihj1BIbVBIb0AguGBMv3ihj1BNrPBwu','lIbgB3iGzwfJAcWGB25JzsbPDhmGD29YA2vYigHHCYbZDg9WCgvKlcbJywXSihbPCgvSAw5Lx2nOzwnRCg9PBNqOywn0Aw9UpsjYzwXLyxnLiIWGyxr0zw1WDeLKlcbHy3rVCKLKlcb3B3jRzxjtDg9WCgvKpxrYDwuSihjLyxnVBIKU','lI4VBgLJzw5Zzs92zxjPzNK','DgrK','v29YA3rYzwuGCgf0AcbHBhjLywr5igv4Axn0CZOG','qvjusuzbq1rFuKvwsuvxx1bjtK5fra','zgv2zwXVCg1LBNqTC291CMnL','zxjYB3i','Aw5JBhvKzxm','igLZigfJy2vWDgvKigj5ihrOAxmGCNvUDgLTzq','q3jLyxrLihzLCNrPy2fSlxnSAwnLigLZC3vLCW','otbuBgLlzfO','Ag9ZDe1HEefNzw50CW','D29YA2vYu3rHDhvZ','lI4Vy29Yzs93B3jRC3bHy2uTBgf5B3v0','BwfYA0f0DgvTChrtDgfYDgvK','qsbTyxrJAgLUzYbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGAxmGCMvXDwLYzwqU','Cgf1C2vKqxq','CMvZDw1L','CMvTB3zLza','uLvox05pvf9bq1rjvKu','y29TCgXLDgvKu3rLChm','CMv2Awv3t2jZzxj2zwq','qMfZzsbJAgvJA291DcbTDxn0igjLignSzwfUigjLzM9YzsbJCMvHDgLUzYbHihDVCMT0CMvLlG','D29YA2zSB3Djzca','D29YA3nWywnLig11C3qGyMuGyw4GB2jQzwn0ihDPDgGGBw9KzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','C25HChnOB3qTzxzPzgvUy2u','CMvHzgrPCLn5BMm','BgvUz3rO','Bxv0yxrPB24','C3rHDhvZ','B3jPz2LUv29YA3nWywnL','DgfZAY1ICMvHA2rVD24','zgvMAw5PDgLVBG','AxneAxjLy3rVCNK','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5LihjLC2v0lG','ChjLlwnYzwf0zs1ZDgf0zq','CMvJB3zLCNKTAw5ZCgvJDgLVBG','uLvox1nusuXmx0fdveLwrq','nte5ntqWogvTwuLhtq','C2nVCgu','CNvUBMLUzW','AxnhBg9IywW','tevhqunzx1nuqvrfx0LovKfmsuq','uLvox0Lex1jfuvvjuKve','qw5VDgHLCIbYDw4GAxmGy3vYCMvUDdSGCMvJB3zLCNKGy2fUBM90ihjLCgXHy2uGAxrZigjPBMrPBMCU','CMvJB3zLCMvK','ueLqruXjtKvFrevgsu5jveLptLnFvJm','y3jPDgvYAwe','uLvox1jfq09wrvjzx0zbsuXfra','r0Lux0LosvrFrKfjteve','zgLNzxn0','Aw50zxjYDxb0zwq','qw4GDw5MAw5PC2HLzcbYDw4GywXYzwfKEsbVD25ZihrOzxnLigfJy2vWDgfUy2uGy3jPDgvYAweUifjLC3vTzsbVCIbYzxnVBhzLihrOyxqGCNvUigjLzM9YzsbJCMvHDgLUzYbHig5LDYb0yxnRlG','yNvNlwrPywDUB3n0AwnZ','Cgf0Aa','Cgf1C2vK','tM8GD29YA3rYzwuGB3iGyNjHBMnOihDHCYbJCMvHDgvKlIbjBNrLBNqGCMv0ywLUzwqGyxmGywjHBMrVBMvKoYbHig5LDYbZDgfYDcbPCYbUB3CGCg9ZC2LIBguU','y3jLyxrPB25jBNrLBNrgAwXL','yxzHAwXHyMXLqwn0Aw9UCW','CMvXDwvZDgvKv29YA3nWywnL','uMvJB3jKzwqGD29YA3nWywnLigrPzMzLCNmGzNjVBsb0AgLZihbYB2PLy3qU','B3bLBLn5BMm','z2vUzxjHDgvsDw5jza','Aw50zwDYAxr5lw1HBMLMzxn0lMPZB24','ls1Szwz0lxjPz2H0','iJOGyw5VDgHLCIbbufqGy2fSBcbPCYbJAgfUz2LUzYbPDc4Gq2fSBcbHz2fPBIbPBIbHig1VBwvUDdSGBM90AgLUzYb3yxmGy2HHBMDLzc4','lI4Vy29Yzs9VD25Lzc1SB2nR','igLZig5VDcbHBIbjrcbVzIb0AguGAw5ZDgfSBgvKignHDgfSB2CUifbHC3mGDgHLihzHBhvLihjVDxrLx3jLCxvLC3qGCMv0DxjUzwqSihn1y2GGyxmGiMzYB250zw5KlxnWzwnPywXPC3qIig9YiciVzgvIDwCIlcbVCIbSzwf2zsbPDcbVDxqU','CNvUigXVy2S','CNvUCW','ls1JywnOzwq','DMvYzgLJDa','CgLWzwXPBMuTC3rHDguUANnVBG','y29UzMLYBwf0Aw9Uvg9Rzw4','vxnLignVBxbHy3qSihn0yw5KyxjKig9YigHPz2GTCMLZAY4','v09ss1rsruvFqKftrv9esvjuwq','D29YA3nWywnLlxjLywr5','CMvJDxjZAxzL','yMfZzw5HBwu','C2HHmJu2','rgLHz25VC2uGyw5KihjLChjVzhvJzq','DxnLCI5Uyw1L','iIaO','ls12zxjPzNK','C2XPy2u','zgLYBMfTzq','lcbUB3qGywn0AxzLlG','Agv4','zgLMzG','CMv2AxnPB24','ChjLDMLLD0DPDejVB3rZDhjHCa','C3rHBMrHCMq','CgXHBM5LzeL0zw1Z','v09ss0vsx1nut1bFvu5dt05gsvjnruq','y29UzMLKzw5Jzq','zM9YzwLNBLDVCMTZCgfJzvn0yxrLCW','twLNCMf0zwqGzNjVBsaXlNGGDgfZAYbZDgf0zq','vgHPCYbYDw4GAxmGBM8GBg9Uz2vYihrOzsbJDxjYzw50ihj1BIbMB3iGDgHLihrHC2SU','Bg93','Ag9ZDfDVCMTLCK9IC2vYDMf0Aw9U','u3vWCg9YDgvKihbVBgLJAwvZigfYzsaXlcaYlcaZigfUzca0lG','CMvZDw1LqMXVy2TLzej5','r0Lux0LosvrjquXFq09ntuLux0zbsuXfra','BgvKz2vYlxDYAxrL','lIbbDhrLBxb0oIa','CgvUzgLUz0nYzwf0Aw9UCW','lM1Pz3jHDgLVBNm','y2HLy2TWB2LUDc5QC29U','C3rHDguTD3jPDgu','uNvUignYzwf0Aw9UihDHCYbPBNrLCNj1ChrLzdSGAxrZihDVCMTZCgfJzsbHBMqGAw50zw50ihDLCMuGChjLC2vYDMvKlG','uNvUigrVzxmGBM90igjLBg9UzYb0BYb0AgLZihDVCMTZCgfJzs4','y29UDgLUDwu','yxb0lw1JCc1NAxqTChjLDMLLDY0','C3rYzxnZlxrLC3qTCgXHBG','BgLZDfj1BNngCM9TuM9VDa','mZyYm0PSsfHPtq','D29YA3nWywnLlxjLC29SDxrPB24','yNjHBMnOrgvSzxrLza','D29YA3nWywnLlM1VzguGBxvZDcbIzsbHDxrVlcbJDxjYzw50lcbVCIb3B3jRDhjLzs4','lMXVy2S','CNvUr2L0','DxbKyxrLzef0','CMvJB3jKzwrtzxnZAw9U','zMLUza','z2L0ihDVCMT0CMvLigfKzcbMywLSzwqU','twLZC2LUzYbVCIbPBNzHBgLKihbPCgvSAw5LlG','kg5Vihn1Bw1HCNKP','CMv2lxbHCNnL','y2XVC2vK','DhjHBNnHy3rPB25Z','CMvWywLYuNvU','z3jPBgWTBwu','CMvZzxq','ls1NAxqTzgLY','CMvSzwfZzq','B3bLBKzPBMrPBMDZ','BgLZDa','BwvYz2uTyMfZzq','su5wquXjrf9uqvnlx0Le','q2HHBgXLBMDLihrOzsbMAxGGzgvZAwDU','yM9VBgvHBG','ueLqruXjtKvtx0fdveLwrv9evvjjtKDFr0Lux0Losvq','C3vTBwfYAxPLqM9VDhn0CMfWu3rHDhvZ','BgvNywn5lw1Pz3jHDgLVBG','BwfPBG','DhjHBNnHy3q','CxvHBgL0EvzLCNnPB24','CgvUzgLUz0nYzwf0Aw9U','CMvHzfj1BG','zgLHz25VC3rPyW','CxvHBgL0Eq','zNjVBuvUDhjPzxm','Bg9JA0zPBgu','y29KzxGTCgfYzw50lwnOAwXKlxrYyw5Zy3jPChrZ','D2LUmZi','q0Xfqu5vuf9dt05gsvjnqvrjt05FuKvrvuLsruq','AgfZtgvNywn5u3rHDgu','Aw5PDgLHBgL6zuDPDa','y2fUy2vSBgf0Aw9U','igHHCYbLEhrYysbJAgfYywn0zxjZoIbKAwqGEw91ig1Lyw4G','y3btEw5J','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLelG','uMvZzxqGBxvZDcb1C2uGDgHLihjLy29YzgvKignVB3jKAw5HDg9YihnLC3nPB24U','ls1IyxjL','Bw9KzwXszwnLAxb0','BM9Uzq','ChjVAMvJDfbHDgG','CMvTB3zLzef0','CMvWBgf5','v09ss1rsruvFuKvnt1zfx0zbsuXfra','C3vNz2vZDfrHC2S','u0fwrsbKzxnPz24GzgvJAxnPB25ZigfUzcbJB25ZDhjHAw50CYb3AxrOihjLBwvTyMvYlG','Dg9tDhjPBMC','ywnJzxb0yw5JzvjLDMLZAw9U','zxHWzwn0zwrFCgf0Aa','CMvHzezPBgvtEw5J','y29UzMLYBwvK','rMvHDhvYzsbezxzLBg9WBwvUDa','CNvUDgLTzvb1yMXPy0TLEq','D29YA3nWywnLugf0Aa','ugLWzwXPBMuGC3rHDguGy29WEsbLBNrYAwvZig1PC21HDgnOoIa','CMvHzePZB24','C3rHz2u','CMvWB3nPDg9YEunVBNrLEhq','Dw5HDMfPBgfIBgu','zMLUzgLUz3m','C2vZC2LVBKLK','C3rHDgu','Dhj1BMm','q2HLy2TWB2LUDcbZDgf0DxmGBxvZDcbIzsaIy29TCgXLDgvKiI4','Ag90zML4','BgvKz2vY','yxv0BW','zxHPC3rZu3LUyW','r2L0igrVzxmGBM90ignVBMzPCM0GDgHLihjLy29YzgvKihDVCMT0CMvLigLKzw50Axr5lG','C3rKzxjY','y3jLyxrPBMC','ywrK','mJq0yvL6y0rX','Aw1Wywn0','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzc4','ls1UBY1NCgCTC2LNBG','CMvHzen1CNjLBNq','v09ss1rsruvFreLsvfK','q2fSBcbWAxbLBgLUzv9ZDgf0DxmODgfZAYWGCNvUswqPigzVCIbMDwXSihj1BIbKzxrHAwXZigfUzcbOAxn0B3j5lIbdywXSihbPCgvSAw5Lx3n0yxr1CYGPigzVCIbHBgWGDhjHy2TLzcb0yxnRCYWGzgLHz25VC3rPy3mGyw5KihvUzMLUAxnOzwqGy3jLyxrPB25ZlG','Aw1WBgvTzw50','tgvNywn5ihn0yxrLigLTCg9YDgvK','lI4Vy29Yzs93B3jRzMXVDY1WB2XPy3K','yxj0AwzHy3rqyxrOCW','C3rVCf9YzwfZB24','r0Lux0jbu0vmsu5fx05pvf9dtevbtG','CMvSyxrPDMu','uMvZB2X2zsbJCMvHDgLVBIb3AxrOigL0CYbYzwnVCMrLzcbJB29YzgLUyxrVCIbZzxnZAw9UlG','zw50CMLLCW','yxr0zw1WDeLK','CMvNCMvZC2LVBG','vw5RBM93BIb3B3jRC3bHy2uGBw9KztOG','su5wquXjrf9dsevds1bpsu5ux1nuqvrvuW','qNjHBMnOigLZig5VDcbTzxjNzwqGAw50BYb0AguGCMvJB3jKzwqGyMfZzsbICMfUy2GU','r0Lux1bsrvzjrvDFrKfjteve','Aw1Wywn0rxnJywXHDgLVBG','ywnJzxb0yw5JzunYAxrLCMLH','yMfZzvjLzG','u1rbvevFtuLhuKfusu9ox1zfuKLgwv9gquLmruq','uNvUignHBMnLBgXLza','yxb0lw1JCc1Hz2vUDa','zxHLy3v0Aw9Uu3rHDhvZ','ChvZAa','ChjVzhvJDeLTCgfJDa','lI4Vy29Yzs9YDw4Ty2HLy2TWB2LUDa','C291CMnL','u2vZC2LVBLj1BNrPBwu','q2fUBM90ihzLCMLMEsb0Agf0ihrOzsbICMfUy2GGD2fZig1LCMDLzc4','C3rVChbLza','y3vYCMvUDa','C2vW','r0Lux0Leru5usvrzx1jfuvvjuKve','DxnLCI5LBwfPBa','yxrVBwLJv3jPDgvkC29U','CgfZC2vK','BgvNywn5lq','uKvrvuLsrurFu0TjteXFtuLtu0LorW','qNjHBMnOihbYzxnLCNzLzdOG','y3vYCMvUDezPBgu','BwTKAxjtEw5J','vgHPCYbJCMvHDgLVBIbPBNrLBNqGAgfZigfSCMvHzhKGyMvLBIbYzxnVBhzLzc4GvxnLihbPCgvSAw5Lx3vZzsbMB3iGyw4GzxHPC3rPBMCGCNvUlG','u0fwrsbquKqGC2nVCguGyw5KigTLEsbYzxf1AxjLBwvUDhmGD2L0AcbYzw1LBwjLCI4','C3rHDhvZlwLUC3bLy3rPB24','C3vWzxjZzwrLzc1IEs1JDxjYzw50lxj1BG','tM8GCgLWzwXPBMuUienHBgWGCgLWzwXPBMvFC3rHCNqGyMvMB3jLigv4zwn1DgfIBguGy2HHBMDLCY4','uhjVAMvJDcbPCYbHBhjLywr5igeGr2L0ihjLCg9ZAxrVCNKU','CMvMCMvZAfjLCg9ZAxrVCNLdB250zxH0','odi0nJG4wgLywhL4','BwvTB3j5x2fJDgLVBG','C3rHDgvsB290','CMvZCg9UC2u','C25HChnOB3q','CMvHBhbHDgHtEw5J','sevbra','CNvUDgLTzvjVB3q','qxbWBhKGzML4igfUzcbYzwDYzxnZAw9UihrLC3q','q29TCgXLDguGB3iGy2fUy2vSihrOzsbYDw4GyMvMB3jLignSzwfUDxaU','vgHLigv4ywn0igfJDg9YihjLC2vYDMf0Aw9UigLZig5VigXVBMDLCIbHy3rPDMuU','DMvYAwz5lxnJB3bL','Dg9ju09tDhjPBMC','uNvUia','iIWGBM90ici','uMvHzcaUywDLBNrZl3nRAwXSCY8','BwLNCMf0zq','iYbqAxbLBgLUzsbSzwrNzxikcLrHC2S6ia','ody2nZa3oevkqM5irG','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','zxzPzgvUy2u','CgLWzwXPBMu','DxrMoa','CMv2ywXPzgf0zu5HDgL2zvjLy2vPChq','BwvKAxvT','ugLWzwXPBMuGC3rHDguGy29WEsbOyxnOig1PC21HDgnOoIa','vhjHBNnHy3rPB246ia','DMfSAwrHDgvxB3jRC3bHy2u','y29UDgv4DezPBgu','Dhj1BMnHDgvK','y2XVC2vtEw5J','y29TCgfJDa','qNvNiezPEa','B3bLBG','BMv3lxj1BI1Yzxf1AxjLza','iIb3yxmGBM90igzVDw5KigzVCIb0yxnRici','Aw52ywXPza','v09ss1rsruvFqKftrv9cuKfoq0HFtuLtu0LorW','C3vJy2vZCW','C3rLChm','CMvZB2X2zvDVCMTZCgfJzq','y3vYCMvUDc5QC29U','y3jLyxrLv29YA3rYzwu','BwLNCMf0zuXLz2fJEvn0yxrLCW','CMvXDwLYzwrtA2LSBevYCM9Y','Bw9IAwXL','uLvox05pvf9gt1vora','y29WEuzPBgvtEw5J','ywjHBMrVBG','y2HLy2TWB2LUDa','D2vI','iIbOyxmGCNvUia','qurnsvntsu9ox0nptKzmsunu','BwfW','ueLqruXjtKvFrevgsu5jveLptLm','CgXHBM5LzeLNBM9YzufKzgL0Aw9UCW','D29YA0L0zw1dB3vUDa','CNvUDgLTzvbPBG','u0TjteWUBwq','Dg9mB3DLCKnHC2u','AxrLBtO','yNjHBMnO','A2v5CW','lI4Vy29Yzs9ZDg9YywDLlxjLDhj5','C2LNBMvKlxjLBgvHC2u','CNvUDgLTzs11CgDYywrL','C3rHCNrZv2L0Aa','q29UzMLYBsb3B3jRzxiGC2H1DgrVD24GyMvMB3jLihbHDxnPBMCGDgHLihj1BI4','ig11C3qGy29UDgfPBIbUB24Tzw1WDhKGC3rYAw5NCY4','q2fUBM90igLUAxrPywXPEMuGDgvTCg9Yyxj5ieDPDcbPBMrLEc4','CgLUtgvNywn5rgvMAw5PDgLVBG','yxr0zw1WDhm','AM9PBG','D2L0AeXVy2S','uMvJB3jKzwqGD29YA3nWywnLigLZig1PC3nPBMC7ig5Vig5LDYb3B3jRDhjLzsb3yxmGy3jLyxrLzc4','q1jfqvrjt05FtK9ux1nuqvjuruq','lcbUB3qGCMvZDw1HyMXLlG','C3rHDgvbz2vUDhm','BM9FChjVz3jLC3m','iIbHBhjLywr5igHHCYbHBIbHy3rPDMuGCNvUlG','y29TBwL0','lMnYzwf0Aw9U','yMXVy2TLza','CgXHDgzVCM0','CMvJB3jKzwqTy29VCMrPBMf0B3iTC2vZC2LVBG','r2L0igLUAxrPywXPEMf0Aw9UigfUzcbHigjHC2vSAw5LignVBw1PDcbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','BMv3u3rLCef0DgvTChrgBg9VCG','BwvZC2fNzq','r0Lux1nftLnjveLwrv9gsuXfu19cte9ds0ve','zw52','qwn0AxzLihbPCgvSAw5LCYbJyw5UB3qGyMuGBwLNCMf0zwqGzhvYAw5NieDPDcbPBML0AwfSAxPHDgLVBI4','Aw50zw50lxDVCMTZCgfJzs13CML0zq','q2fUy2vSBgLUzYbHihj1BIbYzxf1AxjLCYbJB25MAxjTpxrYDwuU','D29YA3rYzwu','ms54ihrHC2SGC3rHDguGAw1WB3j0zwq','zNjVEMvU','ueLqruXjtKvFtuLttufuq0G','CgHHC2u','zMLSzq','u0vtu0LptL9nsvnnqvrdsa','qsbTyxrJAgLUzYb1BNjLC29SDMvKignYzwf0Aw9UigLUDgvUDcbPCYbYzxf1AxjLzc4','u0fwrsbPBxbSzw1LBNrHDgLVBIbKzwnPC2LVBNmGyw5KihrLC3qGCgf0DgvYBNmGD2L0AcbYzw1LBwjLCI4','su5wquXjrf9svu5Fsuq','CMv2Awv3','ueLqruXjtKvFu1rbvfvtx1voqvzbsuXbqKXf','v09ss1rsruvFuefusf9fweLtvfm','q09ovevyvf9jrf9jtLzbteLe','C25HChnOB3qTBM90lxjLzNjLC2HLza','v29YA3rYzwuGy29UDgfPBNmGDw5JB21TAxr0zwqGy2HHBMDLCY4','CgfYC2u','BM9qCM9NCMvZCW','qundrvbuqu5drv9btfjfqurzx0fdveLwrq','DMfSAwrHDgvtDg9YywDL','C29YDa','ywn0B3jtzxbHCMf0zwq','zxHWB3j0CW','su5wquXjrf9srvnfvf9uqvjhrvq','zxHLy3v0Aw9U','ywn0AxzL','ywnXDwLYzuXVy2S','Aw1WCM92zs1HCMnOAxrLy3r1CMu','lMfNzw50CY9WAxbLBgLUzxmV','C3rKB3v0','CMvJB3jKrM9YzwLNBLj1BG','C29Tzq','qvruru1qvf9nsvnnqvrdsa','mZKZntDcrxrpvgm','y3DK','mZKWotCWCKHRvLfX','lI4VlI4VCgfJA2fNzs5QC29U','zxHWBgLJAxqTy3jLyxrPB24TCMvZzxq','y3jLyxrPB24','lI4Vy29Yzs9LEgvJDxrPB24','Dg8TAxnZDwvZ','z2L0ignVBMzPzYaTlwDSB2jHBcb1C2vYlMvTywLSicj5B3vazxHHBxbSzs5JB20I','Dg8TChjK','D29YA2zSB3DqCM9MAwXL','Bw9KzwXtDgf0Dxm','BwLNCMf0zuXLz2fJEvrHC2TeAxjLy3rVCMLLCW','AxnbCNjHEq','yxnZAwDU','su5wquXjrf9qsvbfteLorq','uLvox01ju01bveni','lI4Vy29Yzs9ZzxnZAw9U','su5wquXjrf9xt1jlu1bbq0vFtu9erq','Aw5OzxjPDgvK','D29YA2zSB3Djza','zNn5BMntEw5J','DMvYAwzPzwq','y2HLy2Tjza','y3jLyxrLsgfZAa','DhjPBq','q1jfqvrjt05FquXsrufewv9srvnptfzfra','CMvJzwLWDa','rxHPC3rPBMCGCNvUigLZihrLCM1PBMfSig9YigjLBg9Uz3mGDg8Gyw5VDgHLCIbJB29YzgLUyxrVCI4','u291CMnLihjLDgfPBMvKigf0ia','yxb0lW','u3rVCcbHBMqGCMvSzwfZzsbHy3rPDMuGD29YA2vYCYbIzwzVCMuGD29YA3rYzwuGy2XLyw51Cc4','y2fUtxv0yxrL','B3DUC1j1BG','Aw5PDgLHBgL6zwq','y29TCgXLDgvKqxq','ywrKuMvJzwLWDe9IC2vYDMf0Aw9U','BMv4Df9ZDgvW','CMvJB3zLCG','q3jLyxrPB24GywXYzwfKEsbOyxmGCNvUihn0yxrLig9YigeGy3vYCMvUDcbIAw5KAw5NoYbPDcbJyw5UB3qGyMuGywjHBMrVBMvKlG','uMv2Awv3igfYy2HPDgvJDhvYzq','x19WAxbLBgLUzv9ZDgfYDf9F','C2TPBgXFzgLYzwn0AxzL','ChvIBgLJs2v5','C2nOzw1HvMvYC2LVBG','Aw5PDgLHBgL6Aw5N','CMvJB3zLCLj1BKLK','u2f2zwqGy3jLyxrPB24GAw50zw50ignVDwXKig5VDcbIzsbPBNnWzwn0zwqU','ywrKzwrszxzPzxDZ','vgHLihj1BIbJB250CMfJDcbKB2vZig5VDcbWzxjTAxqGCMvJB25JAwXPyxrPB24U','zxzLBNrZlMPZB25S','C3rYAw5NAwz5','DMfSDwvZ','BwLNCMf0zvn0yxrLuM9VDa','CMvSzwfZzu5HDgL2zvDVCMTLCKzVCLvWz3jHzgu','yxjNCW','CMvHC29U','ugLWzwXPBMvnyw5Hz2vY','CMvZB2X2zq','CNvUswqGAxmGCMvXDwLYzwqU','BwfUywDLza','r0Lux0Lorevyx0zjteu','ls1ZAg93lwn1CNjLBNq','zMLSzxm','D29YA3rYzwuG','AgfZ','ls1Nzxq','lI4Vy29Yzs9OB29RlwXLyxnL','D2L0AezPBgvuExbLCW','AxnmAw5RzwrxB3jRDhjLzq','DMvYC2LVBNm','zgvJB2rLuNvUu3rHDgu','uLvox1DpuKTtuefdrv9vtLzfuKLgsuve','ls1Uyw1Llw9UBhK','AxnhAxrszxbVC2L0B3j5','igHHCYbLBMrLzcaO','uNvUihbHDxnLzcbMB3iGCNvUDgLTzsb1CgDYywrL','BgvKz2vYrMLSzq','ueLqruXjtKvFu1rbvevFvu5bvKfjtefcteu','A2v5','yxr0zw1WDf9SAw1PDa','su5wquXjrf9rvufmsvrzx1bmqu4','zxHWzwn0zwrpDxrJB21L','lMPZB24','cLbPCgvSAw5LoIa','D29YA0L0zw1dB3vUDcbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCI4','u0fwrsbHCMnOAxrLy3r1CMuGzgvJAxnPB25ZigfUzcbMAw5KAw5NCYb3AxrOihjLBwvTyMvYlG','y3jLyxrLzef0','CMvSzwfZzwq','vKvssuzjq0fusu9ox0Lox0zmsuDiva','y29UzMLN','ugLWzwXPBMuGC3rHDguGAxmGBg9JA2vKigzVCIb0yxnRici','q2fUy2vSBgvKigj5igv4CgXPy2L0ihjLCxvLC3qUieHPC3rVCNKGD2fZihbYzxnLCNzLzc4','yxrVBwLJv3jPDgu','Ag9ZDfDVCMTLCKLK','uNvUigLZia','CNvUswqGAxmGCMvXDwLYzwqGzM9YihbPCgvSAw5Lig11Dgf0Aw9UCY4','C3rHDgvgAwXL','zgv2zwXVCg1LBNrnB2rL','ywjHBMrVBKjSB2nRzwrcEq','uhjVAMvJDcbMAwXLCYbJAgfUz2vKigfMDgvYihbYzxzPzxCUifjLCxvLC3qGysbUzxCGy29UzMLYBwf0Aw9UihrVA2vUlG','zxbVy2G','yxr0zw1WDeLKpsi','D3jPDgvgAwXLu3LUyW','CNvUswqGBxvZDcbIzsbHihnLCNzLCI1Nzw5LCMf0zwqGCgLWzwXPBMuGCNvUieLeoYa','rNjLC2GGBMf0AxzLignVBxbSzxrPB24GChjVB2yGAxmGCMvXDwLYzwqGzM9YihjLBgvHC2uU','yNvNzML4','su5wquXjrf9xt1jlrKXpv19quK9gsuXf','vgfZAYaI','lI4Vy29Yzs9NAxqTy29UDgv4Da','Dw5SAw5Ru3LUyW','ChjLCgfYzu1LCMDL','zMX1DhrLCG','u2f2zwqGy3jLyxrPB24GAw50zw50igHHCYbHBIbPBNzHBgLKihDVCMTZCgfJzsbVCIbIzwXVBMDZihrVigfUB3rOzxiGChjVAMvJDc4','CMvZB3vYy2vbz2vUDhm','qNvNlwzPEcbZAwDUywXZigrLDgvJDgvKlG','CMvJB3jKvMvYAwzPy2f0Aw9U','ueLqruXjtKvFu1rbvevFte9ds0ve','y29TCgf0AwjPBgL0Eq','q2fUBM90ignVBxbHCMuGDgHLihDVCMT0CMvLihDPDgHVDxqGAxrZihjLy29YzgvKigjHC2uGyNjHBMnOlG','uNvUignHBMnLBgXLzcbMB3iGCNvUDgLTzsb1CgDYywrL','DMfSAwrHDgvsDw5jza','q3jLyxrPBMCGysbhAxqGD29YA3rYzwuGCMvXDwLYzxmGzgLYzwn0ihvZzxiGy29UzMLYBwf0Aw9UlG','vgHPCYbYDw4GCMvTywLUCYbYzwfKywjSzsWGyNv0igL0CYbOAxn0B3jPy2fSignVBNrYywn0ignHBM5VDcbIzsb2zxjPzMLLzcbMB3iGBxv0yxrPB24U','C3rHCNrLzef0','CNvUswq','Aw5V','iIbPCYbTAxnZAw5NlG','C2v0q3vYCMvUDa','lI4U','zgLYzwn0B3j5','yxj0AwzHy3rszxzPzxC','ChjLDMLLDW','CMvWB3j0CW','twLNCMf0zwqGzNjVBsbSzwDHy3KGC3rHDgu','z2L0q29TBw9UrgLY','lI4Vy29Yzs9ZA2LSBc1Uyw1LCY5QCW','y2fUy2vSBgvK','BMfTzq','y2HLy2Tjzhm','BwLZC2LUz1f1ywXPDhLdAgvJA3m','Cg9W','uKvtrvrFq09orKLstufusu9ox1jfuvvjuKve','mtKYEKjNrwjO','DxnL','ls1PCY1HBMnLC3rVCG','CMvHzg9UBhK','CNvUDgLTzvzLCNnPB24','CMv2lwXPC3q','y291BNrZ','iIb3yxmGBM90igzVDw5KlG','DMvYC2LVBG','qsbJyw5VBMLJywWGDgfZAYbjrcbPCYbYzxf1AxjLzc4','CMvZDw1Lzef0','uMvJB25JAwXLihrOzsbZyxzLzcbJCMvHDgLVBIbPBNrLBNqGyMvMB3jLignYzwf0Aw5NigfUB3rOzxiGD29YA3nWywnLlG','lIbcCMfUy2GGChjLC2vYDMvKoIa','vgfZAYbTDxn0igjLigeGBg93zxjJyxnLignHBM9UAwnHBcbjrcb1C2LUzYbSzxr0zxjZlcbUDw1IzxjZlcbOExbOzw5ZlcbVCIb1BMrLCNnJB3jLCYaOBwf4idy0ks4','igLZig91DhnPzguGAxqUieeGCNvUihDYAxrLCYbVBMX5igLUigL0CYb3B3jRC3bHy2u7ig5HBwuGysbWyxrOihjLBgf0AxzLihrVigL0lcbZDwnOigfZigrVy3mVAgfUzg9MzI5Tzc4','Dw52zxjPzMLLza','DxbNCMfKzs1SAw5LywDLlMPZB24','ls1JB3vUDa','yxbWzw5KtgvKz2vY','CNvUrgLY','ls1WB3jJzwXHAw4','v29YA3rYzwuGCMvTB3zLza','DxbNCMfKzvbHDxnL','y2f1C2vszxnVBhzLza','tw9IAwXLifvjoIaUywDLBNrZl3nRAwXSCY9TB2jPBguTCNvSzxmVu0TjteWUBwq','Aw5OzxjPDfvWz3jHzgvdB250zxH0','D29YA0L0zw1jza','C3LZy2fSBa','vMvYAwz5ihnTywXSigLZB2XHDgvKihnJB3bL','zgLHz25VC2u','C2fTzvDVCMTZCgfJzq','CMvJzwLWDe9IC2vYDMf0Aw9UCW','sw1WBgvTzw50ihrLC3qTzMLYC3q','y29UDhjHy3q','Bwf4','qundrvbuqu5drv9duKLurvjjqv9srvfvsvjfra','BgfZDfjLDMLLD2vK','Bw9Kzq','q1jfqvrjt05Fv09ss1nqqunfx01ju1njtKC','uNvUigrVzxmGBM90ihvZzsbHig1HBMfNzwqGD29YA3rYzwuU','CMvHzhKTzM9YlwfJy2vWDgfUy2u','q3vYCMvUDcbUyxrPDMuGCNvUihDHCYbUB3qGzM91BMqU','AgfYzgvUAw5NrMLUzgLUz3m','DgvYBwLUywW','l1nlsuXmlM1KigjLzM9YzsbZDgvWici','yMfZzujYyw5JAa','CMvWBgfJzufSBa','DgfYz2v0vMvYC2LVBG','ls13B3jRlxrYzwu','q2XLyw51CcbTDxn0ihvZzsb0AguGCMvJB3jKzwqGy29VCMrPBMf0B3iGC2vZC2LVBI4','CMv2Awv3zxjdyxbHy2L0EuvYCM9Y','u3rVChbLzcbUyxrPDMuGD29YA2vYihjLy29Uy2LSzwqGzM9YihvWz3jHzgu','uMvJB3zLCNKGD2fZigLUDgvYCNvWDgvKoYbPDhmGAw50zw50ihDHCYbWCMvZzxj2zwqU','su5wquXjrf9xt1jlu1bbq0u','q29UzMLNDxjLieDPDcb1C2vYlM5HBwuGyw5KihvZzxiUzw1HAwWGyMvMB3jLignYzwf0Aw5NihrOzsbIyxnLBgLUzsbJB21TAxqU','su5wquXjrf9svu5Fsu5qvvq','BwfYA0HVB2TxywL0','C2TPBgW','y29UDhjHy3qTDw5HDMfPBgfIBgu','zM9YBwf0u3rHDhvZ','Bg9JA1rPBwvVDxrnCW','CMvJB3jKv29YA3nWywnLuMvTB3zLza','Cgf1C2vszwfZB24','ugLWzwXPBMuGC3rHDguGy291BgqGBM90igjLigLUC3bLy3rLzdSGBM8GBMv3ihj1BIb3yxmGy3jLyxrLzc4','y2fUy2vSvMvYAwzPy2f0Aw9UCW','r2L0igLUAxrPywXPEMf0Aw9UigfUzcb3B3jRDhjLzsbJCMvHDgLVBIbYzxf1AxjLigrPCMvJDcb1C2vYignVBMzPCM1HDgLVBI4','vMvYAwzPy2f0Aw9Uig11C3qGC3rVCcbIzwzVCMuGCMvSzwfZzs4','v09ss1rsruvFq09ou0vovf9srvfvsvjfra','ywn0B3jjza','u3vWCg9YDgvKihbPCgvSAw5LihzLCNnPB25ZigfYzsaYigfUzcaZlG','DgfZAW','zxHWBg9Yzv9JB2rLiezjuLnuigzVCIbJB2rLlIbNCMvWx3nLyxjJAcbptKXzig5VBI1JB2rLicHJB25MAwCVzg9JCY8Uzw52ks4GtM8Gz3jLCcbSB29WCY4','ks4Gu3rHCNqGysbUzxCGCNvUihDPDgGGCgLWzwXPBMvFC3rHCNqGD2L0Ag91DcbYzwnVDMvYuNvUswqU','u2vUC2L0AxzLigzPBgvZihDVDwXKigjLignVBw1PDhrLzc4GqwrKihrOzw0GDg8GlMDPDgLNBM9YzsbHBMqGCMvXDwvZDcbHig5LDYbWCMv2Awv3lG','D29YA0L0zw1Z','DgfZA0rPCG','tgvNywn5ig1HBMfNzwqGD29YA3rYzwuGAw50zw50igXHy2TZig9YAwDPBIbWCM9VzI4','ywDLBNq','vu5ltK9xtG','C3rHBgu','CMvKDwnL','CgXHBG','tM8GCgLWzwXPBMuGCNvUigzVDw5KigzVCIb0yxnRici','BM9YBwfSAxPLuxvHBgL0EvbSyw4','C3rVCfjLyxnVBG','yM9VDhn0CMfW','D3jPDgvtDgf0zq','zMLSDgvY','uLvox0LosvrjquXjwKfusu9ox0zbsuXfra','BwTKDgvTCfn5BMm','BM93','CMvJB3zLCNLFy29TBwfUzhm','zMfPBgvK','Aw5PDa','v09ss19jtL9gteLhsfq','BwLNCMf0Aw9Uv2fYBMLUz3m','Aw50zw50lwnVBxbSzxrL','BMv4DefJDgLVBG','CMvJB3jKvMvYAwzPy2f0Aw9Uqxn5BMm','Aw5PDgLHBgL6zuDPDezYB21qCMv2Awv3','ic0G','zg9JDw1LBNqTyxj0AwzHy3q','Aw5PDgLHBgL6zq','A2LUza','lMfNlwTPDc13B3jRDhjLzxm','y2HVCMu6igLUAxrPywXPEMuGBg9JywWGCMvWB3nPDg9YEq','lI4Vy29Yzs9JyxrHBg9N','rxHWzwn0zwqGC3rLCcaI','cLj1BJOG','yxbWzw5KrMLSzvn5BMm','CgLWzwXPBMvZ','C3bSAxq','ChjVz3jLC3m','C2L6zq','C2nVCguGBxvZDcbUyw1LihbHDgHZigLUC2LKzsb0AguGD29YA3nWywnLia','y2HLy2TZ','CMvZB2X2zwq','CMvHzhK','C3rLCa','cK5LEhqGC3rLCdOG','BwLZC2LUz1f1ywXPDhLszxf1AxjLBwvUDhm','C3rHDguUANnVBG','ywjHBMrVBMvK','q1jfqvrjt05Fv09ss1nqqunfx01ju01bveni','DgfYz2v0rgLNzxn0','lI4Vy29Yzs9UyxrPDMuTCMvJzwLWDa','uNvUici','ywnJzxb0yw5Jzq','lcbWyxvZzwqGyNKGysbYDw50Aw1LihvWz3jHzguUiejPBMqGAxqGD2L0AcbWAxbLBgLUzv91C2uGyw5KignVBNrPBNvLigL0ihDPDgGGCgLWzwXPBMvFy2HLy2TWB2LUDcHHy3rPB249CMvZDw1Lks4','CMfUzg9TqNL0zxm','BgLZDfj1BNm','D29YA3nWywnL','Aw5KzxG','CMvTB3zL','CMvWBgfJzq','lI4Vy29Yzs9YDw4TC3rHDguTy29Kzwm','z2L0','CNvU','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','C3bLy2LHBgLZDa','ugLWzwXPBMuGC3rHCNrLza','ChjKlwDLBG','DgrKlwXVB3a','zxzLCNK','C2TPBgXqAw5Z','cImJia','DhjHBNnHy3rPB25jza','y29Kzq','BwLNCMf0zuXLz2fJEvn0yxrL','kg5VigXLz2fJEsbSzwrNzxiP','B2jQzwn0','BgLZDefJDgL2zvbPCgvSAw5LCW','q1jfqvrjt05Fsu5uru5ux1jfuvvjuKve','zgvZAwDUu3rHDhvZ','DMvYAwz5q29WAwvKvhjLzq','C3vNz2vZDgvKx3bPCgvSAw5L','y29TCgXLDgvK','BgvNywn5u3rHDgvgAwXLugf0Aa','uvvbteLuwv9qtefox0HjtLq','BgfZDezHAwX1CMu','uMvWB3nPDg9YEsbOyxmGBM8GyMfZzsbJB21TAxqU','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','D2LUzg93C0HPzgu','C3rYAw5N','v09ss1rsruvFvu5nrvjhruq','C2TPBgXZ','ChjVz3jLC3mUBwq','DMfSAwrHDgvuyxnR','ndi1nZaWmdb4t0Xnu1K'];_0x2a2e=function(){return _0x159a0c;};return _0x2a2e();}_0x50e6ad['id']='to-prd',_0x50e6ad[_0x1a2a36(0x208)]='Synthesize\x20PRD',_0x50e6ad[_0x1a2a36(0x246)]=_0x1a2a36(0x29a);const _0x8c691e={};_0x8c691e['id']=_0x1a2a36(0x185),_0x8c691e['name']=_0x1a2a36(0x2cf),_0x8c691e[_0x1a2a36(0x246)]=_0x1a2a36(0x2e5);const _0x3e9548={};_0x3e9548['id']=_0x1a2a36(0x2c8),_0x3e9548[_0x1a2a36(0x208)]=_0x1a2a36(0x22d),_0x3e9548[_0x1a2a36(0x246)]=_0x1a2a36(0x29b);const _0x4b3766={};_0x4b3766['id']=_0x1a2a36(0x178),_0x4b3766['name']=_0x1a2a36(0x1a6),_0x4b3766[_0x1a2a36(0x246)]='improve-codebase-architecture';const _0x3732bd={};_0x3732bd[_0x1a2a36(0x208)]=_0x1a2a36(0x377),_0x3732bd['steps']=[_0x30e857,_0x50e6ad,_0x8c691e,_0x3e9548,_0x4b3766];const _0x829c61={};_0x829c61['id']=_0x1a2a36(0x22a),_0x829c61[_0x1a2a36(0x208)]=_0x1a2a36(0x316),_0x829c61[_0x1a2a36(0x246)]=_0x1a2a36(0x2fb);const _0x4c7647={};_0x4c7647['id']=_0x1a2a36(0x349),_0x4c7647['name']=_0x1a2a36(0x351),_0x4c7647[_0x1a2a36(0x246)]=_0x1a2a36(0x337);const _0xdabc1a={};_0xdabc1a['id']=_0x1a2a36(0x187),_0xdabc1a[_0x1a2a36(0x208)]='Document\x20the\x20fix',_0xdabc1a[_0x1a2a36(0x246)]=_0x1a2a36(0x29a);const _0x1be219={};_0x1be219['id']=_0x1a2a36(0x185),_0x1be219[_0x1a2a36(0x208)]='Create\x20tracking\x20issues',_0x1be219[_0x1a2a36(0x246)]=_0x1a2a36(0x2e5);const _0xe9d470={};_0xe9d470['id']='tdd',_0xe9d470[_0x1a2a36(0x208)]='Write\x20regression\x20test\x20and\x20fix',_0xe9d470['skill']=_0x1a2a36(0x29b);const _0x1a08c8={};_0x1a08c8[_0x1a2a36(0x208)]=_0x1a2a36(0x3e2),_0x1a08c8['steps']=[_0x829c61,_0x4c7647,_0xdabc1a,_0x1be219,_0xe9d470];const _0x81fe8a={};_0x81fe8a['id']=_0x1a2a36(0x3cd),_0x81fe8a['name']=_0x1a2a36(0x229),_0x81fe8a['skill']=null;const _0x49279e={};_0x49279e['id']=_0x1a2a36(0x2b8),_0x49279e['name']=_0x1a2a36(0x3ca),_0x49279e['skill']=_0x1a2a36(0x29b);const _0x92903d={};_0x92903d[_0x1a2a36(0x208)]='Hotfix',_0x92903d[_0x1a2a36(0x3e9)]=[_0x81fe8a,_0x49279e];const _0x5600e2={};_0x5600e2[_0x1a2a36(0x2bd)]=_0x3732bd,_0x5600e2[_0x1a2a36(0x1e8)]=_0x1a08c8,_0x5600e2[_0x1a2a36(0x384)]=_0x92903d;const PIPELINE_DEFINITIONS=_0x5600e2,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(_0x337234,_0x4091e1,_0x390cdb={}){const _0x5f250a={'success':![],'code':_0x337234,'error':_0x4091e1,..._0x390cdb};return _0x5f250a;}function publicItem(_0x2cac0b){const _0x3331ea=_0x1a2a36;if(!_0x2cac0b?.[_0x3331ea(0x231)]?.[_0x3331ea(0x1bd)]&&!_0x2cac0b?.[_0x3331ea(0x231)]?.['changed'])return _0x2cac0b;const {files:_0x596458,changed:_0x28b235,..._0x4b4f6f}=_0x2cac0b[_0x3331ea(0x231)];return{..._0x2cac0b,'lastReviewed':{..._0x4b4f6f,..._0x596458?{'fileCount':Object[_0x3331ea(0x400)](_0x596458)['length']}:{},..._0x28b235?{'changedFromBaseline':Object[_0x3331ea(0x400)](_0x28b235)['length']}:{}}};}const failureCode=_0x1e1632=>typeof _0x1e1632?.[_0x1a2a36(0x2a0)]===_0x1a2a36(0x2b0)&&_0x1e1632[_0x1a2a36(0x2a0)]!==_0x1a2a36(0x25b)?_0x1e1632['code']:/Invalid (?:context kind or|agent) ID/[_0x1a2a36(0x2b9)](_0x1e1632?.[_0x1a2a36(0x157)]||'')?_0x1a2a36(0x16a):_0x1a2a36(0x25b);function creationFailure(_0x3a7a4e,_0x47c002){const _0x1c4dc0=_0x1a2a36;return{'phase':_0x47c002,'code':failureCode(_0x3a7a4e),'syscall':typeof _0x3a7a4e['syscall']===_0x1c4dc0(0x2b0)?_0x3a7a4e[_0x1c4dc0(0x228)]:null,'path':typeof _0x3a7a4e[_0x1c4dc0(0x2fc)]===_0x1c4dc0(0x2b0)?_0x3a7a4e[_0x1c4dc0(0x2fc)]:null,'message':typeof _0x3a7a4e[_0x1c4dc0(0x157)]===_0x1c4dc0(0x2b0)?_0x3a7a4e[_0x1c4dc0(0x157)][_0x1c4dc0(0x31a)](0x0,0xf0):null};}function _0x4ee5(_0x7edf43,_0x115aec){_0x7edf43=_0x7edf43-0x14b;const _0x2a2e52=_0x2a2e();let _0x4ee586=_0x2a2e52[_0x7edf43];if(_0x4ee5['TvDStq']===undefined){var _0x250d35=function(_0x1793df){const _0x229332='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x330268='',_0xfa4792='';for(let _0x30e857=0x0,_0x50e6ad,_0x8c691e,_0x3e9548=0x0;_0x8c691e=_0x1793df['charAt'](_0x3e9548++);~_0x8c691e&&(_0x50e6ad=_0x30e857%0x4?_0x50e6ad*0x40+_0x8c691e:_0x8c691e,_0x30e857++%0x4)?_0x330268+=String['fromCharCode'](0xff&_0x50e6ad>>(-0x2*_0x30e857&0x6)):0x0){_0x8c691e=_0x229332['indexOf'](_0x8c691e);}for(let _0x4b3766=0x0,_0x3732bd=_0x330268['length'];_0x4b3766<_0x3732bd;_0x4b3766++){_0xfa4792+='%'+('00'+_0x330268['charCodeAt'](_0x4b3766)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xfa4792);};_0x4ee5['ItkjWe']=_0x250d35,_0x4ee5['oXYdRd']={},_0x4ee5['TvDStq']=!![];}const _0xc9a30c=_0x2a2e52[0x0];_0x4ee5['qxGucP']!==_0xc9a30c&&(_0x4ee5['oXYdRd']={},_0x4ee5['qxGucP']=_0xc9a30c);const _0x334aa9=_0x4ee5['oXYdRd'][_0x7edf43];return _0x334aa9===undefined?(_0x4ee586=_0x4ee5['ItkjWe'](_0x4ee586),_0x4ee5['oXYdRd'][_0x7edf43]=_0x4ee586):_0x4ee586=_0x334aa9,_0x4ee586;}function normalizePath(_0x44c7d4){const _0x76b041=_0x1a2a36;try{return fs[_0x76b041(0x3c7)](_0x44c7d4);}catch{return path[_0x76b041(0x1b8)](_0x44c7d4);}}function overlappingScope(_0x461c1b=[],_0x5dcdfb=[],_0x2a975c){const _0x263d8b=_0x1a2a36;if(!_0x461c1b[_0x263d8b(0x2e1)]||!_0x5dcdfb[_0x263d8b(0x2e1)]||[..._0x461c1b,..._0x5dcdfb]['some'](_0x22b3ce=>/[*?\[\]{}!]/[_0x263d8b(0x2b9)](_0x22b3ce)))return!![];const _0x298734=_0xcc0a57=>{const _0x2d8988=_0x263d8b,_0x25295c=normalizePath(path['resolve'](_0x2a975c,_0xcc0a57[_0x2d8988(0x23b)]('\x5c','/')));return process['platform']===_0x2d8988(0x360)?_0x25295c[_0x2d8988(0x3fd)]():_0x25295c;};return _0x461c1b['some'](_0x262d9d=>_0x5dcdfb['some'](_0x4ad93b=>{const _0x5eadc3=_0x263d8b,_0x483e52=_0x298734(_0x262d9d),_0x232521=_0x298734(_0x4ad93b);return _0x483e52===_0x232521||_0x483e52['startsWith'](_0x232521+path['sep'])||_0x232521[_0x5eadc3(0x404)](_0x483e52+path[_0x5eadc3(0x3b1)]);}));}function sleep(_0x2fd2b9){Atomics['wait'](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x2fd2b9);}class PipelineManager{constructor(_0x36a73d,_0x57c190={}){const _0x412f5c=_0x1a2a36;this['projectPath']=normalizePath(_0x36a73d),this['env']=_0x57c190['env']||process.env,this[_0x412f5c(0x3c9)]=_0x57c190[_0x412f5c(0x3c9)]||process.env.APT_RUNTIME_ROOT||require('../core/runtime-info')['installedRuntimeRoot'](),this[_0x412f5c(0x378)]=_0x57c190[_0x412f5c(0x1a9)]||require(_0x412f5c(0x2c7))['PRODUCTION_PUBLIC_KEY'],this[_0x412f5c(0x1e0)]=!fs[_0x412f5c(0x387)](path[_0x412f5c(0x40a)](__dirname,'..','..',_0x412f5c(0x305))),this[_0x412f5c(0x267)]=_0x57c190['now']||(()=>new Date()),this[_0x412f5c(0x28e)]=_0x57c190[_0x412f5c(0x28e)]||crypto[_0x412f5c(0x28e)],this[_0x412f5c(0x249)]=_0x57c190[_0x412f5c(0x249)]||(Number(process.env.APT_PIPELINE_LOCK_WAIT_MS)>=0x64?Number(process.env.APT_PIPELINE_LOCK_WAIT_MS):0x3a98),this['migrationWarnings']=[],this[_0x412f5c(0x175)]=new Execution(this),this[_0x412f5c(0x3c1)]();if(_0x57c190[_0x412f5c(0x3d2)]!==![])this['migrateLegacyStates']();}static[_0x1a2a36(0x370)](_0x10b38f){const _0x49a7df=_0x1a2a36;if(typeof _0x10b38f!==_0x49a7df(0x2b0))return'';return _0x10b38f[_0x49a7df(0x3fd)]()['trim']()[_0x49a7df(0x293)](/[^a-z0-9_-]+/g,'-')[_0x49a7df(0x293)](/^[^a-z0-9]+|[^a-z0-9]+$/g,'')[_0x49a7df(0x31a)](0x0,0x40);}static[_0x1a2a36(0x2b4)](_0x7f080){const _0x23bac0=_0x1a2a36;if(typeof _0x7f080!==_0x23bac0(0x2b0)||!_0x7f080[_0x23bac0(0x197)]())return error('TASK_REQUIRED',_0x23bac0(0x216));if(_0x7f080!==_0x7f080[_0x23bac0(0x197)]()||!TASK_PATTERN[_0x23bac0(0x2b9)](_0x7f080))return error(_0x23bac0(0x350),_0x23bac0(0x21a),{'suggested_task':PipelineManager[_0x23bac0(0x370)](_0x7f080)});return null;}static['validateRunId'](_0x222d53){const _0x771601=_0x1a2a36;if(typeof _0x222d53!==_0x771601(0x2b0)||!RUN_PATTERN[_0x771601(0x2b9)](_0x222d53)){const _0xf04c76=typeof _0x222d53==='string'?_0x222d53['match'](/\d{8}T\d{6}Z-[a-f0-9]{8}/g)||[]:[];if(_0xf04c76['length']===0x1)return error(_0x771601(0x166),_0x771601(0x1e6)+JSON[_0x771601(0x1b1)](_0x222d53)+_0x771601(0x365)+JSON['stringify'](_0xf04c76[0x0])+'?',{'suggested_runId':_0xf04c76[0x0]});return error(_0x771601(0x166),_0x771601(0x367));}return null;}static[_0x1a2a36(0x3dd)](_0x2a6fe8){const _0x2dc21a=_0x1a2a36;if(_0x2a6fe8===undefined)return null;if(!_0x2a6fe8||typeof _0x2a6fe8!==_0x2dc21a(0x2a3)||Array['isArray'](_0x2a6fe8))return error(_0x2dc21a(0x242),_0x2dc21a(0x2de));const _0x7f405d=new Set([_0x2dc21a(0x232),_0x2dc21a(0x376),_0x2dc21a(0x363),_0x2dc21a(0x30f),'baseRef']);if(Object[_0x2dc21a(0x400)](_0x2a6fe8)['some'](_0x131b63=>!_0x7f405d[_0x2dc21a(0x1bf)](_0x131b63)))return error('INVALID_WORKSPACE','workspace\x20contains\x20an\x20unsupported\x20field;\x20select\x20the\x20workspace\x20through\x20the\x20MCP\x20server\x20binding.');if(_0x2a6fe8['mode']!==undefined&&![_0x2dc21a(0x386),_0x2dc21a(0x3b0),'worktree']['includes'](_0x2a6fe8[_0x2dc21a(0x232)]))return error(_0x2dc21a(0x242),_0x2dc21a(0x33c));if([_0x2dc21a(0x376),_0x2dc21a(0x363)][_0x2dc21a(0x17c)](_0x44eb75=>_0x2a6fe8[_0x44eb75]!==undefined&&typeof _0x2a6fe8[_0x44eb75]!==_0x2dc21a(0x352))||['confirmationToken',_0x2dc21a(0x3a4)][_0x2dc21a(0x17c)](_0x42836b=>_0x2a6fe8[_0x42836b]!==undefined&&typeof _0x2a6fe8[_0x42836b]!==_0x2dc21a(0x2b0)))return error(_0x2dc21a(0x242),'workspace\x20fields\x20have\x20invalid\x20types.');return null;}[_0x1a2a36(0x33e)](_0x55822c,_0x48e486={}){const _0x864daf=_0x1a2a36,_0x13a938={};_0x13a938[_0x864daf(0x17f)]=_0x48e486[_0x864daf(0x17f)]||this['projectPath'],_0x13a938[_0x864daf(0x159)]={...this['env'],..._0x48e486['env']||{}},_0x13a938['encoding']=_0x864daf(0x3d8),_0x13a938[_0x864daf(0x2af)]=!![],_0x13a938[_0x864daf(0x2c3)]=_0x48e486[_0x864daf(0x2c3)]||0x7530;const _0x34673e=spawnSync(_0x864daf(0x295),_0x55822c,_0x13a938);return{'ok':!_0x34673e[_0x864daf(0x2cc)]&&_0x34673e['status']===0x0,'status':_0x34673e['status'],'stdout':(_0x34673e[_0x864daf(0x17a)]||'')[_0x864daf(0x197)](),'stderr':(_0x34673e[_0x864daf(0x389)]||_0x34673e[_0x864daf(0x2cc)]?.[_0x864daf(0x157)]||'')[_0x864daf(0x197)]()};}[_0x1a2a36(0x3c1)](){const _0x523a99=_0x1a2a36,_0x2e9e43=require(_0x523a99(0x1eb))[_0x523a99(0x37d)](this['projectPath'],this[_0x523a99(0x159)]);this[_0x523a99(0x1c8)]=_0x2e9e43[_0x523a99(0x1c8)],this['gitCommonDir']=_0x2e9e43[_0x523a99(0x205)]?normalizePath(_0x2e9e43['gitCommonDir']):null,this[_0x523a99(0x3c4)]=this[_0x523a99(0x205)]?path['join'](this['gitCommonDir'],_0x523a99(0x3a7),_0x523a99(0x27b)):require(_0x523a99(0x2d3))[_0x523a99(0x14d)](this['projectPath'],_0x523a99(0x27b)),this['legacyStateFilePath']=require(_0x523a99(0x2d3))['stateAgents'](this[_0x523a99(0x36c)],_0x523a99(0x30e));}[_0x1a2a36(0x304)](){const _0x49fefe=_0x1a2a36,_0x5b6de1=this[_0x49fefe(0x267)]()['toISOString']()[_0x49fefe(0x293)](/[-:]/g,'')[_0x49fefe(0x293)](/\.\d{3}/,'');return _0x5b6de1+'-'+this[_0x49fefe(0x28e)](0x4)[_0x49fefe(0x372)](_0x49fefe(0x31d));}['taskDir'](_0x5c64bd){const _0x1cef36=_0x1a2a36;return path[_0x1cef36(0x40a)](this[_0x1cef36(0x3c4)],_0x5c64bd);}[_0x1a2a36(0x220)](_0x427dec,_0x235b44){const _0x15a513=_0x1a2a36;return path[_0x15a513(0x40a)](this[_0x15a513(0x258)](_0x427dec),_0x15a513(0x30b),_0x235b44);}[_0x1a2a36(0x3b9)](_0x9196ae){const _0x269b78=_0x1a2a36;return path[_0x269b78(0x40a)](this[_0x269b78(0x258)](_0x9196ae),_0x269b78(0x3eb));}[_0x1a2a36(0x1df)](_0xe64ead,_0x355a1a){const _0x345d33=_0x1a2a36;return path[_0x345d33(0x40a)](this[_0x345d33(0x220)](_0xe64ead,_0x355a1a),_0x345d33(0x286));}[_0x1a2a36(0x1cb)](_0x7fef9e,_0x381b3a){const _0x5b154a=_0x1a2a36;return path['join'](this[_0x5b154a(0x220)](_0x7fef9e,_0x381b3a),'progress.md');}[_0x1a2a36(0x1db)](_0x893f91,_0xdd430a){const _0x2572e0=_0x1a2a36,_0x375a5d={};_0x375a5d[_0x2572e0(0x313)]=!![],fs[_0x2572e0(0x3ba)](path['dirname'](_0x893f91),_0x375a5d);const _0x5976f6=_0x893f91+'.'+process['pid']+'.'+this[_0x2572e0(0x28e)](0x4)['toString']('hex')+'.tmp',_0xc71821=fs[_0x2572e0(0x303)](_0x5976f6,'wx');try{fs[_0x2572e0(0x1e5)](_0xc71821,_0xdd430a,_0x2572e0(0x3d8)),fs[_0x2572e0(0x193)](_0xc71821);}finally{fs[_0x2572e0(0x3e0)](_0xc71821);}try{require(_0x2572e0(0x401))['renamePatient'](_0x5976f6,_0x893f91);}catch(_0x160662){try{fs[_0x2572e0(0x1ec)](_0x5976f6);}catch{}throw _0x160662;}}[_0x1a2a36(0x3b4)](_0x5c248d,_0x15b35a){const _0x59b567=_0x1a2a36;this[_0x59b567(0x1db)](_0x5c248d,JSON[_0x59b567(0x1b1)](_0x15b35a,null,0x2)+'\x0a');}['lockFile'](_0x49d837){const _0x224b5f=_0x1a2a36;return path[_0x224b5f(0x40a)](this[_0x224b5f(0x3c4)],'.locks',_0x49d837+_0x224b5f(0x33d));}[_0x1a2a36(0x177)](_0x385f77){const _0x324693=_0x1a2a36,_0xf7127=this[_0x324693(0x35e)](_0x385f77),_0x1eb864={};_0x1eb864[_0x324693(0x313)]=!![],fs[_0x324693(0x3ba)](path[_0x324693(0x31b)](_0xf7127),_0x1eb864);const _0x2114f1=Date['now'](),_0x39a7a4=require(_0x324693(0x1c1))['waitBudget'](this['lockTimeoutMs']),_0x4d6c37=require('../core/hook-phase')[_0x324693(0x245)](_0x324693(0x30a));try{while(Date[_0x324693(0x267)]()-_0x2114f1<=_0x39a7a4){const _0x25a05c=acquireRuntimeLock(_0xf7127);if(_0x25a05c)return _0x25a05c;sleep(0x14);}}finally{_0x4d6c37();}const _0x2ba07e={};_0x2ba07e['code']=_0x324693(0x1f3);throw Object[_0x324693(0x18c)](new Error(_0x324693(0x1d9)+_0x385f77+_0x324693(0x307)),_0x2ba07e);}[_0x1a2a36(0x40b)](_0x2c1ce0,_0x2c8436){const _0x2f9aaa=_0x1a2a36;let _0x4a7ac9;try{return _0x4a7ac9=this[_0x2f9aaa(0x177)](_0x2c1ce0),_0x2c8436();}catch(_0x49d03b){if(_0x49d03b[_0x2f9aaa(0x2a0)]==='PIPELINE_STATE_LOCKED')return error(_0x49d03b[_0x2f9aaa(0x2a0)],_0x49d03b[_0x2f9aaa(0x157)]);throw _0x49d03b;}finally{if(_0x4a7ac9)_0x4a7ac9();}}[_0x1a2a36(0x362)](){const _0x2182b7=_0x1a2a36;if(fs[_0x2182b7(0x387)](this[_0x2182b7(0x2aa)]))return!![];const _0x1ca6ed=new Set([require(_0x2182b7(0x2d3))[_0x2182b7(0x14d)](this[_0x2182b7(0x36c)],'pipelines'),this[_0x2182b7(0x3c4)]]);for(const _0x5bc4fc of _0x1ca6ed){if(!fs[_0x2182b7(0x387)](_0x5bc4fc))continue;const _0x4440e5={};_0x4440e5[_0x2182b7(0x1c2)]=!![];if(fs['readdirSync'](_0x5bc4fc,_0x4440e5)[_0x2182b7(0x17c)](_0xa0a90b=>_0xa0a90b['isDirectory']()&&!_0xa0a90b['name'][_0x2182b7(0x404)]('.')&&fs[_0x2182b7(0x387)](path[_0x2182b7(0x40a)](_0x5bc4fc,_0xa0a90b[_0x2182b7(0x208)],_0x2182b7(0x286)))))return!![];}return![];}[_0x1a2a36(0x3ed)](){const _0x2b0346=_0x1a2a36;if(!this[_0x2b0346(0x362)]())return;const _0x3c4d09=this['acquireLock'](_0x2b0346(0x355));try{this['migrateLegacyState'](),this[_0x2b0346(0x18a)]();}finally{_0x3c4d09();}}[_0x1a2a36(0x37b)](_0x4f06b4){const _0x37224f=_0x1a2a36;try{return JSON['parse'](fs[_0x37224f(0x375)](_0x4f06b4,_0x37224f(0x3d8)));}catch(_0x55b08f){if(_0x55b08f[_0x37224f(0x2a0)]!=='ENOENT'&&!(_0x55b08f instanceof SyntaxError))throw _0x55b08f;return null;}}['readCurrent'](_0x292c17){const _0x43f321=_0x1a2a36,_0x59c04e=this[_0x43f321(0x37b)](this[_0x43f321(0x3b9)](_0x292c17));if(!_0x59c04e?.['runId'])return null;return this[_0x43f321(0x35a)](_0x292c17,_0x59c04e[_0x43f321(0x1fb)]);}[_0x1a2a36(0x35a)](_0x89074d,_0x3a62ac){const _0x3dca97=_0x1a2a36,_0x589827=path[_0x3dca97(0x40a)](this[_0x3dca97(0x220)](_0x89074d,_0x3a62ac),'events.jsonl'),_0x3fe055={};_0x3fe055[_0x3dca97(0x253)]=_0x89074d,_0x3fe055[_0x3dca97(0x1fb)]=_0x3a62ac;const _0x579e13=require(_0x3dca97(0x3ab))['readCheckpoint'](_0x589827,_0x3fe055);if(_0x579e13)return require(_0x3dca97(0x294))[_0x3dca97(0x1c5)](_0x579e13,this['runDir'](_0x89074d,_0x3a62ac));return this['execution'][_0x3dca97(0x1a4)](_0x89074d,_0x3a62ac,this['readJson'](this[_0x3dca97(0x1df)](_0x89074d,_0x3a62ac)));}[_0x1a2a36(0x22e)](_0x1e8b06,_0x4e1117={}){const _0x3aa563=_0x1a2a36,_0x410750={};_0x410750[_0x3aa563(0x2e2)]='blocked',_0x410750['code']='FOREIGN_WORKSPACE_STATE';if(!this['ownsRun'](_0x1e8b06))return _0x410750;return inspectRunContract(_0x1e8b06,{'runtimeRoot':this[_0x3aa563(0x3c9)],'publicKey':this[_0x3aa563(0x378)],'developmentMode':this['developmentMode'],'legacyDefinitions':PIPELINE_DEFINITIONS,'runDir':this[_0x3aa563(0x220)](_0x1e8b06['task'],_0x1e8b06['runId']),..._0x4e1117});}[_0x1a2a36(0x19f)](_0x5adf22){const _0x3e82bd=_0x1a2a36;return[_0x5adf22?.['originWorkspace'],_0x5adf22?.[_0x3e82bd(0x290)]?.[_0x3e82bd(0x2fc)]][_0x3e82bd(0x264)](Boolean)['some'](_0x502842=>{const _0xdb2dfe=_0x3e82bd;try{return require('../core/workspace-path')[_0xdb2dfe(0x22b)](_0x502842,this['projectPath']);}catch{return![];}});}[_0x1a2a36(0x17b)](_0x18286e){const _0x3ed2e9=_0x1a2a36,_0x54f684={};_0x54f684[_0x3ed2e9(0x2a0)]='FOREIGN_WORKSPACE_STATE',_0x54f684['task']=_0x18286e['task'],_0x54f684['runId']=_0x18286e['runId'];const _0x5cac4c=_0x54f684;this['foreignWorkspaceStates']||=[];if(!this[_0x3ed2e9(0x325)][_0x3ed2e9(0x17c)](_0x5e5f70=>_0x5e5f70[_0x3ed2e9(0x253)]===_0x18286e[_0x3ed2e9(0x253)]&&_0x5e5f70[_0x3ed2e9(0x1fb)]===_0x18286e[_0x3ed2e9(0x1fb)]))this[_0x3ed2e9(0x325)][_0x3ed2e9(0x3a9)](_0x5cac4c);}[_0x1a2a36(0x408)](_0x20ee97){const _0x456272=_0x1a2a36;_0x20ee97[_0x456272(0x2e6)]=JSON[_0x456272(0x16d)](JSON[_0x456272(0x1b1)](PIPELINE_DEFINITIONS[_0x20ee97[_0x456272(0x3d7)]]));const _0x45844a=path[_0x456272(0x40a)](__dirname,'..','..',_0x456272(0x305)),_0x342b90=fs[_0x456272(0x387)](_0x45844a);_0x20ee97[_0x456272(0x3fb)]={'source':_0x342b90?_0x456272(0x402):_0x456272(0x2cb),'version':require(_0x456272(0x181))[_0x456272(0x215)],'digest':_0x342b90?crypto[_0x456272(0x196)](_0x456272(0x315))[_0x456272(0x2c1)](JSON[_0x456272(0x1b1)](JSON[_0x456272(0x16d)](fs[_0x456272(0x375)](_0x45844a,_0x456272(0x3d8)))))[_0x456272(0x2f8)](_0x456272(0x31d)):null,'definitionHash':crypto[_0x456272(0x196)](_0x456272(0x315))['update'](JSON[_0x456272(0x1b1)](_0x20ee97[_0x456272(0x2e6)]))[_0x456272(0x2f8)](_0x456272(0x31d))};}[_0x1a2a36(0x348)](_0x3c50e7,_0x9651f9){const _0x3adc2e=_0x1a2a36;return this[_0x3adc2e(0x40b)](_0x3c50e7,()=>{const _0xf54f23=_0x3adc2e,_0x2961e4=this['readRun'](_0x3c50e7,_0x9651f9);return _0x2961e4?.['schemaVersion']===0x3&&this[_0xf54f23(0x22e)](_0x2961e4)[_0xf54f23(0x2e2)]!==_0xf54f23(0x152)&&(this[_0xf54f23(0x3b4)](this[_0xf54f23(0x1df)](_0x3c50e7,_0x9651f9),_0x2961e4),this[_0xf54f23(0x175)][_0xf54f23(0x385)](_0x2961e4)),_0x2961e4;});}[_0x1a2a36(0x2ff)](_0x1abbc8,_0x9c8521){const _0x42c3e=_0x1a2a36;return path['join'](this[_0x42c3e(0x3c4)],_0x42c3e(0x151),_0x1abbc8,_0x9c8521+'.json');}[_0x1a2a36(0x359)](_0x15c972){const _0x15b91b=_0x1a2a36,_0x4a1025=path[_0x15b91b(0x40a)](this[_0x15b91b(0x3c4)],_0x15b91b(0x151),_0x15c972);if(!fs['existsSync'](_0x4a1025))return null;for(const _0x387410 of fs[_0x15b91b(0x2e0)](_0x4a1025)){const _0x9cd008=this[_0x15b91b(0x37b)](path[_0x15b91b(0x40a)](_0x4a1025,_0x387410)),_0x3c56b5={};_0x3c56b5[_0x15b91b(0x2e3)]=_0x15b91b(0x3e6),_0x3c56b5[_0x15b91b(0x162)]=_0x387410;if(!_0x9cd008)return _0x3c56b5;const _0x5ce422={};_0x5ce422[_0x15b91b(0x2e3)]=_0x15b91b(0x3e6),_0x5ce422[_0x15b91b(0x162)]=_0x387410;if(_0x9cd008[_0x15b91b(0x253)]!==_0x15c972||PipelineManager[_0x15b91b(0x1f7)](_0x9cd008[_0x15b91b(0x1fb)]))return _0x5ce422;if(['creating','workspace-ready',_0x15b91b(0x2f9)][_0x15b91b(0x2cd)](_0x9cd008[_0x15b91b(0x2e3)])&&!this[_0x15b91b(0x35a)](_0x15c972,_0x9cd008[_0x15b91b(0x1fb)]))return _0x9cd008;}return null;}['pendingCreations'](_0x500b9f,_0x2735f9={}){const _0x26ce5a=_0x1a2a36,_0x18751c=path[_0x26ce5a(0x40a)](this[_0x26ce5a(0x3c4)],_0x26ce5a(0x151));if(!fs['existsSync'](_0x18751c))return[];const _0x1c4d48=_0x2735f9[_0x26ce5a(0x380)]||null,_0x1b26e9={};_0x1b26e9[_0x26ce5a(0x1c2)]=!![];const _0x4c5163=_0x500b9f?[_0x500b9f]:fs[_0x26ce5a(0x2e0)](_0x18751c,_0x1b26e9)[_0x26ce5a(0x264)](_0x4c462d=>_0x4c462d[_0x26ce5a(0x2e7)]())[_0x26ce5a(0x3f7)](_0x5102ea=>_0x5102ea[_0x26ce5a(0x208)]),_0x5d9f96=[];for(const _0x4e4629 of _0x4c5163){const _0x3a0a7b=path[_0x26ce5a(0x40a)](_0x18751c,_0x4e4629);if(!fs[_0x26ce5a(0x387)](_0x3a0a7b))continue;for(const _0x13a907 of fs[_0x26ce5a(0x2e0)](_0x3a0a7b)[_0x26ce5a(0x264)](_0x34ae87=>_0x34ae87['endsWith'](_0x26ce5a(0x1d1)))){const _0x3140c2=this['readJson'](path[_0x26ce5a(0x40a)](_0x3a0a7b,_0x13a907));if(!_0x3140c2||_0x3140c2[_0x26ce5a(0x253)]!==_0x4e4629||PipelineManager[_0x26ce5a(0x1f7)](_0x3140c2[_0x26ce5a(0x1fb)])||![_0x26ce5a(0x38a),_0x26ce5a(0x312),_0x26ce5a(0x2f9)][_0x26ce5a(0x2cd)](_0x3140c2[_0x26ce5a(0x2e3)])||this[_0x26ce5a(0x35a)](_0x4e4629,_0x3140c2[_0x26ce5a(0x1fb)]))continue;const _0x583e62=!PipelineManager[_0x26ce5a(0x3dd)](_0x3140c2[_0x26ce5a(0x301)]),_0x4d042e=Boolean(_0x3140c2[_0x26ce5a(0x290)]&&!_0x3140c2[_0x26ce5a(0x290)][_0x26ce5a(0x1ba)]&&typeof _0x3140c2[_0x26ce5a(0x290)][_0x26ce5a(0x2fc)]===_0x26ce5a(0x2b0)&&normalizePath(_0x3140c2[_0x26ce5a(0x290)][_0x26ce5a(0x2fc)])===this[_0x26ce5a(0x36c)]),_0x533502=_0x3140c2[_0x26ce5a(0x2e4)]===undefined?_0x4d042e:typeof _0x3140c2['originWorkspace']===_0x26ce5a(0x2b0)&&normalizePath(_0x3140c2[_0x26ce5a(0x2e4)])===this[_0x26ce5a(0x36c)],_0x4cca50=this[_0x26ce5a(0x390)](_0x4e4629),_0x192eeb=_0x583e62&&_0x533502&&(_0x4d042e||!_0x3140c2[_0x26ce5a(0x290)]&&_0x3140c2[_0x26ce5a(0x301)]?.[_0x26ce5a(0x232)]!==_0x26ce5a(0x15d)||Boolean(_0x3140c2['workspace']?.[_0x26ce5a(0x1ba)]&&_0x3140c2[_0x26ce5a(0x2e4)]&&_0x3140c2[_0x26ce5a(0x290)][_0x26ce5a(0x2fc)]&&fs[_0x26ce5a(0x387)](_0x3140c2[_0x26ce5a(0x290)][_0x26ce5a(0x2fc)]))),_0x2b668f=!_0x4cca50||_0x4cca50[_0x26ce5a(0x1fb)]===_0x3140c2[_0x26ce5a(0x1fb)],_0x477cac=_0x3140c2[_0x26ce5a(0x1b5)]?.[_0x26ce5a(0x380)]||null,_0x58a2db=!_0x477cac||Boolean(_0x1c4d48)&&_0x1c4d48===_0x477cac,_0x515272=_0x192eeb&&_0x2b668f&&_0x58a2db,_0x507ffc=_0x515272?null:!_0x192eeb?'workspace-mismatch':!_0x2b668f?_0x26ce5a(0x3be):_0x26ce5a(0x154),_0x5e4a80=_0x583e62&&_0x533502&&_0x4d042e&&!_0x4cca50&&!fs[_0x26ce5a(0x387)](this[_0x26ce5a(0x220)](_0x4e4629,_0x3140c2['runId']))&&!fs['existsSync'](this['currentFile'](_0x4e4629)),_0x32be45=Boolean(_0x1c4d48)&&(_0x3140c2[_0x26ce5a(0x2e3)]===_0x26ce5a(0x2f9)||!_0x477cac||_0x1c4d48===_0x477cac),_0x33a01f=_0x5e4a80&&_0x32be45,_0x315829=_0x33a01f||!_0x5e4a80?null:!_0x1c4d48?'session-required':'recorded-coordinator-session';let _0x318d98=null;if(_0x3140c2[_0x26ce5a(0x2e3)]===_0x26ce5a(0x2f9)&&(_0x3140c2[_0x26ce5a(0x2cc)]?.['code']==='CONTEXT_ID_INVALID'||/Invalid (?:context kind or|agent) ID/[_0x26ce5a(0x2b9)](_0x3140c2[_0x26ce5a(0x2cc)]?.['message']||''))&&(_0x3140c2[_0x26ce5a(0x1b5)]?.['workflowId']||_0x3140c2[_0x26ce5a(0x1b5)]?.[_0x26ce5a(0x298)]))try{const _0xee362d=new(require(_0x26ce5a(0x277)))['Catalog'](this['projectPath']);for(const [_0x100681,_0x1ea446]of[[_0x26ce5a(0x25a),_0x3140c2['args']['specialist']],['workflow',_0x3140c2[_0x26ce5a(0x1b5)][_0x26ce5a(0x192)]]]){if(_0x1ea446===undefined||_0x1ea446===null||_0x1ea446==='')continue;_0xee362d['contextFile'](_0x100681,_0x1ea446);}if(typeof _0x3140c2[_0x26ce5a(0x1b5)][_0x26ce5a(0x192)]===_0x26ce5a(0x2b0)&&_0x3140c2['args'][_0x26ce5a(0x192)]&&(!_0x3140c2['args'][_0x26ce5a(0x298)]||_0x3140c2[_0x26ce5a(0x1b5)][_0x26ce5a(0x192)]['startsWith']('/')))_0x318d98=_0x26ce5a(0x2dd)+JSON[_0x26ce5a(0x1b1)](_0x3140c2[_0x26ce5a(0x1b5)][_0x26ce5a(0x192)])+_0x26ce5a(0x2ce);else{if(typeof _0x3140c2[_0x26ce5a(0x1b5)][_0x26ce5a(0x298)]===_0x26ce5a(0x2b0)&&_0x3140c2[_0x26ce5a(0x1b5)][_0x26ce5a(0x298)])_0x318d98='specialist\x20'+JSON[_0x26ce5a(0x1b1)](_0x3140c2[_0x26ce5a(0x1b5)]['specialist'])+_0x26ce5a(0x2ce);}}catch{_0x318d98=null;}const _0xd1686e={'resume':_0x515272,'abandon':_0x33a01f,..._0x507ffc?{'resumeBlockedBy':_0x507ffc}:{},..._0x315829?{'abandonBlockedBy':_0x315829}:{}};_0x5d9f96[_0x26ce5a(0x3a9)]({'task':_0x4e4629,'runId':_0x3140c2[_0x26ce5a(0x1fb)],'status':_0x3140c2[_0x26ce5a(0x2e3)],'createdAt':_0x3140c2[_0x26ce5a(0x1d5)]||null,'originWorkspace':_0x3140c2['originWorkspace']||null,'requestedWorkspace':_0x3140c2['requestedWorkspace']||null,'workspace':_0x3140c2[_0x26ce5a(0x290)]||null,'runtimeVersion':_0x3140c2[_0x26ce5a(0x211)]||null,..._0x477cac?{'recordedSession':_0x477cac}:{},'error':_0x3140c2[_0x26ce5a(0x2cc)]?{..._0x3140c2[_0x26ce5a(0x2cc)],'code':failureCode(_0x3140c2[_0x26ce5a(0x2cc)])}:null,..._0x318d98?{'causeResolved':_0x318d98}:{},'intentFile':path[_0x26ce5a(0x40a)](_0x3a0a7b,_0x13a907),'availableActions':_0xd1686e});}}return _0x5d9f96;}[_0x1a2a36(0x2bf)](_0x37303f,_0x402ca3,_0x4ef8a6){const _0x1bca2b=_0x1a2a36,_0x471af6=PipelineManager[_0x1bca2b(0x1f7)](_0x402ca3);if(_0x471af6)return _0x471af6;return this[_0x1bca2b(0x40b)](_0x37303f,()=>{const _0x90ed4b=_0x1bca2b,_0x27d2b6=this[_0x90ed4b(0x2ff)](_0x37303f,_0x402ca3),_0x1c0479=this[_0x90ed4b(0x37b)](_0x27d2b6);if(!_0x1c0479||_0x1c0479[_0x90ed4b(0x253)]!==_0x37303f||_0x1c0479['runId']!==_0x402ca3)return error(_0x90ed4b(0x2a5),_0x90ed4b(0x2d5));if(!['creating','workspace-ready','interrupted'][_0x90ed4b(0x2cd)](_0x1c0479['status'])){const _0x30c1bf=this[_0x90ed4b(0x35a)](_0x37303f,_0x402ca3);return error(_0x90ed4b(0x198),_0x30c1bf&&['cancelled',_0x90ed4b(0x2a9)]['includes'](_0x30c1bf[_0x90ed4b(0x2e3)])?_0x90ed4b(0x3cf)+_0x402ca3+_0x90ed4b(0x1c9)+_0x30c1bf[_0x90ed4b(0x2e3)]+_0x90ed4b(0x255):_0x90ed4b(0x3bb),_0x30c1bf?{'runStatus':_0x30c1bf['status']}:{});}if(PipelineManager[_0x90ed4b(0x3dd)](_0x1c0479[_0x90ed4b(0x301)])||_0x1c0479[_0x90ed4b(0x2e4)]&&(typeof _0x1c0479[_0x90ed4b(0x2e4)]!==_0x90ed4b(0x2b0)||normalizePath(_0x1c0479[_0x90ed4b(0x2e4)])!==this[_0x90ed4b(0x36c)]))return error(_0x90ed4b(0x288),_0x90ed4b(0x1ef));if(_0x1c0479['args']?.['sessionId']&&_0x1c0479[_0x90ed4b(0x1b5)][_0x90ed4b(0x380)]!==_0x4ef8a6)return error(_0x90ed4b(0x163),'Recover\x20creation\x20with\x20its\x20recorded\x20coordinator\x20session.');const _0x1945d4=this[_0x90ed4b(0x390)](_0x37303f);if(_0x1945d4&&_0x1945d4['runId']!==_0x402ca3)return error('CREATION_SUPERSEDED',_0x90ed4b(0x2f2));const _0x5147de=this[_0x90ed4b(0x35a)](_0x37303f,_0x402ca3);if(_0x5147de){if(_0x5147de['status']!=='active'||_0x5147de['coordinator']&&_0x5147de[_0x90ed4b(0x2bb)]!==_0x4ef8a6)return error('CREATION_RUN_MISMATCH',_0x90ed4b(0x19a));const _0x39dd1f={};_0x39dd1f[_0x90ed4b(0x1fe)]=!![],this['writeState'](_0x5147de,_0x39dd1f);const _0x2d7652={..._0x1c0479};_0x2d7652[_0x90ed4b(0x2e3)]=_0x90ed4b(0x2a9),this[_0x90ed4b(0x3b4)](_0x27d2b6,_0x2d7652);const _0x4d197b={};return _0x4d197b[_0x90ed4b(0x3e8)]=!![],this[_0x90ed4b(0x248)](_0x5147de,_0x4d197b);}let _0x42e20e=_0x1c0479[_0x90ed4b(0x290)];const _0xc88a47={};_0xc88a47[_0x90ed4b(0x232)]=_0x90ed4b(0x3b0);if(!_0x42e20e&&_0x1c0479['requestedWorkspace'][_0x90ed4b(0x232)]!==_0x90ed4b(0x15d))_0x42e20e=this[_0x90ed4b(0x3ea)](_0x37303f,_0x402ca3,_0xc88a47)[_0x90ed4b(0x290)];if(!_0x42e20e&&_0x1c0479[_0x90ed4b(0x301)]['mode']===_0x90ed4b(0x15d)){const _0x4fa283=path[_0x90ed4b(0x40a)](path[_0x90ed4b(0x31b)](this[_0x90ed4b(0x36c)]),'.ag-kit-worktrees',path['basename'](this[_0x90ed4b(0x36c)]),_0x37303f,_0x402ca3),_0x237435={};_0x237435[_0x90ed4b(0x2fc)]=_0x4fa283,_0x237435[_0x90ed4b(0x232)]='worktree',_0x237435['managed']=!![],_0x237435[_0x90ed4b(0x3ff)]=_0x90ed4b(0x19c)+_0x37303f+'/'+_0x402ca3,_0x237435[_0x90ed4b(0x2e3)]=_0x90ed4b(0x282),_0x42e20e=_0x237435;}if(!_0x42e20e||!fs[_0x90ed4b(0x387)](_0x42e20e['path'])){if(_0x42e20e?.[_0x90ed4b(0x1ba)]&&!_0x1c0479[_0x90ed4b(0x290)]){const _0x465afa=this[_0x90ed4b(0x33e)](['worktree',_0x90ed4b(0x34e),_0x90ed4b(0x221)]),_0x3eafff=this[_0x90ed4b(0x33e)](['show-ref',_0x90ed4b(0x319),'--quiet','refs/heads/'+_0x42e20e[_0x90ed4b(0x3ff)]]),_0x3b8bd5=_0x465afa[_0x90ed4b(0x17a)]?.[_0x90ed4b(0x27c)](/\r?\n/)[_0x90ed4b(0x17c)](_0x2dc3c7=>_0x2dc3c7[_0x90ed4b(0x404)](_0x90ed4b(0x1be))&&normalizePath(_0x2dc3c7[_0x90ed4b(0x31a)](0x9))===normalizePath(_0x42e20e[_0x90ed4b(0x2fc)]));if(_0x465afa['ok']&&!_0x3b8bd5&&_0x3eafff['status']===0x1)return this[_0x90ed4b(0x3b4)](_0x27d2b6,{..._0x1c0479,'status':_0x90ed4b(0x287),'resolvedAt':this[_0x90ed4b(0x267)]()[_0x90ed4b(0x3ce)]()}),error(_0x90ed4b(0x14b),_0x90ed4b(0x2fe));}return error(_0x90ed4b(0x233),_0x90ed4b(0x40c));}if(_0x42e20e[_0x90ed4b(0x1ba)]){const _0x440704=this[_0x90ed4b(0x33e)]([_0x90ed4b(0x15d),'list','--porcelain']),_0x4ee3b7={};_0x4ee3b7[_0x90ed4b(0x17f)]=_0x42e20e[_0x90ed4b(0x2fc)];const _0x587b20=this[_0x90ed4b(0x33e)](['branch','--show-current'],_0x4ee3b7);if(!_0x440704['ok']||!_0x440704['stdout'][_0x90ed4b(0x27c)]('\x0a')['some'](_0x42651a=>_0x42651a[_0x90ed4b(0x404)](_0x90ed4b(0x1be))&&normalizePath(_0x42651a[_0x90ed4b(0x31a)](0x9))===normalizePath(_0x42e20e[_0x90ed4b(0x2fc)]))||_0x587b20[_0x90ed4b(0x17a)]!==_0x42e20e['branch'])return error(_0x90ed4b(0x288),_0x90ed4b(0x388));}else{if(!_0x42e20e[_0x90ed4b(0x2fc)]||normalizePath(_0x42e20e[_0x90ed4b(0x2fc)])!==this['projectPath'])return error('CREATION_WORKSPACE_MISMATCH',_0x90ed4b(0x302));}if(!_0x1c0479['originWorkspace']&&_0x42e20e[_0x90ed4b(0x1ba)])return error('CREATION_WORKSPACE_MISMATCH',_0x90ed4b(0x259));const _0x19b909={'schemaVersion':_0x1c0479[_0x90ed4b(0x1aa)]||0x3,'task':_0x37303f,'runId':_0x402ca3,'pipeline':_0x1c0479['pipeline'],'status':'active','completedSteps':[],'originWorkspace':_0x1c0479[_0x90ed4b(0x2e4)]||this['projectPath'],'workspace':_0x42e20e,'startedAt':_0x1c0479[_0x90ed4b(0x1d5)],'updatedAt':this['now']()[_0x90ed4b(0x3ce)]()};let _0x4f4908='snapshot';try{if(_0x19b909['schemaVersion']===0x3)this[_0x90ed4b(0x175)][_0x90ed4b(0x273)](_0x19b909,_0x1c0479[_0x90ed4b(0x1b5)]);else this[_0x90ed4b(0x408)](_0x19b909);_0x4f4908=_0x90ed4b(0x332);const _0x2320f3={};_0x2320f3['setCurrent']=!![],this[_0x90ed4b(0x263)](_0x19b909,_0x2320f3),_0x4f4908=_0x90ed4b(0x26d),this[_0x90ed4b(0x3b4)](_0x27d2b6,{..._0x1c0479,'status':_0x90ed4b(0x2a9),'recoveredAt':this[_0x90ed4b(0x267)]()[_0x90ed4b(0x3ce)]()});const _0x541320={};return _0x541320[_0x90ed4b(0x3e8)]=!![],_0x541320[_0x90ed4b(0x2f3)]=!![],this[_0x90ed4b(0x248)](_0x19b909,_0x541320);}catch(_0x53de04){const _0x1a319a=creationFailure(_0x53de04,_0x4f4908);try{const _0x8d688e={..._0x1c0479};_0x8d688e['status']=_0x90ed4b(0x2f9),_0x8d688e[_0x90ed4b(0x2cc)]=_0x1a319a,this['atomicWriteJson'](_0x27d2b6,_0x8d688e);}catch{}const _0x392556={};return _0x392556[_0x90ed4b(0x253)]=_0x37303f,_0x392556[_0x90ed4b(0x1fb)]=_0x402ca3,_0x392556['intentFile']=_0x27d2b6,_0x392556['workspace']=_0x42e20e,_0x392556[_0x90ed4b(0x1b6)]=_0x1a319a[_0x90ed4b(0x2a0)],_0x392556[_0x90ed4b(0x35b)]=_0x1a319a,error(_0x90ed4b(0x265),_0x90ed4b(0x241),_0x392556);}});}['writeState'](_0x30ca7b,{setCurrent:setCurrent=![]}={}){const _0x383089=_0x1a2a36;_0x30ca7b[_0x383089(0x33f)]=this[_0x383089(0x267)]()['toISOString']();if(_0x30ca7b['schemaVersion']===0x3)this[_0x383089(0x175)]['persist'](_0x30ca7b);this[_0x383089(0x3b4)](this['stateFile'](_0x30ca7b[_0x383089(0x253)],_0x30ca7b[_0x383089(0x1fb)]),_0x30ca7b);if(_0x30ca7b['schemaVersion']===0x3)this[_0x383089(0x175)]['ledger'](_0x30ca7b);setCurrent&&this['atomicWriteJson'](this[_0x383089(0x3b9)](_0x30ca7b[_0x383089(0x253)]),{'task':_0x30ca7b[_0x383089(0x253)],'runId':_0x30ca7b[_0x383089(0x1fb)],'updatedAt':_0x30ca7b[_0x383089(0x33f)]});}[_0x1a2a36(0x21f)](_0x5021fc,_0x45e2cd,_0x3b0bde){const _0x23776b=_0x1a2a36;if(_0x5021fc[_0x23776b(0x1aa)]===0x3)return this[_0x23776b(0x175)]['ledger'](_0x5021fc);const _0xb2c4d6=this[_0x23776b(0x1cb)](_0x5021fc[_0x23776b(0x253)],_0x5021fc['runId']);let _0x569b6e=fs['existsSync'](_0xb2c4d6)?fs[_0x23776b(0x375)](_0xb2c4d6,_0x23776b(0x3d8)):'';!_0x569b6e&&(_0x569b6e=_0x23776b(0x3d3)+_0x5021fc[_0x23776b(0x253)]+_0x23776b(0x279)+_0x5021fc[_0x23776b(0x1fb)]+_0x23776b(0x1d2)+_0x5021fc[_0x23776b(0x3d7)]+'\x0a'),_0x569b6e+=_0x23776b(0x29e)+this[_0x23776b(0x267)]()[_0x23776b(0x3ce)]()+_0x23776b(0x271)+_0x45e2cd+'\x0a\x0a'+_0x3b0bde+'\x0a',this['atomicWrite'](_0xb2c4d6,_0x569b6e);}['requiredSkillError'](_0x480455,_0x41da70=this[_0x1a2a36(0x36c)]){const _0x1e37c5=_0x1a2a36,_0x561adb=[require(_0x1e37c5(0x2d3))['resourceAgents'](_0x41da70,_0x1e37c5(0x2b2),_0x480455,_0x1e37c5(0x3fc)),require(_0x1e37c5(0x2d3))[_0x1e37c5(0x1f0)](this[_0x1e37c5(0x36c)],_0x1e37c5(0x2b2),_0x480455,_0x1e37c5(0x3fc))],{SKILL_NAME_MAPPING:_0x4dc565,CANONICAL_SKILL_SOURCES:_0x2b9736}=require(_0x1e37c5(0x206)),_0x3fc191=_0x2b9736[_0x480455]||Object['keys'](_0x4dc565)[_0x1e37c5(0x341)](_0x1b0301=>_0x4dc565[_0x1b0301]===_0x480455);if(_0x3fc191)_0x561adb[_0x1e37c5(0x3a9)](require(_0x1e37c5(0x2d3))[_0x1e37c5(0x1f0)](this[_0x1e37c5(0x36c)],_0x1e37c5(0x2b2),_0x3fc191,_0x1e37c5(0x3fc)));const _0x2210c4=_0x561adb[_0x1e37c5(0x341)](_0x330995=>fs[_0x1e37c5(0x387)](_0x330995));if(_0x2210c4)return null;const _0x585ec2={};return _0x585ec2[_0x1e37c5(0x374)]=_0x561adb[0x0],_0x585ec2['recovery_command']='npx\x20apt-mcp-agent-setup\x20update\x20--project\x20\x22'+this[_0x1e37c5(0x36c)]+'\x22',error(_0x1e37c5(0x3b7),'Required\x20pipeline\x20skill\x20\x22'+_0x480455+_0x1e37c5(0x1fd),_0x585ec2);}['isLinkedWorktree'](){const _0x1cbd70=_0x1a2a36;if(!this[_0x1cbd70(0x1c8)])return![];const _0x66b2ca=this[_0x1cbd70(0x33e)]([_0x1cbd70(0x345),_0x1cbd70(0x34b)]);if(!_0x66b2ca['ok']||!this[_0x1cbd70(0x205)])return![];const _0x4ae496=normalizePath(path[_0x1cbd70(0x1b8)](this[_0x1cbd70(0x36c)],_0x66b2ca[_0x1cbd70(0x17a)]));if(_0x4ae496===this[_0x1cbd70(0x205)])return![];const _0x1f1063=this[_0x1cbd70(0x33e)]([_0x1cbd70(0x15d),'list',_0x1cbd70(0x221)]);if(!_0x1f1063['ok'])return![];const _0x26b8be=normalizePath(this['projectPath'])[_0x1cbd70(0x3fd)]();return _0x1f1063['stdout']['split'](/\r?\n/)[_0x1cbd70(0x264)](_0x3bbe40=>_0x3bbe40[_0x1cbd70(0x404)]('worktree\x20'))[_0x1cbd70(0x17c)](_0x3df8f7=>normalizePath(_0x3df8f7[_0x1cbd70(0x31a)](0x9))['toLowerCase']()===_0x26b8be);}[_0x1a2a36(0x320)](){const _0x2245ff=_0x1a2a36;if(this['isGitRepository'])return error('GIT_ALREADY_INITIALIZED',_0x2245ff(0x3c0));const _0x4eea40=fs[_0x2245ff(0x266)](path[_0x2245ff(0x40a)](os['tmpdir'](),_0x2245ff(0x336)));try{const _0x18d559=path[_0x2245ff(0x40a)](_0x4eea40,_0x2245ff(0x295)),_0xceadf9=path[_0x2245ff(0x40a)](_0x4eea40,_0x2245ff(0x291)),_0x3ccc1d={};_0x3ccc1d[_0x2245ff(0x17f)]=_0x4eea40;const _0x54a297=this[_0x2245ff(0x33e)](['init',_0x2245ff(0x369),_0x18d559],_0x3ccc1d);if(!_0x54a297['ok'])return error('GIT_PREVIEW_FAILED',_0x54a297[_0x2245ff(0x389)]||_0x2245ff(0x407));const _0xc2bead={};_0xc2bead[_0x2245ff(0x1bb)]=_0xceadf9;const _0x2636cb=_0xc2bead,_0x2a4923=this[_0x2245ff(0x33e)]([_0x2245ff(0x34b),_0x18d559,_0x2245ff(0x23d),this[_0x2245ff(0x36c)],_0x2245ff(0x38b),'-A'],{'cwd':this[_0x2245ff(0x36c)],'env':_0x2636cb});if(!_0x2a4923['ok'])return error(_0x2245ff(0x3a1),_0x2a4923['stderr']||'Cannot\x20calculate\x20Git\x20bootstrap\x20preview.');const _0x31a660=this[_0x2245ff(0x33e)](['--git-dir',_0x18d559,_0x2245ff(0x23d),this['projectPath'],_0x2245ff(0x31e),_0x2245ff(0x30c),_0x2245ff(0x1c7),'-z'],{'cwd':this['projectPath'],'env':_0x2636cb});if(!_0x31a660['ok'])return error(_0x2245ff(0x3a1),_0x31a660[_0x2245ff(0x389)]||'Cannot\x20read\x20Git\x20bootstrap\x20preview.');const _0x266fd5=_0x31a660[_0x2245ff(0x17a)]?_0x31a660[_0x2245ff(0x17a)][_0x2245ff(0x27c)]('\x00')[_0x2245ff(0x264)](Boolean)[_0x2245ff(0x3f7)](_0x12c5e6=>_0x12c5e6[_0x2245ff(0x293)](/\\/g,'/'))[_0x2245ff(0x171)]():[],_0x47afb2=_0x266fd5[_0x2245ff(0x3f7)](_0x2b1d1d=>{const _0x53b23a=_0x2245ff,_0x556dbf=path[_0x53b23a(0x40a)](this['projectPath'],_0x2b1d1d),_0x2a0026=fs[_0x53b23a(0x2c2)](_0x556dbf),_0x104c3b=crypto[_0x53b23a(0x196)](_0x53b23a(0x315))[_0x53b23a(0x2c1)](fs['readFileSync'](_0x556dbf))[_0x53b23a(0x2f8)](_0x53b23a(0x31d));return{'path':_0x2b1d1d,'size':_0x2a0026[_0x53b23a(0x27e)],'mtimeMs':Math[_0x53b23a(0x382)](_0x2a0026['mtimeMs']),'sha256':_0x104c3b};}),_0x1a8779=_0x266fd5[_0x2245ff(0x264)](_0x15e634=>{const _0x12f805=_0x2245ff,_0x2cd164=/\.env\.example$/i[_0x12f805(0x2b9)](_0x15e634);if(!_0x2cd164&&SENSITIVE_PATTERNS[_0x12f805(0x17c)](_0x5c07ee=>_0x5c07ee[_0x12f805(0x2b9)](_0x15e634)))return!![];const _0x1f7586=fs[_0x12f805(0x375)](path['join'](this['projectPath'],_0x15e634),'utf8');return SENSITIVE_CONTENT_PATTERNS[_0x12f805(0x17c)](_0xa20702=>_0xa20702['test'](_0x1f7586));}),_0x1b1fa0=_0x47afb2[_0x2245ff(0x264)](_0x3a7d19=>_0x3a7d19[_0x2245ff(0x27e)]>0xa*0x400*0x400)['map'](_0x11aee0=>_0x11aee0[_0x2245ff(0x2fc)]),_0x380f9d=require(_0x2245ff(0x2d3))['isGlobal'](this['projectPath'])?[]:[_0x2245ff(0x179)],_0x25640d={};_0x25640d[_0x2245ff(0x3c6)]=_0x47afb2,_0x25640d[_0x2245ff(0x3f9)]=_0x380f9d;const _0x4ad640=crypto['createHash']('sha256')[_0x2245ff(0x2c1)](JSON[_0x2245ff(0x1b1)](_0x25640d))['digest'](_0x2245ff(0x31d));return{'success':![],'code':_0x1a8779[_0x2245ff(0x2e1)]?_0x2245ff(0x158):'GIT_INIT_CONFIRMATION_REQUIRED','error':_0x1a8779[_0x2245ff(0x2e1)]?_0x2245ff(0x256):_0x2245ff(0x155),'confirmationToken':_0x4ad640,'fileCount':_0x266fd5[_0x2245ff(0x2e1)],'totalBytes':_0x47afb2[_0x2245ff(0x25d)]((_0x168ebb,_0x693a4f)=>_0x168ebb+_0x693a4f[_0x2245ff(0x27e)],0x0),'files':_0x266fd5,'sensitiveFiles':_0x1a8779,'largeFiles':_0x1b1fa0,'plannedIgnoreAdditions':_0x380f9d};}finally{const _0x3cebdc={};_0x3cebdc['recursive']=!![],_0x3cebdc['force']=!![],fs['rmSync'](_0x4eea40,_0x3cebdc);}}[_0x1a2a36(0x2bc)](){const _0x24a9ad=_0x1a2a36;if(require(_0x24a9ad(0x2d3))[_0x24a9ad(0x2ef)](this[_0x24a9ad(0x36c)]))return;const _0x2a614d=path['join'](this[_0x24a9ad(0x36c)],'.gitignore'),_0x4b9241=_0x24a9ad(0x179),_0x33d737=fs[_0x24a9ad(0x387)](_0x2a614d)?fs['readFileSync'](_0x2a614d,_0x24a9ad(0x3d8)):'',_0x3a5ff=_0x33d737[_0x24a9ad(0x27c)](/\r?\n/)[_0x24a9ad(0x3f7)](_0x184bf8=>_0x184bf8['trim']());if(_0x3a5ff[_0x24a9ad(0x2cd)](_0x4b9241))return;const _0x47db3e=_0x33d737&&!_0x33d737['endsWith']('\x0a')?'\x0a':'';fs[_0x24a9ad(0x27a)](_0x2a614d,''+_0x47db3e+_0x4b9241+'\x0a',_0x24a9ad(0x3d8));}['initializeGitFromPreview'](_0x55b4de){const _0x567939=_0x1a2a36,_0x9188e8=this[_0x567939(0x320)]();if(_0x9188e8[_0x567939(0x2a0)]===_0x567939(0x158))return _0x9188e8;if(_0x9188e8['confirmationToken']!==_0x55b4de){const _0x5203b7={};return _0x5203b7[_0x567939(0x202)]=_0x9188e8,error('GIT_PREVIEW_STALE',_0x567939(0x1e2),_0x5203b7);}const _0x29941b=this[_0x567939(0x28f)]()['filter'](_0x3aff8d=>_0x3aff8d[_0x567939(0x2e3)]===_0x567939(0x176)||_0x3aff8d[_0x567939(0x2e3)]===_0x567939(0x1ab));if(_0x29941b[_0x567939(0x2e1)])return error('PIPELINES_ACTIVE_DURING_GIT_INIT','Complete\x20or\x20cancel\x20active\x20pipelines\x20before\x20initializing\x20Git.');const _0x4ab7a0=this[_0x567939(0x33e)]([_0x567939(0x1d8),_0x567939(0x1c0),_0x567939(0x317)]),_0x550903=this['runGit']([_0x567939(0x1d8),_0x567939(0x1c0),_0x567939(0x3b3)]);if(!_0x4ab7a0['ok']||!_0x4ab7a0[_0x567939(0x17a)]||!_0x550903['ok']||!_0x550903[_0x567939(0x17a)]){const _0xd59e7b={};return _0xd59e7b[_0x567939(0x268)]=['git\x20config\x20--global\x20user.name\x20\x22Your\x20Name\x22',_0x567939(0x186)],error(_0x567939(0x3b2),_0x567939(0x243),_0xd59e7b);}const _0x4e09f6=this[_0x567939(0x33e)](['config',_0x567939(0x1c0),'init.defaultBranch']),_0x5673b0=_0x4e09f6['ok']&&_0x4e09f6[_0x567939(0x17a)]?_0x4e09f6[_0x567939(0x17a)]:_0x567939(0x356);let _0x38d39a=this[_0x567939(0x33e)]([_0x567939(0x26a),'-b',_0x5673b0]);if(!_0x38d39a['ok']){_0x38d39a=this[_0x567939(0x33e)]([_0x567939(0x26a)]);if(!_0x38d39a['ok'])return error('GIT_INIT_FAILED',_0x38d39a['stderr']);const _0x47a443=this[_0x567939(0x33e)](['branch','-M',_0x5673b0]);if(!_0x47a443['ok'])return error(_0x567939(0x2f7),_0x47a443[_0x567939(0x389)]);}this['ensureRuntimeIgnore']();const _0x5b3236=this[_0x567939(0x33e)]([_0x567939(0x38b),'-A']);if(!_0x5b3236['ok'])return error(_0x567939(0x32c),_0x5b3236[_0x567939(0x389)]);const _0x1e4f0d=this[_0x567939(0x33e)]([_0x567939(0x150),_0x567939(0x38f),'-m',_0x567939(0x276)]);if(!_0x1e4f0d['ok'])return error(_0x567939(0x32c),_0x1e4f0d['stderr']);const _0x132ac9=this[_0x567939(0x33e)]([_0x567939(0x2e3),_0x567939(0x221)]);if(!_0x132ac9['ok']||_0x132ac9[_0x567939(0x17a)])return error(_0x567939(0x398),'Repository\x20is\x20not\x20clean\x20after\x20the\x20baseline\x20commit.',{'status':_0x132ac9[_0x567939(0x17a)]});const _0x173e0c=this[_0x567939(0x3c4)];this[_0x567939(0x3c1)](),this[_0x567939(0x1b3)](_0x173e0c);const _0x57b74a={};return _0x57b74a[_0x567939(0x3e8)]=!![],_0x57b74a[_0x567939(0x3ff)]=_0x5673b0,_0x57b74a[_0x567939(0x1a0)]=!![],_0x57b74a;}[_0x1a2a36(0x1b3)](_0xd0ff91){const _0x20fe77=_0x1a2a36;if(!_0xd0ff91||normalizePath(_0xd0ff91)===normalizePath(this[_0x20fe77(0x3c4)])||!fs['existsSync'](_0xd0ff91))return;const _0x39322b=path[_0x20fe77(0x40a)](this[_0x20fe77(0x3c4)],_0x20fe77(0x330),crypto[_0x20fe77(0x196)](_0x20fe77(0x315))['update'](_0xd0ff91)['digest'](_0x20fe77(0x31d))+_0x20fe77(0x1d1));if(fs['existsSync'](_0x39322b))return;const _0x489977=this[_0x20fe77(0x338)](_0xd0ff91)[_0x20fe77(0x264)](_0x99b253=>_0x99b253[_0x20fe77(0x2e3)]==='active'||_0x99b253['status']===_0x20fe77(0x1ab)),_0x41a84b={};_0x41a84b[_0x20fe77(0x2a0)]=_0x20fe77(0x353);if(_0x489977[_0x20fe77(0x2e1)])throw Object[_0x20fe77(0x18c)](new Error(_0x20fe77(0x15a)),_0x41a84b);for(const _0x1945f1 of this[_0x20fe77(0x338)](_0xd0ff91)){const _0x3b71c4=path[_0x20fe77(0x40a)](_0xd0ff91,_0x1945f1[_0x20fe77(0x253)],'runs',_0x1945f1[_0x20fe77(0x1fb)]),_0x9fb4ca=this[_0x20fe77(0x220)](_0x1945f1[_0x20fe77(0x253)],_0x1945f1[_0x20fe77(0x1fb)]),_0x4196bd={};_0x4196bd['recursive']=!![],_0x4196bd['errorOnExist']=!![];if(!fs[_0x20fe77(0x387)](_0x9fb4ca))fs[_0x20fe77(0x366)](_0x3b71c4,_0x9fb4ca,_0x4196bd);this[_0x20fe77(0x2a7)](_0x3b71c4,_0x9fb4ca);const _0x367b3a=path[_0x20fe77(0x40a)](_0xd0ff91,_0x1945f1['task'],_0x20fe77(0x3eb));fs[_0x20fe77(0x387)](_0x367b3a)&&!fs[_0x20fe77(0x387)](this[_0x20fe77(0x3b9)](_0x1945f1['task']))&&(fs[_0x20fe77(0x3f1)](_0x367b3a,this[_0x20fe77(0x3b9)](_0x1945f1[_0x20fe77(0x253)])),this[_0x20fe77(0x2a7)](_0x367b3a,this[_0x20fe77(0x3b9)](_0x1945f1['task'])));}this[_0x20fe77(0x3b4)](_0x39322b,{'source':_0xd0ff91,'migratedAt':this[_0x20fe77(0x267)]()['toISOString']()});}['verifyCopiedTree'](_0x25c5e1,_0xa0461e){const _0x363de0=_0x1a2a36,_0x56513c=fs[_0x363de0(0x2c2)](_0x25c5e1),_0xc250bf=fs[_0x363de0(0x2c2)](_0xa0461e);if(_0x56513c[_0x363de0(0x2e7)]()!==_0xc250bf['isDirectory']()){const _0x33869c={};_0x33869c[_0x363de0(0x2a0)]='STATE_MIGRATION_VERIFY_FAILED';throw Object[_0x363de0(0x18c)](new Error('Pipeline\x20state\x20copy\x20type\x20mismatch:\x20'+_0x25c5e1),_0x33869c);}if(_0x56513c[_0x363de0(0x2e7)]()){const _0x1b6ae5=fs[_0x363de0(0x2e0)](_0x25c5e1)[_0x363de0(0x171)](),_0x5db6b1=fs[_0x363de0(0x2e0)](_0xa0461e)[_0x363de0(0x171)]();if(JSON[_0x363de0(0x1b1)](_0x1b6ae5)!==JSON[_0x363de0(0x1b1)](_0x5db6b1)){const _0x3578d1={};_0x3578d1[_0x363de0(0x2a0)]=_0x363de0(0x3a5);throw Object['assign'](new Error(_0x363de0(0x37a)+_0x25c5e1),_0x3578d1);}for(const _0x3c4c26 of _0x1b6ae5)this[_0x363de0(0x2a7)](path['join'](_0x25c5e1,_0x3c4c26),path[_0x363de0(0x40a)](_0xa0461e,_0x3c4c26));return;}const _0x22ee11=crypto['createHash'](_0x363de0(0x315))['update'](fs[_0x363de0(0x375)](_0x25c5e1))[_0x363de0(0x2f8)]('hex'),_0x3c3fdd=crypto[_0x363de0(0x196)](_0x363de0(0x315))[_0x363de0(0x2c1)](fs[_0x363de0(0x375)](_0xa0461e))['digest'](_0x363de0(0x31d));if(_0x22ee11!==_0x3c3fdd){const _0x290502={};_0x290502[_0x363de0(0x2a0)]='STATE_MIGRATION_VERIFY_FAILED';throw Object[_0x363de0(0x18c)](new Error(_0x363de0(0x3db)+_0x25c5e1),_0x290502);}}['createWorktree'](_0x3337ed,_0x282fef,_0x40221d){const _0x3e5b44=_0x1a2a36;if(!this[_0x3e5b44(0x1c8)]){if(!_0x40221d[_0x3e5b44(0x363)]||!_0x40221d[_0x3e5b44(0x30f)])return this[_0x3e5b44(0x320)]();if(!_0x40221d[_0x3e5b44(0x376)])return error(_0x3e5b44(0x250),_0x3e5b44(0x24e));const _0x5e81ba=this[_0x3e5b44(0x270)](_0x40221d['confirmationToken']);if(!_0x5e81ba['success'])return _0x5e81ba;}if(!_0x40221d['confirmed'])return error(_0x3e5b44(0x250),_0x3e5b44(0x1f8));const _0x46f75f=this[_0x3e5b44(0x33e)](['status',_0x3e5b44(0x221)]);if(!_0x46f75f['ok']||_0x46f75f[_0x3e5b44(0x17a)])return error(_0x3e5b44(0x311),_0x3e5b44(0x2dc),{'status':_0x46f75f['stdout']});const _0xc13a6a=this[_0x3e5b44(0x33e)](['rev-parse',_0x3e5b44(0x3c8)]);if(!_0xc13a6a['ok'])return error('WORKTREE_BASE_MISSING',_0xc13a6a[_0x3e5b44(0x389)]||_0x3e5b44(0x2ad));const _0x35374c=this[_0x3e5b44(0x33e)]([_0x3e5b44(0x3ff),_0x3e5b44(0x1bc)]),_0xf0a983=path[_0x3e5b44(0x314)](this['projectPath']),_0xee2414=path[_0x3e5b44(0x40a)](path['dirname'](this['projectPath']),_0x3e5b44(0x275),_0xf0a983,_0x3337ed,_0x282fef),_0x8d8a84='apt/'+_0x3337ed+'/'+_0x282fef;if(fs[_0x3e5b44(0x387)](_0xee2414))return error(_0x3e5b44(0x169),_0x3e5b44(0x2c9)+_0xee2414);const _0x22d9dc=this['runGit']([_0x3e5b44(0x15d),'add','-b',_0x8d8a84,_0xee2414,_0x40221d['baseRef']||_0xc13a6a[_0x3e5b44(0x17a)]]),_0x3c1f6c={};_0x3c1f6c[_0x3e5b44(0x379)]=_0xee2414,_0x3c1f6c['branch']=_0x8d8a84;if(!_0x22d9dc['ok'])return error('WORKTREE_CREATE_FAILED',_0x22d9dc['stderr']||_0x3e5b44(0x342),_0x3c1f6c);return{'success':!![],'workspace':{'mode':'worktree','path':normalizePath(_0xee2414),'branch':_0x8d8a84,'baseRef':_0x40221d[_0x3e5b44(0x3a4)]||_0xc13a6a[_0x3e5b44(0x17a)],'baseBranch':_0x35374c['ok']?_0x35374c[_0x3e5b44(0x17a)]:'','status':'ready','createdAt':this[_0x3e5b44(0x267)]()[_0x3e5b44(0x3ce)](),'managed':!![]}};}[_0x1a2a36(0x3ea)](_0x51c050,_0x45179f,_0xda1fed={}){const _0xc2d37f=_0x1a2a36,_0x3d5dea=_0xda1fed['mode']||_0xc2d37f(0x386);if(![_0xc2d37f(0x386),_0xc2d37f(0x3b0),_0xc2d37f(0x15d)][_0xc2d37f(0x2cd)](_0x3d5dea))return error(_0xc2d37f(0x190),_0xc2d37f(0x39e)+_0x3d5dea);if(_0x3d5dea===_0xc2d37f(0x15d))return this[_0xc2d37f(0x3ec)](_0x51c050,_0x45179f,_0xda1fed);return{'success':!![],'workspace':{'mode':this[_0xc2d37f(0x1c3)]()?'native-worktree':_0xc2d37f(0x3b0),'path':this[_0xc2d37f(0x36c)],'branch':this['isGitRepository']?this[_0xc2d37f(0x33e)]([_0xc2d37f(0x3ff),_0xc2d37f(0x1bc)])[_0xc2d37f(0x17a)]:'','baseRef':this[_0xc2d37f(0x1c8)]?this[_0xc2d37f(0x33e)]([_0xc2d37f(0x345),_0xc2d37f(0x3c8)])['stdout']:'','baseBranch':this[_0xc2d37f(0x1c8)]?this[_0xc2d37f(0x33e)]([_0xc2d37f(0x3ff),_0xc2d37f(0x1bc)])[_0xc2d37f(0x17a)]:'','status':_0xc2d37f(0x282),'managed':![]}};}['start'](_0x439fe6={}){const _0x4f8c20=_0x1a2a36;let {pipeline:_0x8e6ae8,task:_0x57d339,workspace:workspace={},schemaVersion:schemaVersion=0x3}=_0x439fe6;const _0x528f21=PipelineManager[_0x4f8c20(0x2b4)](_0x57d339);if(_0x528f21)return _0x528f21;if(_0x439fe6[_0x4f8c20(0x1ac)])try{return this[_0x4f8c20(0x2bf)](_0x57d339,_0x439fe6[_0x4f8c20(0x1ac)],_0x439fe6[_0x4f8c20(0x380)]);}catch(_0x2bbfb8){return error(_0x4f8c20(0x2f6),_0x4f8c20(0x1ad),{'task':_0x57d339,'runId':_0x439fe6[_0x4f8c20(0x1ac)],'diagnostic':creationFailure(_0x2bbfb8,_0x4f8c20(0x2ea))});}const _0x2f9844=PipelineManager[_0x4f8c20(0x3dd)](_0x439fe6['workspace']);if(_0x2f9844)return _0x2f9844;if(![0x2,0x3][_0x4f8c20(0x2cd)](schemaVersion))return error('INVALID_SCHEMA_VERSION',_0x4f8c20(0x252));if(_0x439fe6['policyVersion']!==undefined&&![0x1,0x2,0x3,0x4][_0x4f8c20(0x2cd)](_0x439fe6['policyVersion']))return error('INVALID_POLICY_VERSION',_0x4f8c20(0x32a));if(_0x439fe6['workflowProfile']!==undefined&&![_0x4f8c20(0x3e1),_0x4f8c20(0x321),'high-risk'][_0x4f8c20(0x2cd)](_0x439fe6[_0x4f8c20(0x188)]))return error(_0x4f8c20(0x1e9),_0x4f8c20(0x310));if(_0x439fe6['workItemCount']!==undefined&&(!Number['isInteger'](_0x439fe6[_0x4f8c20(0x3fa)])||_0x439fe6[_0x4f8c20(0x3fa)]<0x1))return error(_0x4f8c20(0x244),_0x4f8c20(0x1d3));for(const _0x1ca7d2 of['acceptanceCriteria','scope',_0x4f8c20(0x2b2)]){if(_0x439fe6[_0x1ca7d2]!==undefined&&(!Array[_0x4f8c20(0x18b)](_0x439fe6[_0x1ca7d2])||!_0x439fe6[_0x1ca7d2][_0x4f8c20(0x29c)](_0x3766ad=>typeof _0x3766ad===_0x4f8c20(0x2b0)&&_0x3766ad[_0x4f8c20(0x197)]())))return error(_0x4f8c20(0x244),_0x1ca7d2+_0x4f8c20(0x406));}const _0x558d03=path[_0x4f8c20(0x1b8)](_0x439fe6[_0x4f8c20(0x290)]?.['path']||this[_0x4f8c20(0x36c)]),_0x9065b6=(_0x439fe6['scope']||[])['find'](_0x589f4a=>{const _0xb82b33=_0x4f8c20,_0x3514b6=path[_0xb82b33(0x1b8)](_0x558d03,_0x589f4a['replace'](/[*?].*$/,'')||'.'),_0x5d4285=path[_0xb82b33(0x399)](_0x558d03,_0x3514b6);return _0x5d4285==='..'||_0x5d4285[_0xb82b33(0x404)]('..'+path['sep'])||path['isAbsolute'](_0x5d4285);});if(_0x9065b6!==undefined)return error(_0x4f8c20(0x244),_0x4f8c20(0x27f)+_0x558d03+':\x20'+_0x9065b6+_0x4f8c20(0x21b));if(schemaVersion===0x3&&_0x439fe6['qualityVersion']!==0x0&&_0x439fe6[_0x4f8c20(0x2b6)]===!![]){const _0x3ff457=require('../core/workflow-policy')[_0x4f8c20(0x23f)](_0x439fe6,_0x558d03,{'subagents':!![],'maxAgents':_0x439fe6[_0x4f8c20(0x2d1)]||0x4});if(_0x3ff457)return _0x3ff457;}let _0x128807=null;if(_0x439fe6['specialist']||_0x439fe6[_0x4f8c20(0x192)])try{_0x128807=new(require(_0x4f8c20(0x277)))['Catalog'](this[_0x4f8c20(0x36c)]);}catch{}if(_0x128807)for(const [_0x482420,_0x53520f]of[[_0x4f8c20(0x25a),_0x439fe6[_0x4f8c20(0x298)]],['workflow',_0x439fe6[_0x4f8c20(0x192)]]]){if(_0x53520f===undefined||_0x53520f===null||_0x53520f==='')continue;try{_0x128807[_0x4f8c20(0x3de)](_0x482420,_0x53520f);}catch{return error(_0x4f8c20(0x244),(_0x482420===_0x4f8c20(0x25a)?_0x4f8c20(0x298):'workflowId')+'\x20'+JSON[_0x4f8c20(0x1b1)](_0x53520f)+_0x4f8c20(0x309));}}if(schemaVersion===0x3&&_0x439fe6[_0x4f8c20(0x358)]!==0x0&&_0x8e6ae8!==_0x4f8c20(0x210)&&!_0x439fe6[_0x4f8c20(0x3a3)]?.['length'])return error(_0x4f8c20(0x230),'Record\x20at\x20least\x20one\x20acceptance\x20criterion\x20at\x20pipeline_start;\x20its\x20text\x20must\x20match\x20a\x20qualityPlan\x20criterion\x20expectedOutcome.');let _0x1dc985;if(schemaVersion===0x3&&_0x439fe6[_0x4f8c20(0x358)]!==0x0&&_0x8e6ae8!==_0x4f8c20(0x210)){const _0x3d8248=require('../core/quality'),_0x2caf77={'blocking':'high','productImpact':_0x439fe6[_0x4f8c20(0x3aa)]===!![],'platformTarget':_0x439fe6['productImpact']===!![]&&['web','mobile',_0x4f8c20(0x1ee)][_0x4f8c20(0x2cd)](_0x439fe6['productTarget'])?_0x439fe6['productTarget']==='web'?_0x4f8c20(0x3f4):_0x4f8c20(0x3ef):null,'contentReview':_0x8e6ae8===_0x4f8c20(0x272),'artifactReview':_0x439fe6['artifactReview']===!![],'scope':_0x439fe6[_0x4f8c20(0x2ed)]};try{_0x1dc985=_0x3d8248[_0x4f8c20(0x260)](_0x439fe6['qualityPlan'],_0x439fe6[_0x4f8c20(0x3a3)]||[],_0x2caf77);}catch(_0x3cb63f){if(_0x3cb63f?.[_0x4f8c20(0x2a0)]===_0x4f8c20(0x2ca))return error(_0x4f8c20(0x2ca),_0x3cb63f[_0x4f8c20(0x157)]);const _0x380640=_0x3d8248['qualityPlanExample'](_0x439fe6['acceptanceCriteria']||[],_0x2caf77);return error(_0x4f8c20(0x1cf),_0x3cb63f['message']+'.\x20'+_0x3d8248[_0x4f8c20(0x2ab)],_0x380640?{'qualityPlanExample':_0x380640}:{});}}const _0x2ed0b2=schemaVersion===0x3?PIPELINE_DEFINITIONS_V3:PIPELINE_DEFINITIONS,_0x4d9715=_0x2ed0b2[_0x8e6ae8];if(!_0x4d9715)return error(_0x4f8c20(0x18d),'Unknown\x20pipeline\x20type:\x20'+_0x8e6ae8+'.',{'valid_pipelines':Object[_0x4f8c20(0x400)](PIPELINE_DEFINITIONS)});const _0x1f6f47=_0x4d9715[_0x4f8c20(0x3e9)][0x0][_0x4f8c20(0x246)];if(_0x1f6f47){const _0x2ff5d4=this[_0x4f8c20(0x3ee)](_0x1f6f47);if(_0x2ff5d4)return _0x2ff5d4;}if((workspace[_0x4f8c20(0x232)]||_0x4f8c20(0x386))===_0x4f8c20(0x15d)&&!this[_0x4f8c20(0x1c8)]){if(!workspace[_0x4f8c20(0x363)]||!workspace[_0x4f8c20(0x30f)])return this['previewGitBootstrap']();if(!workspace['confirmed'])return error('WORKTREE_CONSENT_REQUIRED',_0x4f8c20(0x24e));const _0x3e2c8e=this[_0x4f8c20(0x270)](workspace[_0x4f8c20(0x30f)]);if(!_0x3e2c8e[_0x4f8c20(0x3e8)])return _0x3e2c8e;workspace={...workspace,'initializeGit':![],'confirmationToken':undefined};}try{return this[_0x4f8c20(0x40b)](_0x4f8c20(0x1a7),()=>this['withLock'](_0x57d339,()=>{const _0x52102c=_0x4f8c20,_0x4a5af4=this[_0x52102c(0x390)](_0x57d339);if(_0x4a5af4&&[_0x52102c(0x1ab),_0x52102c(0x176),_0x52102c(0x2fd)]['includes'](_0x4a5af4[_0x52102c(0x2e3)]))return error('TASK_ALREADY_ACTIVE',_0x4a5af4[_0x52102c(0x175)]?.[_0x52102c(0x261)]===_0x52102c(0x403)?'Task\x20\x22'+_0x57d339+_0x52102c(0x3f5)+_0x4a5af4[_0x52102c(0x1fb)]+_0x52102c(0x28d):_0x52102c(0x1ea)+_0x57d339+_0x52102c(0x14f),{'task':_0x57d339,'runId':_0x4a5af4[_0x52102c(0x1fb)],'status':_0x4a5af4[_0x52102c(0x2e3)]});if(schemaVersion===0x3&&_0x439fe6['qualityVersion']!==0x0&&_0x8e6ae8!==_0x52102c(0x210)){const _0x2ba083=_0x543988=>JSON[_0x52102c(0x1b1)](_0x543988[_0x52102c(0x3f7)](_0x20fbfa=>_0x20fbfa[_0x52102c(0x197)]()['replace'](/\s+/g,'\x20')['toLocaleLowerCase']())[_0x52102c(0x171)]()),_0x142486=_0x2ba083(_0x439fe6[_0x52102c(0x3a3)]),_0x52014a=_0x1d5e87=>{const _0x1679d9=_0x52102c,_0x2f4098=normalizePath(_0x1d5e87);return process[_0x1679d9(0x153)]==='win32'?_0x2f4098[_0x1679d9(0x3fd)]():_0x2f4098;};if(fs[_0x52102c(0x387)](this[_0x52102c(0x3c4)])){const _0x41d73f={};_0x41d73f[_0x52102c(0x1c2)]=!![];for(const _0x2b48e5 of fs['readdirSync'](this[_0x52102c(0x3c4)],_0x41d73f)){if(!_0x2b48e5['isDirectory']()||_0x2b48e5[_0x52102c(0x208)][_0x52102c(0x404)]('.')||_0x2b48e5[_0x52102c(0x208)]===_0x57d339)continue;const _0x590e6f=this[_0x52102c(0x390)](_0x2b48e5[_0x52102c(0x208)]);if(_0x590e6f&&[_0x52102c(0x1ab),_0x52102c(0x176),_0x52102c(0x2fd)][_0x52102c(0x2cd)](_0x590e6f[_0x52102c(0x2e3)])&&_0x590e6f[_0x52102c(0x3d7)]!==_0x52102c(0x210)&&_0x590e6f['quality']?.[_0x52102c(0x25e)]&&_0x590e6f['acceptance']?.['criteria']?.['length']&&[_0x590e6f[_0x52102c(0x2e4)],_0x590e6f[_0x52102c(0x290)][_0x52102c(0x2fc)]][_0x52102c(0x264)](Boolean)[_0x52102c(0x17c)](_0x272e6e=>_0x52014a(_0x272e6e)===_0x52014a(this[_0x52102c(0x36c)]))&&overlappingScope(_0x590e6f['scope'],_0x439fe6[_0x52102c(0x2ed)],this['projectPath'])&&_0x2ba083(_0x590e6f[_0x52102c(0x28c)][_0x52102c(0x2f5)])===_0x142486){const _0x593522={};return _0x593522[_0x52102c(0x253)]=_0x590e6f['task'],_0x593522[_0x52102c(0x1fb)]=_0x590e6f[_0x52102c(0x1fb)],_0x593522[_0x52102c(0x2e3)]=_0x590e6f['status'],_0x593522[_0x52102c(0x261)]=_0x590e6f[_0x52102c(0x175)]?.[_0x52102c(0x261)]||null,_0x593522[_0x52102c(0x38d)]=_0x590e6f[_0x52102c(0x35c)]?.[_0x52102c(0x25e)]?.[_0x52102c(0x38d)]||null,error(_0x52102c(0x16f),_0x52102c(0x2fa),_0x593522);}}}}const _0x19effd=this[_0x52102c(0x304)](),_0x51bc5e=this[_0x52102c(0x359)](_0x57d339);if(_0x51bc5e)return error('RUN_CREATION_INCOMPLETE',_0x52102c(0x218),{'intent':_0x51bc5e});const _0x5df19c=this[_0x52102c(0x2ff)](_0x57d339,_0x19effd),_0x486816={'task':_0x57d339,'runId':_0x19effd,'pipeline':_0x8e6ae8,'schemaVersion':schemaVersion,'status':_0x52102c(0x38a),'originWorkspace':this[_0x52102c(0x36c)],'requestedWorkspace':workspace,'runtimeVersion':require(_0x52102c(0x181))[_0x52102c(0x215)],'args':_0x439fe6,'createdAt':this[_0x52102c(0x267)]()['toISOString']()};this[_0x52102c(0x3b4)](_0x5df19c,_0x486816);let _0xb494b3=_0x52102c(0x33a);try{const _0x2bb300=this[_0x52102c(0x3ea)](_0x57d339,_0x19effd,workspace);if(!_0x2bb300['success']){const _0x3a2ca2={..._0x486816};return _0x3a2ca2[_0x52102c(0x2e3)]=_0x52102c(0x269),_0x3a2ca2[_0x52102c(0x2cc)]=_0x2bb300,this[_0x52102c(0x3b4)](_0x5df19c,_0x3a2ca2),_0x2bb300;}_0x486816[_0x52102c(0x290)]=_0x2bb300[_0x52102c(0x290)],_0x486816[_0x52102c(0x2e3)]='workspace-ready',_0xb494b3=_0x52102c(0x15b),this[_0x52102c(0x3b4)](_0x5df19c,_0x486816);const _0x46f33d={'schemaVersion':schemaVersion,'task':_0x57d339,'runId':_0x19effd,'pipeline':_0x8e6ae8,'status':'active','completedSteps':[],'originWorkspace':this[_0x52102c(0x36c)],'workspace':_0x2bb300[_0x52102c(0x290)],'startedAt':this[_0x52102c(0x267)]()['toISOString'](),'updatedAt':this[_0x52102c(0x267)]()[_0x52102c(0x3ce)]()};_0xb494b3=_0x52102c(0x3c6);if(schemaVersion===0x3)this[_0x52102c(0x175)][_0x52102c(0x273)](_0x46f33d,_0x439fe6);else this[_0x52102c(0x408)](_0x46f33d);this['inheritUpgradeContext'](_0x46f33d),_0xb494b3=_0x52102c(0x332);const _0x47bef4={};_0x47bef4['setCurrent']=!![],this[_0x52102c(0x263)](_0x46f33d,_0x47bef4),_0xb494b3=_0x52102c(0x32d),this[_0x52102c(0x21f)](_0x46f33d,_0x52102c(0x299),'Workspace:\x20'+_0x46f33d[_0x52102c(0x290)]['path']+_0x52102c(0x284)+_0x4d9715[_0x52102c(0x3e9)][0x0]['id']),_0xb494b3=_0x52102c(0x26d);const _0x5a629b={..._0x486816};return _0x5a629b['status']=_0x52102c(0x2a9),this[_0x52102c(0x3b4)](_0x5df19c,_0x5a629b),this[_0x52102c(0x248)](_0x46f33d,{'success':!![],..._0x46f33d[_0x52102c(0x35c)]?.[_0x52102c(0x25e)]?.[_0x52102c(0x1ae)]?.[_0x52102c(0x2e1)]?{'addedReviews':_0x46f33d[_0x52102c(0x35c)]['plan']['addedReviews']}:{}});}catch(_0x3d9f97){const _0x10de89=creationFailure(_0x3d9f97,_0xb494b3);try{const _0x22a9f0={..._0x486816};_0x22a9f0[_0x52102c(0x2e3)]=_0x52102c(0x2f9),_0x22a9f0[_0x52102c(0x2cc)]=_0x10de89,this[_0x52102c(0x3b4)](_0x5df19c,_0x22a9f0);}catch{}const _0x38eb17={};return _0x38eb17['task']=_0x57d339,_0x38eb17[_0x52102c(0x1fb)]=_0x19effd,_0x38eb17['intentFile']=_0x5df19c,_0x38eb17[_0x52102c(0x290)]=_0x486816[_0x52102c(0x290)],_0x38eb17['reason']=_0x10de89[_0x52102c(0x2a0)],_0x38eb17[_0x52102c(0x35b)]=_0x10de89,error('RUN_INITIALIZATION_FAILED',_0x52102c(0x333),_0x38eb17);}}));}catch(_0x1b54e8){return error(_0x4f8c20(0x1cc),_0x4f8c20(0x24c),{'task':_0x57d339,'diagnostic':creationFailure(_0x1b54e8,_0x4f8c20(0x2e9))});}}[_0x1a2a36(0x2c4)](_0x2fe6c7={}){const _0x1539cd=_0x1a2a36;return this[_0x1539cd(0x175)][_0x1539cd(0x2c4)](_0x2fe6c7);}[_0x1a2a36(0x24d)](){const _0x203600=_0x1a2a36;return this[_0x203600(0x175)][_0x203600(0x24d)]();}[_0x1a2a36(0x26f)](_0x12bbfe={}){const _0x49fe20=_0x1a2a36;return this[_0x49fe20(0x175)][_0x49fe20(0x26f)](_0x12bbfe);}[_0x1a2a36(0x1f2)](_0x17a721={}){const _0x58d94f=_0x1a2a36;return this[_0x58d94f(0x175)][_0x58d94f(0x1f2)](_0x17a721);}[_0x1a2a36(0x1a2)](_0x471dba={},_0x1c26a9){return this['execution']['addReceiptObservation'](_0x471dba,_0x1c26a9);}[_0x1a2a36(0x1b4)](_0x3b865d,_0x36e32a){const _0x17f8a4=_0x1a2a36,_0x4c52fa=PipelineManager[_0x17f8a4(0x2b4)](_0x3b865d['task'])||PipelineManager[_0x17f8a4(0x1f7)](_0x3b865d['runId']);if(_0x4c52fa)return _0x4c52fa;return this['withLock']('_execution',()=>this[_0x17f8a4(0x40b)](_0x3b865d[_0x17f8a4(0x253)],()=>{const _0x464445=_0x17f8a4,_0x3d9ec2=this[_0x464445(0x35a)](_0x3b865d[_0x464445(0x253)],_0x3b865d[_0x464445(0x1fb)]);if(!_0x3d9ec2||_0x3d9ec2[_0x464445(0x1aa)]!==0x3)return error(_0x464445(0x3f0),_0x464445(0x236));const _0x3f445d=this['contract'](_0x3d9ec2);if(_0x3f445d['mutation']===_0x464445(0x152))return error(_0x3f445d[_0x464445(0x2a0)],_0x464445(0x1af));if(!_0x3b865d[_0x464445(0x380)]||_0x3d9ec2[_0x464445(0x2bb)]!==_0x3b865d[_0x464445(0x380)])return error(_0x464445(0x163),'Reconcile\x20with\x20the\x20recorded\x20coordinator.');if(!require('../core/workspace-path')[_0x464445(0x22b)](_0x3d9ec2[_0x464445(0x290)]?.[_0x464445(0x2fc)]||'',this[_0x464445(0x36c)]))return error(_0x464445(0x1c6),_0x464445(0x334));const _0x3543d2=_0x3d9ec2['execution'][_0x464445(0x176)][_0x464445(0x341)](_0x145713=>_0x145713[_0x464445(0x39c)]===_0x3b865d[_0x464445(0x39c)]&&_0x145713['actorId']===_0x3b865d[_0x464445(0x251)]);if(!_0x3543d2)return error(_0x464445(0x17d),_0x464445(0x3cc));if(_0x3543d2['verificationInFlight'])return error(_0x464445(0x1d7),_0x464445(0x24f));const _0x1f76a6={};_0x1f76a6['manager']=this,_0x1f76a6[_0x464445(0x381)]=_0x3d9ec2,_0x1f76a6[_0x464445(0x1b5)]=_0x3b865d,_0x1f76a6[_0x464445(0x199)]=_0x36e32a;const _0x2f3ef5=require(_0x464445(0x28a))[_0x464445(0x3d9)](_0x1f76a6);if(!_0x2f3ef5[_0x464445(0x3e8)])return error(_0x2f3ef5[_0x464445(0x2a0)],_0x464445(0x1e7));const _0x2a4fff=(_0x3d9ec2['execution'][_0x464445(0x22c)]||[])[_0x464445(0x341)](_0x4a51ae=>_0x4a51ae[_0x464445(0x39c)]===_0x3b865d['attemptId']);if(_0x36e32a['status']!==_0x464445(0x194)||!_0x36e32a[_0x464445(0x1a1)]||_0x36e32a['source']!==_0x464445(0x35f)||_0x2a4fff?.[_0x464445(0x2d2)]!==_0x464445(0x376)||_0x2a4fff[_0x464445(0x3a8)]!==_0x464445(0x3af)||_0x2a4fff[_0x464445(0x1dc)]!==_0x36e32a['hostWorkerId']||_0x2a4fff[_0x464445(0x251)]!==_0x3b865d[_0x464445(0x251)])return error('WORKER_STOP_UNCONFIRMED','The\x20reservation\x20has\x20no\x20confirmed\x20stopped\x20native\x20worker.');if(_0x3543d2['workItemId']&&!_0x3d9ec2[_0x464445(0x175)][_0x464445(0x176)][_0x464445(0x17c)](_0x5136e3=>_0x5136e3[_0x464445(0x39c)]!==_0x3543d2[_0x464445(0x39c)]&&_0x5136e3['workItemId']===_0x3543d2[_0x464445(0x227)])){const _0x185220=_0x3d9ec2['plannedItems']?.[_0x464445(0x341)](_0x2b0b9e=>_0x2b0b9e['id']===_0x3543d2[_0x464445(0x227)]);if(_0x185220?.[_0x464445(0x2e3)]===_0x464445(0x2ee))_0x185220[_0x464445(0x2e3)]='pending';}const _0x468ad1=_0x3d9ec2[_0x464445(0x175)]['nextAction'];this[_0x464445(0x175)][_0x464445(0x34c)](_0x3d9ec2,_0x3543d2);if(_0x3d9ec2[_0x464445(0x175)][_0x464445(0x261)])_0x3d9ec2[_0x464445(0x175)]['nextAction']=_0x468ad1;this['writeState'](_0x3d9ec2),this['appendLedger'](_0x3d9ec2,_0x464445(0x240),'Actor:\x20'+_0x3b865d['actorId']+_0x464445(0x32e)+_0x3b865d[_0x464445(0x39c)]+'.\x20Completion\x20does\x20not\x20prove\x20a\x20review\x20verdict.');const _0x425446={};return _0x425446['success']=!![],_0x425446[_0x464445(0x1d6)]=!![],_0x425446[_0x464445(0x251)]=_0x3b865d['actorId'],_0x425446['attemptId']=_0x3b865d[_0x464445(0x39c)],_0x425446;}));}[_0x1a2a36(0x19e)](_0x5b2dd8={}){const _0xeb85fe=_0x1a2a36;return this[_0xeb85fe(0x175)][_0xeb85fe(0x19e)](_0x5b2dd8);}['markAttemptStarted'](_0xb3e3a={}){const _0x9706ab=_0x1a2a36;return this[_0x9706ab(0x175)][_0x9706ab(0x2d4)](_0xb3e3a);}[_0x1a2a36(0x3f3)](_0x1c9b79={}){const _0x116d4e=_0x1a2a36,{task:_0x3b707f,runId:_0x2e35b4,pipeline:_0xac59b1,step:_0x3393a5,status:_0x59e1cc,summary:_0x19bbca}=_0x1c9b79,_0x1e60d4=PipelineManager[_0x116d4e(0x2b4)](_0x3b707f);if(_0x1e60d4)return _0x1e60d4;if(!_0x2e35b4)return error(_0x116d4e(0x2f1),_0x116d4e(0x1de));const _0x42b6f6=PipelineManager[_0x116d4e(0x1f7)](_0x2e35b4);if(_0x42b6f6)return _0x42b6f6;const _0x4a4d27=this[_0x116d4e(0x35a)](_0x3b707f,_0x2e35b4);if(_0x4a4d27&&this['contract'](_0x4a4d27)[_0x116d4e(0x2e2)]==='blocked')return error(this[_0x116d4e(0x22e)](_0x4a4d27)[_0x116d4e(0x2a0)],_0x116d4e(0x1f9));if(_0x4a4d27?.[_0x116d4e(0x1aa)]===0x3)return this['execution'][_0x116d4e(0x3f3)](_0x1c9b79);return this[_0x116d4e(0x40b)](_0x3b707f,()=>{const _0x253ea0=_0x116d4e,_0x5e9d80=this[_0x253ea0(0x35a)](_0x3b707f,_0x2e35b4);if(!_0x5e9d80)return error(_0x253ea0(0x3f0),_0x253ea0(0x28b)+_0x2e35b4+_0x253ea0(0x3e5)+_0x3b707f+'\x22.');const _0x1aeaaf=this[_0x253ea0(0x390)](_0x3b707f);if(!_0x1aeaaf||_0x1aeaaf[_0x253ea0(0x1fb)]!==_0x2e35b4)return error(_0x253ea0(0x18e),_0x253ea0(0x327));if(_0x5e9d80[_0x253ea0(0x2e3)]!==_0x253ea0(0x176))return error(_0x253ea0(0x2d9),_0x253ea0(0x1dd)+_0x5e9d80[_0x253ea0(0x2e3)]+',\x20not\x20active.');if(_0xac59b1&&_0xac59b1!==_0x5e9d80['pipeline'])return error(_0x253ea0(0x160),'Run\x20uses\x20pipeline\x20\x22'+_0x5e9d80[_0x253ea0(0x3d7)]+_0x253ea0(0x3d0)+_0xac59b1+'\x22.');if(_0x59e1cc!==_0x253ea0(0x2a9))return error(_0x253ea0(0x39f),_0x253ea0(0x383));const _0x4f9fe7=_0x5e9d80[_0x253ea0(0x2e6)],_0x52abec=_0x4f9fe7[_0x253ea0(0x3e9)][_0x5e9d80[_0x253ea0(0x2da)][_0x253ea0(0x2e1)]];if(!_0x52abec||_0x52abec['id']!==_0x3393a5)return error('STEP_OUT_OF_ORDER',_0x253ea0(0x278)+(_0x52abec?.['id']||_0x253ea0(0x36b))+'\x22,\x20received\x20\x22'+_0x3393a5+'\x22.',{'expected_step':_0x52abec?.['id']||null});if(_0x52abec[_0x253ea0(0x246)]){const _0x43e60c=this[_0x253ea0(0x3ee)](_0x52abec[_0x253ea0(0x246)],_0x5e9d80['workspace']['path']);if(_0x43e60c)return _0x43e60c;}if(_0x5e9d80[_0x253ea0(0x3d7)]===_0x253ea0(0x384)&&_0x3393a5===_0x253ea0(0x3cd)&&(!_0x19bbca||_0x19bbca['trim']()[_0x253ea0(0x2e1)]<0xa))return error('HOTFIX_SCOPE_REQUIRED','Hotfix\x20scope\x20justification\x20must\x20contain\x20at\x20least\x2010\x20characters.');_0x5e9d80[_0x253ea0(0x2da)][_0x253ea0(0x3a9)]({'id':_0x3393a5,'summary':_0x19bbca||'','completedAt':this['now']()['toISOString']()});if(_0x5e9d80[_0x253ea0(0x2da)][_0x253ea0(0x2e1)]===_0x4f9fe7[_0x253ea0(0x3e9)][_0x253ea0(0x2e1)])_0x5e9d80['status']=_0x253ea0(0x2a9);this[_0x253ea0(0x263)](_0x5e9d80),this[_0x253ea0(0x21f)](_0x5e9d80,'Step\x20completed:\x20'+_0x3393a5,_0x19bbca||_0x253ea0(0x344));const _0x5b5760={};_0x5b5760[_0x253ea0(0x3e8)]=!![];const _0x3a28f7=this[_0x253ea0(0x248)](_0x5e9d80,_0x5b5760);if(MEMORY_TRIGGERS[_0x3393a5])_0x3a28f7[_0x253ea0(0x3c3)]=MEMORY_TRIGGERS[_0x3393a5];return _0x3a28f7;});}[_0x1a2a36(0x226)](_0x3fc92c){const _0xeb8ac1=_0x1a2a36,_0x4c717a=this[_0xeb8ac1(0x37b)](path[_0xeb8ac1(0x40a)](this['taskDir'](_0x3fc92c[_0xeb8ac1(0x253)]),'upgrade-lineage.json'));if(!_0x4c717a||_0x4c717a['task']!==_0x3fc92c[_0xeb8ac1(0x253)]||PipelineManager[_0xeb8ac1(0x1f7)](_0x4c717a[_0xeb8ac1(0x1fb)]))return;const _0x370f3f=this['readRun'](_0x3fc92c[_0xeb8ac1(0x253)],_0x4c717a[_0xeb8ac1(0x1fb)]),_0x93e5db=_0x370f3f?.['status']==='cancelled'&&(_0x370f3f[_0xeb8ac1(0x364)]?.['reason']==='runtime-upgrade'&&_0x370f3f[_0xeb8ac1(0x364)][_0xeb8ac1(0x29f)]===_0x4c717a[_0xeb8ac1(0x29f)]||_0x370f3f[_0xeb8ac1(0x223)]?.[_0xeb8ac1(0x29f)]===_0x4c717a['transactionId']);if(!_0x370f3f||!_0x93e5db||!require('../core/workspace-path')[_0xeb8ac1(0x22b)](_0x370f3f[_0xeb8ac1(0x290)]?.[_0xeb8ac1(0x2fc)]||'',_0x3fc92c[_0xeb8ac1(0x290)][_0xeb8ac1(0x2fc)]))return;_0x3fc92c[_0xeb8ac1(0x191)]={'task':_0x3fc92c['task'],'runId':_0x370f3f[_0xeb8ac1(0x1fb)],'reason':_0xeb8ac1(0x403),'requirements':[..._0x370f3f[_0xeb8ac1(0x28c)]?.['criteria']||[]],'findings':JSON[_0xeb8ac1(0x16d)](JSON[_0xeb8ac1(0x1b1)](Object[_0xeb8ac1(0x1b2)](_0x370f3f[_0xeb8ac1(0x35c)]?.[_0xeb8ac1(0x37f)]||{})[_0xeb8ac1(0x264)](_0x3001f3=>_0x3001f3['required']!==![]&&![_0xeb8ac1(0x281),_0xeb8ac1(0x346)]['includes'](_0x3001f3[_0xeb8ac1(0x2e3)])))),'attempts':{..._0x370f3f['execution']?.[_0xeb8ac1(0x409)]||{}},'noProgress':_0x370f3f[_0xeb8ac1(0x175)]?.[_0xeb8ac1(0x16e)]||0x0,'lastFailure':_0x370f3f[_0xeb8ac1(0x175)]?.[_0xeb8ac1(0x2ac)]||null,'progress':(_0x370f3f[_0xeb8ac1(0x322)]||[])['map'](_0x3c3d33=>({'id':_0x3c3d33['id'],'noProgress':_0x3c3d33[_0xeb8ac1(0x16e)]||0x0,'lastFailure':_0x3c3d33[_0xeb8ac1(0x2ac)]||null}))};if(_0x3fc92c[_0xeb8ac1(0x1aa)]!==0x3)return;_0x3fc92c['execution'][_0xeb8ac1(0x409)]={..._0x3fc92c[_0xeb8ac1(0x191)][_0xeb8ac1(0x409)]};const _0x8b1b6e=_0x3d6d28=>[_0xeb8ac1(0x393),_0xeb8ac1(0x2b8),_0xeb8ac1(0x39d),'verify',_0xeb8ac1(0x167),_0xeb8ac1(0x28c)][_0xeb8ac1(0x2cd)](_0x3d6d28)?'implementation-cycle':_0x3d6d28,_0x195a79=new Set((_0x3fc92c['definition']?.['steps']||[])[_0xeb8ac1(0x3f7)](_0x123d45=>_0x8b1b6e(_0x123d45['id']))),_0x5a1ac4=Object[_0xeb8ac1(0x39b)](_0x3fc92c[_0xeb8ac1(0x191)]['attempts'])[_0xeb8ac1(0x264)](([_0x41cb25])=>!_0x41cb25['startsWith'](_0xeb8ac1(0x3fe))&&!_0x195a79[_0xeb8ac1(0x1bf)](_0x41cb25))['map'](([,_0x3fe515])=>_0x3fe515);if(_0x5a1ac4[_0xeb8ac1(0x2e1)])_0x3fc92c[_0xeb8ac1(0x175)][_0xeb8ac1(0x156)]=Math[_0xeb8ac1(0x22f)](0x0,..._0x5a1ac4);_0x3fc92c[_0xeb8ac1(0x175)][_0xeb8ac1(0x16e)]=_0x3fc92c[_0xeb8ac1(0x191)][_0xeb8ac1(0x16e)],_0x3fc92c[_0xeb8ac1(0x175)][_0xeb8ac1(0x2ac)]=_0x3fc92c[_0xeb8ac1(0x191)][_0xeb8ac1(0x2ac)];[_0xeb8ac1(0x14e),_0xeb8ac1(0x1ce)][_0xeb8ac1(0x2cd)](_0x370f3f[_0xeb8ac1(0x175)]?.[_0xeb8ac1(0x261)])&&(_0x3fc92c['status']=_0xeb8ac1(0x2fd),_0x3fc92c[_0xeb8ac1(0x175)][_0xeb8ac1(0x261)]=_0x370f3f['execution']['stopReason'],_0x3fc92c['execution'][_0xeb8ac1(0x2d6)]=this[_0xeb8ac1(0x267)]()[_0xeb8ac1(0x3ce)]());for(const _0x4d1eae of _0x3fc92c[_0xeb8ac1(0x191)][_0xeb8ac1(0x37f)])if(_0x3fc92c[_0xeb8ac1(0x35c)])_0x3fc92c[_0xeb8ac1(0x35c)][_0xeb8ac1(0x37f)][_0x4d1eae['id']]={..._0x4d1eae,'status':_0xeb8ac1(0x3e3),'inheritedFrom':_0x370f3f['runId'],'resolution':null};}['cancelForUpgrade']({task:_0x1c5238,runId:_0x356ae1,transactionId:_0x43c583,epoch:_0x2dbc9b,target:_0x302fb4}){const _0x127690=_0x1a2a36,{readFence:_0x58ef26}=require(_0x127690(0x297)),_0xf0a6dd=_0x58ef26(this['projectPath']);if(_0xf0a6dd['state']!==_0x127690(0x15f)||_0xf0a6dd['transactionId']!==_0x43c583||_0xf0a6dd[_0x127690(0x1e3)]!==_0x2dbc9b||_0xf0a6dd[_0x127690(0x23c)]!==_0x302fb4?.['version']||_0xf0a6dd[_0x127690(0x289)]!==_0x302fb4?.['digest'])return error(_0x127690(0x3f6),'Upgrade\x20cancellation\x20requires\x20the\x20current\x20frozen\x20transaction.');const _0x5905a3=PipelineManager[_0x127690(0x2b4)](_0x1c5238)||PipelineManager['validateRunId'](_0x356ae1);if(_0x5905a3)return _0x5905a3;return this[_0x127690(0x40b)](_0x1c5238,()=>{const _0x2a70e6=_0x127690,_0x4bab0a=this[_0x2a70e6(0x35a)](_0x1c5238,_0x356ae1);if(!_0x4bab0a||!_0x4bab0a[_0x2a70e6(0x290)]?.['path']||!require(_0x2a70e6(0x2ae))[_0x2a70e6(0x22b)](_0x4bab0a[_0x2a70e6(0x290)]['path'],this[_0x2a70e6(0x36c)]))return error(_0x2a70e6(0x1c6),_0x2a70e6(0x334));const _0x22312a=_0x4bab0a[_0x2a70e6(0x2e3)]===_0x2a70e6(0x207)&&_0x4bab0a[_0x2a70e6(0x364)]?.[_0x2a70e6(0x29f)]===_0x43c583||_0x4bab0a[_0x2a70e6(0x223)]?.[_0x2a70e6(0x29f)]===_0x43c583,_0x3b9ade={};_0x3b9ade[_0x2a70e6(0x3e8)]=!![],_0x3b9ade[_0x2a70e6(0x238)]=!![];if(!_0x22312a&&[_0x2a70e6(0x2a9),'cancelled'][_0x2a70e6(0x2cd)](_0x4bab0a[_0x2a70e6(0x2e3)]))return _0x3b9ade;if(_0x4bab0a[_0x2a70e6(0x175)]?.[_0x2a70e6(0x176)]?.[_0x2a70e6(0x2e1)]||(_0x4bab0a[_0x2a70e6(0x175)]?.[_0x2a70e6(0x22c)]||[])[_0x2a70e6(0x17c)](_0x1315f5=>_0x1315f5['workerStatus']==='confirmed'&&_0x1315f5[_0x2a70e6(0x3a8)]!==_0x2a70e6(0x3af)))return error(_0x2a70e6(0x323),_0x2a70e6(0x405));if(!_0x22312a&&_0x4bab0a['status']==='initializing')_0x4bab0a[_0x2a70e6(0x2e3)]=_0x2a70e6(0x207),_0x4bab0a['cancelledAt']=this['now']()[_0x2a70e6(0x3ce)](),_0x4bab0a[_0x2a70e6(0x364)]={'reason':_0x2a70e6(0x403),'transactionId':_0x43c583,'target':_0x302fb4,'epoch':_0x2dbc9b,'cancelledAt':_0x4bab0a['cancelledAt']},this[_0x2a70e6(0x263)](_0x4bab0a),this[_0x2a70e6(0x21f)](_0x4bab0a,_0x2a70e6(0x1f6),_0x2a70e6(0x3dc)+_0x43c583+'.\x20History\x20and\x20budgets\x20retained.');else{if(!_0x22312a){const _0x2b9a62=this['now']()[_0x2a70e6(0x3ce)](),_0x53824c=_0x4bab0a['upgradePause']&&!_0x4bab0a['upgradePause'][_0x2a70e6(0x217)]?_0x4bab0a['upgradePause'][_0x2a70e6(0x347)]||[_0x4bab0a[_0x2a70e6(0x223)][_0x2a70e6(0x29f)]]:[];_0x4bab0a[_0x2a70e6(0x223)]={'previousStatus':_0x4bab0a[_0x2a70e6(0x2e3)],'transactionId':_0x43c583,'transactions':[..._0x53824c,_0x43c583],'target':_0x302fb4,'epoch':_0x2dbc9b,'pausedAt':_0x2b9a62},_0x4bab0a[_0x2a70e6(0x2e3)]!==_0x2a70e6(0x2fd)&&(_0x4bab0a[_0x2a70e6(0x2e3)]=_0x2a70e6(0x2fd),_0x4bab0a[_0x2a70e6(0x175)][_0x2a70e6(0x24b)]=_0x2a70e6(0x403),_0x4bab0a['execution'][_0x2a70e6(0x261)]=_0x2a70e6(0x403),_0x4bab0a['execution'][_0x2a70e6(0x2d6)]=_0x2b9a62),this[_0x2a70e6(0x263)](_0x4bab0a),this['appendLedger'](_0x4bab0a,_0x2a70e6(0x1ca),_0x2a70e6(0x3dc)+_0x43c583+'.\x20Resume\x20it\x20with\x20pipeline_use\x20and\x20pipeline_checkpoint(action=resume).');}}this[_0x2a70e6(0x3b4)](path['join'](this[_0x2a70e6(0x258)](_0x1c5238),_0x2a70e6(0x21d)),{'task':_0x1c5238,'runId':_0x356ae1,'transactionId':_0x43c583,'target':_0x302fb4});if(_0x4bab0a['status']==='cancelled'){const _0x2ceab9=this[_0x2a70e6(0x37b)](this[_0x2a70e6(0x3b9)](_0x1c5238));if(_0x2ceab9?.[_0x2a70e6(0x1fb)]===_0x356ae1)fs[_0x2a70e6(0x1ec)](this[_0x2a70e6(0x3b9)](_0x1c5238));}const _0x5aee60=new(require(_0x2a70e6(0x18f)))[(_0x2a70e6(0x3ad))](this[_0x2a70e6(0x36c)]);if(fs[_0x2a70e6(0x387)](_0x5aee60[_0x2a70e6(0x200)]))for(const _0xe7810d of fs[_0x2a70e6(0x2e0)](_0x5aee60['directory'])){if(!/^[a-f0-9]{64}\.json$/[_0x2a70e6(0x2b9)](_0xe7810d))continue;const _0x4a0ab1=this['readJson'](path['join'](_0x5aee60['directory'],_0xe7810d));if(_0x4a0ab1?.[_0x2a70e6(0x253)]===_0x1c5238&&_0x4a0ab1[_0x2a70e6(0x1fb)]===_0x356ae1)_0x5aee60[_0x2a70e6(0x357)](_0x4a0ab1[_0x2a70e6(0x380)],_0x3241d3=>{const _0x2892e7=_0x2a70e6,_0x3feb48={};_0x3feb48[_0x2892e7(0x253)]=_0x1c5238,_0x3feb48['runId']=_0x356ae1,_0x3feb48[_0x2892e7(0x1b6)]='runtime-upgrade',_0x3241d3['previousRun']=_0x3feb48,_0x3241d3[_0x2892e7(0x253)]=null,_0x3241d3[_0x2892e7(0x1fb)]=null,_0x3241d3[_0x2892e7(0x39c)]=null,_0x3241d3['attempts']={};});}const _0x472dc6={};return _0x472dc6[_0x2a70e6(0x3e8)]=!![],_0x472dc6[_0x2a70e6(0x36e)]=_0x22312a,_0x472dc6['cancellation']=_0x4bab0a[_0x2a70e6(0x364)],_0x472dc6[_0x2a70e6(0x223)]=_0x4bab0a[_0x2a70e6(0x223)],_0x472dc6;});}[_0x1a2a36(0x34a)]({task:_0x41b37c,runId:_0xab3e81,confirm:_0x14ff4a,target:target=_0x1a2a36(0x296),sessionId:_0x2c947f}={}){const _0x6b39b0=_0x1a2a36,_0x19ac9d=PipelineManager[_0x6b39b0(0x2b4)](_0x41b37c);if(_0x19ac9d)return _0x19ac9d;if(!_0xab3e81)return error(_0x6b39b0(0x2f1),_0x6b39b0(0x2e8));const _0x518651=PipelineManager[_0x6b39b0(0x1f7)](_0xab3e81);if(_0x518651)return _0x518651;if(_0x14ff4a!==!![])return error(_0x6b39b0(0x20c),_0x6b39b0(0x15c));if(![_0x6b39b0(0x296),_0x6b39b0(0x183)][_0x6b39b0(0x2cd)](target))return error(_0x6b39b0(0x174),'target\x20must\x20be\x20run\x20or\x20creation.');return this[_0x6b39b0(0x40b)](_0x41b37c,()=>{const _0x31414d=_0x6b39b0;if(target===_0x31414d(0x183)){const _0xbe2501=this[_0x31414d(0x2ff)](_0x41b37c,_0xab3e81),_0x291077=this[_0x31414d(0x37b)](_0xbe2501);if(!_0x291077||_0x291077[_0x31414d(0x253)]!==_0x41b37c||_0x291077[_0x31414d(0x1fb)]!==_0xab3e81||![_0x31414d(0x38a),'workspace-ready',_0x31414d(0x2f9)][_0x31414d(0x2cd)](_0x291077[_0x31414d(0x2e3)]))return error(_0x31414d(0x2a5),_0x31414d(0x164));if(!_0x2c947f||_0x291077[_0x31414d(0x2e3)]!==_0x31414d(0x2f9)&&_0x291077[_0x31414d(0x1b5)]?.[_0x31414d(0x380)]&&_0x291077[_0x31414d(0x1b5)][_0x31414d(0x380)]!==_0x2c947f)return error(_0x31414d(0x163),_0x31414d(0x39a));if(PipelineManager[_0x31414d(0x3dd)](_0x291077[_0x31414d(0x301)])||_0x291077[_0x31414d(0x2e4)]&&(typeof _0x291077[_0x31414d(0x2e4)]!==_0x31414d(0x2b0)||normalizePath(_0x291077[_0x31414d(0x2e4)])!==this['projectPath'])||!_0x291077[_0x31414d(0x290)]||_0x291077[_0x31414d(0x290)][_0x31414d(0x1ba)]||!_0x291077[_0x31414d(0x290)][_0x31414d(0x2fc)]||normalizePath(_0x291077[_0x31414d(0x290)][_0x31414d(0x2fc)])!==this[_0x31414d(0x36c)])return error(_0x31414d(0x288),'Intent\x20ownership\x20or\x20current\x20workspace\x20cannot\x20be\x20proven.');if(this[_0x31414d(0x35a)](_0x41b37c,_0xab3e81)||fs[_0x31414d(0x387)](this[_0x31414d(0x220)](_0x41b37c,_0xab3e81))||fs['existsSync'](this[_0x31414d(0x3b9)](_0x41b37c)))return error('CREATION_RUN_EXISTS',_0x31414d(0x1a5));const _0xdda755=_0x291077['args']?.[_0x31414d(0x380)]||null;this[_0x31414d(0x3b4)](_0xbe2501,{..._0x291077,'status':_0x31414d(0x287),'resolvedAt':this['now']()[_0x31414d(0x3ce)](),'resolvedBySession':_0x2c947f,..._0xdda755?{'recordedSession':_0xdda755}:{},'resolution':_0x31414d(0x182)});const _0x276534={'success':!![],'task':_0x41b37c,'runId':_0xab3e81,'target':_0x31414d(0x183),'intentFile':_0xbe2501,'state':_0x31414d(0x287),'freshStartAvailable':!![],..._0xdda755?{'recordedSession':_0xdda755}:{}};return _0x276534;}const _0x107e1e=this[_0x31414d(0x35a)](_0x41b37c,_0xab3e81);if(!_0x107e1e)return error(_0x31414d(0x3f0),'Run\x20\x22'+_0xab3e81+_0x31414d(0x214));const _0x29ffd2=this[_0x31414d(0x22e)](_0x107e1e);if(_0x29ffd2[_0x31414d(0x2e2)]===_0x31414d(0x152))return error(_0x29ffd2['code'],'This\x20run\x20cannot\x20be\x20changed\x20until\x20its\x20contract\x20is\x20verified.');if(_0x107e1e[_0x31414d(0x2bb)]&&_0x107e1e[_0x31414d(0x2bb)]!==_0x2c947f)return error('SESSION_MISMATCH',_0x31414d(0x368));const _0x3949ae=this[_0x31414d(0x390)](_0x41b37c);if(!_0x3949ae||_0x3949ae['runId']!==_0xab3e81)return error(_0x31414d(0x18e),_0x31414d(0x327));if(![_0x31414d(0x176),_0x31414d(0x2fd)][_0x31414d(0x2cd)](_0x107e1e[_0x31414d(0x2e3)]))return error(_0x31414d(0x2d9),'Run\x20is\x20'+_0x107e1e[_0x31414d(0x2e3)]+_0x31414d(0x31c));if(_0x107e1e[_0x31414d(0x175)]?.['active']['length'])return error(_0x31414d(0x26b),'Release\x20the\x20open\x20attempts\x20before\x20cancelling\x20the\x20run:\x20'+_0x107e1e['execution'][_0x31414d(0x176)][_0x31414d(0x3f7)](_0x3fd615=>_0x31414d(0x1e4)+_0x3fd615[_0x31414d(0x39c)]+_0x31414d(0x318)+_0x3fd615[_0x31414d(0x251)]+',\x20'+_0x3fd615[_0x31414d(0x283)]+')')[_0x31414d(0x40a)](',\x20')+_0x31414d(0x2c6),{'activeAttempts':_0x107e1e[_0x31414d(0x175)]['active'][_0x31414d(0x3f7)](_0x19a26a=>({'attemptId':_0x19a26a['attemptId'],'actorId':_0x19a26a[_0x31414d(0x251)],'step':_0x19a26a['step']}))});_0x107e1e['status']=_0x31414d(0x207),_0x107e1e['cancelledAt']=this[_0x31414d(0x267)]()[_0x31414d(0x3ce)](),this['writeState'](_0x107e1e),this[_0x31414d(0x21f)](_0x107e1e,_0x31414d(0x3a6),_0x31414d(0x1da));const _0x4dabb8={};return _0x4dabb8[_0x31414d(0x3e8)]=!![],this['formatStatus'](_0x107e1e,_0x4dabb8);});}[_0x1a2a36(0x20e)](_0x29aac1,_0x3ac7a6){const _0x48b1d3=_0x1a2a36,_0x191631=PipelineManager['validateTask'](_0x29aac1);if(_0x191631)return _0x191631;if(!_0x3ac7a6)return error(_0x48b1d3(0x2f1),_0x48b1d3(0x1b9));const _0x29bc8f=PipelineManager[_0x48b1d3(0x1f7)](_0x3ac7a6);if(_0x29bc8f)return _0x29bc8f;const _0x57335b=this['repairRun'](_0x29aac1,_0x3ac7a6);if(_0x57335b?.[_0x48b1d3(0x3e8)]===![])return _0x57335b;if(!_0x57335b)return error('RUN_NOT_FOUND',_0x48b1d3(0x28b)+_0x3ac7a6+_0x48b1d3(0x214));const _0x57b29d=this[_0x48b1d3(0x22e)](_0x57335b);if(_0x57b29d[_0x48b1d3(0x2e2)]===_0x48b1d3(0x152))return error(_0x57b29d[_0x48b1d3(0x2a0)],'This\x20historical\x20run\x20is\x20readable\x20but\x20cannot\x20be\x20rebound\x20for\x20mutation.');if(![_0x48b1d3(0x176),_0x48b1d3(0x2fd)][_0x48b1d3(0x2cd)](_0x57335b['status']))return error(_0x48b1d3(0x2d9),_0x48b1d3(0x1dd)+_0x57335b[_0x48b1d3(0x2e3)]+_0x48b1d3(0x14c));const _0x44e89f={};return _0x44e89f[_0x48b1d3(0x3e8)]=!![],this[_0x48b1d3(0x248)](_0x57335b,_0x44e89f);}[_0x1a2a36(0x248)](_0x42491d,_0x1be4c9={}){const _0x25bae2=_0x1a2a36,_0x39dcb6={};_0x39dcb6[_0x25bae2(0x170)]=![];const _0x5e8aa0=this[_0x25bae2(0x22e)](_0x42491d,_0x39dcb6),_0x1c2f40=_0x42491d[_0x25bae2(0x1aa)]===0x3?_0x42491d[_0x25bae2(0x2e6)]:_0x42491d[_0x25bae2(0x2e6)]||PIPELINE_DEFINITIONS[_0x42491d[_0x25bae2(0x3d7)]],_0x11e24c={..._0x1be4c9};_0x11e24c[_0x25bae2(0x176)]=![],_0x11e24c[_0x25bae2(0x381)]=_0x42491d[_0x25bae2(0x2e3)],_0x11e24c[_0x25bae2(0x253)]=_0x42491d[_0x25bae2(0x253)],_0x11e24c[_0x25bae2(0x1fb)]=_0x42491d['runId'],_0x11e24c[_0x25bae2(0x3d7)]=_0x42491d[_0x25bae2(0x3d7)],_0x11e24c[_0x25bae2(0x1f4)]=_0x5e8aa0,_0x11e24c[_0x25bae2(0x152)]=!![],_0x11e24c[_0x25bae2(0x26e)]={},_0x11e24c[_0x25bae2(0x26e)][_0x25bae2(0x274)]=_0x25bae2(0x247),_0x11e24c[_0x25bae2(0x26e)][_0x25bae2(0x2a0)]=_0x5e8aa0[_0x25bae2(0x2a0)];if(!_0x1c2f40?.['steps'])return _0x11e24c;const _0x19016a=_0x42491d[_0x25bae2(0x2da)][_0x25bae2(0x2e1)],_0x44de63=_0x1c2f40['steps'][_0x19016a]||null,_0x19baa1={..._0x1be4c9,'active':_0x42491d['status']==='active','state':_0x42491d['status'],'task':_0x42491d[_0x25bae2(0x253)],'runId':_0x42491d['runId'],'pipeline':_0x42491d[_0x25bae2(0x3d7)],'pipeline_name':_0x1c2f40['name'],'progress':_0x19016a+'/'+_0x1c2f40['steps'][_0x25bae2(0x2e1)],'completed':_0x42491d[_0x25bae2(0x2da)][_0x25bae2(0x3f7)](_0x5d4c21=>_0x5d4c21['id']),'next_step':_0x44de63?{'id':_0x44de63['id'],'name':_0x44de63['name'],'skill':_0x44de63[_0x25bae2(0x246)]}:null,'workspacePath':_0x42491d[_0x25bae2(0x290)][_0x25bae2(0x2fc)],'stateRoot':this[_0x25bae2(0x3c4)],'ledgerPath':this['ledgerFile'](_0x42491d[_0x25bae2(0x253)],_0x42491d['runId']),'workspace':_0x42491d[_0x25bae2(0x290)],'compatibility':_0x5e8aa0,'cancellation':_0x42491d[_0x25bae2(0x364)]||null,'inherited':_0x42491d['inherited']||null,'tool_routing':TOOL_ROUTING};if(_0x5e8aa0[_0x25bae2(0x2e2)]==='blocked')return{..._0x19baa1,'active':![],'blocked':!![],'nextAction':{'kind':'contract-unavailable','code':_0x5e8aa0[_0x25bae2(0x2a0)]}};const _0x2fc48a={};_0x2fc48a[_0x25bae2(0x274)]=_0x25bae2(0x235);const _0x92aaca={};_0x92aaca[_0x25bae2(0x2d7)]=_0x25bae2(0x2c5);const _0x158842={};_0x158842[_0x25bae2(0x274)]=_0x25bae2(0x335);if(_0x42491d[_0x25bae2(0x1aa)]===0x3)Object[_0x25bae2(0x18c)](_0x19baa1,{...require(_0x25bae2(0x395))[_0x25bae2(0x3c5)](_0x42491d,_0x44de63?.['id']),'schemaVersion':0x3,'versions':_0x42491d[_0x25bae2(0x1c4)],'acceptance':_0x42491d[_0x25bae2(0x28c)],'sessionId':_0x42491d[_0x25bae2(0x2bb)],'workItems':_0x42491d[_0x25bae2(0x257)],'plannedItems':(_0x42491d[_0x25bae2(0x322)]||[])[_0x25bae2(0x3f7)](publicItem),'execution':_0x42491d[_0x25bae2(0x175)],'receiptObservations':_0x42491d['execution'][_0x25bae2(0x22c)]||[],'design':this[_0x25bae2(0x175)][_0x25bae2(0x2a6)](_0x42491d,_0x1be4c9),'verification_level':_0x42491d[_0x25bae2(0x35c)]?'assertion-evidence':_0x25bae2(0x2df),'stop_reason':_0x42491d[_0x25bae2(0x175)]['stopReason'],'nextAction':_0x42491d['status']===_0x25bae2(0x207)?{'kind':_0x25bae2(0x3e4),'reason':_0x42491d[_0x25bae2(0x364)]?.[_0x25bae2(0x1b6)]||'cancelled'}:_0x42491d[_0x25bae2(0x2e3)]===_0x25bae2(0x2a9)?_0x2fc48a:_0x42491d[_0x25bae2(0x2e3)]===_0x25bae2(0x2fd)?{'kind':_0x25bae2(0x2fd),'reason':_0x42491d[_0x25bae2(0x175)]['stopReason'],..._0x42491d[_0x25bae2(0x175)][_0x25bae2(0x261)]==='runtime-upgrade'?_0x92aaca:{}}:_0x42491d[_0x25bae2(0x175)][_0x25bae2(0x26e)]||_0x158842});if(_0x42491d[_0x25bae2(0x35c)]&&_0x1be4c9['refreshSnapshot']===![])_0x19baa1[_0x25bae2(0x35c)]={'plan':_0x42491d[_0x25bae2(0x35c)][_0x25bae2(0x25e)],'freshness':_0x25bae2(0x21c),'reason':_0x25bae2(0x16b),'checks':Object[_0x25bae2(0x35d)](_0x42491d[_0x25bae2(0x35c)]['plan']['checks']['map'](_0xebc7b5=>[_0xebc7b5['id'],_0x25bae2(0x21c)])),'criteria':Object[_0x25bae2(0x35d)](_0x42491d['quality'][_0x25bae2(0x25e)][_0x25bae2(0x2f5)]['map'](_0x52a8d3=>[_0x52a8d3['id'],{'expectedOutcome':_0x52a8d3[_0x25bae2(0x1d0)],'source':_0x52a8d3[_0x25bae2(0x3ac)],'status':_0x25bae2(0x21c)}])),'missingChecks':_0x42491d[_0x25bae2(0x35c)]['plan'][_0x25bae2(0x280)]['filter'](_0x333a94=>_0x333a94['required']!==![])[_0x25bae2(0x3f7)](_0x3fe91e=>_0x3fe91e['id']),'missingRequirements':this[_0x25bae2(0x175)]['missingQualityRequirements'](_0x42491d),'openFindings':this[_0x25bae2(0x175)]['openFindings'](_0x42491d,null),'hardening':this[_0x25bae2(0x175)][_0x25bae2(0x237)](_0x42491d),'unavailable':_0x42491d['quality']['unavailable']||{},'reviewProvenance':[],'impactEscalation':_0x42491d[_0x25bae2(0x35c)][_0x25bae2(0x3a2)]||null};else{if(_0x42491d[_0x25bae2(0x35c)]){const _0x2bbe28=this[_0x25bae2(0x175)]['snapshot'](_0x42491d),_0x414c48=_0x2bbe28['id'],_0x3931d5=Object[_0x25bae2(0x35d)](_0x42491d[_0x25bae2(0x35c)][_0x25bae2(0x25e)][_0x25bae2(0x280)]['map'](_0x2faf3e=>{const _0x457865=_0x25bae2,_0x8b4e62=_0x42491d[_0x457865(0x175)][_0x457865(0x3d6)][_0x457865(0x264)](_0x1d0ce1=>_0x1d0ce1['quality']?.[_0x457865(0x195)]===_0x2faf3e['id']&&_0x1d0ce1[_0x457865(0x3c6)]===_0x414c48&&_0x1d0ce1[_0x457865(0x373)]===_0x42491d['acceptance'][_0x457865(0x31f)]&&!_0x1d0ce1[_0x457865(0x25c)])['at'](-0x1);return[_0x2faf3e['id'],_0x8b4e62&&artifactEvidenceCurrent(_0x42491d,_0x8b4e62)?_0x8b4e62[_0x457865(0x35c)][_0x457865(0x2e3)]:_0x457865(0x21c)];})),_0x21975d=Object['fromEntries'](_0x42491d[_0x25bae2(0x35c)]['plan'][_0x25bae2(0x2f5)]['map'](_0x24ccab=>{const _0xa19cfb=_0x25bae2,_0x26cd17=new Set([..._0x24ccab[_0xa19cfb(0x209)],..._0x42491d['quality'][_0xa19cfb(0x25e)][_0xa19cfb(0x280)][_0xa19cfb(0x264)](_0x1790eb=>_0x1790eb[_0xa19cfb(0x2b7)]!==![]&&_0x1790eb['criterionIds']['includes'](_0x24ccab['id']))[_0xa19cfb(0x3f7)](_0x48fdb8=>_0x48fdb8['id'])]);return[_0x24ccab['id'],{'expectedOutcome':_0x24ccab[_0xa19cfb(0x1d0)],'source':_0x24ccab[_0xa19cfb(0x3ac)],'status':[..._0x26cd17]['every'](_0x55c139=>_0x3931d5[_0x55c139]===_0xa19cfb(0x3b5))&&(!_0x42491d[_0xa19cfb(0x35c)]['plan'][_0xa19cfb(0x201)]||_0x42491d['quality'][_0xa19cfb(0x25e)][_0xa19cfb(0x280)][_0xa19cfb(0x17c)](_0x28f38c=>_0x28f38c[_0xa19cfb(0x2b7)]!==![]&&_0x28f38c[_0xa19cfb(0x396)]?.[_0xa19cfb(0x2e1)]))?_0xa19cfb(0x3b5):[..._0x26cd17][_0xa19cfb(0x17c)](_0x9acea3=>_0x3931d5[_0x9acea3]==='failed')?'failed':_0xa19cfb(0x21c)}];}));_0x19baa1[_0x25bae2(0x35c)]={'plan':_0x42491d[_0x25bae2(0x35c)]['plan'],'freshness':_0x25bae2(0x194),'checks':_0x3931d5,'openFindings':this['execution'][_0x25bae2(0x34d)](_0x42491d,_0x2bbe28),'hardening':this[_0x25bae2(0x175)][_0x25bae2(0x237)](_0x42491d),'impactEscalation':_0x42491d['quality']['impactEscalation']||null,'criteria':_0x21975d,'missingChecks':this[_0x25bae2(0x175)][_0x25bae2(0x20a)](_0x42491d,undefined,_0x414c48),'missingRequirements':this[_0x25bae2(0x175)][_0x25bae2(0x285)](_0x42491d),'unavailable':_0x42491d[_0x25bae2(0x35c)][_0x25bae2(0x37e)]||{},'reviewProvenance':_0x42491d[_0x25bae2(0x175)][_0x25bae2(0x3d6)][_0x25bae2(0x264)](_0x1b5e32=>_0x1b5e32['source']===_0x25bae2(0x2be))[_0x25bae2(0x3f7)](_0x14effd=>({'evidenceId':_0x14effd['id'],'stage':_0x14effd[_0x25bae2(0x167)]?.[_0x25bae2(0x37c)],'verdict':_0x14effd['review']?.[_0x25bae2(0x30d)],'actorSeparated':_0x14effd[_0x25bae2(0x172)],'artifactsCurrent':artifactEvidenceCurrent(_0x42491d,_0x14effd),'hostObservedIndependent':this[_0x25bae2(0x175)][_0x25bae2(0x2db)](_0x42491d,_0x14effd),'workerHostConfirmed':(_0x42491d[_0x25bae2(0x175)][_0x25bae2(0x22c)]||[])['some'](_0x1df597=>_0x1df597['attemptId']===_0x14effd[_0x25bae2(0x39c)]&&_0x1df597['workerStatus']===_0x25bae2(0x376))||(_0x42491d[_0x25bae2(0x175)]['reports']||[])[_0x25bae2(0x17c)](_0x5a4259=>_0x5a4259['attemptId']===_0x14effd['attemptId']&&_0x5a4259[_0x25bae2(0x329)]?.[_0x25bae2(0x3ac)]==='host-observed'),'modelHostConfirmed':(_0x42491d[_0x25bae2(0x175)]['receiptObservations']||[])[_0x25bae2(0x17c)](_0x58cab8=>_0x58cab8[_0x25bae2(0x39c)]===_0x14effd['attemptId']&&_0x58cab8[_0x25bae2(0x189)]===_0x25bae2(0x376))||(_0x42491d[_0x25bae2(0x175)][_0x25bae2(0x203)]||[])['some'](_0x7be4c9=>_0x7be4c9[_0x25bae2(0x39c)]===_0x14effd[_0x25bae2(0x39c)]&&_0x7be4c9[_0x25bae2(0x36a)]?.[_0x25bae2(0x3ac)]==='host-observed'&&_0x7be4c9[_0x25bae2(0x36a)]?.['status']===_0x25bae2(0x376))}))};}else _0x19baa1['verification_level']='legacy-summary';}if(_0x44de63?.[_0x25bae2(0x246)]){const _0xa61bcb=_0x42491d[_0x25bae2(0x1aa)]===0x3&&_0x42491d[_0x25bae2(0x29d)]?.[_0x44de63[_0x25bae2(0x246)]]?null:this[_0x25bae2(0x3ee)](_0x44de63['skill'],_0x42491d['workspace'][_0x25bae2(0x2fc)]),_0x26a149={};_0x26a149[_0x25bae2(0x176)]=![],_0x26a149['blocked']=!![];if(_0xa61bcb)Object[_0x25bae2(0x18c)](_0x19baa1,_0xa61bcb,_0x26a149);else _0x19baa1[_0x25bae2(0x1a8)]=_0x25bae2(0x3d1)+_0x44de63[_0x25bae2(0x246)]+_0x25bae2(0x239)+_0x44de63['id']+'\x22.';}if(_0x44de63&&[_0x25bae2(0x2c8),_0x25bae2(0x178),_0x25bae2(0x2b8)][_0x25bae2(0x2cd)](_0x44de63['id']))_0x19baa1['domain_skills']=DOMAIN_SKILL_REMINDER;return _0x19baa1;}[_0x1a2a36(0x338)](_0x2a3c7b){const _0x19db65=_0x1a2a36,_0x2923c8=[];if(!fs[_0x19db65(0x387)](_0x2a3c7b))return _0x2923c8;const _0x1556c7={};_0x1556c7['withFileTypes']=!![];for(const _0x4b2676 of fs[_0x19db65(0x2e0)](_0x2a3c7b,_0x1556c7)){if(!_0x4b2676[_0x19db65(0x2e7)]()||_0x4b2676[_0x19db65(0x208)][_0x19db65(0x404)]('.'))continue;const _0x294eb4=path[_0x19db65(0x40a)](_0x2a3c7b,_0x4b2676[_0x19db65(0x208)],'runs');if(!fs[_0x19db65(0x387)](_0x294eb4))continue;const _0x2c7ad2={};_0x2c7ad2[_0x19db65(0x1c2)]=!![];for(const _0x185f0e of fs[_0x19db65(0x2e0)](_0x294eb4,_0x2c7ad2)){if(!_0x185f0e[_0x19db65(0x2e7)]())continue;const _0x47925c=path[_0x19db65(0x40a)](_0x294eb4,_0x185f0e['name']);let _0x169b68;if(_0x2a3c7b===this[_0x19db65(0x3c4)])_0x169b68=this[_0x19db65(0x35a)](_0x4b2676[_0x19db65(0x208)],_0x185f0e['name']);else{const _0x1886f5={};_0x1886f5[_0x19db65(0x253)]=_0x4b2676[_0x19db65(0x208)],_0x1886f5[_0x19db65(0x1fb)]=_0x185f0e[_0x19db65(0x208)];const _0x467870=require('../core/run-checkpoint')['readCheckpoint'](path[_0x19db65(0x40a)](_0x47925c,'events.jsonl'),_0x1886f5);_0x169b68=_0x467870?require('../core/run-state-codec')['decodeRunState'](_0x467870,_0x47925c):new Execution({'runDir':()=>_0x47925c})[_0x19db65(0x1a4)](_0x4b2676[_0x19db65(0x208)],_0x185f0e[_0x19db65(0x208)],this[_0x19db65(0x37b)](path[_0x19db65(0x40a)](_0x47925c,_0x19db65(0x286))));}if(_0x169b68&&this[_0x19db65(0x19f)](_0x169b68))_0x2923c8[_0x19db65(0x3a9)](_0x169b68);else{if(_0x169b68)this[_0x19db65(0x17b)](_0x169b68);}}}return _0x2923c8;}[_0x1a2a36(0x28f)](){const _0x45cf5e=_0x1a2a36;return this[_0x45cf5e(0x338)](this[_0x45cf5e(0x3c4)]);}['activeAttempts'](){const _0x1af11a=_0x1a2a36,_0x433aab=[],_0x1a4046=this['stateRoot'];if(!fs[_0x1af11a(0x387)](_0x1a4046))return _0x433aab;const _0x19fda3=_0xd9a1c2=>{const _0x1e2892=_0x1af11a;try{const _0xcf951c=fs[_0x1e2892(0x2c2)](_0xd9a1c2);return _0xcf951c[_0x1e2892(0x27e)]+':'+_0xcf951c['mtimeMs']+':'+_0xcf951c[_0x1e2892(0x1fc)];}catch{return'-';}},_0x597e0d={};_0x597e0d[_0x1af11a(0x1c2)]=!![];for(const _0x79da20 of fs[_0x1af11a(0x2e0)](_0x1a4046,_0x597e0d)){if(!_0x79da20['isDirectory']()||_0x79da20['name']['startsWith']('.'))continue;const _0x152ba9=path['join'](_0x1a4046,_0x79da20[_0x1af11a(0x208)],'runs');if(!fs[_0x1af11a(0x387)](_0x152ba9))continue;const _0x1ad690={};_0x1ad690[_0x1af11a(0x1c2)]=!![];for(const _0x47d79a of fs[_0x1af11a(0x2e0)](_0x152ba9,_0x1ad690)){if(!_0x47d79a['isDirectory']())continue;const _0x21370d=path[_0x1af11a(0x40a)](_0x152ba9,_0x47d79a[_0x1af11a(0x208)]),_0x5db0ad=this[_0x1af11a(0x36c)]+'\x00'+_0x21370d,_0xff33be=[_0x1af11a(0x1b0),_0x1af11a(0x331),_0x1af11a(0x286)][_0x1af11a(0x3f7)](_0x2f8a55=>_0x19fda3(path[_0x1af11a(0x40a)](_0x21370d,_0x2f8a55)))[_0x1af11a(0x40a)]('|');let _0x5867a2=ACTIVE_ATTEMPTS['get'](_0x5db0ad);if(!_0x5867a2||_0x5867a2[_0x1af11a(0x1cd)]!==_0xff33be){const _0xefef2e=this[_0x1af11a(0x35a)](_0x79da20['name'],_0x47d79a['name']);_0x5867a2={'key':_0xff33be,'active':_0xefef2e&&this['ownsRun'](_0xefef2e)?JSON['stringify'](_0xefef2e[_0x1af11a(0x175)]?.[_0x1af11a(0x176)]||[]):'[]'},ACTIVE_ATTEMPTS['set'](_0x5db0ad,_0x5867a2);}_0x433aab[_0x1af11a(0x3a9)](...JSON[_0x1af11a(0x16d)](_0x5867a2[_0x1af11a(0x176)]));}}return _0x433aab;}[_0x1a2a36(0x2a4)](){const _0x14463d=_0x1a2a36;return this[_0x14463d(0x28f)]()[_0x14463d(0x264)](_0x2f33d4=>_0x2f33d4[_0x14463d(0x2e3)]===_0x14463d(0x176))[_0x14463d(0x3f7)](_0x57a219=>this[_0x14463d(0x248)](_0x57a219));}['summarizeBootstrapStatus'](_0x2fa7c0){const _0x2429d4=_0x1a2a36;let _0xddef1d=![];const _0x5bafd2=(_0x4d6ad9,_0x1c1576=0xa0)=>{const _0x8cc9e3=_0x4ee5;if(_0x4d6ad9===undefined||_0x4d6ad9===null)return null;const _0x2c6b78=String(_0x4d6ad9);if(_0x2c6b78[_0x8cc9e3(0x2e1)]<=_0x1c1576)return _0x2c6b78;return _0xddef1d=!![],_0x2c6b78[_0x8cc9e3(0x31a)](0x0,_0x1c1576)+_0x8cc9e3(0x1ff);},_0x2aa10f=_0x3ed9dc=>![_0x2429d4(0x2a9),_0x2429d4(0x207)][_0x2429d4(0x2cd)](_0x3ed9dc[_0x2429d4(0x381)]),_0x5bf9c9=_0x10e8e1=>({'code':_0x5bafd2(_0x10e8e1[_0x2429d4(0x2a0)],0x50),'task':_0x5bafd2(_0x10e8e1['task'],0x40),'runId':_0x5bafd2(_0x10e8e1[_0x2429d4(0x1fb)],0x20),'path':_0x5bafd2(_0x10e8e1[_0x2429d4(0x2fc)],0xf0),'error':_0x5bafd2(_0x10e8e1[_0x2429d4(0x2cc)]||_0x10e8e1[_0x2429d4(0x157)],0xf0)}),_0x571e26=_0x337673=>({'phase':_0x5bafd2(_0x337673[_0x2429d4(0x161)],0x40),'code':_0x5bafd2(_0x337673['code'],0x50),'message':_0x5bafd2(_0x337673[_0x2429d4(0x157)]||_0x337673['error'],0xf0),..._0x337673['syscall']?{'syscall':_0x5bafd2(_0x337673['syscall'],0x40)}:{},..._0x337673['path']?{'path':_0x5bafd2(_0x337673[_0x2429d4(0x2fc)],0xf0)}:{}}),_0x287d21={'success':_0x2fa7c0['success'],'active':_0x2fa7c0[_0x2429d4(0x176)],'state':_0x2fa7c0[_0x2429d4(0x381)],'summary':_0x2429d4(0x262),'stateRoot':_0x5bafd2(_0x2fa7c0[_0x2429d4(0x3c4)],0xf0),'pipelines':[..._0x2fa7c0[_0x2429d4(0x27b)]][_0x2429d4(0x171)]((_0x3e6c47,_0x4808a0)=>Number(_0x2aa10f(_0x4808a0))-Number(_0x2aa10f(_0x3e6c47)))['slice'](0x0,0x8)[_0x2429d4(0x3f7)](_0x1b1306=>({'task':_0x5bafd2(_0x1b1306[_0x2429d4(0x253)],0x40),'runId':_0x5bafd2(_0x1b1306[_0x2429d4(0x1fb)],0x20),'pipeline':_0x5bafd2(_0x1b1306['pipeline'],0x50),'state':_0x5bafd2(_0x1b1306[_0x2429d4(0x381)],0x20),'active':_0x1b1306[_0x2429d4(0x176)],'blocked':_0x1b1306['blocked']===!![],'success':_0x1b1306[_0x2429d4(0x3e8)],'code':_0x5bafd2(_0x1b1306[_0x2429d4(0x2a0)],0x50),'error':_0x5bafd2(_0x1b1306[_0x2429d4(0x2cc)],0xf0),'resumable':_0x1b1306[_0x2429d4(0x152)]!==!![]&&[_0x2429d4(0x176),'paused',_0x2429d4(0x1ab)][_0x2429d4(0x2cd)](_0x1b1306[_0x2429d4(0x381)])&&_0x1b1306[_0x2429d4(0x1f4)]?.['mutation']!=='blocked','progress':_0x5bafd2(_0x1b1306[_0x2429d4(0x27d)],0x28),'sessionId':_0x5bafd2(_0x1b1306[_0x2429d4(0x380)],0x80),'workspacePath':_0x5bafd2(_0x1b1306[_0x2429d4(0x379)],0xf0),'next_step':_0x1b1306[_0x2429d4(0x1a3)]?{'id':_0x5bafd2(_0x1b1306[_0x2429d4(0x1a3)]['id'],0x50),'name':_0x5bafd2(_0x1b1306[_0x2429d4(0x1a3)][_0x2429d4(0x208)],0x50),'skill':_0x5bafd2(_0x1b1306[_0x2429d4(0x1a3)]['skill'],0x50)}:null,'stop_reason':_0x5bafd2(_0x1b1306[_0x2429d4(0x397)],0x50),'nextAction':_0x1b1306[_0x2429d4(0x26e)]?{'kind':_0x5bafd2(_0x1b1306[_0x2429d4(0x26e)][_0x2429d4(0x274)],0x50),'reason':_0x5bafd2(_0x1b1306[_0x2429d4(0x26e)][_0x2429d4(0x1b6)]),'code':_0x5bafd2(_0x1b1306[_0x2429d4(0x26e)][_0x2429d4(0x2a0)],0x50)}:null,'compatibility':{'mutation':_0x5bafd2(_0x1b1306['compatibility']?.[_0x2429d4(0x2e2)],0x50),'code':_0x5bafd2(_0x1b1306[_0x2429d4(0x1f4)]?.[_0x2429d4(0x2a0)],0x50)}})),'pendingCreations':_0x2fa7c0[_0x2429d4(0x32f)][_0x2429d4(0x31a)](0x0,0x4)[_0x2429d4(0x3f7)](_0x218ea4=>({'task':_0x5bafd2(_0x218ea4[_0x2429d4(0x253)],0x40),'runId':_0x5bafd2(_0x218ea4['runId'],0x20),'status':_0x5bafd2(_0x218ea4['status'],0x20),'runtimeVersion':_0x5bafd2(_0x218ea4[_0x2429d4(0x211)],0x20),'createdAt':_0x5bafd2(_0x218ea4[_0x2429d4(0x1d5)],0x28),'workspacePath':_0x5bafd2(_0x218ea4[_0x2429d4(0x290)]?.[_0x2429d4(0x2fc)],0xf0),..._0x218ea4[_0x2429d4(0x340)]?{'recordedSession':_0x5bafd2(_0x218ea4[_0x2429d4(0x340)],0x80)}:{},'error':_0x218ea4['error']?_0x571e26(_0x218ea4[_0x2429d4(0x2cc)]):null,..._0x218ea4[_0x2429d4(0x224)]?{'causeResolved':_0x5bafd2(_0x218ea4[_0x2429d4(0x224)],0xa0)}:{},'availableActions':{'resume':_0x218ea4[_0x2429d4(0x300)]?.[_0x2429d4(0x2d7)]===!![],'abandon':_0x218ea4[_0x2429d4(0x300)]?.[_0x2429d4(0x3f2)]===!![],..._0x218ea4[_0x2429d4(0x300)]?.[_0x2429d4(0x32b)]?{'resumeBlockedBy':_0x5bafd2(_0x218ea4[_0x2429d4(0x300)][_0x2429d4(0x32b)],0x40)}:{},..._0x218ea4[_0x2429d4(0x300)]?.[_0x2429d4(0x1e1)]?{'abandonBlockedBy':_0x5bafd2(_0x218ea4[_0x2429d4(0x300)][_0x2429d4(0x1e1)],0x40)}:{}}})),'migrationWarnings':_0x2fa7c0[_0x2429d4(0x26c)][_0x2429d4(0x31a)](0x0,0x3)[_0x2429d4(0x3f7)](_0x5bf9c9),'foreignWorkspaceStates':_0x2fa7c0[_0x2429d4(0x325)][_0x2429d4(0x31a)](0x0,0x3)['map'](_0x5bf9c9),'counts':{},'truncated':![],'details':_0x2429d4(0x392)},_0x3e68ca=[_0x2429d4(0x27b),_0x2429d4(0x32f),_0x2429d4(0x26c),_0x2429d4(0x325)],_0x1b3726=()=>{const _0x2e4080=_0x2429d4;for(const _0x453675 of _0x3e68ca)_0x287d21[_0x2e4080(0x213)][_0x453675]={'total':_0x2fa7c0[_0x453675][_0x2e4080(0x2e1)],'displayed':_0x287d21[_0x453675][_0x2e4080(0x2e1)],'omitted':_0x2fa7c0[_0x453675][_0x2e4080(0x2e1)]-_0x287d21[_0x453675][_0x2e4080(0x2e1)]};Object[_0x2e4080(0x18c)](_0x287d21[_0x2e4080(0x213)][_0x2e4080(0x27b)],{'unfinished':_0x2fa7c0['pipelines'][_0x2e4080(0x264)](_0x2aa10f)['length'],'active':_0x2fa7c0[_0x2e4080(0x27b)][_0x2e4080(0x264)](_0xfcb118=>_0xfcb118[_0x2e4080(0x381)]===_0x2e4080(0x176))[_0x2e4080(0x2e1)],'paused':_0x2fa7c0['pipelines']['filter'](_0x23e48b=>_0x23e48b['state']==='paused')[_0x2e4080(0x2e1)],'completed':_0x2fa7c0[_0x2e4080(0x27b)][_0x2e4080(0x264)](_0x4bb412=>_0x4bb412[_0x2e4080(0x381)]===_0x2e4080(0x2a9))['length'],'cancelled':_0x2fa7c0[_0x2e4080(0x27b)][_0x2e4080(0x264)](_0x57f1c7=>_0x57f1c7[_0x2e4080(0x381)]==='cancelled')['length']}),_0x287d21[_0x2e4080(0x3df)]=_0xddef1d||_0x3e68ca['some'](_0x326449=>_0x287d21[_0x2e4080(0x213)][_0x326449]['omitted']>0x0);};_0x1b3726();while(Buffer['byteLength'](JSON[_0x2429d4(0x1b1)](_0x287d21))>0xc*0x400){const _0x33ed92=[_0x2429d4(0x26c),_0x2429d4(0x325),'pipelines',_0x2429d4(0x32f)][_0x2429d4(0x341)](_0x47e8cf=>_0x287d21[_0x47e8cf][_0x2429d4(0x2e1)]);if(!_0x33ed92)break;_0x287d21[_0x33ed92][_0x2429d4(0x20b)](),_0x1b3726();}return _0x287d21;}['getStatus'](_0x3ee765,_0x57cc6b,_0x7cb458={}){const _0x486ff6=_0x1a2a36;try{if(!_0x3ee765){const _0x5b7c1d=[];if(fs[_0x486ff6(0x387)](this[_0x486ff6(0x3c4)])){const _0xc43ef5={};_0xc43ef5[_0x486ff6(0x1c2)]=!![];for(const _0x32c0b9 of fs[_0x486ff6(0x2e0)](this[_0x486ff6(0x3c4)],_0xc43ef5)){if(!_0x32c0b9[_0x486ff6(0x2e7)]()||_0x32c0b9['name']['startsWith']('.'))continue;const _0x9638a8=this[_0x486ff6(0x390)](_0x32c0b9[_0x486ff6(0x208)]);if(_0x9638a8&&this[_0x486ff6(0x19f)](_0x9638a8))_0x5b7c1d[_0x486ff6(0x3a9)](this[_0x486ff6(0x248)](_0x9638a8,_0x7cb458));else{if(_0x9638a8)this[_0x486ff6(0x17b)](_0x9638a8);}}}const _0x10f706={};_0x10f706['sessionId']=_0x7cb458['sessionId'];const _0x4ce459={'success':!![],'active':_0x5b7c1d[_0x486ff6(0x17c)](_0x1a1989=>_0x1a1989[_0x486ff6(0x176)]),'state':_0x5b7c1d['length']?'multi':'none','pipelines':_0x5b7c1d,'stateRoot':this['stateRoot'],'migrationWarnings':this[_0x486ff6(0x26c)],'foreignWorkspaceStates':this[_0x486ff6(0x325)]||[],'pendingCreations':this['pendingCreations'](undefined,_0x10f706),'message':_0x5b7c1d['length']?_0x5b7c1d[_0x486ff6(0x2e1)]+'\x20task(s)\x20tracked.':_0x486ff6(0x3bf),'tool_routing':TOOL_ROUTING};return _0x7cb458['summary']===_0x486ff6(0x262)?this[_0x486ff6(0x354)](_0x4ce459):_0x4ce459;}const _0x5a081a=PipelineManager['validateTask'](_0x3ee765);if(_0x5a081a)return _0x5a081a;if(_0x57cc6b){const _0xfcf06c=PipelineManager[_0x486ff6(0x1f7)](_0x57cc6b);if(_0xfcf06c)return _0xfcf06c;}const _0x48c84d=_0x57cc6b?this['readRun'](_0x3ee765,_0x57cc6b):this[_0x486ff6(0x390)](_0x3ee765),_0x1b93ff={};_0x1b93ff[_0x486ff6(0x380)]=_0x7cb458[_0x486ff6(0x380)];if(!_0x48c84d)return error(_0x486ff6(0x3f0),_0x486ff6(0x25f)+_0x3ee765+'\x22.',{'active':![],'state':'none','task':_0x3ee765,'stateRoot':this[_0x486ff6(0x3c4)],'pendingCreations':this[_0x486ff6(0x32f)](_0x3ee765,_0x1b93ff)});const _0x51eac4={..._0x7cb458};_0x51eac4[_0x486ff6(0x3e8)]=!![];const _0x4ac439={};return _0x4ac439[_0x486ff6(0x380)]=_0x7cb458[_0x486ff6(0x380)],{...this[_0x486ff6(0x248)](_0x48c84d,_0x51eac4),'pendingCreations':this[_0x486ff6(0x32f)](_0x3ee765,_0x4ac439)};}catch(_0x28b57d){if(!['EPERM','EACCES'][_0x486ff6(0x2cd)](_0x28b57d['code']))throw _0x28b57d;return error(_0x486ff6(0x168),_0x486ff6(0x38e),{'active':![],'task':_0x3ee765||null,'diagnostic':creationFailure(_0x28b57d,_0x486ff6(0x3bd))});}}[_0x1a2a36(0x1ed)](_0x389e4b,_0x226c78){const _0x198861=_0x1a2a36,_0x540aab=PipelineManager[_0x198861(0x2b4)](_0x389e4b);if(_0x540aab)return _0x540aab;const _0x3cb81e=PipelineManager[_0x198861(0x1f7)](_0x226c78);if(_0x3cb81e)return _0x3cb81e;const _0x53fc77=this[_0x198861(0x35a)](_0x389e4b,_0x226c78);if(!_0x53fc77)return error(_0x198861(0x3f0),_0x198861(0x28b)+_0x226c78+'\x22\x20was\x20not\x20found.');if(!_0x53fc77[_0x198861(0x290)][_0x198861(0x1ba)]||_0x53fc77[_0x198861(0x290)][_0x198861(0x232)]!=='worktree')return error(_0x198861(0x2c0),_0x198861(0x234));const _0x41f7d3={};_0x41f7d3['cwd']=_0x53fc77[_0x198861(0x290)]['path'];const _0x292ca0=this[_0x198861(0x33e)]([_0x198861(0x2e3),'--porcelain'],_0x41f7d3);if(!_0x53fc77['workspace'][_0x198861(0x23a)])return error(_0x198861(0x3e7),_0x198861(0x1f5));const _0x4d61f5=this[_0x198861(0x33e)]([_0x198861(0x212),_0x198861(0x306),_0x198861(0x21e),_0x53fc77[_0x198861(0x290)]['baseBranch']+'...'+_0x53fc77[_0x198861(0x290)][_0x198861(0x3ff)]]),_0xa06330=this[_0x198861(0x33e)]([_0x198861(0x31e),'--name-only',_0x53fc77[_0x198861(0x290)]['baseRef']+'...'+_0x53fc77[_0x198861(0x290)][_0x198861(0x3ff)]]),[_0x522e6c='0',_0x4531e8='0']=_0x4d61f5[_0x198861(0x17a)][_0x198861(0x27c)](/\s+/);return{'success':_0x292ca0['ok']&&_0x4d61f5['ok']&&_0xa06330['ok'],'task':_0x389e4b,'runId':_0x226c78,'workspacePath':_0x53fc77[_0x198861(0x290)][_0x198861(0x2fc)],'branch':_0x53fc77['workspace'][_0x198861(0x3ff)],'baseRef':_0x53fc77[_0x198861(0x290)]['baseRef'],'baseBranch':_0x53fc77[_0x198861(0x290)][_0x198861(0x23a)],'clean':_0x292ca0['ok']&&!_0x292ca0[_0x198861(0x17a)],'status':_0x292ca0['stdout'],'ahead':Number(_0x4531e8),'behind':Number(_0x522e6c),'changedFiles':_0xa06330[_0x198861(0x17a)]?_0xa06330[_0x198861(0x17a)][_0x198861(0x27c)](/\r?\n/)[_0x198861(0x264)](Boolean):[],'mergePerformed':![]};}['cleanupWorkspace']({task:_0x428070,runId:_0xbd588,confirm:_0x541644,sessionId:_0x33e8f7}={}){const _0x162b4d=_0x1a2a36,_0x2a6acd=PipelineManager[_0x162b4d(0x2b4)](_0x428070);if(_0x2a6acd)return _0x2a6acd;const _0x429b82=PipelineManager['validateRunId'](_0xbd588);if(_0x429b82)return _0x429b82;if(_0x541644!==!![])return error(_0x162b4d(0x361),'Worktree\x20cleanup\x20requires\x20confirm=true.');return this['withLock'](_0x428070,()=>{const _0x9ae833=_0x162b4d,_0x5c4095=this[_0x9ae833(0x35a)](_0x428070,_0xbd588);if(!_0x5c4095)return error(_0x9ae833(0x3f0),_0x9ae833(0x28b)+_0xbd588+_0x9ae833(0x214));if(_0x5c4095[_0x9ae833(0x2bb)]&&_0x5c4095[_0x9ae833(0x2bb)]!==_0x33e8f7)return error('SESSION_MISMATCH',_0x9ae833(0x23e));if(![_0x9ae833(0x2a9),_0x9ae833(0x207)][_0x9ae833(0x2cd)](_0x5c4095[_0x9ae833(0x2e3)]))return error(_0x9ae833(0x2eb),_0x9ae833(0x3cb));if(_0x5c4095[_0x9ae833(0x175)]?.[_0x9ae833(0x176)]?.[_0x9ae833(0x2e1)])return error(_0x9ae833(0x26b),_0x9ae833(0x19d));if(!_0x5c4095['workspace'][_0x9ae833(0x1ba)]||_0x5c4095[_0x9ae833(0x290)][_0x9ae833(0x2e3)]==='removed')return error(_0x9ae833(0x2c0),'No\x20managed\x20worktree\x20is\x20available\x20for\x20cleanup.');const _0x1a7948={};_0x1a7948[_0x9ae833(0x17f)]=_0x5c4095['workspace'][_0x9ae833(0x2fc)];const _0x37edfb=this[_0x9ae833(0x33e)]([_0x9ae833(0x2e3),'--porcelain'],_0x1a7948);if(!_0x37edfb['ok']||_0x37edfb[_0x9ae833(0x17a)])return error(_0x9ae833(0x391),_0x9ae833(0x16c),{'status':_0x37edfb[_0x9ae833(0x17a)]});if(!_0x5c4095[_0x9ae833(0x290)][_0x9ae833(0x23a)])return error(_0x9ae833(0x2b1),_0x9ae833(0x3ae));const _0x391c7a=this[_0x9ae833(0x33e)]([_0x9ae833(0x34f),_0x9ae833(0x20f),_0x5c4095[_0x9ae833(0x290)][_0x9ae833(0x3ff)],_0x5c4095['workspace']['baseBranch']]);if(!_0x391c7a['ok'])return error(_0x9ae833(0x2b1),_0x9ae833(0x3a0));const _0x381e7b=this[_0x9ae833(0x33e)](['worktree',_0x9ae833(0x292),_0x5c4095[_0x9ae833(0x290)][_0x9ae833(0x2fc)]]);if(!_0x381e7b['ok'])return error(_0x9ae833(0x36f),_0x381e7b[_0x9ae833(0x389)]);_0x5c4095[_0x9ae833(0x290)][_0x9ae833(0x2e3)]=_0x9ae833(0x2d8),_0x5c4095['workspace'][_0x9ae833(0x36d)]=this[_0x9ae833(0x267)]()[_0x9ae833(0x3ce)](),this['writeState'](_0x5c4095),this[_0x9ae833(0x21f)](_0x5c4095,_0x9ae833(0x222),_0x9ae833(0x3b8)+_0x5c4095[_0x9ae833(0x290)][_0x9ae833(0x3ff)]);const _0x54b4c3={};return _0x54b4c3['success']=!![],_0x54b4c3[_0x9ae833(0x253)]=_0x428070,_0x54b4c3[_0x9ae833(0x1fb)]=_0xbd588,_0x54b4c3['branch']=_0x5c4095[_0x9ae833(0x290)][_0x9ae833(0x3ff)],_0x54b4c3[_0x9ae833(0x33b)]=![],_0x54b4c3;});}[_0x1a2a36(0x24a)](_0xa6ca,_0x1ceb47,_0x40c89b){const _0x5d1dd0=_0x1a2a36;if(PipelineManager[_0x5d1dd0(0x2b4)](_0xa6ca)||PipelineManager[_0x5d1dd0(0x1f7)](_0x1ceb47))return![];return this[_0x5d1dd0(0x40b)](_0xa6ca,()=>{const _0x25ebc8=_0x5d1dd0,_0x39481c=this[_0x25ebc8(0x35a)](_0xa6ca,_0x1ceb47);if(!_0x39481c?.[_0x25ebc8(0x290)]?.[_0x25ebc8(0x1ba)]||_0x39481c[_0x25ebc8(0x290)][_0x25ebc8(0x2e3)]===_0x25ebc8(0x2d8)||![_0x25ebc8(0x2a9),'cancelled'][_0x25ebc8(0x2cd)](_0x39481c[_0x25ebc8(0x2e3)]))return![];return _0x39481c[_0x25ebc8(0x290)][_0x25ebc8(0x2e3)]='removed',_0x39481c[_0x25ebc8(0x290)]['removedAt']=this['now']()['toISOString'](),this[_0x25ebc8(0x263)](_0x39481c),this[_0x25ebc8(0x21f)](_0x39481c,'Worktree\x20removed',_0x40c89b+_0x25ebc8(0x219)+_0x39481c[_0x25ebc8(0x290)]['branch']),!![];});}['migrateLegacyTaskDirectories'](){const _0x2be817=_0x1a2a36,_0x21696c=new Set([require(_0x2be817(0x2d3))['stateAgents'](this[_0x2be817(0x36c)],_0x2be817(0x27b)),this[_0x2be817(0x3c4)]]);for(const _0x45c07 of _0x21696c){if(!fs['existsSync'](_0x45c07))continue;const _0x51f3be={};_0x51f3be[_0x2be817(0x1c2)]=!![];for(const _0x4335d8 of fs[_0x2be817(0x2e0)](_0x45c07,_0x51f3be)){if(!_0x4335d8[_0x2be817(0x2e7)]()||_0x4335d8[_0x2be817(0x208)][_0x2be817(0x404)]('.'))continue;const _0x390026=path['join'](_0x45c07,_0x4335d8[_0x2be817(0x208)],_0x2be817(0x286));if(!fs[_0x2be817(0x387)](_0x390026))continue;const _0xe2ade=fs[_0x2be817(0x375)](_0x390026,_0x2be817(0x3d8));let _0x2bae8a;try{_0x2bae8a=JSON[_0x2be817(0x16d)](_0xe2ade);}catch(_0x1b0b37){const _0x486a57={};_0x486a57['code']=_0x2be817(0x2f0),_0x486a57[_0x2be817(0x2fc)]=_0x390026,_0x486a57[_0x2be817(0x2cc)]=_0x1b0b37['message'],this[_0x2be817(0x26c)][_0x2be817(0x3a9)](_0x486a57);continue;}if(!_0x2bae8a?.['pipeline']||!PIPELINE_DEFINITIONS[_0x2bae8a[_0x2be817(0x3d7)]]){const _0x2d74ec={};_0x2d74ec['code']='LEGACY_STATE_INVALID',_0x2d74ec[_0x2be817(0x2fc)]=_0x390026,_0x2d74ec[_0x2be817(0x2cc)]=_0x2be817(0x343),this[_0x2be817(0x26c)][_0x2be817(0x3a9)](_0x2d74ec);continue;}const _0x34874a=crypto[_0x2be817(0x196)](_0x2be817(0x315))[_0x2be817(0x2c1)](_0x390026+'\x00'+_0xe2ade)[_0x2be817(0x2f8)]('hex'),_0x1bc3ee=path[_0x2be817(0x40a)](this[_0x2be817(0x3c4)],_0x2be817(0x330),_0x34874a+_0x2be817(0x1d1));if(fs[_0x2be817(0x387)](_0x1bc3ee))continue;const _0x524dda=String(_0x2bae8a[_0x2be817(0x1fa)]||this[_0x2be817(0x267)]()['toISOString']())[_0x2be817(0x31a)](0x0,0xa)['replace'](/-/g,''),_0x124630=PipelineManager['validateTask'](_0x4335d8[_0x2be817(0x208)])?_0x2be817(0x3b6)+_0x2bae8a[_0x2be817(0x3d7)]+'-'+_0x524dda:_0x4335d8[_0x2be817(0x208)];let _0xedf283=_0x124630,_0x57e0f0=0x0;while(this[_0x2be817(0x390)](_0xedf283)){const _0x585b9a=_0x57e0f0++===0x0?_0x34874a['slice'](0x0,0x6):_0x34874a[_0x2be817(0x31a)](0x0,0x4)+'-'+_0x57e0f0;_0xedf283=_0x124630[_0x2be817(0x31a)](0x0,0x3f-_0x585b9a[_0x2be817(0x2e1)])+'-'+_0x585b9a;}const _0xed1a78=this[_0x2be817(0x304)](),_0x37d226=PIPELINE_DEFINITIONS[_0x2bae8a[_0x2be817(0x3d7)]],_0x49bd0c=(_0x2bae8a[_0x2be817(0x2da)]||[])['map'](_0x5147df=>typeof _0x5147df===_0x2be817(0x2b0)?{'id':_0x5147df,'summary':_0x2be817(0x326),'completedAt':this[_0x2be817(0x267)]()[_0x2be817(0x3ce)]()}:_0x5147df),_0x589569={};_0x589569[_0x2be817(0x232)]=_0x2be817(0x3b0),_0x589569[_0x2be817(0x2fc)]=this[_0x2be817(0x36c)],_0x589569['managed']=![],_0x589569[_0x2be817(0x2e3)]=_0x2be817(0x282);const _0x21c92a={'schemaVersion':0x2,'task':_0xedf283,'runId':_0xed1a78,'pipeline':_0x2bae8a[_0x2be817(0x3d7)],'status':_0x49bd0c[_0x2be817(0x2e1)]>=_0x37d226[_0x2be817(0x3e9)][_0x2be817(0x2e1)]?_0x2be817(0x2a9):_0x2be817(0x176),'completedSteps':_0x49bd0c,'workspace':_0x589569,'startedAt':_0x2bae8a[_0x2be817(0x1fa)]||this[_0x2be817(0x267)]()[_0x2be817(0x3ce)](),'updatedAt':this[_0x2be817(0x267)]()[_0x2be817(0x3ce)](),'migratedFrom':_0x390026},_0x384fdc={};_0x384fdc[_0x2be817(0x1fe)]=!![],this[_0x2be817(0x263)](_0x21c92a,_0x384fdc);const _0x287808=path[_0x2be817(0x40a)](_0x45c07,_0x4335d8['name'],_0x2be817(0x2b3)),_0x3969e9=fs[_0x2be817(0x387)](_0x287808)?fs[_0x2be817(0x375)](_0x287808,'utf8'):_0x2be817(0x2a2);this['appendLedger'](_0x21c92a,_0x2be817(0x15e),_0x2be817(0x19b)+_0x390026+'\x0a\x0a'+_0x3969e9),this[_0x2be817(0x3b4)](_0x1bc3ee,{'source':_0x390026,'task':_0xedf283,'runId':_0xed1a78,'fingerprint':_0x34874a,'migratedAt':this[_0x2be817(0x267)]()[_0x2be817(0x3ce)]()});}}}[_0x1a2a36(0x2a1)](){const _0x5349ed=_0x1a2a36;if(!fs['existsSync'](this['legacyStateFilePath']))return;const _0xedd474=fs['readFileSync'](this[_0x5349ed(0x2aa)],_0x5349ed(0x3d8));let _0x4ef333;try{_0x4ef333=JSON[_0x5349ed(0x16d)](_0xedd474);}catch(_0x5a084e){this[_0x5349ed(0x26c)][_0x5349ed(0x3a9)]({'code':_0x5349ed(0x2f0),'path':this[_0x5349ed(0x2aa)],'error':_0x5a084e['message']});return;}if(!_0x4ef333?.[_0x5349ed(0x3d7)]||!PIPELINE_DEFINITIONS[_0x4ef333['pipeline']]){this[_0x5349ed(0x26c)]['push']({'code':_0x5349ed(0x2f0),'path':this[_0x5349ed(0x2aa)],'error':_0x5349ed(0x343)});return;}const _0x5ae372=crypto[_0x5349ed(0x196)](_0x5349ed(0x315))['update'](_0xedd474)[_0x5349ed(0x2f8)](_0x5349ed(0x31d)),_0x1566cc=path[_0x5349ed(0x40a)](this['stateRoot'],_0x5349ed(0x330),_0x5ae372+_0x5349ed(0x1d1));if(fs['existsSync'](_0x1566cc))return;const _0x12fa16=String(_0x4ef333[_0x5349ed(0x1fa)]||this[_0x5349ed(0x267)]()[_0x5349ed(0x3ce)]())['slice'](0x0,0xa)[_0x5349ed(0x293)](/-/g,''),_0x3ee8b=_0x5349ed(0x3b6)+_0x4ef333[_0x5349ed(0x3d7)]+'-'+_0x12fa16;let _0x37b491=_0x3ee8b,_0x4286a1=0x0;while(fs[_0x5349ed(0x387)](this[_0x5349ed(0x258)](_0x37b491))){const _0x1367ee=_0x4286a1++===0x0?_0x5ae372[_0x5349ed(0x31a)](0x0,0x6):_0x5ae372[_0x5349ed(0x31a)](0x0,0x4)+'-'+_0x4286a1;_0x37b491=_0x3ee8b[_0x5349ed(0x31a)](0x0,0x3f-_0x1367ee['length'])+'-'+_0x1367ee;}const _0x245c30=this[_0x5349ed(0x304)](),_0x2f553b=PIPELINE_DEFINITIONS[_0x4ef333[_0x5349ed(0x3d7)]],_0x407c4d=(_0x4ef333[_0x5349ed(0x2da)]||[])[_0x5349ed(0x3f7)](_0x1bb757=>typeof _0x1bb757==='string'?{'id':_0x1bb757,'summary':_0x5349ed(0x204),'completedAt':this[_0x5349ed(0x267)]()['toISOString']()}:_0x1bb757),_0x13a645={};_0x13a645[_0x5349ed(0x232)]=_0x5349ed(0x3b0),_0x13a645[_0x5349ed(0x2fc)]=this[_0x5349ed(0x36c)],_0x13a645[_0x5349ed(0x1ba)]=![],_0x13a645[_0x5349ed(0x2e3)]='ready';const _0x5ecef4={'schemaVersion':0x2,'task':_0x37b491,'runId':_0x245c30,'pipeline':_0x4ef333['pipeline'],'status':_0x407c4d[_0x5349ed(0x2e1)]>=_0x2f553b[_0x5349ed(0x3e9)]['length']?_0x5349ed(0x2a9):_0x5349ed(0x176),'completedSteps':_0x407c4d,'workspace':_0x13a645,'startedAt':_0x4ef333[_0x5349ed(0x1fa)]||this[_0x5349ed(0x267)]()[_0x5349ed(0x3ce)](),'updatedAt':this['now']()[_0x5349ed(0x3ce)](),'migratedFrom':this['legacyStateFilePath']},_0x288652={};_0x288652[_0x5349ed(0x1fe)]=!![],this[_0x5349ed(0x263)](_0x5ecef4,_0x288652),this['appendLedger'](_0x5ecef4,_0x5349ed(0x394),'Source\x20retained\x20at\x20'+this[_0x5349ed(0x2aa)]),this[_0x5349ed(0x3b4)](_0x1566cc,{'source':this[_0x5349ed(0x2aa)],'task':_0x37b491,'runId':_0x245c30,'fingerprint':_0x5ae372,'migratedAt':this['now']()['toISOString']()});}static['classifyRequest'](_0x30d5a7){const _0x12d924=_0x1a2a36,_0x506557=String(_0x30d5a7||'')[_0x12d924(0x3fd)]();if(/\b(bug|crash|regression|broken|debug)\b|bị lỗi|không chạy/['test'](_0x506557)){const _0x37e871={};return _0x37e871[_0x12d924(0x2a8)]=_0x12d924(0x1e8),_0x37e871[_0x12d924(0x324)]=_0x12d924(0x3da),_0x37e871[_0x12d924(0x1b6)]=_0x12d924(0x1f1),_0x37e871;}if(/\b(typo|rename|config|one-liner|small fix)\b|sửa nhỏ|lỗi chính tả/[_0x12d924(0x2b9)](_0x506557)){const _0x311fcd={};return _0x311fcd[_0x12d924(0x2a8)]=_0x12d924(0x384),_0x311fcd['confidence']=_0x12d924(0x3da),_0x311fcd[_0x12d924(0x1b6)]='Small\x20isolated\x20change\x20signals\x20detected.',_0x311fcd;}const _0x386522={};return _0x386522[_0x12d924(0x2a8)]=_0x12d924(0x2bd),_0x386522[_0x12d924(0x324)]=_0x506557[_0x12d924(0x2e1)]>=0x3?'medium':_0x12d924(0x328),_0x386522[_0x12d924(0x1b6)]='Defaulting\x20to\x20the\x20safest\x20full\x20pipeline.',_0x386522;}}const _0x3dfdea={};_0x3dfdea[_0x1a2a36(0x1b7)]=PipelineManager,_0x3dfdea[_0x1a2a36(0x3f8)]=PIPELINE_DEFINITIONS,_0x3dfdea[_0x1a2a36(0x2f4)]=PIPELINE_DEFINITIONS_V3,module[_0x1a2a36(0x173)]=_0x3dfdea;
|