Loading...
Loading...
Compare original and translation side by side
$ARGUMENTS--auto-file --auto-file$ARGUMENTS"Please describe the bug you encountered with agent-validator. What happened, what did you expect, and what were you trying to do?"
$ARGUMENTS--auto-file --auto-file$ARGUMENTS"请描述你在使用agent-validator时遇到的漏洞。发生了什么,你预期的结果是什么,以及你当时正在尝试做什么?"
.validator/config.ymllog_dirvalidator_logs.validator/config.yml<log_dir>/.debug.logtail -n 50 <log_dir>/.debug.log<log_dir>/.execution_state.validator/config.ymllog_dirvalidator_logs.validator/config.yml<log_dir>/.debug.logtail -n 50 <log_dir>/.debug.log<log_dir>/.execution_stateundefinedundefinedBefore including evidence, redact sensitive values: remove or replace tokens, API keys, email addresses, and absolute local paths that may appear in config, logs, or state. Replace them withor a generic placeholder.[REDACTED]
.validator/config.yml<log_dir>/.debug.log<log_dir>/.execution_state
Choose a concise, descriptive title: `Bug: <short summary of the problem>`.在添加证据前,请编辑敏感信息:移除或替换配置、日志或状态中可能出现的令牌、API密钥、电子邮件地址和绝对本地路径。将它们替换为或通用占位符。[REDACTED]
.validator/config.yml<log_dir>/.debug.log<log_dir>/.execution_state
选择简洁、描述性的标题:`Bug: <问题简短摘要>`。"Here is the draft issue. Shall I file it? (yes/no)"
"这是起草好的问题。是否要提交?(是/否)"
--body-fileISSUE_TITLE=$(cat <<'TITLE_EOF'
Bug: <short summary>
TITLE_EOF
)
BODY_FILE=$(mktemp)
cat > "$BODY_FILE" << 'ISSUE_EOF'
<paste the full issue body here>
ISSUE_EOF
gh issue create --repo Codagent-AI/agent-validator --title "$ISSUE_TITLE" --body-file "$BODY_FILE"
rm -f "$BODY_FILE"--body-fileISSUE_TITLE=$(cat <<'TITLE_EOF'
Bug: <问题简短摘要>
TITLE_EOF
)
BODY_FILE=$(mktemp)
cat > "$BODY_FILE" << 'ISSUE_EOF'
<粘贴完整的问题正文>
ISSUE_EOF
gh issue create --repo Codagent-AI/agent-validator --title "$ISSUE_TITLE" --body-file "$BODY_FILE"
rm -f "$BODY_FILE"