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 @@
# db.replay_resume (layer 2, small impact, reversible)
# db.replay_resume(層 2、影響小、元に戻せる)
When: DbReplicationLag fires with pg_is_wal_replay_paused = 1 on selfheal-db-replica (replay was paused by an experiment or an operator). Lag alone with replay not paused points to network or load; do not propose this action then.
使う場面: DbReplicationLag が発火し、selfheal-db-replica で pg_is_wal_replay_paused = 1 になっているときです(実験かオペレーターが replay を一時停止した状態)。replay が止まっていないのに遅延だけがある場合はネットワークか負荷の問題なので、この action は提案しないでください。
Procedure (harness action db.replay_resume, target {host: db-replica}): the harness runs `SELECT pg_wal_replay_resume()` as role harness over TLS. Verify pg_replication_lag_seconds falling to near 0 within a minute. Undo: `pg_wal_replay_pause()` (only for experiments).
手順(ハーネスの action db.replay_resume、target {host: db-replica}): ハーネスがロール harness で TLS 経由により `SELECT pg_wal_replay_resume()` を実行します。pg_replication_lag_seconds が 1 分以内にほぼ 0 まで下がることを確認してください。取り消しは `pg_wal_replay_pause()` です(実験のときだけ)。