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)
This commit is contained in:
2026-09-16 11:54:37 +03:00
parent 41d6c0c5fc
commit 6e71280336
2 changed files with 23 additions and 4 deletions

18
AGENTS.md Normal file
View File

@@ -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`

View File

@@ -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 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 `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 only in the VFP IDE. See `D:\ROA\UTIL\foxbin2prg\CLAUDE.md`; pentru editarea text->binar
`COMUN\docs\flux-editare-vfp-text.md`. 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 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` 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 '<nume_clasa>' #
``` ```
The index (`_symbols.tsv`) rebuilds itself when the text is newer, so refresh the text first — it 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 `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 **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 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`, 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. 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 ## Mod de lucru: delegare catre subagenti + review inainte de commit