CLAUDE.md: corecteaza calea cache-ului text VFP + noteaza fluxul de write-back

Cache-ul e la D:\ROA\_vfp_textcache\roaimob (mutat din foxbin2prg);
editarile .vcx/.scx se pot face pe text cu txt2vcx.ps1 (vezi CLAUDE.md
din D:\ROA\UTIL\foxbin2prg).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 18:30:50 +03:00
parent d8b4e74c4f
commit 277e3d30b0

View File

@@ -23,10 +23,10 @@ No build scripts, Makefiles, package manifests, CI config, or test suite exist i
Most method/procedure code lives inside compiled `.vcx/.vct` (classes), `.scx/.sct` (forms), `.frx/.frt` (reports), `.mnx/.mnt` (menus) — grepping these binaries directly is unreliable. Use the shared `foxbin2prg` tool (already built at `D:\ROA\UTIL\foxbin2prg\FoxBin2Prg.EXE`) to decompile to readable text, then grep the text:
```powershell
& 'D:\ROA\UTIL\foxbin2prg\vcx2txt.ps1' -Project 'D:\ROA\ROAIMOB\roaimob.PJX' -ProjectRoot 'D:\ROA\ROAIMOB' -CacheRoot 'D:\ROA\UTIL\foxbin2prg\_textcache_roaimob' -Types vcx,scx,frx,mnx
& 'D:\ROA\UTIL\foxbin2prg\vcx2txt.ps1' -Project 'D:\ROA\ROAIMOB\roaimob.PJX' -ProjectRoot 'D:\ROA\ROAIMOB' -CacheRoot 'D:\ROA\_vfp_textcache\roaimob' -Types vcx,scx,frx,mnx
```
Reads the file list straight from `roaimob.PJX`, so it only converts files this project actually references (not all of `COMUN\`); incremental, safe to re-run after IDE edits. Output lands in `_textcache_roaimob/` as `.vc2/.sc2/.fr2/.mn2` text mirrors — grep those. **Read-only cache**: any real code change must be made in the VFP IDE on the original binary, then re-run the script to refresh the cache.
Reads the file list straight from `roaimob.PJX`, so it only converts files this project actually references (not all of `COMUN\`); incremental, safe to re-run after IDE edits. Output lands in `D:\ROA\_vfp_textcache\roaimob\` as `.vc2/.sc2/.fr2/.mn2` text mirrors — grep those. For `.vcx`/`.scx`, real code changes can now be made directly on the `.vc2`/`.sc2` text and written back with `D:\ROA\UTIL\foxbin2prg\txt2vcx.ps1` (regenerates + recompiles in staging, fidelity-checks, then copies into the project) instead of editing in the IDE — `.mnx`/`.frx` are still IDE-only. See `D:\ROA\UTIL\foxbin2prg\CLAUDE.md` for the full write-back flow and guard rails.
## Architecture