gl-life-claude-zen 1.3.3 → 1.3.5
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 +61 -27
- package/bin/create-gl-life-claude.js +4 -5
- package/dist/hooks/auto-format.js +1 -1
- package/dist/hooks/check-pending-reviews.js +1 -1
- package/dist/hooks/complete-task.js +1 -1
- package/dist/hooks/detect-pending-reviews.js +1 -1
- package/dist/hooks/enforce-hard-requirements.js +1 -1
- package/dist/hooks/enforce-migration-workflow.js +1 -1
- package/dist/hooks/enforce-structured-development.js +1 -1
- package/dist/hooks/enforce-test-pyramid.js +1 -1
- package/dist/hooks/init-task-tracker.js +1 -1
- package/dist/hooks/performance-cache.js +1 -1
- package/dist/hooks/prevent-read-bypass.js +1 -1
- package/dist/hooks/start-task.js +1 -1
- package/dist/hooks/task-status.js +1 -1
- package/dist/hooks/validate-component-contract.js +1 -1
- package/dist/hooks/validate-database-changes.js +1 -1
- package/dist/hooks/validate-e2e-coverage.js +1 -1
- package/dist/hooks/validate-git-workflow.js +1 -1
- package/dist/hooks/validate-integration-site.js +1 -1
- package/dist/hooks/validate-migration-impact.js +1 -1
- package/dist/hooks/validate-task-completion.js +1 -1
- package/dist/hooks/validate-test-quality.js +1 -1
- package/dist/hooks/validate-test-results.js +1 -1
- package/dist/hooks/validate-ui-integration.js +1 -1
- package/dist/hooks/validate-ui-runtime.js +1 -1
- package/dist/hooks/validate-ui-syntax.js +1 -1
- package/dist/hooks/validate-ui-visual-native.js +1 -1
- package/dist/hooks/validate-ui-visual.js +1 -1
- package/dist/hooks/validate-visual-regression.js +1 -1
- package/dist/scripts/help.js +1 -1
- package/dist/scripts/plan-amend.js +1 -1
- package/dist/scripts/plan-create.js +1 -1
- package/dist/scripts/plan-generate.js +2 -0
- package/dist/scripts/plan-help.js +1 -1
- package/dist/scripts/plan-init.js +1 -1
- package/dist/scripts/plan-manager.js +1 -1
- package/dist/scripts/pre-publish-checklist.js +1 -1
- package/dist/scripts/production-test.js +1 -1
- package/dist/scripts/profile-hooks.js +1 -1
- package/dist/scripts/setup-git-hooks.js +1 -1
- package/dist/scripts/task-done.js +1 -1
- package/dist/scripts/task-merge.js +1 -1
- package/dist/scripts/task-next.js +1 -1
- package/dist/scripts/task-start.js +1 -1
- package/dist/scripts/task-status.js +1 -1
- package/dist/scripts/verify-hooks.js +1 -1
- package/lib/init.js +52 -0
- package/package.json +1 -1
- package/templates/.claude/CLAUDE.md +23 -22
- package/templates/.claude/ONBOARDING.md +712 -0
- package/templates/.claude/settings.json +2 -4
- package/templates/package.json +1 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var _0x225ee7=_0x349a;function _0x349a(_0x3f6ffa,_0x5b8bc5){_0x3f6ffa=_0x3f6ffa-0x19c;var _0x2bd493=_0x1ff1();var _0x1bdc54=_0x2bd493[_0x3f6ffa];return _0x1bdc54;}(function(_0x5d1634,_0x437c3c){var _0x35d1f5=_0x349a,_0x14961e=_0x5d1634();while(!![]){try{var _0x5c3dbf=parseInt(_0x35d1f5(0x1c0))/0x1+parseInt(_0x35d1f5(0x1aa))/0x2+-parseInt(_0x35d1f5(0x1a6))/0x3*(-parseInt(_0x35d1f5(0x19f))/0x4)+parseInt(_0x35d1f5(0x1a7))/0x5+-parseInt(_0x35d1f5(0x19e))/0x6+-parseInt(_0x35d1f5(0x1ba))/0x7*(parseInt(_0x35d1f5(0x1c5))/0x8)+parseInt(_0x35d1f5(0x1bd))/0x9*(parseInt(_0x35d1f5(0x1ae))/0xa);if(_0x5c3dbf===_0x437c3c)break;else _0x14961e['push'](_0x14961e['shift']());}catch(_0x4ed985){_0x14961e['push'](_0x14961e['shift']());}}}(_0x1ff1,0x19a90));var _0x562c25=(function(){var _0x21d7ce=_0x349a,_0x2c3060={};_0x2c3060[_0x21d7ce(0x1b3)]='(((.+)+)+)+$',_0x2c3060[_0x21d7ce(0x1c7)]=_0x21d7ce(0x1ac);var _0x33d8a7=_0x2c3060,_0x197300=!![];return function(_0x5ad9b0,_0x4dcf11){var _0x54ce31=_0x21d7ce,_0x533849={};_0x533849['tQQOI']=_0x33d8a7[_0x54ce31(0x1b3)];var _0x4569a0=_0x533849;if(_0x54ce31(0x1a0)===_0x33d8a7[_0x54ce31(0x1c7)])return _0x2d74b7[_0x54ce31(0x1a8)]()['search'](_0x4569a0['tQQOI'])[_0x54ce31(0x1a8)]()[_0x54ce31(0x1b4)](_0x1faca5)[_0x54ce31(0x1be)]('(((.+)+)+)+$');else{var _0x17d69b=_0x197300?function(){var _0x21b024=_0x54ce31;if(_0x4dcf11){var _0x557f78=_0x4dcf11[_0x21b024(0x1b2)](_0x5ad9b0,arguments);return _0x4dcf11=null,_0x557f78;}}:function(){};return _0x197300=![],_0x17d69b;}};}()),_0x1bdc54=_0x562c25(this,function(){var _0x16a814=_0x349a,_0x5f1691={};_0x5f1691[_0x16a814(0x1a4)]=_0x16a814(0x1b5);var _0x5a89b0=_0x5f1691;return _0x1bdc54['toString']()[_0x16a814(0x1be)](_0x5a89b0[_0x16a814(0x1a4)])[_0x16a814(0x1a8)]()[_0x16a814(0x1b4)](_0x1bdc54)[_0x16a814(0x1be)](_0x5a89b0[_0x16a814(0x1a4)]);});_0x1bdc54();var n=(_0x3c2a7d=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x3c2a7d,{'get':(_0x4aba5f,_0x56b237)=>(typeof require<'u'?require:_0x4aba5f)[_0x56b237]}):_0x3c2a7d)(function(_0x5f5078){var _0x15c3a2=_0x349a,_0x585765={'Fhkse':function(_0xcea63b,_0x163689){return _0xcea63b<_0x163689;},'LsvYY':function(_0x19cd39,_0x17dd54){return _0x19cd39(_0x17dd54);},'PVtOR':function(_0x405fbb,_0x1684b8){return _0x405fbb+_0x1684b8;}};if(_0x585765[_0x15c3a2(0x1b0)](typeof require,'u'))return require['apply'](this,arguments);throw _0x585765[_0x15c3a2(0x1af)](Error,_0x585765['PVtOR']('Dynamic\x20require\x20of\x20\x22'+_0x5f5078,'\x22\x20is\x20not\x20supported'));}),t=n('fs'),r=n('path'),s=_0x225ee7(0x1b7);t[_0x225ee7(0x1c3)]('.git')||(console[_0x225ee7(0x1bc)]('❌\x20Error:\x20Not\x20a\x20git\x20repository'),console['error'](_0x225ee7(0x1c8)),process[_0x225ee7(0x1bb)](0x1));var _0x3f660d={};function _0x1ff1(){var _0x42303f=['(((.+)+)+)+$','\x20hook\x20already\x20exists\x20-\x20backing\x20up\x20to\x20','.git/hooks','.backup','platform','1210097QfxEBa','exit','error','450xCjFRD','search','#!/bin/sh\x0a#\x20Pre-push\x20hook:\x20Final\x20validation\x20before\x20push\x0a\x0aecho\x20\x22🚀\x20Running\x20pre-push\x20checks...\x22\x0a\x0a#\x20Check\x20if\x20we\x27re\x20on\x20main\x20branch\x0aBRANCH=$(git\x20rev-parse\x20--abbrev-ref\x20HEAD)\x0aif\x20[\x20\x22$BRANCH\x22\x20=\x20\x22main\x22\x20]\x20||\x20[\x20\x22$BRANCH\x22\x20=\x20\x22master\x22\x20];\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20Cannot\x20push\x20directly\x20to\x20$BRANCH\x20branch\x22\x0a\x20\x20echo\x20\x22Create\x20a\x20feature\x20branch\x20first\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Check\x20for\x20uncommitted\x20changes\x0aif\x20!\x20git\x20diff-index\x20--quiet\x20HEAD\x20--;\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20You\x20have\x20uncommitted\x20changes\x22\x0a\x20\x20echo\x20\x22Commit\x20or\x20stash\x20changes\x20before\x20pushing\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Run\x20full\x20test\x20suite\x0aif\x20grep\x20-q\x20\x27\x22test\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20full\x20test\x20suite...\x22\x0a\x20\x20npm\x20test\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Tests\x20failed.\x20Fix\x20failing\x20tests\x20before\x20pushing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0aecho\x20\x22✅\x20Pre-push\x20checks\x20passed!\x22\x0aexit\x200\x0a','24002lxmypM','⚠️\x20\x20','copyFileSync','existsSync','\x20\x20git\x20commit\x20--no-verify\x0a','8vVBfPP','Hooks\x20installed:','PcdMt','Run\x20\x22git\x20init\x22\x20first','join','#!/bin/sh\x0a#\x20Commit-msg\x20hook:\x20Validate\x20commit\x20message\x20format\x0a\x0aCOMMIT_MSG_FILE=$1\x0aCOMMIT_MSG=$(cat\x20\x22$COMMIT_MSG_FILE\x22)\x0a\x0a#\x20Check\x20if\x20commit\x20message\x20follows\x20format:\x20[TASK-XXX]\x20Description\x0a#\x20or\x20starts\x20with\x20common\x20prefixes\x20like\x20feat:,\x20fix:,\x20docs:,\x20etc.\x0aif\x20echo\x20\x22$COMMIT_MSG\x22\x20|\x20grep\x20-qE\x20\x27^\x5c[TASK-[0-9]{3}\x5c]|^(feat|fix|docs|style|refactor|test|chore|perf|ci|build|revert):\x27;\x20then\x0a\x20\x20exit\x200\x0afi\x0a\x0a#\x20Allow\x20merge\x20commits\x0aif\x20echo\x20\x22$COMMIT_MSG\x22\x20|\x20grep\x20-qE\x20\x27^Merge\x27;\x20then\x0a\x20\x20exit\x200\x0afi\x0a\x0aecho\x20\x22❌\x20ERROR:\x20Invalid\x20commit\x20message\x20format\x22\x0aecho\x20\x22\x22\x0aecho\x20\x22Commit\x20message\x20must\x20start\x20with:\x22\x0aecho\x20\x22\x20\x20[TASK-XXX]\x20Description\x20\x20(for\x20task-related\x20commits)\x22\x0aecho\x20\x22\x20\x20feat:\x20Description\x20\x20\x20\x20\x20\x20\x20(for\x20new\x20features)\x22\x0aecho\x20\x22\x20\x20fix:\x20Description\x20\x20\x20\x20\x20\x20\x20\x20(for\x20bug\x20fixes)\x22\x0aecho\x20\x22\x20\x20docs:\x20Description\x20\x20\x20\x20\x20\x20\x20(for\x20documentation)\x22\x0aecho\x20\x22\x22\x0aecho\x20\x22Your\x20message:\x20$COMMIT_MSG\x22\x0aecho\x20\x22\x22\x0aexit\x201\x0a','\x20\x20commit-msg\x20\x20-\x20Enforces\x20commit\x20message\x20format\x20[TASK-XXX]\x20or\x20feat:/fix:','661092ZaxITr','10352XEaMAm','Djrvn','To\x20uninstall\x20hooks:','\x20git\x20hooks!\x0a','log','gGXpm','\x20\x20pre-push\x20\x20\x20\x20-\x20Prevents\x20pushing\x20to\x20main,\x20ensures\x20tests\x20pass\x0a','183EqwlDm','672885sqiSUc','toString','win32','104120rvTVMt','chmodSync','bCSgo','entries','3930IfcxLm','LsvYY','Fhkse','\x20\x20pre-commit\x20\x20-\x20Validates\x20linting,\x20formatting,\x20tests\x20before\x20commit','apply','LIgXN','constructor'];_0x1ff1=function(){return _0x42303f;};return _0x1ff1();}_0x3f660d['recursive']=!0x0,t[_0x225ee7(0x1c3)](s)||t['mkdirSync'](s,_0x3f660d),console['log']('📋\x20Setting\x20up\x20git\x20hooks...\x0a');var a='#!/bin/sh\x0a#\x20Pre-commit\x20hook:\x20Run\x20tests\x20and\x20linting\x20before\x20commit\x0a\x0aecho\x20\x22🔍\x20Running\x20pre-commit\x20checks...\x22\x0a\x0a#\x20Check\x20if\x20we\x27re\x20on\x20main\x20branch\x0aBRANCH=$(git\x20rev-parse\x20--abbrev-ref\x20HEAD)\x0aif\x20[\x20\x22$BRANCH\x22\x20=\x20\x22main\x22\x20]\x20||\x20[\x20\x22$BRANCH\x22\x20=\x20\x22master\x22\x20];\x20then\x0a\x20\x20echo\x20\x22❌\x20ERROR:\x20Cannot\x20commit\x20directly\x20to\x20$BRANCH\x20branch\x22\x0a\x20\x20echo\x20\x22Create\x20a\x20feature\x20branch\x20first:\x22\x0a\x20\x20echo\x20\x22\x20\x20git\x20checkout\x20-b\x20task/TASK-XXX-description\x22\x0a\x20\x20exit\x201\x0afi\x0a\x0a#\x20Run\x20linter\x20if\x20package.json\x20has\x20lint\x20script\x0aif\x20grep\x20-q\x20\x27\x22lint\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20linter...\x22\x0a\x20\x20npm\x20run\x20lint\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Linting\x20failed.\x20Fix\x20errors\x20before\x20committing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0a#\x20Run\x20formatter\x20check\x20if\x20available\x0aif\x20grep\x20-q\x20\x27\x22format:check\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Checking\x20formatting...\x22\x0a\x20\x20npm\x20run\x20format:check\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Formatting\x20check\x20failed.\x20Run\x20\x27npm\x20run\x20format\x27\x20to\x20fix.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0a#\x20Run\x20tests\x0aif\x20grep\x20-q\x20\x27\x22test\x22\x27\x20package.json\x202>/dev/null;\x20then\x0a\x20\x20echo\x20\x22Running\x20tests...\x22\x0a\x20\x20npm\x20test\x20--silent\x0a\x20\x20if\x20[\x20$?\x20-ne\x200\x20];\x20then\x0a\x20\x20\x20\x20echo\x20\x22❌\x20Tests\x20failed.\x20Fix\x20failing\x20tests\x20before\x20committing.\x22\x0a\x20\x20\x20\x20exit\x201\x0a\x20\x20fi\x0afi\x0a\x0aecho\x20\x22✅\x20Pre-commit\x20checks\x20passed!\x22\x0aexit\x200\x0a',h=_0x225ee7(0x19c),m=_0x225ee7(0x1bf),f={'pre-commit':a,'commit-msg':h,'pre-push':m},c=0x0;for(let [e,i]of Object[_0x225ee7(0x1ad)](f)){let o=r[_0x225ee7(0x1c9)](s,e);var _0x5642e9={};_0x5642e9['mode']=0x1ed,(t[_0x225ee7(0x1c3)](o)&&(console[_0x225ee7(0x1a3)](_0x225ee7(0x1c1)+e+_0x225ee7(0x1b6)+e+_0x225ee7(0x1b8)),t[_0x225ee7(0x1c2)](o,o+'.backup')),t['writeFileSync'](o,i,_0x5642e9),process[_0x225ee7(0x1b9)]!==_0x225ee7(0x1a9)&&t[_0x225ee7(0x1ab)](o,0x1ed),console['log']('✅\x20Installed\x20'+e+'\x20hook'),c++);}console['log']('\x0a🎉\x20Successfully\x20installed\x20'+c+_0x225ee7(0x1a2)),console[_0x225ee7(0x1a3)](_0x225ee7(0x1c6)),console[_0x225ee7(0x1a3)](_0x225ee7(0x1b1)),console[_0x225ee7(0x1a3)](_0x225ee7(0x19d)),console[_0x225ee7(0x1a3)](_0x225ee7(0x1a5)),console['log']('To\x20bypass\x20hooks\x20(NOT\x20RECOMMENDED):'),console['log'](_0x225ee7(0x1c4)),console[_0x225ee7(0x1a3)](_0x225ee7(0x1a1)),console[_0x225ee7(0x1a3)]('\x20\x20rm\x20.git/hooks/pre-commit\x20.git/hooks/commit-msg\x20.git/hooks/pre-push\x0a'),process[_0x225ee7(0x1bb)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var _0x2dfcf7=_0x32ad;(function(_0x5bdbb7,_0x43a7b6){var _0x49c266=_0x32ad,_0x407be6=_0x5bdbb7();while(!![]){try{var _0x538fcc=-parseInt(_0x49c266(0x1cf))/0x1+parseInt(_0x49c266(0x1a8))/0x2*(parseInt(_0x49c266(0x1ab))/0x3)+parseInt(_0x49c266(0x1c4))/0x4+-parseInt(_0x49c266(0x1cb))/0x5+-parseInt(_0x49c266(0x1b8))/0x6*(-parseInt(_0x49c266(0x1b3))/0x7)+-parseInt(_0x49c266(0x1a5))/0x8+parseInt(_0x49c266(0x1bb))/0x9;if(_0x538fcc===_0x43a7b6)break;else _0x407be6['push'](_0x407be6['shift']());}catch(_0xb69b82){_0x407be6['push'](_0x407be6['shift']());}}}(_0x3eff,0xec755));var _0x53761c=(function(){var _0x1da42c=_0x32ad,_0x21ab2b={'YYhye':function(_0x187155,_0x49d38e){return _0x187155!==_0x49d38e;},'EocuH':'aJPoT','VjIPB':function(_0x1fc662,_0x391f5d){return _0x1fc662<_0x391f5d;},'UzpNp':function(_0xe680aa,_0x34b542){return _0xe680aa+_0x34b542;},'fAcAz':_0x1da42c(0x1a1),'xwXye':function(_0x523dd6,_0x17de1b,_0x47676c){return _0x523dd6(_0x17de1b,_0x47676c);},'uwQRh':_0x1da42c(0x1d2),'TMXxy':function(_0x1d425c,_0x5f4d74){return _0x1d425c!==_0x5f4d74;},'avrVA':_0x1da42c(0x1cd)},_0x16169f=!![];return function(_0x4649fe,_0x10110a){var _0x1e0209=_0x1da42c,_0x405a1e={'knwGS':function(_0x4f8d13,_0x5dcb08,_0x4b783a){var _0xf8c9c8=_0x32ad;return _0x21ab2b[_0xf8c9c8(0x1cc)](_0x4f8d13,_0x5dcb08,_0x4b783a);},'qyBWF':'\x20\x20-\x20Check\x20status:\x20npm\x20run\x20task:status','tIwOl':_0x21ab2b[_0x1e0209(0x1c7)]};if(_0x21ab2b[_0x1e0209(0x1b1)](_0x21ab2b['avrVA'],_0x1e0209(0x1b2))){var _0x3cb3ec=_0x16169f?function(){var _0x356834=_0x1e0209;if(_0x10110a){if(_0x21ab2b['YYhye'](_0x21ab2b['EocuH'],_0x356834(0x1c0))){var _0x43076b={};_0x43076b[_0x356834(0x1bf)]=_0x356834(0x1c9),(_0x405a1e['knwGS'](_0x3b6737,_0x356834(0x1ca)+_0x1d3dcd+'\x22\x20'+_0x40e48d,_0x43076b),_0x482552['log'](_0x356834(0x1d4)+_0x2592b9+'\x20marked\x20as\x20completed!'),_0x12018c['log'](_0x356834(0x1ae)),_0x1be435[_0x356834(0x1b7)](_0x405a1e[_0x356834(0x1c8)]),_0x88f47b[_0x356834(0x1b7)](_0x405a1e[_0x356834(0x1c3)]));}else{var _0x7e3232=_0x10110a[_0x356834(0x1bd)](_0x4649fe,arguments);return _0x10110a=null,_0x7e3232;}}}:function(){};return _0x16169f=![],_0x3cb3ec;}else{if(_0x21ab2b['VjIPB'](typeof _0x197f85,'u'))return _0x2a7984[_0x1e0209(0x1bd)](this,arguments);throw _0x594bd2(_0x21ab2b[_0x1e0209(0x1aa)](_0x1e0209(0x1a4),_0x48b46a)+_0x21ab2b['fAcAz']);}};}()),_0x39e104=_0x53761c(this,function(){var _0x4c13e3=_0x32ad,_0x741f4e={};_0x741f4e[_0x4c13e3(0x1ad)]=_0x4c13e3(0x1b4);var _0x355846=_0x741f4e;return _0x39e104[_0x4c13e3(0x1d7)]()['search'](_0x355846[_0x4c13e3(0x1ad)])[_0x4c13e3(0x1d7)]()[_0x4c13e3(0x1b0)](_0x39e104)[_0x4c13e3(0x1a6)](_0x355846[_0x4c13e3(0x1ad)]);});function _0x32ad(_0x140d80,_0x67b02c){_0x140d80=_0x140d80-0x1a0;var _0x27e36f=_0x3eff();var _0x39e104=_0x27e36f[_0x140d80];return _0x39e104;}_0x39e104();function _0x3eff(){var _0xfbea67=['TMXxy','JSoSv','462WKbOUt','(((.+)+)+)+$','Hook\x20not\x20found:\x20','.\x20Checked:\x0a\x20\x20-\x20','log','166758NyWwoP','\x0a❌\x20Failed\x20to\x20complete\x20task\x20','kbxqI','9394749nXxXBp','afZuY','apply','complete-task.js','stdio','aJPoT','✅\x20Completing\x20task:\x20','huXeE','tIwOl','1346768XACkjH','exit','existsSync','uwQRh','qyBWF','inherit','node\x20\x22','9274690UllTxl','xwXye','RRaQG','argv','771613pKoLSr','lrNMh','mWUnx','\x20\x20-\x20Start\x20next\x20task:\x20npm\x20run\x20task:start\x20TASK-XXX','.claude','\x0a🎉\x20Task\x20','oDfyp','\x20\x20\x20Or:\x20npm\x20run\x20task:done\x20TASK-001','toString','\x20marked\x20as\x20completed!','\x22\x20is\x20not\x20supported','\x0a\x20\x20-\x20','\x20\x20-\x20Check\x20status:\x20npm\x20run\x20task:status','Dynamic\x20require\x20of\x20\x22','9174496IWOJmg','search','join','610802QayOXL','hooks','UzpNp','15osvTJR','error','UQAwB','\x0aNext\x20steps:','child_process','constructor'];_0x3eff=function(){return _0xfbea67;};return _0x3eff();}var r=(_0x1a0039=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x1a0039,{'get':(_0x5aaec5,_0x421274)=>(typeof require<'u'?require:_0x5aaec5)[_0x421274]}):_0x1a0039)(function(_0x20c85c){var _0x2af804=_0x32ad,_0x578a1d={'oDfyp':function(_0x23a810,_0x1b51e3){return _0x23a810<_0x1b51e3;},'kbxqI':function(_0x34d1ed,_0x2a5028){return _0x34d1ed(_0x2a5028);},'huXeE':function(_0x296a0f,_0x1574d8){return _0x296a0f+_0x1574d8;},'lrNMh':_0x2af804(0x1a4),'ZJPCG':_0x2af804(0x1a1)};if(_0x578a1d[_0x2af804(0x1d5)](typeof require,'u'))return require[_0x2af804(0x1bd)](this,arguments);throw _0x578a1d[_0x2af804(0x1ba)](Error,_0x578a1d[_0x2af804(0x1c2)](_0x578a1d[_0x2af804(0x1d0)]+_0x20c85c,_0x578a1d['ZJPCG']));}),{execSync:a}=r(_0x2dfcf7(0x1af)),t=r('path'),c=r('fs'),n=process[_0x2dfcf7(0x1ce)][0x2];n||(console[_0x2dfcf7(0x1ac)]('❌\x20Error:\x20Task\x20ID\x20is\x20required'),console[_0x2dfcf7(0x1ac)]('\x0aUsage:\x20node\x20scripts/task-done.js\x20TASK-001'),console[_0x2dfcf7(0x1ac)](_0x2dfcf7(0x1d6)),process[_0x2dfcf7(0x1c5)](0x1));var i=_0x5876fd=>{var _0x2c7ac7=_0x2dfcf7,_0x310e27={};_0x310e27['afZuY']=_0x2c7ac7(0x1a9),_0x310e27[_0x2c7ac7(0x1d1)]=_0x2c7ac7(0x1d3);var _0x6f8aa5=_0x310e27;let _0x2545ce=t[_0x2c7ac7(0x1a7)](__dirname,'..',_0x6f8aa5['afZuY'],_0x5876fd);if(c[_0x2c7ac7(0x1c6)](_0x2545ce))return _0x2545ce;let _0x194c72=t[_0x2c7ac7(0x1a7)](__dirname,'..',_0x6f8aa5[_0x2c7ac7(0x1d1)],_0x6f8aa5[_0x2c7ac7(0x1bc)],_0x5876fd);if(c[_0x2c7ac7(0x1c6)](_0x194c72))return _0x194c72;throw new Error(_0x2c7ac7(0x1b5)+_0x5876fd+_0x2c7ac7(0x1b6)+_0x2545ce+_0x2c7ac7(0x1a2)+_0x194c72);},l=i(_0x2dfcf7(0x1be));console[_0x2dfcf7(0x1b7)](_0x2dfcf7(0x1c1)+n+'\x0a');try{var _0x2551fa={};_0x2551fa[_0x2dfcf7(0x1bf)]=_0x2dfcf7(0x1c9),(a(_0x2dfcf7(0x1ca)+l+'\x22\x20'+n,_0x2551fa),console[_0x2dfcf7(0x1b7)]('\x0a🎉\x20Task\x20'+n+_0x2dfcf7(0x1a0)),console['log'](_0x2dfcf7(0x1ae)),console[_0x2dfcf7(0x1b7)](_0x2dfcf7(0x1a3)),console[_0x2dfcf7(0x1b7)](_0x2dfcf7(0x1d2)));}catch{console[_0x2dfcf7(0x1ac)](_0x2dfcf7(0x1b9)+n),process[_0x2dfcf7(0x1c5)](0x1);}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x33614a=_0x1768;(function(_0x4b1835,_0x2d97b0){const _0x3ed8a7=_0x1768,_0x54fc15=_0x4b1835();while(!![]){try{const _0x1ff4f9=-parseInt(_0x3ed8a7(0x1bb))/0x1*(parseInt(_0x3ed8a7(0x15e))/0x2)+parseInt(_0x3ed8a7(0x1c8))/0x3*(parseInt(_0x3ed8a7(0x19f))/0x4)+parseInt(_0x3ed8a7(0x18c))/0x5*(parseInt(_0x3ed8a7(0x14a))/0x6)+parseInt(_0x3ed8a7(0x163))/0x7+parseInt(_0x3ed8a7(0x17e))/0x8*(parseInt(_0x3ed8a7(0x1d9))/0x9)+-parseInt(_0x3ed8a7(0x18f))/0xa+-parseInt(_0x3ed8a7(0x1a6))/0xb;if(_0x1ff4f9===_0x2d97b0)break;else _0x54fc15['push'](_0x54fc15['shift']());}catch(_0x1adb77){_0x54fc15['push'](_0x54fc15['shift']());}}}(_0x3049,0x47460));const _0x22403d=(function(){const _0x261b04=_0x1768,_0x37f94e={};_0x37f94e['EyZga']=function(_0x2627f9,_0x3182a2){return _0x2627f9===_0x3182a2;},_0x37f94e['jVdLn']='completed',_0x37f94e[_0x261b04(0x1c6)]=function(_0xa1c5ca,_0x5cf220){return _0xa1c5ca+_0x5cf220;},_0x37f94e[_0x261b04(0x17c)]='Complete\x20task\x20first:\x20npm\x20run\x20task:done\x20',_0x37f94e[_0x261b04(0x16e)]=function(_0x23a9b4,_0x15491d){return _0x23a9b4===_0x15491d;},_0x37f94e[_0x261b04(0x1cb)]=_0x261b04(0x1be),_0x37f94e[_0x261b04(0x1af)]=_0x261b04(0x178);const _0x1ae764=_0x37f94e;let _0x2eaf54=!![];return function(_0x1eb20d,_0x53ea35){const _0x4ac59e=_0x261b04,_0xe52cd4={'AhvUp':_0x4ac59e(0x16d),'LtEoa':'utf8','sjqmX':_0x1ae764[_0x4ac59e(0x1d4)],'ImIdd':function(_0x1efa11,_0x5c463d){return _0x1ae764['nEbWq'](_0x1efa11,_0x5c463d);},'kWYOS':_0x1ae764[_0x4ac59e(0x17c)],'RQtem':function(_0x78a40b,_0x2ef453){const _0x5cb189=_0x4ac59e;return _0x1ae764[_0x5cb189(0x16e)](_0x78a40b,_0x2ef453);},'DUXyQ':_0x1ae764[_0x4ac59e(0x1cb)]};if(_0x1ae764[_0x4ac59e(0x16e)](_0x1ae764[_0x4ac59e(0x1af)],_0x4ac59e(0x178))){const _0x2450bf=_0x2eaf54?function(){const _0x48e5c8=_0x4ac59e;if(_0xe52cd4[_0x48e5c8(0x1bf)]('FPjBi',_0xe52cd4['DUXyQ'])){if(_0x53ea35){const _0x52b5ed=_0x53ea35[_0x48e5c8(0x165)](_0x1eb20d,arguments);return _0x53ea35=null,_0x52b5ed;}}else{_0x4c80c4[_0x48e5c8(0x180)][_0x48e5c8(0x194)](_0x549e4b=>_0x549e4b['id']===_0x121eaf)||(_0x394bd3[_0x48e5c8(0x14b)](_0x48e5c8(0x174)+_0x23e253+_0x48e5c8(0x168)),_0x1032b0[_0x48e5c8(0x1c3)](0x1));let _0x118b55=_0x51ed54[_0x48e5c8(0x1d8)](_0x7d6267,_0xe52cd4['AhvUp'],_0x49e380+_0x48e5c8(0x175));_0x2200ba[_0x48e5c8(0x18e)](_0x118b55)||(_0xf8639f[_0x48e5c8(0x14b)]('❌\x20ERROR:\x20Task\x20file\x20not\x20found:\x20'+_0x118b55),_0x1eaeb2[_0x48e5c8(0x1c3)](0x1));let _0x5aca2a=_0x38eede[_0x48e5c8(0x1ce)](_0x3e9b66[_0x48e5c8(0x184)](_0x118b55,_0xe52cd4[_0x48e5c8(0x1a0)]));_0x5aca2a['status']!==_0xe52cd4[_0x48e5c8(0x185)]&&(_0x165f12[_0x48e5c8(0x14b)](_0x48e5c8(0x174)+_0x406f2d+_0x48e5c8(0x1cf)+_0x5aca2a['status']+')'),_0x471428[_0x48e5c8(0x14b)](_0xe52cd4[_0x48e5c8(0x1a1)](_0xe52cd4[_0x48e5c8(0x169)],_0x4fd561)),_0x51e2bc[_0x48e5c8(0x1c3)](0x1)),_0x38ecdd[_0x48e5c8(0x1c5)](_0x5aca2a);}}:function(){};return _0x2eaf54=![],_0x2450bf;}else{let _0x195dbd=_0x14664b['taskFiles'][_0x4ac59e(0x15f)](_0x348ffd=>{const _0x4017ee=_0x4ac59e;let _0x1919ef=_0x3ee1b4[_0x4017ee(0x1d8)](_0x2418df,_0xe52cd4[_0x4017ee(0x173)],_0x348ffd['id']+'.json');return _0x40af85[_0x4017ee(0x18e)](_0x1919ef)?_0x5101a0[_0x4017ee(0x1ce)](_0x1b23e8['readFileSync'](_0x1919ef,_0xe52cd4[_0x4017ee(0x1a0)])):null;})['filter'](_0x6346e0=>_0x6346e0!==null&&_0x6346e0['phase']===_0x1bdf67);_0x1ae764['EyZga'](_0x195dbd['length'],0x0)&&(_0x32d186[_0x4ac59e(0x14b)](_0x4ac59e(0x1db)+_0x5f39b0),_0x3bac43[_0x4ac59e(0x1c3)](0x1));let _0x442c79=_0x195dbd[_0x4ac59e(0x155)](_0x41e3d1=>_0x41e3d1['status']!==_0x4ac59e(0x1ae));_0x442c79[_0x4ac59e(0x19e)]>0x0&&(_0x1632d9[_0x4ac59e(0x14b)](_0x4ac59e(0x16a)+_0x430cc0+_0x4ac59e(0x19a)),_0x442c79[_0x4ac59e(0x1c7)](_0x2a3928=>{const _0x3e80fa=_0x4ac59e;_0x58ac91[_0x3e80fa(0x14b)]('\x20\x20'+_0x2a3928['id']+':\x20'+_0x2a3928['title']+'\x20('+_0x2a3928[_0x3e80fa(0x186)]+')');}),_0x490c1c[_0x4ac59e(0x14b)](_0x4ac59e(0x1dc)),_0x35755b['exit'](0x1)),_0x37a0d2=_0x195dbd[_0x4ac59e(0x155)](_0x13ba1f=>_0x13ba1f[_0x4ac59e(0x186)]===_0x4ac59e(0x1ae));}};}()),_0x15ea1a=_0x22403d(this,function(){const _0x30ae05=_0x1768,_0x38b5e6={};_0x38b5e6['SRqVu']=_0x30ae05(0x192);const _0x2f5eef=_0x38b5e6;return _0x15ea1a[_0x30ae05(0x1da)]()[_0x30ae05(0x182)](_0x2f5eef[_0x30ae05(0x197)])[_0x30ae05(0x1da)]()['constructor'](_0x15ea1a)[_0x30ae05(0x182)](_0x2f5eef['SRqVu']);});_0x15ea1a();var u=(_0xdc57d3=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0xdc57d3,{'get':(_0x40c653,_0x4a4a60)=>(typeof require<'u'?require:_0x40c653)[_0x4a4a60]}):_0xdc57d3)(function(_0x1dbde9){const _0x5e1ea3=_0x1768,_0x59f946={'IoeKG':function(_0x2dc001,_0x262161){return _0x2dc001<_0x262161;},'jJFIN':function(_0x199e20,_0x22915e){return _0x199e20(_0x22915e);},'dHOog':function(_0x556690,_0x3c2628){return _0x556690+_0x3c2628;},'piznK':'Dynamic\x20require\x20of\x20\x22','zusRi':_0x5e1ea3(0x152)};if(_0x59f946['IoeKG'](typeof require,'u'))return require[_0x5e1ea3(0x165)](this,arguments);throw _0x59f946[_0x5e1ea3(0x156)](Error,_0x59f946[_0x5e1ea3(0x1b6)](_0x59f946[_0x5e1ea3(0x16c)],_0x1dbde9)+_0x59f946[_0x5e1ea3(0x179)]);}),{execSync:s}=u(_0x33614a(0x167)),c=u('fs'),g=u('path'),l=process[_0x33614a(0x1bc)][_0x33614a(0x188)](0x2),p=_0x33614a(0x1b8);c[_0x33614a(0x18e)](p)||(console[_0x33614a(0x14b)](_0x33614a(0x1b3)),console[_0x33614a(0x14b)](_0x33614a(0x1c0)),process[_0x33614a(0x1c3)](0x1));var f=c[_0x33614a(0x184)](p,_0x33614a(0x19b))['trim'](),h=g[_0x33614a(0x1d8)](_0x33614a(0x1dd),f),R=g[_0x33614a(0x1d8)](h,_0x33614a(0x157));c['existsSync'](R)||(console['error'](_0x33614a(0x160)),console[_0x33614a(0x14b)](_0x33614a(0x1ab)+f),process[_0x33614a(0x1c3)](0x1));var m=JSON['parse'](c['readFileSync'](R,_0x33614a(0x19b))),d='task',r=null;l[0x0]===_0x33614a(0x1d0)?(d=_0x33614a(0x199),r=l[0x1],r||(console[_0x33614a(0x14b)](_0x33614a(0x14c)),console['error'](_0x33614a(0x18b)),process[_0x33614a(0x1c3)](0x1))):(r=l[0x0],r||(console[_0x33614a(0x14b)]('\x0a❌\x20ERROR:\x20Task\x20ID\x20required'),console[_0x33614a(0x14b)](_0x33614a(0x15b)),console[_0x33614a(0x14b)](_0x33614a(0x193)),process[_0x33614a(0x1c3)](0x1))),console[_0x33614a(0x16f)](_0x33614a(0x196)+(d===_0x33614a(0x199)?_0x33614a(0x15c):_0x33614a(0x1c4))+'\x20'+r+'\x0a');var i=[];if(d===_0x33614a(0x176)){m[_0x33614a(0x180)]['find'](_0x2d9f45=>_0x2d9f45['id']===r)||(console['error'](_0x33614a(0x174)+r+_0x33614a(0x168)),process['exit'](0x1));let n=g['join'](h,'tasks',r+'.json');c[_0x33614a(0x18e)](n)||(console[_0x33614a(0x14b)]('❌\x20ERROR:\x20Task\x20file\x20not\x20found:\x20'+n),process[_0x33614a(0x1c3)](0x1));let o=JSON[_0x33614a(0x1ce)](c['readFileSync'](n,_0x33614a(0x19b)));o[_0x33614a(0x186)]!==_0x33614a(0x1ae)&&(console[_0x33614a(0x14b)]('❌\x20ERROR:\x20Task\x20'+r+'\x20is\x20not\x20completed\x20(status:\x20'+o[_0x33614a(0x186)]+')'),console[_0x33614a(0x14b)](_0x33614a(0x15a)+r),process['exit'](0x1)),i[_0x33614a(0x1c5)](o);}else{let e=m[_0x33614a(0x180)][_0x33614a(0x15f)](_0xb03f31=>{const _0x2c930c=_0x33614a,_0x18eadf={};_0x18eadf[_0x2c930c(0x177)]=_0x2c930c(0x16d),_0x18eadf[_0x2c930c(0x162)]=_0x2c930c(0x19b);const _0x36ba83=_0x18eadf;let _0x1f1c85=g['join'](h,_0x36ba83['woVZj'],_0xb03f31['id']+_0x2c930c(0x175));return c[_0x2c930c(0x18e)](_0x1f1c85)?JSON['parse'](c[_0x2c930c(0x184)](_0x1f1c85,_0x36ba83[_0x2c930c(0x162)])):null;})[_0x33614a(0x155)](_0x41d8a1=>_0x41d8a1!==null&&_0x41d8a1[_0x33614a(0x199)]===r);e['length']===0x0&&(console['error']('❌\x20ERROR:\x20No\x20tasks\x20found\x20in\x20phase:\x20'+r),process[_0x33614a(0x1c3)](0x1));let n=e[_0x33614a(0x155)](_0x4aa158=>_0x4aa158['status']!==_0x33614a(0x1ae));n[_0x33614a(0x19e)]>0x0&&(console[_0x33614a(0x14b)](_0x33614a(0x16a)+r+_0x33614a(0x19a)),n[_0x33614a(0x1c7)](_0xfec73a=>{const _0x46df24=_0x33614a;console[_0x46df24(0x14b)]('\x20\x20'+_0xfec73a['id']+':\x20'+_0xfec73a[_0x46df24(0x17d)]+'\x20('+_0xfec73a[_0x46df24(0x186)]+')');}),console['error'](_0x33614a(0x1dc)),process['exit'](0x1)),i=e[_0x33614a(0x155)](_0x27e06a=>_0x27e06a[_0x33614a(0x186)]==='completed');}console[_0x33614a(0x16f)](_0x33614a(0x1d6)+i[_0x33614a(0x19e)]+'\x20completed\x20task(s)\x20to\x20merge:\x0a'),i['forEach'](_0x38e21e=>{const _0x5bd1fc=_0x33614a;console[_0x5bd1fc(0x16f)](_0x5bd1fc(0x159)+_0x38e21e['id']+':\x20'+_0x38e21e[_0x5bd1fc(0x17d)]);}),console[_0x33614a(0x16f)]('');function _0x3049(){const _0x14a46f=['\x20\x20\x20Or:\x20npm\x20run\x20task:merge\x20--\x20--phase\x20PHASE-NAME\x0a','find','git\x20checkout\x20','\x0a🔀\x20Merge\x20to\x20Main:\x20','SRqVu','git\x20branch\x20--show-current','phase','\x20has\x20incomplete\x20tasks:\x0a','utf8','\x0a4.\x20Merging\x20task\x20branch(es)...\x0a','warn','length','4gifCBl','LtEoa','ImIdd','6.\x20Cleaning\x20up\x20merged\x20branches...\x0a','\x0a✅\x20MERGE\x20COMPLETE!\x0a','Are\x20you\x20in\x20a\x20git\x20repository?\x0a','\x20\x20\x20⚠️\x20\x20Remote\x20branch\x20','4425179VMTRzo','Merged\x20','git\x20push\x20origin\x20','❌\x20ERROR:\x20You\x20have\x20uncommitted\x20changes\x0a','❌\x20ERROR:\x20Already\x20on\x20main\x20branch','Plan:\x20','\x20not\x20found,\x20skipping','\x20-m\x20\x22Merge\x20','completed','jqjvN','pipe','5.\x20Pushing\x20to\x20remote...\x0a','main','\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found','inherit','\x0a✅\x20Successfully\x20pushed\x20to\x20remote\x0a','dHOog','\x20\x20git\x20commit\x20-m\x20\x22[TASK-XXX]\x20Description\x22\x0a','.claude/ACTIVE-PLAN','🔄\x20Starting\x20merge\x20process...\x0a','\x20\x20\x20🗑️\x20\x20Deleted\x20local\x20branch:\x20','1KStGRn','argv','\x20\x204.\x20Continue\x20with:\x20npm\x20run\x20task:merge\x20','FPjBi','RQtem','Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a','\x20not\x20found\x20(may\x20not\x20have\x20been\x20pushed)','\x0a2.\x20Checking\x20out\x20','exit','Task','push','nEbWq','forEach','807189JKfZpG','git\x20pull\x20origin\x20','git\x20status\x20--porcelain','pugBS','\x20branch...','⚠️\x20\x20WARNING:\x20Could\x20not\x20fetch\x20from\x20remote\x20(continuing\x20anyway)','parse','\x20is\x20not\x20completed\x20(status:\x20','--phase','1.\x20Fetching\x20latest\x20changes\x20from\x20remote...','master','\x20task(s)\x20to\x20','jVdLn','\x20\x20\x20⚠️\x20\x20WARNING:\x20Branch\x20','Found\x20','\x20\x203.\x20git\x20commit','join','8073ZnMJnk','toString','❌\x20ERROR:\x20No\x20tasks\x20found\x20in\x20phase:\x20','\x0aComplete\x20all\x20tasks\x20in\x20phase\x20before\x20merging.\x0a','.claude/plans','\x0a❌\x20ERROR:\x20Could\x20not\x20push\x20to\x20remote','85098orEXnB','error','\x0a❌\x20ERROR:\x20Phase\x20name\x20required','⚠️\x20\x20WARNING:\x20Could\x20not\x20detect\x20main\x20branch,\x20using\x20\x22main\x22\x0a','\x0a3.\x20Pulling\x20latest\x20','substring','To\x20start\x20next\x20task:\x20npm\x20run\x20task:start\x20TASK-XXX\x0a','git\x20push\x20origin\x20--delete\x20','\x22\x20is\x20not\x20supported','git\x20branch','⚠️\x20\x20WARNING:\x20Could\x20not\x20pull\x20from\x20remote\x20(continuing\x20anyway)','filter','jJFIN','TASK-TRACKER.json','\x20\x202.\x20git\x20add\x20<resolved-files>','\x20\x20✅\x20','Complete\x20task\x20first:\x20npm\x20run\x20task:done\x20','Usage:\x20npm\x20run\x20task:merge\x20TASK-001','Phase','includes','655778xrytiW','map','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','⚠️\x20\x20WARNING:\x20Could\x20not\x20check\x20git\x20status\x0a','DOhIE','2868334ePxjVg','❌\x20ERROR:\x20Could\x20not\x20get\x20current\x20branch','apply','\x0aCommit\x20all\x20changes\x20before\x20merging:','child_process','\x20not\x20found','kWYOS','❌\x20ERROR:\x20Phase\x20','\x20\x20\x20Merging:\x20','piznK','tasks','SScWq','log','\x0aYou\x20are\x20now\x20on\x20','git\x20fetch\x20origin','Checkout\x20a\x20task\x20branch\x20first\x0a','AhvUp','❌\x20ERROR:\x20Task\x20','.json','task','woVZj','AlboS','zusRi','stdio','task/','lzrST','title','1752QQrTfi','git\x20branch\x20-a','taskFiles','replace','search','\x20\x201.\x20Fix\x20conflicts\x20in\x20files','readFileSync','sjqmX','status','trim','slice','git\x20merge\x20--no-ff\x20','\x20\x20\x20🗑️\x20\x20Deleted\x20remote\x20branch:\x20','Usage:\x20npm\x20run\x20task:merge\x20--\x20--phase\x20PHASE-NAME\x0a','110EcpPQq','toLowerCase','existsSync','1651800nXUdSB','\x20\x20\x20✅\x20Merged\x20','encoding','(((.+)+)+)+$'];_0x3049=function(){return _0x14a46f;};return _0x3049();}try{const _0xfbb7ce={};_0xfbb7ce[_0x33614a(0x191)]=_0x33614a(0x19b);let e=s(_0x33614a(0x198),_0xfbb7ce)['trim']();(e==='main'||e===_0x33614a(0x1d2))&&(console[_0x33614a(0x14b)](_0x33614a(0x1aa)),console[_0x33614a(0x14b)](_0x33614a(0x172)),process[_0x33614a(0x1c3)](0x1)),console[_0x33614a(0x16f)]('Current\x20branch:\x20'+e+'\x0a');}catch{console['error'](_0x33614a(0x164)),console['error'](_0x33614a(0x1a4)),process[_0x33614a(0x1c3)](0x1);}try{const _0x540c32={};_0x540c32[_0x33614a(0x191)]=_0x33614a(0x19b);let e=s(_0x33614a(0x1ca),_0x540c32);e[_0x33614a(0x187)]()&&(console[_0x33614a(0x14b)](_0x33614a(0x1a9)),console[_0x33614a(0x14b)]('Uncommitted\x20files:'),console[_0x33614a(0x14b)](e),console[_0x33614a(0x14b)](_0x33614a(0x166)),console[_0x33614a(0x14b)]('\x20\x20git\x20add\x20.'),console['error'](_0x33614a(0x1b7)),process[_0x33614a(0x1c3)](0x1));}catch{console['warn'](_0x33614a(0x161));}var t=_0x33614a(0x1b2);try{const _0x1e301a={};_0x1e301a[_0x33614a(0x191)]=_0x33614a(0x19b);let e=s(_0x33614a(0x17f),_0x1e301a);e['includes'](_0x33614a(0x1d2))&&!e[_0x33614a(0x15d)](_0x33614a(0x1b2))&&(t=_0x33614a(0x1d2));}catch{console[_0x33614a(0x19d)](_0x33614a(0x14d));}console['log'](_0x33614a(0x1b9)),console['log'](_0x33614a(0x1d1));try{const _0x5c8cf8={};_0x5c8cf8[_0x33614a(0x17a)]=_0x33614a(0x1b4),s(_0x33614a(0x171),_0x5c8cf8);}catch{console['warn'](_0x33614a(0x1cd));}console[_0x33614a(0x16f)](_0x33614a(0x1c2)+t+_0x33614a(0x1cc));try{const _0x425d34={};_0x425d34[_0x33614a(0x17a)]='inherit',s(_0x33614a(0x195)+t,_0x425d34);}catch{console[_0x33614a(0x14b)]('\x0a❌\x20ERROR:\x20Could\x20not\x20checkout\x20'+t),process[_0x33614a(0x1c3)](0x1);}console[_0x33614a(0x16f)](_0x33614a(0x14e)+t+'...');try{const _0x18534c={};_0x18534c[_0x33614a(0x17a)]=_0x33614a(0x1b4),s(_0x33614a(0x1c9)+t,_0x18534c);}catch{console['warn'](_0x33614a(0x154));}console[_0x33614a(0x16f)](_0x33614a(0x19c));for(let e of i){let n=_0x33614a(0x17b)+e['id']+'-'+e[_0x33614a(0x17d)][_0x33614a(0x18d)]()[_0x33614a(0x181)](/\s+/g,'-')[_0x33614a(0x14f)](0x0,0x1e);console[_0x33614a(0x16f)](_0x33614a(0x16b)+n);try{const _0x39dcde={};_0x39dcde[_0x33614a(0x191)]='utf8';if(!s(_0x33614a(0x153),_0x39dcde)[_0x33614a(0x15d)](n)){console[_0x33614a(0x19d)](_0x33614a(0x1d5)+n+_0x33614a(0x1ac));continue;}const _0x3d18a8={};_0x3d18a8[_0x33614a(0x17a)]=_0x33614a(0x1b4),(s(_0x33614a(0x189)+n+_0x33614a(0x1ad)+e['id']+':\x20'+e[_0x33614a(0x17d)]+'\x22',_0x3d18a8),console['log'](_0x33614a(0x190)+e['id']+'\x0a'));}catch{console[_0x33614a(0x14b)]('\x0a❌\x20ERROR:\x20Merge\x20conflict\x20or\x20error\x20merging\x20'+e['id']),console[_0x33614a(0x14b)]('\x0aResolve\x20conflicts\x20manually:'),console[_0x33614a(0x14b)](_0x33614a(0x183)),console[_0x33614a(0x14b)](_0x33614a(0x158)),console[_0x33614a(0x14b)](_0x33614a(0x1d7)),console['error'](_0x33614a(0x1bd)+l['join']('\x20')+'\x0a'),process[_0x33614a(0x1c3)](0x1);}}console[_0x33614a(0x16f)](_0x33614a(0x1b1));function _0x1768(_0x31ca49,_0x3eee9a){_0x31ca49=_0x31ca49-0x14a;const _0x143e13=_0x3049();let _0x15ea1a=_0x143e13[_0x31ca49];return _0x15ea1a;}try{const _0x1d2d58={};_0x1d2d58[_0x33614a(0x17a)]='inherit',(s(_0x33614a(0x1a8)+t,_0x1d2d58),console['log'](_0x33614a(0x1b5)));}catch{console[_0x33614a(0x14b)](_0x33614a(0x1de)),console[_0x33614a(0x14b)]('Push\x20manually:\x20git\x20push\x20origin\x20'+t+'\x0a'),process[_0x33614a(0x1c3)](0x1);}console[_0x33614a(0x16f)](_0x33614a(0x1a2));for(let e of i){let n=_0x33614a(0x17b)+e['id']+'-'+e[_0x33614a(0x17d)]['toLowerCase']()[_0x33614a(0x181)](/\s+/g,'-')[_0x33614a(0x14f)](0x0,0x1e);try{const _0x36c483={};_0x36c483['encoding']=_0x33614a(0x19b);if(s(_0x33614a(0x153),_0x36c483)['includes'](n)){const _0x14a3f9={};_0x14a3f9['encoding']=_0x33614a(0x19b),(s('git\x20branch\x20-d\x20'+n,_0x14a3f9),console[_0x33614a(0x16f)](_0x33614a(0x1ba)+n));try{const _0x3dd522={};_0x3dd522['stdio']=_0x33614a(0x1b0),(s(_0x33614a(0x151)+n,_0x3dd522),console[_0x33614a(0x16f)](_0x33614a(0x18a)+n));}catch{console[_0x33614a(0x16f)](_0x33614a(0x1a5)+n+_0x33614a(0x1c1));}}}catch{console['warn']('\x20\x20\x20⚠️\x20\x20Could\x20not\x20delete\x20branch\x20'+n);}}console[_0x33614a(0x16f)](_0x33614a(0x1a3)),console[_0x33614a(0x16f)](_0x33614a(0x1a7)+i[_0x33614a(0x19e)]+_0x33614a(0x1d3)+t+':'),i[_0x33614a(0x1c7)](_0x121da3=>{const _0x4eceee=_0x33614a;console[_0x4eceee(0x16f)](_0x4eceee(0x159)+_0x121da3['id']+':\x20'+_0x121da3[_0x4eceee(0x17d)]);}),console[_0x33614a(0x16f)](_0x33614a(0x170)+t+'\x20branch.'),console[_0x33614a(0x16f)](_0x33614a(0x150)),process['exit'](0x0);
|
|
2
|
+
const _0x5361ca=_0x30fe;(function(_0x203953,_0x401180){const _0x396f38=_0x30fe,_0x15a17d=_0x203953();while(!![]){try{const _0xb8fc6b=-parseInt(_0x396f38(0x160))/0x1+parseInt(_0x396f38(0x152))/0x2*(parseInt(_0x396f38(0x170))/0x3)+parseInt(_0x396f38(0x148))/0x4*(-parseInt(_0x396f38(0x143))/0x5)+parseInt(_0x396f38(0x173))/0x6+parseInt(_0x396f38(0x171))/0x7*(-parseInt(_0x396f38(0x19c))/0x8)+-parseInt(_0x396f38(0x162))/0x9*(-parseInt(_0x396f38(0x199))/0xa)+parseInt(_0x396f38(0x17c))/0xb;if(_0xb8fc6b===_0x401180)break;else _0x15a17d['push'](_0x15a17d['shift']());}catch(_0x5b5cd9){_0x15a17d['push'](_0x15a17d['shift']());}}}(_0x2865,0xf2782));const _0x1abd1e=(function(){const _0x1069f0=_0x30fe,_0x61d942={};_0x61d942[_0x1069f0(0x174)]=function(_0x5cb6b1,_0x46d924){return _0x5cb6b1!==_0x46d924;},_0x61d942[_0x1069f0(0x191)]='IDUjx';const _0x5956c8=_0x61d942;let _0x423cdf=!![];return function(_0x5a2929,_0x59d001){const _0x2f79ee=_0x423cdf?function(){const _0x41e620=_0x30fe;if(_0x59d001){if(_0x5956c8[_0x41e620(0x174)]('uzqSe',_0x5956c8[_0x41e620(0x191)])){const _0x858f40=_0x59d001[_0x41e620(0x139)](_0x5a2929,arguments);return _0x59d001=null,_0x858f40;}else _0x4bfa0f[_0x41e620(0x18e)]('\x0a❌\x20ERROR:\x20Could\x20not\x20checkout\x20'+_0x15b8af),_0x37e8ff[_0x41e620(0x185)](0x1);}}:function(){};return _0x423cdf=![],_0x2f79ee;};}()),_0x31167c=_0x1abd1e(this,function(){const _0x5cfac4=_0x30fe,_0x3792a3={};_0x3792a3[_0x5cfac4(0x14c)]=_0x5cfac4(0x154);const _0x3aa493=_0x3792a3;return _0x31167c['toString']()[_0x5cfac4(0x181)](_0x3aa493[_0x5cfac4(0x14c)])[_0x5cfac4(0x144)]()[_0x5cfac4(0x163)](_0x31167c)['search'](_0x5cfac4(0x154));});_0x31167c();var u=(_0x1c7eb2=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x1c7eb2,{'get':(_0x11608d,_0x56bb88)=>(typeof require<'u'?require:_0x11608d)[_0x56bb88]}):_0x1c7eb2)(function(_0xbd5ab7){const _0x6088f2=_0x30fe,_0x3dbd3c={'kahIz':function(_0x264f15,_0x1a7805){return _0x264f15(_0x1a7805);},'yfhvG':function(_0x3fd107,_0x4ae788){return _0x3fd107+_0x4ae788;},'AmQUk':_0x6088f2(0x133)};if(typeof require<'u')return require[_0x6088f2(0x139)](this,arguments);throw _0x3dbd3c[_0x6088f2(0x17b)](Error,_0x3dbd3c[_0x6088f2(0x164)](_0x3dbd3c[_0x6088f2(0x164)](_0x3dbd3c['AmQUk'],_0xbd5ab7),'\x22\x20is\x20not\x20supported'));}),{execSync:s}=u(_0x5361ca(0x146)),c=u('fs'),g=u(_0x5361ca(0x1a2)),l=process[_0x5361ca(0x192)][_0x5361ca(0x149)](0x2),p='.claude/ACTIVE-PLAN';c[_0x5361ca(0x17e)](p)||(console[_0x5361ca(0x18e)](_0x5361ca(0x196)),console['error']('Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a'),process[_0x5361ca(0x185)](0x1));var f=c[_0x5361ca(0x16a)](p,'utf8')[_0x5361ca(0x19a)](),h=g[_0x5361ca(0x14f)](_0x5361ca(0x129),f),R=g[_0x5361ca(0x14f)](h,_0x5361ca(0x161));c[_0x5361ca(0x17e)](R)||(console[_0x5361ca(0x18e)](_0x5361ca(0x12f)),console[_0x5361ca(0x18e)]('Plan:\x20'+f),process[_0x5361ca(0x185)](0x1));var m=JSON[_0x5361ca(0x157)](c['readFileSync'](R,_0x5361ca(0x12d))),d=_0x5361ca(0x18f),r=null;l[0x0]===_0x5361ca(0x14a)?(d=_0x5361ca(0x186),r=l[0x1],r||(console[_0x5361ca(0x18e)]('\x0a❌\x20ERROR:\x20Phase\x20name\x20required'),console[_0x5361ca(0x18e)](_0x5361ca(0x18b)),process['exit'](0x1))):(r=l[0x0],r||(console[_0x5361ca(0x18e)](_0x5361ca(0x18c)),console[_0x5361ca(0x18e)](_0x5361ca(0x13b)),console['error'](_0x5361ca(0x177)),process[_0x5361ca(0x185)](0x1))),console[_0x5361ca(0x18d)]('\x0a🔀\x20Merge\x20to\x20Main:\x20'+(d===_0x5361ca(0x186)?_0x5361ca(0x13f):'Task')+'\x20'+r+'\x0a');var i=[];if(d==='task'){m['taskFiles'][_0x5361ca(0x184)](_0x4b6cc1=>_0x4b6cc1['id']===r)||(console[_0x5361ca(0x18e)](_0x5361ca(0x189)+r+_0x5361ca(0x132)),process['exit'](0x1));let n=g['join'](h,'tasks',r+_0x5361ca(0x16d));c[_0x5361ca(0x17e)](n)||(console['error'](_0x5361ca(0x167)+n),process[_0x5361ca(0x185)](0x1));let o=JSON[_0x5361ca(0x157)](c['readFileSync'](n,_0x5361ca(0x12d)));o[_0x5361ca(0x172)]!==_0x5361ca(0x17a)&&(console[_0x5361ca(0x18e)](_0x5361ca(0x189)+r+_0x5361ca(0x188)+o[_0x5361ca(0x172)]+')'),console['error'](_0x5361ca(0x194)+r),process[_0x5361ca(0x185)](0x1)),i[_0x5361ca(0x16e)](o);}else{let e=m[_0x5361ca(0x142)][_0x5361ca(0x13a)](_0x54c2cc=>{const _0x31527a=_0x5361ca,_0x872432={};_0x872432[_0x31527a(0x140)]='tasks',_0x872432[_0x31527a(0x16c)]=_0x31527a(0x12d);const _0x3450cc=_0x872432;let _0x1cc885=g['join'](h,_0x3450cc['PJZNG'],_0x54c2cc['id']+_0x31527a(0x16d));return c['existsSync'](_0x1cc885)?JSON[_0x31527a(0x157)](c[_0x31527a(0x16a)](_0x1cc885,_0x3450cc['Whhzq'])):null;})[_0x5361ca(0x14b)](_0x235ea5=>_0x235ea5!==null&&_0x235ea5[_0x5361ca(0x186)]===r);e[_0x5361ca(0x131)]===0x0&&(console[_0x5361ca(0x18e)](_0x5361ca(0x134)+r),process['exit'](0x1));let n=e['filter'](_0x4261dc=>_0x4261dc[_0x5361ca(0x172)]!==_0x5361ca(0x17a));n[_0x5361ca(0x131)]>0x0&&(console['error']('❌\x20ERROR:\x20Phase\x20'+r+_0x5361ca(0x1a1)),n[_0x5361ca(0x15b)](_0x1b53c9=>{const _0x153623=_0x5361ca;console['error']('\x20\x20'+_0x1b53c9['id']+':\x20'+_0x1b53c9[_0x153623(0x12a)]+'\x20('+_0x1b53c9[_0x153623(0x172)]+')');}),console['error']('\x0aComplete\x20all\x20tasks\x20in\x20phase\x20before\x20merging.\x0a'),process[_0x5361ca(0x185)](0x1)),i=e[_0x5361ca(0x14b)](_0x8b2a4a=>_0x8b2a4a['status']===_0x5361ca(0x17a));}console[_0x5361ca(0x18d)](_0x5361ca(0x136)+i[_0x5361ca(0x131)]+'\x20completed\x20task(s)\x20to\x20merge:\x0a'),i[_0x5361ca(0x15b)](_0xac2906=>{const _0x5365bb=_0x5361ca;console[_0x5365bb(0x18d)]('\x20\x20✅\x20'+_0xac2906['id']+':\x20'+_0xac2906[_0x5365bb(0x12a)]);}),console[_0x5361ca(0x18d)]('');try{const _0x22ecf1={};_0x22ecf1[_0x5361ca(0x155)]='utf8';let e=s(_0x5361ca(0x190),_0x22ecf1)['trim']();(e===_0x5361ca(0x17f)||e===_0x5361ca(0x198))&&(console[_0x5361ca(0x18e)](_0x5361ca(0x135)),console[_0x5361ca(0x18e)](_0x5361ca(0x168)),process[_0x5361ca(0x185)](0x1)),console[_0x5361ca(0x18d)]('Current\x20branch:\x20'+e+'\x0a');}catch{console['error'](_0x5361ca(0x13e)),console[_0x5361ca(0x18e)](_0x5361ca(0x197)),process[_0x5361ca(0x185)](0x1);}try{const _0x354f4a={};_0x354f4a[_0x5361ca(0x155)]='utf8';let e=s('git\x20status\x20--porcelain',_0x354f4a);e['trim']()&&(console[_0x5361ca(0x18e)]('❌\x20ERROR:\x20You\x20have\x20uncommitted\x20changes\x0a'),console['error'](_0x5361ca(0x17d)),console['error'](e),console[_0x5361ca(0x18e)](_0x5361ca(0x176)),console[_0x5361ca(0x18e)](_0x5361ca(0x193)),console[_0x5361ca(0x18e)]('\x20\x20git\x20commit\x20-m\x20\x22[TASK-XXX]\x20Description\x22\x0a'),process[_0x5361ca(0x185)](0x1));}catch{console[_0x5361ca(0x19e)](_0x5361ca(0x178));}var t=_0x5361ca(0x17f);try{const _0x6d014d={};_0x6d014d[_0x5361ca(0x155)]=_0x5361ca(0x12d);let e=s('git\x20branch\x20-a',_0x6d014d);e[_0x5361ca(0x15f)](_0x5361ca(0x198))&&!e['includes'](_0x5361ca(0x17f))&&(t=_0x5361ca(0x198));}catch{console['warn'](_0x5361ca(0x1a3));}console[_0x5361ca(0x18d)](_0x5361ca(0x15a)),console['log'](_0x5361ca(0x137));try{const _0x1689d4={};_0x1689d4[_0x5361ca(0x13d)]='inherit',s('git\x20fetch\x20origin',_0x1689d4);}catch{console[_0x5361ca(0x19e)](_0x5361ca(0x195));}console[_0x5361ca(0x18d)](_0x5361ca(0x15c)+t+_0x5361ca(0x12b));try{const _0x3de1f2={};_0x3de1f2[_0x5361ca(0x13d)]=_0x5361ca(0x169),s('git\x20checkout\x20'+t,_0x3de1f2);}catch{console[_0x5361ca(0x18e)](_0x5361ca(0x128)+t),process[_0x5361ca(0x185)](0x1);}console[_0x5361ca(0x18d)](_0x5361ca(0x12c)+t+_0x5361ca(0x156));try{const _0x26b6cf={};_0x26b6cf[_0x5361ca(0x13d)]=_0x5361ca(0x169),s(_0x5361ca(0x153)+t,_0x26b6cf);}catch{console[_0x5361ca(0x19e)](_0x5361ca(0x19f));}console[_0x5361ca(0x18d)](_0x5361ca(0x150));for(let e of i){let n='task/'+e['id']+'-'+e['title']['toLowerCase']()[_0x5361ca(0x16b)](/\s+/g,'-')[_0x5361ca(0x175)](0x0,0x1e);console[_0x5361ca(0x18d)](_0x5361ca(0x19b)+n);try{const _0x5d3002={};_0x5d3002[_0x5361ca(0x155)]=_0x5361ca(0x12d);if(!s(_0x5361ca(0x145),_0x5d3002)['includes'](n)){console[_0x5361ca(0x19e)](_0x5361ca(0x141)+n+'\x20not\x20found,\x20skipping');continue;}const _0x4e5b6a={};_0x4e5b6a['stdio']=_0x5361ca(0x169),(s(_0x5361ca(0x18a)+n+_0x5361ca(0x180)+e['id']+':\x20'+e['title']+'\x22',_0x4e5b6a),console[_0x5361ca(0x18d)]('\x20\x20\x20✅\x20Merged\x20'+e['id']+'\x0a'));}catch{console['error']('\x0a❌\x20ERROR:\x20Merge\x20conflict\x20or\x20error\x20merging\x20'+e['id']),console[_0x5361ca(0x18e)](_0x5361ca(0x13c)),console[_0x5361ca(0x18e)](_0x5361ca(0x166)),console[_0x5361ca(0x18e)]('\x20\x202.\x20git\x20add\x20<resolved-files>'),console[_0x5361ca(0x18e)]('\x20\x203.\x20git\x20commit'),console[_0x5361ca(0x18e)](_0x5361ca(0x138)+l[_0x5361ca(0x14f)]('\x20')+'\x0a'),process[_0x5361ca(0x185)](0x1);}}console[_0x5361ca(0x18d)]('5.\x20Pushing\x20to\x20remote...\x0a');function _0x2865(){const _0x545596=['\x20branch.','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','task/','length','\x20not\x20found','Dynamic\x20require\x20of\x20\x22','❌\x20ERROR:\x20No\x20tasks\x20found\x20in\x20phase:\x20','❌\x20ERROR:\x20Already\x20on\x20main\x20branch','Found\x20','1.\x20Fetching\x20latest\x20changes\x20from\x20remote...','\x20\x204.\x20Continue\x20with:\x20npm\x20run\x20task:merge\x20','apply','map','Usage:\x20npm\x20run\x20task:merge\x20TASK-001','\x0aResolve\x20conflicts\x20manually:','stdio','❌\x20ERROR:\x20Could\x20not\x20get\x20current\x20branch','Phase','PJZNG','\x20\x20\x20⚠️\x20\x20WARNING:\x20Branch\x20','taskFiles','367005xhBHQV','toString','git\x20branch','child_process','\x20\x20\x20🗑️\x20\x20Deleted\x20local\x20branch:\x20','108pUMJeG','slice','--phase','filter','XAeKy','\x20\x20✅\x20','\x0a❌\x20ERROR:\x20Could\x20not\x20push\x20to\x20remote','join','\x0a4.\x20Merging\x20task\x20branch(es)...\x0a','\x20task(s)\x20to\x20','10898OJVeBz','git\x20pull\x20origin\x20','(((.+)+)+)+$','encoding','...','parse','\x20\x20\x20⚠️\x20\x20Remote\x20branch\x20','Push\x20manually:\x20git\x20push\x20origin\x20','🔄\x20Starting\x20merge\x20process...\x0a','forEach','\x0a2.\x20Checking\x20out\x20','To\x20start\x20next\x20task:\x20npm\x20run\x20task:start\x20TASK-XXX\x0a','\x20\x20\x20🗑️\x20\x20Deleted\x20remote\x20branch:\x20','includes','1197258fwIqxh','TASK-TRACKER.json','207jZYAia','constructor','yfhvG','toLowerCase','\x20\x201.\x20Fix\x20conflicts\x20in\x20files','❌\x20ERROR:\x20Task\x20file\x20not\x20found:\x20','Checkout\x20a\x20task\x20branch\x20first\x0a','inherit','readFileSync','replace','Whhzq','.json','push','git\x20push\x20origin\x20--delete\x20','381TGdgnn','903wNDrJC','status','11390430cRoxYg','EYitC','substring','\x0aCommit\x20all\x20changes\x20before\x20merging:','\x20\x20\x20Or:\x20npm\x20run\x20task:merge\x20--\x20--phase\x20PHASE-NAME\x0a','⚠️\x20\x20WARNING:\x20Could\x20not\x20check\x20git\x20status\x0a','\x20\x20\x20⚠️\x20\x20Could\x20not\x20delete\x20branch\x20','completed','kahIz','4454978eQyjmv','Uncommitted\x20files:','existsSync','main','\x20-m\x20\x22Merge\x20','search','git\x20push\x20origin\x20','pipe','find','exit','phase','\x0aYou\x20are\x20now\x20on\x20','\x20is\x20not\x20completed\x20(status:\x20','❌\x20ERROR:\x20Task\x20','git\x20merge\x20--no-ff\x20','Usage:\x20npm\x20run\x20task:merge\x20--\x20--phase\x20PHASE-NAME\x0a','\x0a❌\x20ERROR:\x20Task\x20ID\x20required','log','error','task','git\x20branch\x20--show-current','ByZNv','argv','\x20\x20git\x20add\x20.','Complete\x20task\x20first:\x20npm\x20run\x20task:done\x20','⚠️\x20\x20WARNING:\x20Could\x20not\x20fetch\x20from\x20remote\x20(continuing\x20anyway)','\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found','Are\x20you\x20in\x20a\x20git\x20repository?\x0a','master','654960SMbIlu','trim','\x20\x20\x20Merging:\x20','20440wkWRVR','6.\x20Cleaning\x20up\x20merged\x20branches...\x0a','warn','⚠️\x20\x20WARNING:\x20Could\x20not\x20pull\x20from\x20remote\x20(continuing\x20anyway)','git\x20branch\x20-d\x20','\x20has\x20incomplete\x20tasks:\x0a','path','⚠️\x20\x20WARNING:\x20Could\x20not\x20detect\x20main\x20branch,\x20using\x20\x22main\x22\x0a','\x0a❌\x20ERROR:\x20Could\x20not\x20checkout\x20','.claude/plans','title','\x20branch...','\x0a3.\x20Pulling\x20latest\x20','utf8'];_0x2865=function(){return _0x545596;};return _0x2865();}try{const _0x2620c4={};_0x2620c4[_0x5361ca(0x13d)]=_0x5361ca(0x169),(s(_0x5361ca(0x182)+t,_0x2620c4),console[_0x5361ca(0x18d)]('\x0a✅\x20Successfully\x20pushed\x20to\x20remote\x0a'));}catch{console[_0x5361ca(0x18e)](_0x5361ca(0x14e)),console['error'](_0x5361ca(0x159)+t+'\x0a'),process[_0x5361ca(0x185)](0x1);}console['log'](_0x5361ca(0x19d));for(let e of i){let n=_0x5361ca(0x130)+e['id']+'-'+e[_0x5361ca(0x12a)][_0x5361ca(0x165)]()[_0x5361ca(0x16b)](/\s+/g,'-')[_0x5361ca(0x175)](0x0,0x1e);try{const _0x424cb1={};_0x424cb1['encoding']=_0x5361ca(0x12d);if(s(_0x5361ca(0x145),_0x424cb1)['includes'](n)){const _0x3990db={};_0x3990db[_0x5361ca(0x155)]='utf8',(s(_0x5361ca(0x1a0)+n,_0x3990db),console[_0x5361ca(0x18d)](_0x5361ca(0x147)+n));try{const _0x40ac24={};_0x40ac24[_0x5361ca(0x13d)]=_0x5361ca(0x183),(s(_0x5361ca(0x16f)+n,_0x40ac24),console[_0x5361ca(0x18d)](_0x5361ca(0x15e)+n));}catch{console['log'](_0x5361ca(0x158)+n+'\x20not\x20found\x20(may\x20not\x20have\x20been\x20pushed)');}}}catch{console[_0x5361ca(0x19e)](_0x5361ca(0x179)+n);}}function _0x30fe(_0x79db6f,_0x597c07){_0x79db6f=_0x79db6f-0x128;const _0xb0a3d3=_0x2865();let _0x31167c=_0xb0a3d3[_0x79db6f];return _0x31167c;}console[_0x5361ca(0x18d)]('\x0a✅\x20MERGE\x20COMPLETE!\x0a'),console[_0x5361ca(0x18d)]('Merged\x20'+i['length']+_0x5361ca(0x151)+t+':'),i[_0x5361ca(0x15b)](_0x2a67bb=>{const _0x414600=_0x5361ca;console[_0x414600(0x18d)](_0x414600(0x14d)+_0x2a67bb['id']+':\x20'+_0x2a67bb[_0x414600(0x12a)]);}),console[_0x5361ca(0x18d)](_0x5361ca(0x187)+t+_0x5361ca(0x12e)),console[_0x5361ca(0x18d)](_0x5361ca(0x15d)),process[_0x5361ca(0x185)](0x0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var _0x362d0b=_0x3382;(function(_0x33a2b8,_0x233df1){var _0x15ebbf=_0x3382,_0xa87cdc=_0x33a2b8();while(!![]){try{var _0x592b05=parseInt(_0x15ebbf(0x1ae))/0x1+-parseInt(_0x15ebbf(0x1b5))/0x2*(parseInt(_0x15ebbf(0x1ec))/0x3)+parseInt(_0x15ebbf(0x1e4))/0x4*(parseInt(_0x15ebbf(0x1dd))/0x5)+-parseInt(_0x15ebbf(0x1eb))/0x6+parseInt(_0x15ebbf(0x1e7))/0x7+parseInt(_0x15ebbf(0x1fd))/0x8*(-parseInt(_0x15ebbf(0x1ef))/0x9)+parseInt(_0x15ebbf(0x1cc))/0xa;if(_0x592b05===_0x233df1)break;else _0xa87cdc['push'](_0xa87cdc['shift']());}catch(_0x338886){_0xa87cdc['push'](_0xa87cdc['shift']());}}}(_0x5cd8,0x6ed38));function _0x5cd8(){var _0x25e2db=['\x20\x20\x20\x20Waiting\x20for:\x20','\x0aCheck\x20status:\x20npm\x20run\x20task:status\x0a','forEach','h\x20ago)','kumNI','startedAt','8295700MNQPih','length','split','⏱️\x20\x20Estimated:\x20','npm\x20run\x20task:start\x20','xErtG','child_process','\x0aBlocked\x20tasks:','activeTask','MydQb','existsSync','HeRAO','Plan:\x20','round','Check\x20status:\x20npm\x20run\x20task:status\x0a','Started:\x20','Set\x20active\x20plan\x20first:\x20npm\x20run\x20plan:manager\x0a','195VFXXKz','\x22\x20is\x20not\x20supported','\x0aComplete\x20it\x20first:\x20npm\x20run\x20task:done\x20','exit','description','.claude/plans','jSXJl','65452hUuQxP','bndlN','iSxXc','4107383LSJmIn','log','error','apply','3178692jLDNMA','142797ZWpflE','📝\x20','sort','18NeJdlc','(((.+)+)+)+$','bNXQd','toString','trim','✅\x20Dependencies:\x20','title','dependencies','parse','kLAxH','readFileSync','rIHtM','join','KBSvg','1896704tevVMY','📌\x20Active:\x20','filter','status','.json','every','inherit','212589zNbyns','search','.claude/ACTIVE-PLAN','OpBnK','OUtno','includes','map','34QBtsSk','VgRBR','completed','GevLA','Or\x20switch\x20to\x20it:\x20npm\x20run\x20task:start\x20','Initialize\x20first:\x20npm\x20run\x20plan:init\x0a','pending','\x0a⚠️\x20\x20No\x20tasks\x20available\x20to\x20start\x0a','tasks','taskFiles','estimatedHours','\x0a❌\x20ERROR:\x20Task\x20tracker\x20not\x20found','constructor','\x0a⚠️\x20\x20WARNING:\x20There\x20is\x20already\x20an\x20active\x20task\x0a','toLocaleString','utf8','\x0a🎉\x20No\x20pending\x20tasks!\x20All\x20tasks\x20completed.\x0a'];_0x5cd8=function(){return _0x25e2db;};return _0x5cd8();}var _0x5c479d=(function(){var _0x37ab32=_0x3382,_0x3b8628={};_0x3b8628[_0x37ab32(0x1fa)]=_0x37ab32(0x1bd),_0x3b8628['bNXQd']=_0x37ab32(0x1c4),_0x3b8628[_0x37ab32(0x1d7)]=function(_0x8cef18,_0x3da369){return _0x8cef18/_0x3da369;},_0x3b8628[_0x37ab32(0x1e5)]=function(_0x29f31a,_0x1e1d60){return _0x29f31a-_0x1e1d60;},_0x3b8628['jfmOf']=function(_0x45753d,_0x89bbbf){return _0x45753d*_0x89bbbf;},_0x3b8628[_0x37ab32(0x1b6)]=function(_0xd5a171,_0x580dfb){return _0xd5a171+_0x580dfb;},_0x3b8628[_0x37ab32(0x1d5)]=function(_0x46b39d,_0x2e6798){return _0x46b39d+_0x2e6798;},_0x3b8628[_0x37ab32(0x1b1)]='Or\x20switch\x20to\x20it:\x20npm\x20run\x20task:start\x20',_0x3b8628['xErtG']=function(_0x591da0,_0x346a59){return _0x591da0===_0x346a59;},_0x3b8628[_0x37ab32(0x1b2)]='efCbM';var _0x1bd3bf=_0x3b8628,_0x4bca72=!![];return function(_0xb51f8f,_0xe9335e){var _0x24d139=_0x37ab32;if(_0x1bd3bf[_0x24d139(0x1d1)](_0x1bd3bf[_0x24d139(0x1b2)],_0x1bd3bf[_0x24d139(0x1b2)])){var _0x13e54e=_0x4bca72?function(){var _0x4e59a7=_0x24d139;if(_0xe9335e){var _0x1c4902=_0xe9335e[_0x4e59a7(0x1ea)](_0xb51f8f,arguments);return _0xe9335e=null,_0x1c4902;}}:function(){};return _0x4bca72=![],_0x13e54e;}else{_0x4173d5[_0x24d139(0x1e8)](_0x24d139(0x1c2));let _0x2e65bd=_0x4d6512[_0x24d139(0x1fb)](_0x3bb81f,_0x1bd3bf['rIHtM'],_0x1ab4c2['activeTask']+'.json');if(_0xdde9b6[_0x24d139(0x1d6)](_0x2e65bd)){let _0x410b65=_0x27a59f[_0x24d139(0x1f7)](_0x499e43['readFileSync'](_0x2e65bd,_0x1bd3bf[_0x24d139(0x1f1)]));if(_0x2bd8ce[_0x24d139(0x1e8)](_0x24d139(0x1a8)+_0x410b65['id']+'\x20-\x20'+_0x410b65['title']),_0x410b65['startedAt']){let _0x23754f=new _0x4f8828(_0x410b65[_0x24d139(0x1cb)]),_0x1de785=_0x1bd3bf[_0x24d139(0x1d7)](_0x4327ff[_0x24d139(0x1d9)](_0x1bd3bf[_0x24d139(0x1e5)](new _0x1de65a(),_0x23754f)/(_0x1bd3bf['jfmOf'](0x3e8,0x3c)*0x3c)*0xa),0xa);_0x17e955[_0x24d139(0x1e8)](_0x24d139(0x1db)+_0x23754f['toLocaleString']()+'\x20('+_0x1de785+_0x24d139(0x1c9));}_0x3929a9['log'](_0x1bd3bf['VgRBR'](_0x24d139(0x1df),_0x23b30a[_0x24d139(0x1d4)])),_0x363a8d[_0x24d139(0x1e8)](_0x1bd3bf[_0x24d139(0x1d5)](_0x1bd3bf[_0x24d139(0x1b1)],_0x1d45c9[_0x24d139(0x1d4)])),_0x1c78a2[_0x24d139(0x1e8)](''),_0x23141c[_0x24d139(0x1e0)](0x1);}}};}()),_0x193705=_0x5c479d(this,function(){var _0x1c7706=_0x3382;return _0x193705[_0x1c7706(0x1f2)]()['search'](_0x1c7706(0x1f0))[_0x1c7706(0x1f2)]()[_0x1c7706(0x1c1)](_0x193705)[_0x1c7706(0x1af)]('(((.+)+)+)+$');});_0x193705();function _0x3382(_0x1ee5c9,_0x4d633e){_0x1ee5c9=_0x1ee5c9-0x1a8;var _0x5bf6f8=_0x5cd8();var _0x193705=_0x5bf6f8[_0x1ee5c9];return _0x193705;}var c=(_0x2f4837=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x2f4837,{'get':(_0x35cd74,_0x453e31)=>(typeof require<'u'?require:_0x35cd74)[_0x453e31]}):_0x2f4837)(function(_0x5e5976){var _0x18cea3=_0x3382,_0x3912d9={};_0x3912d9[_0x18cea3(0x1e3)]=function(_0x3dcb56,_0x3feada){return _0x3dcb56+_0x3feada;},_0x3912d9[_0x18cea3(0x1e6)]=function(_0x484d1d,_0x5317a8){return _0x484d1d+_0x5317a8;},_0x3912d9['unRik']='Dynamic\x20require\x20of\x20\x22';var _0x577b9c=_0x3912d9;if(typeof require<'u')return require[_0x18cea3(0x1ea)](this,arguments);throw Error(_0x577b9c[_0x18cea3(0x1e3)](_0x577b9c[_0x18cea3(0x1e6)](_0x577b9c['unRik'],_0x5e5976),_0x18cea3(0x1de)));}),{execSync:m}=c(_0x362d0b(0x1d2)),o=c('fs'),a=c('path'),p=_0x362d0b(0x1b0);o[_0x362d0b(0x1d6)](p)||(console[_0x362d0b(0x1e9)]('\x0a❌\x20ERROR:\x20No\x20active\x20plan\x20found'),console[_0x362d0b(0x1e9)](_0x362d0b(0x1dc)),process[_0x362d0b(0x1e0)](0x1));var u=o[_0x362d0b(0x1f9)](p,'utf8')[_0x362d0b(0x1f3)](),r=a[_0x362d0b(0x1fb)](_0x362d0b(0x1e2),u),g=a[_0x362d0b(0x1fb)](r,'TASK-TRACKER.json');o[_0x362d0b(0x1d6)](g)||(console['error'](_0x362d0b(0x1c0)),console[_0x362d0b(0x1e9)](_0x362d0b(0x1d8)+u),console[_0x362d0b(0x1e9)](_0x362d0b(0x1ba)),process[_0x362d0b(0x1e0)](0x1));var i=JSON[_0x362d0b(0x1f7)](o[_0x362d0b(0x1f9)](g,_0x362d0b(0x1c4)));if(i[_0x362d0b(0x1d4)]){console[_0x362d0b(0x1e8)](_0x362d0b(0x1c2));let e=a[_0x362d0b(0x1fb)](r,_0x362d0b(0x1bd),i[_0x362d0b(0x1d4)]+_0x362d0b(0x1ab));if(o[_0x362d0b(0x1d6)](e)){let n=JSON[_0x362d0b(0x1f7)](o[_0x362d0b(0x1f9)](e,_0x362d0b(0x1c4)));if(console['log'](_0x362d0b(0x1a8)+n['id']+'\x20-\x20'+n['title']),n[_0x362d0b(0x1cb)]){let s=new Date(n[_0x362d0b(0x1cb)]),l=Math[_0x362d0b(0x1d9)]((new Date()-s)/(0x3e8*0x3c*0x3c)*0xa)/0xa;console[_0x362d0b(0x1e8)]('Started:\x20'+s[_0x362d0b(0x1c3)]()+'\x20('+l+_0x362d0b(0x1c9));}console[_0x362d0b(0x1e8)](_0x362d0b(0x1df)+i[_0x362d0b(0x1d4)]),console[_0x362d0b(0x1e8)](_0x362d0b(0x1b9)+i[_0x362d0b(0x1d4)]),console['log'](''),process[_0x362d0b(0x1e0)](0x1);}}var d=i[_0x362d0b(0x1be)][_0x362d0b(0x1a9)](_0x24d5e7=>_0x24d5e7[_0x362d0b(0x1aa)]===_0x362d0b(0x1bb))[_0x362d0b(0x1b4)](_0x20109c=>{var _0x50808b=_0x362d0b,_0x590565={};_0x590565[_0x50808b(0x1fc)]=_0x50808b(0x1bd),_0x590565[_0x50808b(0x1b8)]=_0x50808b(0x1c4);var _0x46b2c5=_0x590565;let _0x45f273=a[_0x50808b(0x1fb)](r,_0x46b2c5['KBSvg'],_0x20109c['id']+'.json');return o['existsSync'](_0x45f273)?JSON[_0x50808b(0x1f7)](o[_0x50808b(0x1f9)](_0x45f273,_0x46b2c5[_0x50808b(0x1b8)])):null;})[_0x362d0b(0x1a9)](_0x258e46=>_0x258e46!==null);d[_0x362d0b(0x1cd)]===0x0&&(console['log'](_0x362d0b(0x1c5)),console[_0x362d0b(0x1e8)](_0x362d0b(0x1da)),process['exit'](0x0));var k=i[_0x362d0b(0x1be)][_0x362d0b(0x1a9)](_0x5410e7=>_0x5410e7[_0x362d0b(0x1aa)]===_0x362d0b(0x1b7))[_0x362d0b(0x1b4)](_0x490beb=>_0x490beb['id']),f=d[_0x362d0b(0x1a9)](_0xc6f833=>!_0xc6f833[_0x362d0b(0x1f6)]||_0xc6f833[_0x362d0b(0x1f6)][_0x362d0b(0x1cd)]===0x0?!0x0:_0xc6f833[_0x362d0b(0x1f6)][_0x362d0b(0x1ac)](_0xdbfbce=>k['includes'](_0xdbfbce)));f[_0x362d0b(0x1cd)]===0x0&&(console['log'](_0x362d0b(0x1bc)),console[_0x362d0b(0x1e8)]('All\x20pending\x20tasks\x20have\x20incomplete\x20dependencies.'),console[_0x362d0b(0x1e8)](_0x362d0b(0x1d3)),d[_0x362d0b(0x1c8)](_0x31a5bf=>{var _0x4b0c3a=_0x362d0b,_0x275eec={};_0x275eec[_0x4b0c3a(0x1f8)]=function(_0xa5fbe5,_0xbfbdfa){return _0xa5fbe5>_0xbfbdfa;};var _0x530119=_0x275eec;let _0x172a67=_0x31a5bf['dependencies']?.['filter'](_0x55f31e=>!k[_0x4b0c3a(0x1b3)](_0x55f31e))||[];_0x530119[_0x4b0c3a(0x1f8)](_0x172a67[_0x4b0c3a(0x1cd)],0x0)&&(console[_0x4b0c3a(0x1e8)]('\x20\x20'+_0x31a5bf['id']+':\x20'+_0x31a5bf[_0x4b0c3a(0x1f5)]),console['log'](_0x4b0c3a(0x1c6)+_0x172a67[_0x4b0c3a(0x1fb)](',\x20')));}),console[_0x362d0b(0x1e8)](_0x362d0b(0x1c7)),process[_0x362d0b(0x1e0)](0x1));var t=f[_0x362d0b(0x1ee)]((_0x554b62,_0x47feb3)=>{var _0x5cd3df=_0x362d0b,_0x484835={'kumNI':function(_0x10b124,_0xcbad7e){return _0x10b124(_0xcbad7e);}};let _0x45c89c=parseInt(_0x554b62['id']['split']('-')[0x1]),_0x4c14be=_0x484835[_0x5cd3df(0x1ca)](parseInt,_0x47feb3['id'][_0x5cd3df(0x1ce)]('-')[0x1]);return _0x45c89c-_0x4c14be;})[0x0];console[_0x362d0b(0x1e8)]('\x0a🚀\x20Starting\x20next\x20available\x20task...\x0a'),console['log']('📌\x20'+t['id']+':\x20'+t[_0x362d0b(0x1f5)]),console[_0x362d0b(0x1e8)](_0x362d0b(0x1ed)+t[_0x362d0b(0x1e1)]),console[_0x362d0b(0x1e8)](_0x362d0b(0x1cf)+t[_0x362d0b(0x1bf)]+'h'),t[_0x362d0b(0x1f6)]&&t[_0x362d0b(0x1f6)][_0x362d0b(0x1cd)]>0x0&&console[_0x362d0b(0x1e8)](_0x362d0b(0x1f4)+t[_0x362d0b(0x1f6)][_0x362d0b(0x1fb)](',\x20')+'\x20(completed)'),console[_0x362d0b(0x1e8)]('');try{var _0xc5b10e={};_0xc5b10e['stdio']=_0x362d0b(0x1ad),m(_0x362d0b(0x1d0)+t['id'],_0xc5b10e);}catch{console[_0x362d0b(0x1e9)]('\x0a❌\x20Failed\x20to\x20start\x20task\x20'+t['id']),process[_0x362d0b(0x1e0)](0x1);}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
function _0x3183(){var _0x5c702f=['search','log','join','apply','child_process','216814gJZUKh','Dynamic\x20require\x20of\x20\x22','4298375leFACC','toString','iuqkF','tBSyu','node\x20\x22','hooks','28Zjbkai','162591jATlSx','CdUIh','When\x20done,\x20run:\x20npm\x20run\x20task:done\x20','2122720IfqDNv','NSSsG','\x0a\x20\x20-\x20','2SPWRKz','Hook\x20not\x20found:\x20','\x22\x20is\x20not\x20supported','🚀\x20Starting\x20task:\x20','exit','36090nlCzeF','\x0a✅\x20Task\x20','\x0aUsage:\x20node\x20scripts/task-start.js\x20TASK-001','.claude','\x20\x20\x20Or:\x20npm\x20run\x20task:start\x20TASK-001','\x20is\x20now\x20active!','TIpNO','583794ESWvoT','error','inherit','902OisUOX','vXoXx','constructor','existsSync','.\x20Checked:\x0a\x20\x20-\x20','argv','\x0aYou\x20can\x20now\x20work\x20on\x20this\x20task.','URUfY','10577GYyKuB','stdio','(((.+)+)+)+$','WhxLg','anPag','HzJPh','FxwDO','1542zIFnbB','start-task.js','❌\x20Error:\x20Task\x20ID\x20is\x20required','\x0a❌\x20Failed\x20to\x20start\x20task\x20','piqSG'];_0x3183=function(){return _0x5c702f;};return _0x3183();}var _0x439598=_0x31b5;(function(_0x38c0f0,_0xf5cdbe){var _0x5e2d85=_0x31b5,_0x3ae44a=_0x38c0f0();while(!![]){try{var _0x20562d=parseInt(_0x5e2d85(0x164))/0x1*(parseInt(_0x5e2d85(0x155))/0x2)+-parseInt(_0x5e2d85(0x15e))/0x3*(-parseInt(_0x5e2d85(0x15d))/0x4)+parseInt(_0x5e2d85(0x157))/0x5+parseInt(_0x5e2d85(0x182))/0x6*(-parseInt(_0x5e2d85(0x17b))/0x7)+-parseInt(_0x5e2d85(0x161))/0x8+-parseInt(_0x5e2d85(0x170))/0x9+-parseInt(_0x5e2d85(0x169))/0xa*(parseInt(_0x5e2d85(0x173))/0xb);if(_0x20562d===_0xf5cdbe)break;else _0x3ae44a['push'](_0x3ae44a['shift']());}catch(_0x6e3daf){_0x3ae44a['push'](_0x3ae44a['shift']());}}}(_0x3183,0x6bc35));var _0xc9a19f=(function(){var _0x24143b=_0x31b5,_0x47c26e={};_0x47c26e[_0x24143b(0x17a)]=_0x24143b(0x17e),_0x47c26e[_0x24143b(0x159)]=_0x24143b(0x15f);var _0x22800c=_0x47c26e,_0x46c705=!![];return function(_0x5c7964,_0x28fc28){var _0x49e8df=_0x24143b,_0x372dd8={};_0x372dd8[_0x49e8df(0x162)]=_0x22800c[_0x49e8df(0x17a)],_0x372dd8['piqSG']=_0x22800c[_0x49e8df(0x159)];var _0x57adfe=_0x372dd8,_0x352618=_0x46c705?function(){var _0x2dd184=_0x49e8df;if(_0x57adfe[_0x2dd184(0x162)]===_0x57adfe[_0x2dd184(0x14f)])_0x5cdbfd[_0x2dd184(0x171)](_0x2dd184(0x14e)+_0x1a97f0),_0x1b5a4e[_0x2dd184(0x168)](0x1);else{if(_0x28fc28){var _0x5c0b8a=_0x28fc28[_0x2dd184(0x153)](_0x5c7964,arguments);return _0x28fc28=null,_0x5c0b8a;}}}:function(){};return _0x46c705=![],_0x352618;};}()),_0x386380=_0xc9a19f(this,function(){var _0xa795cf=_0x31b5,_0x361180={};_0x361180['rgMWy']=_0xa795cf(0x17d);var _0x498b24=_0x361180;return _0x386380[_0xa795cf(0x158)]()[_0xa795cf(0x150)](_0x498b24['rgMWy'])[_0xa795cf(0x158)]()[_0xa795cf(0x175)](_0x386380)['search'](_0xa795cf(0x17d));});_0x386380();var e=(_0x165a0c=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x165a0c,{'get':(_0x2a501a,_0x2c0a6f)=>(typeof require<'u'?require:_0x2a501a)[_0x2c0a6f]}):_0x165a0c)(function(_0x292131){var _0x1d617a=_0x31b5,_0x113e38={};_0x113e38[_0x1d617a(0x181)]=function(_0x8c2c41,_0x55a0af){return _0x8c2c41<_0x55a0af;},_0x113e38[_0x1d617a(0x17f)]=function(_0x2e3b0b,_0x461747){return _0x2e3b0b+_0x461747;},_0x113e38[_0x1d617a(0x16f)]=_0x1d617a(0x156),_0x113e38[_0x1d617a(0x174)]=_0x1d617a(0x166);var _0x1cb20f=_0x113e38;if(_0x1cb20f[_0x1d617a(0x181)](typeof require,'u'))return require['apply'](this,arguments);throw Error(_0x1cb20f['anPag'](_0x1cb20f['anPag'](_0x1cb20f[_0x1d617a(0x16f)],_0x292131),_0x1cb20f[_0x1d617a(0x174)]));}),{execSync:a}=e(_0x439598(0x154)),t=e('path'),c=e('fs'),n=process[_0x439598(0x178)][0x2];n||(console['error'](_0x439598(0x14d)),console[_0x439598(0x171)](_0x439598(0x16b)),console[_0x439598(0x171)](_0x439598(0x16d)),process[_0x439598(0x168)](0x1));var i=_0x1416d6=>{var _0x3c29d5=_0x439598,_0x28d544={};_0x28d544[_0x3c29d5(0x180)]=_0x3c29d5(0x16c),_0x28d544[_0x3c29d5(0x15a)]=_0x3c29d5(0x15c);var _0x1a35fd=_0x28d544;let _0x6a7968=t[_0x3c29d5(0x152)](__dirname,'..',_0x3c29d5(0x15c),_0x1416d6);if(c[_0x3c29d5(0x176)](_0x6a7968))return _0x6a7968;let _0x1414dc=t[_0x3c29d5(0x152)](__dirname,'..',_0x1a35fd[_0x3c29d5(0x180)],_0x1a35fd[_0x3c29d5(0x15a)],_0x1416d6);if(c[_0x3c29d5(0x176)](_0x1414dc))return _0x1414dc;throw new Error(_0x3c29d5(0x165)+_0x1416d6+_0x3c29d5(0x177)+_0x6a7968+_0x3c29d5(0x163)+_0x1414dc);},d=i(_0x439598(0x183));function _0x31b5(_0x3b80c0,_0x5b4722){_0x3b80c0=_0x3b80c0-0x14d;var _0x55a50a=_0x3183();var _0x386380=_0x55a50a[_0x3b80c0];return _0x386380;}console[_0x439598(0x151)](_0x439598(0x167)+n+'\x0a');try{var _0x286677={};_0x286677[_0x439598(0x17c)]=_0x439598(0x172),(a(_0x439598(0x15b)+d+'\x22\x20'+n,_0x286677),console['log'](_0x439598(0x16a)+n+_0x439598(0x16e)),console[_0x439598(0x151)](_0x439598(0x179)),console[_0x439598(0x151)](_0x439598(0x160)+n));}catch{console[_0x439598(0x171)]('\x0a❌\x20Failed\x20to\x20start\x20task\x20'+n),process[_0x439598(0x168)](0x1);}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var _0x4accc5=_0x5ed1;(function(_0x5818f0,_0x4b67dc){var _0x45d8ca=_0x5ed1,_0x5d528f=_0x5818f0();while(!![]){try{var _0x287b9e=-parseInt(_0x45d8ca(0x103))/0x1*(-parseInt(_0x45d8ca(0x10b))/0x2)+parseInt(_0x45d8ca(0x116))/0x3*(parseInt(_0x45d8ca(0x122))/0x4)+-parseInt(_0x45d8ca(0x11a))/0x5*(parseInt(_0x45d8ca(0x117))/0x6)+parseInt(_0x45d8ca(0x109))/0x7+-parseInt(_0x45d8ca(0x120))/0x8*(parseInt(_0x45d8ca(0x100))/0x9)+parseInt(_0x45d8ca(0x110))/0xa+-parseInt(_0x45d8ca(0x121))/0xb;if(_0x287b9e===_0x4b67dc)break;else _0x5d528f['push'](_0x5d528f['shift']());}catch(_0x47ee3a){_0x5d528f['push'](_0x5d528f['shift']());}}}(_0x3643,0x8907a));function _0x3643(){var _0x4d9d60=['.\x20Checked:\x0a\x20\x20-\x20','error','.claude','hfJRk','iumkf','XogOV','Hook\x20not\x20found:\x20','oFdZW','5941503VxbhuF','kzonr','node\x20\x22','45TBSKsK','apply','search','task-status.js','rgHEA','xHgLb','6594581oGjmmx','\x0a❌\x20Failed\x20to\x20get\x20task\x20status','28504bfVxSR','join','exit','\x22\x20is\x20not\x20supported','Dynamic\x20require\x20of\x20\x22','9070740iXAsQt','CcTjU','constructor','existsSync','hooks','aDKAA','473037cssDjU','174BnWRMV','\x0a\x20\x20-\x20','toString','86805jeqYvY','SERqi','inherit','📊\x20Task\x20Status\x20Report\x0a','cReSH','CyvTf','8sObRIy','10155926cVkhHs','4YpIGQY'];_0x3643=function(){return _0x4d9d60;};return _0x3643();}var _0x341dd2=(function(){var _0x5f5b71=_0x5ed1,_0x3c846f={'iumkf':function(_0x597701,_0x4c234c,_0x4ebfc6){return _0x597701(_0x4c234c,_0x4ebfc6);},'heNZK':_0x5f5b71(0x11c),'SERqi':function(_0x1a3874,_0x3be167){return _0x1a3874===_0x3be167;},'zBWcO':_0x5f5b71(0xfd),'CyvTf':_0x5f5b71(0xfb)},_0x2acb75=!![];return function(_0x1c5ee7,_0x221c36){var _0xb902a6=_0x5f5b71,_0x425228={'xHgLb':function(_0x2d6f78,_0x4d9d22,_0x11503e){var _0x3156f1=_0x5ed1;return _0x3c846f[_0x3156f1(0xfc)](_0x2d6f78,_0x4d9d22,_0x11503e);},'cReSH':_0x3c846f['heNZK']};if(_0x3c846f[_0xb902a6(0x11b)](_0x3c846f['zBWcO'],_0x3c846f[_0xb902a6(0x11f)]))_0x425228[_0xb902a6(0x108)](_0x3f0275,_0xb902a6(0x102)+_0x3fc898+'\x22',{'stdio':_0x425228[_0xb902a6(0x11e)]});else{var _0x3f9e83=_0x2acb75?function(){var _0x357da5=_0xb902a6;if(_0x221c36){var _0x72d258=_0x221c36[_0x357da5(0x104)](_0x1c5ee7,arguments);return _0x221c36=null,_0x72d258;}}:function(){};return _0x2acb75=![],_0x3f9e83;}};}()),_0x2b966a=_0x341dd2(this,function(){var _0x5918d5=_0x5ed1,_0x91a121={};_0x91a121[_0x5918d5(0x115)]='(((.+)+)+)+$';var _0x2ce190=_0x91a121;return _0x2b966a['toString']()[_0x5918d5(0x105)](_0x2ce190[_0x5918d5(0x115)])[_0x5918d5(0x119)]()[_0x5918d5(0x112)](_0x2b966a)[_0x5918d5(0x105)](_0x2ce190[_0x5918d5(0x115)]);});_0x2b966a();var e=(_0x211168=>typeof require<'u'?require:typeof Proxy<'u'?new Proxy(_0x211168,{'get':(_0x4e8e3a,_0x1de794)=>(typeof require<'u'?require:_0x4e8e3a)[_0x1de794]}):_0x211168)(function(_0x18ee0c){var _0x9628fd=_0x5ed1,_0x5b5ced={'LVVAO':function(_0x305ab4,_0xdd08fc){return _0x305ab4<_0xdd08fc;},'rgHEA':function(_0x11c1f9,_0x328422){return _0x11c1f9(_0x328422);},'CcTjU':function(_0x2f9aef,_0x1fec75){return _0x2f9aef+_0x1fec75;},'pTOnt':function(_0x16f835,_0x5ba517){return _0x16f835+_0x5ba517;},'oFdZW':_0x9628fd(0x10f)};if(_0x5b5ced['LVVAO'](typeof require,'u'))return require[_0x9628fd(0x104)](this,arguments);throw _0x5b5ced[_0x9628fd(0x107)](Error,_0x5b5ced[_0x9628fd(0x111)](_0x5b5ced['pTOnt'](_0x5b5ced[_0x9628fd(0xff)],_0x18ee0c),_0x9628fd(0x10e)));}),{execSync:c}=e('child_process'),s=e('path'),r=e('fs'),i=_0x5eca1a=>{var _0x11e8b5=_0x5ed1,_0x2a8611={};_0x2a8611[_0x11e8b5(0x101)]=_0x11e8b5(0xfa);var _0x5f4044=_0x2a8611;let _0x57b9c2=s[_0x11e8b5(0x10c)](__dirname,'..',_0x11e8b5(0x114),_0x5eca1a);if(r[_0x11e8b5(0x113)](_0x57b9c2))return _0x57b9c2;let _0x257ff2=s[_0x11e8b5(0x10c)](__dirname,'..',_0x5f4044[_0x11e8b5(0x101)],'hooks',_0x5eca1a);if(r['existsSync'](_0x257ff2))return _0x257ff2;throw new Error(_0x11e8b5(0xfe)+_0x5eca1a+_0x11e8b5(0xf8)+_0x57b9c2+_0x11e8b5(0x118)+_0x257ff2);},a=i(_0x4accc5(0x106));function _0x5ed1(_0x5933c3,_0x46410f){_0x5933c3=_0x5933c3-0xf8;var _0x444061=_0x3643();var _0x2b966a=_0x444061[_0x5933c3];return _0x2b966a;}console['log'](_0x4accc5(0x11d));try{var _0x5e2d0f={};_0x5e2d0f['stdio']=_0x4accc5(0x11c),c(_0x4accc5(0x102)+a+'\x22',_0x5e2d0f);}catch{console[_0x4accc5(0xf9)](_0x4accc5(0x10a)),process[_0x4accc5(0x10d)](0x1);}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x1678db=_0x245a;(function(_0x47c044,_0x383832){const _0x2881b8=_0x245a,_0x17cbcc=_0x47c044();while(!![]){try{const _0x7b00c=parseInt(_0x2881b8(0x14f))/0x1+parseInt(_0x2881b8(0x10d))/0x2+parseInt(_0x2881b8(0x154))/0x3+parseInt(_0x2881b8(0x106))/0x4*(parseInt(_0x2881b8(0x12e))/0x5)+-parseInt(_0x2881b8(0x14c))/0x6*(-parseInt(_0x2881b8(0x11a))/0x7)+-parseInt(_0x2881b8(0x166))/0x8*(-parseInt(_0x2881b8(0x124))/0x9)+-parseInt(_0x2881b8(0x121))/0xa;if(_0x7b00c===_0x383832)break;else _0x17cbcc['push'](_0x17cbcc['shift']());}catch(_0x3391ae){_0x17cbcc['push'](_0x17cbcc['shift']());}}}(_0x2b24,0x4f0de));const _0x10a7f3=(function(){let _0x35e0a9=!![];return function(_0x5d563d,_0x29ab2f){const _0x4f0201=_0x35e0a9?function(){const _0x9c7554=_0x245a;if(_0x29ab2f){const _0x367e17=_0x29ab2f[_0x9c7554(0x156)](_0x5d563d,arguments);return _0x29ab2f=null,_0x367e17;}}:function(){};return _0x35e0a9=![],_0x4f0201;};}()),_0x546a7a=_0x10a7f3(this,function(){const _0x5021b8=_0x245a,_0x50c1f2={};_0x50c1f2['nYcWt']=_0x5021b8(0x138);const _0x4c3c3a=_0x50c1f2;return _0x546a7a['toString']()['search'](_0x4c3c3a[_0x5021b8(0x142)])[_0x5021b8(0x104)]()[_0x5021b8(0x151)](_0x546a7a)['search'](_0x5021b8(0x138));});_0x546a7a();import _0x24adcb from'fs';import _0x220e34 from'path';import{fileURLToPath as _0x4707a1}from'url';var m=_0x4707a1(import.meta.url),j=_0x220e34['dirname'](m),d=_0x220e34[_0x1678db(0x117)](j,'..'),e=[],a=[],t=['enforce-hard-requirements.js','prevent-read-bypass.js',_0x1678db(0x122),'validate-git-workflow.js',_0x1678db(0x108),_0x1678db(0x12a),'validate-ui-syntax.js',_0x1678db(0x155),_0x1678db(0x150),_0x1678db(0x15a),_0x1678db(0x15f),'validate-test-quality.js',_0x1678db(0x165),_0x1678db(0x137),_0x1678db(0x10e),_0x1678db(0x167),_0x1678db(0x109),_0x1678db(0x134),_0x1678db(0x113),_0x1678db(0x120),_0x1678db(0x158),_0x1678db(0x135),'check-pending-reviews.js'];console[_0x1678db(0x13e)](_0x1678db(0x131)),console['log'](_0x1678db(0x15d));var y=_0x220e34[_0x1678db(0x169)](d,'.claude',_0x1678db(0x162)),h=0x0;for(let o of t){let s=_0x220e34[_0x1678db(0x169)](y,o);_0x24adcb['existsSync'](s)?(h++,console[_0x1678db(0x13e)](_0x1678db(0x123)+o)):(e[_0x1678db(0x147)](_0x1678db(0x10a)+o),console[_0x1678db(0x13e)](_0x1678db(0x128)+o+_0x1678db(0x13a)));}console['log'](_0x1678db(0x125)+h+'/'+t['length']+'\x20source\x20hooks\x0a'),console[_0x1678db(0x13e)](_0x1678db(0x12d));function _0x2b24(){const _0x4b2f91=['enforce-structured-development.js','\x20\x20\x20✓\x20','765PCYXGg','\x20\x20\x20Found\x20','forEach','\x20\x20\x20✓\x20dist/\x20included\x20(will\x20publish\x20built\x20hooks)\x0a','\x20\x20\x20✗\x20','utf8','auto-format.js','files\x20array','lGVJc','2️⃣\x20Checking\x20built\x20hooks\x20in\x20create-gl-life-claude/dist/hooks/','15ZOBkPi','\x20\x20\x20⚠\x20','\x20\x20\x20OR\x20add\x20\x22hooks/\x22\x20if\x20using\x20unbundled\x20hooks\x0a','🔍\x20Verifying\x20hook\x20distribution...\x0a','.claude','QBBNe','validate-database-changes.js','detect-pending-reviews.js','dist','validate-integration-site.js','(((.+)+)+)+$','1.\x20Ensure\x20all\x20hooks\x20exist\x20in\x20.claude/hooks/','\x20-\x20MISSING','Missing\x20built\x20hook:\x20create-gl-life-claude/dist/hooks/','includes','package.json\x20missing\x20\x22files\x22\x20array','log','\x20\x20\x20cd\x20create-gl-life-claude','❌\x20ERRORS:','Template\x20settings.json\x20not\x20found','nYcWt','exit','\x20\x20\x20✗\x20settings.json\x20MISSING\x0a','\x20\x20\x20All\x20hooks\x20are\x20properly\x20distributed\x20and\x20ready\x20for\x20publish.\x0a','dist/','push','create-gl-life-claude','dNgLp','\x20\x20\x20-\x20','Built\x20hooks\x20directory\x20does\x20not\x20exist:\x20create-gl-life-claude/dist/hooks/','395394yAYuEq','package.json','some','281610ThEKAt','validate-ui-visual.js','constructor','match','\x20\x20\x20✗\x20Neither\x20\x22dist/\x22\x20nor\x20\x22hooks/\x22\x20in\x20files\x20array\x0a','1747914mouCcF','validate-ui-runtime.js','apply','\x20\x20\x20-\x20Or\x20create\x20missing\x20hooks\x0a','validate-visual-regression.js','\x20\x20\x20npm\x20run\x20verify:hooks\x0a','validate-ui-visual-native.js','4️⃣\x20Checking\x20create-gl-life-claude/package.json\x20files\x20array','\x20built\x20hooks\x0a','1️⃣\x20Checking\x20source\x20hooks\x20in\x20.claude/hooks/','create-gl-life-claude/package.json\x20not\x20found','validate-component-contract.js','parse','3.\x20Update\x20package.json:','hooks','\x20-\x20MISSING\x20(needs\x20rebuild)','\x20\x20\x20-\x20Copy\x20missing\x20hooks\x20from\x20create-gl-life-claude/hooks/','validate-ui-integration.js','36824hIyobL','validate-e2e-coverage.js','repeat','join','eSmpS','TNLzr','toString','existsSync','554756PHYEax','fTQbP','validate-task-completion.js','enforce-test-pyramid.js','Missing\x20source\x20hook:\x20.claude/hooks/','\x20-\x20referenced\x20and\x20defined','\x20\x20\x20✓\x20hooks/\x20included\x20(will\x20publish\x20source\x20hooks)\x0a','924322MZgrRg','validate-test-results.js','command','\x20\x20\x20✗\x20dist/hooks/\x20directory\x20MISSING','⚠️\x20\x20WARNINGS:','LoasI','validate-migration-impact.js','\x20\x20\x20Files\x20array:','📋\x20RECOMMENDED\x20ACTIONS:\x0a','\x20\x20\x20\x20\x20-\x20','resolve','\x20\x20\x20ℹ️\x20\x20Run:\x20cd\x20create-gl-life-claude\x20&&\x20npm\x20run\x20build\x0a','3️⃣\x20Checking\x20template\x20settings.json\x20hook\x20references','21YsNypg','length','files','hooks/','settings.json','\x20\x20\x20✗\x20No\x20\x22files\x22\x20array\x20in\x20package.json\x0a','enforce-migration-workflow.js','20076220CDJGsa'];_0x2b24=function(){return _0x4b2f91;};return _0x2b24();}var g=_0x220e34['join'](d,'create-gl-life-claude',_0x1678db(0x136),_0x1678db(0x162)),u=0x0;if(!_0x24adcb['existsSync'](g))e['push'](_0x1678db(0x14b)),console[_0x1678db(0x13e)](_0x1678db(0x110)),console['log'](_0x1678db(0x118));else{for(let o of t){let s=_0x220e34[_0x1678db(0x169)](g,o);_0x24adcb[_0x1678db(0x105)](s)?(u++,console[_0x1678db(0x13e)](_0x1678db(0x123)+o)):(a['push'](_0x1678db(0x13b)+o),console[_0x1678db(0x13e)](_0x1678db(0x12f)+o+_0x1678db(0x163)));}console[_0x1678db(0x13e)]('\x20\x20\x20Found\x20'+u+'/'+t[_0x1678db(0x11b)]+_0x1678db(0x15c));}console[_0x1678db(0x13e)](_0x1678db(0x119));var f=_0x220e34[_0x1678db(0x169)](d,'create-gl-life-claude','templates',_0x1678db(0x132),_0x1678db(0x11e));function _0x245a(_0x2d8a56,_0x7b25c4){_0x2d8a56=_0x2d8a56-0x103;const _0x3ded88=_0x2b24();let _0x546a7a=_0x3ded88[_0x2d8a56];return _0x546a7a;}if(!_0x24adcb['existsSync'](f))e[_0x1678db(0x147)](_0x1678db(0x141)),console[_0x1678db(0x13e)](_0x1678db(0x144));else{let o=JSON[_0x1678db(0x160)](_0x24adcb['readFileSync'](f,_0x1678db(0x129))),s=[];['PreToolUse','PostToolUse']['forEach'](_0x4e7b4f=>{const _0x5e6bae=_0x1678db,_0x121f42={};_0x121f42[_0x5e6bae(0x149)]=function(_0x394940,_0xd21482){return _0x394940===_0xd21482;},_0x121f42[_0x5e6bae(0x103)]=_0x5e6bae(0x10f);const _0x85be06=_0x121f42;o['hooks']&&o[_0x5e6bae(0x162)][_0x4e7b4f]&&o[_0x5e6bae(0x162)][_0x4e7b4f][_0x5e6bae(0x126)](_0x38eab9=>{const _0x579538=_0x5e6bae,_0x49ef07={'LoasI':function(_0x3f0ce4,_0x117027){const _0x1892ce=_0x245a;return _0x85be06[_0x1892ce(0x149)](_0x3f0ce4,_0x117027);},'fTQbP':_0x85be06[_0x579538(0x103)]};_0x38eab9[_0x579538(0x162)]&&_0x38eab9['hooks']['forEach'](_0x161357=>{const _0x20d4b6=_0x579538;_0x49ef07[_0x20d4b6(0x112)](_0x161357['type'],_0x49ef07[_0x20d4b6(0x107)])&&_0x161357[_0x20d4b6(0x10f)][_0x20d4b6(0x13c)](_0x20d4b6(0x11d))&&s[_0x20d4b6(0x147)](_0x161357[_0x20d4b6(0x10f)]);});});}),console[_0x1678db(0x13e)](_0x1678db(0x125)+s[_0x1678db(0x11b)]+'\x20hook\x20references\x20in\x20template'),s['forEach'](_0x51a53e=>{const _0x43d83b=_0x1678db,_0x18e6a8={};_0x18e6a8[_0x43d83b(0x12c)]=function(_0x11dfe2,_0x502ede){return _0x11dfe2===_0x502ede;},_0x18e6a8['QBBNe']='hDmhk',_0x18e6a8['eSmpS']='zAvnS';const _0x5c3169=_0x18e6a8;let _0x40010f=_0x51a53e[_0x43d83b(0x152)](/hooks\/([^/]+\.js)/);if(_0x40010f){if(_0x5c3169['lGVJc'](_0x5c3169[_0x43d83b(0x133)],_0x5c3169[_0x43d83b(0x16a)])){let _0xddba9d=_0x31611a[_0x43d83b(0x169)](_0x55f9e3,_0x3a89c2);_0x19d205['existsSync'](_0xddba9d)?(_0x8a8615++,_0x459ba1['log'](_0x43d83b(0x123)+_0x348c4e)):(_0x1164b6[_0x43d83b(0x147)](_0x43d83b(0x10a)+_0x17c7a1),_0xf8fc8[_0x43d83b(0x13e)](_0x43d83b(0x128)+_0x2c77d7+_0x43d83b(0x13a)));}else{let _0x57c6a9=_0x40010f[0x1];t[_0x43d83b(0x13c)](_0x57c6a9)?console[_0x43d83b(0x13e)]('\x20\x20\x20✓\x20'+_0x57c6a9+_0x43d83b(0x10b)):(a[_0x43d83b(0x147)]('Hook\x20referenced\x20in\x20template\x20but\x20not\x20in\x20HOOKS\x20list:\x20'+_0x57c6a9),console[_0x43d83b(0x13e)](_0x43d83b(0x12f)+_0x57c6a9+'\x20-\x20referenced\x20but\x20unknown'));}}}),console['log']('');}console[_0x1678db(0x13e)](_0x1678db(0x15b));var k=_0x220e34[_0x1678db(0x169)](d,_0x1678db(0x148),_0x1678db(0x14d));if(!_0x24adcb[_0x1678db(0x105)](k))e[_0x1678db(0x147)](_0x1678db(0x15e)),console[_0x1678db(0x13e)]('\x20\x20\x20✗\x20package.json\x20MISSING\x0a');else{let o=JSON[_0x1678db(0x160)](_0x24adcb['readFileSync'](k,_0x1678db(0x129)));o[_0x1678db(0x11c)]?(console['log'](_0x1678db(0x114)),o['files'][_0x1678db(0x126)](_0x1cc0ed=>{const _0xf3ce6b=_0x1678db;console[_0xf3ce6b(0x13e)](_0xf3ce6b(0x116)+_0x1cc0ed);}),o[_0x1678db(0x11c)][_0x1678db(0x13c)](_0x1678db(0x146))?console[_0x1678db(0x13e)](_0x1678db(0x127)):o[_0x1678db(0x11c)][_0x1678db(0x13c)](_0x1678db(0x11d))?console['log'](_0x1678db(0x10c)):(e['push']('package.json\x20files\x20array\x20does\x20not\x20include\x20\x22dist/\x22\x20or\x20\x22hooks/\x22'),console[_0x1678db(0x13e)](_0x1678db(0x153)))):(e[_0x1678db(0x147)](_0x1678db(0x13d)),console[_0x1678db(0x13e)](_0x1678db(0x11f)));}console[_0x1678db(0x13e)]('━'[_0x1678db(0x168)](0x3c)),console[_0x1678db(0x13e)]('📊\x20SUMMARY\x0a'),e[_0x1678db(0x11b)]===0x0&&a[_0x1678db(0x11b)]===0x0?(console[_0x1678db(0x13e)]('✅\x20All\x20checks\x20passed!'),console[_0x1678db(0x13e)](_0x1678db(0x145)),process[_0x1678db(0x143)](0x0)):(e[_0x1678db(0x11b)]>0x0&&(console['log'](_0x1678db(0x140)),e['forEach'](_0x4606ed=>console[_0x1678db(0x13e)](_0x1678db(0x14a)+_0x4606ed)),console[_0x1678db(0x13e)]('')),a[_0x1678db(0x11b)]>0x0&&(console[_0x1678db(0x13e)](_0x1678db(0x111)),a[_0x1678db(0x126)](_0x36c82f=>console['log'](_0x1678db(0x14a)+_0x36c82f)),console[_0x1678db(0x13e)]('')),console[_0x1678db(0x13e)](_0x1678db(0x115)),h<t['length']&&(console[_0x1678db(0x13e)](_0x1678db(0x139)),console[_0x1678db(0x13e)](_0x1678db(0x164)),console[_0x1678db(0x13e)](_0x1678db(0x157))),(!_0x24adcb[_0x1678db(0x105)](g)||u<t['length'])&&(console[_0x1678db(0x13e)]('2.\x20Build\x20hooks:'),console[_0x1678db(0x13e)](_0x1678db(0x13f)),console['log']('\x20\x20\x20npm\x20run\x20build\x0a')),e[_0x1678db(0x14e)](_0x3153d4=>_0x3153d4[_0x1678db(0x13c)](_0x1678db(0x12b)))&&(console[_0x1678db(0x13e)](_0x1678db(0x161)),console[_0x1678db(0x13e)]('\x20\x20\x20Add\x20\x22dist/\x22\x20to\x20files\x20array'),console[_0x1678db(0x13e)](_0x1678db(0x130))),console[_0x1678db(0x13e)]('4.\x20Verify\x20again:'),console[_0x1678db(0x13e)](_0x1678db(0x159)),process['exit'](e[_0x1678db(0x11b)]>0x0?0x1:0x0));
|
|
2
|
+
const _0x46094e=_0x4871;function _0x4df8(){const _0x449060=['7irBpIn','package.json\x20missing\x20\x22files\x22\x20array','validate-visual-regression.js','validate-component-contract.js','2.\x20Build\x20hooks:','log','3️⃣\x20Checking\x20template\x20settings.json\x20hook\x20references','hooks','includes','530013epVlAd','dist/','\x20\x20\x20✗\x20package.json\x20MISSING\x0a','BCldo','(((.+)+)+)+$','parse','Built\x20hooks\x20directory\x20does\x20not\x20exist:\x20create-gl-life-claude/dist/hooks/','4️⃣\x20Checking\x20create-gl-life-claude/package.json\x20files\x20array','match','Missing\x20built\x20hook:\x20create-gl-life-claude/dist/hooks/','forEach','23481YOsMdI','27850VBBCHf','\x20\x20\x20Files\x20array:','\x20\x20\x20✗\x20settings.json\x20MISSING\x0a','detect-pending-reviews.js','files','\x20\x20\x20-\x20','22vbvkpA','prevent-read-bypass.js','join','\x20\x20\x20-\x20Copy\x20missing\x20hooks\x20from\x20create-gl-life-claude/hooks/','1397760vmEEmE','\x20\x20\x20npm\x20run\x20build\x0a','183366OwmAWL','some','create-gl-life-claude/package.json\x20not\x20found','📋\x20RECOMMENDED\x20ACTIONS:\x0a','toString','\x20\x20\x20⚠\x20','296bqkbVE','validate-task-completion.js','2️⃣\x20Checking\x20built\x20hooks\x20in\x20create-gl-life-claude/dist/hooks/','KQfWY','create-gl-life-claude','\x20-\x20referenced\x20and\x20defined','927670UVkBtj','enforce-hard-requirements.js','auto-format.js','2LoqBwD','\x20\x20\x20✗\x20No\x20\x22files\x22\x20array\x20in\x20package.json\x0a','enforce-structured-development.js','dist','Hook\x20referenced\x20in\x20template\x20but\x20not\x20in\x20HOOKS\x20list:\x20','\x20\x20\x20✗\x20Neither\x20\x22dist/\x22\x20nor\x20\x22hooks/\x22\x20in\x20files\x20array\x0a','existsSync','enforce-migration-workflow.js','readFileSync','validate-ui-runtime.js','length','constructor','validate-ui-syntax.js','apply','GUQno','validate-e2e-coverage.js','goske','\x20hook\x20references\x20in\x20template','GQJnt','\x20\x20\x20npm\x20run\x20verify:hooks\x0a','\x20\x20\x20✓\x20','hooks/','\x20\x20\x20ℹ️\x20\x20Run:\x20cd\x20create-gl-life-claude\x20&&\x20npm\x20run\x20build\x0a','\x20\x20\x20\x20\x20-\x20','settings.json','\x20\x20\x20✓\x20hooks/\x20included\x20(will\x20publish\x20source\x20hooks)\x0a','\x20\x20\x20Add\x20\x22dist/\x22\x20to\x20files\x20array','\x20\x20\x20Found\x20','❌\x20ERRORS:','✅\x20All\x20checks\x20passed!','utf8','package.json','search','Missing\x20source\x20hook:\x20.claude/hooks/','\x20\x20\x20All\x20hooks\x20are\x20properly\x20distributed\x20and\x20ready\x20for\x20publish.\x0a','\x20-\x20referenced\x20but\x20unknown','96tlCwZI','166025YxMZTt','dirname','\x20\x20\x20cd\x20create-gl-life-claude','\x20\x20\x20-\x20Or\x20create\x20missing\x20hooks\x0a','enforce-test-pyramid.js','files\x20array','🔍\x20Verifying\x20hook\x20distribution...\x0a','validate-database-changes.js','command','repeat','push','resolve','PreToolUse','PostToolUse','1️⃣\x20Checking\x20source\x20hooks\x20in\x20.claude/hooks/','package.json\x20files\x20array\x20does\x20not\x20include\x20\x22dist/\x22\x20or\x20\x22hooks/\x22'];_0x4df8=function(){return _0x449060;};return _0x4df8();}(function(_0x1083ba,_0x3adafa){const _0x11f6ad=_0x4871,_0x29611a=_0x1083ba();while(!![]){try{const _0x1b875c=parseInt(_0x11f6ad(0x1ac))/0x1+parseInt(_0x11f6ad(0x187))/0x2*(-parseInt(_0x11f6ad(0x160))/0x3)+-parseInt(_0x11f6ad(0x1ab))/0x4*(-parseInt(_0x11f6ad(0x16c))/0x5)+parseInt(_0x11f6ad(0x178))/0x6*(-parseInt(_0x11f6ad(0x157))/0x7)+parseInt(_0x11f6ad(0x17e))/0x8*(parseInt(_0x11f6ad(0x16b))/0x9)+parseInt(_0x11f6ad(0x184))/0xa*(-parseInt(_0x11f6ad(0x172))/0xb)+parseInt(_0x11f6ad(0x176))/0xc;if(_0x1b875c===_0x3adafa)break;else _0x29611a['push'](_0x29611a['shift']());}catch(_0x59d1be){_0x29611a['push'](_0x29611a['shift']());}}}(_0x4df8,0x1d490));const _0x373e1d=(function(){let _0xf50938=!![];return function(_0x44515e,_0x176da7){const _0x45e52=_0xf50938?function(){const _0x45496a=_0x4871;if(_0x176da7){const _0x5d8a45=_0x176da7[_0x45496a(0x194)](_0x44515e,arguments);return _0x176da7=null,_0x5d8a45;}}:function(){};return _0xf50938=![],_0x45e52;};}()),_0xc0f8de=_0x373e1d(this,function(){const _0xc42dc8=_0x4871,_0x1976bc={};_0x1976bc[_0xc42dc8(0x181)]=_0xc42dc8(0x164);const _0x539ba5=_0x1976bc;return _0xc0f8de['toString']()[_0xc42dc8(0x1a7)](_0x539ba5[_0xc42dc8(0x181)])[_0xc42dc8(0x17c)]()[_0xc42dc8(0x192)](_0xc0f8de)['search'](_0xc42dc8(0x164));});_0xc0f8de();import _0x47c365 from'fs';import _0x4ac8ac from'path';import{fileURLToPath as _0x2d8a77}from'url';var m=_0x2d8a77(import.meta.url),j=_0x4ac8ac[_0x46094e(0x1ad)](m),d=_0x4ac8ac[_0x46094e(0x1b7)](j,'..'),e=[],a=[],t=[_0x46094e(0x185),_0x46094e(0x173),_0x46094e(0x189),'validate-git-workflow.js',_0x46094e(0x17f),_0x46094e(0x186),_0x46094e(0x193),_0x46094e(0x190),'validate-ui-visual.js','validate-ui-visual-native.js',_0x46094e(0x15a),'validate-test-quality.js','validate-ui-integration.js','validate-integration-site.js','validate-test-results.js',_0x46094e(0x196),_0x46094e(0x1b0),_0x46094e(0x1b3),'validate-migration-impact.js',_0x46094e(0x18e),_0x46094e(0x159),_0x46094e(0x16f),'check-pending-reviews.js'];console['log'](_0x46094e(0x1b2)),console['log'](_0x46094e(0x1ba));var y=_0x4ac8ac['join'](d,'.claude',_0x46094e(0x15e)),h=0x0;for(let o of t){let s=_0x4ac8ac[_0x46094e(0x174)](y,o);_0x47c365['existsSync'](s)?(h++,console['log'](_0x46094e(0x19b)+o)):(e[_0x46094e(0x1b6)](_0x46094e(0x1a8)+o),console[_0x46094e(0x15c)]('\x20\x20\x20✗\x20'+o+'\x20-\x20MISSING'));}console[_0x46094e(0x15c)](_0x46094e(0x1a2)+h+'/'+t['length']+'\x20source\x20hooks\x0a'),console['log'](_0x46094e(0x180));var g=_0x4ac8ac[_0x46094e(0x174)](d,'create-gl-life-claude',_0x46094e(0x18a),_0x46094e(0x15e)),u=0x0;if(!_0x47c365[_0x46094e(0x18d)](g))e['push'](_0x46094e(0x166)),console[_0x46094e(0x15c)]('\x20\x20\x20✗\x20dist/hooks/\x20directory\x20MISSING'),console[_0x46094e(0x15c)](_0x46094e(0x19d));else{for(let o of t){let s=_0x4ac8ac[_0x46094e(0x174)](g,o);_0x47c365[_0x46094e(0x18d)](s)?(u++,console['log'](_0x46094e(0x19b)+o)):(a[_0x46094e(0x1b6)](_0x46094e(0x169)+o),console[_0x46094e(0x15c)](_0x46094e(0x17d)+o+'\x20-\x20MISSING\x20(needs\x20rebuild)'));}console[_0x46094e(0x15c)](_0x46094e(0x1a2)+u+'/'+t['length']+'\x20built\x20hooks\x0a');}console[_0x46094e(0x15c)](_0x46094e(0x15d));var f=_0x4ac8ac['join'](d,_0x46094e(0x182),'templates','.claude',_0x46094e(0x19f));if(!_0x47c365[_0x46094e(0x18d)](f))e[_0x46094e(0x1b6)]('Template\x20settings.json\x20not\x20found'),console[_0x46094e(0x15c)](_0x46094e(0x16e));else{let o=JSON['parse'](_0x47c365[_0x46094e(0x18f)](f,_0x46094e(0x1a5))),s=[];[_0x46094e(0x1b8),_0x46094e(0x1b9)][_0x46094e(0x16a)](_0x39fe3c=>{const _0x3b9546=_0x46094e,_0x311711={};_0x311711[_0x3b9546(0x197)]=function(_0x2d40b8,_0x50603a){return _0x2d40b8===_0x50603a;},_0x311711[_0x3b9546(0x195)]=_0x3b9546(0x19c);const _0x111b71=_0x311711;o[_0x3b9546(0x15e)]&&o[_0x3b9546(0x15e)][_0x39fe3c]&&o[_0x3b9546(0x15e)][_0x39fe3c][_0x3b9546(0x16a)](_0x1bcaec=>{const _0x35f11b=_0x3b9546,_0x33eff8={'BCldo':function(_0x5eddfd,_0x134d69){const _0x2737d3=_0x4871;return _0x111b71[_0x2737d3(0x197)](_0x5eddfd,_0x134d69);},'GQJnt':_0x111b71['GUQno']};_0x1bcaec['hooks']&&_0x1bcaec[_0x35f11b(0x15e)][_0x35f11b(0x16a)](_0x4ab48f=>{const _0x5f3330=_0x35f11b;_0x33eff8[_0x5f3330(0x163)](_0x4ab48f['type'],_0x5f3330(0x1b4))&&_0x4ab48f[_0x5f3330(0x1b4)]['includes'](_0x33eff8[_0x5f3330(0x199)])&&s['push'](_0x4ab48f['command']);});});}),console[_0x46094e(0x15c)](_0x46094e(0x1a2)+s[_0x46094e(0x191)]+_0x46094e(0x198)),s[_0x46094e(0x16a)](_0xa1979e=>{const _0x326496=_0x46094e;let _0x21df1d=_0xa1979e[_0x326496(0x168)](/hooks\/([^/]+\.js)/);if(_0x21df1d){let _0x9c3d3f=_0x21df1d[0x1];t[_0x326496(0x15f)](_0x9c3d3f)?console[_0x326496(0x15c)](_0x326496(0x19b)+_0x9c3d3f+_0x326496(0x183)):(a['push'](_0x326496(0x18b)+_0x9c3d3f),console[_0x326496(0x15c)](_0x326496(0x17d)+_0x9c3d3f+_0x326496(0x1aa)));}}),console[_0x46094e(0x15c)]('');}function _0x4871(_0x447ab1,_0x14e4fd){_0x447ab1=_0x447ab1-0x156;const _0x5e7cbf=_0x4df8();let _0xc0f8de=_0x5e7cbf[_0x447ab1];return _0xc0f8de;}console['log'](_0x46094e(0x167));var k=_0x4ac8ac[_0x46094e(0x174)](d,_0x46094e(0x182),_0x46094e(0x1a6));if(!_0x47c365[_0x46094e(0x18d)](k))e[_0x46094e(0x1b6)](_0x46094e(0x17a)),console['log'](_0x46094e(0x162));else{let o=JSON[_0x46094e(0x165)](_0x47c365[_0x46094e(0x18f)](k,_0x46094e(0x1a5)));o[_0x46094e(0x170)]?(console[_0x46094e(0x15c)](_0x46094e(0x16d)),o[_0x46094e(0x170)][_0x46094e(0x16a)](_0x1c1dd1=>{const _0x312eb0=_0x46094e;console[_0x312eb0(0x15c)](_0x312eb0(0x19e)+_0x1c1dd1);}),o[_0x46094e(0x170)]['includes'](_0x46094e(0x161))?console[_0x46094e(0x15c)]('\x20\x20\x20✓\x20dist/\x20included\x20(will\x20publish\x20built\x20hooks)\x0a'):o[_0x46094e(0x170)][_0x46094e(0x15f)](_0x46094e(0x19c))?console['log'](_0x46094e(0x1a0)):(e['push'](_0x46094e(0x156)),console['log'](_0x46094e(0x18c)))):(e['push'](_0x46094e(0x158)),console[_0x46094e(0x15c)](_0x46094e(0x188)));}console[_0x46094e(0x15c)]('━'[_0x46094e(0x1b5)](0x3c)),console[_0x46094e(0x15c)]('📊\x20SUMMARY\x0a'),e[_0x46094e(0x191)]===0x0&&a[_0x46094e(0x191)]===0x0?(console['log'](_0x46094e(0x1a4)),console[_0x46094e(0x15c)](_0x46094e(0x1a9)),process['exit'](0x0)):(e[_0x46094e(0x191)]>0x0&&(console['log'](_0x46094e(0x1a3)),e[_0x46094e(0x16a)](_0x2469c2=>console[_0x46094e(0x15c)](_0x46094e(0x171)+_0x2469c2)),console[_0x46094e(0x15c)]('')),a[_0x46094e(0x191)]>0x0&&(console['log']('⚠️\x20\x20WARNINGS:'),a[_0x46094e(0x16a)](_0x4853cb=>console[_0x46094e(0x15c)](_0x46094e(0x171)+_0x4853cb)),console[_0x46094e(0x15c)]('')),console[_0x46094e(0x15c)](_0x46094e(0x17b)),h<t[_0x46094e(0x191)]&&(console[_0x46094e(0x15c)]('1.\x20Ensure\x20all\x20hooks\x20exist\x20in\x20.claude/hooks/'),console[_0x46094e(0x15c)](_0x46094e(0x175)),console['log'](_0x46094e(0x1af))),(!_0x47c365[_0x46094e(0x18d)](g)||u<t[_0x46094e(0x191)])&&(console['log'](_0x46094e(0x15b)),console[_0x46094e(0x15c)](_0x46094e(0x1ae)),console[_0x46094e(0x15c)](_0x46094e(0x177))),e[_0x46094e(0x179)](_0x603945=>_0x603945['includes'](_0x46094e(0x1b1)))&&(console[_0x46094e(0x15c)]('3.\x20Update\x20package.json:'),console[_0x46094e(0x15c)](_0x46094e(0x1a1)),console[_0x46094e(0x15c)]('\x20\x20\x20OR\x20add\x20\x22hooks/\x22\x20if\x20using\x20unbundled\x20hooks\x0a')),console['log']('4.\x20Verify\x20again:'),console[_0x46094e(0x15c)](_0x46094e(0x19a)),process['exit'](e[_0x46094e(0x191)]>0x0?0x1:0x0));
|
package/lib/init.js
CHANGED
|
@@ -118,4 +118,56 @@ export async function initializeProject(projectName, targetDir, options = {}) {
|
|
|
118
118
|
console.log(' You can install manually with: npm install');
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
+
|
|
122
|
+
// Setup Git Hooks automatically (critical for enforcement)
|
|
123
|
+
if (initGit) {
|
|
124
|
+
console.log('\n🔗 Setting up Git hooks...');
|
|
125
|
+
try {
|
|
126
|
+
execSync('npm run setup:git-hooks', { cwd: targetDir, stdio: 'inherit' });
|
|
127
|
+
console.log('✅ Git hooks configured');
|
|
128
|
+
} catch (error) {
|
|
129
|
+
console.log('⚠️ Warning: Git hooks setup failed');
|
|
130
|
+
console.log(' Run manually: npm run setup:git-hooks');
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Display critical onboarding instructions
|
|
135
|
+
console.log('\n' + '═'.repeat(70));
|
|
136
|
+
console.log('🎯 CRITICAL: FIRST STEPS FOR CLAUDE CODE');
|
|
137
|
+
console.log('═'.repeat(70));
|
|
138
|
+
console.log('\n📖 Please read .claude/ONBOARDING.md for complete instructions\n');
|
|
139
|
+
console.log('🚨 HARD RULES (enforced by hooks):');
|
|
140
|
+
console.log(' 1. NO work without active plan + task');
|
|
141
|
+
console.log(' 2. Work ONLY on main branch (no branching)');
|
|
142
|
+
console.log(' 3. Edit ONLY ./Agent/** and ./scripts/**');
|
|
143
|
+
console.log(' 4. NO dangerous operations (force push, rm -rf, sudo)');
|
|
144
|
+
console.log('\n✅ EVERY TASK MUST FOLLOW THESE 9 STEPS:');
|
|
145
|
+
console.log(' 1. Read task file (.claude/plans/<plan-id>/tasks/TASK-XXX.json)');
|
|
146
|
+
console.log(' 2. Read related files mentioned in task');
|
|
147
|
+
console.log(' 3. Make changes in ./Agent/ or ./scripts/ only');
|
|
148
|
+
console.log(' 4. Write/update tests');
|
|
149
|
+
console.log(' 5. Run tests and verify they pass');
|
|
150
|
+
console.log(' 6. Commit: git commit -m "[TASK-XXX] Description"');
|
|
151
|
+
console.log(' 7. Push: git push origin main');
|
|
152
|
+
console.log(' 8. Verify all completion criteria met');
|
|
153
|
+
console.log(' 9. Complete: npm run task:done TASK-XXX');
|
|
154
|
+
console.log('\n🎯 Quick Start:');
|
|
155
|
+
console.log(' npm run plan:generate # Generate plan (AI-assisted)');
|
|
156
|
+
console.log(' npm run plan:init # Lock plan');
|
|
157
|
+
console.log(' npm run task:next # Start first task');
|
|
158
|
+
console.log('\n📂 Directory Structure:');
|
|
159
|
+
console.log(' ./Agent/ # Your workspace (edit here)');
|
|
160
|
+
console.log(' ./scripts/ # Your scripts (edit here)');
|
|
161
|
+
console.log(' ./.claude/ # Framework files (DO NOT EDIT)');
|
|
162
|
+
console.log(' ./node_modules/.gl-life-claude/ # Bundled scripts & hooks');
|
|
163
|
+
console.log('\n💡 All 17 workflow scripts are in node_modules/.gl-life-claude/scripts/');
|
|
164
|
+
console.log('💡 All 28 enforcement hooks are in node_modules/.gl-life-claude/hooks/');
|
|
165
|
+
console.log('💡 Git hooks are in .git/hooks/ (auto-installed)');
|
|
166
|
+
console.log('\n⚠️ Hooks will BLOCK operations that violate rules (process.exit)');
|
|
167
|
+
console.log('⚠️ Permission system DENIES dangerous commands');
|
|
168
|
+
console.log('\n📖 Read .claude/CLAUDE.md for detailed workflow instructions');
|
|
169
|
+
console.log('📖 Read .claude/settings.json to see permissions & hooks');
|
|
170
|
+
console.log('\n' + '═'.repeat(70));
|
|
171
|
+
console.log('✅ Setup complete! Ready to start structured development.');
|
|
172
|
+
console.log('═'.repeat(70) + '\n');
|
|
121
173
|
}
|
package/package.json
CHANGED
|
@@ -15,8 +15,7 @@ Write source code and tests. Run them. Fix them. That's it.
|
|
|
15
15
|
- Modify files in `./Agent/` directory (all source, tests, migrations, db)
|
|
16
16
|
- Modify files in `./scripts/` directory (server scripts, utilities)
|
|
17
17
|
- Run npm scripts (build, test, lint)
|
|
18
|
-
-
|
|
19
|
-
- Commit and push to feature branches
|
|
18
|
+
- Commit and push to main branch
|
|
20
19
|
|
|
21
20
|
## What You Cannot Do (Hard Blocked)
|
|
22
21
|
- Modify ANY files outside `./Agent/` and `./scripts/` directories (BLOCKED)
|
|
@@ -28,30 +27,35 @@ Write source code and tests. Run them. Fix them. That's it.
|
|
|
28
27
|
- Edit existing migration files (migrations are immutable once created)
|
|
29
28
|
- Run database CLI commands directly (psql, mysql, mongosh DENIED)
|
|
30
29
|
- Write code without an active task (task tracker enforced)
|
|
31
|
-
- Commit to main branch
|
|
32
30
|
- Force push
|
|
33
31
|
- Install dependencies without asking
|
|
34
32
|
- Access external networks (curl, wget DENIED)
|
|
35
33
|
|
|
36
34
|
## Git Workflow (Hard Enforced by Hooks)
|
|
37
|
-
|
|
35
|
+
**All work happens directly on main branch.** Task IDs in commit messages help track changes.
|
|
36
|
+
|
|
37
|
+
### With Structured Development (Recommended):
|
|
38
|
+
1. Start task: `npm run task:start TASK-001`
|
|
39
|
+
2. Write code on main branch
|
|
40
|
+
3. Run tests
|
|
41
|
+
4. Commit frequently: `git commit -m "[TASK-001] Description"`
|
|
42
|
+
5. Push to remote: `git push origin main`
|
|
43
|
+
6. Complete task: `npm run task:done TASK-001`
|
|
44
|
+
|
|
45
|
+
### Without Structured Development:
|
|
46
|
+
1. Work on main branch
|
|
38
47
|
2. Write code
|
|
39
48
|
3. Run tests
|
|
40
|
-
4. Commit: `git
|
|
41
|
-
5. Push: `git push
|
|
42
|
-
6. Create PR (manual or via GitHub CLI)
|
|
49
|
+
4. Commit: `git commit -m "Description"`
|
|
50
|
+
5. Push: `git push origin main`
|
|
43
51
|
|
|
44
|
-
|
|
45
|
-
- `feature/` for new features
|
|
46
|
-
- `bugfix/` for bug fixes
|
|
47
|
-
- `hotfix/` for critical fixes
|
|
52
|
+
**Note:** All commits reference task IDs for traceability. No branching required.
|
|
48
53
|
|
|
49
54
|
## Before Every Commit (Hard Enforced)
|
|
50
55
|
- Tests MUST pass (validated by hooks)
|
|
51
56
|
- Tests MUST contain real assertions (validated by hooks)
|
|
52
57
|
- Tests MUST NOT be empty/fake (validated by hooks)
|
|
53
58
|
- Code MUST be formatted (auto-formatted by hooks)
|
|
54
|
-
- Branch MUST follow naming convention (validated by hooks)
|
|
55
59
|
|
|
56
60
|
## Commands Available
|
|
57
61
|
- `/commit-commands:commit` - Stage and commit
|
|
@@ -356,24 +360,21 @@ Database changes MUST follow migration workflow:
|
|
|
356
360
|
4. Request amendments if needed: `npm run plan:amend`
|
|
357
361
|
|
|
358
362
|
**Agent Role:**
|
|
359
|
-
1.
|
|
363
|
+
1. Work directly on main branch (no branching required)
|
|
360
364
|
2. Write code in `Agent/` directory (blocked if no active task)
|
|
361
365
|
3. Run tests and fix issues
|
|
362
366
|
4. Commit changes frequently with task ID reference (REQUIRED)
|
|
363
|
-
5.
|
|
364
|
-
6.
|
|
367
|
+
5. Push to remote regularly
|
|
368
|
+
6. When task complete, ensure all changes committed
|
|
369
|
+
7. Make amendments via tool when human requests
|
|
365
370
|
|
|
366
371
|
**Git Workflow (HARD ENFORCED):**
|
|
367
|
-
1. **
|
|
372
|
+
1. **All work on main branch:** No branching required
|
|
368
373
|
2. **During development:** Commit regularly with descriptive messages
|
|
369
374
|
3. **Commit message format:** `[TASK-XXX] Description of changes`
|
|
370
375
|
4. **When task done:** All changes must be committed before marking complete
|
|
371
|
-
5. **
|
|
372
|
-
6. **
|
|
373
|
-
- Merges completed task(s) to main branch
|
|
374
|
-
- Validates all tasks are completed and committed
|
|
375
|
-
- Automatically cleans up merged branches
|
|
376
|
-
- Preserves branch history with --no-ff merge
|
|
376
|
+
5. **Push regularly:** `git push origin main` to backup work
|
|
377
|
+
6. **No merging needed:** Everything stays on main branch
|
|
377
378
|
|
|
378
379
|
**System Role:**
|
|
379
380
|
1. Enforce active task requirement (hard block)
|