cleanup + docs: remove marketing leftovers, full PROMPTS.md, CLAUDE.md
Deleted (live in gov-agreg repo): - src/lib/auth-queries.ts, supabase.ts, platform-queries.ts (marketing only) - src/pages/api/auth/, platform/, traducator.ts Added: - PROMPTS.md: §0 vreau.digital context + full historic (sections §0a-§0e from gov-agreg pre-split — 1367 lines preserved as "Istoric sesiuni") - CLAUDE.md: vreau.digital scope, 17 data sources table, deploy, sister project link Memory dir bootstrapped at ~/Code/claude-memory/projects/vreau-digital/memory/ with 23 .md files (all relevant context from gov-agreg). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+54
@@ -1,3 +1,57 @@
|
||||
# Prompts pentru sesiuni Claude — vreau.digital
|
||||
|
||||
## 0. Context comun (citește PRIMUL)
|
||||
|
||||
```
|
||||
Lucrăm la vreau.digital — platforma de transparență achiziții publice
|
||||
România. Repo: git.beletage.ro/gitadmin/vreau-digital.
|
||||
|
||||
SPLIT MAJOR 2026-05-13: spin-off din `gov-agreg` (vreaudigital.ro). Acest
|
||||
repo conține platforma standalone — toate scrapers, recipes, investigation
|
||||
pages, SQL migrations, Postgres queries cross-source.
|
||||
|
||||
vreaudigital.ro = hub marketing/discoverability (gov-agreg repo)
|
||||
vreau.digital = platforma achiziții (acest repo)
|
||||
|
||||
Stack:
|
||||
- Astro 5 + React 19 + Tailwind 3.4 (NU v4) + Node @astrojs/node standalone
|
||||
- PostgreSQL 17 @ satra:5432 (schema `seap`, `firms`, `anaf`, ... 17 schemas)
|
||||
- MapLibre 5 + Martin tile server @ 10.10.10.166:3010 (gis_uats_z0/z5/z8/z12)
|
||||
- Photon geocoder daemon @ satra:2322
|
||||
- Container Docker @ satra:5096, Traefik @ proxy 10.10.10.199, Cloudflare proxied → vreau.digital
|
||||
|
||||
Date prod (post 2026-05-13):
|
||||
- 4.005M firme ONRC (100% geocoded)
|
||||
- 7.77M financials (10 ani, 2015-2024)
|
||||
- 781K+ anunțuri SEAP/TED
|
||||
- 47K datornici ANAF T1 2026 + 648K lista albă (live via 2captcha)
|
||||
- 17 systemd timers scrapere (daily/weekly/monthly/quarterly)
|
||||
- 49 retete + 15 investigation pages
|
||||
|
||||
Infra:
|
||||
- CI/CD: Gitea webhook → satra:9867/hooks/vreau-digital-deploy → /opt/vreau-digital/deploy.sh
|
||||
- Secrete: Infisical Machine Identity `/vreaudigital` (DATABASE_URL, TWOCAPTCHA_KEY, etc.)
|
||||
- DB queries dev: `/tmp/govq.sh` reads SQL stdin → architools_db pe satra
|
||||
- Verifică `/api/version` post-push
|
||||
|
||||
Routes (toate la rădăcină, NU /achizitii/):
|
||||
- /, /cauta, /retete/[slug], /investigation/[slug], /firma/[cui], /autoritate/[cui]
|
||||
- /red-flags, /top-contracte, /top-firme, /fonduri-ue, /azi, /risc/*, /explorer
|
||||
- /harta (Civic OS), /api/* (og, cpv, profil, ocds, harta, version)
|
||||
|
||||
Reguli operaționale:
|
||||
- `npx astro check` + `npm run build` PASS înainte de commit
|
||||
- DACĂ scp pe satra → reset ÎNAINTE de push (deploy.sh git pull --ff-only fails)
|
||||
- Pre-create /var/log/vreau-digital-*.log cu chown bulibasa pentru scrapere noi
|
||||
- NU echo niciun secret. $VAR unexpanded, --env-file (NU -e)
|
||||
- Memory persistat: scrie DIRECT în ~/Code/claude-memory/projects/vreau-digital/memory/ + git commit + push (sync cron clobbers ~/.claude/.../memory/ every 60s)
|
||||
- systemd OnCalendar: `Sun *-*-*` (cu space după ziua), NU `Sun*-*-*`
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Istoric sesiuni (din gov-agreg, păstrat aici după split 2026-05-13)
|
||||
|
||||
# Prompts pentru sesiuni Claude — vreaudigital.ro
|
||||
|
||||
Fișier de copy-paste pentru sesiunile viitoare Claude Code, ca să nu reexpli o
|
||||
|
||||
Reference in New Issue
Block a user