From 7124b222c349b98fc161e4828beebd93f22ef3d0 Mon Sep 17 00:00:00 2001 From: windpacer Date: Fri, 12 Jun 2026 12:31:24 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20gateway-config=EC=97=90=20HCX=20?= =?UTF-8?q?=EC=BB=A8=ED=8A=B8=EB=A1=A4=EB=9F=AC=20=ED=95=AD=EB=AA=A9=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20+=20plant=5Fcontext=20sub=5Farea=20?= =?UTF-8?q?=EB=8F=84=EA=B5=AC=ED=98=B8=EC=B6=9C=20=EC=84=A4=EB=AA=85=20?= =?UTF-8?q?=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - gateway-config.json: HCX 컨트롤러 슬롯(grpcPort 50055) 추가. - plant_context.md: active_alarms/find_tags/query_events 등 sub_area 인자 전달 방식 설명을 prose로 정리. Co-Authored-By: Claude Opus 4.8 --- config/gateway-config.json | 10 ++++++++++ prompts/plant_context.md | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/config/gateway-config.json b/config/gateway-config.json index 1422004..0700fc3 100644 --- a/config/gateway-config.json +++ b/config/gateway-config.json @@ -44,6 +44,16 @@ "pollIntervalMs": 500, "registerMapPath": "/home/windpacer/projects/hc900_ax/docs/register-map-c4.json", "enabled": false + }, + { + "id": "HCX", + "name": "", + "controllerIp": "", + "controllerPort": 502, + "grpcPort": 50055, + "pollIntervalMs": 1000, + "registerMapPath": "", + "enabled": true } ] } \ No newline at end of file diff --git a/prompts/plant_context.md b/prompts/plant_context.md index c8e4bae..37a2b3c 100644 --- a/prompts/plant_context.md +++ b/prompts/plant_context.md @@ -71,10 +71,10 @@ ExperionCrawler가 결정한 값이 **Single Source of Truth** 입니다. ### sub_area 도구 호출 방법 -- `active_alarms(area="P6-1")` — '-'가 있으면 server.py가 자동으로 sub_area 토큰 매칭 -- `find_tags(query="펌프", sub_area="P6-1")` — 전용 sub_area 파라미터 사용 -- `query_events(area="P6-1")` / `summarize_events(area="P6-1")` / `generate_status_report(area="P6-1")` — 동일 -- area 코드("P6")를 그대로 주면 sub_area 구분 없이 area 전체가 조회됩니다(기존 동작). +- `active_alarms` — area 파라미터에 `P6-1` 같이 '-'가 있으면 server.py가 자동으로 sub_area 토큰 매칭 +- `find_tags` — sub_area 전용 파라미터에 `P6-1` 전달 +- `query_events` / `summarize_events` / `generate_status_report` — area 파라미터에 `P6-1` 전달 +- area 파라미터에 `P6`(short form)를 쓰면 sub_area 구분 없이 area 전체가 조회됩니다. ### ⚠️ 공용(shared) 태그