From 6e7128033680152d75499ba2879ce2ed605818ec Mon Sep 17 00:00:00 2001 From: Marius Mutu Date: Wed, 16 Sep 2026 11:54:37 +0300 Subject: [PATCH] skills: backstop de rutare catre skill-urile de agent ROA - CLAUDE.md: rutele catre skill-uri + ancora ca pct. 7 din reguli_lucru ruteaza fiecare zona la skill - AGENTS.md (nou): backstop de rutare pentru opencode (nu citeste CLAUDE.md) --- AGENTS.md | 18 ++++++++++++++++++ CLAUDE.md | 9 +++++---- 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..b0a23d6 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,18 @@ +# AGENTS.md + +Regulile complete de lucru ROA (livrare, comentarii, modificari minime, testare, delegare): +`COMUN\docs\reguli_lucru.md`. Punctul 7 ruteaza fiecare zona atinsa. + +Backstop de rutare: cand atingi o zona de mai jos, incarca skill-ul care o detine (el are +procedura si criteriile care blocheaza "gata"); docurile sunt doar referinta conditionata a +skill-ului. + +- editezi `.vc2`/`.sc2`/`.prg` cu diacritice, cauti in `.vcx`/`.scx`, adaugi membri de clasa -> skill `roa-vfp-text-edit` +- rulezi sau depanezi teste headless ori UI -> skill `roa-vfp-headless-test` +- commit / `svn update` / `roa_sync` in COMUN -> skill `roa-git-svn-commit` +- scrii sau publici scripturi de migrare Oracle, reexporti un pachet -> skill `roa-oracle-migration` +- actualizarea ROA nu se termina sau tablespace plin -> skill `roa-oracle-diagnostic` +- acces la un Oracle de productie (tunel SSH + TNS + DSN) -> skill `roa-oracle-production-access` +- garzi pe valori NULL din Oracle in VFP -> skill `roa-vfp-null-guards` +- `GO` pe un `Recno()` capturat sau primit ca parametru -> skill `roa-vfp-go-recno` +- procedura PL/SQL cu `SELECT ... INTO` apelata din VFP (randuri pierdute tacut) -> skill `roa-oracle-sqlexec-no-data` diff --git a/CLAUDE.md b/CLAUDE.md index 4af4563..757c6b9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -30,8 +30,8 @@ powershell -ExecutionPolicy Bypass -File D:\ROA\UTIL\foxbin2prg\git_sync.ps1 -Pr Then search the `.??2` files in-tree with Grep, citing `file:line`. Write-back text->binary via `txt2vcx.ps1` is supported **only for `.vc2`/`.sc2`**; `.frx/.mnx/.lbx/.pjx/.dbc/.dbf` are editable -only in the VFP IDE. See `D:\ROA\UTIL\foxbin2prg\CLAUDE.md` and -`COMUN\docs\flux-editare-vfp-text.md`. +only in the VFP IDE. See `D:\ROA\UTIL\foxbin2prg\CLAUDE.md`; pentru editarea text->binar +foloseste skill-ul `roa-vfp-text-edit` (detine procedura si write-back-ul). Grep can't tell **which class/method** a hit inside a `.vc2` belongs to (the class header may be thousands of lines above it, and ~2/3 of the file is properties/metadata). `vfp_symbols.ps1` @@ -50,7 +50,7 @@ powershell -ExecutionPolicy Bypass -File $s @c -Class '' # ``` The index (`_symbols.tsv`) rebuilds itself when the text is newer, so refresh the text first — it -can't see IDE edits that were never converted. Full search guide: `COMUN\docs\cautare_vcx_vct.md`. +can't see IDE edits that were never converted. Full search guide: skill `roa-vfp-text-edit` (cautarea in binare e in procedura lui). `COMUN/` is excluded from this repo's git — it is shared by every ROA product and versioned by its **own git repo**, `gitea.romfast.ro:romfast/comun.git`. Run git commands for `COMUN/` from inside @@ -115,7 +115,8 @@ inainte de write-back), comentariile (max o linie), modificarile minime, harness headless si — la punctul 7 — lista de conventii obligatorii per zona atinsa (encoding cp1252 la editarea `.vc2`/`.sc2`, UX formulare/griduri, `GO` pe `Recno()`, `goExecutor` + `ALTER TABLE`, testare UI, export Oracle). Fisierul e index: urmeaza linkurile relevante pentru sarcina curenta. -Depanare detaliata: `COMUN\docs\depanare_testare_vfp.md`. +Punctul 7 al acelui fisier ruteaza fiecare zona atinsa la skill-ul care o detine (`COMUN\skills\`), iar skill-ul - nu docul - detine procedura. +Testare si depanare: skill `roa-vfp-headless-test`. ## Mod de lucru: delegare catre subagenti + review inainte de commit