feat: add sync_vending_to_mariusm script and CLAUDE.md docs

Script syncs articles from VENDING (prod) to MARIUSM_AUTO (dev)
via SSH. Supports dry-run, --apply, and --yes modes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-03-25 15:03:25 +00:00
parent adf5a9d96d
commit 53862b2685
2 changed files with 449 additions and 0 deletions

View File

@@ -90,6 +90,22 @@ Documentatie completa: [README.md](README.md)
- Coloanele `factura_*` pe `orders` (SQLite), populate lazy din Oracle (`vanzari WHERE sters=0`)
- Refresh complet: verifica facturi noi + facturi sterse + comenzi sterse din ROA
## Sync articole VENDING → MARIUSM_AUTO
```bash
# Dry-run (arată diferențele fără să modifice)
python3 scripts/sync_vending_to_mariusm.py
# Aplică cu confirmare
python3 scripts/sync_vending_to_mariusm.py --apply
# Fără confirmare (automatizare)
python3 scripts/sync_vending_to_mariusm.py --apply --yes
```
Sincronizează via SSH din VENDING (prod Windows) în MARIUSM_AUTO (dev ROA_CENTRAL):
nom_articole (noi by codmat, codmat updatat) + articole_terti (noi, modificate, soft-delete).
## Deploy Windows
Vezi [README.md](README.md#deploy-windows)