2026.03.29 20:00 Gitea_manager javítás előtt
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# ⚡ RENDSZER ADATOK (FIX)
|
||||
- **Gitea API Token:** d7a0142b5c512ec833307447ed5b7ba8c0bdba9a
|
||||
- **Project ID:** (Keresd ki egyszer: `docker compose exec roo-helper python3 /scripts/gitea_manager.py` parancsal, ha kiírja, írd ide fixen!)
|
||||
- **Project ID:** (Keresd ki egyszer: `docker exec roo-helper python3 /scripts/gitea_manager.py` parancsal, ha kiírja, írd ide fixen!)
|
||||
- **Szabály:** TILOS a műveletek szimulálása. Ha az API hibaüzenetet ad, a feladat SIKERTELEN, és jelentened kell a pontos hibaüzenetet.
|
||||
|
||||
# 🗺️ ROO CODE NAVIGÁCIÓS TÉRKÉP
|
||||
@@ -24,7 +24,13 @@
|
||||
|
||||
# 🛠️ TERMINÁL HASZNÁLATI SZABÁLYOK (KRITIKUS)
|
||||
1. **Helyi környezet korlátja:** A helyi terminálban NINCS Python, NINCS adatbázis elérés. SOHA ne futtass közvetlen parancsokat (pl. `python ...`, `pip ...`, `pytest ...`).
|
||||
2. **Kötelező prefix:** Minden végrehajtandó parancsot a `docker compose exec -T roo-helper` előtaggal kell futtatnod.
|
||||
2. **Kötelező prefix:** Minden végrehajtandó parancsot a `docker compose exec roo-helper` előtaggal kell futtatnod.
|
||||
3. **Munkakönyvtár kezelése:** Ha a parancsot egy alkönyvtárban kell futtatni, azt a konténeren belül tedd meg.
|
||||
- **Hibás:** `cd backend && python -m app.scripts...`
|
||||
- **Helyes:** `docker compose exec -T roo-helper /bin/sh -c "cd /app/backend && python3 -m app.scripts.unified_db_audit"`
|
||||
- **Helyes:** `docker compose exec roo-helper /bin/sh -c "cd /app/backend && python3 -m app.scripts.unified_db_audit"`
|
||||
|
||||
CRITICAL DATABASE SYNC RULE:
|
||||
NEVER use alembic upgrade head or try to resolve Alembic migration conflicts manually unless explicitly instructed. The Masterbook 2.0.1 architecture uses a custom synchronization engine.
|
||||
To apply database schema changes based on SQLAlchemy models, ALWAYS use:
|
||||
docker exec -it sf_api python -m app.scripts.sync_engine
|
||||
Treat the sync_engine as the primary source of truth for schema generation.
|
||||
Reference in New Issue
Block a user