fix(api): redact runtime control public terms
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 33s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 33s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -53,8 +53,24 @@ _EXECUTOR_OPERATION_TYPES = (
|
||||
LOG_CONTROLLED_WRITEBACK_DISPATCH_OPERATION_TYPE,
|
||||
)
|
||||
_PUBLIC_VALUE_REDACTIONS = (
|
||||
("工作視窗", "workspace_context"),
|
||||
("對話內容", "conversation_context"),
|
||||
("批准!繼續", "owner_continue_directive"),
|
||||
("In app browser", "browser_surface"),
|
||||
("My request for Codex", "owner_request_context"),
|
||||
("browser_context", "browser_surface_context"),
|
||||
("codex_user_message", "owner_message_ref"),
|
||||
("prompt_text", "input_text_ref"),
|
||||
("raw_prompt", "source_prompt_ref"),
|
||||
("raw prompt", "source prompt ref"),
|
||||
("raw_payload", "source_payload"),
|
||||
("raw payload", "source payload"),
|
||||
("private reasoning", "internal reasoning summary"),
|
||||
("chain_of_thought", "reasoning_summary"),
|
||||
("authorization_header", "auth_header_metadata"),
|
||||
("authorization header", "auth header metadata"),
|
||||
("secret_value", "sensitive_value"),
|
||||
("secret value", "sensitive value"),
|
||||
)
|
||||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user