diff --git a/AGENTS.md b/AGENTS.md index ac23003..d53d27e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -190,6 +190,15 @@ the linked documents — this file points, it does not duplicate. > and never treat a single native change as a reason to. What ships without Xcode does not belong in > that file: app UI travels in the OTA bundle, panel and backend in the integration's self-update. +> **The test instance is called `Data-Metric-360` (binding, renamed by the owner 2026-09-07).** +> It is the Docker container on `:18123` and **the only instance that may ever be touched** — the +> owner's real instance is never worked on (their own hard line, section W). The container was +> called `audi_ha_test` until 2026-09-07; **every section below that says `audi_ha_test` means this +> same container** and is left as written, per this file's convention of not rewriting history. Only +> the operational references were changed: `testumgebung/aufsetzen.sh`, `testumgebung/README.md`, +> `companion-app/vite.config.ts`. Note that `aufsetzen.sh` starts with `docker rm -f` on that name — +> running it destroys the current container and everything recorded in it. + **How this file is loaded:** Claude Code does not read `AGENTS.md` natively; the root `CLAUDE.md` imports it via `@AGENTS.md` (official recommended pattern). Other agents (Codex, Cursor, Copilot) read `AGENTS.md` directly. Edit content here, not in `CLAUDE.md`. diff --git a/companion-app/vite.config.ts b/companion-app/vite.config.ts index f025a6b..08fcd3b 100644 --- a/companion-app/vite.config.ts +++ b/companion-app/vite.config.ts @@ -44,7 +44,7 @@ export default defineConfig({ // reicht das serverseitig an die HA-Testinstanz weiter. Sonst blockt HA // die Anfrage direkt (siehe AGENTS.md: "CORS ist ein echter Zwang fuer // diese App" - `cors_allowed_origins` wirkt seit HA 2026.8 nicht). Nur - // gegen `audi_ha_test` (:18123) - die echte Instanz wird nie beruehrt. + // gegen `Data-Metric-360` (:18123) - die echte Instanz wird nie beruehrt. server: { port: 5173, proxy: { diff --git a/testumgebung/README.md b/testumgebung/README.md index 00cedd1..de167b2 100644 --- a/testumgebung/README.md +++ b/testumgebung/README.md @@ -67,7 +67,7 @@ curl -X POST -H "Authorization: Bearer $T" -H "Content-Type: application/json" \ ## Aufräumen ```bash -docker rm -f audi_ha_test +docker rm -f Data-Metric-360 ``` Die Konfiguration liegt außerhalb des Repos unter dem im Skript gesetzten diff --git a/testumgebung/aufsetzen.sh b/testumgebung/aufsetzen.sh index 18b2364..9294f15 100755 --- a/testumgebung/aufsetzen.sh +++ b/testumgebung/aufsetzen.sh @@ -5,7 +5,7 @@ set -euo pipefail HIER="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROJEKT="$(dirname "$HIER")" -NAME="audi_ha_test" +NAME="Data-Metric-360" PORT="18123" ZIEL="${AUDI_TEST_CONFIG:-${TMPDIR:-/tmp}/audi-ha-test-config}" BASIS="http://localhost:${PORT}"