fix: CI branch filter + Cursor auto-context rules
CI: - python-services-ci now only runs on main branch (not feature branches) - Install deps with lock fallback (if lock file is stale, install without it) Cursor rules: - New project-context.mdc (alwaysApply: true) — gives AI full project context immediately in every new chat - Updated noda1-operations.mdc: alwaysApply: true, fixed container names (dagi-router-node1, not dagi-staging-router) This ensures that when opening a new Cursor chat in this workspace, the AI already knows: project structure, NODE1 server details, all 13 agents, SSH credentials location, and key documentation paths. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: NODA1 (node1-daarion) — контекст, порти, перевірка агентів, типові виправлення
|
||||
globs: "**/docs/NODA1*.md,**/scripts/node1/**/*.sh,gateway-bot/**/*.py,infra/**/*.yml,NODA1*.md,PROJECT-MASTER-INDEX.md,config/README.md"
|
||||
alwaysApply: false
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# NODA1 — Операції та контекст
|
||||
@@ -29,7 +29,7 @@ alwaysApply: false
|
||||
| RAG | 9500 | `/health` |
|
||||
| Swapper | 8890 | `/health` |
|
||||
|
||||
Контейнери: `dagi-gateway-node1`, `dagi-staging-router` (або `dagi-*-router`), `dagi-memory-service-node1`, `dagi-qdrant-node1`.
|
||||
Контейнери: `dagi-gateway-node1`, `dagi-router-node1`, `dagi-memory-service-node1`, `dagi-qdrant-node1`, `swapper-service-node1`, `ollama`.
|
||||
|
||||
## Перевірка агентів
|
||||
|
||||
@@ -41,7 +41,7 @@ alwaysApply: false
|
||||
|
||||
## Типові виправлення
|
||||
|
||||
1. **Router unhealthy** — перезапуск: `docker restart dagi-staging-router` (або актуальна назва контейнера router).
|
||||
1. **Router unhealthy** — перезапуск: `docker restart dagi-router-node1`.
|
||||
2. **Gateway не відповідає** — `docker logs dagi-gateway-node1 --tail 100`; при потребі `docker restart dagi-gateway-node1`.
|
||||
3. **Агент без prompt/token** — перевірити `gateway-bot/http_api.py` (AGENT_REGISTRY) і наявність `*_prompt.txt` та env з токенами на сервері.
|
||||
4. **Зміни в коді** — задеплоїти на NODA1 (git pull, rebuild, restart відповідних контейнерів згідно з проектом).
|
||||
|
||||
Reference in New Issue
Block a user