refactor(agents): parametrize infra hardcode (M-5)
Some checks failed
CI / lint (push) Failing after 5s
CI / test (push) Failing after 5s
CI / build (push) Has been skipped
CI / lint (pull_request) Failing after 4s
CI / test (pull_request) Failing after 5s
CI / build (pull_request) Has been skipped

architect.md: server host 82.22.50.71/mva154 -> ${DEPLOY_SSH_HOST:-mva154}. tester.md: repo path -> ${REPO_DIR:-...}, ui-test runner -> ${UI_TEST_RUNNER:-...}. Defaults preserve current behavior; prompts become portable.
This commit is contained in:
Dev (OpenClaw)
2026-06-03 09:37:24 +03:00
parent c6b8826a66
commit 39b15bec65
2 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ tools:
## Контекст проекта
- Стек: MapLibre GL JS + FastAPI + SQLite/Spatialite + Docker
- Один сервер mva154 (82.22.50.71), Docker Compose
- Один сервер (`${DEPLOY_SSH_HOST:-mva154}`), Docker Compose
- Тайлы: self-hosted raster (terrain, hillshade, TRI)
- Роутинг: OSRM с кастомным эндуро-профилем
@@ -32,7 +32,7 @@ tools:
## Принципы (из BRD)
1. Всё в Docker
2. Один основной сервер (mva154)
2. Один основной сервер (`${DEPLOY_SSH_HOST:-mva154}`)
3. SQLite по умолчанию, PostgreSQL когда нужно
4. Минимум зависимостей (FastAPI > Django, vanilla JS > React)
5. Conventional commits + trunk-based

View File

@@ -24,7 +24,7 @@ tools:
curl -s https://openclaw.mva154.duckdns.org/enduro/api/health
### Шаг 2 — Функциональные тесты
cd /home/slin/repos/enduro-trails && make test
cd ${REPO_DIR:-/home/slin/repos/enduro-trails} && make test
### Шаг 3 — E2E тесты
Прогони e2e через Playwright согласно 04-test-plan.yaml.
@@ -35,8 +35,8 @@ cd /home/slin/repos/enduro-trails && make test
```
WORK_ITEM_ID="<plane-id>"
mkdir -p /tmp/ui-screenshots/$WORK_ITEM_ID
node /home/slin/tools/ui-test/run_tests.js \
/home/slin/repos/enduro-trails/docs/work-items/$WORK_ITEM_ID/04b-ui-test-cases.md \
node ${UI_TEST_RUNNER:-/home/slin/tools/ui-test/run_tests.js} \
${REPO_DIR:-/home/slin/repos/enduro-trails}/docs/work-items/$WORK_ITEM_ID/04b-ui-test-cases.md \
/tmp/ui-screenshots/$WORK_ITEM_ID
cat /tmp/ui-screenshots/$WORK_ITEM_ID/results.json
```