feat(ai-env): write runbooks and prompt context in Japanese, set HITL_LANG=ja

ランブック 11 本と prompts/topology.md・slo.md を日本語で書き直し、
system.md に「根拠と判断理由は日本語で書く」指示を追加した。
Discord ボットの文言も HITL_LANG=ja で日本語になる。
識別子(action id、ラベル、メトリクス名、オブジェクト名)は英語のまま。
This commit is contained in:
seon committed 2026-10-08 14:34:10 +09:00
1 parent 027e896f30
commit 364654bb2c
16 files changed
+48 -45

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
# Layer-3 queue: how a human acts
# 層 3 のキュー: 人はどう動くか
Every escalation lands in the Discord escalation channel with the diagnosis and the matching runbook in a thread. The human either follows the runbook directly or calls the harness with the operator token (Secret Manager selfheal-harness-token): `POST http://10.20.0.11:8080/actions/execute {"action_id": "...", "target": {...}, "token": "<operator token>", "note": "..."}`. Both paths are recorded in the harness events as actor=human, which feeds the human-path MTTR.
エスカレーションはすべて Discord の escalation チャンネルに届きます。診断と、対応するランブックがスレッドに付きます。人はランブックに沿って直接対処するか、オペレーター用トークン(Secret Manager の selfheal-harness-token)でハーネスを呼び出します: `POST http://10.20.0.11:8080/actions/execute {"action_id": "...", "target": {...}, "token": "<operator token>", "note": "..."}`。どちらの経路もハーネスのイベントに actor=human として記録され、人の経路の MTTR に反映されます。
Proposals that receive no decision within 15 minutes are moved here automatically; the original message is marked expired.
15 分以内に判断されなかった提案は自動でここへ移り、元のメッセージには期限切れの印が付きます。