fix(governance): 清理 Agent redaction 可見文案
This commit is contained in:
@@ -585,7 +585,7 @@ async def get_agent_communication_learning_contract() -> dict[str, Any]:
|
||||
description=(
|
||||
"讀取最新已提交的 OpenClaw / Hermes / NemoTron 互動、接手、學習、成長與 Telegram 收據證據面;"
|
||||
"此端點不啟動 worker、不讀寫 Redis consumer group、不建立 DB migration、不送 Telegram、"
|
||||
"不顯示工作視窗對話、prompt、private reasoning 或 secret。"
|
||||
"不回傳內部協作逐字稿、提示詞、私有推理或機密值。"
|
||||
),
|
||||
)
|
||||
async def get_agent_interaction_learning_proof() -> dict[str, Any]:
|
||||
@@ -612,7 +612,7 @@ async def get_agent_interaction_learning_proof() -> dict[str, Any]:
|
||||
description=(
|
||||
"讀取最新已提交的 AgentSession / Redis Streams live read model gate;"
|
||||
"此端點不連 DB、不讀寫 Redis、不啟動 worker、不建立 DB migration、不送 Telegram、"
|
||||
"不顯示工作視窗內容、Agent 原始輸出、提示詞、私有推理或機密值。"
|
||||
"不回傳內部協作逐字稿、Agent 原始輸出、提示詞、私有推理或機密值。"
|
||||
),
|
||||
)
|
||||
async def get_agent_live_read_model_gate() -> dict[str, Any]:
|
||||
@@ -723,7 +723,7 @@ async def get_agent_tool_adoption_approval_package() -> dict[str, Any]:
|
||||
"此端點只回傳 critical / action-required / failure-only digest 規則與 redaction 邊界,"
|
||||
"不送 Telegram、不寫 Telegram Gateway queue、不改 Alertmanager route / receiver、"
|
||||
"不寫 AwoooP event、不觸發 workflow、不查外部掃描、不執行 runtime、不讀取 secret、"
|
||||
"不回傳工作視窗對話內容。"
|
||||
"不回傳內部協作逐字稿。"
|
||||
),
|
||||
)
|
||||
async def get_agent_telegram_action_required_digest_policy() -> dict[str, Any]:
|
||||
@@ -752,7 +752,7 @@ async def get_agent_telegram_action_required_digest_policy() -> dict[str, Any]:
|
||||
"此端點只回傳 grouping、automerge=false、測試證據、rollback、owner response 與 redaction 邊界,"
|
||||
"不 push branch、不建立或更新 Gitea PR、不留言、不 auto merge、不觸發 workflow、不改 CI、"
|
||||
"不寫 lockfile、不升級套件、不 build/pull image、不改 production route、不發 Telegram、"
|
||||
"不讀取 secret、不回傳工作視窗對話內容。"
|
||||
"不讀取 secret、不回傳內部協作逐字稿。"
|
||||
),
|
||||
)
|
||||
async def get_agent_gitea_pr_draft_lane() -> dict[str, Any]:
|
||||
@@ -781,7 +781,7 @@ async def get_agent_gitea_pr_draft_lane() -> dict[str, Any]:
|
||||
"maintenance window 批准包;此端點不 SSH、不執行 host command、不執行 kubectl、"
|
||||
"不 apt upgrade、不升級 kernel/K3s、不 drain node、不 reboot、不 restart stateful service、"
|
||||
"不做 DB migration、不刪備份、不 restore、不 pull image、不安裝套件、不查外部版本來源、"
|
||||
"不 active scan、不發 Telegram、不讀取 secret、不回傳工作視窗對話內容。"
|
||||
"不 active scan、不發 Telegram、不讀取 secret、不回傳內部協作逐字稿。"
|
||||
),
|
||||
)
|
||||
async def get_agent_host_stateful_version_inventory() -> dict[str, Any]:
|
||||
@@ -1027,7 +1027,7 @@ async def get_backup_notification_policy() -> dict[str, Any]:
|
||||
"讀取最新已提交的 service health failure-only Telegram / AwoooP 通知合約;"
|
||||
"此端點只回傳成功降噪、action-required 與 failure escalation 規則,"
|
||||
"不送通知、不做 live probe、不重啟服務、不改 endpoint、不觸發 workflow / runtime execution、"
|
||||
"不讀取 secret payload、不回傳工作視窗對話內容或 prompt。"
|
||||
"不讀取 secret payload、不回傳內部協作逐字稿或提示詞。"
|
||||
),
|
||||
)
|
||||
async def get_service_health_failure_notification_policy() -> dict[str, Any]:
|
||||
|
||||
Reference in New Issue
Block a user