wkappbot
★★☆
wkedit shell distortion recovery
3rd retry in wkedit.sh: recover original args from parent cmdline when shell distortion causes old_string not found
Steps
- CONCEPT: 3rd retry after 2-level auto-retry...
- WHEN-NEEDED: bash -c distortion, pipe escapi...
- STEP 1 detect parent shell: check /proc/$PPI...
- STEP 2 extract original args: parse CommandL...
- STEP 3 compare+retry: if recovered_old != re...
- CONSTRAINTS: (a) MSYS2 git-bash lacks /proc...
- IMPLEMENTATION SKETCH: _distortion_recover()...
- STATUS: DRAFT. Not implemented. Requires WMI...
- RELATED: wkedit.sh _do_edit() lines 60-120 (...