From 40fdfe41f62d3623085203cb1180e940c7a5f875 Mon Sep 17 00:00:00 2001 From: Marius Mutu Date: Mon, 20 Jul 2026 00:50:18 +0300 Subject: [PATCH] Achizitie import unificata: documentatie si changelog (2.11.9) - changelog 2.11.9 (achizitie import unificata, total/TVA automat, TVA pe conturile creditoare); todo actualizat - docs: flux-achizitie-import actualizat; testare-ui-vfp, testare-vfp-mcp si flux-editare-vfp-text mutate in COMUN\docs (general valabile pentru VFP); README fara mentiuni temporare (handoff) - CLAUDE.md / docs/CLAUDE.md: fluxul de editare text vcx/scx si modul de lucru Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019DGibQKa5uK4P2TNSFFQNh --- CLAUDE.md | 3 ++- changelog_roagest.txt | 9 +++++++ docs/CLAUDE.md | 11 +++++--- docs/README.md | 8 +++--- docs/flux-achizitie-import.md | 47 ++++++++++++++++++++++++++++++++++- docs/flux-editare-vfp-text.md | 13 ---------- docs/testare-vfp-mcp.md | 37 --------------------------- todo.txt | 8 ++++++ 8 files changed, 78 insertions(+), 58 deletions(-) delete mode 100644 docs/flux-editare-vfp-text.md delete mode 100644 docs/testare-vfp-mcp.md diff --git a/CLAUDE.md b/CLAUDE.md index d669cb9..8782f40 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -45,7 +45,7 @@ For `.vcx`/`.scx`, code edits no longer require the VFP IDE — the flow is now: 3. Review the diff on the text file like any other source change. 4. Write back with `txt2vcx.ps1` (`D:\ROA\UTIL\foxbin2prg\txt2vcx.ps1 -TextFile -ProjectRoot 'D:\ROA\ROAGEST' -CacheRoot 'D:\ROA\_vfp_textcache\roagest'`) — it regenerates and recompiles the binary in a staging folder, fidelity-checks it against the edited text, then copies it into the project only if that check passes. -`.mnx`/`.frx` stay **read-only** in this flow (menus still need GENMENU in the IDE; reports are too fragile to round-trip) — edit those in the VFP IDE as before. Targets under `COMUN\` need `-AllowComun` plus explicit approval, since a change there affects every ROA app. See `D:\ROA\UTIL\foxbin2prg\CLAUDE.md` for full details, `COMUN\docs\flux-editare-vfp-text.md` for the shared per-round workflow (baseline backups, review patches, fidelity check), and `docs/flux-editare-vfp-text.md` for the ROAGEST-specific parameters. +`.mnx`/`.frx` stay **read-only** in this flow (menus still need GENMENU in the IDE; reports are too fragile to round-trip) — edit those in the VFP IDE as before. Targets under `COMUN\` need `-AllowComun` plus explicit approval, since a change there affects every ROA app. See `D:\ROA\UTIL\foxbin2prg\CLAUDE.md` for full details and `COMUN\docs\flux-editare-vfp-text.md` for the shared per-round workflow (baseline backups, review patches, fidelity check) plus the per-project parameters (including ROAGEST's). ## The COMUN shared framework @@ -116,6 +116,7 @@ Tags in use: `:nou:` (new feature), `:modificare:` (change), `:eroare:` (bug fix Preferințele lui Marius pentru sesiunile pe acest proiect: +- **Orchestrare pe misiuni lungi**: niciodată un singur subagent care acumulează context pe multe sarcini înlănțuite — sesiunea principală orchestrează subagenți proaspeți per sarcină (prag: max ~200–250k tokens per subagent, apoi handoff + agent nou), cu handoff compact pe disc; regula comună tuturor proiectelor ROA: `COMUN\docs\orchestrare-subagenti.md`. - **Delegare**: modificările de cod de volum/rutină (aplicarea unei propuneri din `docs/propuneri_*.md`, editări pe cache-ul text + write-back, actualizări de documentație, rulări de teste) se deleagă către **subagenți Sonnet care lucrează în background** (team agents — Agent tool cu `model: sonnet`, lane-uri paralele unde e posibil), iar sesiunea principală doar orchestrează și monitorizează: împarte planul pe lane-uri, transmite constatările între agenți, verifică rezultatele (diff, teste, fidelity) și intervine direct doar la deblocări (procese agățate), decizii și verificări. - **Fără commit fără review**: nu da commit din proprie inițiativă pe modificări de cod — Marius vrea întâi să **vadă diff-ul**. Pentru binarele VFP (`.vcx`/`.scx`), diff-ul lizibil se face pe forma text: regenerează textul din binarul vechi (HEAD din git) cu `vcx2txt.ps1 -Source` și compară-l cu textul editat din cache (`git diff --no-index`). Commit doar după ce Marius confirmă pe diff. diff --git a/changelog_roagest.txt b/changelog_roagest.txt index 07ade57..b5bac8d 100644 --- a/changelog_roagest.txt +++ b/changelog_roagest.txt @@ -1,4 +1,13 @@ +